PR middle-end/84095 - false-positive -Wrestrict warnings for memcpy within array
[official-gcc.git] / libstdc++-v3 / configure
blob54dd7cef4e17591339f0c2aa5179b23611e30739
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 get_gcc_base_ver
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 EXTRA_CFLAGS
615 CPU_OPT_BITS_RANDOM
616 CPU_OPT_EXT_RANDOM
617 ERROR_CONSTANTS_SRCDIR
618 OS_INC_SRCDIR
619 ABI_TWEAKS_SRCDIR
620 CPU_DEFINES_SRCDIR
621 ATOMIC_FLAGS
622 ATOMIC_WORD_SRCDIR
623 ATOMICITY_SRCDIR
624 INCLUDE_DIR_NOTPARALLEL_FALSE
625 INCLUDE_DIR_NOTPARALLEL_TRUE
626 BUILD_PDF_FALSE
627 BUILD_PDF_TRUE
628 PDFLATEX
629 DBLATEX
630 BUILD_MAN_FALSE
631 BUILD_MAN_TRUE
632 BUILD_HTML_FALSE
633 BUILD_HTML_TRUE
634 BUILD_XML_FALSE
635 BUILD_XML_TRUE
636 BUILD_EPUB_FALSE
637 BUILD_EPUB_TRUE
638 XSL_STYLE_DIR
639 XMLLINT
640 XSLTPROC
642 DOXYGEN
643 BUILD_INFO_FALSE
644 BUILD_INFO_TRUE
645 ENABLE_FILESYSTEM_TS_FALSE
646 ENABLE_FILESYSTEM_TS_TRUE
647 baseline_subdir_switch
648 baseline_dir
649 HWCAP_CFLAGS
650 GLIBCXX_LDBL_COMPAT_FALSE
651 GLIBCXX_LDBL_COMPAT_TRUE
652 LONG_DOUBLE_COMPAT_FLAGS
653 ENABLE_CXX11_ABI_FALSE
654 ENABLE_CXX11_ABI_TRUE
655 glibcxx_cxx98_abi
656 ENABLE_DUAL_ABI_FALSE
657 ENABLE_DUAL_ABI_TRUE
658 ENABLE_VISIBILITY_FALSE
659 ENABLE_VISIBILITY_TRUE
660 libtool_VERSION
661 ENABLE_SYMVERS_SUN_FALSE
662 ENABLE_SYMVERS_SUN_TRUE
663 ENABLE_SYMVERS_DARWIN_FALSE
664 ENABLE_SYMVERS_DARWIN_TRUE
665 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
666 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
667 ENABLE_SYMVERS_GNU_FALSE
668 ENABLE_SYMVERS_GNU_TRUE
669 ENABLE_SYMVERS_FALSE
670 ENABLE_SYMVERS_TRUE
671 port_specific_symbol_files
672 SYMVER_FILE
673 CXXFILT
674 LTLIBICONV
675 LIBICONV
676 OPT_LDFLAGS
677 SECTION_LDFLAGS
678 GLIBCXX_LIBS
679 ENABLE_VTABLE_VERIFY_FALSE
680 ENABLE_VTABLE_VERIFY_TRUE
681 VTV_CYGMIN_FALSE
682 VTV_CYGMIN_TRUE
683 VTV_CXXLINKFLAGS
684 VTV_PCH_CXXFLAGS
685 VTV_CXXFLAGS
686 ENABLE_WERROR_FALSE
687 ENABLE_WERROR_TRUE
688 ENABLE_PYTHONDIR_FALSE
689 ENABLE_PYTHONDIR_TRUE
690 python_mod_dir
691 ENABLE_EXTERN_TEMPLATE_FALSE
692 ENABLE_EXTERN_TEMPLATE_TRUE
693 EXTRA_CXX_FLAGS
694 GLIBCXX_BUILD_DEBUG_FALSE
695 GLIBCXX_BUILD_DEBUG_TRUE
696 DEBUG_FLAGS
697 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
698 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
699 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
700 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
701 GLIBCXX_C_HEADERS_C_STD_FALSE
702 GLIBCXX_C_HEADERS_C_STD_TRUE
703 GLIBCXX_C_HEADERS_C_FALSE
704 GLIBCXX_C_HEADERS_C_TRUE
705 C_INCLUDE_DIR
706 ALLOCATOR_NAME
707 ALLOCATOR_H
708 ENABLE_ALLOCATOR_NEW_FALSE
709 ENABLE_ALLOCATOR_NEW_TRUE
710 CLOCALE_INTERNAL_H
711 CLOCALE_CC
712 CTIME_CC
713 CTIME_H
714 CNUMERIC_CC
715 CMONEY_CC
716 CMESSAGES_CC
717 CCTYPE_CC
718 CCOLLATE_CC
719 CCODECVT_CC
720 CMESSAGES_H
721 CLOCALE_H
722 USE_NLS
723 glibcxx_localedir
724 glibcxx_POFILES
725 glibcxx_MOFILES
726 check_msgfmt
727 BASIC_FILE_CC
728 BASIC_FILE_H
729 CSTDIO_H
730 SECTION_FLAGS
731 WERROR
732 thread_header
733 glibcxx_PCHFLAGS
734 GLIBCXX_BUILD_PCH_FALSE
735 GLIBCXX_BUILD_PCH_TRUE
736 GLIBCXX_HOSTED_FALSE
737 GLIBCXX_HOSTED_TRUE
738 glibcxx_compiler_shared_flag
739 glibcxx_compiler_pic_flag
740 glibcxx_lt_pic_flag
741 enable_static
742 enable_shared
743 lt_host_flags
744 CXXCPP
745 OTOOL64
746 OTOOL
747 LIPO
748 NMEDIT
749 DSYMUTIL
750 OBJDUMP
752 ac_ct_DUMPBIN
753 DUMPBIN
755 FGREP
757 LIBTOOL
758 EGREP
759 GREP
761 MAINT
762 MAINTAINER_MODE_FALSE
763 MAINTAINER_MODE_TRUE
764 RANLIB
767 LN_S
768 toplevel_srcdir
769 toplevel_builddir
770 glibcxx_srcdir
771 glibcxx_builddir
772 ac_ct_CXX
773 CXXFLAGS
775 OBJEXT
776 EXEEXT
777 ac_ct_CC
778 CPPFLAGS
779 LDFLAGS
780 CFLAGS
782 am__untar
783 am__tar
784 AMTAR
785 am__leading_dot
786 SET_MAKE
788 mkdir_p
789 MKDIR_P
790 INSTALL_STRIP_PROGRAM
791 STRIP
792 install_sh
793 MAKEINFO
794 AUTOHEADER
795 AUTOMAKE
796 AUTOCONF
797 ACLOCAL
798 VERSION
799 PACKAGE
800 CYGPATH_W
801 am__isrc
802 INSTALL_DATA
803 INSTALL_SCRIPT
804 INSTALL_PROGRAM
805 target_os
806 target_vendor
807 target_cpu
808 target
809 host_os
810 host_vendor
811 host_cpu
812 host
813 build_os
814 build_vendor
815 build_cpu
816 build
817 multi_basedir
818 target_alias
819 host_alias
820 build_alias
821 LIBS
822 ECHO_T
823 ECHO_N
824 ECHO_C
825 DEFS
826 mandir
827 localedir
828 libdir
829 psdir
830 pdfdir
831 dvidir
832 htmldir
833 infodir
834 docdir
835 oldincludedir
836 includedir
837 localstatedir
838 sharedstatedir
839 sysconfdir
840 datadir
841 datarootdir
842 libexecdir
843 sbindir
844 bindir
845 program_transform_name
846 prefix
847 exec_prefix
848 PACKAGE_URL
849 PACKAGE_BUGREPORT
850 PACKAGE_STRING
851 PACKAGE_VERSION
852 PACKAGE_TARNAME
853 PACKAGE_NAME
854 PATH_SEPARATOR
855 SHELL'
856 ac_subst_files=''
857 ac_user_opts='
858 enable_option_checking
859 enable_multilib
860 with_target_subdir
861 with_cross_host
862 with_newlib
863 enable_maintainer_mode
864 enable_shared
865 enable_static
866 with_pic
867 enable_fast_install
868 with_gnu_ld
869 enable_libtool_lock
870 enable_hosted_libstdcxx
871 enable_libstdcxx_verbose
872 enable_libstdcxx_pch
873 enable_cstdio
874 enable_clocale
875 enable_nls
876 enable_libstdcxx_allocator
877 enable_cheaders
878 enable_long_long
879 enable_wchar_t
880 enable_c99
881 enable_concept_checks
882 enable_libstdcxx_debug_flags
883 enable_libstdcxx_debug
884 enable_cxx_flags
885 enable_fully_dynamic_string
886 enable_extern_template
887 with_python_dir
888 enable_werror
889 enable_vtable_verify
890 enable_libstdcxx_time
891 enable_tls
892 enable_rpath
893 with_libiconv_prefix
894 with_system_libunwind
895 enable_linux_futex
896 enable_symvers
897 enable_libstdcxx_visibility
898 enable_libstdcxx_dual_abi
899 with_default_libstdcxx_abi
900 enable_libstdcxx_threads
901 enable_libstdcxx_filesystem_ts
902 enable_cet
903 with_gxx_include_dir
904 enable_version_specific_runtime_libs
905 with_gcc_major_version_only
907 ac_precious_vars='build_alias
908 host_alias
909 target_alias
911 CFLAGS
912 LDFLAGS
913 LIBS
914 CPPFLAGS
916 CXXFLAGS
919 CXXCPP
920 CXXFILT'
923 # Initialize some variables set by options.
924 ac_init_help=
925 ac_init_version=false
926 ac_unrecognized_opts=
927 ac_unrecognized_sep=
928 # The variables have the same names as the options, with
929 # dashes changed to underlines.
930 cache_file=/dev/null
931 exec_prefix=NONE
932 no_create=
933 no_recursion=
934 prefix=NONE
935 program_prefix=NONE
936 program_suffix=NONE
937 program_transform_name=s,x,x,
938 silent=
939 site=
940 srcdir=
941 verbose=
942 x_includes=NONE
943 x_libraries=NONE
945 # Installation directory options.
946 # These are left unexpanded so users can "make install exec_prefix=/foo"
947 # and all the variables that are supposed to be based on exec_prefix
948 # by default will actually change.
949 # Use braces instead of parens because sh, perl, etc. also accept them.
950 # (The list follows the same order as the GNU Coding Standards.)
951 bindir='${exec_prefix}/bin'
952 sbindir='${exec_prefix}/sbin'
953 libexecdir='${exec_prefix}/libexec'
954 datarootdir='${prefix}/share'
955 datadir='${datarootdir}'
956 sysconfdir='${prefix}/etc'
957 sharedstatedir='${prefix}/com'
958 localstatedir='${prefix}/var'
959 includedir='${prefix}/include'
960 oldincludedir='/usr/include'
961 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
962 infodir='${datarootdir}/info'
963 htmldir='${docdir}'
964 dvidir='${docdir}'
965 pdfdir='${docdir}'
966 psdir='${docdir}'
967 libdir='${exec_prefix}/lib'
968 localedir='${datarootdir}/locale'
969 mandir='${datarootdir}/man'
971 ac_prev=
972 ac_dashdash=
973 for ac_option
975 # If the previous option needs an argument, assign it.
976 if test -n "$ac_prev"; then
977 eval $ac_prev=\$ac_option
978 ac_prev=
979 continue
982 case $ac_option in
983 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 *) ac_optarg=yes ;;
985 esac
987 # Accept the important Cygnus configure options, so we can diagnose typos.
989 case $ac_dashdash$ac_option in
991 ac_dashdash=yes ;;
993 -bindir | --bindir | --bindi | --bind | --bin | --bi)
994 ac_prev=bindir ;;
995 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
996 bindir=$ac_optarg ;;
998 -build | --build | --buil | --bui | --bu)
999 ac_prev=build_alias ;;
1000 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1001 build_alias=$ac_optarg ;;
1003 -cache-file | --cache-file | --cache-fil | --cache-fi \
1004 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1005 ac_prev=cache_file ;;
1006 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1007 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1008 cache_file=$ac_optarg ;;
1010 --config-cache | -C)
1011 cache_file=config.cache ;;
1013 -datadir | --datadir | --datadi | --datad)
1014 ac_prev=datadir ;;
1015 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1016 datadir=$ac_optarg ;;
1018 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1019 | --dataroo | --dataro | --datar)
1020 ac_prev=datarootdir ;;
1021 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1022 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1023 datarootdir=$ac_optarg ;;
1025 -disable-* | --disable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=no ;;
1041 -docdir | --docdir | --docdi | --doc | --do)
1042 ac_prev=docdir ;;
1043 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1044 docdir=$ac_optarg ;;
1046 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1047 ac_prev=dvidir ;;
1048 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1049 dvidir=$ac_optarg ;;
1051 -enable-* | --enable-*)
1052 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 as_fn_error "invalid feature name: $ac_useropt"
1056 ac_useropt_orig=$ac_useropt
1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1060 "enable_$ac_useropt"
1061 "*) ;;
1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1063 ac_unrecognized_sep=', ';;
1064 esac
1065 eval enable_$ac_useropt=\$ac_optarg ;;
1067 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1068 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1069 | --exec | --exe | --ex)
1070 ac_prev=exec_prefix ;;
1071 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1072 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1073 | --exec=* | --exe=* | --ex=*)
1074 exec_prefix=$ac_optarg ;;
1076 -gas | --gas | --ga | --g)
1077 # Obsolete; use --with-gas.
1078 with_gas=yes ;;
1080 -help | --help | --hel | --he | -h)
1081 ac_init_help=long ;;
1082 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1083 ac_init_help=recursive ;;
1084 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1085 ac_init_help=short ;;
1087 -host | --host | --hos | --ho)
1088 ac_prev=host_alias ;;
1089 -host=* | --host=* | --hos=* | --ho=*)
1090 host_alias=$ac_optarg ;;
1092 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1093 ac_prev=htmldir ;;
1094 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1095 | --ht=*)
1096 htmldir=$ac_optarg ;;
1098 -includedir | --includedir | --includedi | --included | --include \
1099 | --includ | --inclu | --incl | --inc)
1100 ac_prev=includedir ;;
1101 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1102 | --includ=* | --inclu=* | --incl=* | --inc=*)
1103 includedir=$ac_optarg ;;
1105 -infodir | --infodir | --infodi | --infod | --info | --inf)
1106 ac_prev=infodir ;;
1107 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1108 infodir=$ac_optarg ;;
1110 -libdir | --libdir | --libdi | --libd)
1111 ac_prev=libdir ;;
1112 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1113 libdir=$ac_optarg ;;
1115 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1116 | --libexe | --libex | --libe)
1117 ac_prev=libexecdir ;;
1118 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1119 | --libexe=* | --libex=* | --libe=*)
1120 libexecdir=$ac_optarg ;;
1122 -localedir | --localedir | --localedi | --localed | --locale)
1123 ac_prev=localedir ;;
1124 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1125 localedir=$ac_optarg ;;
1127 -localstatedir | --localstatedir | --localstatedi | --localstated \
1128 | --localstate | --localstat | --localsta | --localst | --locals)
1129 ac_prev=localstatedir ;;
1130 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1131 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1132 localstatedir=$ac_optarg ;;
1134 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1135 ac_prev=mandir ;;
1136 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1137 mandir=$ac_optarg ;;
1139 -nfp | --nfp | --nf)
1140 # Obsolete; use --without-fp.
1141 with_fp=no ;;
1143 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1144 | --no-cr | --no-c | -n)
1145 no_create=yes ;;
1147 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1148 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1149 no_recursion=yes ;;
1151 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1152 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1153 | --oldin | --oldi | --old | --ol | --o)
1154 ac_prev=oldincludedir ;;
1155 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1156 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1157 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1158 oldincludedir=$ac_optarg ;;
1160 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1161 ac_prev=prefix ;;
1162 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1163 prefix=$ac_optarg ;;
1165 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1166 | --program-pre | --program-pr | --program-p)
1167 ac_prev=program_prefix ;;
1168 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1169 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1170 program_prefix=$ac_optarg ;;
1172 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1173 | --program-suf | --program-su | --program-s)
1174 ac_prev=program_suffix ;;
1175 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1176 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1177 program_suffix=$ac_optarg ;;
1179 -program-transform-name | --program-transform-name \
1180 | --program-transform-nam | --program-transform-na \
1181 | --program-transform-n | --program-transform- \
1182 | --program-transform | --program-transfor \
1183 | --program-transfo | --program-transf \
1184 | --program-trans | --program-tran \
1185 | --progr-tra | --program-tr | --program-t)
1186 ac_prev=program_transform_name ;;
1187 -program-transform-name=* | --program-transform-name=* \
1188 | --program-transform-nam=* | --program-transform-na=* \
1189 | --program-transform-n=* | --program-transform-=* \
1190 | --program-transform=* | --program-transfor=* \
1191 | --program-transfo=* | --program-transf=* \
1192 | --program-trans=* | --program-tran=* \
1193 | --progr-tra=* | --program-tr=* | --program-t=*)
1194 program_transform_name=$ac_optarg ;;
1196 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1197 ac_prev=pdfdir ;;
1198 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1199 pdfdir=$ac_optarg ;;
1201 -psdir | --psdir | --psdi | --psd | --ps)
1202 ac_prev=psdir ;;
1203 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1204 psdir=$ac_optarg ;;
1206 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1207 | -silent | --silent | --silen | --sile | --sil)
1208 silent=yes ;;
1210 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1211 ac_prev=sbindir ;;
1212 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1213 | --sbi=* | --sb=*)
1214 sbindir=$ac_optarg ;;
1216 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1217 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1218 | --sharedst | --shareds | --shared | --share | --shar \
1219 | --sha | --sh)
1220 ac_prev=sharedstatedir ;;
1221 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1222 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1223 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1224 | --sha=* | --sh=*)
1225 sharedstatedir=$ac_optarg ;;
1227 -site | --site | --sit)
1228 ac_prev=site ;;
1229 -site=* | --site=* | --sit=*)
1230 site=$ac_optarg ;;
1232 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1233 ac_prev=srcdir ;;
1234 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1235 srcdir=$ac_optarg ;;
1237 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1238 | --syscon | --sysco | --sysc | --sys | --sy)
1239 ac_prev=sysconfdir ;;
1240 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1241 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1242 sysconfdir=$ac_optarg ;;
1244 -target | --target | --targe | --targ | --tar | --ta | --t)
1245 ac_prev=target_alias ;;
1246 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1247 target_alias=$ac_optarg ;;
1249 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1250 verbose=yes ;;
1252 -version | --version | --versio | --versi | --vers | -V)
1253 ac_init_version=: ;;
1255 -with-* | --with-*)
1256 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1259 as_fn_error "invalid package name: $ac_useropt"
1260 ac_useropt_orig=$ac_useropt
1261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262 case $ac_user_opts in
1264 "with_$ac_useropt"
1265 "*) ;;
1266 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1267 ac_unrecognized_sep=', ';;
1268 esac
1269 eval with_$ac_useropt=\$ac_optarg ;;
1271 -without-* | --without-*)
1272 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275 as_fn_error "invalid package name: $ac_useropt"
1276 ac_useropt_orig=$ac_useropt
1277 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1280 "with_$ac_useropt"
1281 "*) ;;
1282 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1283 ac_unrecognized_sep=', ';;
1284 esac
1285 eval with_$ac_useropt=no ;;
1287 --x)
1288 # Obsolete; use --with-x.
1289 with_x=yes ;;
1291 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1292 | --x-incl | --x-inc | --x-in | --x-i)
1293 ac_prev=x_includes ;;
1294 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1295 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1296 x_includes=$ac_optarg ;;
1298 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1299 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1300 ac_prev=x_libraries ;;
1301 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1302 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1303 x_libraries=$ac_optarg ;;
1305 -*) as_fn_error "unrecognized option: \`$ac_option'
1306 Try \`$0 --help' for more information."
1309 *=*)
1310 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1311 # Reject names that are not valid shell variable names.
1312 case $ac_envvar in #(
1313 '' | [0-9]* | *[!_$as_cr_alnum]* )
1314 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1315 esac
1316 eval $ac_envvar=\$ac_optarg
1317 export $ac_envvar ;;
1320 # FIXME: should be removed in autoconf 3.0.
1321 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1322 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1323 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1324 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1327 esac
1328 done
1330 if test -n "$ac_prev"; then
1331 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1332 as_fn_error "missing argument to $ac_option"
1335 if test -n "$ac_unrecognized_opts"; then
1336 case $enable_option_checking in
1337 no) ;;
1338 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1339 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 esac
1343 # Check all directory arguments for consistency.
1344 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1345 datadir sysconfdir sharedstatedir localstatedir includedir \
1346 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1347 libdir localedir mandir
1349 eval ac_val=\$$ac_var
1350 # Remove trailing slashes.
1351 case $ac_val in
1352 */ )
1353 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1354 eval $ac_var=\$ac_val;;
1355 esac
1356 # Be sure to have absolute directory names.
1357 case $ac_val in
1358 [\\/$]* | ?:[\\/]* ) continue;;
1359 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1360 esac
1361 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1362 done
1364 # There might be people who depend on the old broken behavior: `$host'
1365 # used to hold the argument of --host etc.
1366 # FIXME: To remove some day.
1367 build=$build_alias
1368 host=$host_alias
1369 target=$target_alias
1371 # FIXME: To remove some day.
1372 if test "x$host_alias" != x; then
1373 if test "x$build_alias" = x; then
1374 cross_compiling=maybe
1375 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1376 If a cross compiler is detected then cross compile mode will be used." >&2
1377 elif test "x$build_alias" != "x$host_alias"; then
1378 cross_compiling=yes
1382 ac_tool_prefix=
1383 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1385 test "$silent" = yes && exec 6>/dev/null
1388 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1389 ac_ls_di=`ls -di .` &&
1390 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1391 as_fn_error "working directory cannot be determined"
1392 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1393 as_fn_error "pwd does not report name of working directory"
1396 # Find the source files, if location was not specified.
1397 if test -z "$srcdir"; then
1398 ac_srcdir_defaulted=yes
1399 # Try the directory containing this script, then the parent directory.
1400 ac_confdir=`$as_dirname -- "$as_myself" ||
1401 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402 X"$as_myself" : 'X\(//\)[^/]' \| \
1403 X"$as_myself" : 'X\(//\)$' \| \
1404 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1405 $as_echo X"$as_myself" |
1406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1407 s//\1/
1410 /^X\(\/\/\)[^/].*/{
1411 s//\1/
1414 /^X\(\/\/\)$/{
1415 s//\1/
1418 /^X\(\/\).*/{
1419 s//\1/
1422 s/.*/./; q'`
1423 srcdir=$ac_confdir
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 srcdir=..
1427 else
1428 ac_srcdir_defaulted=no
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1431 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1432 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1434 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1435 ac_abs_confdir=`(
1436 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1437 pwd)`
1438 # When building in place, set srcdir=.
1439 if test "$ac_abs_confdir" = "$ac_pwd"; then
1440 srcdir=.
1442 # Remove unnecessary trailing slashes from srcdir.
1443 # Double slashes in file names in object file debugging info
1444 # mess up M-x gdb in Emacs.
1445 case $srcdir in
1446 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 esac
1448 for ac_var in $ac_precious_vars; do
1449 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1450 eval ac_env_${ac_var}_value=\$${ac_var}
1451 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1453 done
1456 # Report the --help message.
1458 if test "$ac_init_help" = "long"; then
1459 # Omit some internal or obsolete options to make the list less imposing.
1460 # This message is too long to be a string in the A/UX 3.1 sh.
1461 cat <<_ACEOF
1462 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1464 Usage: $0 [OPTION]... [VAR=VALUE]...
1466 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1467 VAR=VALUE. See below for descriptions of some of the useful variables.
1469 Defaults for the options are specified in brackets.
1471 Configuration:
1472 -h, --help display this help and exit
1473 --help=short display options specific to this package
1474 --help=recursive display the short help of all the included packages
1475 -V, --version display version information and exit
1476 -q, --quiet, --silent do not print \`checking...' messages
1477 --cache-file=FILE cache test results in FILE [disabled]
1478 -C, --config-cache alias for \`--cache-file=config.cache'
1479 -n, --no-create do not create output files
1480 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1482 Installation directories:
1483 --prefix=PREFIX install architecture-independent files in PREFIX
1484 [$ac_default_prefix]
1485 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1486 [PREFIX]
1488 By default, \`make install' will install all the files in
1489 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1490 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1491 for instance \`--prefix=\$HOME'.
1493 For better control, use the options below.
1495 Fine tuning of the installation directories:
1496 --bindir=DIR user executables [EPREFIX/bin]
1497 --sbindir=DIR system admin executables [EPREFIX/sbin]
1498 --libexecdir=DIR program executables [EPREFIX/libexec]
1499 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1500 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1501 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1502 --libdir=DIR object code libraries [EPREFIX/lib]
1503 --includedir=DIR C header files [PREFIX/include]
1504 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1505 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1506 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1507 --infodir=DIR info documentation [DATAROOTDIR/info]
1508 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1509 --mandir=DIR man documentation [DATAROOTDIR/man]
1510 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1511 --htmldir=DIR html documentation [DOCDIR]
1512 --dvidir=DIR dvi documentation [DOCDIR]
1513 --pdfdir=DIR pdf documentation [DOCDIR]
1514 --psdir=DIR ps documentation [DOCDIR]
1515 _ACEOF
1517 cat <<\_ACEOF
1519 Program names:
1520 --program-prefix=PREFIX prepend PREFIX to installed program names
1521 --program-suffix=SUFFIX append SUFFIX to installed program names
1522 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1524 System types:
1525 --build=BUILD configure for building on BUILD [guessed]
1526 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1527 --target=TARGET configure for building compilers for TARGET [HOST]
1528 _ACEOF
1531 if test -n "$ac_init_help"; then
1532 case $ac_init_help in
1533 short | recursive ) echo "Configuration of package-unused version-unused:";;
1534 esac
1535 cat <<\_ACEOF
1537 Optional Features:
1538 --disable-option-checking ignore unrecognized --enable/--with options
1539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1541 --enable-multilib build many library versions (default)
1542 --enable-maintainer-mode enable make rules and dependencies not useful
1543 (and sometimes confusing) to the casual installer
1544 --enable-shared[=PKGS] build shared libraries [default=yes]
1545 --enable-static[=PKGS] build static libraries [default=yes]
1546 --enable-fast-install[=PKGS]
1547 optimize for fast installation [default=yes]
1548 --disable-libtool-lock avoid locking (might break parallel builds)
1549 --disable-hosted-libstdcxx
1550 only build freestanding C++ runtime support
1551 --disable-libstdcxx-verbose
1552 disable termination messages to standard error
1553 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1554 [default=$is_hosted]
1555 --enable-cstdio[=PACKAGE]
1556 use target-specific I/O package [default=stdio]
1557 --enable-clocale[=MODEL]
1558 use MODEL for target locale package [default=auto]
1559 --enable-nls use Native Language Support (default)
1560 --enable-libstdcxx-allocator[=KIND]
1561 use KIND for target std::allocator base
1562 [default=auto]
1563 --enable-cheaders[=KIND]
1564 construct "C" headers for g++ [default=$c_model]
1565 --enable-long-long enable template specializations for 'long long'
1566 [default=yes]
1567 --enable-wchar_t enable template specializations for 'wchar_t'
1568 [default=yes]
1569 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1570 --enable-concept-checks use Boost-derived template checks [default=no]
1571 --enable-libstdcxx-debug-flags=FLAGS
1572 pass compiler FLAGS when building debug library
1573 [default="-gdwarf-4 -g3 -O0"]
1574 --enable-libstdcxx-debug
1575 build extra debug library [default=no]
1576 --enable-cxx-flags=FLAGS
1577 pass compiler FLAGS when building library [default=]
1578 --enable-fully-dynamic-string
1579 do not put empty strings in per-process static
1580 memory [default=no]
1581 --enable-extern-template
1582 enable extern template [default=yes]
1583 --enable-werror turns on -Werror [default=yes]
1584 --enable-vtable-verify enable vtable verify [default=no]
1585 --enable-libstdcxx-time[=KIND]
1586 use KIND for check type [default=auto]
1587 --enable-tls Use thread-local storage [default=yes]
1588 --disable-rpath do not hardcode runtime library paths
1589 --enable-linux-futex use the Linux futex system call [default=default]
1590 --enable-symvers[=STYLE]
1591 enables symbol versioning of the shared library
1592 [default=yes]
1593 --enable-libstdcxx-visibility
1594 enables visibility safe usage [default=yes]
1595 --enable-libstdcxx-dual-abi
1596 support two versions of std::string [default=yes]
1597 --enable-libstdcxx-threads
1598 enable C++11 threads support [default=auto]
1599 --enable-libstdcxx-filesystem-ts
1600 turns on ISO/IEC TS 18822 support [default=auto]
1601 --enable-cet enable Intel CET in target libraries
1602 [default=default]
1603 --enable-version-specific-runtime-libs
1604 Specify that runtime libraries should be installed
1605 in a compiler-specific directory
1607 Optional Packages:
1608 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1609 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1610 --with-target-subdir=SUBDIR
1611 configuring in a subdirectory
1612 --with-cross-host=HOST configuring with a cross compiler
1613 --with-newlib assume newlib as a system C library
1614 --with-pic try to use only PIC/non-PIC objects [default=use
1615 both]
1616 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1617 --with-python-dir the location to install Python modules. This path is
1618 relative starting from the prefix.
1619 --with-gnu-ld assume the C compiler uses GNU ld default=no
1620 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1621 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1622 --with-system-libunwind use installed libunwind
1623 --with-default-libstdcxx-abi
1624 set the std::string ABI to use by default
1625 --with-gxx-include-dir=DIR
1626 installation directory for include files
1627 --with-gcc-major-version-only
1628 use only GCC major number in filesystem paths
1630 Some influential environment variables:
1631 CC C compiler command
1632 CFLAGS C compiler flags
1633 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1634 nonstandard directory <lib dir>
1635 LIBS libraries to pass to the linker, e.g. -l<library>
1636 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1637 you have headers in a nonstandard directory <include dir>
1638 CXX C++ compiler command
1639 CXXFLAGS C++ compiler flags
1640 CPP C preprocessor
1641 CXXCPP C++ preprocessor
1642 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1643 `c++filt', `gc++filt' on PATH.
1645 Use these variables to override the choices made by `configure' or to help
1646 it to find libraries and programs with nonstandard names/locations.
1648 Report bugs to the package provider.
1649 _ACEOF
1650 ac_status=$?
1653 if test "$ac_init_help" = "recursive"; then
1654 # If there are subdirs, report their specific --help.
1655 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1656 test -d "$ac_dir" ||
1657 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1658 continue
1659 ac_builddir=.
1661 case "$ac_dir" in
1662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1665 # A ".." for each directory in $ac_dir_suffix.
1666 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1667 case $ac_top_builddir_sub in
1668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1670 esac ;;
1671 esac
1672 ac_abs_top_builddir=$ac_pwd
1673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1674 # for backward compatibility:
1675 ac_top_builddir=$ac_top_build_prefix
1677 case $srcdir in
1678 .) # We are building in place.
1679 ac_srcdir=.
1680 ac_top_srcdir=$ac_top_builddir_sub
1681 ac_abs_top_srcdir=$ac_pwd ;;
1682 [\\/]* | ?:[\\/]* ) # Absolute name.
1683 ac_srcdir=$srcdir$ac_dir_suffix;
1684 ac_top_srcdir=$srcdir
1685 ac_abs_top_srcdir=$srcdir ;;
1686 *) # Relative name.
1687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1688 ac_top_srcdir=$ac_top_build_prefix$srcdir
1689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1690 esac
1691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1693 cd "$ac_dir" || { ac_status=$?; continue; }
1694 # Check for guested configure.
1695 if test -f "$ac_srcdir/configure.gnu"; then
1696 echo &&
1697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1698 elif test -f "$ac_srcdir/configure"; then
1699 echo &&
1700 $SHELL "$ac_srcdir/configure" --help=recursive
1701 else
1702 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1703 fi || ac_status=$?
1704 cd "$ac_pwd" || { ac_status=$?; break; }
1705 done
1708 test -n "$ac_init_help" && exit $ac_status
1709 if $ac_init_version; then
1710 cat <<\_ACEOF
1711 package-unused configure version-unused
1712 generated by GNU Autoconf 2.64
1714 Copyright (C) 2009 Free Software Foundation, Inc.
1715 This configure script is free software; the Free Software Foundation
1716 gives unlimited permission to copy, distribute and modify it.
1717 _ACEOF
1718 exit
1721 ## ------------------------ ##
1722 ## Autoconf initialization. ##
1723 ## ------------------------ ##
1725 # ac_fn_c_try_compile LINENO
1726 # --------------------------
1727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_compile ()
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 rm -f conftest.$ac_objext
1732 if { { ac_try="$ac_compile"
1733 case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_compile") 2>conftest.err
1740 ac_status=$?
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest.$ac_objext; then :
1751 ac_retval=0
1752 else
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1756 ac_retval=1
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759 return $ac_retval
1761 } # ac_fn_c_try_compile
1763 # ac_fn_cxx_try_compile LINENO
1764 # ----------------------------
1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_cxx_try_compile ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext
1770 if { { ac_try="$ac_compile"
1771 case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_compile") 2>conftest.err
1778 ac_status=$?
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_cxx_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest.$ac_objext; then :
1789 ac_retval=0
1790 else
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1794 ac_retval=1
1796 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 return $ac_retval
1799 } # ac_fn_cxx_try_compile
1801 # ac_fn_c_try_cpp LINENO
1802 # ----------------------
1803 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_c_try_cpp ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 if { { ac_try="$ac_cpp conftest.$ac_ext"
1808 case "(($ac_try" in
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1815 ac_status=$?
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } >/dev/null && {
1823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 }; then :
1826 ac_retval=0
1827 else
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1831 ac_retval=1
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 return $ac_retval
1836 } # ac_fn_c_try_cpp
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_c_try_link ()
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1846 case "(($ac_try" in
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1849 esac
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1853 ac_status=$?
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 $as_test_x conftest$ac_exeext
1866 }; then :
1867 ac_retval=0
1868 else
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1872 ac_retval=1
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 return $ac_retval
1882 } # ac_fn_c_try_link
1884 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists and can be compiled using the include files in
1887 # INCLUDES, setting the cache variable VAR accordingly.
1888 ac_fn_c_check_header_compile ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1894 $as_echo_n "(cached) " >&6
1895 else
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1899 #include <$2>
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 eval "$3=yes"
1903 else
1904 eval "$3=no"
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1908 eval ac_res=\$$3
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1913 } # ac_fn_c_check_header_compile
1915 # ac_fn_c_try_run LINENO
1916 # ----------------------
1917 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1918 # that executables *can* be run.
1919 ac_fn_c_try_run ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 if { { ac_try="$ac_link"
1923 case "(($ac_try" in
1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925 *) ac_try_echo=$ac_try;;
1926 esac
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929 (eval "$ac_link") 2>&5
1930 ac_status=$?
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1933 { { case "(($ac_try" in
1934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1936 esac
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_try") 2>&5
1940 ac_status=$?
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; }; }; then :
1943 ac_retval=0
1944 else
1945 $as_echo "$as_me: program exited with status $ac_status" >&5
1946 $as_echo "$as_me: failed program was:" >&5
1947 sed 's/^/| /' conftest.$ac_ext >&5
1949 ac_retval=$ac_status
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953 return $ac_retval
1955 } # ac_fn_c_try_run
1957 # ac_fn_c_check_func LINENO FUNC VAR
1958 # ----------------------------------
1959 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1960 ac_fn_c_check_func ()
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1966 $as_echo_n "(cached) " >&6
1967 else
1968 if test x$gcc_no_link = xyes; then
1969 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1973 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1975 #define $2 innocuous_$2
1977 /* System header to define __stub macros and hopefully few prototypes,
1978 which can conflict with char $2 (); below.
1979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1980 <limits.h> exists even on freestanding compilers. */
1982 #ifdef __STDC__
1983 # include <limits.h>
1984 #else
1985 # include <assert.h>
1986 #endif
1988 #undef $2
1990 /* Override any GCC internal prototype to avoid an error.
1991 Use char because int might match the return type of a GCC
1992 builtin and then its argument prototype would still apply. */
1993 #ifdef __cplusplus
1994 extern "C"
1995 #endif
1996 char $2 ();
1997 /* The GNU C library defines this for functions which it implements
1998 to always fail with ENOSYS. Some functions are actually named
1999 something starting with __ and the normal name is an alias. */
2000 #if defined __stub_$2 || defined __stub___$2
2001 choke me
2002 #endif
2005 main ()
2007 return $2 ();
2009 return 0;
2011 _ACEOF
2012 if ac_fn_c_try_link "$LINENO"; then :
2013 eval "$3=yes"
2014 else
2015 eval "$3=no"
2017 rm -f core conftest.err conftest.$ac_objext \
2018 conftest$ac_exeext conftest.$ac_ext
2020 eval ac_res=\$$3
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2025 } # ac_fn_c_check_func
2027 # ac_fn_cxx_try_cpp LINENO
2028 # ------------------------
2029 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2030 ac_fn_cxx_try_cpp ()
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 if { { ac_try="$ac_cpp conftest.$ac_ext"
2034 case "(($ac_try" in
2035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2036 *) ac_try_echo=$ac_try;;
2037 esac
2038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2039 $as_echo "$ac_try_echo"; } >&5
2040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2041 ac_status=$?
2042 if test -s conftest.err; then
2043 grep -v '^ *+' conftest.err >conftest.er1
2044 cat conftest.er1 >&5
2045 mv -f conftest.er1 conftest.err
2047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2048 test $ac_status = 0; } >/dev/null && {
2049 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2050 test ! -s conftest.err
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2057 ac_retval=1
2059 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060 return $ac_retval
2062 } # ac_fn_cxx_try_cpp
2064 # ac_fn_cxx_try_link LINENO
2065 # -------------------------
2066 # Try to link conftest.$ac_ext, and return whether this succeeded.
2067 ac_fn_cxx_try_link ()
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 rm -f conftest.$ac_objext conftest$ac_exeext
2071 if { { ac_try="$ac_link"
2072 case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_link") 2>conftest.err
2079 ac_status=$?
2080 if test -s conftest.err; then
2081 grep -v '^ *+' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 mv -f conftest.er1 conftest.err
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } && {
2087 test -z "$ac_cxx_werror_flag" ||
2088 test ! -s conftest.err
2089 } && test -s conftest$ac_exeext && {
2090 test "$cross_compiling" = yes ||
2091 $as_test_x conftest$ac_exeext
2092 }; then :
2093 ac_retval=0
2094 else
2095 $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2098 ac_retval=1
2100 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2101 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2102 # interfere with the next link command; also delete a directory that is
2103 # left behind by Apple's compiler. We do this before executing the actions.
2104 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106 return $ac_retval
2108 } # ac_fn_cxx_try_link
2110 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2111 # -------------------------------------------------------
2112 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2113 # the include files in INCLUDES and setting the cache variable VAR
2114 # accordingly.
2115 ac_fn_c_check_header_mongrel ()
2117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2118 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120 $as_echo_n "checking for $2... " >&6; }
2121 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2122 $as_echo_n "(cached) " >&6
2124 eval ac_res=\$$3
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126 $as_echo "$ac_res" >&6; }
2127 else
2128 # Is the header compilable?
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2130 $as_echo_n "checking $2 usability... " >&6; }
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2132 /* end confdefs.h. */
2134 #include <$2>
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137 ac_header_compiler=yes
2138 else
2139 ac_header_compiler=no
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2143 $as_echo "$ac_header_compiler" >&6; }
2145 # Is the header present?
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2147 $as_echo_n "checking $2 presence... " >&6; }
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2150 #include <$2>
2151 _ACEOF
2152 if ac_fn_c_try_cpp "$LINENO"; then :
2153 ac_header_preproc=yes
2154 else
2155 ac_header_preproc=no
2157 rm -f conftest.err conftest.$ac_ext
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2159 $as_echo "$ac_header_preproc" >&6; }
2161 # So? What about this header?
2162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2163 yes:no: )
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2165 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2167 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2169 no:yes:* )
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2171 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2173 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2175 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2177 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2179 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181 esac
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2183 $as_echo_n "checking for $2... " >&6; }
2184 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2185 $as_echo_n "(cached) " >&6
2186 else
2187 eval "$3=\$ac_header_compiler"
2189 eval ac_res=\$$3
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2193 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2195 } # ac_fn_c_check_header_mongrel
2197 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2198 # ---------------------------------------------------------
2199 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2200 # the include files in INCLUDES and setting the cache variable VAR
2201 # accordingly.
2202 ac_fn_cxx_check_header_mongrel ()
2204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2207 $as_echo_n "checking for $2... " >&6; }
2208 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2209 $as_echo_n "(cached) " >&6
2211 eval ac_res=\$$3
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2213 $as_echo "$ac_res" >&6; }
2214 else
2215 # Is the header compilable?
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2217 $as_echo_n "checking $2 usability... " >&6; }
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2221 #include <$2>
2222 _ACEOF
2223 if ac_fn_cxx_try_compile "$LINENO"; then :
2224 ac_header_compiler=yes
2225 else
2226 ac_header_compiler=no
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2230 $as_echo "$ac_header_compiler" >&6; }
2232 # Is the header present?
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2234 $as_echo_n "checking $2 presence... " >&6; }
2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2237 #include <$2>
2238 _ACEOF
2239 if ac_fn_cxx_try_cpp "$LINENO"; then :
2240 ac_header_preproc=yes
2241 else
2242 ac_header_preproc=no
2244 rm -f conftest.err conftest.$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2246 $as_echo "$ac_header_preproc" >&6; }
2248 # So? What about this header?
2249 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2250 yes:no: )
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2252 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2254 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2256 no:yes:* )
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2258 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2260 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2262 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2264 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2266 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2268 esac
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2270 $as_echo_n "checking for $2... " >&6; }
2271 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2272 $as_echo_n "(cached) " >&6
2273 else
2274 eval "$3=\$ac_header_compiler"
2276 eval ac_res=\$$3
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278 $as_echo "$ac_res" >&6; }
2280 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2282 } # ac_fn_cxx_check_header_mongrel
2284 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2285 # --------------------------------------------
2286 # Tries to find the compile-time value of EXPR in a program that includes
2287 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2288 # computed
2289 ac_fn_c_compute_int ()
2291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2292 if test "$cross_compiling" = yes; then
2293 # Depending upon the size, compute the lo and hi bounds.
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2298 main ()
2300 static int test_array [1 - 2 * !(($2) >= 0)];
2301 test_array [0] = 0
2304 return 0;
2306 _ACEOF
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308 ac_lo=0 ac_mid=0
2309 while :; do
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2314 main ()
2316 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2317 test_array [0] = 0
2320 return 0;
2322 _ACEOF
2323 if ac_fn_c_try_compile "$LINENO"; then :
2324 ac_hi=$ac_mid; break
2325 else
2326 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2327 if test $ac_lo -le $ac_mid; then
2328 ac_lo= ac_hi=
2329 break
2331 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 done
2335 else
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2340 main ()
2342 static int test_array [1 - 2 * !(($2) < 0)];
2343 test_array [0] = 0
2346 return 0;
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_hi=-1 ac_mid=-1
2351 while :; do
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2356 main ()
2358 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2359 test_array [0] = 0
2362 return 0;
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_lo=$ac_mid; break
2367 else
2368 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2369 if test $ac_mid -le $ac_hi; then
2370 ac_lo= ac_hi=
2371 break
2373 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2376 done
2377 else
2378 ac_lo= ac_hi=
2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 # Binary search between lo and hi bounds.
2384 while test "x$ac_lo" != "x$ac_hi"; do
2385 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2390 main ()
2392 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2393 test_array [0] = 0
2396 return 0;
2398 _ACEOF
2399 if ac_fn_c_try_compile "$LINENO"; then :
2400 ac_hi=$ac_mid
2401 else
2402 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2405 done
2406 case $ac_lo in #((
2407 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2408 '') ac_retval=1 ;;
2409 esac
2410 else
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2414 static long int longval () { return $2; }
2415 static unsigned long int ulongval () { return $2; }
2416 #include <stdio.h>
2417 #include <stdlib.h>
2419 main ()
2422 FILE *f = fopen ("conftest.val", "w");
2423 if (! f)
2424 return 1;
2425 if (($2) < 0)
2427 long int i = longval ();
2428 if (i != ($2))
2429 return 1;
2430 fprintf (f, "%ld", i);
2432 else
2434 unsigned long int i = ulongval ();
2435 if (i != ($2))
2436 return 1;
2437 fprintf (f, "%lu", i);
2439 /* Do not output a trailing newline, as this causes \r\n confusion
2440 on some platforms. */
2441 return ferror (f) || fclose (f) != 0;
2444 return 0;
2446 _ACEOF
2447 if ac_fn_c_try_run "$LINENO"; then :
2448 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2449 else
2450 ac_retval=1
2452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2453 conftest.$ac_objext conftest.beam conftest.$ac_ext
2454 rm -f conftest.val
2457 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2458 return $ac_retval
2460 } # ac_fn_c_compute_int
2462 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2463 # -------------------------------------------
2464 # Tests whether TYPE exists after having included INCLUDES, setting cache
2465 # variable VAR accordingly.
2466 ac_fn_c_check_type ()
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2470 $as_echo_n "checking for $2... " >&6; }
2471 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2472 $as_echo_n "(cached) " >&6
2473 else
2474 eval "$3=no"
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2479 main ()
2481 if (sizeof ($2))
2482 return 0;
2484 return 0;
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2492 main ()
2494 if (sizeof (($2)))
2495 return 0;
2497 return 0;
2499 _ACEOF
2500 if ac_fn_c_try_compile "$LINENO"; then :
2502 else
2503 eval "$3=yes"
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 eval ac_res=\$$3
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2511 $as_echo "$ac_res" >&6; }
2512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2514 } # ac_fn_c_check_type
2516 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2517 # ---------------------------------------------
2518 # Tests whether TYPE exists after having included INCLUDES, setting cache
2519 # variable VAR accordingly.
2520 ac_fn_cxx_check_type ()
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 eval "$3=no"
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2533 main ()
2535 if (sizeof ($2))
2536 return 0;
2538 return 0;
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2543 /* end confdefs.h. */
2546 main ()
2548 if (sizeof (($2)))
2549 return 0;
2551 return 0;
2553 _ACEOF
2554 if ac_fn_cxx_try_compile "$LINENO"; then :
2556 else
2557 eval "$3=yes"
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2563 eval ac_res=\$$3
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2565 $as_echo "$ac_res" >&6; }
2566 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2568 } # ac_fn_cxx_check_type
2569 cat >config.log <<_ACEOF
2570 This file contains any messages produced by compilers while
2571 running configure, to aid debugging if configure makes a mistake.
2573 It was created by package-unused $as_me version-unused, which was
2574 generated by GNU Autoconf 2.64. Invocation command line was
2576 $ $0 $@
2578 _ACEOF
2579 exec 5>>config.log
2581 cat <<_ASUNAME
2582 ## --------- ##
2583 ## Platform. ##
2584 ## --------- ##
2586 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2587 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2588 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2589 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2590 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2592 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2593 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2595 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2596 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2597 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2598 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2599 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2600 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2601 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2603 _ASUNAME
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 for as_dir in $PATH
2608 IFS=$as_save_IFS
2609 test -z "$as_dir" && as_dir=.
2610 $as_echo "PATH: $as_dir"
2611 done
2612 IFS=$as_save_IFS
2614 } >&5
2616 cat >&5 <<_ACEOF
2619 ## ----------- ##
2620 ## Core tests. ##
2621 ## ----------- ##
2623 _ACEOF
2626 # Keep a trace of the command line.
2627 # Strip out --no-create and --no-recursion so they do not pile up.
2628 # Strip out --silent because we don't want to record it for future runs.
2629 # Also quote any args containing shell meta-characters.
2630 # Make two passes to allow for proper duplicate-argument suppression.
2631 ac_configure_args=
2632 ac_configure_args0=
2633 ac_configure_args1=
2634 ac_must_keep_next=false
2635 for ac_pass in 1 2
2637 for ac_arg
2639 case $ac_arg in
2640 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2642 | -silent | --silent | --silen | --sile | --sil)
2643 continue ;;
2644 *\'*)
2645 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2646 esac
2647 case $ac_pass in
2648 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2650 as_fn_append ac_configure_args1 " '$ac_arg'"
2651 if test $ac_must_keep_next = true; then
2652 ac_must_keep_next=false # Got value, back to normal.
2653 else
2654 case $ac_arg in
2655 *=* | --config-cache | -C | -disable-* | --disable-* \
2656 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2657 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2658 | -with-* | --with-* | -without-* | --without-* | --x)
2659 case "$ac_configure_args0 " in
2660 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2661 esac
2663 -* ) ac_must_keep_next=true ;;
2664 esac
2666 as_fn_append ac_configure_args " '$ac_arg'"
2668 esac
2669 done
2670 done
2671 { ac_configure_args0=; unset ac_configure_args0;}
2672 { ac_configure_args1=; unset ac_configure_args1;}
2674 # When interrupted or exit'd, cleanup temporary files, and complete
2675 # config.log. We remove comments because anyway the quotes in there
2676 # would cause problems or look ugly.
2677 # WARNING: Use '\'' to represent an apostrophe within the trap.
2678 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2679 trap 'exit_status=$?
2680 # Save into config.log some information that might help in debugging.
2682 echo
2684 cat <<\_ASBOX
2685 ## ---------------- ##
2686 ## Cache variables. ##
2687 ## ---------------- ##
2688 _ASBOX
2689 echo
2690 # The following way of writing the cache mishandles newlines in values,
2692 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2693 eval ac_val=\$$ac_var
2694 case $ac_val in #(
2695 *${as_nl}*)
2696 case $ac_var in #(
2697 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2699 esac
2700 case $ac_var in #(
2701 _ | IFS | as_nl) ;; #(
2702 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2703 *) { eval $ac_var=; unset $ac_var;} ;;
2704 esac ;;
2705 esac
2706 done
2707 (set) 2>&1 |
2708 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2709 *${as_nl}ac_space=\ *)
2710 sed -n \
2711 "s/'\''/'\''\\\\'\'''\''/g;
2712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2713 ;; #(
2715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2717 esac |
2718 sort
2720 echo
2722 cat <<\_ASBOX
2723 ## ----------------- ##
2724 ## Output variables. ##
2725 ## ----------------- ##
2726 _ASBOX
2727 echo
2728 for ac_var in $ac_subst_vars
2730 eval ac_val=\$$ac_var
2731 case $ac_val in
2732 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2733 esac
2734 $as_echo "$ac_var='\''$ac_val'\''"
2735 done | sort
2736 echo
2738 if test -n "$ac_subst_files"; then
2739 cat <<\_ASBOX
2740 ## ------------------- ##
2741 ## File substitutions. ##
2742 ## ------------------- ##
2743 _ASBOX
2744 echo
2745 for ac_var in $ac_subst_files
2747 eval ac_val=\$$ac_var
2748 case $ac_val in
2749 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2750 esac
2751 $as_echo "$ac_var='\''$ac_val'\''"
2752 done | sort
2753 echo
2756 if test -s confdefs.h; then
2757 cat <<\_ASBOX
2758 ## ----------- ##
2759 ## confdefs.h. ##
2760 ## ----------- ##
2761 _ASBOX
2762 echo
2763 cat confdefs.h
2764 echo
2766 test "$ac_signal" != 0 &&
2767 $as_echo "$as_me: caught signal $ac_signal"
2768 $as_echo "$as_me: exit $exit_status"
2769 } >&5
2770 rm -f core *.core core.conftest.* &&
2771 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2772 exit $exit_status
2774 for ac_signal in 1 2 13 15; do
2775 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2776 done
2777 ac_signal=0
2779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2780 rm -f -r conftest* confdefs.h
2782 $as_echo "/* confdefs.h */" > confdefs.h
2784 # Predefined preprocessor variables.
2786 cat >>confdefs.h <<_ACEOF
2787 #define PACKAGE_NAME "$PACKAGE_NAME"
2788 _ACEOF
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2792 _ACEOF
2794 cat >>confdefs.h <<_ACEOF
2795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2796 _ACEOF
2798 cat >>confdefs.h <<_ACEOF
2799 #define PACKAGE_STRING "$PACKAGE_STRING"
2800 _ACEOF
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2804 _ACEOF
2806 cat >>confdefs.h <<_ACEOF
2807 #define PACKAGE_URL "$PACKAGE_URL"
2808 _ACEOF
2811 # Let the site file select an alternate cache file if it wants to.
2812 # Prefer an explicitly selected file to automatically selected ones.
2813 ac_site_file1=NONE
2814 ac_site_file2=NONE
2815 if test -n "$CONFIG_SITE"; then
2816 ac_site_file1=$CONFIG_SITE
2817 elif test "x$prefix" != xNONE; then
2818 ac_site_file1=$prefix/share/config.site
2819 ac_site_file2=$prefix/etc/config.site
2820 else
2821 ac_site_file1=$ac_default_prefix/share/config.site
2822 ac_site_file2=$ac_default_prefix/etc/config.site
2824 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2826 test "x$ac_site_file" = xNONE && continue
2827 if test -r "$ac_site_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2829 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2830 sed 's/^/| /' "$ac_site_file" >&5
2831 . "$ac_site_file"
2833 done
2835 if test -r "$cache_file"; then
2836 # Some versions of bash will fail to source /dev/null (special
2837 # files actually), so we avoid doing that.
2838 if test -f "$cache_file"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2840 $as_echo "$as_me: loading cache $cache_file" >&6;}
2841 case $cache_file in
2842 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2843 *) . "./$cache_file";;
2844 esac
2846 else
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2848 $as_echo "$as_me: creating cache $cache_file" >&6;}
2849 >$cache_file
2852 # Check that the precious variables saved in the cache have kept the same
2853 # value.
2854 ac_cache_corrupted=false
2855 for ac_var in $ac_precious_vars; do
2856 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2857 eval ac_new_set=\$ac_env_${ac_var}_set
2858 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2859 eval ac_new_val=\$ac_env_${ac_var}_value
2860 case $ac_old_set,$ac_new_set in
2861 set,)
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2863 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2864 ac_cache_corrupted=: ;;
2865 ,set)
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2867 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2868 ac_cache_corrupted=: ;;
2869 ,);;
2871 if test "x$ac_old_val" != "x$ac_new_val"; then
2872 # differences in whitespace do not lead to failure.
2873 ac_old_val_w=`echo x $ac_old_val`
2874 ac_new_val_w=`echo x $ac_new_val`
2875 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2877 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2878 ac_cache_corrupted=:
2879 else
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2881 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2882 eval $ac_var=\$ac_old_val
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2885 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2887 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2888 fi;;
2889 esac
2890 # Pass precious variables to config.status.
2891 if test "$ac_new_set" = set; then
2892 case $ac_new_val in
2893 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2894 *) ac_arg=$ac_var=$ac_new_val ;;
2895 esac
2896 case " $ac_configure_args " in
2897 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2898 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2899 esac
2901 done
2902 if $ac_cache_corrupted; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2906 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2907 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2909 ## -------------------- ##
2910 ## Main body of script. ##
2911 ## -------------------- ##
2913 ac_ext=c
2914 ac_cpp='$CPP $CPPFLAGS'
2915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2924 ac_config_headers="$ac_config_headers config.h"
2927 # This works around the fact that libtool configuration may change LD
2928 # for this particular configuration, but some shells, instead of
2929 # keeping the changes in LD private, export them just because LD is
2930 # exported. Only used at the end of this file.
2931 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2933 # Find the rest of the source tree framework.
2934 # Default to --enable-multilib
2935 # Check whether --enable-multilib was given.
2936 if test "${enable_multilib+set}" = set; then :
2937 enableval=$enable_multilib; case "$enableval" in
2938 yes) multilib=yes ;;
2939 no) multilib=no ;;
2940 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2941 esac
2942 else
2943 multilib=yes
2947 # We may get other options which we leave undocumented:
2948 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2949 # See config-ml.in if you want the gory details.
2951 if test "$srcdir" = "."; then
2952 if test "$with_target_subdir" != "."; then
2953 multi_basedir="$srcdir/$with_multisrctop../.."
2954 else
2955 multi_basedir="$srcdir/$with_multisrctop.."
2957 else
2958 multi_basedir="$srcdir/.."
2962 # Even if the default multilib is not a cross compilation,
2963 # it may be that some of the other multilibs are.
2964 if test $cross_compiling = no && test $multilib = yes \
2965 && test "x${with_multisubdir}" != x ; then
2966 cross_compiling=maybe
2969 ac_config_commands="$ac_config_commands default-1"
2972 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2974 # You will slowly go insane if you do not grok the following fact: when
2975 # building v3 as part of the compiler, the top-level /target/ becomes the
2976 # library's /host/. configure then causes --target to default to --host,
2977 # exactly like any other package using autoconf. Therefore, 'target' and
2978 # 'host' will always be the same. This makes sense both for native and
2979 # cross compilers, just think about it for a little while. :-)
2981 # Also, if v3 is being configured as part of a cross compiler, the top-level
2982 # configure script will pass the "real" host as $with_cross_host.
2984 # Do not delete or change the following two lines. For why, see
2985 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2986 ac_aux_dir=
2987 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2988 for ac_t in install-sh install.sh shtool; do
2989 if test -f "$ac_dir/$ac_t"; then
2990 ac_aux_dir=$ac_dir
2991 ac_install_sh="$ac_aux_dir/$ac_t -c"
2992 break 2
2994 done
2995 done
2996 if test -z "$ac_aux_dir"; then
2997 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3000 # These three variables are undocumented and unsupported,
3001 # and are intended to be withdrawn in a future Autoconf release.
3002 # They can cause serious problems if a builder's source tree is in a directory
3003 # whose full name contains unusual characters.
3004 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3005 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3006 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3009 # Make sure we can run config.sub.
3010 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3011 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3014 $as_echo_n "checking build system type... " >&6; }
3015 if test "${ac_cv_build+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3017 else
3018 ac_build_alias=$build_alias
3019 test "x$ac_build_alias" = x &&
3020 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3021 test "x$ac_build_alias" = x &&
3022 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3023 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3024 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3028 $as_echo "$ac_cv_build" >&6; }
3029 case $ac_cv_build in
3030 *-*-*) ;;
3031 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3032 esac
3033 build=$ac_cv_build
3034 ac_save_IFS=$IFS; IFS='-'
3035 set x $ac_cv_build
3036 shift
3037 build_cpu=$1
3038 build_vendor=$2
3039 shift; shift
3040 # Remember, the first character of IFS is used to create $*,
3041 # except with old shells:
3042 build_os=$*
3043 IFS=$ac_save_IFS
3044 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3048 $as_echo_n "checking host system type... " >&6; }
3049 if test "${ac_cv_host+set}" = set; then :
3050 $as_echo_n "(cached) " >&6
3051 else
3052 if test "x$host_alias" = x; then
3053 ac_cv_host=$ac_cv_build
3054 else
3055 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3056 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3061 $as_echo "$ac_cv_host" >&6; }
3062 case $ac_cv_host in
3063 *-*-*) ;;
3064 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3065 esac
3066 host=$ac_cv_host
3067 ac_save_IFS=$IFS; IFS='-'
3068 set x $ac_cv_host
3069 shift
3070 host_cpu=$1
3071 host_vendor=$2
3072 shift; shift
3073 # Remember, the first character of IFS is used to create $*,
3074 # except with old shells:
3075 host_os=$*
3076 IFS=$ac_save_IFS
3077 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3081 $as_echo_n "checking target system type... " >&6; }
3082 if test "${ac_cv_target+set}" = set; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 if test "x$target_alias" = x; then
3086 ac_cv_target=$ac_cv_host
3087 else
3088 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3089 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3094 $as_echo "$ac_cv_target" >&6; }
3095 case $ac_cv_target in
3096 *-*-*) ;;
3097 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3098 esac
3099 target=$ac_cv_target
3100 ac_save_IFS=$IFS; IFS='-'
3101 set x $ac_cv_target
3102 shift
3103 target_cpu=$1
3104 target_vendor=$2
3105 shift; shift
3106 # Remember, the first character of IFS is used to create $*,
3107 # except with old shells:
3108 target_os=$*
3109 IFS=$ac_save_IFS
3110 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3113 # The aliases save the names the user supplied, while $host etc.
3114 # will get canonicalized.
3115 test -n "$target_alias" &&
3116 test "$program_prefix$program_suffix$program_transform_name" = \
3117 NONENONEs,x,x, &&
3118 program_prefix=${target_alias}-
3120 target_alias=${target_alias-$host_alias}
3122 # Handy for debugging:
3123 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3125 if test "$build" != "$host"; then
3126 # We are being configured with some form of cross compiler.
3127 GLIBCXX_IS_NATIVE=false
3128 case "$host","$target" in
3129 # Darwin crosses can use the host system's libraries and headers,
3130 # because of the fat library support. Of course, it must be the
3131 # same version of Darwin on both sides. Allow the user to
3132 # just say --target=foo-darwin without a version number to mean
3133 # "the version on this system".
3134 *-*-darwin*,*-*-darwin*)
3135 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3136 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3137 if test $hostos = $targetos -o $targetos = darwin ; then
3138 GLIBCXX_IS_NATIVE=true
3145 esac
3146 else
3147 GLIBCXX_IS_NATIVE=true
3150 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3151 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3152 # 1.x: minimum required version
3153 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3154 # of other PACKAGE_* variables will, however, and there's nothing
3155 # we can do about that; they come from AC_INIT).
3156 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3157 # file in the top srcdir, etc, etc), so stop complaining.
3158 # no-dependencies: turns off auto dependency generation (just for now)
3159 # no-dist: we don't want 'dist' and related rules.
3160 # -Wall: turns on all automake warnings...
3161 # -Wno-portability: ...except this one, since GNU make is now required.
3162 am__api_version='1.11'
3164 # Find a good install program. We prefer a C program (faster),
3165 # so one script is as good as another. But avoid the broken or
3166 # incompatible versions:
3167 # SysV /etc/install, /usr/sbin/install
3168 # SunOS /usr/etc/install
3169 # IRIX /sbin/install
3170 # AIX /bin/install
3171 # AmigaOS /C/install, which installs bootblocks on floppy discs
3172 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3173 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3174 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3175 # OS/2's system install, which has a completely different semantic
3176 # ./install, which can be erroneously created by make from ./install.sh.
3177 # Reject install programs that cannot install multiple files.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3179 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3180 if test -z "$INSTALL"; then
3181 if test "${ac_cv_path_install+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3183 else
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3187 IFS=$as_save_IFS
3188 test -z "$as_dir" && as_dir=.
3189 # Account for people who put trailing slashes in PATH elements.
3190 case $as_dir/ in #((
3191 ./ | .// | /[cC]/* | \
3192 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3193 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3194 /usr/ucb/* ) ;;
3196 # OSF1 and SCO ODT 3.0 have their own names for install.
3197 # Don't use installbsd from OSF since it installs stuff as root
3198 # by default.
3199 for ac_prog in ginstall scoinst install; do
3200 for ac_exec_ext in '' $ac_executable_extensions; do
3201 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3202 if test $ac_prog = install &&
3203 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3204 # AIX install. It has an incompatible calling convention.
3206 elif test $ac_prog = install &&
3207 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3208 # program-specific install script used by HP pwplus--don't use.
3210 else
3211 rm -rf conftest.one conftest.two conftest.dir
3212 echo one > conftest.one
3213 echo two > conftest.two
3214 mkdir conftest.dir
3215 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3216 test -s conftest.one && test -s conftest.two &&
3217 test -s conftest.dir/conftest.one &&
3218 test -s conftest.dir/conftest.two
3219 then
3220 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3221 break 3
3225 done
3226 done
3228 esac
3230 done
3231 IFS=$as_save_IFS
3233 rm -rf conftest.one conftest.two conftest.dir
3236 if test "${ac_cv_path_install+set}" = set; then
3237 INSTALL=$ac_cv_path_install
3238 else
3239 # As a last resort, use the slow shell script. Don't cache a
3240 # value for INSTALL within a source directory, because that will
3241 # break other packages using the cache if that directory is
3242 # removed, or if the value is a relative name.
3243 INSTALL=$ac_install_sh
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3247 $as_echo "$INSTALL" >&6; }
3249 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3250 # It thinks the first close brace ends the variable substitution.
3251 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3253 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3255 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3258 $as_echo_n "checking whether build environment is sane... " >&6; }
3259 # Just in case
3260 sleep 1
3261 echo timestamp > conftest.file
3262 # Reject unsafe characters in $srcdir or the absolute working directory
3263 # name. Accept space and tab only in the latter.
3264 am_lf='
3266 case `pwd` in
3267 *[\\\"\#\$\&\'\`$am_lf]*)
3268 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3269 esac
3270 case $srcdir in
3271 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3272 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3273 esac
3275 # Do `set' in a subshell so we don't clobber the current shell's
3276 # arguments. Must try -L first in case configure is actually a
3277 # symlink; some systems play weird games with the mod time of symlinks
3278 # (eg FreeBSD returns the mod time of the symlink's containing
3279 # directory).
3280 if (
3281 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3282 if test "$*" = "X"; then
3283 # -L didn't work.
3284 set X `ls -t "$srcdir/configure" conftest.file`
3286 rm -f conftest.file
3287 if test "$*" != "X $srcdir/configure conftest.file" \
3288 && test "$*" != "X conftest.file $srcdir/configure"; then
3290 # If neither matched, then we have a broken ls. This can happen
3291 # if, for instance, CONFIG_SHELL is bash and it inherits a
3292 # broken ls alias from the environment. This has actually
3293 # happened. Such a system could not be considered "sane".
3294 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3295 alias in your environment" "$LINENO" 5
3298 test "$2" = conftest.file
3300 then
3301 # Ok.
3303 else
3304 as_fn_error "newly created file is older than distributed files!
3305 Check your system clock" "$LINENO" 5
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3308 $as_echo "yes" >&6; }
3309 test "$program_prefix" != NONE &&
3310 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3311 # Use a double $ so make ignores it.
3312 test "$program_suffix" != NONE &&
3313 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3314 # Double any \ or $.
3315 # By default was `s,x,x', remove it if useless.
3316 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3317 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3319 # expand $ac_aux_dir to an absolute path
3320 am_aux_dir=`cd $ac_aux_dir && pwd`
3322 if test x"${MISSING+set}" != xset; then
3323 case $am_aux_dir in
3324 *\ * | *\ *)
3325 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3327 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3328 esac
3330 # Use eval to expand $SHELL
3331 if eval "$MISSING --run true"; then
3332 am_missing_run="$MISSING --run "
3333 else
3334 am_missing_run=
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3336 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3339 if test x"${install_sh}" != xset; then
3340 case $am_aux_dir in
3341 *\ * | *\ *)
3342 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3344 install_sh="\${SHELL} $am_aux_dir/install-sh"
3345 esac
3348 # Installed binaries are usually stripped using `strip' when the user
3349 # run `make install-strip'. However `strip' might not be the right
3350 # tool to use in cross-compilation environments, therefore Automake
3351 # will honor the `STRIP' environment variable to overrule this program.
3352 if test "$cross_compiling" != no; then
3353 if test -n "$ac_tool_prefix"; then
3354 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3355 set dummy ${ac_tool_prefix}strip; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if test "${ac_cv_prog_STRIP+set}" = set; then :
3359 $as_echo_n "(cached) " >&6
3360 else
3361 if test -n "$STRIP"; then
3362 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3367 IFS=$as_save_IFS
3368 test -z "$as_dir" && as_dir=.
3369 for ac_exec_ext in '' $ac_executable_extensions; do
3370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 break 2
3375 done
3376 done
3377 IFS=$as_save_IFS
3381 STRIP=$ac_cv_prog_STRIP
3382 if test -n "$STRIP"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3384 $as_echo "$STRIP" >&6; }
3385 else
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3392 if test -z "$ac_cv_prog_STRIP"; then
3393 ac_ct_STRIP=$STRIP
3394 # Extract the first word of "strip", so it can be a program name with args.
3395 set dummy strip; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 if test -n "$ac_ct_STRIP"; then
3402 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3403 else
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_ac_ct_STRIP="strip"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 break 2
3415 done
3416 done
3417 IFS=$as_save_IFS
3421 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3422 if test -n "$ac_ct_STRIP"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3424 $as_echo "$ac_ct_STRIP" >&6; }
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3430 if test "x$ac_ct_STRIP" = x; then
3431 STRIP=":"
3432 else
3433 case $cross_compiling:$ac_tool_warned in
3434 yes:)
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3437 ac_tool_warned=yes ;;
3438 esac
3439 STRIP=$ac_ct_STRIP
3441 else
3442 STRIP="$ac_cv_prog_STRIP"
3446 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3449 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3450 if test -z "$MKDIR_P"; then
3451 if test "${ac_cv_path_mkdir+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3457 IFS=$as_save_IFS
3458 test -z "$as_dir" && as_dir=.
3459 for ac_prog in mkdir gmkdir; do
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3462 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3463 'mkdir (GNU coreutils) '* | \
3464 'mkdir (coreutils) '* | \
3465 'mkdir (fileutils) '4.1*)
3466 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3467 break 3;;
3468 esac
3469 done
3470 done
3471 done
3472 IFS=$as_save_IFS
3476 if test "${ac_cv_path_mkdir+set}" = set; then
3477 MKDIR_P="$ac_cv_path_mkdir -p"
3478 else
3479 # As a last resort, use the slow shell script. Don't cache a
3480 # value for MKDIR_P within a source directory, because that will
3481 # break other packages using the cache if that directory is
3482 # removed, or if the value is a relative name.
3483 test -d ./--version && rmdir ./--version
3484 MKDIR_P="$ac_install_sh -d"
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3488 $as_echo "$MKDIR_P" >&6; }
3490 mkdir_p="$MKDIR_P"
3491 case $mkdir_p in
3492 [\\/$]* | ?:[\\/]*) ;;
3493 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3494 esac
3496 for ac_prog in gawk mawk nawk awk
3498 # Extract the first word of "$ac_prog", so it can be a program name with args.
3499 set dummy $ac_prog; ac_word=$2
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3501 $as_echo_n "checking for $ac_word... " >&6; }
3502 if test "${ac_cv_prog_AWK+set}" = set; then :
3503 $as_echo_n "(cached) " >&6
3504 else
3505 if test -n "$AWK"; then
3506 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3515 ac_cv_prog_AWK="$ac_prog"
3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3519 done
3520 done
3521 IFS=$as_save_IFS
3525 AWK=$ac_cv_prog_AWK
3526 if test -n "$AWK"; then
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3528 $as_echo "$AWK" >&6; }
3529 else
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3535 test -n "$AWK" && break
3536 done
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3539 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3540 set x ${MAKE-make}
3541 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3542 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3543 $as_echo_n "(cached) " >&6
3544 else
3545 cat >conftest.make <<\_ACEOF
3546 SHELL = /bin/sh
3547 all:
3548 @echo '@@@%%%=$(MAKE)=@@@%%%'
3549 _ACEOF
3550 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3551 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3552 *@@@%%%=?*=@@@%%%*)
3553 eval ac_cv_prog_make_${ac_make}_set=yes;;
3555 eval ac_cv_prog_make_${ac_make}_set=no;;
3556 esac
3557 rm -f conftest.make
3559 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561 $as_echo "yes" >&6; }
3562 SET_MAKE=
3563 else
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3566 SET_MAKE="MAKE=${MAKE-make}"
3569 rm -rf .tst 2>/dev/null
3570 mkdir .tst 2>/dev/null
3571 if test -d .tst; then
3572 am__leading_dot=.
3573 else
3574 am__leading_dot=_
3576 rmdir .tst 2>/dev/null
3578 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3579 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3580 # is not polluted with repeated "-I."
3581 am__isrc=' -I$(srcdir)'
3582 # test to see if srcdir already configured
3583 if test -f $srcdir/config.status; then
3584 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3588 # test whether we have cygpath
3589 if test -z "$CYGPATH_W"; then
3590 if (cygpath --version) >/dev/null 2>/dev/null; then
3591 CYGPATH_W='cygpath -w'
3592 else
3593 CYGPATH_W=echo
3598 # Define the identity of the package.
3599 PACKAGE='libstdc++'
3600 VERSION='version-unused'
3603 # Some tools Automake needs.
3605 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3608 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3611 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3614 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3617 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3619 # We need awk for the "check" target. The system "awk" is bad on
3620 # some platforms.
3621 # Always define AMTAR for backward compatibility. Yes, it's still used
3622 # in the wild :-( We should find a proper way to deprecate it ...
3623 AMTAR='$${TAR-tar}'
3625 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3634 # -fno-builtin must be present here so that a non-conflicting form of
3635 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3637 save_CXXFLAGS="$CXXFLAGS"
3638 CXXFLAGS="$CXXFLAGS -fno-builtin"
3639 ac_ext=c
3640 ac_cpp='$CPP $CPPFLAGS'
3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3644 if test -n "$ac_tool_prefix"; then
3645 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3646 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_CC+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3651 else
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC="$CC" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3658 IFS=$as_save_IFS
3659 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 2
3666 done
3667 done
3668 IFS=$as_save_IFS
3672 CC=$ac_cv_prog_CC
3673 if test -n "$CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3676 else
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3683 if test -z "$ac_cv_prog_CC"; then
3684 ac_ct_CC=$CC
3685 # Extract the first word of "gcc", so it can be a program name with args.
3686 set dummy gcc; ac_word=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3690 $as_echo_n "(cached) " >&6
3691 else
3692 if test -n "$ac_ct_CC"; then
3693 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3694 else
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH
3698 IFS=$as_save_IFS
3699 test -z "$as_dir" && as_dir=.
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3702 ac_cv_prog_ac_ct_CC="gcc"
3703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 break 2
3706 done
3707 done
3708 IFS=$as_save_IFS
3712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3713 if test -n "$ac_ct_CC"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3715 $as_echo "$ac_ct_CC" >&6; }
3716 else
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3721 if test "x$ac_ct_CC" = x; then
3722 CC=""
3723 else
3724 case $cross_compiling:$ac_tool_warned in
3725 yes:)
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3728 ac_tool_warned=yes ;;
3729 esac
3730 CC=$ac_ct_CC
3732 else
3733 CC="$ac_cv_prog_CC"
3736 if test -z "$CC"; then
3737 if test -n "$ac_tool_prefix"; then
3738 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3739 set dummy ${ac_tool_prefix}cc; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_CC="${ac_tool_prefix}cc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3759 done
3760 done
3761 IFS=$as_save_IFS
3765 CC=$ac_cv_prog_CC
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3777 if test -z "$CC"; then
3778 # Extract the first word of "cc", so it can be a program name with args.
3779 set dummy cc; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_CC+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test -n "$CC"; then
3786 ac_cv_prog_CC="$CC" # Let the user override the test.
3787 else
3788 ac_prog_rejected=no
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3797 ac_prog_rejected=yes
3798 continue
3800 ac_cv_prog_CC="cc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3804 done
3805 done
3806 IFS=$as_save_IFS
3808 if test $ac_prog_rejected = yes; then
3809 # We found a bogon in the path, so make sure we never use it.
3810 set dummy $ac_cv_prog_CC
3811 shift
3812 if test $# != 0; then
3813 # We chose a different compiler from the bogus one.
3814 # However, it has the same basename, so the bogon will be chosen
3815 # first if we set CC to just the basename; use the full file name.
3816 shift
3817 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3822 CC=$ac_cv_prog_CC
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3826 else
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3833 if test -z "$CC"; then
3834 if test -n "$ac_tool_prefix"; then
3835 for ac_prog in cl.exe
3837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if test "${ac_cv_prog_CC+set}" = set; then :
3842 $as_echo_n "(cached) " >&6
3843 else
3844 if test -n "$CC"; then
3845 ac_cv_prog_CC="$CC" # Let the user override the test.
3846 else
3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 for as_dir in $PATH
3850 IFS=$as_save_IFS
3851 test -z "$as_dir" && as_dir=.
3852 for ac_exec_ext in '' $ac_executable_extensions; do
3853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3854 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 break 2
3858 done
3859 done
3860 IFS=$as_save_IFS
3864 CC=$ac_cv_prog_CC
3865 if test -n "$CC"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3867 $as_echo "$CC" >&6; }
3868 else
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3874 test -n "$CC" && break
3875 done
3877 if test -z "$CC"; then
3878 ac_ct_CC=$CC
3879 for ac_prog in cl.exe
3881 # Extract the first word of "$ac_prog", so it can be a program name with args.
3882 set dummy $ac_prog; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3886 $as_echo_n "(cached) " >&6
3887 else
3888 if test -n "$ac_ct_CC"; then
3889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3890 else
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 for as_dir in $PATH
3894 IFS=$as_save_IFS
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3898 ac_cv_prog_ac_ct_CC="$ac_prog"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3902 done
3903 done
3904 IFS=$as_save_IFS
3908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3909 if test -n "$ac_ct_CC"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3911 $as_echo "$ac_ct_CC" >&6; }
3912 else
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3918 test -n "$ac_ct_CC" && break
3919 done
3921 if test "x$ac_ct_CC" = x; then
3922 CC=""
3923 else
3924 case $cross_compiling:$ac_tool_warned in
3925 yes:)
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3928 ac_tool_warned=yes ;;
3929 esac
3930 CC=$ac_ct_CC
3937 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error "no acceptable C compiler found in \$PATH
3940 See \`config.log' for more details." "$LINENO" 5; }
3942 # Provide some information about the compiler.
3943 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3944 set X $ac_compile
3945 ac_compiler=$2
3946 for ac_option in --version -v -V -qversion; do
3947 { { ac_try="$ac_compiler $ac_option >&5"
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_compiler $ac_option >&5") 2>conftest.err
3955 ac_status=$?
3956 if test -s conftest.err; then
3957 sed '10a\
3958 ... rest of stderr output deleted ...
3959 10q' conftest.err >conftest.er1
3960 cat conftest.er1 >&5
3961 rm -f conftest.er1 conftest.err
3963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 test $ac_status = 0; }
3965 done
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3971 main ()
3975 return 0;
3977 _ACEOF
3978 # FIXME: Cleanup?
3979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3980 (eval $ac_link) 2>&5
3981 ac_status=$?
3982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983 test $ac_status = 0; }; then :
3984 gcc_no_link=no
3985 else
3986 gcc_no_link=yes
3988 if test x$gcc_no_link = xyes; then
3989 # Setting cross_compile will disable run tests; it will
3990 # also disable AC_CHECK_FILE but that's generally
3991 # correct if we can't link.
3992 cross_compiling=yes
3993 EXEEXT=
3994 else
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3999 main ()
4003 return 0;
4005 _ACEOF
4006 ac_clean_files_save=$ac_clean_files
4007 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4008 # Try to create an executable without -o first, disregard a.out.
4009 # It will help us diagnose broken compilers, and finding out an intuition
4010 # of exeext.
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4012 $as_echo_n "checking for C compiler default output file name... " >&6; }
4013 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4015 # The possible output files:
4016 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4018 ac_rmfiles=
4019 for ac_file in $ac_files
4021 case $ac_file in
4022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4023 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4024 esac
4025 done
4026 rm -f $ac_rmfiles
4028 if { { ac_try="$ac_link_default"
4029 case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link_default") 2>&5
4036 ac_status=$?
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4040 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4041 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4042 # so that the user can short-circuit this test for compilers unknown to
4043 # Autoconf.
4044 for ac_file in $ac_files ''
4046 test -f "$ac_file" || continue
4047 case $ac_file in
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4050 [ab].out )
4051 # We found the default executable, but exeext='' is most
4052 # certainly right.
4053 break;;
4054 *.* )
4055 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4056 then :; else
4057 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4059 # We set ac_cv_exeext here because the later test for it is not
4060 # safe: cross compilers may not add the suffix if given an `-o'
4061 # argument, so we may need to know it at that point already.
4062 # Even if this section looks crufty: it has the advantage of
4063 # actually working.
4064 break;;
4066 break;;
4067 esac
4068 done
4069 test "$ac_cv_exeext" = no && ac_cv_exeext=
4071 else
4072 ac_file=''
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4075 $as_echo "$ac_file" >&6; }
4076 if test -z "$ac_file"; then :
4077 $as_echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 { as_fn_set_status 77
4083 as_fn_error "C compiler cannot create executables
4084 See \`config.log' for more details." "$LINENO" 5; }; }
4086 ac_exeext=$ac_cv_exeext
4088 # Check that the compiler produces executables we can run. If not, either
4089 # the compiler is broken, or we cross compile.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4091 $as_echo_n "checking whether the C compiler works... " >&6; }
4092 # If not cross compiling, check that we can run a simple program.
4093 if test "$cross_compiling" != yes; then
4094 if { ac_try='./$ac_file'
4095 { { case "(($ac_try" in
4096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097 *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_try") 2>&5
4102 ac_status=$?
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; }; then
4105 cross_compiling=no
4106 else
4107 if test "$cross_compiling" = maybe; then
4108 cross_compiling=yes
4109 else
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error "cannot run C compiled programs.
4113 If you meant to cross compile, use \`--host'.
4114 See \`config.log' for more details." "$LINENO" 5; }
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119 $as_echo "yes" >&6; }
4121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4122 ac_clean_files=$ac_clean_files_save
4123 # Check that the compiler produces executables we can run. If not, either
4124 # the compiler is broken, or we cross compile.
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4126 $as_echo_n "checking whether we are cross compiling... " >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4128 $as_echo "$cross_compiling" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4131 $as_echo_n "checking for suffix of executables... " >&6; }
4132 if { { ac_try="$ac_link"
4133 case "(($ac_try" in
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4136 esac
4137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139 (eval "$ac_link") 2>&5
4140 ac_status=$?
4141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142 test $ac_status = 0; }; then :
4143 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4144 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4145 # work properly (i.e., refer to `conftest.exe'), while it won't with
4146 # `rm'.
4147 for ac_file in conftest.exe conftest conftest.*; do
4148 test -f "$ac_file" || continue
4149 case $ac_file in
4150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4151 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4152 break;;
4153 * ) break;;
4154 esac
4155 done
4156 else
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error "cannot compute suffix of executables: cannot compile and link
4160 See \`config.log' for more details." "$LINENO" 5; }
4162 rm -f conftest$ac_cv_exeext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4164 $as_echo "$ac_cv_exeext" >&6; }
4166 rm -f conftest.$ac_ext
4167 EXEEXT=$ac_cv_exeext
4168 ac_exeext=$EXEEXT
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4171 $as_echo_n "checking for suffix of object files... " >&6; }
4172 if test "${ac_cv_objext+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4179 main ()
4183 return 0;
4185 _ACEOF
4186 rm -f conftest.o conftest.obj
4187 if { { ac_try="$ac_compile"
4188 case "(($ac_try" in
4189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4190 *) ac_try_echo=$ac_try;;
4191 esac
4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4193 $as_echo "$ac_try_echo"; } >&5
4194 (eval "$ac_compile") 2>&5
4195 ac_status=$?
4196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197 test $ac_status = 0; }; then :
4198 for ac_file in conftest.o conftest.obj conftest.*; do
4199 test -f "$ac_file" || continue;
4200 case $ac_file in
4201 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4202 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4203 break;;
4204 esac
4205 done
4206 else
4207 $as_echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4212 as_fn_error "cannot compute suffix of object files: cannot compile
4213 See \`config.log' for more details." "$LINENO" 5; }
4215 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4218 $as_echo "$ac_cv_objext" >&6; }
4219 OBJEXT=$ac_cv_objext
4220 ac_objext=$OBJEXT
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4222 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4223 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4224 $as_echo_n "(cached) " >&6
4225 else
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4232 #ifndef __GNUC__
4233 choke me
4234 #endif
4237 return 0;
4239 _ACEOF
4240 if ac_fn_c_try_compile "$LINENO"; then :
4241 ac_compiler_gnu=yes
4242 else
4243 ac_compiler_gnu=no
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4250 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4251 if test $ac_compiler_gnu = yes; then
4252 GCC=yes
4253 else
4254 GCC=
4256 ac_test_CFLAGS=${CFLAGS+set}
4257 ac_save_CFLAGS=$CFLAGS
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4259 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4260 if test "${ac_cv_prog_cc_g+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4262 else
4263 ac_save_c_werror_flag=$ac_c_werror_flag
4264 ac_c_werror_flag=yes
4265 ac_cv_prog_cc_g=no
4266 CFLAGS="-g"
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4271 main ()
4275 return 0;
4277 _ACEOF
4278 if ac_fn_c_try_compile "$LINENO"; then :
4279 ac_cv_prog_cc_g=yes
4280 else
4281 CFLAGS=""
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4286 main ()
4290 return 0;
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4295 else
4296 ac_c_werror_flag=$ac_save_c_werror_flag
4297 CFLAGS="-g"
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4302 main ()
4306 return 0;
4308 _ACEOF
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310 ac_cv_prog_cc_g=yes
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317 ac_c_werror_flag=$ac_save_c_werror_flag
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4320 $as_echo "$ac_cv_prog_cc_g" >&6; }
4321 if test "$ac_test_CFLAGS" = set; then
4322 CFLAGS=$ac_save_CFLAGS
4323 elif test $ac_cv_prog_cc_g = yes; then
4324 if test "$GCC" = yes; then
4325 CFLAGS="-g -O2"
4326 else
4327 CFLAGS="-g"
4329 else
4330 if test "$GCC" = yes; then
4331 CFLAGS="-O2"
4332 else
4333 CFLAGS=
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4337 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4338 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 ac_cv_prog_cc_c89=no
4342 ac_save_CC=$CC
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4345 #include <stdarg.h>
4346 #include <stdio.h>
4347 #include <sys/types.h>
4348 #include <sys/stat.h>
4349 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4350 struct buf { int x; };
4351 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4352 static char *e (p, i)
4353 char **p;
4354 int i;
4356 return p[i];
4358 static char *f (char * (*g) (char **, int), char **p, ...)
4360 char *s;
4361 va_list v;
4362 va_start (v,p);
4363 s = g (p, va_arg (v,int));
4364 va_end (v);
4365 return s;
4368 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4369 function prototypes and stuff, but not '\xHH' hex character constants.
4370 These don't provoke an error unfortunately, instead are silently treated
4371 as 'x'. The following induces an error, until -std is added to get
4372 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4373 array size at least. It's necessary to write '\x00'==0 to get something
4374 that's true only with -std. */
4375 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4377 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4378 inside strings and character constants. */
4379 #define FOO(x) 'x'
4380 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4382 int test (int i, double x);
4383 struct s1 {int (*f) (int a);};
4384 struct s2 {int (*f) (double a);};
4385 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4386 int argc;
4387 char **argv;
4389 main ()
4391 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4393 return 0;
4395 _ACEOF
4396 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4397 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4399 CC="$ac_save_CC $ac_arg"
4400 if ac_fn_c_try_compile "$LINENO"; then :
4401 ac_cv_prog_cc_c89=$ac_arg
4403 rm -f core conftest.err conftest.$ac_objext
4404 test "x$ac_cv_prog_cc_c89" != "xno" && break
4405 done
4406 rm -f conftest.$ac_ext
4407 CC=$ac_save_CC
4410 # AC_CACHE_VAL
4411 case "x$ac_cv_prog_cc_c89" in
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4414 $as_echo "none needed" >&6; } ;;
4415 xno)
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4417 $as_echo "unsupported" >&6; } ;;
4419 CC="$CC $ac_cv_prog_cc_c89"
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4421 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4422 esac
4423 if test "x$ac_cv_prog_cc_c89" != xno; then :
4427 ac_ext=c
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4433 ac_ext=cpp
4434 ac_cpp='$CXXCPP $CPPFLAGS'
4435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4438 if test -z "$CXX"; then
4439 if test -n "$CCC"; then
4440 CXX=$CCC
4441 else
4442 if test -n "$ac_tool_prefix"; then
4443 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if test "${ac_cv_prog_CXX+set}" = set; then :
4450 $as_echo_n "(cached) " >&6
4451 else
4452 if test -n "$CXX"; then
4453 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4454 else
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH
4458 IFS=$as_save_IFS
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 break 2
4466 done
4467 done
4468 IFS=$as_save_IFS
4472 CXX=$ac_cv_prog_CXX
4473 if test -n "$CXX"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4475 $as_echo "$CXX" >&6; }
4476 else
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4482 test -n "$CXX" && break
4483 done
4485 if test -z "$CXX"; then
4486 ac_ct_CXX=$CXX
4487 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4489 # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy $ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4494 $as_echo_n "(cached) " >&6
4495 else
4496 if test -n "$ac_ct_CXX"; then
4497 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4502 IFS=$as_save_IFS
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4506 ac_cv_prog_ac_ct_CXX="$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 break 2
4510 done
4511 done
4512 IFS=$as_save_IFS
4516 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4517 if test -n "$ac_ct_CXX"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4519 $as_echo "$ac_ct_CXX" >&6; }
4520 else
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4526 test -n "$ac_ct_CXX" && break
4527 done
4529 if test "x$ac_ct_CXX" = x; then
4530 CXX="g++"
4531 else
4532 case $cross_compiling:$ac_tool_warned in
4533 yes:)
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4536 ac_tool_warned=yes ;;
4537 esac
4538 CXX=$ac_ct_CXX
4544 # Provide some information about the compiler.
4545 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4546 set X $ac_compile
4547 ac_compiler=$2
4548 for ac_option in --version -v -V -qversion; do
4549 { { ac_try="$ac_compiler $ac_option >&5"
4550 case "(($ac_try" in
4551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4552 *) ac_try_echo=$ac_try;;
4553 esac
4554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4555 $as_echo "$ac_try_echo"; } >&5
4556 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4557 ac_status=$?
4558 if test -s conftest.err; then
4559 sed '10a\
4560 ... rest of stderr output deleted ...
4561 10q' conftest.err >conftest.er1
4562 cat conftest.er1 >&5
4563 rm -f conftest.er1 conftest.err
4565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4566 test $ac_status = 0; }
4567 done
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4570 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4571 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4572 $as_echo_n "(cached) " >&6
4573 else
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4578 main ()
4580 #ifndef __GNUC__
4581 choke me
4582 #endif
4585 return 0;
4587 _ACEOF
4588 if ac_fn_cxx_try_compile "$LINENO"; then :
4589 ac_compiler_gnu=yes
4590 else
4591 ac_compiler_gnu=no
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4598 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4599 if test $ac_compiler_gnu = yes; then
4600 GXX=yes
4601 else
4602 GXX=
4604 ac_test_CXXFLAGS=${CXXFLAGS+set}
4605 ac_save_CXXFLAGS=$CXXFLAGS
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4607 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4608 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4609 $as_echo_n "(cached) " >&6
4610 else
4611 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4612 ac_cxx_werror_flag=yes
4613 ac_cv_prog_cxx_g=no
4614 CXXFLAGS="-g"
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4619 main ()
4623 return 0;
4625 _ACEOF
4626 if ac_fn_cxx_try_compile "$LINENO"; then :
4627 ac_cv_prog_cxx_g=yes
4628 else
4629 CXXFLAGS=""
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4634 main ()
4638 return 0;
4640 _ACEOF
4641 if ac_fn_cxx_try_compile "$LINENO"; then :
4643 else
4644 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4645 CXXFLAGS="-g"
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4650 main ()
4654 return 0;
4656 _ACEOF
4657 if ac_fn_cxx_try_compile "$LINENO"; then :
4658 ac_cv_prog_cxx_g=yes
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4668 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4669 if test "$ac_test_CXXFLAGS" = set; then
4670 CXXFLAGS=$ac_save_CXXFLAGS
4671 elif test $ac_cv_prog_cxx_g = yes; then
4672 if test "$GXX" = yes; then
4673 CXXFLAGS="-g -O2"
4674 else
4675 CXXFLAGS="-g"
4677 else
4678 if test "$GXX" = yes; then
4679 CXXFLAGS="-O2"
4680 else
4681 CXXFLAGS=
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4690 CXXFLAGS="$save_CXXFLAGS"
4692 # Runs configure.host, and assorted other critical bits. Sets
4693 # up critical shell variables.
4695 ac_ext=c
4696 ac_cpp='$CPP $CPPFLAGS'
4697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4701 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4702 # On Suns, sometimes $CPP names a directory.
4703 if test -n "$CPP" && test -d "$CPP"; then
4704 CPP=
4706 if test -z "$CPP"; then
4707 if test "${ac_cv_prog_CPP+set}" = set; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 # Double quotes because CPP needs to be expanded
4711 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4713 ac_preproc_ok=false
4714 for ac_c_preproc_warn_flag in '' yes
4716 # Use a header file that comes with gcc, so configuring glibc
4717 # with a fresh cross-compiler works.
4718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4719 # <limits.h> exists even on freestanding compilers.
4720 # On the NeXT, cc -E runs the code through the compiler's parser,
4721 # not just through cpp. "Syntax error" is here to catch this case.
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4724 #ifdef __STDC__
4725 # include <limits.h>
4726 #else
4727 # include <assert.h>
4728 #endif
4729 Syntax error
4730 _ACEOF
4731 if ac_fn_c_try_cpp "$LINENO"; then :
4733 else
4734 # Broken: fails on valid input.
4735 continue
4737 rm -f conftest.err conftest.$ac_ext
4739 # OK, works on sane cases. Now check whether nonexistent headers
4740 # can be detected and how.
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 #include <ac_nonexistent.h>
4744 _ACEOF
4745 if ac_fn_c_try_cpp "$LINENO"; then :
4746 # Broken: success on invalid input.
4747 continue
4748 else
4749 # Passes both tests.
4750 ac_preproc_ok=:
4751 break
4753 rm -f conftest.err conftest.$ac_ext
4755 done
4756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4757 rm -f conftest.err conftest.$ac_ext
4758 if $ac_preproc_ok; then :
4759 break
4762 done
4763 ac_cv_prog_CPP=$CPP
4766 CPP=$ac_cv_prog_CPP
4767 else
4768 ac_cv_prog_CPP=$CPP
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4771 $as_echo "$CPP" >&6; }
4772 ac_preproc_ok=false
4773 for ac_c_preproc_warn_flag in '' yes
4775 # Use a header file that comes with gcc, so configuring glibc
4776 # with a fresh cross-compiler works.
4777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 # <limits.h> exists even on freestanding compilers.
4779 # On the NeXT, cc -E runs the code through the compiler's parser,
4780 # not just through cpp. "Syntax error" is here to catch this case.
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4783 #ifdef __STDC__
4784 # include <limits.h>
4785 #else
4786 # include <assert.h>
4787 #endif
4788 Syntax error
4789 _ACEOF
4790 if ac_fn_c_try_cpp "$LINENO"; then :
4792 else
4793 # Broken: fails on valid input.
4794 continue
4796 rm -f conftest.err conftest.$ac_ext
4798 # OK, works on sane cases. Now check whether nonexistent headers
4799 # can be detected and how.
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 #include <ac_nonexistent.h>
4803 _ACEOF
4804 if ac_fn_c_try_cpp "$LINENO"; then :
4805 # Broken: success on invalid input.
4806 continue
4807 else
4808 # Passes both tests.
4809 ac_preproc_ok=:
4810 break
4812 rm -f conftest.err conftest.$ac_ext
4814 done
4815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4816 rm -f conftest.err conftest.$ac_ext
4817 if $ac_preproc_ok; then :
4819 else
4820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4822 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4823 See \`config.log' for more details." "$LINENO" 5; }
4826 ac_ext=c
4827 ac_cpp='$CPP $CPPFLAGS'
4828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4834 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4835 if test "${ac_cv_path_GREP+set}" = set; then :
4836 $as_echo_n "(cached) " >&6
4837 else
4838 if test -z "$GREP"; then
4839 ac_path_GREP_found=false
4840 # Loop through the user's path and test for each of PROGNAME-LIST
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4844 IFS=$as_save_IFS
4845 test -z "$as_dir" && as_dir=.
4846 for ac_prog in grep ggrep; do
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4849 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4850 # Check for GNU ac_path_GREP and select it if it is found.
4851 # Check for GNU $ac_path_GREP
4852 case `"$ac_path_GREP" --version 2>&1` in
4853 *GNU*)
4854 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4856 ac_count=0
4857 $as_echo_n 0123456789 >"conftest.in"
4858 while :
4860 cat "conftest.in" "conftest.in" >"conftest.tmp"
4861 mv "conftest.tmp" "conftest.in"
4862 cp "conftest.in" "conftest.nl"
4863 $as_echo 'GREP' >> "conftest.nl"
4864 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4865 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4866 as_fn_arith $ac_count + 1 && ac_count=$as_val
4867 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4868 # Best one so far, save it but keep looking for a better one
4869 ac_cv_path_GREP="$ac_path_GREP"
4870 ac_path_GREP_max=$ac_count
4872 # 10*(2^10) chars as input seems more than enough
4873 test $ac_count -gt 10 && break
4874 done
4875 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4876 esac
4878 $ac_path_GREP_found && break 3
4879 done
4880 done
4881 done
4882 IFS=$as_save_IFS
4883 if test -z "$ac_cv_path_GREP"; then
4884 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4886 else
4887 ac_cv_path_GREP=$GREP
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4892 $as_echo "$ac_cv_path_GREP" >&6; }
4893 GREP="$ac_cv_path_GREP"
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4897 $as_echo_n "checking for egrep... " >&6; }
4898 if test "${ac_cv_path_EGREP+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4902 then ac_cv_path_EGREP="$GREP -E"
4903 else
4904 if test -z "$EGREP"; then
4905 ac_path_EGREP_found=false
4906 # Loop through the user's path and test for each of PROGNAME-LIST
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4910 IFS=$as_save_IFS
4911 test -z "$as_dir" && as_dir=.
4912 for ac_prog in egrep; do
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4915 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4916 # Check for GNU ac_path_EGREP and select it if it is found.
4917 # Check for GNU $ac_path_EGREP
4918 case `"$ac_path_EGREP" --version 2>&1` in
4919 *GNU*)
4920 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4922 ac_count=0
4923 $as_echo_n 0123456789 >"conftest.in"
4924 while :
4926 cat "conftest.in" "conftest.in" >"conftest.tmp"
4927 mv "conftest.tmp" "conftest.in"
4928 cp "conftest.in" "conftest.nl"
4929 $as_echo 'EGREP' >> "conftest.nl"
4930 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4931 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4932 as_fn_arith $ac_count + 1 && ac_count=$as_val
4933 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4934 # Best one so far, save it but keep looking for a better one
4935 ac_cv_path_EGREP="$ac_path_EGREP"
4936 ac_path_EGREP_max=$ac_count
4938 # 10*(2^10) chars as input seems more than enough
4939 test $ac_count -gt 10 && break
4940 done
4941 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4942 esac
4944 $ac_path_EGREP_found && break 3
4945 done
4946 done
4947 done
4948 IFS=$as_save_IFS
4949 if test -z "$ac_cv_path_EGREP"; then
4950 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4952 else
4953 ac_cv_path_EGREP=$EGREP
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4959 $as_echo "$ac_cv_path_EGREP" >&6; }
4960 EGREP="$ac_cv_path_EGREP"
4964 # Keep these sync'd with the list in Makefile.am. The first provides an
4965 # expandable list at autoconf time; the second provides an expandable list
4966 # (i.e., shell variable) at configure time.
4968 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4970 # These need to be absolute paths, yet at the same time need to
4971 # canonicalize only relative paths, because then amd will not unmount
4972 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4973 glibcxx_builddir=`${PWDCMD-pwd}`
4974 case $srcdir in
4975 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4976 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4977 esac
4978 toplevel_builddir=${glibcxx_builddir}/..
4979 toplevel_srcdir=${glibcxx_srcdir}/..
4985 # We use these options to decide which functions to include. They are
4986 # set from the top level.
4988 # Check whether --with-target-subdir was given.
4989 if test "${with_target_subdir+set}" = set; then :
4990 withval=$with_target_subdir;
4995 # Check whether --with-cross-host was given.
4996 if test "${with_cross_host+set}" = set; then :
4997 withval=$with_cross_host;
5002 # Check whether --with-newlib was given.
5003 if test "${with_newlib+set}" = set; then :
5004 withval=$with_newlib;
5008 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5009 # available). Uncomment the next line to force a particular method.
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5011 $as_echo_n "checking whether ln -s works... " >&6; }
5012 LN_S=$as_ln_s
5013 if test "$LN_S" = "ln -s"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5015 $as_echo "yes" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5018 $as_echo "no, using $LN_S" >&6; }
5021 #LN_S='cp -p'
5023 if test -n "$ac_tool_prefix"; then
5024 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5025 set dummy ${ac_tool_prefix}as; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_AS+set}" = set; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 if test -n "$AS"; then
5032 ac_cv_prog_AS="$AS" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5037 IFS=$as_save_IFS
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_AS="${ac_tool_prefix}as"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 break 2
5045 done
5046 done
5047 IFS=$as_save_IFS
5051 AS=$ac_cv_prog_AS
5052 if test -n "$AS"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5054 $as_echo "$AS" >&6; }
5055 else
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5062 if test -z "$ac_cv_prog_AS"; then
5063 ac_ct_AS=$AS
5064 # Extract the first word of "as", so it can be a program name with args.
5065 set dummy as; ac_word=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 if test -n "$ac_ct_AS"; then
5072 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5073 else
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_prog_ac_ct_AS="as"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5085 done
5086 done
5087 IFS=$as_save_IFS
5091 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5092 if test -n "$ac_ct_AS"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5094 $as_echo "$ac_ct_AS" >&6; }
5095 else
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5100 if test "x$ac_ct_AS" = x; then
5101 AS=""
5102 else
5103 case $cross_compiling:$ac_tool_warned in
5104 yes:)
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107 ac_tool_warned=yes ;;
5108 esac
5109 AS=$ac_ct_AS
5111 else
5112 AS="$ac_cv_prog_AS"
5115 if test -n "$ac_tool_prefix"; then
5116 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5117 set dummy ${ac_tool_prefix}ar; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_AR+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5122 else
5123 if test -n "$AR"; then
5124 ac_cv_prog_AR="$AR" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5129 IFS=$as_save_IFS
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 ac_cv_prog_AR="${ac_tool_prefix}ar"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 break 2
5137 done
5138 done
5139 IFS=$as_save_IFS
5143 AR=$ac_cv_prog_AR
5144 if test -n "$AR"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5146 $as_echo "$AR" >&6; }
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5154 if test -z "$ac_cv_prog_AR"; then
5155 ac_ct_AR=$AR
5156 # Extract the first word of "ar", so it can be a program name with args.
5157 set dummy ar; ac_word=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$ac_ct_AR"; then
5164 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5165 else
5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 for as_dir in $PATH
5169 IFS=$as_save_IFS
5170 test -z "$as_dir" && as_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173 ac_cv_prog_ac_ct_AR="ar"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 break 2
5177 done
5178 done
5179 IFS=$as_save_IFS
5183 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5184 if test -n "$ac_ct_AR"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5186 $as_echo "$ac_ct_AR" >&6; }
5187 else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5192 if test "x$ac_ct_AR" = x; then
5193 AR=""
5194 else
5195 case $cross_compiling:$ac_tool_warned in
5196 yes:)
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5199 ac_tool_warned=yes ;;
5200 esac
5201 AR=$ac_ct_AR
5203 else
5204 AR="$ac_cv_prog_AR"
5207 if test -n "$ac_tool_prefix"; then
5208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5209 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5213 $as_echo_n "(cached) " >&6
5214 else
5215 if test -n "$RANLIB"; then
5216 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5221 IFS=$as_save_IFS
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 break 2
5229 done
5230 done
5231 IFS=$as_save_IFS
5235 RANLIB=$ac_cv_prog_RANLIB
5236 if test -n "$RANLIB"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5238 $as_echo "$RANLIB" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5246 if test -z "$ac_cv_prog_RANLIB"; then
5247 ac_ct_RANLIB=$RANLIB
5248 # Extract the first word of "ranlib", so it can be a program name with args.
5249 set dummy ranlib; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -n "$ac_ct_RANLIB"; then
5256 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5257 else
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH
5261 IFS=$as_save_IFS
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265 ac_cv_prog_ac_ct_RANLIB="ranlib"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 break 2
5269 done
5270 done
5271 IFS=$as_save_IFS
5275 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5276 if test -n "$ac_ct_RANLIB"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5278 $as_echo "$ac_ct_RANLIB" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5284 if test "x$ac_ct_RANLIB" = x; then
5285 RANLIB="ranlib-not-found-in-path-error"
5286 else
5287 case $cross_compiling:$ac_tool_warned in
5288 yes:)
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned=yes ;;
5292 esac
5293 RANLIB=$ac_ct_RANLIB
5295 else
5296 RANLIB="$ac_cv_prog_RANLIB"
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5302 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5303 # Check whether --enable-maintainer-mode was given.
5304 if test "${enable_maintainer_mode+set}" = set; then :
5305 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5306 else
5307 USE_MAINTAINER_MODE=no
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5311 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5312 if test $USE_MAINTAINER_MODE = yes; then
5313 MAINTAINER_MODE_TRUE=
5314 MAINTAINER_MODE_FALSE='#'
5315 else
5316 MAINTAINER_MODE_TRUE='#'
5317 MAINTAINER_MODE_FALSE=
5320 MAINT=$MAINTAINER_MODE_TRUE
5324 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5325 # which are themselves conditionally expanded.
5326 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5327 ## other macros from doing the same. This should be automated.) -pme
5329 # Check for C library flavor since GNU/Linux platforms use different
5330 # configuration directories depending on the C library in use.
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5334 #include <stdio.h>
5335 #if __UCLIBC__
5336 _using_uclibc
5337 #endif
5339 _ACEOF
5340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5341 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5342 uclibc=yes
5343 else
5344 uclibc=no
5346 rm -f conftest*
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5352 #include <stdio.h>
5353 #if __BIONIC__
5354 _using_bionic
5355 #endif
5357 _ACEOF
5358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5359 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5360 bionic=yes
5361 else
5362 bionic=no
5364 rm -f conftest*
5367 # Find platform-specific directories containing configuration info.
5368 # Also possibly modify flags used elsewhere, as needed by the platform.
5370 . $glibcxx_srcdir/configure.host
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5372 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5374 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5378 # Libtool setup.
5379 if test "x${with_newlib}" != "xyes"; then
5380 enable_dlopen=yes
5385 case `pwd` in
5386 *\ * | *\ *)
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5388 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5389 esac
5393 macro_version='2.2.7a'
5394 macro_revision='1.3134'
5408 ltmain="$ac_aux_dir/ltmain.sh"
5410 # Backslashify metacharacters that are still active within
5411 # double-quoted strings.
5412 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5414 # Same as above, but do not quote variable references.
5415 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5417 # Sed substitution to delay expansion of an escaped shell variable in a
5418 # double_quote_subst'ed string.
5419 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5421 # Sed substitution to delay expansion of an escaped single quote.
5422 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5424 # Sed substitution to avoid accidental globbing in evaled expressions
5425 no_glob_subst='s/\*/\\\*/g'
5427 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5429 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5432 $as_echo_n "checking how to print strings... " >&6; }
5433 # Test print first, because it will be a builtin if present.
5434 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5435 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5436 ECHO='print -r --'
5437 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5438 ECHO='printf %s\n'
5439 else
5440 # Use this function as a fallback that always works.
5441 func_fallback_echo ()
5443 eval 'cat <<_LTECHO_EOF
5445 _LTECHO_EOF'
5447 ECHO='func_fallback_echo'
5450 # func_echo_all arg...
5451 # Invoke $ECHO with all args, space-separated.
5452 func_echo_all ()
5454 $ECHO ""
5457 case "$ECHO" in
5458 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5459 $as_echo "printf" >&6; } ;;
5460 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5461 $as_echo "print -r" >&6; } ;;
5462 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5463 $as_echo "cat" >&6; } ;;
5464 esac
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5480 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5481 if test "${ac_cv_path_SED+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5485 for ac_i in 1 2 3 4 5 6 7; do
5486 ac_script="$ac_script$as_nl$ac_script"
5487 done
5488 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5489 { ac_script=; unset ac_script;}
5490 if test -z "$SED"; then
5491 ac_path_SED_found=false
5492 # Loop through the user's path and test for each of PROGNAME-LIST
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_prog in sed gsed; do
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5501 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5502 # Check for GNU ac_path_SED and select it if it is found.
5503 # Check for GNU $ac_path_SED
5504 case `"$ac_path_SED" --version 2>&1` in
5505 *GNU*)
5506 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5508 ac_count=0
5509 $as_echo_n 0123456789 >"conftest.in"
5510 while :
5512 cat "conftest.in" "conftest.in" >"conftest.tmp"
5513 mv "conftest.tmp" "conftest.in"
5514 cp "conftest.in" "conftest.nl"
5515 $as_echo '' >> "conftest.nl"
5516 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518 as_fn_arith $ac_count + 1 && ac_count=$as_val
5519 if test $ac_count -gt ${ac_path_SED_max-0}; then
5520 # Best one so far, save it but keep looking for a better one
5521 ac_cv_path_SED="$ac_path_SED"
5522 ac_path_SED_max=$ac_count
5524 # 10*(2^10) chars as input seems more than enough
5525 test $ac_count -gt 10 && break
5526 done
5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 esac
5530 $ac_path_SED_found && break 3
5531 done
5532 done
5533 done
5534 IFS=$as_save_IFS
5535 if test -z "$ac_cv_path_SED"; then
5536 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5538 else
5539 ac_cv_path_SED=$SED
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5544 $as_echo "$ac_cv_path_SED" >&6; }
5545 SED="$ac_cv_path_SED"
5546 rm -f conftest.sed
5548 test -z "$SED" && SED=sed
5549 Xsed="$SED -e 1s/^X//"
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5562 $as_echo_n "checking for fgrep... " >&6; }
5563 if test "${ac_cv_path_FGREP+set}" = set; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5567 then ac_cv_path_FGREP="$GREP -F"
5568 else
5569 if test -z "$FGREP"; then
5570 ac_path_FGREP_found=false
5571 # Loop through the user's path and test for each of PROGNAME-LIST
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_prog in fgrep; do
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5580 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5581 # Check for GNU ac_path_FGREP and select it if it is found.
5582 # Check for GNU $ac_path_FGREP
5583 case `"$ac_path_FGREP" --version 2>&1` in
5584 *GNU*)
5585 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5587 ac_count=0
5588 $as_echo_n 0123456789 >"conftest.in"
5589 while :
5591 cat "conftest.in" "conftest.in" >"conftest.tmp"
5592 mv "conftest.tmp" "conftest.in"
5593 cp "conftest.in" "conftest.nl"
5594 $as_echo 'FGREP' >> "conftest.nl"
5595 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5597 as_fn_arith $ac_count + 1 && ac_count=$as_val
5598 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5599 # Best one so far, save it but keep looking for a better one
5600 ac_cv_path_FGREP="$ac_path_FGREP"
5601 ac_path_FGREP_max=$ac_count
5603 # 10*(2^10) chars as input seems more than enough
5604 test $ac_count -gt 10 && break
5605 done
5606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5607 esac
5609 $ac_path_FGREP_found && break 3
5610 done
5611 done
5612 done
5613 IFS=$as_save_IFS
5614 if test -z "$ac_cv_path_FGREP"; then
5615 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5617 else
5618 ac_cv_path_FGREP=$FGREP
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5624 $as_echo "$ac_cv_path_FGREP" >&6; }
5625 FGREP="$ac_cv_path_FGREP"
5628 test -z "$GREP" && GREP=grep
5648 # Check whether --with-gnu-ld was given.
5649 if test "${with_gnu_ld+set}" = set; then :
5650 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5651 else
5652 with_gnu_ld=no
5655 ac_prog=ld
5656 if test "$GCC" = yes; then
5657 # Check if gcc -print-prog-name=ld gives a path.
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5659 $as_echo_n "checking for ld used by $CC... " >&6; }
5660 case $host in
5661 *-*-mingw*)
5662 # gcc leaves a trailing carriage return which upsets mingw
5663 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5665 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5666 esac
5667 case $ac_prog in
5668 # Accept absolute paths.
5669 [\\/]* | ?:[\\/]*)
5670 re_direlt='/[^/][^/]*/\.\./'
5671 # Canonicalize the pathname of ld
5672 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5673 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5674 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5675 done
5676 test -z "$LD" && LD="$ac_prog"
5679 # If it fails, then pretend we aren't using GCC.
5680 ac_prog=ld
5683 # If it is relative, then search for the first ld in PATH.
5684 with_gnu_ld=unknown
5686 esac
5687 elif test "$with_gnu_ld" = yes; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5689 $as_echo_n "checking for GNU ld... " >&6; }
5690 else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5692 $as_echo_n "checking for non-GNU ld... " >&6; }
5694 if test "${lt_cv_path_LD+set}" = set; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 if test -z "$LD"; then
5698 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5699 for ac_dir in $PATH; do
5700 IFS="$lt_save_ifs"
5701 test -z "$ac_dir" && ac_dir=.
5702 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5703 lt_cv_path_LD="$ac_dir/$ac_prog"
5704 # Check to see if the program is GNU ld. I'd rather use --version,
5705 # but apparently some variants of GNU ld only accept -v.
5706 # Break only if it was the GNU/non-GNU ld that we prefer.
5707 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5708 *GNU* | *'with BFD'*)
5709 test "$with_gnu_ld" != no && break
5712 test "$with_gnu_ld" != yes && break
5714 esac
5716 done
5717 IFS="$lt_save_ifs"
5718 else
5719 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5723 LD="$lt_cv_path_LD"
5724 if test -n "$LD"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5726 $as_echo "$LD" >&6; }
5727 else
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5731 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5733 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5734 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5738 case `$LD -v 2>&1 </dev/null` in
5739 *GNU* | *'with BFD'*)
5740 lt_cv_prog_gnu_ld=yes
5743 lt_cv_prog_gnu_ld=no
5745 esac
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5748 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5749 with_gnu_ld=$lt_cv_prog_gnu_ld
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5760 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5761 if test "${lt_cv_path_NM+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5763 else
5764 if test -n "$NM"; then
5765 # Let the user override the test.
5766 lt_cv_path_NM="$NM"
5767 else
5768 lt_nm_to_check="${ac_tool_prefix}nm"
5769 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5770 lt_nm_to_check="$lt_nm_to_check nm"
5772 for lt_tmp_nm in $lt_nm_to_check; do
5773 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5774 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5775 IFS="$lt_save_ifs"
5776 test -z "$ac_dir" && ac_dir=.
5777 tmp_nm="$ac_dir/$lt_tmp_nm"
5778 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5779 # Check to see if the nm accepts a BSD-compat flag.
5780 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5781 # nm: unknown option "B" ignored
5782 # Tru64's nm complains that /dev/null is an invalid object file
5783 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5784 */dev/null* | *'Invalid file or object type'*)
5785 lt_cv_path_NM="$tmp_nm -B"
5786 break
5789 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5790 */dev/null*)
5791 lt_cv_path_NM="$tmp_nm -p"
5792 break
5795 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5796 continue # so that we can try to find one that supports BSD flags
5798 esac
5800 esac
5802 done
5803 IFS="$lt_save_ifs"
5804 done
5805 : ${lt_cv_path_NM=no}
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5809 $as_echo "$lt_cv_path_NM" >&6; }
5810 if test "$lt_cv_path_NM" != "no"; then
5811 NM="$lt_cv_path_NM"
5812 else
5813 # Didn't find any BSD compatible name lister, look for dumpbin.
5814 if test -n "$DUMPBIN"; then :
5815 # Let the user override the test.
5816 else
5817 if test -n "$ac_tool_prefix"; then
5818 for ac_prog in dumpbin "link -dump"
5820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$DUMPBIN"; then
5828 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5837 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 DUMPBIN=$ac_cv_prog_DUMPBIN
5848 if test -n "$DUMPBIN"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5850 $as_echo "$DUMPBIN" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5857 test -n "$DUMPBIN" && break
5858 done
5860 if test -z "$DUMPBIN"; then
5861 ac_ct_DUMPBIN=$DUMPBIN
5862 for ac_prog in dumpbin "link -dump"
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$ac_ct_DUMPBIN"; then
5872 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5881 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5892 if test -n "$ac_ct_DUMPBIN"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5894 $as_echo "$ac_ct_DUMPBIN" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$ac_ct_DUMPBIN" && break
5902 done
5904 if test "x$ac_ct_DUMPBIN" = x; then
5905 DUMPBIN=":"
5906 else
5907 case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913 DUMPBIN=$ac_ct_DUMPBIN
5917 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5918 *COFF*)
5919 DUMPBIN="$DUMPBIN -symbols"
5922 DUMPBIN=:
5924 esac
5927 if test "$DUMPBIN" != ":"; then
5928 NM="$DUMPBIN"
5931 test -z "$NM" && NM=nm
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5939 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5940 if test "${lt_cv_nm_interface+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5942 else
5943 lt_cv_nm_interface="BSD nm"
5944 echo "int some_variable = 0;" > conftest.$ac_ext
5945 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5946 (eval "$ac_compile" 2>conftest.err)
5947 cat conftest.err >&5
5948 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5949 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5950 cat conftest.err >&5
5951 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5952 cat conftest.out >&5
5953 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5954 lt_cv_nm_interface="MS dumpbin"
5956 rm -f conftest*
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5959 $as_echo "$lt_cv_nm_interface" >&6; }
5961 # find the maximum length of command line arguments
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5963 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5964 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5968 teststring="ABCD"
5970 case $build_os in
5971 msdosdjgpp*)
5972 # On DJGPP, this test can blow up pretty badly due to problems in libc
5973 # (any single argument exceeding 2000 bytes causes a buffer overrun
5974 # during glob expansion). Even if it were fixed, the result of this
5975 # check would be larger than it should be.
5976 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5979 gnu*)
5980 # Under GNU Hurd, this test is not required because there is
5981 # no limit to the length of command line arguments.
5982 # Libtool will interpret -1 as no limit whatsoever
5983 lt_cv_sys_max_cmd_len=-1;
5986 cygwin* | mingw* | cegcc*)
5987 # On Win9x/ME, this test blows up -- it succeeds, but takes
5988 # about 5 minutes as the teststring grows exponentially.
5989 # Worse, since 9x/ME are not pre-emptively multitasking,
5990 # you end up with a "frozen" computer, even though with patience
5991 # the test eventually succeeds (with a max line length of 256k).
5992 # Instead, let's just punt: use the minimum linelength reported by
5993 # all of the supported platforms: 8192 (on NT/2K/XP).
5994 lt_cv_sys_max_cmd_len=8192;
5997 mint*)
5998 # On MiNT this can take a long time and run out of memory.
5999 lt_cv_sys_max_cmd_len=8192;
6002 amigaos*)
6003 # On AmigaOS with pdksh, this test takes hours, literally.
6004 # So we just punt and use a minimum line length of 8192.
6005 lt_cv_sys_max_cmd_len=8192;
6008 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6009 # This has been around since 386BSD, at least. Likely further.
6010 if test -x /sbin/sysctl; then
6011 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6012 elif test -x /usr/sbin/sysctl; then
6013 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6014 else
6015 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6017 # And add a safety zone
6018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6022 interix*)
6023 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6024 lt_cv_sys_max_cmd_len=196608
6027 osf*)
6028 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6029 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6030 # nice to cause kernel panics so lets avoid the loop below.
6031 # First set a reasonable default.
6032 lt_cv_sys_max_cmd_len=16384
6034 if test -x /sbin/sysconfig; then
6035 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6036 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6037 esac
6040 sco3.2v5*)
6041 lt_cv_sys_max_cmd_len=102400
6043 sysv5* | sco5v6* | sysv4.2uw2*)
6044 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6045 if test -n "$kargmax"; then
6046 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6047 else
6048 lt_cv_sys_max_cmd_len=32768
6052 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6053 if test -n "$lt_cv_sys_max_cmd_len"; then
6054 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6055 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6056 else
6057 # Make teststring a little bigger before we do anything with it.
6058 # a 1K string should be a reasonable start.
6059 for i in 1 2 3 4 5 6 7 8 ; do
6060 teststring=$teststring$teststring
6061 done
6062 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6063 # If test is not a shell built-in, we'll probably end up computing a
6064 # maximum length that is only half of the actual maximum length, but
6065 # we can't tell.
6066 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6067 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6068 test $i != 17 # 1/2 MB should be enough
6070 i=`expr $i + 1`
6071 teststring=$teststring$teststring
6072 done
6073 # Only check the string length outside the loop.
6074 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6075 teststring=
6076 # Add a significant safety factor because C++ compilers can tack on
6077 # massive amounts of additional arguments before passing them to the
6078 # linker. It appears as though 1/2 is a usable value.
6079 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6082 esac
6086 if test -n $lt_cv_sys_max_cmd_len ; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6088 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6091 $as_echo "none" >&6; }
6093 max_cmd_len=$lt_cv_sys_max_cmd_len
6100 : ${CP="cp -f"}
6101 : ${MV="mv -f"}
6102 : ${RM="rm -f"}
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6105 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6106 # Try some XSI features
6107 xsi_shell=no
6108 ( _lt_dummy="a/b/c"
6109 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6110 = c,a/b,, \
6111 && eval 'test $(( 1 + 1 )) -eq 2 \
6112 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6113 && xsi_shell=yes
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6115 $as_echo "$xsi_shell" >&6; }
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6119 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6120 lt_shell_append=no
6121 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6122 >/dev/null 2>&1 \
6123 && lt_shell_append=yes
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6125 $as_echo "$lt_shell_append" >&6; }
6128 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6129 lt_unset=unset
6130 else
6131 lt_unset=false
6138 # test EBCDIC or ASCII
6139 case `echo X|tr X '\101'` in
6140 A) # ASCII based system
6141 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6142 lt_SP2NL='tr \040 \012'
6143 lt_NL2SP='tr \015\012 \040\040'
6145 *) # EBCDIC based system
6146 lt_SP2NL='tr \100 \n'
6147 lt_NL2SP='tr \r\n \100\100'
6149 esac
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6160 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6161 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 lt_cv_ld_reload_flag='-r'
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6167 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6168 reload_flag=$lt_cv_ld_reload_flag
6169 case $reload_flag in
6170 "" | " "*) ;;
6171 *) reload_flag=" $reload_flag" ;;
6172 esac
6173 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6174 case $host_os in
6175 darwin*)
6176 if test "$GCC" = yes; then
6177 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6178 else
6179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6182 esac
6192 if test -n "$ac_tool_prefix"; then
6193 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6194 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; }
6197 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6198 $as_echo_n "(cached) " >&6
6199 else
6200 if test -n "$OBJDUMP"; then
6201 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6202 else
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 for as_dir in $PATH
6206 IFS=$as_save_IFS
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 break 2
6214 done
6215 done
6216 IFS=$as_save_IFS
6220 OBJDUMP=$ac_cv_prog_OBJDUMP
6221 if test -n "$OBJDUMP"; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6223 $as_echo "$OBJDUMP" >&6; }
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6231 if test -z "$ac_cv_prog_OBJDUMP"; then
6232 ac_ct_OBJDUMP=$OBJDUMP
6233 # Extract the first word of "objdump", so it can be a program name with args.
6234 set dummy objdump; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 if test -n "$ac_ct_OBJDUMP"; then
6241 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6242 else
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6246 IFS=$as_save_IFS
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6250 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 break 2
6254 done
6255 done
6256 IFS=$as_save_IFS
6260 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6261 if test -n "$ac_ct_OBJDUMP"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6263 $as_echo "$ac_ct_OBJDUMP" >&6; }
6264 else
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6269 if test "x$ac_ct_OBJDUMP" = x; then
6270 OBJDUMP="false"
6271 else
6272 case $cross_compiling:$ac_tool_warned in
6273 yes:)
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6276 ac_tool_warned=yes ;;
6277 esac
6278 OBJDUMP=$ac_ct_OBJDUMP
6280 else
6281 OBJDUMP="$ac_cv_prog_OBJDUMP"
6284 test -z "$OBJDUMP" && OBJDUMP=objdump
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6295 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6296 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6297 $as_echo_n "(cached) " >&6
6298 else
6299 lt_cv_file_magic_cmd='$MAGIC_CMD'
6300 lt_cv_file_magic_test_file=
6301 lt_cv_deplibs_check_method='unknown'
6302 # Need to set the preceding variable on all platforms that support
6303 # interlibrary dependencies.
6304 # 'none' -- dependencies not supported.
6305 # `unknown' -- same as none, but documents that we really don't know.
6306 # 'pass_all' -- all dependencies passed with no checks.
6307 # 'test_compile' -- check by making test program.
6308 # 'file_magic [[regex]]' -- check by looking for files in library path
6309 # which responds to the $file_magic_cmd with a given extended regex.
6310 # If you have `file' or equivalent on your system and you're not sure
6311 # whether `pass_all' will *always* work, you probably want this one.
6313 case $host_os in
6314 aix[4-9]*)
6315 lt_cv_deplibs_check_method=pass_all
6318 beos*)
6319 lt_cv_deplibs_check_method=pass_all
6322 bsdi[45]*)
6323 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6324 lt_cv_file_magic_cmd='/usr/bin/file -L'
6325 lt_cv_file_magic_test_file=/shlib/libc.so
6328 cygwin*)
6329 # func_win32_libid is a shell function defined in ltmain.sh
6330 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6331 lt_cv_file_magic_cmd='func_win32_libid'
6334 mingw* | pw32*)
6335 # Base MSYS/MinGW do not provide the 'file' command needed by
6336 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6337 # unless we find 'file', for example because we are cross-compiling.
6338 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6339 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6340 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6341 lt_cv_file_magic_cmd='func_win32_libid'
6342 else
6343 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6344 lt_cv_file_magic_cmd='$OBJDUMP -f'
6348 cegcc*)
6349 # use the weaker test based on 'objdump'. See mingw*.
6350 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6351 lt_cv_file_magic_cmd='$OBJDUMP -f'
6354 darwin* | rhapsody*)
6355 lt_cv_deplibs_check_method=pass_all
6358 freebsd* | dragonfly*)
6359 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6360 case $host_cpu in
6361 i*86 )
6362 # Not sure whether the presence of OpenBSD here was a mistake.
6363 # Let's accept both of them until this is cleared up.
6364 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6365 lt_cv_file_magic_cmd=/usr/bin/file
6366 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6368 esac
6369 else
6370 lt_cv_deplibs_check_method=pass_all
6374 gnu*)
6375 lt_cv_deplibs_check_method=pass_all
6378 haiku*)
6379 lt_cv_deplibs_check_method=pass_all
6382 hpux10.20* | hpux11*)
6383 lt_cv_file_magic_cmd=/usr/bin/file
6384 case $host_cpu in
6385 ia64*)
6386 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6387 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6389 hppa*64*)
6390 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]'
6391 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6394 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6395 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6397 esac
6400 interix[3-9]*)
6401 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6405 irix5* | irix6* | nonstopux*)
6406 case $LD in
6407 *-32|*"-32 ") libmagic=32-bit;;
6408 *-n32|*"-n32 ") libmagic=N32;;
6409 *-64|*"-64 ") libmagic=64-bit;;
6410 *) libmagic=never-match;;
6411 esac
6412 lt_cv_deplibs_check_method=pass_all
6415 # This must be Linux ELF.
6416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6417 lt_cv_deplibs_check_method=pass_all
6420 netbsd*)
6421 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6422 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6423 else
6424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6428 newos6*)
6429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6430 lt_cv_file_magic_cmd=/usr/bin/file
6431 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6434 *nto* | *qnx*)
6435 lt_cv_deplibs_check_method=pass_all
6438 openbsd*)
6439 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6441 else
6442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6446 osf3* | osf4* | osf5*)
6447 lt_cv_deplibs_check_method=pass_all
6450 rdos*)
6451 lt_cv_deplibs_check_method=pass_all
6454 solaris*)
6455 lt_cv_deplibs_check_method=pass_all
6458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6459 lt_cv_deplibs_check_method=pass_all
6462 sysv4 | sysv4.3*)
6463 case $host_vendor in
6464 motorola)
6465 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]'
6466 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6468 ncr)
6469 lt_cv_deplibs_check_method=pass_all
6471 sequent)
6472 lt_cv_file_magic_cmd='/bin/file'
6473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6475 sni)
6476 lt_cv_file_magic_cmd='/bin/file'
6477 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6478 lt_cv_file_magic_test_file=/lib/libc.so
6480 siemens)
6481 lt_cv_deplibs_check_method=pass_all
6484 lt_cv_deplibs_check_method=pass_all
6486 esac
6489 tpf*)
6490 lt_cv_deplibs_check_method=pass_all
6492 esac
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6496 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6497 file_magic_cmd=$lt_cv_file_magic_cmd
6498 deplibs_check_method=$lt_cv_deplibs_check_method
6499 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}ar; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_AR+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$AR"; then
6521 ac_cv_prog_AR="$AR" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_AR="${ac_tool_prefix}ar"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6534 done
6535 done
6536 IFS=$as_save_IFS
6540 AR=$ac_cv_prog_AR
6541 if test -n "$AR"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6543 $as_echo "$AR" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6551 if test -z "$ac_cv_prog_AR"; then
6552 ac_ct_AR=$AR
6553 # Extract the first word of "ar", so it can be a program name with args.
6554 set dummy ar; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ac_ct_AR"; then
6561 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_AR="ar"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6574 done
6575 done
6576 IFS=$as_save_IFS
6580 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6581 if test -n "$ac_ct_AR"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6583 $as_echo "$ac_ct_AR" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6589 if test "x$ac_ct_AR" = x; then
6590 AR="false"
6591 else
6592 case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598 AR=$ac_ct_AR
6600 else
6601 AR="$ac_cv_prog_AR"
6604 test -z "$AR" && AR=ar
6605 test -z "$AR_FLAGS" && AR_FLAGS=cru
6617 if test -n "$ac_tool_prefix"; then
6618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6619 set dummy ${ac_tool_prefix}strip; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if test "${ac_cv_prog_STRIP+set}" = set; then :
6623 $as_echo_n "(cached) " >&6
6624 else
6625 if test -n "$STRIP"; then
6626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6635 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6645 STRIP=$ac_cv_prog_STRIP
6646 if test -n "$STRIP"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6648 $as_echo "$STRIP" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6656 if test -z "$ac_cv_prog_STRIP"; then
6657 ac_ct_STRIP=$STRIP
6658 # Extract the first word of "strip", so it can be a program name with args.
6659 set dummy strip; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6663 $as_echo_n "(cached) " >&6
6664 else
6665 if test -n "$ac_ct_STRIP"; then
6666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6667 else
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 for as_dir in $PATH
6671 IFS=$as_save_IFS
6672 test -z "$as_dir" && as_dir=.
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675 ac_cv_prog_ac_ct_STRIP="strip"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 break 2
6679 done
6680 done
6681 IFS=$as_save_IFS
6685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6686 if test -n "$ac_ct_STRIP"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6688 $as_echo "$ac_ct_STRIP" >&6; }
6689 else
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6694 if test "x$ac_ct_STRIP" = x; then
6695 STRIP=":"
6696 else
6697 case $cross_compiling:$ac_tool_warned in
6698 yes:)
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned=yes ;;
6702 esac
6703 STRIP=$ac_ct_STRIP
6705 else
6706 STRIP="$ac_cv_prog_STRIP"
6709 test -z "$STRIP" && STRIP=:
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 if test -n "$RANLIB"; then
6725 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6726 else
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 for as_dir in $PATH
6730 IFS=$as_save_IFS
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 break 2
6738 done
6739 done
6740 IFS=$as_save_IFS
6744 RANLIB=$ac_cv_prog_RANLIB
6745 if test -n "$RANLIB"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6747 $as_echo "$RANLIB" >&6; }
6748 else
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6755 if test -z "$ac_cv_prog_RANLIB"; then
6756 ac_ct_RANLIB=$RANLIB
6757 # Extract the first word of "ranlib", so it can be a program name with args.
6758 set dummy ranlib; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6762 $as_echo_n "(cached) " >&6
6763 else
6764 if test -n "$ac_ct_RANLIB"; then
6765 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6766 else
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6770 IFS=$as_save_IFS
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_ac_ct_RANLIB="ranlib"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 break 2
6778 done
6779 done
6780 IFS=$as_save_IFS
6784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6785 if test -n "$ac_ct_RANLIB"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6787 $as_echo "$ac_ct_RANLIB" >&6; }
6788 else
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6793 if test "x$ac_ct_RANLIB" = x; then
6794 RANLIB=":"
6795 else
6796 case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802 RANLIB=$ac_ct_RANLIB
6804 else
6805 RANLIB="$ac_cv_prog_RANLIB"
6808 test -z "$RANLIB" && RANLIB=:
6815 # Determine commands to create old-style static archives.
6816 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6817 old_postinstall_cmds='chmod 644 $oldlib'
6818 old_postuninstall_cmds=
6820 if test -n "$RANLIB"; then
6821 case $host_os in
6822 openbsd*)
6823 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6826 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6828 esac
6829 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6832 case $host_os in
6833 darwin*)
6834 lock_old_archive_extraction=yes ;;
6836 lock_old_archive_extraction=no ;;
6837 esac
6877 # If no C compiler was specified, use CC.
6878 LTCC=${LTCC-"$CC"}
6880 # If no C compiler flags were specified, use CFLAGS.
6881 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6883 # Allow CC to be a program name with arguments.
6884 compiler=$CC
6887 # Check for command to grab the raw symbol name followed by C symbol from nm.
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6889 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6890 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6891 $as_echo_n "(cached) " >&6
6892 else
6894 # These are sane defaults that work on at least a few old systems.
6895 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6897 # Character class describing NM global symbol codes.
6898 symcode='[BCDEGRST]'
6900 # Regexp to match symbols that can be accessed directly from C.
6901 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6903 # Define system-specific variables.
6904 case $host_os in
6905 aix*)
6906 symcode='[BCDT]'
6908 cygwin* | mingw* | pw32* | cegcc*)
6909 symcode='[ABCDGISTW]'
6911 hpux*)
6912 if test "$host_cpu" = ia64; then
6913 symcode='[ABCDEGRST]'
6916 irix* | nonstopux*)
6917 symcode='[BCDEGRST]'
6919 osf*)
6920 symcode='[BCDEGQRST]'
6922 solaris*)
6923 symcode='[BDRT]'
6925 sco3.2v5*)
6926 symcode='[DT]'
6928 sysv4.2uw2*)
6929 symcode='[DT]'
6931 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6932 symcode='[ABDT]'
6934 sysv4)
6935 symcode='[DFNSTU]'
6937 esac
6939 # If we're using GNU nm, then use its standard symbol codes.
6940 case `$NM -V 2>&1` in
6941 *GNU* | *'with BFD'*)
6942 symcode='[ABCDGIRSTW]' ;;
6943 esac
6945 # Transform an extracted symbol line into a proper C declaration.
6946 # Some systems (esp. on ia64) link data and code symbols differently,
6947 # so use this general approach.
6948 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6950 # Transform an extracted symbol line into symbol name and symbol address
6951 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6952 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'"
6954 # Handle CRLF in mingw tool chain
6955 opt_cr=
6956 case $build_os in
6957 mingw*)
6958 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6960 esac
6962 # Try without a prefix underscore, then with it.
6963 for ac_symprfx in "" "_"; do
6965 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6966 symxfrm="\\1 $ac_symprfx\\2 \\2"
6968 # Write the raw and C identifiers.
6969 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6970 # Fake it for dumpbin and say T for any non-static function
6971 # and D for any global variable.
6972 # Also find C++ and __fastcall symbols from MSVC++,
6973 # which start with @ or ?.
6974 lt_cv_sys_global_symbol_pipe="$AWK '"\
6975 " {last_section=section; section=\$ 3};"\
6976 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6977 " \$ 0!~/External *\|/{next};"\
6978 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6979 " {if(hide[section]) next};"\
6980 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6981 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6982 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6983 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6984 " ' prfx=^$ac_symprfx"
6985 else
6986 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6989 # Check to see that the pipe works correctly.
6990 pipe_works=no
6992 rm -f conftest*
6993 cat > conftest.$ac_ext <<_LT_EOF
6994 #ifdef __cplusplus
6995 extern "C" {
6996 #endif
6997 char nm_test_var;
6998 void nm_test_func(void);
6999 void nm_test_func(void){}
7000 #ifdef __cplusplus
7002 #endif
7003 int main(){nm_test_var='a';nm_test_func();return(0);}
7004 _LT_EOF
7006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7007 (eval $ac_compile) 2>&5
7008 ac_status=$?
7009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7010 test $ac_status = 0; }; then
7011 # Now try to grab the symbols.
7012 nlist=conftest.nm
7013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7014 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7015 ac_status=$?
7016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017 test $ac_status = 0; } && test -s "$nlist"; then
7018 # Try sorting and uniquifying the output.
7019 if sort "$nlist" | uniq > "$nlist"T; then
7020 mv -f "$nlist"T "$nlist"
7021 else
7022 rm -f "$nlist"T
7025 # Make sure that we snagged all the symbols we need.
7026 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7027 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7028 cat <<_LT_EOF > conftest.$ac_ext
7029 #ifdef __cplusplus
7030 extern "C" {
7031 #endif
7033 _LT_EOF
7034 # Now generate the symbol file.
7035 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7037 cat <<_LT_EOF >> conftest.$ac_ext
7039 /* The mapping between symbol names and symbols. */
7040 const struct {
7041 const char *name;
7042 void *address;
7044 lt__PROGRAM__LTX_preloaded_symbols[] =
7046 { "@PROGRAM@", (void *) 0 },
7047 _LT_EOF
7048 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7049 cat <<\_LT_EOF >> conftest.$ac_ext
7050 {0, (void *) 0}
7053 /* This works around a problem in FreeBSD linker */
7054 #ifdef FREEBSD_WORKAROUND
7055 static const void *lt_preloaded_setup() {
7056 return lt__PROGRAM__LTX_preloaded_symbols;
7058 #endif
7060 #ifdef __cplusplus
7062 #endif
7063 _LT_EOF
7064 # Now try linking the two files.
7065 mv conftest.$ac_objext conftstm.$ac_objext
7066 lt_save_LIBS="$LIBS"
7067 lt_save_CFLAGS="$CFLAGS"
7068 LIBS="conftstm.$ac_objext"
7069 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7071 (eval $ac_link) 2>&5
7072 ac_status=$?
7073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7074 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7075 pipe_works=yes
7077 LIBS="$lt_save_LIBS"
7078 CFLAGS="$lt_save_CFLAGS"
7079 else
7080 echo "cannot find nm_test_func in $nlist" >&5
7082 else
7083 echo "cannot find nm_test_var in $nlist" >&5
7085 else
7086 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7088 else
7089 echo "$progname: failed program was:" >&5
7090 cat conftest.$ac_ext >&5
7092 rm -rf conftest* conftst*
7094 # Do not use the global_symbol_pipe unless it works.
7095 if test "$pipe_works" = yes; then
7096 break
7097 else
7098 lt_cv_sys_global_symbol_pipe=
7100 done
7104 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7105 lt_cv_sys_global_symbol_to_cdecl=
7107 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7109 $as_echo "failed" >&6; }
7110 else
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7112 $as_echo "ok" >&6; }
7136 # Check whether --enable-libtool-lock was given.
7137 if test "${enable_libtool_lock+set}" = set; then :
7138 enableval=$enable_libtool_lock;
7141 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7143 # Some flags need to be propagated to the compiler or linker for good
7144 # libtool support.
7145 case $host in
7146 ia64-*-hpux*)
7147 # Find out which ABI we are using.
7148 echo 'int i;' > conftest.$ac_ext
7149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7151 ac_status=$?
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 case `/usr/bin/file conftest.$ac_objext` in
7155 *ELF-32*)
7156 HPUX_IA64_MODE="32"
7158 *ELF-64*)
7159 HPUX_IA64_MODE="64"
7161 esac
7163 rm -rf conftest*
7165 *-*-irix6*)
7166 # Find out which ABI we are using.
7167 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7169 (eval $ac_compile) 2>&5
7170 ac_status=$?
7171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7172 test $ac_status = 0; }; then
7173 if test "$lt_cv_prog_gnu_ld" = yes; then
7174 case `/usr/bin/file conftest.$ac_objext` in
7175 *32-bit*)
7176 LD="${LD-ld} -melf32bsmip"
7178 *N32*)
7179 LD="${LD-ld} -melf32bmipn32"
7181 *64-bit*)
7182 LD="${LD-ld} -melf64bmip"
7184 esac
7185 else
7186 case `/usr/bin/file conftest.$ac_objext` in
7187 *32-bit*)
7188 LD="${LD-ld} -32"
7190 *N32*)
7191 LD="${LD-ld} -n32"
7193 *64-bit*)
7194 LD="${LD-ld} -64"
7196 esac
7199 rm -rf conftest*
7202 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7203 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7204 # Find out which ABI we are using.
7205 echo 'int i;' > conftest.$ac_ext
7206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7207 (eval $ac_compile) 2>&5
7208 ac_status=$?
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210 test $ac_status = 0; }; then
7211 case `/usr/bin/file conftest.o` in
7212 *32-bit*)
7213 case $host in
7214 x86_64-*kfreebsd*-gnu)
7215 LD="${LD-ld} -m elf_i386_fbsd"
7217 x86_64-*linux*)
7218 case `/usr/bin/file conftest.o` in
7219 *x86-64*)
7220 LD="${LD-ld} -m elf32_x86_64"
7223 LD="${LD-ld} -m elf_i386"
7225 esac
7227 powerpc64le-*linux*)
7228 LD="${LD-ld} -m elf32lppclinux"
7230 powerpc64-*linux*)
7231 LD="${LD-ld} -m elf32ppclinux"
7233 s390x-*linux*)
7234 LD="${LD-ld} -m elf_s390"
7236 sparc64-*linux*)
7237 LD="${LD-ld} -m elf32_sparc"
7239 esac
7241 *64-bit*)
7242 case $host in
7243 x86_64-*kfreebsd*-gnu)
7244 LD="${LD-ld} -m elf_x86_64_fbsd"
7246 x86_64-*linux*)
7247 LD="${LD-ld} -m elf_x86_64"
7249 powerpcle-*linux*)
7250 LD="${LD-ld} -m elf64lppc"
7252 powerpc-*linux*)
7253 LD="${LD-ld} -m elf64ppc"
7255 s390*-*linux*|s390*-*tpf*)
7256 LD="${LD-ld} -m elf64_s390"
7258 sparc*-*linux*)
7259 LD="${LD-ld} -m elf64_sparc"
7261 esac
7263 esac
7265 rm -rf conftest*
7268 *-*-sco3.2v5*)
7269 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7270 SAVE_CFLAGS="$CFLAGS"
7271 CFLAGS="$CFLAGS -belf"
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7273 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7274 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 ac_ext=c
7278 ac_cpp='$CPP $CPPFLAGS'
7279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7283 if test x$gcc_no_link = xyes; then
7284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7290 main ()
7294 return 0;
7296 _ACEOF
7297 if ac_fn_c_try_link "$LINENO"; then :
7298 lt_cv_cc_needs_belf=yes
7299 else
7300 lt_cv_cc_needs_belf=no
7302 rm -f core conftest.err conftest.$ac_objext \
7303 conftest$ac_exeext conftest.$ac_ext
7304 ac_ext=c
7305 ac_cpp='$CPP $CPPFLAGS'
7306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7312 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7313 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7314 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7315 CFLAGS="$SAVE_CFLAGS"
7318 sparc*-*solaris*)
7319 # Find out which ABI we are using.
7320 echo 'int i;' > conftest.$ac_ext
7321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7322 (eval $ac_compile) 2>&5
7323 ac_status=$?
7324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7325 test $ac_status = 0; }; then
7326 case `/usr/bin/file conftest.o` in
7327 *64-bit*)
7328 case $lt_cv_prog_gnu_ld in
7329 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7331 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7332 LD="${LD-ld} -64"
7335 esac
7337 esac
7339 rm -rf conftest*
7341 esac
7343 need_locks="$enable_libtool_lock"
7346 case $host_os in
7347 rhapsody* | darwin*)
7348 if test -n "$ac_tool_prefix"; then
7349 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7350 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7354 $as_echo_n "(cached) " >&6
7355 else
7356 if test -n "$DSYMUTIL"; then
7357 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7358 else
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 for as_dir in $PATH
7362 IFS=$as_save_IFS
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 break 2
7370 done
7371 done
7372 IFS=$as_save_IFS
7376 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7377 if test -n "$DSYMUTIL"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7379 $as_echo "$DSYMUTIL" >&6; }
7380 else
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7387 if test -z "$ac_cv_prog_DSYMUTIL"; then
7388 ac_ct_DSYMUTIL=$DSYMUTIL
7389 # Extract the first word of "dsymutil", so it can be a program name with args.
7390 set dummy dsymutil; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7394 $as_echo_n "(cached) " >&6
7395 else
7396 if test -n "$ac_ct_DSYMUTIL"; then
7397 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7417 if test -n "$ac_ct_DSYMUTIL"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7419 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7420 else
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7425 if test "x$ac_ct_DSYMUTIL" = x; then
7426 DSYMUTIL=":"
7427 else
7428 case $cross_compiling:$ac_tool_warned in
7429 yes:)
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7432 ac_tool_warned=yes ;;
7433 esac
7434 DSYMUTIL=$ac_ct_DSYMUTIL
7436 else
7437 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7440 if test -n "$ac_tool_prefix"; then
7441 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7442 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7446 $as_echo_n "(cached) " >&6
7447 else
7448 if test -n "$NMEDIT"; then
7449 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7454 IFS=$as_save_IFS
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 break 2
7462 done
7463 done
7464 IFS=$as_save_IFS
7468 NMEDIT=$ac_cv_prog_NMEDIT
7469 if test -n "$NMEDIT"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7471 $as_echo "$NMEDIT" >&6; }
7472 else
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7479 if test -z "$ac_cv_prog_NMEDIT"; then
7480 ac_ct_NMEDIT=$NMEDIT
7481 # Extract the first word of "nmedit", so it can be a program name with args.
7482 set dummy nmedit; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7487 else
7488 if test -n "$ac_ct_NMEDIT"; then
7489 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7490 else
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 for as_dir in $PATH
7494 IFS=$as_save_IFS
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 break 2
7502 done
7503 done
7504 IFS=$as_save_IFS
7508 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7509 if test -n "$ac_ct_NMEDIT"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7511 $as_echo "$ac_ct_NMEDIT" >&6; }
7512 else
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7517 if test "x$ac_ct_NMEDIT" = x; then
7518 NMEDIT=":"
7519 else
7520 case $cross_compiling:$ac_tool_warned in
7521 yes:)
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7524 ac_tool_warned=yes ;;
7525 esac
7526 NMEDIT=$ac_ct_NMEDIT
7528 else
7529 NMEDIT="$ac_cv_prog_NMEDIT"
7532 if test -n "$ac_tool_prefix"; then
7533 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7534 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if test "${ac_cv_prog_LIPO+set}" = set; then :
7538 $as_echo_n "(cached) " >&6
7539 else
7540 if test -n "$LIPO"; then
7541 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7542 else
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 for as_dir in $PATH
7546 IFS=$as_save_IFS
7547 test -z "$as_dir" && as_dir=.
7548 for ac_exec_ext in '' $ac_executable_extensions; do
7549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7550 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552 break 2
7554 done
7555 done
7556 IFS=$as_save_IFS
7560 LIPO=$ac_cv_prog_LIPO
7561 if test -n "$LIPO"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7563 $as_echo "$LIPO" >&6; }
7564 else
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7571 if test -z "$ac_cv_prog_LIPO"; then
7572 ac_ct_LIPO=$LIPO
7573 # Extract the first word of "lipo", so it can be a program name with args.
7574 set dummy lipo; ac_word=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 if test -n "$ac_ct_LIPO"; then
7581 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7582 else
7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 for as_dir in $PATH
7586 IFS=$as_save_IFS
7587 test -z "$as_dir" && as_dir=.
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590 ac_cv_prog_ac_ct_LIPO="lipo"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 break 2
7594 done
7595 done
7596 IFS=$as_save_IFS
7600 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7601 if test -n "$ac_ct_LIPO"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7603 $as_echo "$ac_ct_LIPO" >&6; }
7604 else
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7609 if test "x$ac_ct_LIPO" = x; then
7610 LIPO=":"
7611 else
7612 case $cross_compiling:$ac_tool_warned in
7613 yes:)
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7616 ac_tool_warned=yes ;;
7617 esac
7618 LIPO=$ac_ct_LIPO
7620 else
7621 LIPO="$ac_cv_prog_LIPO"
7624 if test -n "$ac_tool_prefix"; then
7625 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}otool; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7630 $as_echo_n "(cached) " >&6
7631 else
7632 if test -n "$OTOOL"; then
7633 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7638 IFS=$as_save_IFS
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 break 2
7646 done
7647 done
7648 IFS=$as_save_IFS
7652 OTOOL=$ac_cv_prog_OTOOL
7653 if test -n "$OTOOL"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7655 $as_echo "$OTOOL" >&6; }
7656 else
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7663 if test -z "$ac_cv_prog_OTOOL"; then
7664 ac_ct_OTOOL=$OTOOL
7665 # Extract the first word of "otool", so it can be a program name with args.
7666 set dummy otool; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7670 $as_echo_n "(cached) " >&6
7671 else
7672 if test -n "$ac_ct_OTOOL"; then
7673 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7674 else
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 for as_dir in $PATH
7678 IFS=$as_save_IFS
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682 ac_cv_prog_ac_ct_OTOOL="otool"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684 break 2
7686 done
7687 done
7688 IFS=$as_save_IFS
7692 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7693 if test -n "$ac_ct_OTOOL"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7695 $as_echo "$ac_ct_OTOOL" >&6; }
7696 else
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7701 if test "x$ac_ct_OTOOL" = x; then
7702 OTOOL=":"
7703 else
7704 case $cross_compiling:$ac_tool_warned in
7705 yes:)
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708 ac_tool_warned=yes ;;
7709 esac
7710 OTOOL=$ac_ct_OTOOL
7712 else
7713 OTOOL="$ac_cv_prog_OTOOL"
7716 if test -n "$ac_tool_prefix"; then
7717 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7718 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 if test -n "$OTOOL64"; then
7725 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7726 else
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 for as_dir in $PATH
7730 IFS=$as_save_IFS
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7734 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 break 2
7738 done
7739 done
7740 IFS=$as_save_IFS
7744 OTOOL64=$ac_cv_prog_OTOOL64
7745 if test -n "$OTOOL64"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7747 $as_echo "$OTOOL64" >&6; }
7748 else
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7755 if test -z "$ac_cv_prog_OTOOL64"; then
7756 ac_ct_OTOOL64=$OTOOL64
7757 # Extract the first word of "otool64", so it can be a program name with args.
7758 set dummy otool64; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7762 $as_echo_n "(cached) " >&6
7763 else
7764 if test -n "$ac_ct_OTOOL64"; then
7765 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7766 else
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 for as_dir in $PATH
7770 IFS=$as_save_IFS
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774 ac_cv_prog_ac_ct_OTOOL64="otool64"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 break 2
7778 done
7779 done
7780 IFS=$as_save_IFS
7784 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7785 if test -n "$ac_ct_OTOOL64"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7787 $as_echo "$ac_ct_OTOOL64" >&6; }
7788 else
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7793 if test "x$ac_ct_OTOOL64" = x; then
7794 OTOOL64=":"
7795 else
7796 case $cross_compiling:$ac_tool_warned in
7797 yes:)
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7800 ac_tool_warned=yes ;;
7801 esac
7802 OTOOL64=$ac_ct_OTOOL64
7804 else
7805 OTOOL64="$ac_cv_prog_OTOOL64"
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7835 $as_echo_n "checking for -single_module linker flag... " >&6; }
7836 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7837 $as_echo_n "(cached) " >&6
7838 else
7839 lt_cv_apple_cc_single_mod=no
7840 if test -z "${LT_MULTI_MODULE}"; then
7841 # By default we will add the -single_module flag. You can override
7842 # by either setting the environment variable LT_MULTI_MODULE
7843 # non-empty at configure time, or by adding -multi_module to the
7844 # link flags.
7845 rm -rf libconftest.dylib*
7846 echo "int foo(void){return 1;}" > conftest.c
7847 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7848 -dynamiclib -Wl,-single_module conftest.c" >&5
7849 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7850 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7851 _lt_result=$?
7852 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7853 lt_cv_apple_cc_single_mod=yes
7854 else
7855 cat conftest.err >&5
7857 rm -rf libconftest.dylib*
7858 rm -f conftest.*
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7862 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7864 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7865 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7866 $as_echo_n "(cached) " >&6
7867 else
7868 lt_cv_ld_exported_symbols_list=no
7869 save_LDFLAGS=$LDFLAGS
7870 echo "_main" > conftest.sym
7871 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7872 if test x$gcc_no_link = xyes; then
7873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7879 main ()
7883 return 0;
7885 _ACEOF
7886 if ac_fn_c_try_link "$LINENO"; then :
7887 lt_cv_ld_exported_symbols_list=yes
7888 else
7889 lt_cv_ld_exported_symbols_list=no
7891 rm -f core conftest.err conftest.$ac_objext \
7892 conftest$ac_exeext conftest.$ac_ext
7893 LDFLAGS="$save_LDFLAGS"
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7897 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7899 $as_echo_n "checking for -force_load linker flag... " >&6; }
7900 if test "${lt_cv_ld_force_load+set}" = set; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 lt_cv_ld_force_load=no
7904 cat > conftest.c << _LT_EOF
7905 int forced_loaded() { return 2;}
7906 _LT_EOF
7907 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7908 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7909 echo "$AR cru libconftest.a conftest.o" >&5
7910 $AR cru libconftest.a conftest.o 2>&5
7911 cat > conftest.c << _LT_EOF
7912 int main() { return 0;}
7913 _LT_EOF
7914 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7915 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7916 _lt_result=$?
7917 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7918 lt_cv_ld_force_load=yes
7919 else
7920 cat conftest.err >&5
7922 rm -f conftest.err libconftest.a conftest conftest.c
7923 rm -rf conftest.dSYM
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7927 $as_echo "$lt_cv_ld_force_load" >&6; }
7928 case $host_os in
7929 rhapsody* | darwin1.[012])
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7931 darwin1.*)
7932 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7933 darwin*) # darwin 5.x on
7934 # if running on 10.5 or later, the deployment target defaults
7935 # to the OS version, if on x86, and 10.4, the deployment
7936 # target defaults to 10.4. Don't you love it?
7937 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7938 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7939 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7940 10.[012][,.]*)
7941 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7942 10.*)
7943 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7944 esac
7946 esac
7947 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7948 _lt_dar_single_mod='$single_module'
7950 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7951 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7952 else
7953 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7955 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7956 _lt_dsymutil='~$DSYMUTIL $lib || :'
7957 else
7958 _lt_dsymutil=
7961 esac
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7964 $as_echo_n "checking for ANSI C header files... " >&6; }
7965 if test "${ac_cv_header_stdc+set}" = set; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7970 #include <stdlib.h>
7971 #include <stdarg.h>
7972 #include <string.h>
7973 #include <float.h>
7976 main ()
7980 return 0;
7982 _ACEOF
7983 if ac_fn_c_try_compile "$LINENO"; then :
7984 ac_cv_header_stdc=yes
7985 else
7986 ac_cv_header_stdc=no
7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7990 if test $ac_cv_header_stdc = yes; then
7991 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h. */
7994 #include <string.h>
7996 _ACEOF
7997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7998 $EGREP "memchr" >/dev/null 2>&1; then :
8000 else
8001 ac_cv_header_stdc=no
8003 rm -f conftest*
8007 if test $ac_cv_header_stdc = yes; then
8008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8010 /* end confdefs.h. */
8011 #include <stdlib.h>
8013 _ACEOF
8014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8015 $EGREP "free" >/dev/null 2>&1; then :
8017 else
8018 ac_cv_header_stdc=no
8020 rm -f conftest*
8024 if test $ac_cv_header_stdc = yes; then
8025 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8026 if test "$cross_compiling" = yes; then :
8028 else
8029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 #include <ctype.h>
8032 #include <stdlib.h>
8033 #if ((' ' & 0x0FF) == 0x020)
8034 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8035 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8036 #else
8037 # define ISLOWER(c) \
8038 (('a' <= (c) && (c) <= 'i') \
8039 || ('j' <= (c) && (c) <= 'r') \
8040 || ('s' <= (c) && (c) <= 'z'))
8041 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8042 #endif
8044 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8046 main ()
8048 int i;
8049 for (i = 0; i < 256; i++)
8050 if (XOR (islower (i), ISLOWER (i))
8051 || toupper (i) != TOUPPER (i))
8052 return 2;
8053 return 0;
8055 _ACEOF
8056 if ac_fn_c_try_run "$LINENO"; then :
8058 else
8059 ac_cv_header_stdc=no
8061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8062 conftest.$ac_objext conftest.beam conftest.$ac_ext
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8068 $as_echo "$ac_cv_header_stdc" >&6; }
8069 if test $ac_cv_header_stdc = yes; then
8071 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8075 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8076 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8077 inttypes.h stdint.h unistd.h
8078 do :
8079 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8080 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8082 eval as_val=\$$as_ac_Header
8083 if test "x$as_val" = x""yes; then :
8084 cat >>confdefs.h <<_ACEOF
8085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 _ACEOF
8090 done
8093 for ac_header in dlfcn.h
8094 do :
8095 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8097 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8098 cat >>confdefs.h <<_ACEOF
8099 #define HAVE_DLFCN_H 1
8100 _ACEOF
8104 done
8111 # Set options
8116 enable_win32_dll=no
8119 # Check whether --enable-shared was given.
8120 if test "${enable_shared+set}" = set; then :
8121 enableval=$enable_shared; p=${PACKAGE-default}
8122 case $enableval in
8123 yes) enable_shared=yes ;;
8124 no) enable_shared=no ;;
8126 enable_shared=no
8127 # Look at the argument we got. We use all the common list separators.
8128 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8129 for pkg in $enableval; do
8130 IFS="$lt_save_ifs"
8131 if test "X$pkg" = "X$p"; then
8132 enable_shared=yes
8134 done
8135 IFS="$lt_save_ifs"
8137 esac
8138 else
8139 enable_shared=yes
8150 # Check whether --enable-static was given.
8151 if test "${enable_static+set}" = set; then :
8152 enableval=$enable_static; p=${PACKAGE-default}
8153 case $enableval in
8154 yes) enable_static=yes ;;
8155 no) enable_static=no ;;
8157 enable_static=no
8158 # Look at the argument we got. We use all the common list separators.
8159 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8160 for pkg in $enableval; do
8161 IFS="$lt_save_ifs"
8162 if test "X$pkg" = "X$p"; then
8163 enable_static=yes
8165 done
8166 IFS="$lt_save_ifs"
8168 esac
8169 else
8170 enable_static=yes
8182 # Check whether --with-pic was given.
8183 if test "${with_pic+set}" = set; then :
8184 withval=$with_pic; pic_mode="$withval"
8185 else
8186 pic_mode=default
8190 test -z "$pic_mode" && pic_mode=default
8198 # Check whether --enable-fast-install was given.
8199 if test "${enable_fast_install+set}" = set; then :
8200 enableval=$enable_fast_install; p=${PACKAGE-default}
8201 case $enableval in
8202 yes) enable_fast_install=yes ;;
8203 no) enable_fast_install=no ;;
8205 enable_fast_install=no
8206 # Look at the argument we got. We use all the common list separators.
8207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8208 for pkg in $enableval; do
8209 IFS="$lt_save_ifs"
8210 if test "X$pkg" = "X$p"; then
8211 enable_fast_install=yes
8213 done
8214 IFS="$lt_save_ifs"
8216 esac
8217 else
8218 enable_fast_install=yes
8231 # This can be used to rebuild libtool when needed
8232 LIBTOOL_DEPS="$ltmain"
8234 # Always use our own libtool.
8235 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8262 test -z "$LN_S" && LN_S="ln -s"
8277 if test -n "${ZSH_VERSION+set}" ; then
8278 setopt NO_GLOB_SUBST
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8282 $as_echo_n "checking for objdir... " >&6; }
8283 if test "${lt_cv_objdir+set}" = set; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 rm -f .libs 2>/dev/null
8287 mkdir .libs 2>/dev/null
8288 if test -d .libs; then
8289 lt_cv_objdir=.libs
8290 else
8291 # MS-DOS does not allow filenames that begin with a dot.
8292 lt_cv_objdir=_libs
8294 rmdir .libs 2>/dev/null
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8297 $as_echo "$lt_cv_objdir" >&6; }
8298 objdir=$lt_cv_objdir
8304 cat >>confdefs.h <<_ACEOF
8305 #define LT_OBJDIR "$lt_cv_objdir/"
8306 _ACEOF
8311 case $host_os in
8312 aix3*)
8313 # AIX sometimes has problems with the GCC collect2 program. For some
8314 # reason, if we set the COLLECT_NAMES environment variable, the problems
8315 # vanish in a puff of smoke.
8316 if test "X${COLLECT_NAMES+set}" != Xset; then
8317 COLLECT_NAMES=
8318 export COLLECT_NAMES
8321 esac
8323 # Global variables:
8324 ofile=libtool
8325 can_build_shared=yes
8327 # All known linkers require a `.a' archive for static linking (except MSVC,
8328 # which needs '.lib').
8329 libext=a
8331 with_gnu_ld="$lt_cv_prog_gnu_ld"
8333 old_CC="$CC"
8334 old_CFLAGS="$CFLAGS"
8336 # Set sane defaults for various variables
8337 test -z "$CC" && CC=cc
8338 test -z "$LTCC" && LTCC=$CC
8339 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8340 test -z "$LD" && LD=ld
8341 test -z "$ac_objext" && ac_objext=o
8343 for cc_temp in $compiler""; do
8344 case $cc_temp in
8345 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8346 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8347 \-*) ;;
8348 *) break;;
8349 esac
8350 done
8351 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8354 # Only perform the check for file, if the check method requires it
8355 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8356 case $deplibs_check_method in
8357 file_magic*)
8358 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8360 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8361 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 case $MAGIC_CMD in
8365 [\\/*] | ?:[\\/]*)
8366 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8369 lt_save_MAGIC_CMD="$MAGIC_CMD"
8370 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8371 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8372 for ac_dir in $ac_dummy; do
8373 IFS="$lt_save_ifs"
8374 test -z "$ac_dir" && ac_dir=.
8375 if test -f $ac_dir/${ac_tool_prefix}file; then
8376 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8377 if test -n "$file_magic_test_file"; then
8378 case $deplibs_check_method in
8379 "file_magic "*)
8380 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8382 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8383 $EGREP "$file_magic_regex" > /dev/null; then
8385 else
8386 cat <<_LT_EOF 1>&2
8388 *** Warning: the command libtool uses to detect shared libraries,
8389 *** $file_magic_cmd, produces output that libtool cannot recognize.
8390 *** The result is that libtool may fail to recognize shared libraries
8391 *** as such. This will affect the creation of libtool libraries that
8392 *** depend on shared libraries, but programs linked with such libtool
8393 *** libraries will work regardless of this problem. Nevertheless, you
8394 *** may want to report the problem to your system manager and/or to
8395 *** bug-libtool@gnu.org
8397 _LT_EOF
8398 fi ;;
8399 esac
8401 break
8403 done
8404 IFS="$lt_save_ifs"
8405 MAGIC_CMD="$lt_save_MAGIC_CMD"
8407 esac
8410 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8411 if test -n "$MAGIC_CMD"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8413 $as_echo "$MAGIC_CMD" >&6; }
8414 else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8423 if test -z "$lt_cv_path_MAGIC_CMD"; then
8424 if test -n "$ac_tool_prefix"; then
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8426 $as_echo_n "checking for file... " >&6; }
8427 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 case $MAGIC_CMD in
8431 [\\/*] | ?:[\\/]*)
8432 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8435 lt_save_MAGIC_CMD="$MAGIC_CMD"
8436 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8437 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8438 for ac_dir in $ac_dummy; do
8439 IFS="$lt_save_ifs"
8440 test -z "$ac_dir" && ac_dir=.
8441 if test -f $ac_dir/file; then
8442 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8443 if test -n "$file_magic_test_file"; then
8444 case $deplibs_check_method in
8445 "file_magic "*)
8446 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8447 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8448 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8449 $EGREP "$file_magic_regex" > /dev/null; then
8451 else
8452 cat <<_LT_EOF 1>&2
8454 *** Warning: the command libtool uses to detect shared libraries,
8455 *** $file_magic_cmd, produces output that libtool cannot recognize.
8456 *** The result is that libtool may fail to recognize shared libraries
8457 *** as such. This will affect the creation of libtool libraries that
8458 *** depend on shared libraries, but programs linked with such libtool
8459 *** libraries will work regardless of this problem. Nevertheless, you
8460 *** may want to report the problem to your system manager and/or to
8461 *** bug-libtool@gnu.org
8463 _LT_EOF
8464 fi ;;
8465 esac
8467 break
8469 done
8470 IFS="$lt_save_ifs"
8471 MAGIC_CMD="$lt_save_MAGIC_CMD"
8473 esac
8476 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8477 if test -n "$MAGIC_CMD"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8479 $as_echo "$MAGIC_CMD" >&6; }
8480 else
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8486 else
8487 MAGIC_CMD=:
8493 esac
8495 # Use C for the default configuration in the libtool script
8497 lt_save_CC="$CC"
8498 ac_ext=c
8499 ac_cpp='$CPP $CPPFLAGS'
8500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8505 # Source file extension for C test sources.
8506 ac_ext=c
8508 # Object file extension for compiled C test sources.
8509 objext=o
8510 objext=$objext
8512 # Code to be used in simple compile tests
8513 lt_simple_compile_test_code="int some_variable = 0;"
8515 # Code to be used in simple link tests
8516 lt_simple_link_test_code='int main(){return(0);}'
8524 # If no C compiler was specified, use CC.
8525 LTCC=${LTCC-"$CC"}
8527 # If no C compiler flags were specified, use CFLAGS.
8528 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8530 # Allow CC to be a program name with arguments.
8531 compiler=$CC
8533 # Save the default compiler, since it gets overwritten when the other
8534 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8535 compiler_DEFAULT=$CC
8537 # save warnings/boilerplate of simple test code
8538 ac_outfile=conftest.$ac_objext
8539 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8540 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8541 _lt_compiler_boilerplate=`cat conftest.err`
8542 $RM conftest*
8544 ac_outfile=conftest.$ac_objext
8545 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8546 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8547 _lt_linker_boilerplate=`cat conftest.err`
8548 $RM -r conftest*
8551 ## CAVEAT EMPTOR:
8552 ## There is no encapsulation within the following macros, do not change
8553 ## the running order or otherwise move them around unless you know exactly
8554 ## what you are doing...
8555 if test -n "$compiler"; then
8557 lt_prog_compiler_no_builtin_flag=
8559 if test "$GCC" = yes; then
8560 case $cc_basename in
8561 nvcc*)
8562 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8564 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8565 esac
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8568 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8569 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 lt_cv_prog_compiler_rtti_exceptions=no
8573 ac_outfile=conftest.$ac_objext
8574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8575 lt_compiler_flag="-fno-rtti -fno-exceptions"
8576 # Insert the option either (1) after the last *FLAGS variable, or
8577 # (2) before a word containing "conftest.", or (3) at the end.
8578 # Note that $ac_compile itself does not contain backslashes and begins
8579 # with a dollar sign (not a hyphen), so the echo should work correctly.
8580 # The option is referenced via a variable to avoid confusing sed.
8581 lt_compile=`echo "$ac_compile" | $SED \
8582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584 -e 's:$: $lt_compiler_flag:'`
8585 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8586 (eval "$lt_compile" 2>conftest.err)
8587 ac_status=$?
8588 cat conftest.err >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 if (exit $ac_status) && test -s "$ac_outfile"; then
8591 # The compiler can only warn and ignore the option if not recognized
8592 # So say no if there are warnings other than the usual output.
8593 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8595 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8596 lt_cv_prog_compiler_rtti_exceptions=yes
8599 $RM conftest*
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8603 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8605 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8606 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8607 else
8618 lt_prog_compiler_wl=
8619 lt_prog_compiler_pic=
8620 lt_prog_compiler_static=
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8623 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8625 if test "$GCC" = yes; then
8626 lt_prog_compiler_wl='-Wl,'
8627 lt_prog_compiler_static='-static'
8629 case $host_os in
8630 aix*)
8631 # All AIX code is PIC.
8632 if test "$host_cpu" = ia64; then
8633 # AIX 5 now supports IA64 processor
8634 lt_prog_compiler_static='-Bstatic'
8636 lt_prog_compiler_pic='-fPIC'
8639 amigaos*)
8640 case $host_cpu in
8641 powerpc)
8642 # see comment about AmigaOS4 .so support
8643 lt_prog_compiler_pic='-fPIC'
8645 m68k)
8646 # FIXME: we need at least 68020 code to build shared libraries, but
8647 # adding the `-m68020' flag to GCC prevents building anything better,
8648 # like `-m68040'.
8649 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8651 esac
8654 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8655 # PIC is the default for these OSes.
8658 mingw* | cygwin* | pw32* | os2* | cegcc*)
8659 # This hack is so that the source file can tell whether it is being
8660 # built for inclusion in a dll (and should export symbols for example).
8661 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8662 # (--disable-auto-import) libraries
8663 lt_prog_compiler_pic='-DDLL_EXPORT'
8666 darwin* | rhapsody*)
8667 # PIC is the default on this platform
8668 # Common symbols not allowed in MH_DYLIB files
8669 lt_prog_compiler_pic='-fno-common'
8672 haiku*)
8673 # PIC is the default for Haiku.
8674 # The "-static" flag exists, but is broken.
8675 lt_prog_compiler_static=
8678 hpux*)
8679 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8680 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8681 # sets the default TLS model and affects inlining.
8682 case $host_cpu in
8683 hppa*64*)
8684 # +Z the default
8687 lt_prog_compiler_pic='-fPIC'
8689 esac
8692 interix[3-9]*)
8693 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8694 # Instead, we relocate shared libraries at runtime.
8697 msdosdjgpp*)
8698 # Just because we use GCC doesn't mean we suddenly get shared libraries
8699 # on systems that don't support them.
8700 lt_prog_compiler_can_build_shared=no
8701 enable_shared=no
8704 *nto* | *qnx*)
8705 # QNX uses GNU C++, but need to define -shared option too, otherwise
8706 # it will coredump.
8707 lt_prog_compiler_pic='-fPIC -shared'
8710 sysv4*MP*)
8711 if test -d /usr/nec; then
8712 lt_prog_compiler_pic=-Kconform_pic
8717 lt_prog_compiler_pic='-fPIC'
8719 esac
8721 case $cc_basename in
8722 nvcc*) # Cuda Compiler Driver 2.2
8723 lt_prog_compiler_wl='-Xlinker '
8724 lt_prog_compiler_pic='-Xcompiler -fPIC'
8726 esac
8727 else
8728 # PORTME Check for flag to pass linker flags through the system compiler.
8729 case $host_os in
8730 aix*)
8731 lt_prog_compiler_wl='-Wl,'
8732 if test "$host_cpu" = ia64; then
8733 # AIX 5 now supports IA64 processor
8734 lt_prog_compiler_static='-Bstatic'
8735 else
8736 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8740 mingw* | cygwin* | pw32* | os2* | cegcc*)
8741 # This hack is so that the source file can tell whether it is being
8742 # built for inclusion in a dll (and should export symbols for example).
8743 lt_prog_compiler_pic='-DDLL_EXPORT'
8746 hpux9* | hpux10* | hpux11*)
8747 lt_prog_compiler_wl='-Wl,'
8748 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8749 # not for PA HP-UX.
8750 case $host_cpu in
8751 hppa*64*|ia64*)
8752 # +Z the default
8755 lt_prog_compiler_pic='+Z'
8757 esac
8758 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8759 lt_prog_compiler_static='${wl}-a ${wl}archive'
8762 irix5* | irix6* | nonstopux*)
8763 lt_prog_compiler_wl='-Wl,'
8764 # PIC (with -KPIC) is the default.
8765 lt_prog_compiler_static='-non_shared'
8768 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8769 case $cc_basename in
8770 # old Intel for x86_64 which still supported -KPIC.
8771 ecc*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='-KPIC'
8774 lt_prog_compiler_static='-static'
8776 # icc used to be incompatible with GCC.
8777 # ICC 10 doesn't accept -KPIC any more.
8778 icc* | ifort*)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fPIC'
8781 lt_prog_compiler_static='-static'
8783 # Lahey Fortran 8.1.
8784 lf95*)
8785 lt_prog_compiler_wl='-Wl,'
8786 lt_prog_compiler_pic='--shared'
8787 lt_prog_compiler_static='--static'
8789 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8790 # Portland Group compilers (*not* the Pentium gcc compiler,
8791 # which looks to be a dead project)
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-fpic'
8794 lt_prog_compiler_static='-Bstatic'
8796 ccc*)
8797 lt_prog_compiler_wl='-Wl,'
8798 # All Alpha code is PIC.
8799 lt_prog_compiler_static='-non_shared'
8801 xl* | bgxl* | bgf* | mpixl*)
8802 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_pic='-qpic'
8805 lt_prog_compiler_static='-qstaticlink'
8808 case `$CC -V 2>&1 | sed 5q` in
8809 *Sun\ F* | *Sun*Fortran*)
8810 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8811 lt_prog_compiler_pic='-KPIC'
8812 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_wl=''
8815 *Sun\ C*)
8816 # Sun C 5.9
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-Bstatic'
8819 lt_prog_compiler_wl='-Wl,'
8821 esac
8823 esac
8826 newsos6)
8827 lt_prog_compiler_pic='-KPIC'
8828 lt_prog_compiler_static='-Bstatic'
8831 *nto* | *qnx*)
8832 # QNX uses GNU C++, but need to define -shared option too, otherwise
8833 # it will coredump.
8834 lt_prog_compiler_pic='-fPIC -shared'
8837 osf3* | osf4* | osf5*)
8838 lt_prog_compiler_wl='-Wl,'
8839 # All OSF/1 code is PIC.
8840 lt_prog_compiler_static='-non_shared'
8843 rdos*)
8844 lt_prog_compiler_static='-non_shared'
8847 solaris*)
8848 lt_prog_compiler_pic='-KPIC'
8849 lt_prog_compiler_static='-Bstatic'
8850 case $cc_basename in
8851 f77* | f90* | f95*)
8852 lt_prog_compiler_wl='-Qoption ld ';;
8854 lt_prog_compiler_wl='-Wl,';;
8855 esac
8858 sunos4*)
8859 lt_prog_compiler_wl='-Qoption ld '
8860 lt_prog_compiler_pic='-PIC'
8861 lt_prog_compiler_static='-Bstatic'
8864 sysv4 | sysv4.2uw2* | sysv4.3*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8870 sysv4*MP*)
8871 if test -d /usr/nec ;then
8872 lt_prog_compiler_pic='-Kconform_pic'
8873 lt_prog_compiler_static='-Bstatic'
8877 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8878 lt_prog_compiler_wl='-Wl,'
8879 lt_prog_compiler_pic='-KPIC'
8880 lt_prog_compiler_static='-Bstatic'
8883 unicos*)
8884 lt_prog_compiler_wl='-Wl,'
8885 lt_prog_compiler_can_build_shared=no
8888 uts4*)
8889 lt_prog_compiler_pic='-pic'
8890 lt_prog_compiler_static='-Bstatic'
8894 lt_prog_compiler_can_build_shared=no
8896 esac
8899 case $host_os in
8900 # For platforms which do not support PIC, -DPIC is meaningless:
8901 *djgpp*)
8902 lt_prog_compiler_pic=
8905 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8907 esac
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8909 $as_echo "$lt_prog_compiler_pic" >&6; }
8917 # Check to make sure the PIC flag actually works.
8919 if test -n "$lt_prog_compiler_pic"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8921 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8922 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 lt_cv_prog_compiler_pic_works=no
8926 ac_outfile=conftest.$ac_objext
8927 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8929 # Insert the option either (1) after the last *FLAGS variable, or
8930 # (2) before a word containing "conftest.", or (3) at the end.
8931 # Note that $ac_compile itself does not contain backslashes and begins
8932 # with a dollar sign (not a hyphen), so the echo should work correctly.
8933 # The option is referenced via a variable to avoid confusing sed.
8934 lt_compile=`echo "$ac_compile" | $SED \
8935 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8937 -e 's:$: $lt_compiler_flag:'`
8938 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8939 (eval "$lt_compile" 2>conftest.err)
8940 ac_status=$?
8941 cat conftest.err >&5
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 if (exit $ac_status) && test -s "$ac_outfile"; then
8944 # The compiler can only warn and ignore the option if not recognized
8945 # So say no if there are warnings other than the usual output.
8946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8947 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8948 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8949 lt_cv_prog_compiler_pic_works=yes
8952 $RM conftest*
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8956 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8958 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8959 case $lt_prog_compiler_pic in
8960 "" | " "*) ;;
8961 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8962 esac
8963 else
8964 lt_prog_compiler_pic=
8965 lt_prog_compiler_can_build_shared=no
8976 # Check to make sure the static flag actually works.
8978 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8980 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8981 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8982 $as_echo_n "(cached) " >&6
8983 else
8984 lt_cv_prog_compiler_static_works=no
8985 save_LDFLAGS="$LDFLAGS"
8986 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8987 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8988 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8989 # The linker can only warn and ignore the option if not recognized
8990 # So say no if there are warnings
8991 if test -s conftest.err; then
8992 # Append any errors to the config.log.
8993 cat conftest.err 1>&5
8994 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8995 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8996 if diff conftest.exp conftest.er2 >/dev/null; then
8997 lt_cv_prog_compiler_static_works=yes
8999 else
9000 lt_cv_prog_compiler_static_works=yes
9003 $RM -r conftest*
9004 LDFLAGS="$save_LDFLAGS"
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9008 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9010 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9012 else
9013 lt_prog_compiler_static=
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9023 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9024 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9025 $as_echo_n "(cached) " >&6
9026 else
9027 lt_cv_prog_compiler_c_o=no
9028 $RM -r conftest 2>/dev/null
9029 mkdir conftest
9030 cd conftest
9031 mkdir out
9032 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9034 lt_compiler_flag="-o out/conftest2.$ac_objext"
9035 # Insert the option either (1) after the last *FLAGS variable, or
9036 # (2) before a word containing "conftest.", or (3) at the end.
9037 # Note that $ac_compile itself does not contain backslashes and begins
9038 # with a dollar sign (not a hyphen), so the echo should work correctly.
9039 lt_compile=`echo "$ac_compile" | $SED \
9040 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9042 -e 's:$: $lt_compiler_flag:'`
9043 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9044 (eval "$lt_compile" 2>out/conftest.err)
9045 ac_status=$?
9046 cat out/conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9049 then
9050 # The compiler can only warn and ignore the option if not recognized
9051 # So say no if there are warnings
9052 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9053 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9054 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9055 lt_cv_prog_compiler_c_o=yes
9058 chmod u+w . 2>&5
9059 $RM conftest*
9060 # SGI C++ compiler will create directory out/ii_files/ for
9061 # template instantiation
9062 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9063 $RM out/* && rmdir out
9064 cd ..
9065 $RM -r conftest
9066 $RM conftest*
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9070 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9078 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9079 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 lt_cv_prog_compiler_c_o=no
9083 $RM -r conftest 2>/dev/null
9084 mkdir conftest
9085 cd conftest
9086 mkdir out
9087 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9089 lt_compiler_flag="-o out/conftest2.$ac_objext"
9090 # Insert the option either (1) after the last *FLAGS variable, or
9091 # (2) before a word containing "conftest.", or (3) at the end.
9092 # Note that $ac_compile itself does not contain backslashes and begins
9093 # with a dollar sign (not a hyphen), so the echo should work correctly.
9094 lt_compile=`echo "$ac_compile" | $SED \
9095 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9096 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9097 -e 's:$: $lt_compiler_flag:'`
9098 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9099 (eval "$lt_compile" 2>out/conftest.err)
9100 ac_status=$?
9101 cat out/conftest.err >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9104 then
9105 # The compiler can only warn and ignore the option if not recognized
9106 # So say no if there are warnings
9107 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9108 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9109 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9110 lt_cv_prog_compiler_c_o=yes
9113 chmod u+w . 2>&5
9114 $RM conftest*
9115 # SGI C++ compiler will create directory out/ii_files/ for
9116 # template instantiation
9117 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9118 $RM out/* && rmdir out
9119 cd ..
9120 $RM -r conftest
9121 $RM conftest*
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9125 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9130 hard_links="nottested"
9131 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9132 # do not overwrite the value of need_locks provided by the user
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9134 $as_echo_n "checking if we can lock with hard links... " >&6; }
9135 hard_links=yes
9136 $RM conftest*
9137 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9138 touch conftest.a
9139 ln conftest.a conftest.b 2>&5 || hard_links=no
9140 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9142 $as_echo "$hard_links" >&6; }
9143 if test "$hard_links" = no; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9145 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9146 need_locks=warn
9148 else
9149 need_locks=no
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9158 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9160 runpath_var=
9161 allow_undefined_flag=
9162 always_export_symbols=no
9163 archive_cmds=
9164 archive_expsym_cmds=
9165 compiler_needs_object=no
9166 enable_shared_with_static_runtimes=no
9167 export_dynamic_flag_spec=
9168 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9169 hardcode_automatic=no
9170 hardcode_direct=no
9171 hardcode_direct_absolute=no
9172 hardcode_libdir_flag_spec=
9173 hardcode_libdir_flag_spec_ld=
9174 hardcode_libdir_separator=
9175 hardcode_minus_L=no
9176 hardcode_shlibpath_var=unsupported
9177 inherit_rpath=no
9178 link_all_deplibs=unknown
9179 module_cmds=
9180 module_expsym_cmds=
9181 old_archive_from_new_cmds=
9182 old_archive_from_expsyms_cmds=
9183 thread_safe_flag_spec=
9184 whole_archive_flag_spec=
9185 # include_expsyms should be a list of space-separated symbols to be *always*
9186 # included in the symbol list
9187 include_expsyms=
9188 # exclude_expsyms can be an extended regexp of symbols to exclude
9189 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9190 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9191 # as well as any symbol that contains `d'.
9192 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9193 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9194 # platforms (ab)use it in PIC code, but their linkers get confused if
9195 # the symbol is explicitly referenced. Since portable code cannot
9196 # rely on this symbol name, it's probably fine to never include it in
9197 # preloaded symbol tables.
9198 # Exclude shared library initialization/finalization symbols.
9199 extract_expsyms_cmds=
9201 case $host_os in
9202 cygwin* | mingw* | pw32* | cegcc*)
9203 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9204 # When not using gcc, we currently assume that we are using
9205 # Microsoft Visual C++.
9206 if test "$GCC" != yes; then
9207 with_gnu_ld=no
9210 interix*)
9211 # we just hope/assume this is gcc and not c89 (= MSVC++)
9212 with_gnu_ld=yes
9214 openbsd*)
9215 with_gnu_ld=no
9217 esac
9219 ld_shlibs=yes
9221 # On some targets, GNU ld is compatible enough with the native linker
9222 # that we're better off using the native interface for both.
9223 lt_use_gnu_ld_interface=no
9224 if test "$with_gnu_ld" = yes; then
9225 case $host_os in
9226 aix*)
9227 # The AIX port of GNU ld has always aspired to compatibility
9228 # with the native linker. However, as the warning in the GNU ld
9229 # block says, versions before 2.19.5* couldn't really create working
9230 # shared libraries, regardless of the interface used.
9231 case `$LD -v 2>&1` in
9232 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9233 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9234 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9236 lt_use_gnu_ld_interface=yes
9238 esac
9241 lt_use_gnu_ld_interface=yes
9243 esac
9246 if test "$lt_use_gnu_ld_interface" = yes; then
9247 # If archive_cmds runs LD, not CC, wlarc should be empty
9248 wlarc='${wl}'
9250 # Set some defaults for GNU ld with shared library support. These
9251 # are reset later if shared libraries are not supported. Putting them
9252 # here allows them to be overridden if necessary.
9253 runpath_var=LD_RUN_PATH
9254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9255 export_dynamic_flag_spec='${wl}--export-dynamic'
9256 # ancient GNU ld didn't support --whole-archive et. al.
9257 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9258 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9259 else
9260 whole_archive_flag_spec=
9262 supports_anon_versioning=no
9263 case `$LD -v 2>&1` in
9264 *GNU\ gold*) supports_anon_versioning=yes ;;
9265 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9266 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9267 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9268 *\ 2.11.*) ;; # other 2.11 versions
9269 *) supports_anon_versioning=yes ;;
9270 esac
9272 # See if GNU ld supports shared libraries.
9273 case $host_os in
9274 aix[3-9]*)
9275 # On AIX/PPC, the GNU linker is very broken
9276 if test "$host_cpu" != ia64; then
9277 ld_shlibs=no
9278 cat <<_LT_EOF 1>&2
9280 *** Warning: the GNU linker, at least up to release 2.19, is reported
9281 *** to be unable to reliably create shared libraries on AIX.
9282 *** Therefore, libtool is disabling shared libraries support. If you
9283 *** really care for shared libraries, you may want to install binutils
9284 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9285 *** You will then need to restart the configuration process.
9287 _LT_EOF
9291 amigaos*)
9292 case $host_cpu in
9293 powerpc)
9294 # see comment about AmigaOS4 .so support
9295 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 archive_expsym_cmds=''
9298 m68k)
9299 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)'
9300 hardcode_libdir_flag_spec='-L$libdir'
9301 hardcode_minus_L=yes
9303 esac
9306 beos*)
9307 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9308 allow_undefined_flag=unsupported
9309 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9310 # support --undefined. This deserves some investigation. FIXME
9311 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9312 else
9313 ld_shlibs=no
9317 cygwin* | mingw* | pw32* | cegcc*)
9318 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9319 # as there is no search path for DLLs.
9320 hardcode_libdir_flag_spec='-L$libdir'
9321 export_dynamic_flag_spec='${wl}--export-all-symbols'
9322 allow_undefined_flag=unsupported
9323 always_export_symbols=no
9324 enable_shared_with_static_runtimes=yes
9325 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9327 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9329 # If the export-symbols file already is a .def file (1st line
9330 # is EXPORTS), use it as is; otherwise, prepend...
9331 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9332 cp $export_symbols $output_objdir/$soname.def;
9333 else
9334 echo EXPORTS > $output_objdir/$soname.def;
9335 cat $export_symbols >> $output_objdir/$soname.def;
9337 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9338 else
9339 ld_shlibs=no
9343 haiku*)
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345 link_all_deplibs=yes
9348 interix[3-9]*)
9349 hardcode_direct=no
9350 hardcode_shlibpath_var=no
9351 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9352 export_dynamic_flag_spec='${wl}-E'
9353 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9354 # Instead, shared libraries are loaded at an image base (0x10000000 by
9355 # default) and relocated if they conflict, which is a slow very memory
9356 # consuming and fragmenting process. To avoid this, we pick a random,
9357 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9358 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9359 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9360 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'
9363 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9364 tmp_diet=no
9365 if test "$host_os" = linux-dietlibc; then
9366 case $cc_basename in
9367 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9368 esac
9370 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9371 && test "$tmp_diet" = no
9372 then
9373 tmp_addflag=' $pic_flag'
9374 tmp_sharedflag='-shared'
9375 case $cc_basename,$host_cpu in
9376 pgcc*) # Portland Group C compiler
9377 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'
9378 tmp_addflag=' $pic_flag'
9380 pgf77* | pgf90* | pgf95* | pgfortran*)
9381 # Portland Group f77 and f90 compilers
9382 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'
9383 tmp_addflag=' $pic_flag -Mnomain' ;;
9384 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9385 tmp_addflag=' -i_dynamic' ;;
9386 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9387 tmp_addflag=' -i_dynamic -nofor_main' ;;
9388 ifc* | ifort*) # Intel Fortran compiler
9389 tmp_addflag=' -nofor_main' ;;
9390 lf95*) # Lahey Fortran 8.1
9391 whole_archive_flag_spec=
9392 tmp_sharedflag='--shared' ;;
9393 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9394 tmp_sharedflag='-qmkshrobj'
9395 tmp_addflag= ;;
9396 nvcc*) # Cuda Compiler Driver 2.2
9397 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'
9398 compiler_needs_object=yes
9400 esac
9401 case `$CC -V 2>&1 | sed 5q` in
9402 *Sun\ C*) # Sun C 5.9
9403 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'
9404 compiler_needs_object=yes
9405 tmp_sharedflag='-G' ;;
9406 *Sun\ F*) # Sun Fortran 8.3
9407 tmp_sharedflag='-G' ;;
9408 esac
9409 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 if test "x$supports_anon_versioning" = xyes; then
9412 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9413 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9414 echo "local: *; };" >> $output_objdir/$libname.ver~
9415 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9418 case $cc_basename in
9419 xlf* | bgf* | bgxlf* | mpixlf*)
9420 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9421 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9422 hardcode_libdir_flag_spec=
9423 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9424 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9425 if test "x$supports_anon_versioning" = xyes; then
9426 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9427 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9428 echo "local: *; };" >> $output_objdir/$libname.ver~
9429 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9432 esac
9433 else
9434 ld_shlibs=no
9438 netbsd*)
9439 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9440 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9441 wlarc=
9442 else
9443 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9444 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9448 solaris*)
9449 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9450 ld_shlibs=no
9451 cat <<_LT_EOF 1>&2
9453 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9454 *** create shared libraries on Solaris systems. Therefore, libtool
9455 *** is disabling shared libraries support. We urge you to upgrade GNU
9456 *** binutils to release 2.9.1 or newer. Another option is to modify
9457 *** your PATH or compiler configuration so that the native linker is
9458 *** used, and then restart.
9460 _LT_EOF
9461 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9462 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9463 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9464 else
9465 ld_shlibs=no
9469 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9470 case `$LD -v 2>&1` in
9471 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9472 ld_shlibs=no
9473 cat <<_LT_EOF 1>&2
9475 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9476 *** reliably create shared libraries on SCO systems. Therefore, libtool
9477 *** is disabling shared libraries support. We urge you to upgrade GNU
9478 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9479 *** your PATH or compiler configuration so that the native linker is
9480 *** used, and then restart.
9482 _LT_EOF
9485 # For security reasons, it is highly recommended that you always
9486 # use absolute paths for naming shared libraries, and exclude the
9487 # DT_RUNPATH tag from executables and libraries. But doing so
9488 # requires that you compile everything twice, which is a pain.
9489 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9490 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9493 else
9494 ld_shlibs=no
9497 esac
9500 sunos4*)
9501 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9502 wlarc=
9503 hardcode_direct=yes
9504 hardcode_shlibpath_var=no
9508 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9509 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9510 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9511 else
9512 ld_shlibs=no
9515 esac
9517 if test "$ld_shlibs" = no; then
9518 runpath_var=
9519 hardcode_libdir_flag_spec=
9520 export_dynamic_flag_spec=
9521 whole_archive_flag_spec=
9523 else
9524 # PORTME fill in a description of your system's linker (not GNU ld)
9525 case $host_os in
9526 aix3*)
9527 allow_undefined_flag=unsupported
9528 always_export_symbols=yes
9529 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'
9530 # Note: this linker hardcodes the directories in LIBPATH if there
9531 # are no directories specified by -L.
9532 hardcode_minus_L=yes
9533 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9534 # Neither direct hardcoding nor static linking is supported with a
9535 # broken collect2.
9536 hardcode_direct=unsupported
9540 aix[4-9]*)
9541 if test "$host_cpu" = ia64; then
9542 # On IA64, the linker does run time linking by default, so we don't
9543 # have to do anything special.
9544 aix_use_runtimelinking=no
9545 exp_sym_flag='-Bexport'
9546 no_entry_flag=""
9547 else
9548 # If we're using GNU nm, then we don't want the "-C" option.
9549 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9550 # Also, AIX nm treats weak defined symbols like other global
9551 # defined symbols, whereas GNU nm marks them as "W".
9552 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9553 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'
9554 else
9555 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9557 aix_use_runtimelinking=no
9559 # Test if we are trying to use run time linking or normal
9560 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9561 # need to do runtime linking.
9562 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9563 for ld_flag in $LDFLAGS; do
9564 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9565 aix_use_runtimelinking=yes
9566 break
9568 done
9570 esac
9572 exp_sym_flag='-bexport'
9573 no_entry_flag='-bnoentry'
9576 # When large executables or shared objects are built, AIX ld can
9577 # have problems creating the table of contents. If linking a library
9578 # or program results in "error TOC overflow" add -mminimal-toc to
9579 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9580 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9582 archive_cmds=''
9583 hardcode_direct=yes
9584 hardcode_direct_absolute=yes
9585 hardcode_libdir_separator=':'
9586 link_all_deplibs=yes
9587 file_list_spec='${wl}-f,'
9589 if test "$GCC" = yes; then
9590 case $host_os in aix4.[012]|aix4.[012].*)
9591 # We only want to do this on AIX 4.2 and lower, the check
9592 # below for broken collect2 doesn't work under 4.3+
9593 collect2name=`${CC} -print-prog-name=collect2`
9594 if test -f "$collect2name" &&
9595 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9596 then
9597 # We have reworked collect2
9599 else
9600 # We have old collect2
9601 hardcode_direct=unsupported
9602 # It fails to find uninstalled libraries when the uninstalled
9603 # path is not listed in the libpath. Setting hardcode_minus_L
9604 # to unsupported forces relinking
9605 hardcode_minus_L=yes
9606 hardcode_libdir_flag_spec='-L$libdir'
9607 hardcode_libdir_separator=
9610 esac
9611 shared_flag='-shared'
9612 if test "$aix_use_runtimelinking" = yes; then
9613 shared_flag="$shared_flag "'${wl}-G'
9615 else
9616 # not using gcc
9617 if test "$host_cpu" = ia64; then
9618 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9619 # chokes on -Wl,-G. The following line is correct:
9620 shared_flag='-G'
9621 else
9622 if test "$aix_use_runtimelinking" = yes; then
9623 shared_flag='${wl}-G'
9624 else
9625 shared_flag='${wl}-bM:SRE'
9630 export_dynamic_flag_spec='${wl}-bexpall'
9631 # It seems that -bexpall does not export symbols beginning with
9632 # underscore (_), so it is better to generate a list of symbols to export.
9633 always_export_symbols=yes
9634 if test "$aix_use_runtimelinking" = yes; then
9635 # Warning - without using the other runtime loading flags (-brtl),
9636 # -berok will link without error, but may produce a broken library.
9637 allow_undefined_flag='-berok'
9638 # Determine the default libpath from the value encoded in an
9639 # empty executable.
9640 if test x$gcc_no_link = xyes; then
9641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9644 /* end confdefs.h. */
9647 main ()
9651 return 0;
9653 _ACEOF
9654 if ac_fn_c_try_link "$LINENO"; then :
9656 lt_aix_libpath_sed='
9657 /Import File Strings/,/^$/ {
9658 /^0/ {
9659 s/^0 *\(.*\)$/\1/
9663 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9664 # Check for a 64-bit object if we didn't find anything.
9665 if test -z "$aix_libpath"; then
9666 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9669 rm -f core conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9671 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9673 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9674 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"
9675 else
9676 if test "$host_cpu" = ia64; then
9677 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9678 allow_undefined_flag="-z nodefs"
9679 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"
9680 else
9681 # Determine the default libpath from the value encoded in an
9682 # empty executable.
9683 if test x$gcc_no_link = xyes; then
9684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9690 main ()
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9699 lt_aix_libpath_sed='
9700 /Import File Strings/,/^$/ {
9701 /^0/ {
9702 s/^0 *\(.*\)$/\1/
9706 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707 # Check for a 64-bit object if we didn't find anything.
9708 if test -z "$aix_libpath"; then
9709 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9712 rm -f core conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9716 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9717 # Warning - without using the other run time loading flags,
9718 # -berok will link without error, but may produce a broken library.
9719 no_undefined_flag=' ${wl}-bernotok'
9720 allow_undefined_flag=' ${wl}-berok'
9721 if test "$with_gnu_ld" = yes; then
9722 # We only use this code for GNU lds that support --whole-archive.
9723 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9724 else
9725 # Exported symbols can be pulled into shared objects from archives
9726 whole_archive_flag_spec='$convenience'
9728 archive_cmds_need_lc=yes
9729 # This is similar to how AIX traditionally builds its shared libraries.
9730 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'
9735 amigaos*)
9736 case $host_cpu in
9737 powerpc)
9738 # see comment about AmigaOS4 .so support
9739 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9740 archive_expsym_cmds=''
9742 m68k)
9743 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)'
9744 hardcode_libdir_flag_spec='-L$libdir'
9745 hardcode_minus_L=yes
9747 esac
9750 bsdi[45]*)
9751 export_dynamic_flag_spec=-rdynamic
9754 cygwin* | mingw* | pw32* | cegcc*)
9755 # When not using gcc, we currently assume that we are using
9756 # Microsoft Visual C++.
9757 # hardcode_libdir_flag_spec is actually meaningless, as there is
9758 # no search path for DLLs.
9759 hardcode_libdir_flag_spec=' '
9760 allow_undefined_flag=unsupported
9761 # Tell ltmain to make .lib files, not .a files.
9762 libext=lib
9763 # Tell ltmain to make .dll files, not .so files.
9764 shrext_cmds=".dll"
9765 # FIXME: Setting linknames here is a bad hack.
9766 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9767 # The linker will automatically build a .lib file if we build a DLL.
9768 old_archive_from_new_cmds='true'
9769 # FIXME: Should let the user specify the lib program.
9770 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9771 fix_srcfile_path='`cygpath -w "$srcfile"`'
9772 enable_shared_with_static_runtimes=yes
9775 darwin* | rhapsody*)
9778 archive_cmds_need_lc=no
9779 hardcode_direct=no
9780 hardcode_automatic=yes
9781 hardcode_shlibpath_var=unsupported
9782 if test "$lt_cv_ld_force_load" = "yes"; then
9783 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\"`'
9784 else
9785 whole_archive_flag_spec=''
9787 link_all_deplibs=yes
9788 allow_undefined_flag="$_lt_dar_allow_undefined"
9789 case $cc_basename in
9790 ifort*) _lt_dar_can_shared=yes ;;
9791 *) _lt_dar_can_shared=$GCC ;;
9792 esac
9793 if test "$_lt_dar_can_shared" = "yes"; then
9794 output_verbose_link_cmd=func_echo_all
9795 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9796 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9797 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}"
9798 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}"
9800 else
9801 ld_shlibs=no
9806 dgux*)
9807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808 hardcode_libdir_flag_spec='-L$libdir'
9809 hardcode_shlibpath_var=no
9812 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9813 # support. Future versions do this automatically, but an explicit c++rt0.o
9814 # does not break anything, and helps significantly (at the cost of a little
9815 # extra space).
9816 freebsd2.2*)
9817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9818 hardcode_libdir_flag_spec='-R$libdir'
9819 hardcode_direct=yes
9820 hardcode_shlibpath_var=no
9823 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9824 freebsd2.*)
9825 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9826 hardcode_direct=yes
9827 hardcode_minus_L=yes
9828 hardcode_shlibpath_var=no
9831 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9832 freebsd* | dragonfly*)
9833 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9834 hardcode_libdir_flag_spec='-R$libdir'
9835 hardcode_direct=yes
9836 hardcode_shlibpath_var=no
9839 hpux9*)
9840 if test "$GCC" = yes; then
9841 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'
9842 else
9843 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'
9845 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9846 hardcode_libdir_separator=:
9847 hardcode_direct=yes
9849 # hardcode_minus_L: Not really in the search PATH,
9850 # but as the default location of the library.
9851 hardcode_minus_L=yes
9852 export_dynamic_flag_spec='${wl}-E'
9855 hpux10*)
9856 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9857 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858 else
9859 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9861 if test "$with_gnu_ld" = no; then
9862 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9863 hardcode_libdir_flag_spec_ld='+b $libdir'
9864 hardcode_libdir_separator=:
9865 hardcode_direct=yes
9866 hardcode_direct_absolute=yes
9867 export_dynamic_flag_spec='${wl}-E'
9868 # hardcode_minus_L: Not really in the search PATH,
9869 # but as the default location of the library.
9870 hardcode_minus_L=yes
9874 hpux11*)
9875 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9876 case $host_cpu in
9877 hppa*64*)
9878 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 ia64*)
9881 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9886 esac
9887 else
9888 case $host_cpu in
9889 hppa*64*)
9890 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9892 ia64*)
9893 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9897 # Older versions of the 11.00 compiler do not understand -b yet
9898 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9900 $as_echo_n "checking if $CC understands -b... " >&6; }
9901 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 lt_cv_prog_compiler__b=no
9905 save_LDFLAGS="$LDFLAGS"
9906 LDFLAGS="$LDFLAGS -b"
9907 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9908 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9909 # The linker can only warn and ignore the option if not recognized
9910 # So say no if there are warnings
9911 if test -s conftest.err; then
9912 # Append any errors to the config.log.
9913 cat conftest.err 1>&5
9914 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9916 if diff conftest.exp conftest.er2 >/dev/null; then
9917 lt_cv_prog_compiler__b=yes
9919 else
9920 lt_cv_prog_compiler__b=yes
9923 $RM -r conftest*
9924 LDFLAGS="$save_LDFLAGS"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9928 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9930 if test x"$lt_cv_prog_compiler__b" = xyes; then
9931 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9932 else
9933 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9937 esac
9939 if test "$with_gnu_ld" = no; then
9940 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9941 hardcode_libdir_separator=:
9943 case $host_cpu in
9944 hppa*64*|ia64*)
9945 hardcode_direct=no
9946 hardcode_shlibpath_var=no
9949 hardcode_direct=yes
9950 hardcode_direct_absolute=yes
9951 export_dynamic_flag_spec='${wl}-E'
9953 # hardcode_minus_L: Not really in the search PATH,
9954 # but as the default location of the library.
9955 hardcode_minus_L=yes
9957 esac
9961 irix5* | irix6* | nonstopux*)
9962 if test "$GCC" = yes; then
9963 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'
9964 # Try to use the -exported_symbol ld option, if it does not
9965 # work, assume that -exports_file does not work either and
9966 # implicitly export all symbols.
9967 save_LDFLAGS="$LDFLAGS"
9968 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969 if test x$gcc_no_link = xyes; then
9970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int foo(void) {}
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 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'
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 LDFLAGS="$save_LDFLAGS"
9983 else
9984 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'
9985 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'
9987 archive_cmds_need_lc='no'
9988 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9989 hardcode_libdir_separator=:
9990 inherit_rpath=yes
9991 link_all_deplibs=yes
9994 netbsd*)
9995 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9996 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9997 else
9998 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10000 hardcode_libdir_flag_spec='-R$libdir'
10001 hardcode_direct=yes
10002 hardcode_shlibpath_var=no
10005 newsos6)
10006 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007 hardcode_direct=yes
10008 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10009 hardcode_libdir_separator=:
10010 hardcode_shlibpath_var=no
10013 *nto* | *qnx*)
10016 openbsd*)
10017 if test -f /usr/libexec/ld.so; then
10018 hardcode_direct=yes
10019 hardcode_shlibpath_var=no
10020 hardcode_direct_absolute=yes
10021 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10024 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 export_dynamic_flag_spec='${wl}-E'
10026 else
10027 case $host_os in
10028 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10029 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10030 hardcode_libdir_flag_spec='-R$libdir'
10033 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10034 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10036 esac
10038 else
10039 ld_shlibs=no
10043 os2*)
10044 hardcode_libdir_flag_spec='-L$libdir'
10045 hardcode_minus_L=yes
10046 allow_undefined_flag=unsupported
10047 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'
10048 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10051 osf3*)
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 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'
10055 else
10056 allow_undefined_flag=' -expect_unresolved \*'
10057 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'
10059 archive_cmds_need_lc='no'
10060 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10061 hardcode_libdir_separator=:
10064 osf4* | osf5*) # as osf3* with the addition of -msym flag
10065 if test "$GCC" = yes; then
10066 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10067 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'
10068 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10069 else
10070 allow_undefined_flag=' -expect_unresolved \*'
10071 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'
10072 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~
10073 $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'
10075 # Both c and cxx compiler support -rpath directly
10076 hardcode_libdir_flag_spec='-rpath $libdir'
10078 archive_cmds_need_lc='no'
10079 hardcode_libdir_separator=:
10082 solaris*)
10083 no_undefined_flag=' -z defs'
10084 if test "$GCC" = yes; then
10085 wlarc='${wl}'
10086 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089 else
10090 case `$CC -V 2>&1` in
10091 *"Compilers 5.0"*)
10092 wlarc=''
10093 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10095 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10098 wlarc='${wl}'
10099 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10101 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10103 esac
10105 hardcode_libdir_flag_spec='-R$libdir'
10106 hardcode_shlibpath_var=no
10107 case $host_os in
10108 solaris2.[0-5] | solaris2.[0-5].*) ;;
10110 # The compiler driver will combine and reorder linker options,
10111 # but understands `-z linker_flag'. GCC discards it without `$wl',
10112 # but is careful enough not to reorder.
10113 # Supported since Solaris 2.6 (maybe 2.5.1?)
10114 if test "$GCC" = yes; then
10115 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10116 else
10117 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10120 esac
10121 link_all_deplibs=yes
10124 sunos4*)
10125 if test "x$host_vendor" = xsequent; then
10126 # Use $CC to link under sequent, because it throws in some extra .o
10127 # files that make .init and .fini sections work.
10128 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10129 else
10130 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_libdir_flag_spec='-L$libdir'
10133 hardcode_direct=yes
10134 hardcode_minus_L=yes
10135 hardcode_shlibpath_var=no
10138 sysv4)
10139 case $host_vendor in
10140 sni)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=yes # is this really true???
10144 siemens)
10145 ## LD is ld it makes a PLAMLIB
10146 ## CC just makes a GrossModule.
10147 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10148 reload_cmds='$CC -r -o $output$reload_objs'
10149 hardcode_direct=no
10151 motorola)
10152 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10153 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10155 esac
10156 runpath_var='LD_RUN_PATH'
10157 hardcode_shlibpath_var=no
10160 sysv4.3*)
10161 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10162 hardcode_shlibpath_var=no
10163 export_dynamic_flag_spec='-Bexport'
10166 sysv4*MP*)
10167 if test -d /usr/nec; then
10168 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10169 hardcode_shlibpath_var=no
10170 runpath_var=LD_RUN_PATH
10171 hardcode_runpath_var=yes
10172 ld_shlibs=yes
10176 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10177 no_undefined_flag='${wl}-z,text'
10178 archive_cmds_need_lc=no
10179 hardcode_shlibpath_var=no
10180 runpath_var='LD_RUN_PATH'
10182 if test "$GCC" = yes; then
10183 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 else
10186 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10191 sysv5* | sco3.2v5* | sco5v6*)
10192 # Note: We can NOT use -z defs as we might desire, because we do not
10193 # link with -lc, and that would cause any symbols used from libc to
10194 # always be unresolved, which means just about no library would
10195 # ever link correctly. If we're not using GNU ld we use -z text
10196 # though, which does catch some bad symbols but isn't as heavy-handed
10197 # as -z defs.
10198 no_undefined_flag='${wl}-z,text'
10199 allow_undefined_flag='${wl}-z,nodefs'
10200 archive_cmds_need_lc=no
10201 hardcode_shlibpath_var=no
10202 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10203 hardcode_libdir_separator=':'
10204 link_all_deplibs=yes
10205 export_dynamic_flag_spec='${wl}-Bexport'
10206 runpath_var='LD_RUN_PATH'
10208 if test "$GCC" = yes; then
10209 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10210 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 else
10212 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10217 uts4*)
10218 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10219 hardcode_libdir_flag_spec='-L$libdir'
10220 hardcode_shlibpath_var=no
10224 ld_shlibs=no
10226 esac
10228 if test x$host_vendor = xsni; then
10229 case $host in
10230 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10231 export_dynamic_flag_spec='${wl}-Blargedynsym'
10233 esac
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10238 $as_echo "$ld_shlibs" >&6; }
10239 test "$ld_shlibs" = no && can_build_shared=no
10241 with_gnu_ld=$with_gnu_ld
10258 # Do we need to explicitly link libc?
10260 case "x$archive_cmds_need_lc" in
10261 x|xyes)
10262 # Assume -lc should be added
10263 archive_cmds_need_lc=yes
10265 if test "$enable_shared" = yes && test "$GCC" = yes; then
10266 case $archive_cmds in
10267 *'~'*)
10268 # FIXME: we may have to deal with multi-command sequences.
10270 '$CC '*)
10271 # Test whether the compiler implicitly links with -lc since on some
10272 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10273 # to ld, don't add -lc before -lgcc.
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10275 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10276 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 $RM conftest*
10280 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10283 (eval $ac_compile) 2>&5
10284 ac_status=$?
10285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10286 test $ac_status = 0; } 2>conftest.err; then
10287 soname=conftest
10288 lib=conftest
10289 libobjs=conftest.$ac_objext
10290 deplibs=
10291 wl=$lt_prog_compiler_wl
10292 pic_flag=$lt_prog_compiler_pic
10293 compiler_flags=-v
10294 linker_flags=-v
10295 verstring=
10296 output_objdir=.
10297 libname=conftest
10298 lt_save_allow_undefined_flag=$allow_undefined_flag
10299 allow_undefined_flag=
10300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10301 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10302 ac_status=$?
10303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10304 test $ac_status = 0; }
10305 then
10306 lt_cv_archive_cmds_need_lc=no
10307 else
10308 lt_cv_archive_cmds_need_lc=yes
10310 allow_undefined_flag=$lt_save_allow_undefined_flag
10311 else
10312 cat conftest.err 1>&5
10314 $RM conftest*
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10318 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10319 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10321 esac
10324 esac
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10483 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10485 if test "$GCC" = yes; then
10486 case $host_os in
10487 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10488 *) lt_awk_arg="/^libraries:/" ;;
10489 esac
10490 case $host_os in
10491 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10492 *) lt_sed_strip_eq="s,=/,/,g" ;;
10493 esac
10494 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10495 case $lt_search_path_spec in
10496 *\;*)
10497 # if the path contains ";" then we assume it to be the separator
10498 # otherwise default to the standard path separator (i.e. ":") - it is
10499 # assumed that no part of a normal pathname contains ";" but that should
10500 # okay in the real world where ";" in dirpaths is itself problematic.
10501 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10504 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10506 esac
10507 # Ok, now we have the path, separated by spaces, we can step through it
10508 # and add multilib dir if necessary.
10509 lt_tmp_lt_search_path_spec=
10510 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10511 for lt_sys_path in $lt_search_path_spec; do
10512 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10513 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10514 else
10515 test -d "$lt_sys_path" && \
10516 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10518 done
10519 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10520 BEGIN {RS=" "; FS="/|\n";} {
10521 lt_foo="";
10522 lt_count=0;
10523 for (lt_i = NF; lt_i > 0; lt_i--) {
10524 if ($lt_i != "" && $lt_i != ".") {
10525 if ($lt_i == "..") {
10526 lt_count++;
10527 } else {
10528 if (lt_count == 0) {
10529 lt_foo="/" $lt_i lt_foo;
10530 } else {
10531 lt_count--;
10536 if (lt_foo != "") { lt_freq[lt_foo]++; }
10537 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10539 # AWK program above erroneously prepends '/' to C:/dos/paths
10540 # for these hosts.
10541 case $host_os in
10542 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10543 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10544 esac
10545 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10546 else
10547 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10549 library_names_spec=
10550 libname_spec='lib$name'
10551 soname_spec=
10552 shrext_cmds=".so"
10553 postinstall_cmds=
10554 postuninstall_cmds=
10555 finish_cmds=
10556 finish_eval=
10557 shlibpath_var=
10558 shlibpath_overrides_runpath=unknown
10559 version_type=none
10560 dynamic_linker="$host_os ld.so"
10561 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10562 need_lib_prefix=unknown
10563 hardcode_into_libs=no
10565 # when you set need_version to no, make sure it does not cause -set_version
10566 # flags to be left without arguments
10567 need_version=unknown
10569 case $host_os in
10570 aix3*)
10571 version_type=linux
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10573 shlibpath_var=LIBPATH
10575 # AIX 3 has no versioning support, so we append a major version to the name.
10576 soname_spec='${libname}${release}${shared_ext}$major'
10579 aix[4-9]*)
10580 version_type=linux
10581 need_lib_prefix=no
10582 need_version=no
10583 hardcode_into_libs=yes
10584 if test "$host_cpu" = ia64; then
10585 # AIX 5 supports IA64
10586 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10587 shlibpath_var=LD_LIBRARY_PATH
10588 else
10589 # With GCC up to 2.95.x, collect2 would create an import file
10590 # for dependence libraries. The import file would start with
10591 # the line `#! .'. This would cause the generated library to
10592 # depend on `.', always an invalid library. This was fixed in
10593 # development snapshots of GCC prior to 3.0.
10594 case $host_os in
10595 aix4 | aix4.[01] | aix4.[01].*)
10596 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10597 echo ' yes '
10598 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10600 else
10601 can_build_shared=no
10604 esac
10605 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10606 # soname into executable. Probably we can add versioning support to
10607 # collect2, so additional links can be useful in future.
10608 if test "$aix_use_runtimelinking" = yes; then
10609 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10610 # instead of lib<name>.a to let people know that these are not
10611 # typical AIX shared libraries.
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 else
10614 # We preserve .a as extension for shared libraries through AIX4.2
10615 # and later when we are not doing run time linking.
10616 library_names_spec='${libname}${release}.a $libname.a'
10617 soname_spec='${libname}${release}${shared_ext}$major'
10619 shlibpath_var=LIBPATH
10623 amigaos*)
10624 case $host_cpu in
10625 powerpc)
10626 # Since July 2007 AmigaOS4 officially supports .so libraries.
10627 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630 m68k)
10631 library_names_spec='$libname.ixlibrary $libname.a'
10632 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10633 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'
10635 esac
10638 beos*)
10639 library_names_spec='${libname}${shared_ext}'
10640 dynamic_linker="$host_os ld.so"
10641 shlibpath_var=LIBRARY_PATH
10644 bsdi[45]*)
10645 version_type=linux
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 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10650 shlibpath_var=LD_LIBRARY_PATH
10651 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10652 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10653 # the default ld.so.conf also contains /usr/contrib/lib and
10654 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10655 # libtool to hard-code these into programs
10658 cygwin* | mingw* | pw32* | cegcc*)
10659 version_type=windows
10660 shrext_cmds=".dll"
10661 need_version=no
10662 need_lib_prefix=no
10664 case $GCC,$host_os in
10665 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10666 library_names_spec='$libname.dll.a'
10667 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10668 postinstall_cmds='base_file=`basename \${file}`~
10669 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10670 dldir=$destdir/`dirname \$dlpath`~
10671 test -d \$dldir || mkdir -p \$dldir~
10672 $install_prog $dir/$dlname \$dldir/$dlname~
10673 chmod a+x \$dldir/$dlname~
10674 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10675 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10677 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10678 dlpath=$dir/\$dldll~
10679 $RM \$dlpath'
10680 shlibpath_overrides_runpath=yes
10682 case $host_os in
10683 cygwin*)
10684 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10685 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10687 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10689 mingw* | cegcc*)
10690 # MinGW DLLs use traditional 'lib' prefix
10691 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10693 pw32*)
10694 # pw32 DLLs use 'pw' prefix rather than 'lib'
10695 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10697 esac
10701 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10703 esac
10704 dynamic_linker='Win32 ld.exe'
10705 # FIXME: first we should search . and the directory the executable is in
10706 shlibpath_var=PATH
10709 darwin* | rhapsody*)
10710 dynamic_linker="$host_os dyld"
10711 version_type=darwin
10712 need_lib_prefix=no
10713 need_version=no
10714 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10715 soname_spec='${libname}${release}${major}$shared_ext'
10716 shlibpath_overrides_runpath=yes
10717 shlibpath_var=DYLD_LIBRARY_PATH
10718 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10720 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10721 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10724 dgux*)
10725 version_type=linux
10726 need_lib_prefix=no
10727 need_version=no
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 shlibpath_var=LD_LIBRARY_PATH
10733 freebsd* | dragonfly*)
10734 # DragonFly does not have aout. When/if they implement a new
10735 # versioning mechanism, adjust this.
10736 if test -x /usr/bin/objformat; then
10737 objformat=`/usr/bin/objformat`
10738 else
10739 case $host_os in
10740 freebsd[23].*) objformat=aout ;;
10741 *) objformat=elf ;;
10742 esac
10744 version_type=freebsd-$objformat
10745 case $version_type in
10746 freebsd-elf*)
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10748 need_version=no
10749 need_lib_prefix=no
10751 freebsd-*)
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10753 need_version=yes
10755 esac
10756 shlibpath_var=LD_LIBRARY_PATH
10757 case $host_os in
10758 freebsd2.*)
10759 shlibpath_overrides_runpath=yes
10761 freebsd3.[01]* | freebsdelf3.[01]*)
10762 shlibpath_overrides_runpath=yes
10763 hardcode_into_libs=yes
10765 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10766 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10767 shlibpath_overrides_runpath=no
10768 hardcode_into_libs=yes
10770 *) # from 4.6 on, and DragonFly
10771 shlibpath_overrides_runpath=yes
10772 hardcode_into_libs=yes
10774 esac
10777 gnu*)
10778 version_type=linux
10779 need_lib_prefix=no
10780 need_version=no
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LD_LIBRARY_PATH
10784 hardcode_into_libs=yes
10787 haiku*)
10788 version_type=linux
10789 need_lib_prefix=no
10790 need_version=no
10791 dynamic_linker="$host_os runtime_loader"
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 shlibpath_var=LIBRARY_PATH
10795 shlibpath_overrides_runpath=yes
10796 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10797 hardcode_into_libs=yes
10800 hpux9* | hpux10* | hpux11*)
10801 # Give a soname corresponding to the major version so that dld.sl refuses to
10802 # link against other versions.
10803 version_type=sunos
10804 need_lib_prefix=no
10805 need_version=no
10806 case $host_cpu in
10807 ia64*)
10808 shrext_cmds='.so'
10809 hardcode_into_libs=yes
10810 dynamic_linker="$host_os dld.so"
10811 shlibpath_var=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 if test "X$HPUX_IA64_MODE" = X32; then
10816 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10817 else
10818 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10822 hppa*64*)
10823 shrext_cmds='.sl'
10824 hardcode_into_libs=yes
10825 dynamic_linker="$host_os dld.sl"
10826 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10827 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10830 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10831 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10834 shrext_cmds='.sl'
10835 dynamic_linker="$host_os dld.sl"
10836 shlibpath_var=SHLIB_PATH
10837 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10841 esac
10842 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10843 postinstall_cmds='chmod 555 $lib'
10844 # or fails outright, so override atomically:
10845 install_override_mode=555
10848 interix[3-9]*)
10849 version_type=linux
10850 need_lib_prefix=no
10851 need_version=no
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10855 shlibpath_var=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath=no
10857 hardcode_into_libs=yes
10860 irix5* | irix6* | nonstopux*)
10861 case $host_os in
10862 nonstopux*) version_type=nonstopux ;;
10864 if test "$lt_cv_prog_gnu_ld" = yes; then
10865 version_type=linux
10866 else
10867 version_type=irix
10868 fi ;;
10869 esac
10870 need_lib_prefix=no
10871 need_version=no
10872 soname_spec='${libname}${release}${shared_ext}$major'
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10874 case $host_os in
10875 irix5* | nonstopux*)
10876 libsuff= shlibsuff=
10879 case $LD in # libtool.m4 will add one of these switches to LD
10880 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10881 libsuff= shlibsuff= libmagic=32-bit;;
10882 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10883 libsuff=32 shlibsuff=N32 libmagic=N32;;
10884 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10885 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10886 *) libsuff= shlibsuff= libmagic=never-match;;
10887 esac
10889 esac
10890 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10891 shlibpath_overrides_runpath=no
10892 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10893 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10894 hardcode_into_libs=yes
10897 # No shared lib support for Linux oldld, aout, or coff.
10898 linux*oldld* | linux*aout* | linux*coff*)
10899 dynamic_linker=no
10902 # This must be Linux ELF.
10903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904 version_type=linux
10905 need_lib_prefix=no
10906 need_version=no
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=no
10913 # Some binutils ld are patched to set DT_RUNPATH
10914 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10915 $as_echo_n "(cached) " >&6
10916 else
10917 lt_cv_shlibpath_overrides_runpath=no
10918 save_LDFLAGS=$LDFLAGS
10919 save_libdir=$libdir
10920 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10921 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10922 if test x$gcc_no_link = xyes; then
10923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10929 main ()
10933 return 0;
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10938 lt_cv_shlibpath_overrides_runpath=yes
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LDFLAGS=$save_LDFLAGS
10944 libdir=$save_libdir
10948 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10950 # This implies no fast_install, which is unacceptable.
10951 # Some rework will be needed to allow for fast_install
10952 # before this can be enabled.
10953 hardcode_into_libs=yes
10955 # Append ld.so.conf contents to the search path
10956 if test -f /etc/ld.so.conf; then
10957 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' ' '`
10958 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10961 # We used to test for /lib/ld.so.1 and disable shared libraries on
10962 # powerpc, because MkLinux only supported shared libraries with the
10963 # GNU dynamic linker. Since this was broken with cross compilers,
10964 # most powerpc-linux boxes support dynamic linking these days and
10965 # people can always --disable-shared, the test was removed, and we
10966 # assume the GNU/Linux dynamic linker is in use.
10967 dynamic_linker='GNU/Linux ld.so'
10970 netbsd*)
10971 version_type=sunos
10972 need_lib_prefix=no
10973 need_version=no
10974 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977 dynamic_linker='NetBSD (a.out) ld.so'
10978 else
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 dynamic_linker='NetBSD ld.elf_so'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 hardcode_into_libs=yes
10988 newsos6)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=yes
10995 *nto* | *qnx*)
10996 version_type=qnx
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=no
11003 hardcode_into_libs=yes
11004 dynamic_linker='ldqnx.so'
11007 openbsd*)
11008 version_type=sunos
11009 sys_lib_dlsearch_path_spec="/usr/lib"
11010 need_lib_prefix=no
11011 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11012 case $host_os in
11013 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11014 *) need_version=no ;;
11015 esac
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11017 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11020 case $host_os in
11021 openbsd2.[89] | openbsd2.[89].*)
11022 shlibpath_overrides_runpath=no
11025 shlibpath_overrides_runpath=yes
11027 esac
11028 else
11029 shlibpath_overrides_runpath=yes
11033 os2*)
11034 libname_spec='$name'
11035 shrext_cmds=".dll"
11036 need_lib_prefix=no
11037 library_names_spec='$libname${shared_ext} $libname.a'
11038 dynamic_linker='OS/2 ld.exe'
11039 shlibpath_var=LIBPATH
11042 osf3* | osf4* | osf5*)
11043 version_type=osf
11044 need_lib_prefix=no
11045 need_version=no
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11050 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11053 rdos*)
11054 dynamic_linker=no
11057 solaris*)
11058 version_type=linux
11059 need_lib_prefix=no
11060 need_version=no
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 hardcode_into_libs=yes
11066 # ldd complains unless libraries are executable
11067 postinstall_cmds='chmod +x $lib'
11070 sunos4*)
11071 version_type=sunos
11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11073 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=yes
11076 if test "$with_gnu_ld" = yes; then
11077 need_lib_prefix=no
11079 need_version=yes
11082 sysv4 | sysv4.3*)
11083 version_type=linux
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 shlibpath_var=LD_LIBRARY_PATH
11087 case $host_vendor in
11088 sni)
11089 shlibpath_overrides_runpath=no
11090 need_lib_prefix=no
11091 runpath_var=LD_RUN_PATH
11093 siemens)
11094 need_lib_prefix=no
11096 motorola)
11097 need_lib_prefix=no
11098 need_version=no
11099 shlibpath_overrides_runpath=no
11100 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11102 esac
11105 sysv4*MP*)
11106 if test -d /usr/nec ;then
11107 version_type=linux
11108 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11109 soname_spec='$libname${shared_ext}.$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11115 version_type=freebsd-elf
11116 need_lib_prefix=no
11117 need_version=no
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11119 soname_spec='${libname}${release}${shared_ext}$major'
11120 shlibpath_var=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath=yes
11122 hardcode_into_libs=yes
11123 if test "$with_gnu_ld" = yes; then
11124 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11125 else
11126 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11127 case $host_os in
11128 sco3.2v5*)
11129 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11131 esac
11133 sys_lib_dlsearch_path_spec='/usr/lib'
11136 tpf*)
11137 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11138 version_type=linux
11139 need_lib_prefix=no
11140 need_version=no
11141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 shlibpath_var=LD_LIBRARY_PATH
11143 shlibpath_overrides_runpath=no
11144 hardcode_into_libs=yes
11147 uts4*)
11148 version_type=linux
11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150 soname_spec='${libname}${release}${shared_ext}$major'
11151 shlibpath_var=LD_LIBRARY_PATH
11155 dynamic_linker=no
11157 esac
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11159 $as_echo "$dynamic_linker" >&6; }
11160 test "$dynamic_linker" = no && can_build_shared=no
11162 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11163 if test "$GCC" = yes; then
11164 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11167 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11168 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11170 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11171 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11266 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11267 hardcode_action=
11268 if test -n "$hardcode_libdir_flag_spec" ||
11269 test -n "$runpath_var" ||
11270 test "X$hardcode_automatic" = "Xyes" ; then
11272 # We can hardcode non-existent directories.
11273 if test "$hardcode_direct" != no &&
11274 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11275 # have to relink, otherwise we might link with an installed library
11276 # when we should be linking with a yet-to-be-installed one
11277 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11278 test "$hardcode_minus_L" != no; then
11279 # Linking always hardcodes the temporary library directory.
11280 hardcode_action=relink
11281 else
11282 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11283 hardcode_action=immediate
11285 else
11286 # We cannot hardcode anything, or else we can only hardcode existing
11287 # directories.
11288 hardcode_action=unsupported
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11291 $as_echo "$hardcode_action" >&6; }
11293 if test "$hardcode_action" = relink ||
11294 test "$inherit_rpath" = yes; then
11295 # Fast installation is not supported
11296 enable_fast_install=no
11297 elif test "$shlibpath_overrides_runpath" = yes ||
11298 test "$enable_shared" = no; then
11299 # Fast installation is not necessary
11300 enable_fast_install=needless
11308 if test "x$enable_dlopen" != xyes; then
11309 enable_dlopen=unknown
11310 enable_dlopen_self=unknown
11311 enable_dlopen_self_static=unknown
11312 else
11313 lt_cv_dlopen=no
11314 lt_cv_dlopen_libs=
11316 case $host_os in
11317 beos*)
11318 lt_cv_dlopen="load_add_on"
11319 lt_cv_dlopen_libs=
11320 lt_cv_dlopen_self=yes
11323 mingw* | pw32* | cegcc*)
11324 lt_cv_dlopen="LoadLibrary"
11325 lt_cv_dlopen_libs=
11328 cygwin*)
11329 lt_cv_dlopen="dlopen"
11330 lt_cv_dlopen_libs=
11333 darwin*)
11334 # if libdl is installed we need to link against it
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11337 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11338 $as_echo_n "(cached) " >&6
11339 else
11340 ac_check_lib_save_LIBS=$LIBS
11341 LIBS="-ldl $LIBS"
11342 if test x$gcc_no_link = xyes; then
11343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11348 /* Override any GCC internal prototype to avoid an error.
11349 Use char because int might match the return type of a GCC
11350 builtin and then its argument prototype would still apply. */
11351 #ifdef __cplusplus
11352 extern "C"
11353 #endif
11354 char dlopen ();
11356 main ()
11358 return dlopen ();
11360 return 0;
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"; then :
11364 ac_cv_lib_dl_dlopen=yes
11365 else
11366 ac_cv_lib_dl_dlopen=no
11368 rm -f core conftest.err conftest.$ac_objext \
11369 conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_lib_save_LIBS
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11374 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11375 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11376 else
11378 lt_cv_dlopen="dyld"
11379 lt_cv_dlopen_libs=
11380 lt_cv_dlopen_self=yes
11387 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11388 if test "x$ac_cv_func_shl_load" = x""yes; then :
11389 lt_cv_dlopen="shl_load"
11390 else
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11392 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11393 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-ldld $LIBS"
11398 if test x$gcc_no_link = xyes; then
11399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char shl_load ();
11412 main ()
11414 return shl_load ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_dld_shl_load=yes
11421 else
11422 ac_cv_lib_dld_shl_load=no
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11429 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11430 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11431 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11432 else
11433 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11434 if test "x$ac_cv_func_dlopen" = x""yes; then :
11435 lt_cv_dlopen="dlopen"
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11439 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-ldl $LIBS"
11444 if test x$gcc_no_link = xyes; then
11445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char dlopen ();
11458 main ()
11460 return dlopen ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_dl_dlopen=yes
11467 else
11468 ac_cv_lib_dl_dlopen=no
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11477 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478 else
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11480 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11481 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lsvld $LIBS"
11486 if test x$gcc_no_link = xyes; then
11487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char dlopen ();
11500 main ()
11502 return dlopen ();
11504 return 0;
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508 ac_cv_lib_svld_dlopen=yes
11509 else
11510 ac_cv_lib_svld_dlopen=no
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_lib_save_LIBS
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11517 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11518 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11519 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11520 else
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11522 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11523 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11524 $as_echo_n "(cached) " >&6
11525 else
11526 ac_check_lib_save_LIBS=$LIBS
11527 LIBS="-ldld $LIBS"
11528 if test x$gcc_no_link = xyes; then
11529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char dld_link ();
11542 main ()
11544 return dld_link ();
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 ac_cv_lib_dld_dld_link=yes
11551 else
11552 ac_cv_lib_dld_dld_link=no
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11559 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11560 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11561 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11580 esac
11582 if test "x$lt_cv_dlopen" != xno; then
11583 enable_dlopen=yes
11584 else
11585 enable_dlopen=no
11588 case $lt_cv_dlopen in
11589 dlopen)
11590 save_CPPFLAGS="$CPPFLAGS"
11591 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11593 save_LDFLAGS="$LDFLAGS"
11594 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11596 save_LIBS="$LIBS"
11597 LIBS="$lt_cv_dlopen_libs $LIBS"
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11600 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11601 if test "${lt_cv_dlopen_self+set}" = set; then :
11602 $as_echo_n "(cached) " >&6
11603 else
11604 if test "$cross_compiling" = yes; then :
11605 lt_cv_dlopen_self=cross
11606 else
11607 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11608 lt_status=$lt_dlunknown
11609 cat > conftest.$ac_ext <<_LT_EOF
11610 #line 11610 "configure"
11611 #include "confdefs.h"
11613 #if HAVE_DLFCN_H
11614 #include <dlfcn.h>
11615 #endif
11617 #include <stdio.h>
11619 #ifdef RTLD_GLOBAL
11620 # define LT_DLGLOBAL RTLD_GLOBAL
11621 #else
11622 # ifdef DL_GLOBAL
11623 # define LT_DLGLOBAL DL_GLOBAL
11624 # else
11625 # define LT_DLGLOBAL 0
11626 # endif
11627 #endif
11629 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11630 find out it does not work in some platform. */
11631 #ifndef LT_DLLAZY_OR_NOW
11632 # ifdef RTLD_LAZY
11633 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11634 # else
11635 # ifdef DL_LAZY
11636 # define LT_DLLAZY_OR_NOW DL_LAZY
11637 # else
11638 # ifdef RTLD_NOW
11639 # define LT_DLLAZY_OR_NOW RTLD_NOW
11640 # else
11641 # ifdef DL_NOW
11642 # define LT_DLLAZY_OR_NOW DL_NOW
11643 # else
11644 # define LT_DLLAZY_OR_NOW 0
11645 # endif
11646 # endif
11647 # endif
11648 # endif
11649 #endif
11651 /* When -fvisbility=hidden is used, assume the code has been annotated
11652 correspondingly for the symbols needed. */
11653 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11654 void fnord () __attribute__((visibility("default")));
11655 #endif
11657 void fnord () { int i=42; }
11658 int main ()
11660 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11661 int status = $lt_dlunknown;
11663 if (self)
11665 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11666 else
11668 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11669 else puts (dlerror ());
11671 /* dlclose (self); */
11673 else
11674 puts (dlerror ());
11676 return status;
11678 _LT_EOF
11679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11680 (eval $ac_link) 2>&5
11681 ac_status=$?
11682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11683 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11684 (./conftest; exit; ) >&5 2>/dev/null
11685 lt_status=$?
11686 case x$lt_status in
11687 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11688 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11689 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11690 esac
11691 else :
11692 # compilation failed
11693 lt_cv_dlopen_self=no
11696 rm -fr conftest*
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11701 $as_echo "$lt_cv_dlopen_self" >&6; }
11703 if test "x$lt_cv_dlopen_self" = xyes; then
11704 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11706 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11707 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11708 $as_echo_n "(cached) " >&6
11709 else
11710 if test "$cross_compiling" = yes; then :
11711 lt_cv_dlopen_self_static=cross
11712 else
11713 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11714 lt_status=$lt_dlunknown
11715 cat > conftest.$ac_ext <<_LT_EOF
11716 #line 11716 "configure"
11717 #include "confdefs.h"
11719 #if HAVE_DLFCN_H
11720 #include <dlfcn.h>
11721 #endif
11723 #include <stdio.h>
11725 #ifdef RTLD_GLOBAL
11726 # define LT_DLGLOBAL RTLD_GLOBAL
11727 #else
11728 # ifdef DL_GLOBAL
11729 # define LT_DLGLOBAL DL_GLOBAL
11730 # else
11731 # define LT_DLGLOBAL 0
11732 # endif
11733 #endif
11735 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11736 find out it does not work in some platform. */
11737 #ifndef LT_DLLAZY_OR_NOW
11738 # ifdef RTLD_LAZY
11739 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11740 # else
11741 # ifdef DL_LAZY
11742 # define LT_DLLAZY_OR_NOW DL_LAZY
11743 # else
11744 # ifdef RTLD_NOW
11745 # define LT_DLLAZY_OR_NOW RTLD_NOW
11746 # else
11747 # ifdef DL_NOW
11748 # define LT_DLLAZY_OR_NOW DL_NOW
11749 # else
11750 # define LT_DLLAZY_OR_NOW 0
11751 # endif
11752 # endif
11753 # endif
11754 # endif
11755 #endif
11757 /* When -fvisbility=hidden is used, assume the code has been annotated
11758 correspondingly for the symbols needed. */
11759 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11760 void fnord () __attribute__((visibility("default")));
11761 #endif
11763 void fnord () { int i=42; }
11764 int main ()
11766 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11767 int status = $lt_dlunknown;
11769 if (self)
11771 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11772 else
11774 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11775 else puts (dlerror ());
11777 /* dlclose (self); */
11779 else
11780 puts (dlerror ());
11782 return status;
11784 _LT_EOF
11785 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11786 (eval $ac_link) 2>&5
11787 ac_status=$?
11788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11789 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11790 (./conftest; exit; ) >&5 2>/dev/null
11791 lt_status=$?
11792 case x$lt_status in
11793 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11794 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11795 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11796 esac
11797 else :
11798 # compilation failed
11799 lt_cv_dlopen_self_static=no
11802 rm -fr conftest*
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11807 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11810 CPPFLAGS="$save_CPPFLAGS"
11811 LDFLAGS="$save_LDFLAGS"
11812 LIBS="$save_LIBS"
11814 esac
11816 case $lt_cv_dlopen_self in
11817 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11818 *) enable_dlopen_self=unknown ;;
11819 esac
11821 case $lt_cv_dlopen_self_static in
11822 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11823 *) enable_dlopen_self_static=unknown ;;
11824 esac
11843 striplib=
11844 old_striplib=
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11846 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11847 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11848 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11849 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11851 $as_echo "yes" >&6; }
11852 else
11853 # FIXME - insert some real tests, host_os isn't really good enough
11854 case $host_os in
11855 darwin*)
11856 if test -n "$STRIP" ; then
11857 striplib="$STRIP -x"
11858 old_striplib="$STRIP -S"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11860 $as_echo "yes" >&6; }
11861 else
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11863 $as_echo "no" >&6; }
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11868 $as_echo "no" >&6; }
11870 esac
11884 # Report which library types will actually be built
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11886 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11888 $as_echo "$can_build_shared" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11891 $as_echo_n "checking whether to build shared libraries... " >&6; }
11892 test "$can_build_shared" = "no" && enable_shared=no
11894 # On AIX, shared libraries and static libraries use the same namespace, and
11895 # are all built from PIC.
11896 case $host_os in
11897 aix3*)
11898 test "$enable_shared" = yes && enable_static=no
11899 if test -n "$RANLIB"; then
11900 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11901 postinstall_cmds='$RANLIB $lib'
11905 aix[4-9]*)
11906 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11907 test "$enable_shared" = yes && enable_static=no
11910 esac
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11912 $as_echo "$enable_shared" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11915 $as_echo_n "checking whether to build static libraries... " >&6; }
11916 # Make sure either enable_shared or enable_static is yes.
11917 test "$enable_shared" = yes || enable_static=yes
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11919 $as_echo "$enable_static" >&6; }
11925 ac_ext=c
11926 ac_cpp='$CPP $CPPFLAGS'
11927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11931 CC="$lt_save_CC"
11933 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11934 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11935 (test "X$CXX" != "Xg++"))) ; then
11936 ac_ext=cpp
11937 ac_cpp='$CXXCPP $CPPFLAGS'
11938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11942 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11943 if test -z "$CXXCPP"; then
11944 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 # Double quotes because CXXCPP needs to be expanded
11948 for CXXCPP in "$CXX -E" "/lib/cpp"
11950 ac_preproc_ok=false
11951 for ac_cxx_preproc_warn_flag in '' yes
11953 # Use a header file that comes with gcc, so configuring glibc
11954 # with a fresh cross-compiler works.
11955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11956 # <limits.h> exists even on freestanding compilers.
11957 # On the NeXT, cc -E runs the code through the compiler's parser,
11958 # not just through cpp. "Syntax error" is here to catch this case.
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11961 #ifdef __STDC__
11962 # include <limits.h>
11963 #else
11964 # include <assert.h>
11965 #endif
11966 Syntax error
11967 _ACEOF
11968 if ac_fn_cxx_try_cpp "$LINENO"; then :
11970 else
11971 # Broken: fails on valid input.
11972 continue
11974 rm -f conftest.err conftest.$ac_ext
11976 # OK, works on sane cases. Now check whether nonexistent headers
11977 # can be detected and how.
11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11980 #include <ac_nonexistent.h>
11981 _ACEOF
11982 if ac_fn_cxx_try_cpp "$LINENO"; then :
11983 # Broken: success on invalid input.
11984 continue
11985 else
11986 # Passes both tests.
11987 ac_preproc_ok=:
11988 break
11990 rm -f conftest.err conftest.$ac_ext
11992 done
11993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11994 rm -f conftest.err conftest.$ac_ext
11995 if $ac_preproc_ok; then :
11996 break
11999 done
12000 ac_cv_prog_CXXCPP=$CXXCPP
12003 CXXCPP=$ac_cv_prog_CXXCPP
12004 else
12005 ac_cv_prog_CXXCPP=$CXXCPP
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12008 $as_echo "$CXXCPP" >&6; }
12009 ac_preproc_ok=false
12010 for ac_cxx_preproc_warn_flag in '' yes
12012 # Use a header file that comes with gcc, so configuring glibc
12013 # with a fresh cross-compiler works.
12014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12015 # <limits.h> exists even on freestanding compilers.
12016 # On the NeXT, cc -E runs the code through the compiler's parser,
12017 # not just through cpp. "Syntax error" is here to catch this case.
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12020 #ifdef __STDC__
12021 # include <limits.h>
12022 #else
12023 # include <assert.h>
12024 #endif
12025 Syntax error
12026 _ACEOF
12027 if ac_fn_cxx_try_cpp "$LINENO"; then :
12029 else
12030 # Broken: fails on valid input.
12031 continue
12033 rm -f conftest.err conftest.$ac_ext
12035 # OK, works on sane cases. Now check whether nonexistent headers
12036 # can be detected and how.
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12039 #include <ac_nonexistent.h>
12040 _ACEOF
12041 if ac_fn_cxx_try_cpp "$LINENO"; then :
12042 # Broken: success on invalid input.
12043 continue
12044 else
12045 # Passes both tests.
12046 ac_preproc_ok=:
12047 break
12049 rm -f conftest.err conftest.$ac_ext
12051 done
12052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12053 rm -f conftest.err conftest.$ac_ext
12054 if $ac_preproc_ok; then :
12056 else
12057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12059 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12060 See \`config.log' for more details." "$LINENO" 5; }
12063 ac_ext=c
12064 ac_cpp='$CPP $CPPFLAGS'
12065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12069 else
12070 _lt_caught_CXX_error=yes
12073 ac_ext=cpp
12074 ac_cpp='$CXXCPP $CPPFLAGS'
12075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12079 archive_cmds_need_lc_CXX=no
12080 allow_undefined_flag_CXX=
12081 always_export_symbols_CXX=no
12082 archive_expsym_cmds_CXX=
12083 compiler_needs_object_CXX=no
12084 export_dynamic_flag_spec_CXX=
12085 hardcode_direct_CXX=no
12086 hardcode_direct_absolute_CXX=no
12087 hardcode_libdir_flag_spec_CXX=
12088 hardcode_libdir_flag_spec_ld_CXX=
12089 hardcode_libdir_separator_CXX=
12090 hardcode_minus_L_CXX=no
12091 hardcode_shlibpath_var_CXX=unsupported
12092 hardcode_automatic_CXX=no
12093 inherit_rpath_CXX=no
12094 module_cmds_CXX=
12095 module_expsym_cmds_CXX=
12096 link_all_deplibs_CXX=unknown
12097 old_archive_cmds_CXX=$old_archive_cmds
12098 reload_flag_CXX=$reload_flag
12099 reload_cmds_CXX=$reload_cmds
12100 no_undefined_flag_CXX=
12101 whole_archive_flag_spec_CXX=
12102 enable_shared_with_static_runtimes_CXX=no
12104 # Source file extension for C++ test sources.
12105 ac_ext=cpp
12107 # Object file extension for compiled C++ test sources.
12108 objext=o
12109 objext_CXX=$objext
12111 # No sense in running all these tests if we already determined that
12112 # the CXX compiler isn't working. Some variables (like enable_shared)
12113 # are currently assumed to apply to all compilers on this platform,
12114 # and will be corrupted by setting them based on a non-working compiler.
12115 if test "$_lt_caught_CXX_error" != yes; then
12116 # Code to be used in simple compile tests
12117 lt_simple_compile_test_code="int some_variable = 0;"
12119 # Code to be used in simple link tests
12120 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12122 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12129 # If no C compiler was specified, use CC.
12130 LTCC=${LTCC-"$CC"}
12132 # If no C compiler flags were specified, use CFLAGS.
12133 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12135 # Allow CC to be a program name with arguments.
12136 compiler=$CC
12139 # save warnings/boilerplate of simple test code
12140 ac_outfile=conftest.$ac_objext
12141 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12142 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12143 _lt_compiler_boilerplate=`cat conftest.err`
12144 $RM conftest*
12146 ac_outfile=conftest.$ac_objext
12147 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12148 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12149 _lt_linker_boilerplate=`cat conftest.err`
12150 $RM -r conftest*
12153 # Allow CC to be a program name with arguments.
12154 lt_save_CC=$CC
12155 lt_save_LD=$LD
12156 lt_save_GCC=$GCC
12157 GCC=$GXX
12158 lt_save_with_gnu_ld=$with_gnu_ld
12159 lt_save_path_LD=$lt_cv_path_LD
12160 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12161 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12162 else
12163 $as_unset lt_cv_prog_gnu_ld
12165 if test -n "${lt_cv_path_LDCXX+set}"; then
12166 lt_cv_path_LD=$lt_cv_path_LDCXX
12167 else
12168 $as_unset lt_cv_path_LD
12170 test -z "${LDCXX+set}" || LD=$LDCXX
12171 CC=${CXX-"c++"}
12172 compiler=$CC
12173 compiler_CXX=$CC
12174 for cc_temp in $compiler""; do
12175 case $cc_temp in
12176 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12177 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12178 \-*) ;;
12179 *) break;;
12180 esac
12181 done
12182 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12185 if test -n "$compiler"; then
12186 # We don't want -fno-exception when compiling C++ code, so set the
12187 # no_builtin_flag separately
12188 if test "$GXX" = yes; then
12189 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12190 else
12191 lt_prog_compiler_no_builtin_flag_CXX=
12194 if test "$GXX" = yes; then
12195 # Set up default GNU C++ configuration
12199 # Check whether --with-gnu-ld was given.
12200 if test "${with_gnu_ld+set}" = set; then :
12201 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12202 else
12203 with_gnu_ld=no
12206 ac_prog=ld
12207 if test "$GCC" = yes; then
12208 # Check if gcc -print-prog-name=ld gives a path.
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12210 $as_echo_n "checking for ld used by $CC... " >&6; }
12211 case $host in
12212 *-*-mingw*)
12213 # gcc leaves a trailing carriage return which upsets mingw
12214 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12216 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12217 esac
12218 case $ac_prog in
12219 # Accept absolute paths.
12220 [\\/]* | ?:[\\/]*)
12221 re_direlt='/[^/][^/]*/\.\./'
12222 # Canonicalize the pathname of ld
12223 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12224 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12225 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12226 done
12227 test -z "$LD" && LD="$ac_prog"
12230 # If it fails, then pretend we aren't using GCC.
12231 ac_prog=ld
12234 # If it is relative, then search for the first ld in PATH.
12235 with_gnu_ld=unknown
12237 esac
12238 elif test "$with_gnu_ld" = yes; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12240 $as_echo_n "checking for GNU ld... " >&6; }
12241 else
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12243 $as_echo_n "checking for non-GNU ld... " >&6; }
12245 if test "${lt_cv_path_LD+set}" = set; then :
12246 $as_echo_n "(cached) " >&6
12247 else
12248 if test -z "$LD"; then
12249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12250 for ac_dir in $PATH; do
12251 IFS="$lt_save_ifs"
12252 test -z "$ac_dir" && ac_dir=.
12253 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12254 lt_cv_path_LD="$ac_dir/$ac_prog"
12255 # Check to see if the program is GNU ld. I'd rather use --version,
12256 # but apparently some variants of GNU ld only accept -v.
12257 # Break only if it was the GNU/non-GNU ld that we prefer.
12258 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12259 *GNU* | *'with BFD'*)
12260 test "$with_gnu_ld" != no && break
12263 test "$with_gnu_ld" != yes && break
12265 esac
12267 done
12268 IFS="$lt_save_ifs"
12269 else
12270 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12274 LD="$lt_cv_path_LD"
12275 if test -n "$LD"; then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12277 $as_echo "$LD" >&6; }
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12280 $as_echo "no" >&6; }
12282 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12284 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12285 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12289 case `$LD -v 2>&1 </dev/null` in
12290 *GNU* | *'with BFD'*)
12291 lt_cv_prog_gnu_ld=yes
12294 lt_cv_prog_gnu_ld=no
12296 esac
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12299 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12300 with_gnu_ld=$lt_cv_prog_gnu_ld
12308 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12309 # archiving commands below assume that GNU ld is being used.
12310 if test "$with_gnu_ld" = yes; then
12311 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12312 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12314 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12315 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12317 # If archive_cmds runs LD, not CC, wlarc should be empty
12318 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12319 # investigate it a little bit more. (MM)
12320 wlarc='${wl}'
12322 # ancient GNU ld didn't support --whole-archive et. al.
12323 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12324 $GREP 'no-whole-archive' > /dev/null; then
12325 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12326 else
12327 whole_archive_flag_spec_CXX=
12329 else
12330 with_gnu_ld=no
12331 wlarc=
12333 # A generic and very simple default shared library creation
12334 # command for GNU C++ for the case where it uses the native
12335 # linker, instead of GNU ld. If possible, this setting should
12336 # overridden to take advantage of the native linker features on
12337 # the platform it is being used on.
12338 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12341 # Commands to make compiler produce verbose output that lists
12342 # what "hidden" libraries, object files and flags are used when
12343 # linking a shared library.
12344 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12346 else
12347 GXX=no
12348 with_gnu_ld=no
12349 wlarc=
12352 # PORTME: fill in a description of your system's C++ link characteristics
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12354 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12355 ld_shlibs_CXX=yes
12356 case $host_os in
12357 aix3*)
12358 # FIXME: insert proper C++ library support
12359 ld_shlibs_CXX=no
12361 aix[4-9]*)
12362 if test "$host_cpu" = ia64; then
12363 # On IA64, the linker does run time linking by default, so we don't
12364 # have to do anything special.
12365 aix_use_runtimelinking=no
12366 exp_sym_flag='-Bexport'
12367 no_entry_flag=""
12368 else
12369 aix_use_runtimelinking=no
12371 # Test if we are trying to use run time linking or normal
12372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12373 # need to do runtime linking.
12374 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12375 for ld_flag in $LDFLAGS; do
12376 case $ld_flag in
12377 *-brtl*)
12378 aix_use_runtimelinking=yes
12379 break
12381 esac
12382 done
12384 esac
12386 exp_sym_flag='-bexport'
12387 no_entry_flag='-bnoentry'
12390 # When large executables or shared objects are built, AIX ld can
12391 # have problems creating the table of contents. If linking a library
12392 # or program results in "error TOC overflow" add -mminimal-toc to
12393 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12394 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12396 archive_cmds_CXX=''
12397 hardcode_direct_CXX=yes
12398 hardcode_direct_absolute_CXX=yes
12399 hardcode_libdir_separator_CXX=':'
12400 link_all_deplibs_CXX=yes
12401 file_list_spec_CXX='${wl}-f,'
12403 if test "$GXX" = yes; then
12404 case $host_os in aix4.[012]|aix4.[012].*)
12405 # We only want to do this on AIX 4.2 and lower, the check
12406 # below for broken collect2 doesn't work under 4.3+
12407 collect2name=`${CC} -print-prog-name=collect2`
12408 if test -f "$collect2name" &&
12409 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12410 then
12411 # We have reworked collect2
12413 else
12414 # We have old collect2
12415 hardcode_direct_CXX=unsupported
12416 # It fails to find uninstalled libraries when the uninstalled
12417 # path is not listed in the libpath. Setting hardcode_minus_L
12418 # to unsupported forces relinking
12419 hardcode_minus_L_CXX=yes
12420 hardcode_libdir_flag_spec_CXX='-L$libdir'
12421 hardcode_libdir_separator_CXX=
12423 esac
12424 shared_flag='-shared'
12425 if test "$aix_use_runtimelinking" = yes; then
12426 shared_flag="$shared_flag "'${wl}-G'
12428 else
12429 # not using gcc
12430 if test "$host_cpu" = ia64; then
12431 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12432 # chokes on -Wl,-G. The following line is correct:
12433 shared_flag='-G'
12434 else
12435 if test "$aix_use_runtimelinking" = yes; then
12436 shared_flag='${wl}-G'
12437 else
12438 shared_flag='${wl}-bM:SRE'
12443 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12444 # It seems that -bexpall does not export symbols beginning with
12445 # underscore (_), so it is better to generate a list of symbols to
12446 # export.
12447 always_export_symbols_CXX=yes
12448 if test "$aix_use_runtimelinking" = yes; then
12449 # Warning - without using the other runtime loading flags (-brtl),
12450 # -berok will link without error, but may produce a broken library.
12451 allow_undefined_flag_CXX='-berok'
12452 # Determine the default libpath from the value encoded in an empty
12453 # executable.
12454 if test x$gcc_no_link = xyes; then
12455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12461 main ()
12465 return 0;
12467 _ACEOF
12468 if ac_fn_cxx_try_link "$LINENO"; then :
12470 lt_aix_libpath_sed='
12471 /Import File Strings/,/^$/ {
12472 /^0/ {
12473 s/^0 *\(.*\)$/\1/
12477 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12478 # Check for a 64-bit object if we didn't find anything.
12479 if test -z "$aix_libpath"; then
12480 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12483 rm -f core conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12487 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12489 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"
12490 else
12491 if test "$host_cpu" = ia64; then
12492 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12493 allow_undefined_flag_CXX="-z nodefs"
12494 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"
12495 else
12496 # Determine the default libpath from the value encoded in an
12497 # empty executable.
12498 if test x$gcc_no_link = xyes; then
12499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12505 main ()
12509 return 0;
12511 _ACEOF
12512 if ac_fn_cxx_try_link "$LINENO"; then :
12514 lt_aix_libpath_sed='
12515 /Import File Strings/,/^$/ {
12516 /^0/ {
12517 s/^0 *\(.*\)$/\1/
12521 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12522 # Check for a 64-bit object if we didn't find anything.
12523 if test -z "$aix_libpath"; then
12524 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12527 rm -f core conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12529 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12531 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12532 # Warning - without using the other run time loading flags,
12533 # -berok will link without error, but may produce a broken library.
12534 no_undefined_flag_CXX=' ${wl}-bernotok'
12535 allow_undefined_flag_CXX=' ${wl}-berok'
12536 if test "$with_gnu_ld" = yes; then
12537 # We only use this code for GNU lds that support --whole-archive.
12538 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12539 else
12540 # Exported symbols can be pulled into shared objects from archives
12541 whole_archive_flag_spec_CXX='$convenience'
12543 archive_cmds_need_lc_CXX=yes
12544 # This is similar to how AIX traditionally builds its shared
12545 # libraries.
12546 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'
12551 beos*)
12552 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12553 allow_undefined_flag_CXX=unsupported
12554 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12555 # support --undefined. This deserves some investigation. FIXME
12556 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12557 else
12558 ld_shlibs_CXX=no
12562 chorus*)
12563 case $cc_basename in
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12568 esac
12571 cygwin* | mingw* | pw32* | cegcc*)
12572 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12573 # as there is no search path for DLLs.
12574 hardcode_libdir_flag_spec_CXX='-L$libdir'
12575 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12576 allow_undefined_flag_CXX=unsupported
12577 always_export_symbols_CXX=no
12578 enable_shared_with_static_runtimes_CXX=yes
12580 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12581 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'
12582 # If the export-symbols file already is a .def file (1st line
12583 # is EXPORTS), use it as is; otherwise, prepend...
12584 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12585 cp $export_symbols $output_objdir/$soname.def;
12586 else
12587 echo EXPORTS > $output_objdir/$soname.def;
12588 cat $export_symbols >> $output_objdir/$soname.def;
12590 $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'
12591 else
12592 ld_shlibs_CXX=no
12595 darwin* | rhapsody*)
12598 archive_cmds_need_lc_CXX=no
12599 hardcode_direct_CXX=no
12600 hardcode_automatic_CXX=yes
12601 hardcode_shlibpath_var_CXX=unsupported
12602 if test "$lt_cv_ld_force_load" = "yes"; then
12603 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\"`'
12604 else
12605 whole_archive_flag_spec_CXX=''
12607 link_all_deplibs_CXX=yes
12608 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12609 case $cc_basename in
12610 ifort*) _lt_dar_can_shared=yes ;;
12611 *) _lt_dar_can_shared=$GCC ;;
12612 esac
12613 if test "$_lt_dar_can_shared" = "yes"; then
12614 output_verbose_link_cmd=func_echo_all
12615 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}"
12616 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12617 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}"
12618 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}"
12619 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12620 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}"
12621 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}"
12624 else
12625 ld_shlibs_CXX=no
12630 dgux*)
12631 case $cc_basename in
12632 ec++*)
12633 # FIXME: insert proper C++ library support
12634 ld_shlibs_CXX=no
12636 ghcx*)
12637 # Green Hills C++ Compiler
12638 # FIXME: insert proper C++ library support
12639 ld_shlibs_CXX=no
12642 # FIXME: insert proper C++ library support
12643 ld_shlibs_CXX=no
12645 esac
12648 freebsd2.*)
12649 # C++ shared libraries reported to be fairly broken before
12650 # switch to ELF
12651 ld_shlibs_CXX=no
12654 freebsd-elf*)
12655 archive_cmds_need_lc_CXX=no
12658 freebsd* | dragonfly*)
12659 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12660 # conventions
12661 ld_shlibs_CXX=yes
12664 gnu*)
12667 haiku*)
12668 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12669 link_all_deplibs_CXX=yes
12672 hpux9*)
12673 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12674 hardcode_libdir_separator_CXX=:
12675 export_dynamic_flag_spec_CXX='${wl}-E'
12676 hardcode_direct_CXX=yes
12677 hardcode_minus_L_CXX=yes # Not in the search PATH,
12678 # but as the default
12679 # location of the library.
12681 case $cc_basename in
12682 CC*)
12683 # FIXME: insert proper C++ library support
12684 ld_shlibs_CXX=no
12686 aCC*)
12687 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'
12688 # Commands to make compiler produce verbose output that lists
12689 # what "hidden" libraries, object files and flags are used when
12690 # linking a shared library.
12692 # There doesn't appear to be a way to prevent this compiler from
12693 # explicitly linking system object files so we need to strip them
12694 # from the output so that they don't get included in the library
12695 # dependencies.
12696 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"'
12699 if test "$GXX" = yes; then
12700 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'
12701 else
12702 # FIXME: insert proper C++ library support
12703 ld_shlibs_CXX=no
12706 esac
12709 hpux10*|hpux11*)
12710 if test $with_gnu_ld = no; then
12711 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12712 hardcode_libdir_separator_CXX=:
12714 case $host_cpu in
12715 hppa*64*|ia64*)
12718 export_dynamic_flag_spec_CXX='${wl}-E'
12720 esac
12722 case $host_cpu in
12723 hppa*64*|ia64*)
12724 hardcode_direct_CXX=no
12725 hardcode_shlibpath_var_CXX=no
12728 hardcode_direct_CXX=yes
12729 hardcode_direct_absolute_CXX=yes
12730 hardcode_minus_L_CXX=yes # Not in the search PATH,
12731 # but as the default
12732 # location of the library.
12734 esac
12736 case $cc_basename in
12737 CC*)
12738 # FIXME: insert proper C++ library support
12739 ld_shlibs_CXX=no
12741 aCC*)
12742 case $host_cpu in
12743 hppa*64*)
12744 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12746 ia64*)
12747 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12750 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12752 esac
12753 # Commands to make compiler produce verbose output that lists
12754 # what "hidden" libraries, object files and flags are used when
12755 # linking a shared library.
12757 # There doesn't appear to be a way to prevent this compiler from
12758 # explicitly linking system object files so we need to strip them
12759 # from the output so that they don't get included in the library
12760 # dependencies.
12761 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"'
12764 if test "$GXX" = yes; then
12765 if test $with_gnu_ld = no; then
12766 case $host_cpu in
12767 hppa*64*)
12768 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12770 ia64*)
12771 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12774 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'
12776 esac
12778 else
12779 # FIXME: insert proper C++ library support
12780 ld_shlibs_CXX=no
12783 esac
12786 interix[3-9]*)
12787 hardcode_direct_CXX=no
12788 hardcode_shlibpath_var_CXX=no
12789 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}-E'
12791 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12792 # Instead, shared libraries are loaded at an image base (0x10000000 by
12793 # default) and relocated if they conflict, which is a slow very memory
12794 # consuming and fragmenting process. To avoid this, we pick a random,
12795 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12796 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12797 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'
12798 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'
12800 irix5* | irix6*)
12801 case $cc_basename in
12802 CC*)
12803 # SGI C++
12804 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'
12806 # Archives containing C++ object files must be created using
12807 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12808 # necessary to make sure instantiated templates are included
12809 # in the archive.
12810 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12813 if test "$GXX" = yes; then
12814 if test "$with_gnu_ld" = no; then
12815 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'
12816 else
12817 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'
12820 link_all_deplibs_CXX=yes
12822 esac
12823 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824 hardcode_libdir_separator_CXX=:
12825 inherit_rpath_CXX=yes
12828 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12829 case $cc_basename in
12830 KCC*)
12831 # Kuck and Associates, Inc. (KAI) C++ Compiler
12833 # KCC will only create a shared library if the output file
12834 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12835 # to its proper name (with version) after linking.
12836 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'
12837 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'
12838 # Commands to make compiler produce verbose output that lists
12839 # what "hidden" libraries, object files and flags are used when
12840 # linking a shared library.
12842 # There doesn't appear to be a way to prevent this compiler from
12843 # explicitly linking system object files so we need to strip them
12844 # from the output so that they don't get included in the library
12845 # dependencies.
12846 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"'
12848 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12849 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12851 # Archives containing C++ object files must be created using
12852 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12853 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12855 icpc* | ecpc* )
12856 # Intel C++
12857 with_gnu_ld=yes
12858 # version 8.0 and above of icpc choke on multiply defined symbols
12859 # if we add $predep_objects and $postdep_objects, however 7.1 and
12860 # earlier do not add the objects themselves.
12861 case `$CC -V 2>&1` in
12862 *"Version 7."*)
12863 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12864 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'
12866 *) # Version 8.0 or newer
12867 tmp_idyn=
12868 case $host_cpu in
12869 ia64*) tmp_idyn=' -i_dynamic';;
12870 esac
12871 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872 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'
12874 esac
12875 archive_cmds_need_lc_CXX=no
12876 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12877 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12878 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12880 pgCC* | pgcpp*)
12881 # Portland Group C++ compiler
12882 case `$CC -V` in
12883 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12884 prelink_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12887 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12888 old_archive_cmds_CXX='tpldir=Template.dir~
12889 rm -rf $tpldir~
12890 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12891 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12892 $RANLIB $oldlib'
12893 archive_cmds_CXX='tpldir=Template.dir~
12894 rm -rf $tpldir~
12895 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12896 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12897 archive_expsym_cmds_CXX='tpldir=Template.dir~
12898 rm -rf $tpldir~
12899 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12900 $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'
12902 *) # Version 6 and above use weak symbols
12903 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12904 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'
12906 esac
12908 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12909 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12910 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'
12912 cxx*)
12913 # Compaq C++
12914 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915 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'
12917 runpath_var=LD_RUN_PATH
12918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12919 hardcode_libdir_separator_CXX=:
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12925 # There doesn't appear to be a way to prevent this compiler from
12926 # explicitly linking system object files so we need to strip them
12927 # from the output so that they don't get included in the library
12928 # dependencies.
12929 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'
12931 xl* | mpixl* | bgxl*)
12932 # IBM XL 8.0 on PPC, with GNU ld
12933 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12934 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12935 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936 if test "x$supports_anon_versioning" = xyes; then
12937 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939 echo "local: *; };" >> $output_objdir/$libname.ver~
12940 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12944 case `$CC -V 2>&1 | sed 5q` in
12945 *Sun\ C*)
12946 # Sun C++ 5.9
12947 no_undefined_flag_CXX=' -zdefs'
12948 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12949 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'
12950 hardcode_libdir_flag_spec_CXX='-R$libdir'
12951 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'
12952 compiler_needs_object_CXX=yes
12954 # Not sure whether something based on
12955 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12956 # would be better.
12957 output_verbose_link_cmd='func_echo_all'
12959 # Archives containing C++ object files must be created using
12960 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12961 # necessary to make sure instantiated templates are included
12962 # in the archive.
12963 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12965 esac
12967 esac
12970 lynxos*)
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12975 m88k*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12980 mvs*)
12981 case $cc_basename in
12982 cxx*)
12983 # FIXME: insert proper C++ library support
12984 ld_shlibs_CXX=no
12987 # FIXME: insert proper C++ library support
12988 ld_shlibs_CXX=no
12990 esac
12993 netbsd*)
12994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12995 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12996 wlarc=
12997 hardcode_libdir_flag_spec_CXX='-R$libdir'
12998 hardcode_direct_CXX=yes
12999 hardcode_shlibpath_var_CXX=no
13001 # Workaround some broken pre-1.5 toolchains
13002 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13005 *nto* | *qnx*)
13006 ld_shlibs_CXX=yes
13009 openbsd2*)
13010 # C++ shared libraries are fairly broken
13011 ld_shlibs_CXX=no
13014 openbsd*)
13015 if test -f /usr/libexec/ld.so; then
13016 hardcode_direct_CXX=yes
13017 hardcode_shlibpath_var_CXX=no
13018 hardcode_direct_absolute_CXX=yes
13019 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13020 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13021 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13022 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13023 export_dynamic_flag_spec_CXX='${wl}-E'
13024 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13026 output_verbose_link_cmd=func_echo_all
13027 else
13028 ld_shlibs_CXX=no
13032 osf3* | osf4* | osf5*)
13033 case $cc_basename in
13034 KCC*)
13035 # Kuck and Associates, Inc. (KAI) C++ Compiler
13037 # KCC will only create a shared library if the output file
13038 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13039 # to its proper name (with version) after linking.
13040 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'
13042 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13043 hardcode_libdir_separator_CXX=:
13045 # Archives containing C++ object files must be created using
13046 # the KAI C++ compiler.
13047 case $host in
13048 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13049 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13050 esac
13052 RCC*)
13053 # Rational C++ 2.4.1
13054 # FIXME: insert proper C++ library support
13055 ld_shlibs_CXX=no
13057 cxx*)
13058 case $host in
13059 osf3*)
13060 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13061 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'
13062 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13065 allow_undefined_flag_CXX=' -expect_unresolved \*'
13066 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'
13067 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13068 echo "-hidden">> $lib.exp~
13069 $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~
13070 $RM $lib.exp'
13071 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13073 esac
13075 hardcode_libdir_separator_CXX=:
13077 # Commands to make compiler produce verbose output that lists
13078 # what "hidden" libraries, object files and flags are used when
13079 # linking a shared library.
13081 # There doesn't appear to be a way to prevent this compiler from
13082 # explicitly linking system object files so we need to strip them
13083 # from the output so that they don't get included in the library
13084 # dependencies.
13085 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"'
13088 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13089 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13090 case $host in
13091 osf3*)
13092 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'
13095 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'
13097 esac
13099 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13100 hardcode_libdir_separator_CXX=:
13102 # Commands to make compiler produce verbose output that lists
13103 # what "hidden" libraries, object files and flags are used when
13104 # linking a shared library.
13105 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107 else
13108 # FIXME: insert proper C++ library support
13109 ld_shlibs_CXX=no
13112 esac
13115 psos*)
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13120 sunos4*)
13121 case $cc_basename in
13122 CC*)
13123 # Sun C++ 4.x
13124 # FIXME: insert proper C++ library support
13125 ld_shlibs_CXX=no
13127 lcc*)
13128 # Lucid
13129 # FIXME: insert proper C++ library support
13130 ld_shlibs_CXX=no
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13136 esac
13139 solaris*)
13140 case $cc_basename in
13141 CC*)
13142 # Sun C++ 4.2, 5.x and Centerline C++
13143 archive_cmds_need_lc_CXX=yes
13144 no_undefined_flag_CXX=' -zdefs'
13145 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13146 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13147 $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'
13149 hardcode_libdir_flag_spec_CXX='-R$libdir'
13150 hardcode_shlibpath_var_CXX=no
13151 case $host_os in
13152 solaris2.[0-5] | solaris2.[0-5].*) ;;
13154 # The compiler driver will combine and reorder linker options,
13155 # but understands `-z linker_flag'.
13156 # Supported since Solaris 2.6 (maybe 2.5.1?)
13157 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13159 esac
13160 link_all_deplibs_CXX=yes
13162 output_verbose_link_cmd='func_echo_all'
13164 # Archives containing C++ object files must be created using
13165 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13166 # necessary to make sure instantiated templates are included
13167 # in the archive.
13168 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13170 gcx*)
13171 # Green Hills C++ Compiler
13172 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13174 # The C++ compiler must be used to create the archive.
13175 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13178 # GNU C++ compiler with Solaris linker
13179 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13180 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13181 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13182 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13190 else
13191 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13192 # platform.
13193 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13194 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13195 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13197 # Commands to make compiler produce verbose output that lists
13198 # what "hidden" libraries, object files and flags are used when
13199 # linking a shared library.
13200 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13203 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13204 case $host_os in
13205 solaris2.[0-5] | solaris2.[0-5].*) ;;
13207 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13209 esac
13212 esac
13215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13216 no_undefined_flag_CXX='${wl}-z,text'
13217 archive_cmds_need_lc_CXX=no
13218 hardcode_shlibpath_var_CXX=no
13219 runpath_var='LD_RUN_PATH'
13221 case $cc_basename in
13222 CC*)
13223 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13227 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13230 esac
13233 sysv5* | sco3.2v5* | sco5v6*)
13234 # Note: We can NOT use -z defs as we might desire, because we do not
13235 # link with -lc, and that would cause any symbols used from libc to
13236 # always be unresolved, which means just about no library would
13237 # ever link correctly. If we're not using GNU ld we use -z text
13238 # though, which does catch some bad symbols but isn't as heavy-handed
13239 # as -z defs.
13240 no_undefined_flag_CXX='${wl}-z,text'
13241 allow_undefined_flag_CXX='${wl}-z,nodefs'
13242 archive_cmds_need_lc_CXX=no
13243 hardcode_shlibpath_var_CXX=no
13244 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13245 hardcode_libdir_separator_CXX=':'
13246 link_all_deplibs_CXX=yes
13247 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13248 runpath_var='LD_RUN_PATH'
13250 case $cc_basename in
13251 CC*)
13252 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13254 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13255 '"$old_archive_cmds_CXX"
13256 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13257 '"$reload_cmds_CXX"
13260 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13263 esac
13266 tandem*)
13267 case $cc_basename in
13268 NCC*)
13269 # NonStop-UX NCC 3.20
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13274 # FIXME: insert proper C++ library support
13275 ld_shlibs_CXX=no
13277 esac
13280 vxworks*)
13281 # FIXME: insert proper C++ library support
13282 ld_shlibs_CXX=no
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13289 esac
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13292 $as_echo "$ld_shlibs_CXX" >&6; }
13293 test "$ld_shlibs_CXX" = no && can_build_shared=no
13295 GCC_CXX="$GXX"
13296 LD_CXX="$LD"
13298 ## CAVEAT EMPTOR:
13299 ## There is no encapsulation within the following macros, do not change
13300 ## the running order or otherwise move them around unless you know exactly
13301 ## what you are doing...
13302 # Dependencies to place before and after the object being linked:
13303 predep_objects_CXX=
13304 postdep_objects_CXX=
13305 predeps_CXX=
13306 postdeps_CXX=
13307 compiler_lib_search_path_CXX=
13309 cat > conftest.$ac_ext <<_LT_EOF
13310 class Foo
13312 public:
13313 Foo (void) { a = 0; }
13314 private:
13315 int a;
13317 _LT_EOF
13319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13320 (eval $ac_compile) 2>&5
13321 ac_status=$?
13322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13323 test $ac_status = 0; }; then
13324 # Parse the compiler output and extract the necessary
13325 # objects, libraries and library flags.
13327 # Sentinel used to keep track of whether or not we are before
13328 # the conftest object file.
13329 pre_test_object_deps_done=no
13331 for p in `eval "$output_verbose_link_cmd"`; do
13332 case $p in
13334 -L* | -R* | -l*)
13335 # Some compilers place space between "-{L,R}" and the path.
13336 # Remove the space.
13337 if test $p = "-L" ||
13338 test $p = "-R"; then
13339 prev=$p
13340 continue
13341 else
13342 prev=
13345 if test "$pre_test_object_deps_done" = no; then
13346 case $p in
13347 -L* | -R*)
13348 # Internal compiler library paths should come after those
13349 # provided the user. The postdeps already come after the
13350 # user supplied libs so there is no need to process them.
13351 if test -z "$compiler_lib_search_path_CXX"; then
13352 compiler_lib_search_path_CXX="${prev}${p}"
13353 else
13354 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13357 # The "-l" case would never come before the object being
13358 # linked, so don't bother handling this case.
13359 esac
13360 else
13361 if test -z "$postdeps_CXX"; then
13362 postdeps_CXX="${prev}${p}"
13363 else
13364 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13369 *.$objext)
13370 # This assumes that the test object file only shows up
13371 # once in the compiler output.
13372 if test "$p" = "conftest.$objext"; then
13373 pre_test_object_deps_done=yes
13374 continue
13377 if test "$pre_test_object_deps_done" = no; then
13378 if test -z "$predep_objects_CXX"; then
13379 predep_objects_CXX="$p"
13380 else
13381 predep_objects_CXX="$predep_objects_CXX $p"
13383 else
13384 if test -z "$postdep_objects_CXX"; then
13385 postdep_objects_CXX="$p"
13386 else
13387 postdep_objects_CXX="$postdep_objects_CXX $p"
13392 *) ;; # Ignore the rest.
13394 esac
13395 done
13397 # Clean up.
13398 rm -f a.out a.exe
13399 else
13400 echo "libtool.m4: error: problem compiling CXX test program"
13403 $RM -f confest.$objext
13405 # PORTME: override above test on systems where it is broken
13406 case $host_os in
13407 interix[3-9]*)
13408 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13409 # hack all around it, let's just trust "g++" to DTRT.
13410 predep_objects_CXX=
13411 postdep_objects_CXX=
13412 postdeps_CXX=
13415 linux*)
13416 case `$CC -V 2>&1 | sed 5q` in
13417 *Sun\ C*)
13418 # Sun C++ 5.9
13420 # The more standards-conforming stlport4 library is
13421 # incompatible with the Cstd library. Avoid specifying
13422 # it if it's in CXXFLAGS. Ignore libCrun as
13423 # -library=stlport4 depends on it.
13424 case " $CXX $CXXFLAGS " in
13425 *" -library=stlport4 "*)
13426 solaris_use_stlport4=yes
13428 esac
13430 if test "$solaris_use_stlport4" != yes; then
13431 postdeps_CXX='-library=Cstd -library=Crun'
13434 esac
13437 solaris*)
13438 case $cc_basename in
13439 CC*)
13440 # The more standards-conforming stlport4 library is
13441 # incompatible with the Cstd library. Avoid specifying
13442 # it if it's in CXXFLAGS. Ignore libCrun as
13443 # -library=stlport4 depends on it.
13444 case " $CXX $CXXFLAGS " in
13445 *" -library=stlport4 "*)
13446 solaris_use_stlport4=yes
13448 esac
13450 # Adding this requires a known-good setup of shared libraries for
13451 # Sun compiler versions before 5.6, else PIC objects from an old
13452 # archive will be linked into the output, leading to subtle bugs.
13453 if test "$solaris_use_stlport4" != yes; then
13454 postdeps_CXX='-library=Cstd -library=Crun'
13457 esac
13459 esac
13462 case " $postdeps_CXX " in
13463 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13464 esac
13465 compiler_lib_search_dirs_CXX=
13466 if test -n "${compiler_lib_search_path_CXX}"; then
13467 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13500 lt_prog_compiler_wl_CXX=
13501 lt_prog_compiler_pic_CXX=
13502 lt_prog_compiler_static_CXX=
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13507 # C++ specific cases for pic, static, wl, etc.
13508 if test "$GXX" = yes; then
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='-static'
13512 case $host_os in
13513 aix*)
13514 # All AIX code is PIC.
13515 if test "$host_cpu" = ia64; then
13516 # AIX 5 now supports IA64 processor
13517 lt_prog_compiler_static_CXX='-Bstatic'
13519 lt_prog_compiler_pic_CXX='-fPIC'
13522 amigaos*)
13523 case $host_cpu in
13524 powerpc)
13525 # see comment about AmigaOS4 .so support
13526 lt_prog_compiler_pic_CXX='-fPIC'
13528 m68k)
13529 # FIXME: we need at least 68020 code to build shared libraries, but
13530 # adding the `-m68020' flag to GCC prevents building anything better,
13531 # like `-m68040'.
13532 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13534 esac
13537 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13538 # PIC is the default for these OSes.
13540 mingw* | cygwin* | os2* | pw32* | cegcc*)
13541 # This hack is so that the source file can tell whether it is being
13542 # built for inclusion in a dll (and should export symbols for example).
13543 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13544 # (--disable-auto-import) libraries
13545 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13547 darwin* | rhapsody*)
13548 # PIC is the default on this platform
13549 # Common symbols not allowed in MH_DYLIB files
13550 lt_prog_compiler_pic_CXX='-fno-common'
13552 *djgpp*)
13553 # DJGPP does not support shared libraries at all
13554 lt_prog_compiler_pic_CXX=
13556 haiku*)
13557 # PIC is the default for Haiku.
13558 # The "-static" flag exists, but is broken.
13559 lt_prog_compiler_static_CXX=
13561 interix[3-9]*)
13562 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13563 # Instead, we relocate shared libraries at runtime.
13565 sysv4*MP*)
13566 if test -d /usr/nec; then
13567 lt_prog_compiler_pic_CXX=-Kconform_pic
13570 hpux*)
13571 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13572 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13573 # sets the default TLS model and affects inlining.
13574 case $host_cpu in
13575 hppa*64*)
13578 lt_prog_compiler_pic_CXX='-fPIC'
13580 esac
13582 *qnx* | *nto*)
13583 # QNX uses GNU C++, but need to define -shared option too, otherwise
13584 # it will coredump.
13585 lt_prog_compiler_pic_CXX='-fPIC -shared'
13588 lt_prog_compiler_pic_CXX='-fPIC'
13590 esac
13591 else
13592 case $host_os in
13593 aix[4-9]*)
13594 # All AIX code is PIC.
13595 if test "$host_cpu" = ia64; then
13596 # AIX 5 now supports IA64 processor
13597 lt_prog_compiler_static_CXX='-Bstatic'
13598 else
13599 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13602 chorus*)
13603 case $cc_basename in
13604 cxch68*)
13605 # Green Hills C++ Compiler
13606 # _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"
13608 esac
13610 dgux*)
13611 case $cc_basename in
13612 ec++*)
13613 lt_prog_compiler_pic_CXX='-KPIC'
13615 ghcx*)
13616 # Green Hills C++ Compiler
13617 lt_prog_compiler_pic_CXX='-pic'
13621 esac
13623 freebsd* | dragonfly*)
13624 # FreeBSD uses GNU C++
13626 hpux9* | hpux10* | hpux11*)
13627 case $cc_basename in
13628 CC*)
13629 lt_prog_compiler_wl_CXX='-Wl,'
13630 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13631 if test "$host_cpu" != ia64; then
13632 lt_prog_compiler_pic_CXX='+Z'
13635 aCC*)
13636 lt_prog_compiler_wl_CXX='-Wl,'
13637 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13638 case $host_cpu in
13639 hppa*64*|ia64*)
13640 # +Z the default
13643 lt_prog_compiler_pic_CXX='+Z'
13645 esac
13649 esac
13651 interix*)
13652 # This is c89, which is MS Visual C++ (no shared libs)
13653 # Anyone wants to do a port?
13655 irix5* | irix6* | nonstopux*)
13656 case $cc_basename in
13657 CC*)
13658 lt_prog_compiler_wl_CXX='-Wl,'
13659 lt_prog_compiler_static_CXX='-non_shared'
13660 # CC pic flag -KPIC is the default.
13664 esac
13666 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13667 case $cc_basename in
13668 KCC*)
13669 # KAI C++ Compiler
13670 lt_prog_compiler_wl_CXX='--backend -Wl,'
13671 lt_prog_compiler_pic_CXX='-fPIC'
13673 ecpc* )
13674 # old Intel C++ for x86_64 which still supported -KPIC.
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-KPIC'
13677 lt_prog_compiler_static_CXX='-static'
13679 icpc* )
13680 # Intel C++, used to be incompatible with GCC.
13681 # ICC 10 doesn't accept -KPIC any more.
13682 lt_prog_compiler_wl_CXX='-Wl,'
13683 lt_prog_compiler_pic_CXX='-fPIC'
13684 lt_prog_compiler_static_CXX='-static'
13686 pgCC* | pgcpp*)
13687 # Portland Group C++ compiler
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-fpic'
13690 lt_prog_compiler_static_CXX='-Bstatic'
13692 cxx*)
13693 # Compaq C++
13694 # Make sure the PIC flag is empty. It appears that all Alpha
13695 # Linux and Compaq Tru64 Unix objects are PIC.
13696 lt_prog_compiler_pic_CXX=
13697 lt_prog_compiler_static_CXX='-non_shared'
13699 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13700 # IBM XL 8.0, 9.0 on PPC and BlueGene
13701 lt_prog_compiler_wl_CXX='-Wl,'
13702 lt_prog_compiler_pic_CXX='-qpic'
13703 lt_prog_compiler_static_CXX='-qstaticlink'
13706 case `$CC -V 2>&1 | sed 5q` in
13707 *Sun\ C*)
13708 # Sun C++ 5.9
13709 lt_prog_compiler_pic_CXX='-KPIC'
13710 lt_prog_compiler_static_CXX='-Bstatic'
13711 lt_prog_compiler_wl_CXX='-Qoption ld '
13713 esac
13715 esac
13717 lynxos*)
13719 m88k*)
13721 mvs*)
13722 case $cc_basename in
13723 cxx*)
13724 lt_prog_compiler_pic_CXX='-W c,exportall'
13728 esac
13730 netbsd*)
13732 *qnx* | *nto*)
13733 # QNX uses GNU C++, but need to define -shared option too, otherwise
13734 # it will coredump.
13735 lt_prog_compiler_pic_CXX='-fPIC -shared'
13737 osf3* | osf4* | osf5*)
13738 case $cc_basename in
13739 KCC*)
13740 lt_prog_compiler_wl_CXX='--backend -Wl,'
13742 RCC*)
13743 # Rational C++ 2.4.1
13744 lt_prog_compiler_pic_CXX='-pic'
13746 cxx*)
13747 # Digital/Compaq C++
13748 lt_prog_compiler_wl_CXX='-Wl,'
13749 # Make sure the PIC flag is empty. It appears that all Alpha
13750 # Linux and Compaq Tru64 Unix objects are PIC.
13751 lt_prog_compiler_pic_CXX=
13752 lt_prog_compiler_static_CXX='-non_shared'
13756 esac
13758 psos*)
13760 solaris*)
13761 case $cc_basename in
13762 CC*)
13763 # Sun C++ 4.2, 5.x and Centerline C++
13764 lt_prog_compiler_pic_CXX='-KPIC'
13765 lt_prog_compiler_static_CXX='-Bstatic'
13766 lt_prog_compiler_wl_CXX='-Qoption ld '
13768 gcx*)
13769 # Green Hills C++ Compiler
13770 lt_prog_compiler_pic_CXX='-PIC'
13774 esac
13776 sunos4*)
13777 case $cc_basename in
13778 CC*)
13779 # Sun C++ 4.x
13780 lt_prog_compiler_pic_CXX='-pic'
13781 lt_prog_compiler_static_CXX='-Bstatic'
13783 lcc*)
13784 # Lucid
13785 lt_prog_compiler_pic_CXX='-pic'
13789 esac
13791 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13792 case $cc_basename in
13793 CC*)
13794 lt_prog_compiler_wl_CXX='-Wl,'
13795 lt_prog_compiler_pic_CXX='-KPIC'
13796 lt_prog_compiler_static_CXX='-Bstatic'
13798 esac
13800 tandem*)
13801 case $cc_basename in
13802 NCC*)
13803 # NonStop-UX NCC 3.20
13804 lt_prog_compiler_pic_CXX='-KPIC'
13808 esac
13810 vxworks*)
13813 lt_prog_compiler_can_build_shared_CXX=no
13815 esac
13818 case $host_os in
13819 # For platforms which do not support PIC, -DPIC is meaningless:
13820 *djgpp*)
13821 lt_prog_compiler_pic_CXX=
13824 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13826 esac
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13828 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13833 # Check to make sure the PIC flag actually works.
13835 if test -n "$lt_prog_compiler_pic_CXX"; then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13837 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13838 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 lt_cv_prog_compiler_pic_works_CXX=no
13842 ac_outfile=conftest.$ac_objext
13843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13844 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13845 # Insert the option either (1) after the last *FLAGS variable, or
13846 # (2) before a word containing "conftest.", or (3) at the end.
13847 # Note that $ac_compile itself does not contain backslashes and begins
13848 # with a dollar sign (not a hyphen), so the echo should work correctly.
13849 # The option is referenced via a variable to avoid confusing sed.
13850 lt_compile=`echo "$ac_compile" | $SED \
13851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13853 -e 's:$: $lt_compiler_flag:'`
13854 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13855 (eval "$lt_compile" 2>conftest.err)
13856 ac_status=$?
13857 cat conftest.err >&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 if (exit $ac_status) && test -s "$ac_outfile"; then
13860 # The compiler can only warn and ignore the option if not recognized
13861 # So say no if there are warnings other than the usual output.
13862 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13863 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13864 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13865 lt_cv_prog_compiler_pic_works_CXX=yes
13868 $RM conftest*
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13872 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13874 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13875 case $lt_prog_compiler_pic_CXX in
13876 "" | " "*) ;;
13877 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13878 esac
13879 else
13880 lt_prog_compiler_pic_CXX=
13881 lt_prog_compiler_can_build_shared_CXX=no
13889 # Check to make sure the static flag actually works.
13891 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13893 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13894 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 lt_cv_prog_compiler_static_works_CXX=no
13898 save_LDFLAGS="$LDFLAGS"
13899 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13900 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13901 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13902 # The linker can only warn and ignore the option if not recognized
13903 # So say no if there are warnings
13904 if test -s conftest.err; then
13905 # Append any errors to the config.log.
13906 cat conftest.err 1>&5
13907 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13908 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13909 if diff conftest.exp conftest.er2 >/dev/null; then
13910 lt_cv_prog_compiler_static_works_CXX=yes
13912 else
13913 lt_cv_prog_compiler_static_works_CXX=yes
13916 $RM -r conftest*
13917 LDFLAGS="$save_LDFLAGS"
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13921 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13923 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13925 else
13926 lt_prog_compiler_static_CXX=
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13934 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13935 $as_echo_n "(cached) " >&6
13936 else
13937 lt_cv_prog_compiler_c_o_CXX=no
13938 $RM -r conftest 2>/dev/null
13939 mkdir conftest
13940 cd conftest
13941 mkdir out
13942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13944 lt_compiler_flag="-o out/conftest2.$ac_objext"
13945 # Insert the option either (1) after the last *FLAGS variable, or
13946 # (2) before a word containing "conftest.", or (3) at the end.
13947 # Note that $ac_compile itself does not contain backslashes and begins
13948 # with a dollar sign (not a hyphen), so the echo should work correctly.
13949 lt_compile=`echo "$ac_compile" | $SED \
13950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13952 -e 's:$: $lt_compiler_flag:'`
13953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13954 (eval "$lt_compile" 2>out/conftest.err)
13955 ac_status=$?
13956 cat out/conftest.err >&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13959 then
13960 # The compiler can only warn and ignore the option if not recognized
13961 # So say no if there are warnings
13962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13965 lt_cv_prog_compiler_c_o_CXX=yes
13968 chmod u+w . 2>&5
13969 $RM conftest*
13970 # SGI C++ compiler will create directory out/ii_files/ for
13971 # template instantiation
13972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13973 $RM out/* && rmdir out
13974 cd ..
13975 $RM -r conftest
13976 $RM conftest*
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13980 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13985 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13986 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 lt_cv_prog_compiler_c_o_CXX=no
13990 $RM -r conftest 2>/dev/null
13991 mkdir conftest
13992 cd conftest
13993 mkdir out
13994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13996 lt_compiler_flag="-o out/conftest2.$ac_objext"
13997 # Insert the option either (1) after the last *FLAGS variable, or
13998 # (2) before a word containing "conftest.", or (3) at the end.
13999 # Note that $ac_compile itself does not contain backslashes and begins
14000 # with a dollar sign (not a hyphen), so the echo should work correctly.
14001 lt_compile=`echo "$ac_compile" | $SED \
14002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14004 -e 's:$: $lt_compiler_flag:'`
14005 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14006 (eval "$lt_compile" 2>out/conftest.err)
14007 ac_status=$?
14008 cat out/conftest.err >&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14011 then
14012 # The compiler can only warn and ignore the option if not recognized
14013 # So say no if there are warnings
14014 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14015 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14016 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14017 lt_cv_prog_compiler_c_o_CXX=yes
14020 chmod u+w . 2>&5
14021 $RM conftest*
14022 # SGI C++ compiler will create directory out/ii_files/ for
14023 # template instantiation
14024 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14025 $RM out/* && rmdir out
14026 cd ..
14027 $RM -r conftest
14028 $RM conftest*
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14032 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14037 hard_links="nottested"
14038 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14039 # do not overwrite the value of need_locks provided by the user
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14041 $as_echo_n "checking if we can lock with hard links... " >&6; }
14042 hard_links=yes
14043 $RM conftest*
14044 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14045 touch conftest.a
14046 ln conftest.a conftest.b 2>&5 || hard_links=no
14047 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14049 $as_echo "$hard_links" >&6; }
14050 if test "$hard_links" = no; then
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14052 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14053 need_locks=warn
14055 else
14056 need_locks=no
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14062 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14064 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14065 case $host_os in
14066 aix[4-9]*)
14067 # If we're using GNU nm, then we don't want the "-C" option.
14068 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14069 # Also, AIX nm treats weak defined symbols like other global defined
14070 # symbols, whereas GNU nm marks them as "W".
14071 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14072 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'
14073 else
14074 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14077 pw32*)
14078 export_symbols_cmds_CXX="$ltdll_cmds"
14080 cygwin* | mingw* | cegcc*)
14081 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'
14084 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14086 esac
14087 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14090 $as_echo "$ld_shlibs_CXX" >&6; }
14091 test "$ld_shlibs_CXX" = no && can_build_shared=no
14093 with_gnu_ld_CXX=$with_gnu_ld
14101 # Do we need to explicitly link libc?
14103 case "x$archive_cmds_need_lc_CXX" in
14104 x|xyes)
14105 # Assume -lc should be added
14106 archive_cmds_need_lc_CXX=yes
14108 if test "$enable_shared" = yes && test "$GCC" = yes; then
14109 case $archive_cmds_CXX in
14110 *'~'*)
14111 # FIXME: we may have to deal with multi-command sequences.
14113 '$CC '*)
14114 # Test whether the compiler implicitly links with -lc since on some
14115 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14116 # to ld, don't add -lc before -lgcc.
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14118 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14119 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 $RM conftest*
14123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14126 (eval $ac_compile) 2>&5
14127 ac_status=$?
14128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14129 test $ac_status = 0; } 2>conftest.err; then
14130 soname=conftest
14131 lib=conftest
14132 libobjs=conftest.$ac_objext
14133 deplibs=
14134 wl=$lt_prog_compiler_wl_CXX
14135 pic_flag=$lt_prog_compiler_pic_CXX
14136 compiler_flags=-v
14137 linker_flags=-v
14138 verstring=
14139 output_objdir=.
14140 libname=conftest
14141 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14142 allow_undefined_flag_CXX=
14143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14144 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14145 ac_status=$?
14146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14147 test $ac_status = 0; }
14148 then
14149 lt_cv_archive_cmds_need_lc_CXX=no
14150 else
14151 lt_cv_archive_cmds_need_lc_CXX=yes
14153 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14154 else
14155 cat conftest.err 1>&5
14157 $RM conftest*
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14161 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14162 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14164 esac
14167 esac
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14233 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14235 library_names_spec=
14236 libname_spec='lib$name'
14237 soname_spec=
14238 shrext_cmds=".so"
14239 postinstall_cmds=
14240 postuninstall_cmds=
14241 finish_cmds=
14242 finish_eval=
14243 shlibpath_var=
14244 shlibpath_overrides_runpath=unknown
14245 version_type=none
14246 dynamic_linker="$host_os ld.so"
14247 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14248 need_lib_prefix=unknown
14249 hardcode_into_libs=no
14251 # when you set need_version to no, make sure it does not cause -set_version
14252 # flags to be left without arguments
14253 need_version=unknown
14255 case $host_os in
14256 aix3*)
14257 version_type=linux
14258 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14259 shlibpath_var=LIBPATH
14261 # AIX 3 has no versioning support, so we append a major version to the name.
14262 soname_spec='${libname}${release}${shared_ext}$major'
14265 aix[4-9]*)
14266 version_type=linux
14267 need_lib_prefix=no
14268 need_version=no
14269 hardcode_into_libs=yes
14270 if test "$host_cpu" = ia64; then
14271 # AIX 5 supports IA64
14272 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14273 shlibpath_var=LD_LIBRARY_PATH
14274 else
14275 # With GCC up to 2.95.x, collect2 would create an import file
14276 # for dependence libraries. The import file would start with
14277 # the line `#! .'. This would cause the generated library to
14278 # depend on `.', always an invalid library. This was fixed in
14279 # development snapshots of GCC prior to 3.0.
14280 case $host_os in
14281 aix4 | aix4.[01] | aix4.[01].*)
14282 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14283 echo ' yes '
14284 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14286 else
14287 can_build_shared=no
14290 esac
14291 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14292 # soname into executable. Probably we can add versioning support to
14293 # collect2, so additional links can be useful in future.
14294 if test "$aix_use_runtimelinking" = yes; then
14295 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14296 # instead of lib<name>.a to let people know that these are not
14297 # typical AIX shared libraries.
14298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14299 else
14300 # We preserve .a as extension for shared libraries through AIX4.2
14301 # and later when we are not doing run time linking.
14302 library_names_spec='${libname}${release}.a $libname.a'
14303 soname_spec='${libname}${release}${shared_ext}$major'
14305 shlibpath_var=LIBPATH
14309 amigaos*)
14310 case $host_cpu in
14311 powerpc)
14312 # Since July 2007 AmigaOS4 officially supports .so libraries.
14313 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14316 m68k)
14317 library_names_spec='$libname.ixlibrary $libname.a'
14318 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14319 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'
14321 esac
14324 beos*)
14325 library_names_spec='${libname}${shared_ext}'
14326 dynamic_linker="$host_os ld.so"
14327 shlibpath_var=LIBRARY_PATH
14330 bsdi[45]*)
14331 version_type=linux
14332 need_version=no
14333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14334 soname_spec='${libname}${release}${shared_ext}$major'
14335 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14336 shlibpath_var=LD_LIBRARY_PATH
14337 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14338 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14339 # the default ld.so.conf also contains /usr/contrib/lib and
14340 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14341 # libtool to hard-code these into programs
14344 cygwin* | mingw* | pw32* | cegcc*)
14345 version_type=windows
14346 shrext_cmds=".dll"
14347 need_version=no
14348 need_lib_prefix=no
14350 case $GCC,$host_os in
14351 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14352 library_names_spec='$libname.dll.a'
14353 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14354 postinstall_cmds='base_file=`basename \${file}`~
14355 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14356 dldir=$destdir/`dirname \$dlpath`~
14357 test -d \$dldir || mkdir -p \$dldir~
14358 $install_prog $dir/$dlname \$dldir/$dlname~
14359 chmod a+x \$dldir/$dlname~
14360 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14361 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14363 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14364 dlpath=$dir/\$dldll~
14365 $RM \$dlpath'
14366 shlibpath_overrides_runpath=yes
14368 case $host_os in
14369 cygwin*)
14370 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14371 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14374 mingw* | cegcc*)
14375 # MinGW DLLs use traditional 'lib' prefix
14376 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14378 pw32*)
14379 # pw32 DLLs use 'pw' prefix rather than 'lib'
14380 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14382 esac
14386 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14388 esac
14389 dynamic_linker='Win32 ld.exe'
14390 # FIXME: first we should search . and the directory the executable is in
14391 shlibpath_var=PATH
14394 darwin* | rhapsody*)
14395 dynamic_linker="$host_os dyld"
14396 version_type=darwin
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14400 soname_spec='${libname}${release}${major}$shared_ext'
14401 shlibpath_overrides_runpath=yes
14402 shlibpath_var=DYLD_LIBRARY_PATH
14403 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14405 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14408 dgux*)
14409 version_type=linux
14410 need_lib_prefix=no
14411 need_version=no
14412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14413 soname_spec='${libname}${release}${shared_ext}$major'
14414 shlibpath_var=LD_LIBRARY_PATH
14417 freebsd* | dragonfly*)
14418 # DragonFly does not have aout. When/if they implement a new
14419 # versioning mechanism, adjust this.
14420 if test -x /usr/bin/objformat; then
14421 objformat=`/usr/bin/objformat`
14422 else
14423 case $host_os in
14424 freebsd[23].*) objformat=aout ;;
14425 *) objformat=elf ;;
14426 esac
14428 version_type=freebsd-$objformat
14429 case $version_type in
14430 freebsd-elf*)
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14432 need_version=no
14433 need_lib_prefix=no
14435 freebsd-*)
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14437 need_version=yes
14439 esac
14440 shlibpath_var=LD_LIBRARY_PATH
14441 case $host_os in
14442 freebsd2.*)
14443 shlibpath_overrides_runpath=yes
14445 freebsd3.[01]* | freebsdelf3.[01]*)
14446 shlibpath_overrides_runpath=yes
14447 hardcode_into_libs=yes
14449 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14450 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14451 shlibpath_overrides_runpath=no
14452 hardcode_into_libs=yes
14454 *) # from 4.6 on, and DragonFly
14455 shlibpath_overrides_runpath=yes
14456 hardcode_into_libs=yes
14458 esac
14461 gnu*)
14462 version_type=linux
14463 need_lib_prefix=no
14464 need_version=no
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LD_LIBRARY_PATH
14468 hardcode_into_libs=yes
14471 haiku*)
14472 version_type=linux
14473 need_lib_prefix=no
14474 need_version=no
14475 dynamic_linker="$host_os runtime_loader"
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14477 soname_spec='${libname}${release}${shared_ext}$major'
14478 shlibpath_var=LIBRARY_PATH
14479 shlibpath_overrides_runpath=yes
14480 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14481 hardcode_into_libs=yes
14484 hpux9* | hpux10* | hpux11*)
14485 # Give a soname corresponding to the major version so that dld.sl refuses to
14486 # link against other versions.
14487 version_type=sunos
14488 need_lib_prefix=no
14489 need_version=no
14490 case $host_cpu in
14491 ia64*)
14492 shrext_cmds='.so'
14493 hardcode_into_libs=yes
14494 dynamic_linker="$host_os dld.so"
14495 shlibpath_var=LD_LIBRARY_PATH
14496 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 if test "X$HPUX_IA64_MODE" = X32; then
14500 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14501 else
14502 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14506 hppa*64*)
14507 shrext_cmds='.sl'
14508 hardcode_into_libs=yes
14509 dynamic_linker="$host_os dld.sl"
14510 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14511 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14514 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14515 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14518 shrext_cmds='.sl'
14519 dynamic_linker="$host_os dld.sl"
14520 shlibpath_var=SHLIB_PATH
14521 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14523 soname_spec='${libname}${release}${shared_ext}$major'
14525 esac
14526 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14527 postinstall_cmds='chmod 555 $lib'
14528 # or fails outright, so override atomically:
14529 install_override_mode=555
14532 interix[3-9]*)
14533 version_type=linux
14534 need_lib_prefix=no
14535 need_version=no
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14537 soname_spec='${libname}${release}${shared_ext}$major'
14538 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14539 shlibpath_var=LD_LIBRARY_PATH
14540 shlibpath_overrides_runpath=no
14541 hardcode_into_libs=yes
14544 irix5* | irix6* | nonstopux*)
14545 case $host_os in
14546 nonstopux*) version_type=nonstopux ;;
14548 if test "$lt_cv_prog_gnu_ld" = yes; then
14549 version_type=linux
14550 else
14551 version_type=irix
14552 fi ;;
14553 esac
14554 need_lib_prefix=no
14555 need_version=no
14556 soname_spec='${libname}${release}${shared_ext}$major'
14557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14558 case $host_os in
14559 irix5* | nonstopux*)
14560 libsuff= shlibsuff=
14563 case $LD in # libtool.m4 will add one of these switches to LD
14564 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14565 libsuff= shlibsuff= libmagic=32-bit;;
14566 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14567 libsuff=32 shlibsuff=N32 libmagic=N32;;
14568 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14569 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14570 *) libsuff= shlibsuff= libmagic=never-match;;
14571 esac
14573 esac
14574 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14575 shlibpath_overrides_runpath=no
14576 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14577 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14578 hardcode_into_libs=yes
14581 # No shared lib support for Linux oldld, aout, or coff.
14582 linux*oldld* | linux*aout* | linux*coff*)
14583 dynamic_linker=no
14586 # This must be Linux ELF.
14587 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14588 version_type=linux
14589 need_lib_prefix=no
14590 need_version=no
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14592 soname_spec='${libname}${release}${shared_ext}$major'
14593 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=no
14597 # Some binutils ld are patched to set DT_RUNPATH
14598 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14599 $as_echo_n "(cached) " >&6
14600 else
14601 lt_cv_shlibpath_overrides_runpath=no
14602 save_LDFLAGS=$LDFLAGS
14603 save_libdir=$libdir
14604 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14605 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14606 if test x$gcc_no_link = xyes; then
14607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14613 main ()
14617 return 0;
14619 _ACEOF
14620 if ac_fn_cxx_try_link "$LINENO"; then :
14621 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14622 lt_cv_shlibpath_overrides_runpath=yes
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LDFLAGS=$save_LDFLAGS
14628 libdir=$save_libdir
14632 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14634 # This implies no fast_install, which is unacceptable.
14635 # Some rework will be needed to allow for fast_install
14636 # before this can be enabled.
14637 hardcode_into_libs=yes
14639 # Append ld.so.conf contents to the search path
14640 if test -f /etc/ld.so.conf; then
14641 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' ' '`
14642 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14645 # We used to test for /lib/ld.so.1 and disable shared libraries on
14646 # powerpc, because MkLinux only supported shared libraries with the
14647 # GNU dynamic linker. Since this was broken with cross compilers,
14648 # most powerpc-linux boxes support dynamic linking these days and
14649 # people can always --disable-shared, the test was removed, and we
14650 # assume the GNU/Linux dynamic linker is in use.
14651 dynamic_linker='GNU/Linux ld.so'
14654 netbsd*)
14655 version_type=sunos
14656 need_lib_prefix=no
14657 need_version=no
14658 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14661 dynamic_linker='NetBSD (a.out) ld.so'
14662 else
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14664 soname_spec='${libname}${release}${shared_ext}$major'
14665 dynamic_linker='NetBSD ld.elf_so'
14667 shlibpath_var=LD_LIBRARY_PATH
14668 shlibpath_overrides_runpath=yes
14669 hardcode_into_libs=yes
14672 newsos6)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 shlibpath_overrides_runpath=yes
14679 *nto* | *qnx*)
14680 version_type=qnx
14681 need_lib_prefix=no
14682 need_version=no
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 shlibpath_var=LD_LIBRARY_PATH
14686 shlibpath_overrides_runpath=no
14687 hardcode_into_libs=yes
14688 dynamic_linker='ldqnx.so'
14691 openbsd*)
14692 version_type=sunos
14693 sys_lib_dlsearch_path_spec="/usr/lib"
14694 need_lib_prefix=no
14695 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14696 case $host_os in
14697 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14698 *) need_version=no ;;
14699 esac
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14702 shlibpath_var=LD_LIBRARY_PATH
14703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14704 case $host_os in
14705 openbsd2.[89] | openbsd2.[89].*)
14706 shlibpath_overrides_runpath=no
14709 shlibpath_overrides_runpath=yes
14711 esac
14712 else
14713 shlibpath_overrides_runpath=yes
14717 os2*)
14718 libname_spec='$name'
14719 shrext_cmds=".dll"
14720 need_lib_prefix=no
14721 library_names_spec='$libname${shared_ext} $libname.a'
14722 dynamic_linker='OS/2 ld.exe'
14723 shlibpath_var=LIBPATH
14726 osf3* | osf4* | osf5*)
14727 version_type=osf
14728 need_lib_prefix=no
14729 need_version=no
14730 soname_spec='${libname}${release}${shared_ext}$major'
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14734 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14737 rdos*)
14738 dynamic_linker=no
14741 solaris*)
14742 version_type=linux
14743 need_lib_prefix=no
14744 need_version=no
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746 soname_spec='${libname}${release}${shared_ext}$major'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 hardcode_into_libs=yes
14750 # ldd complains unless libraries are executable
14751 postinstall_cmds='chmod +x $lib'
14754 sunos4*)
14755 version_type=sunos
14756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14757 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14758 shlibpath_var=LD_LIBRARY_PATH
14759 shlibpath_overrides_runpath=yes
14760 if test "$with_gnu_ld" = yes; then
14761 need_lib_prefix=no
14763 need_version=yes
14766 sysv4 | sysv4.3*)
14767 version_type=linux
14768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769 soname_spec='${libname}${release}${shared_ext}$major'
14770 shlibpath_var=LD_LIBRARY_PATH
14771 case $host_vendor in
14772 sni)
14773 shlibpath_overrides_runpath=no
14774 need_lib_prefix=no
14775 runpath_var=LD_RUN_PATH
14777 siemens)
14778 need_lib_prefix=no
14780 motorola)
14781 need_lib_prefix=no
14782 need_version=no
14783 shlibpath_overrides_runpath=no
14784 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14786 esac
14789 sysv4*MP*)
14790 if test -d /usr/nec ;then
14791 version_type=linux
14792 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14793 soname_spec='$libname${shared_ext}.$major'
14794 shlibpath_var=LD_LIBRARY_PATH
14798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14799 version_type=freebsd-elf
14800 need_lib_prefix=no
14801 need_version=no
14802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14803 soname_spec='${libname}${release}${shared_ext}$major'
14804 shlibpath_var=LD_LIBRARY_PATH
14805 shlibpath_overrides_runpath=yes
14806 hardcode_into_libs=yes
14807 if test "$with_gnu_ld" = yes; then
14808 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14809 else
14810 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14811 case $host_os in
14812 sco3.2v5*)
14813 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14815 esac
14817 sys_lib_dlsearch_path_spec='/usr/lib'
14820 tpf*)
14821 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14822 version_type=linux
14823 need_lib_prefix=no
14824 need_version=no
14825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14826 shlibpath_var=LD_LIBRARY_PATH
14827 shlibpath_overrides_runpath=no
14828 hardcode_into_libs=yes
14831 uts4*)
14832 version_type=linux
14833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14834 soname_spec='${libname}${release}${shared_ext}$major'
14835 shlibpath_var=LD_LIBRARY_PATH
14839 dynamic_linker=no
14841 esac
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14843 $as_echo "$dynamic_linker" >&6; }
14844 test "$dynamic_linker" = no && can_build_shared=no
14846 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14847 if test "$GCC" = yes; then
14848 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14851 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14852 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14854 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14855 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14896 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14897 hardcode_action_CXX=
14898 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14899 test -n "$runpath_var_CXX" ||
14900 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14902 # We can hardcode non-existent directories.
14903 if test "$hardcode_direct_CXX" != no &&
14904 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14905 # have to relink, otherwise we might link with an installed library
14906 # when we should be linking with a yet-to-be-installed one
14907 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14908 test "$hardcode_minus_L_CXX" != no; then
14909 # Linking always hardcodes the temporary library directory.
14910 hardcode_action_CXX=relink
14911 else
14912 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14913 hardcode_action_CXX=immediate
14915 else
14916 # We cannot hardcode anything, or else we can only hardcode existing
14917 # directories.
14918 hardcode_action_CXX=unsupported
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14921 $as_echo "$hardcode_action_CXX" >&6; }
14923 if test "$hardcode_action_CXX" = relink ||
14924 test "$inherit_rpath_CXX" = yes; then
14925 # Fast installation is not supported
14926 enable_fast_install=no
14927 elif test "$shlibpath_overrides_runpath" = yes ||
14928 test "$enable_shared" = no; then
14929 # Fast installation is not necessary
14930 enable_fast_install=needless
14939 fi # test -n "$compiler"
14941 CC=$lt_save_CC
14942 LDCXX=$LD
14943 LD=$lt_save_LD
14944 GCC=$lt_save_GCC
14945 with_gnu_ld=$lt_save_with_gnu_ld
14946 lt_cv_path_LDCXX=$lt_cv_path_LD
14947 lt_cv_path_LD=$lt_save_path_LD
14948 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14949 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14950 fi # test "$_lt_caught_CXX_error" != yes
14952 ac_ext=c
14953 ac_cpp='$CPP $CPPFLAGS'
14954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14970 ac_config_commands="$ac_config_commands libtool"
14975 # Only expand once:
14981 case $host in
14982 *-cygwin* | *-mingw*)
14983 # 'host' will be top-level target in the case of a target lib,
14984 # we must compare to with_cross_host to decide if this is a native
14985 # or cross-compiler and select where to install dlls appropriately.
14986 if test -n "$with_cross_host" &&
14987 test x"$with_cross_host" != x"no"; then
14988 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14989 else
14990 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14994 lt_host_flags=
14996 esac
15003 if test "$enable_vtable_verify" = yes; then
15004 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15005 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15009 # libtool variables for C++ shared and position-independent compiles.
15011 # Use glibcxx_lt_pic_flag to designate the automake variable
15012 # used to encapsulate the default libtool approach to creating objects
15013 # with position-independent code. Default: -prefer-pic.
15015 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15016 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15018 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15019 # creating position-independent objects. This varies with the target
15020 # hardware and operating system, but is often: -DPIC -fPIC.
15021 if test "$enable_shared" = yes; then
15022 glibcxx_lt_pic_flag="-prefer-pic"
15023 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15024 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15026 else
15027 glibcxx_lt_pic_flag=
15028 glibcxx_compiler_pic_flag=
15029 glibcxx_compiler_shared_flag=
15035 # Override the libtool's pic_flag and pic_mode.
15036 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15037 # NB: this impacts --with-pic and --without-pic.
15038 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15039 pic_mode='default'
15041 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15042 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15044 # Possibly disable most of the library.
15045 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15046 ## than just ignoring the results. Faster /and/ more correct, win win.
15048 # Check whether --enable-hosted-libstdcxx was given.
15049 if test "${enable_hosted_libstdcxx+set}" = set; then :
15050 enableval=$enable_hosted_libstdcxx;
15051 else
15052 case "$host" in
15053 arm*-*-symbianelf*)
15054 enable_hosted_libstdcxx=no
15057 enable_hosted_libstdcxx=yes
15059 esac
15062 if test "$enable_hosted_libstdcxx" = no; then
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15064 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15065 is_hosted=no
15066 hosted_define=0
15067 enable_abi_check=no
15068 enable_libstdcxx_pch=no
15069 else
15070 is_hosted=yes
15071 hosted_define=1
15075 cat >>confdefs.h <<_ACEOF
15076 #define _GLIBCXX_HOSTED $hosted_define
15077 _ACEOF
15081 # Enable descriptive messages to standard output on termination.
15083 # Check whether --enable-libstdcxx-verbose was given.
15084 if test "${enable_libstdcxx_verbose+set}" = set; then :
15085 enableval=$enable_libstdcxx_verbose;
15086 else
15087 enable_libstdcxx_verbose=yes
15090 if test x"$enable_libstdcxx_verbose" = xyes; then
15091 verbose_define=1
15092 else
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15094 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15095 verbose_define=0
15098 cat >>confdefs.h <<_ACEOF
15099 #define _GLIBCXX_VERBOSE $verbose_define
15100 _ACEOF
15104 # Enable compiler support that doesn't require linking.
15106 # Check whether --enable-libstdcxx-pch was given.
15107 if test "${enable_libstdcxx_pch+set}" = set; then :
15108 enableval=$enable_libstdcxx_pch;
15109 case "$enableval" in
15110 yes|no) ;;
15111 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15112 esac
15114 else
15115 enable_libstdcxx_pch=$is_hosted
15119 if test $enable_libstdcxx_pch = yes; then
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15121 $as_echo_n "checking for compiler with PCH support... " >&6; }
15122 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 ac_save_CXXFLAGS="$CXXFLAGS"
15126 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15128 ac_ext=cpp
15129 ac_cpp='$CXXCPP $CPPFLAGS'
15130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15134 echo '#include <math.h>' > conftest.h
15135 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15136 -o conftest.h.gch 1>&5 2>&1 &&
15137 echo '#error "pch failed"' > conftest.h &&
15138 echo '#include "conftest.h"' > conftest.cc &&
15139 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15140 then
15141 glibcxx_cv_prog_CXX_pch=yes
15142 else
15143 glibcxx_cv_prog_CXX_pch=no
15145 rm -f conftest*
15146 CXXFLAGS=$ac_save_CXXFLAGS
15147 ac_ext=c
15148 ac_cpp='$CPP $CPPFLAGS'
15149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15156 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15157 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15161 $as_echo_n "checking for enabled PCH... " >&6; }
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15163 $as_echo "$enable_libstdcxx_pch" >&6; }
15166 if test $enable_libstdcxx_pch = yes; then
15167 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15168 else
15169 glibcxx_PCHFLAGS=""
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15175 $as_echo_n "checking for thread model used by GCC... " >&6; }
15176 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15178 $as_echo "$target_thread_file" >&6; }
15180 case $target_thread_file in
15181 aix) thread_header=config/rs6000/gthr-aix.h ;;
15182 dce) thread_header=config/pa/gthr-dce.h ;;
15183 lynx) thread_header=config/gthr-lynx.h ;;
15184 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15185 posix) thread_header=gthr-posix.h ;;
15186 rtems) thread_header=config/gthr-rtems.h ;;
15187 single) thread_header=gthr-single.h ;;
15188 tpf) thread_header=config/s390/gthr-tpf.h ;;
15189 vxworks) thread_header=config/gthr-vxworks.h ;;
15190 win32) thread_header=config/i386/gthr-win32.h ;;
15191 esac
15197 ac_ext=cpp
15198 ac_cpp='$CXXCPP $CPPFLAGS'
15199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15203 old_CXXFLAGS="$CXXFLAGS"
15205 # Do link tests if possible, instead asm tests, limited to some platforms
15206 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15207 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15208 atomic_builtins_link_tests=no
15209 if test x$gcc_no_link != xyes; then
15210 # Can do link tests. Limit to some tested platforms
15211 case "$host" in
15212 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15213 atomic_builtins_link_tests=yes
15215 esac
15218 if test x$atomic_builtins_link_tests = xyes; then
15220 # Do link tests.
15222 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15225 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15226 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15227 $as_echo_n "(cached) " >&6
15228 else
15230 if test x$gcc_no_link = xyes; then
15231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15237 main ()
15239 typedef bool atomic_type;
15240 atomic_type c1;
15241 atomic_type c2;
15242 atomic_type c3(0);
15243 // N.B. __atomic_fetch_add is not supported for bool.
15244 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15245 __ATOMIC_RELAXED);
15246 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15247 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15250 return 0;
15252 _ACEOF
15253 if ac_fn_cxx_try_link "$LINENO"; then :
15254 glibcxx_cv_atomic_bool=yes
15255 else
15256 glibcxx_cv_atomic_bool=no
15258 rm -f core conftest.err conftest.$ac_objext \
15259 conftest$ac_exeext conftest.$ac_ext
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15264 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15267 $as_echo_n "checking for atomic builtins for short... " >&6; }
15268 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15272 if test x$gcc_no_link = xyes; then
15273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15279 main ()
15281 typedef short atomic_type;
15282 atomic_type c1;
15283 atomic_type c2;
15284 atomic_type c3(0);
15285 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15286 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15287 __ATOMIC_RELAXED);
15288 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15289 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15292 return 0;
15294 _ACEOF
15295 if ac_fn_cxx_try_link "$LINENO"; then :
15296 glibcxx_cv_atomic_short=yes
15297 else
15298 glibcxx_cv_atomic_short=no
15300 rm -f core conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15306 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15309 $as_echo_n "checking for atomic builtins for int... " >&6; }
15310 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15314 if test x$gcc_no_link = xyes; then
15315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15318 /* end confdefs.h. */
15321 main ()
15323 typedef int atomic_type;
15324 atomic_type c1;
15325 atomic_type c2;
15326 atomic_type c3(0);
15327 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15328 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15329 __ATOMIC_RELAXED);
15330 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15331 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15334 return 0;
15336 _ACEOF
15337 if ac_fn_cxx_try_link "$LINENO"; then :
15338 glibcxx_cv_atomic_int=yes
15339 else
15340 glibcxx_cv_atomic_int=no
15342 rm -f core conftest.err conftest.$ac_objext \
15343 conftest$ac_exeext conftest.$ac_ext
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15348 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15351 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15352 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15353 $as_echo_n "(cached) " >&6
15354 else
15356 if test x$gcc_no_link = xyes; then
15357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15363 main ()
15365 typedef long long atomic_type;
15366 atomic_type c1;
15367 atomic_type c2;
15368 atomic_type c3(0);
15369 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15370 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15371 __ATOMIC_RELAXED);
15372 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15373 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15376 return 0;
15378 _ACEOF
15379 if ac_fn_cxx_try_link "$LINENO"; then :
15380 glibcxx_cv_atomic_long_long=yes
15381 else
15382 glibcxx_cv_atomic_long_long=no
15384 rm -f core conftest.err conftest.$ac_objext \
15385 conftest$ac_exeext conftest.$ac_ext
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15390 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15392 else
15394 # Do asm tests.
15396 # Compile unoptimized.
15397 CXXFLAGS='-O0 -S'
15399 # Fake what AC_TRY_COMPILE does.
15401 cat > conftest.$ac_ext << EOF
15402 #line 15402 "configure"
15403 int main()
15405 typedef bool atomic_type;
15406 atomic_type c1;
15407 atomic_type c2;
15408 atomic_type c3(0);
15409 // N.B. __atomic_fetch_add is not supported for bool.
15410 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15411 __ATOMIC_RELAXED);
15412 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15413 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15415 return 0;
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15420 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15422 (eval $ac_compile) 2>&5
15423 ac_status=$?
15424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15425 test $ac_status = 0; }; then
15426 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15427 glibcxx_cv_atomic_bool=no
15428 else
15429 glibcxx_cv_atomic_bool=yes
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15433 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15434 rm -f conftest*
15436 cat > conftest.$ac_ext << EOF
15437 #line 15437 "configure"
15438 int main()
15440 typedef short atomic_type;
15441 atomic_type c1;
15442 atomic_type c2;
15443 atomic_type c3(0);
15444 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15445 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15446 __ATOMIC_RELAXED);
15447 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15448 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15450 return 0;
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15455 $as_echo_n "checking for atomic builtins for short... " >&6; }
15456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15457 (eval $ac_compile) 2>&5
15458 ac_status=$?
15459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15460 test $ac_status = 0; }; then
15461 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15462 glibcxx_cv_atomic_short=no
15463 else
15464 glibcxx_cv_atomic_short=yes
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15468 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15469 rm -f conftest*
15471 cat > conftest.$ac_ext << EOF
15472 #line 15472 "configure"
15473 int main()
15475 // NB: _Atomic_word not necessarily int.
15476 typedef int atomic_type;
15477 atomic_type c1;
15478 atomic_type c2;
15479 atomic_type c3(0);
15480 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15481 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15482 __ATOMIC_RELAXED);
15483 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15484 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15486 return 0;
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15491 $as_echo_n "checking for atomic builtins for int... " >&6; }
15492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15493 (eval $ac_compile) 2>&5
15494 ac_status=$?
15495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15496 test $ac_status = 0; }; then
15497 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15498 glibcxx_cv_atomic_int=no
15499 else
15500 glibcxx_cv_atomic_int=yes
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15504 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15505 rm -f conftest*
15507 cat > conftest.$ac_ext << EOF
15508 #line 15508 "configure"
15509 int main()
15511 typedef long long atomic_type;
15512 atomic_type c1;
15513 atomic_type c2;
15514 atomic_type c3(0);
15515 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15516 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15517 __ATOMIC_RELAXED);
15518 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15519 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15521 return 0;
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15526 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15528 (eval $ac_compile) 2>&5
15529 ac_status=$?
15530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 test $ac_status = 0; }; then
15532 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15533 glibcxx_cv_atomic_long_long=no
15534 else
15535 glibcxx_cv_atomic_long_long=yes
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15539 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15540 rm -f conftest*
15544 CXXFLAGS="$old_CXXFLAGS"
15545 ac_ext=c
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15552 # Set atomicity_dir to builtins if all but the long long test above passes,
15553 # or if the builtins were already chosen (e.g. by configure.host).
15554 if { test "$glibcxx_cv_atomic_bool" = yes \
15555 && test "$glibcxx_cv_atomic_short" = yes \
15556 && test "$glibcxx_cv_atomic_int" = yes; } \
15557 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15559 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15561 atomicity_dir=cpu/generic/atomicity_builtins
15564 # If still generic, set to mutex.
15565 if test $atomicity_dir = "cpu/generic" ; then
15566 atomicity_dir=cpu/generic/atomicity_mutex
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15568 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15569 if test "x$target_thread_file" = xsingle; then
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15571 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15573 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15574 else
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15576 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15578 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15585 # Fake what AC_TRY_COMPILE does, without linking as this is
15586 # unnecessary for this test.
15588 cat > conftest.$ac_ext << EOF
15589 #line 15589 "configure"
15590 int main()
15592 _Decimal32 d1;
15593 _Decimal64 d2;
15594 _Decimal128 d3;
15595 return 0;
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15600 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15602 (eval $ac_compile) 2>&5
15603 ac_status=$?
15604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15605 test $ac_status = 0; }; then
15607 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15609 enable_dfp=yes
15610 else
15611 enable_dfp=no
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15614 $as_echo "$enable_dfp" >&6; }
15615 rm -f conftest*
15620 ac_ext=cpp
15621 ac_cpp='$CXXCPP $CPPFLAGS'
15622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15627 # Fake what AC_TRY_COMPILE does, without linking as this is
15628 # unnecessary for this test.
15630 cat > conftest.$ac_ext << EOF
15631 #line 15631 "configure"
15632 template<typename T1, typename T2>
15633 struct same
15634 { typedef T2 type; };
15636 template<typename T>
15637 struct same<T, T>;
15639 int main()
15641 typename same<long, __int128>::type i1;
15642 typename same<long long, __int128>::type i2;
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15647 $as_echo_n "checking for __int128... " >&6; }
15648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15649 (eval $ac_compile) 2>&5
15650 ac_status=$?
15651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652 test $ac_status = 0; }; then
15654 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15656 enable_int128=yes
15657 else
15658 enable_int128=no
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15661 $as_echo "$enable_int128" >&6; }
15662 rm -f conftest*
15664 cat > conftest.$ac_ext << EOF
15665 #line 15665 "configure"
15666 template<typename T1, typename T2>
15667 struct same
15668 { typedef T2 type; };
15670 template<typename T>
15671 struct same<T, T>;
15673 int main()
15675 typename same<double, __float128>::type f1;
15676 typename same<long double, __float128>::type f2;
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15681 $as_echo_n "checking for __float128... " >&6; }
15682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15683 (eval $ac_compile) 2>&5
15684 ac_status=$?
15685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15686 test $ac_status = 0; }; then
15688 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15690 enable_float128=yes
15691 else
15692 enable_float128=no
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15695 $as_echo "$enable_float128" >&6; }
15696 rm -f conftest*
15698 ac_ext=c
15699 ac_cpp='$CPP $CPPFLAGS'
15700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15705 if test "$enable_float128" = yes; then
15706 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
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*)
15850 enable_clocale_flag=darwin
15852 dragonfly* | freebsd*)
15853 enable_clocale_flag=dragonfly
15855 openbsd*)
15856 enable_clocale_flag=newlib
15859 if test x"$with_newlib" = x"yes"; then
15860 enable_clocale_flag=newlib
15861 else
15862 enable_clocale_flag=generic
15865 esac
15868 # Sanity check model, and test for special functionality.
15869 if test $enable_clocale_flag = gnu; then
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15873 #include <features.h>
15874 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15875 _GLIBCXX_ok
15876 #endif
15878 _ACEOF
15879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15880 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15881 enable_clocale_flag=gnu
15882 else
15883 enable_clocale_flag=generic
15885 rm -f conftest*
15888 # Set it to scream when it hurts.
15889 ac_save_CFLAGS="$CFLAGS"
15890 CFLAGS="-Wimplicit-function-declaration -Werror"
15892 # Use strxfrm_l if available.
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 #define _GNU_SOURCE 1
15896 #include <string.h>
15897 #include <locale.h>
15899 main ()
15901 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15903 return 0;
15905 _ACEOF
15906 if ac_fn_c_try_compile "$LINENO"; then :
15908 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15913 # Use strerror_l if available.
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15916 #define _GNU_SOURCE 1
15917 #include <string.h>
15918 #include <locale.h>
15920 main ()
15922 __locale_t loc; strerror_l(5, loc);
15924 return 0;
15926 _ACEOF
15927 if ac_fn_c_try_compile "$LINENO"; then :
15929 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15934 CFLAGS="$ac_save_CFLAGS"
15937 # Perhaps use strerror_r if available, and strerror_l isn't.
15938 ac_save_CFLAGS="$CFLAGS"
15939 CFLAGS="-Wimplicit-function-declaration -Werror"
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15942 #define _GNU_SOURCE 1
15943 #include <string.h>
15944 #include <locale.h>
15946 main ()
15948 char s[128]; strerror_r(5, s, 128);
15950 return 0;
15952 _ACEOF
15953 if ac_fn_c_try_compile "$LINENO"; then :
15955 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15959 CFLAGS="$ac_save_CFLAGS"
15961 # Set configure bits for specified locale package
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15963 $as_echo_n "checking for C locale to use... " >&6; }
15964 case ${enable_clocale_flag} in
15965 generic)
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15967 $as_echo "generic" >&6; }
15969 CLOCALE_H=config/locale/generic/c_locale.h
15970 CLOCALE_CC=config/locale/generic/c_locale.cc
15971 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15972 CCOLLATE_CC=config/locale/generic/collate_members.cc
15973 CCTYPE_CC=config/locale/generic/ctype_members.cc
15974 CMESSAGES_H=config/locale/generic/messages_members.h
15975 CMESSAGES_CC=config/locale/generic/messages_members.cc
15976 CMONEY_CC=config/locale/generic/monetary_members.cc
15977 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15978 CTIME_H=config/locale/generic/time_members.h
15979 CTIME_CC=config/locale/generic/time_members.cc
15980 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15982 darwin)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15984 $as_echo "darwin" >&6; }
15986 CLOCALE_H=config/locale/generic/c_locale.h
15987 CLOCALE_CC=config/locale/generic/c_locale.cc
15988 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989 CCOLLATE_CC=config/locale/generic/collate_members.cc
15990 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15991 CMESSAGES_H=config/locale/generic/messages_members.h
15992 CMESSAGES_CC=config/locale/generic/messages_members.cc
15993 CMONEY_CC=config/locale/generic/monetary_members.cc
15994 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995 CTIME_H=config/locale/generic/time_members.h
15996 CTIME_CC=config/locale/generic/time_members.cc
15997 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16000 dragonfly)
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16002 $as_echo "dragonfly or freebsd" >&6; }
16004 CLOCALE_H=config/locale/dragonfly/c_locale.h
16005 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16006 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16007 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16008 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16009 CMESSAGES_H=config/locale/generic/messages_members.h
16010 CMESSAGES_CC=config/locale/generic/messages_members.cc
16011 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16012 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16013 CTIME_H=config/locale/dragonfly/time_members.h
16014 CTIME_CC=config/locale/dragonfly/time_members.cc
16015 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16018 gnu)
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16020 $as_echo "gnu" >&6; }
16022 # Declare intention to use gettext, and add support for specific
16023 # languages.
16024 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16025 ALL_LINGUAS="de fr"
16027 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16028 # Extract the first word of "msgfmt", so it can be a program name with args.
16029 set dummy msgfmt; ac_word=$2
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16031 $as_echo_n "checking for $ac_word... " >&6; }
16032 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16033 $as_echo_n "(cached) " >&6
16034 else
16035 if test -n "$check_msgfmt"; then
16036 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16037 else
16038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16039 for as_dir in $PATH
16041 IFS=$as_save_IFS
16042 test -z "$as_dir" && as_dir=.
16043 for ac_exec_ext in '' $ac_executable_extensions; do
16044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16045 ac_cv_prog_check_msgfmt="yes"
16046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16047 break 2
16049 done
16050 done
16051 IFS=$as_save_IFS
16053 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16056 check_msgfmt=$ac_cv_prog_check_msgfmt
16057 if test -n "$check_msgfmt"; then
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16059 $as_echo "$check_msgfmt" >&6; }
16060 else
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16062 $as_echo "no" >&6; }
16066 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16067 USE_NLS=yes
16069 # Export the build objects.
16070 for ling in $ALL_LINGUAS; do \
16071 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16072 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16073 done
16077 CLOCALE_H=config/locale/gnu/c_locale.h
16078 CLOCALE_CC=config/locale/gnu/c_locale.cc
16079 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16080 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16081 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16082 CMESSAGES_H=config/locale/gnu/messages_members.h
16083 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16084 CMONEY_CC=config/locale/gnu/monetary_members.cc
16085 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16086 CTIME_H=config/locale/gnu/time_members.h
16087 CTIME_CC=config/locale/gnu/time_members.cc
16088 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16090 ieee_1003.1-2001)
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16092 $as_echo "IEEE 1003.1" >&6; }
16094 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16095 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16096 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16097 CCOLLATE_CC=config/locale/generic/collate_members.cc
16098 CCTYPE_CC=config/locale/generic/ctype_members.cc
16099 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16100 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16101 CMONEY_CC=config/locale/generic/monetary_members.cc
16102 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16103 CTIME_H=config/locale/generic/time_members.h
16104 CTIME_CC=config/locale/generic/time_members.cc
16105 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16107 newlib)
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16109 $as_echo "newlib" >&6; }
16111 CLOCALE_H=config/locale/generic/c_locale.h
16112 CLOCALE_CC=config/locale/generic/c_locale.cc
16113 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16114 CCOLLATE_CC=config/locale/generic/collate_members.cc
16115 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16116 CMESSAGES_H=config/locale/generic/messages_members.h
16117 CMESSAGES_CC=config/locale/generic/messages_members.cc
16118 CMONEY_CC=config/locale/generic/monetary_members.cc
16119 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16120 CTIME_H=config/locale/generic/time_members.h
16121 CTIME_CC=config/locale/generic/time_members.cc
16122 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16124 esac
16126 # This is where the testsuite looks for locale catalogs, using the
16127 # -DLOCALEDIR define during testsuite compilation.
16128 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16131 # A standalone libintl (e.g., GNU libintl) may be in use.
16132 if test $USE_NLS = yes; then
16133 for ac_header in libintl.h
16134 do :
16135 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16136 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_LIBINTL_H 1
16139 _ACEOF
16141 else
16142 USE_NLS=no
16145 done
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16148 $as_echo_n "checking for library containing gettext... " >&6; }
16149 if test "${ac_cv_search_gettext+set}" = set; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 ac_func_search_save_LIBS=$LIBS
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char gettext ();
16164 main ()
16166 return gettext ();
16168 return 0;
16170 _ACEOF
16171 for ac_lib in '' intl; do
16172 if test -z "$ac_lib"; then
16173 ac_res="none required"
16174 else
16175 ac_res=-l$ac_lib
16176 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16178 if test x$gcc_no_link = xyes; then
16179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16181 if ac_fn_c_try_link "$LINENO"; then :
16182 ac_cv_search_gettext=$ac_res
16184 rm -f core conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext
16186 if test "${ac_cv_search_gettext+set}" = set; then :
16187 break
16189 done
16190 if test "${ac_cv_search_gettext+set}" = set; then :
16192 else
16193 ac_cv_search_gettext=no
16195 rm conftest.$ac_ext
16196 LIBS=$ac_func_search_save_LIBS
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16199 $as_echo "$ac_cv_search_gettext" >&6; }
16200 ac_res=$ac_cv_search_gettext
16201 if test "$ac_res" != no; then :
16202 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16204 else
16205 USE_NLS=no
16209 if test $USE_NLS = yes; then
16211 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16231 $as_echo_n "checking for std::allocator base class... " >&6; }
16232 # Check whether --enable-libstdcxx-allocator was given.
16233 if test "${enable_libstdcxx_allocator+set}" = set; then :
16234 enableval=$enable_libstdcxx_allocator;
16235 case "$enableval" in
16236 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16237 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16238 esac
16240 else
16241 enable_libstdcxx_allocator=auto
16246 # If they didn't use this option switch, or if they specified --enable
16247 # with no specific model, we'll have to look for one. If they
16248 # specified --disable (???), do likewise.
16249 if test $enable_libstdcxx_allocator = no ||
16250 test $enable_libstdcxx_allocator = yes;
16251 then
16252 enable_libstdcxx_allocator=auto
16255 # Either a known package, or "auto". Auto implies the default choice
16256 # for a particular platform.
16257 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16259 # Probe for host-specific support if no specific model is specified.
16260 # Default to "new".
16261 if test $enable_libstdcxx_allocator_flag = auto; then
16262 case ${target_os} in
16263 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16264 enable_libstdcxx_allocator_flag=new
16267 enable_libstdcxx_allocator_flag=new
16269 esac
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16272 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16275 # Set configure bits for specified locale package
16276 case ${enable_libstdcxx_allocator_flag} in
16277 bitmap)
16278 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16279 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16281 malloc)
16282 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16283 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16286 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16287 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16289 new)
16290 ALLOCATOR_H=config/allocator/new_allocator_base.h
16291 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16293 pool)
16294 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16295 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16297 esac
16304 # Check whether --enable-cheaders was given.
16305 if test "${enable_cheaders+set}" = set; then :
16306 enableval=$enable_cheaders;
16307 case "$enableval" in
16308 c|c_std|c_global) ;;
16309 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16310 esac
16312 else
16313 enable_cheaders=$c_model
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16318 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16320 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16322 # Allow overrides to configure.host here.
16323 if test $enable_cheaders = c_global; then
16324 c_compatibility=yes
16333 # Check whether --enable-long-long was given.
16334 if test "${enable_long_long+set}" = set; then :
16335 enableval=$enable_long_long;
16336 case "$enableval" in
16337 yes|no) ;;
16338 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16339 esac
16341 else
16342 enable_long_long=yes
16346 if test $enable_long_long = yes; then
16348 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16352 $as_echo_n "checking for enabled long long specializations... " >&6; }
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16354 $as_echo "$enable_long_long" >&6; }
16357 # Check whether --enable-wchar_t was given.
16358 if test "${enable_wchar_t+set}" = set; then :
16359 enableval=$enable_wchar_t;
16360 case "$enableval" in
16361 yes|no) ;;
16362 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16363 esac
16365 else
16366 enable_wchar_t=yes
16371 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16372 for ac_header in wchar.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCHAR_H 1
16378 _ACEOF
16379 ac_has_wchar_h=yes
16380 else
16381 ac_has_wchar_h=no
16384 done
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16387 $as_echo_n "checking for mbstate_t... " >&6; }
16388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16390 #include <wchar.h>
16392 main ()
16394 mbstate_t teststate;
16396 return 0;
16398 _ACEOF
16399 if ac_fn_c_try_compile "$LINENO"; then :
16400 have_mbstate_t=yes
16401 else
16402 have_mbstate_t=no
16404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16406 $as_echo "$have_mbstate_t" >&6; }
16407 if test x"$have_mbstate_t" = xyes; then
16409 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16413 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16414 # ac_has_wchar_h.
16415 for ac_header in wctype.h
16416 do :
16417 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16418 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16419 cat >>confdefs.h <<_ACEOF
16420 #define HAVE_WCTYPE_H 1
16421 _ACEOF
16422 ac_has_wctype_h=yes
16423 else
16424 ac_has_wctype_h=no
16427 done
16430 if test x"$enable_wchar_t" = x"yes"; then
16433 ac_ext=cpp
16434 ac_cpp='$CXXCPP $CPPFLAGS'
16435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16440 if test x"$ac_has_wchar_h" = xyes &&
16441 test x"$ac_has_wctype_h" = xyes; then
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16444 #include <wchar.h>
16445 #include <stddef.h>
16446 wint_t i;
16447 long l = WEOF;
16448 long j = WCHAR_MIN;
16449 long k = WCHAR_MAX;
16450 namespace test
16452 using ::btowc;
16453 using ::fgetwc;
16454 using ::fgetws;
16455 using ::fputwc;
16456 using ::fputws;
16457 using ::fwide;
16458 using ::fwprintf;
16459 using ::fwscanf;
16460 using ::getwc;
16461 using ::getwchar;
16462 using ::mbrlen;
16463 using ::mbrtowc;
16464 using ::mbsinit;
16465 using ::mbsrtowcs;
16466 using ::putwc;
16467 using ::putwchar;
16468 using ::swprintf;
16469 using ::swscanf;
16470 using ::ungetwc;
16471 using ::vfwprintf;
16472 using ::vswprintf;
16473 using ::vwprintf;
16474 using ::wcrtomb;
16475 using ::wcscat;
16476 using ::wcschr;
16477 using ::wcscmp;
16478 using ::wcscoll;
16479 using ::wcscpy;
16480 using ::wcscspn;
16481 using ::wcsftime;
16482 using ::wcslen;
16483 using ::wcsncat;
16484 using ::wcsncmp;
16485 using ::wcsncpy;
16486 using ::wcspbrk;
16487 using ::wcsrchr;
16488 using ::wcsrtombs;
16489 using ::wcsspn;
16490 using ::wcsstr;
16491 using ::wcstod;
16492 using ::wcstok;
16493 using ::wcstol;
16494 using ::wcstoul;
16495 using ::wcsxfrm;
16496 using ::wctob;
16497 using ::wmemchr;
16498 using ::wmemcmp;
16499 using ::wmemcpy;
16500 using ::wmemmove;
16501 using ::wmemset;
16502 using ::wprintf;
16503 using ::wscanf;
16507 main ()
16511 return 0;
16513 _ACEOF
16514 if ac_fn_cxx_try_compile "$LINENO"; then :
16516 else
16517 enable_wchar_t=no
16519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16520 else
16521 enable_wchar_t=no
16524 ac_ext=c
16525 ac_cpp='$CPP $CPPFLAGS'
16526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16532 if test x"$enable_wchar_t" = x"yes"; then
16534 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16539 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16541 $as_echo "$enable_wchar_t" >&6; }
16545 # Check whether --enable-c99 was given.
16546 if test "${enable_c99+set}" = set; then :
16547 enableval=$enable_c99;
16548 case "$enableval" in
16549 yes|no) ;;
16550 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16551 esac
16553 else
16554 enable_c99=yes
16559 if test x"$enable_c99" = x"yes"; then
16561 ac_ext=cpp
16562 ac_cpp='$CXXCPP $CPPFLAGS'
16563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16568 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16569 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16570 # to be spuriously enabled.
16571 ac_save_CXXFLAGS="$CXXFLAGS"
16572 CXXFLAGS="$CXXFLAGS -std=c++98"
16573 ac_save_LIBS="$LIBS"
16574 ac_save_gcc_no_link="$gcc_no_link"
16576 if test x$gcc_no_link != xyes; then
16577 # Use -fno-exceptions to that the C driver can link these tests without
16578 # hitting undefined references to personality routines.
16579 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16581 $as_echo_n "checking for sin in -lm... " >&6; }
16582 if test "${ac_cv_lib_m_sin+set}" = set; then :
16583 $as_echo_n "(cached) " >&6
16584 else
16585 ac_check_lib_save_LIBS=$LIBS
16586 LIBS="-lm $LIBS"
16587 if test x$gcc_no_link = xyes; then
16588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16593 /* Override any GCC internal prototype to avoid an error.
16594 Use char because int might match the return type of a GCC
16595 builtin and then its argument prototype would still apply. */
16596 #ifdef __cplusplus
16597 extern "C"
16598 #endif
16599 char sin ();
16601 main ()
16603 return sin ();
16605 return 0;
16607 _ACEOF
16608 if ac_fn_cxx_try_link "$LINENO"; then :
16609 ac_cv_lib_m_sin=yes
16610 else
16611 ac_cv_lib_m_sin=no
16613 rm -f core conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16615 LIBS=$ac_check_lib_save_LIBS
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16618 $as_echo "$ac_cv_lib_m_sin" >&6; }
16619 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16620 LIBS="$LIBS -lm"
16621 else
16623 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16624 gcc_no_link=yes
16630 # Check for the existence of <math.h> functions used if C99 is enabled.
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16632 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16633 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16634 $as_echo_n "(cached) " >&6
16635 else
16637 if test x$gcc_no_link = xyes; then
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 #include <math.h>
16641 volatile double d1, d2;
16642 volatile int i;
16644 main ()
16646 i = fpclassify(d1);
16647 i = isfinite(d1);
16648 i = isinf(d1);
16649 i = isnan(d1);
16650 i = isnormal(d1);
16651 i = signbit(d1);
16652 i = isgreater(d1, d2);
16653 i = isgreaterequal(d1, d2);
16654 i = isless(d1, d2);
16655 i = islessequal(d1, d2);
16656 i = islessgreater(d1, d2);
16657 i = islessgreater(d1, d2);
16658 i = isunordered(d1, d2);
16661 return 0;
16663 _ACEOF
16664 if ac_fn_cxx_try_compile "$LINENO"; then :
16665 glibcxx_cv_c99_math_cxx98=yes
16666 else
16667 glibcxx_cv_c99_math_cxx98=no
16669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16670 else
16671 if test x$gcc_no_link = xyes; then
16672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16676 #include <math.h>
16677 volatile double d1, d2;
16678 volatile int i;
16680 main ()
16682 i = fpclassify(d1);
16683 i = isfinite(d1);
16684 i = isinf(d1);
16685 i = isnan(d1);
16686 i = isnormal(d1);
16687 i = signbit(d1);
16688 i = isgreater(d1, d2);
16689 i = isgreaterequal(d1, d2);
16690 i = isless(d1, d2);
16691 i = islessequal(d1, d2);
16692 i = islessgreater(d1, d2);
16693 i = islessgreater(d1, d2);
16694 i = isunordered(d1, d2);
16697 return 0;
16699 _ACEOF
16700 if ac_fn_cxx_try_link "$LINENO"; then :
16701 glibcxx_cv_c99_math_cxx98=yes
16702 else
16703 glibcxx_cv_c99_math_cxx98=no
16705 rm -f core conftest.err conftest.$ac_objext \
16706 conftest$ac_exeext conftest.$ac_ext
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16712 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16713 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16715 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16719 # Check for the existence of <complex.h> complex math functions.
16720 # This is necessary even though libstdc++ uses the builtin versions
16721 # of these functions, because if the builtin cannot be used, a reference
16722 # to the library function is emitted.
16723 for ac_header in tgmath.h
16724 do :
16725 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16726 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16727 cat >>confdefs.h <<_ACEOF
16728 #define HAVE_TGMATH_H 1
16729 _ACEOF
16730 ac_has_tgmath_h=yes
16731 else
16732 ac_has_tgmath_h=no
16735 done
16737 for ac_header in complex.h
16738 do :
16739 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16740 if test "x$ac_cv_header_complex_h" = x""yes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_COMPLEX_H 1
16743 _ACEOF
16744 ac_has_complex_h=yes
16745 else
16746 ac_has_complex_h=no
16749 done
16751 if test x"$ac_has_complex_h" = x"yes"; then
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16753 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16754 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16758 if test x$gcc_no_link = xyes; then
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 #include <complex.h>
16762 typedef __complex__ float float_type;
16763 typedef __complex__ double double_type;
16764 typedef __complex__ long double ld_type;
16765 volatile float_type tmpf;
16766 volatile double_type tmpd;
16767 volatile ld_type tmpld;
16768 volatile float f;
16769 volatile double d;
16770 volatile long double ld;
16772 main ()
16774 f = cabsf(tmpf);
16775 f = cargf(tmpf);
16776 tmpf = ccosf(tmpf);
16777 tmpf = ccoshf(tmpf);
16778 tmpf = cexpf(tmpf);
16779 tmpf = clogf(tmpf);
16780 tmpf = csinf(tmpf);
16781 tmpf = csinhf(tmpf);
16782 tmpf = csqrtf(tmpf);
16783 tmpf = ctanf(tmpf);
16784 tmpf = ctanhf(tmpf);
16785 tmpf = cpowf(tmpf, tmpf);
16786 tmpf = cprojf(tmpf);
16787 d = cabs(tmpd);
16788 d = carg(tmpd);
16789 tmpd = ccos(tmpd);
16790 tmpd = ccosh(tmpd);
16791 tmpd = cexp(tmpd);
16792 tmpd = clog(tmpd);
16793 tmpd = csin(tmpd);
16794 tmpd = csinh(tmpd);
16795 tmpd = csqrt(tmpd);
16796 tmpd = ctan(tmpd);
16797 tmpd = ctanh(tmpd);
16798 tmpd = cpow(tmpd, tmpd);
16799 tmpd = cproj(tmpd);
16800 ld = cabsl(tmpld);
16801 ld = cargl(tmpld);
16802 tmpld = ccosl(tmpld);
16803 tmpld = ccoshl(tmpld);
16804 tmpld = cexpl(tmpld);
16805 tmpld = clogl(tmpld);
16806 tmpld = csinl(tmpld);
16807 tmpld = csinhl(tmpld);
16808 tmpld = csqrtl(tmpld);
16809 tmpld = ctanl(tmpld);
16810 tmpld = ctanhl(tmpld);
16811 tmpld = cpowl(tmpld, tmpld);
16812 tmpld = cprojl(tmpld);
16815 return 0;
16817 _ACEOF
16818 if ac_fn_cxx_try_compile "$LINENO"; then :
16819 glibcxx_cv_c99_complex_cxx98=yes
16820 else
16821 glibcxx_cv_c99_complex_cxx98=no
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16824 else
16825 if test x$gcc_no_link = xyes; then
16826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16830 #include <complex.h>
16831 typedef __complex__ float float_type;
16832 typedef __complex__ double double_type;
16833 typedef __complex__ long double ld_type;
16834 volatile float_type tmpf;
16835 volatile double_type tmpd;
16836 volatile ld_type tmpld;
16837 volatile float f;
16838 volatile double d;
16839 volatile long double ld;
16841 main ()
16843 f = cabsf(tmpf);
16844 f = cargf(tmpf);
16845 tmpf = ccosf(tmpf);
16846 tmpf = ccoshf(tmpf);
16847 tmpf = cexpf(tmpf);
16848 tmpf = clogf(tmpf);
16849 tmpf = csinf(tmpf);
16850 tmpf = csinhf(tmpf);
16851 tmpf = csqrtf(tmpf);
16852 tmpf = ctanf(tmpf);
16853 tmpf = ctanhf(tmpf);
16854 tmpf = cpowf(tmpf, tmpf);
16855 tmpf = cprojf(tmpf);
16856 d = cabs(tmpd);
16857 d = carg(tmpd);
16858 tmpd = ccos(tmpd);
16859 tmpd = ccosh(tmpd);
16860 tmpd = cexp(tmpd);
16861 tmpd = clog(tmpd);
16862 tmpd = csin(tmpd);
16863 tmpd = csinh(tmpd);
16864 tmpd = csqrt(tmpd);
16865 tmpd = ctan(tmpd);
16866 tmpd = ctanh(tmpd);
16867 tmpd = cpow(tmpd, tmpd);
16868 tmpd = cproj(tmpd);
16869 ld = cabsl(tmpld);
16870 ld = cargl(tmpld);
16871 tmpld = ccosl(tmpld);
16872 tmpld = ccoshl(tmpld);
16873 tmpld = cexpl(tmpld);
16874 tmpld = clogl(tmpld);
16875 tmpld = csinl(tmpld);
16876 tmpld = csinhl(tmpld);
16877 tmpld = csqrtl(tmpld);
16878 tmpld = ctanl(tmpld);
16879 tmpld = ctanhl(tmpld);
16880 tmpld = cpowl(tmpld, tmpld);
16881 tmpld = cprojl(tmpld);
16884 return 0;
16886 _ACEOF
16887 if ac_fn_cxx_try_link "$LINENO"; then :
16888 glibcxx_cv_c99_complex_cxx98=yes
16889 else
16890 glibcxx_cv_c99_complex_cxx98=no
16892 rm -f core conftest.err conftest.$ac_objext \
16893 conftest$ac_exeext conftest.$ac_ext
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16900 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16901 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16903 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16907 # Check for the existence in <stdio.h> of vscanf, et. al.
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16909 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16910 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16911 $as_echo_n "(cached) " >&6
16912 else
16914 if test x$gcc_no_link = xyes; then
16915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16917 #include <stdio.h>
16918 #include <stdarg.h>
16919 void foo(char* fmt, ...)
16921 va_list args; va_start(args, fmt);
16922 vfscanf(stderr, "%i", args);
16923 vscanf("%i", args);
16924 vsnprintf(fmt, 0, "%i", args);
16925 vsscanf(fmt, "%i", args);
16926 snprintf(fmt, 0, "%i");
16929 main ()
16933 return 0;
16935 _ACEOF
16936 if ac_fn_cxx_try_compile "$LINENO"; then :
16937 glibcxx_cv_c99_stdio_cxx98=yes
16938 else
16939 glibcxx_cv_c99_stdio_cxx98=no
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942 else
16943 if test x$gcc_no_link = xyes; then
16944 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16948 #include <stdio.h>
16949 #include <stdarg.h>
16950 void foo(char* fmt, ...)
16952 va_list args; va_start(args, fmt);
16953 vfscanf(stderr, "%i", args);
16954 vscanf("%i", args);
16955 vsnprintf(fmt, 0, "%i", args);
16956 vsscanf(fmt, "%i", args);
16957 snprintf(fmt, 0, "%i");
16960 main ()
16964 return 0;
16966 _ACEOF
16967 if ac_fn_cxx_try_link "$LINENO"; then :
16968 glibcxx_cv_c99_stdio_cxx98=yes
16969 else
16970 glibcxx_cv_c99_stdio_cxx98=no
16972 rm -f core conftest.err conftest.$ac_objext \
16973 conftest$ac_exeext conftest.$ac_ext
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16979 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16980 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16982 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16986 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16988 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16989 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16990 $as_echo_n "(cached) " >&6
16991 else
16993 if test x$gcc_no_link = xyes; then
16994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
16996 #include <stdlib.h>
16997 volatile float f;
16998 volatile long double ld;
16999 volatile unsigned long long ll;
17000 lldiv_t mydivt;
17002 main ()
17004 char* tmp;
17005 f = strtof("gnu", &tmp);
17006 ld = strtold("gnu", &tmp);
17007 ll = strtoll("gnu", &tmp, 10);
17008 ll = strtoull("gnu", &tmp, 10);
17009 ll = llabs(10);
17010 mydivt = lldiv(10,1);
17011 ll = mydivt.quot;
17012 ll = mydivt.rem;
17013 ll = atoll("10");
17014 _Exit(0);
17017 return 0;
17019 _ACEOF
17020 if ac_fn_cxx_try_compile "$LINENO"; then :
17021 glibcxx_cv_c99_stdlib_cxx98=yes
17022 else
17023 glibcxx_cv_c99_stdlib_cxx98=no
17025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17026 else
17027 if test x$gcc_no_link = xyes; then
17028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #include <stdlib.h>
17033 volatile float f;
17034 volatile long double ld;
17035 volatile unsigned long long ll;
17036 lldiv_t mydivt;
17038 main ()
17040 char* tmp;
17041 f = strtof("gnu", &tmp);
17042 ld = strtold("gnu", &tmp);
17043 ll = strtoll("gnu", &tmp, 10);
17044 ll = strtoull("gnu", &tmp, 10);
17045 ll = llabs(10);
17046 mydivt = lldiv(10,1);
17047 ll = mydivt.quot;
17048 ll = mydivt.rem;
17049 ll = atoll("10");
17050 _Exit(0);
17053 return 0;
17055 _ACEOF
17056 if ac_fn_cxx_try_link "$LINENO"; then :
17057 glibcxx_cv_c99_stdlib_cxx98=yes
17058 else
17059 glibcxx_cv_c99_stdlib_cxx98=no
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17068 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17069 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17071 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17075 # Check for the existence in <wchar.h> of wcstold, etc.
17076 if test x"$ac_has_wchar_h" = xyes &&
17077 test x"$ac_has_wctype_h" = xyes; then
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17079 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17080 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h. */
17086 #include <wchar.h>
17087 namespace test
17089 using ::wcstold;
17090 using ::wcstoll;
17091 using ::wcstoull;
17095 main ()
17099 return 0;
17101 _ACEOF
17102 if ac_fn_cxx_try_compile "$LINENO"; then :
17103 glibcxx_cv_c99_wchar_cxx98=yes
17104 else
17105 glibcxx_cv_c99_wchar_cxx98=no
17107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17112 # Checks for wide character functions that may not be present.
17113 # Injection of these is wrapped with guard macros.
17114 # NB: only put functions here, instead of immediately above, if
17115 # absolutely necessary.
17116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h. */
17118 #include <wchar.h>
17119 namespace test { using ::vfwscanf; }
17121 main ()
17125 return 0;
17127 _ACEOF
17128 if ac_fn_cxx_try_compile "$LINENO"; then :
17130 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17137 #include <wchar.h>
17138 namespace test { using ::vswscanf; }
17140 main ()
17144 return 0;
17146 _ACEOF
17147 if ac_fn_cxx_try_compile "$LINENO"; then :
17149 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17156 #include <wchar.h>
17157 namespace test { using ::vwscanf; }
17159 main ()
17163 return 0;
17165 _ACEOF
17166 if ac_fn_cxx_try_compile "$LINENO"; then :
17168 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17175 #include <wchar.h>
17176 namespace test { using ::wcstof; }
17178 main ()
17182 return 0;
17184 _ACEOF
17185 if ac_fn_cxx_try_compile "$LINENO"; then :
17187 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h. */
17194 #include <wctype.h>
17196 main ()
17198 wint_t t; int i = iswblank(t);
17200 return 0;
17202 _ACEOF
17203 if ac_fn_cxx_try_compile "$LINENO"; then :
17205 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17211 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17212 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17214 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17219 # Option parsed, now set things appropriately.
17220 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17221 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17222 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17223 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17224 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17225 enable_c99=no;
17226 else
17228 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17232 gcc_no_link="$ac_save_gcc_no_link"
17233 LIBS="$ac_save_LIBS"
17234 CXXFLAGS="$ac_save_CXXFLAGS"
17235 ac_ext=c
17236 ac_cpp='$CPP $CPPFLAGS'
17237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17243 ac_ext=cpp
17244 ac_cpp='$CXXCPP $CPPFLAGS'
17245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17250 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17251 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17252 ac_save_CXXFLAGS="$CXXFLAGS"
17253 CXXFLAGS="$CXXFLAGS -std=c++11"
17254 ac_save_LIBS="$LIBS"
17255 ac_save_gcc_no_link="$gcc_no_link"
17257 if test x$gcc_no_link != xyes; then
17258 # Use -fno-exceptions to that the C driver can link these tests without
17259 # hitting undefined references to personality routines.
17260 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17262 $as_echo_n "checking for sin in -lm... " >&6; }
17263 if test "${ac_cv_lib_m_sin+set}" = set; then :
17264 $as_echo_n "(cached) " >&6
17265 else
17266 ac_check_lib_save_LIBS=$LIBS
17267 LIBS="-lm $LIBS"
17268 if test x$gcc_no_link = xyes; then
17269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17274 /* Override any GCC internal prototype to avoid an error.
17275 Use char because int might match the return type of a GCC
17276 builtin and then its argument prototype would still apply. */
17277 #ifdef __cplusplus
17278 extern "C"
17279 #endif
17280 char sin ();
17282 main ()
17284 return sin ();
17286 return 0;
17288 _ACEOF
17289 if ac_fn_cxx_try_link "$LINENO"; then :
17290 ac_cv_lib_m_sin=yes
17291 else
17292 ac_cv_lib_m_sin=no
17294 rm -f core conftest.err conftest.$ac_objext \
17295 conftest$ac_exeext conftest.$ac_ext
17296 LIBS=$ac_check_lib_save_LIBS
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17299 $as_echo "$ac_cv_lib_m_sin" >&6; }
17300 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17301 LIBS="$LIBS -lm"
17302 else
17304 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17305 gcc_no_link=yes
17311 # Check for the existence of <math.h> functions used if C99 is enabled.
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17313 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17314 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17318 if test x$gcc_no_link = xyes; then
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 #include <math.h>
17322 volatile double d1, d2;
17323 volatile int i;
17325 main ()
17327 i = fpclassify(d1);
17328 i = isfinite(d1);
17329 i = isinf(d1);
17330 i = isnan(d1);
17331 i = isnormal(d1);
17332 i = signbit(d1);
17333 i = isgreater(d1, d2);
17334 i = isgreaterequal(d1, d2);
17335 i = isless(d1, d2);
17336 i = islessequal(d1, d2);
17337 i = islessgreater(d1, d2);
17338 i = islessgreater(d1, d2);
17339 i = isunordered(d1, d2);
17342 return 0;
17344 _ACEOF
17345 if ac_fn_cxx_try_compile "$LINENO"; then :
17346 glibcxx_cv_c99_math_cxx11=yes
17347 else
17348 glibcxx_cv_c99_math_cxx11=no
17350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351 else
17352 if test x$gcc_no_link = xyes; then
17353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #include <math.h>
17358 volatile double d1, d2;
17359 volatile int i;
17361 main ()
17363 i = fpclassify(d1);
17364 i = isfinite(d1);
17365 i = isinf(d1);
17366 i = isnan(d1);
17367 i = isnormal(d1);
17368 i = signbit(d1);
17369 i = isgreater(d1, d2);
17370 i = isgreaterequal(d1, d2);
17371 i = isless(d1, d2);
17372 i = islessequal(d1, d2);
17373 i = islessgreater(d1, d2);
17374 i = islessgreater(d1, d2);
17375 i = isunordered(d1, d2);
17378 return 0;
17380 _ACEOF
17381 if ac_fn_cxx_try_link "$LINENO"; then :
17382 glibcxx_cv_c99_math_cxx11=yes
17383 else
17384 glibcxx_cv_c99_math_cxx11=no
17386 rm -f core conftest.err conftest.$ac_objext \
17387 conftest$ac_exeext conftest.$ac_ext
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17393 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17394 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17396 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17400 # Check for the existence of <complex.h> complex math functions.
17401 # This is necessary even though libstdc++ uses the builtin versions
17402 # of these functions, because if the builtin cannot be used, a reference
17403 # to the library function is emitted.
17404 for ac_header in tgmath.h
17405 do :
17406 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17407 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_TGMATH_H 1
17410 _ACEOF
17411 ac_has_tgmath_h=yes
17412 else
17413 ac_has_tgmath_h=no
17416 done
17418 for ac_header in complex.h
17419 do :
17420 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17421 if test "x$ac_cv_header_complex_h" = x""yes; then :
17422 cat >>confdefs.h <<_ACEOF
17423 #define HAVE_COMPLEX_H 1
17424 _ACEOF
17425 ac_has_complex_h=yes
17426 else
17427 ac_has_complex_h=no
17430 done
17432 if test x"$ac_has_complex_h" = x"yes"; then
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17434 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17435 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17439 if test x$gcc_no_link = xyes; then
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 #include <complex.h>
17443 typedef __complex__ float float_type;
17444 typedef __complex__ double double_type;
17445 typedef __complex__ long double ld_type;
17446 volatile float_type tmpf;
17447 volatile double_type tmpd;
17448 volatile ld_type tmpld;
17449 volatile float f;
17450 volatile double d;
17451 volatile long double ld;
17453 main ()
17455 f = cabsf(tmpf);
17456 f = cargf(tmpf);
17457 tmpf = ccosf(tmpf);
17458 tmpf = ccoshf(tmpf);
17459 tmpf = cexpf(tmpf);
17460 tmpf = clogf(tmpf);
17461 tmpf = csinf(tmpf);
17462 tmpf = csinhf(tmpf);
17463 tmpf = csqrtf(tmpf);
17464 tmpf = ctanf(tmpf);
17465 tmpf = ctanhf(tmpf);
17466 tmpf = cpowf(tmpf, tmpf);
17467 tmpf = cprojf(tmpf);
17468 d = cabs(tmpd);
17469 d = carg(tmpd);
17470 tmpd = ccos(tmpd);
17471 tmpd = ccosh(tmpd);
17472 tmpd = cexp(tmpd);
17473 tmpd = clog(tmpd);
17474 tmpd = csin(tmpd);
17475 tmpd = csinh(tmpd);
17476 tmpd = csqrt(tmpd);
17477 tmpd = ctan(tmpd);
17478 tmpd = ctanh(tmpd);
17479 tmpd = cpow(tmpd, tmpd);
17480 tmpd = cproj(tmpd);
17481 ld = cabsl(tmpld);
17482 ld = cargl(tmpld);
17483 tmpld = ccosl(tmpld);
17484 tmpld = ccoshl(tmpld);
17485 tmpld = cexpl(tmpld);
17486 tmpld = clogl(tmpld);
17487 tmpld = csinl(tmpld);
17488 tmpld = csinhl(tmpld);
17489 tmpld = csqrtl(tmpld);
17490 tmpld = ctanl(tmpld);
17491 tmpld = ctanhl(tmpld);
17492 tmpld = cpowl(tmpld, tmpld);
17493 tmpld = cprojl(tmpld);
17496 return 0;
17498 _ACEOF
17499 if ac_fn_cxx_try_compile "$LINENO"; then :
17500 glibcxx_cv_c99_complex_cxx11=yes
17501 else
17502 glibcxx_cv_c99_complex_cxx11=no
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17505 else
17506 if test x$gcc_no_link = xyes; then
17507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511 #include <complex.h>
17512 typedef __complex__ float float_type;
17513 typedef __complex__ double double_type;
17514 typedef __complex__ long double ld_type;
17515 volatile float_type tmpf;
17516 volatile double_type tmpd;
17517 volatile ld_type tmpld;
17518 volatile float f;
17519 volatile double d;
17520 volatile long double ld;
17522 main ()
17524 f = cabsf(tmpf);
17525 f = cargf(tmpf);
17526 tmpf = ccosf(tmpf);
17527 tmpf = ccoshf(tmpf);
17528 tmpf = cexpf(tmpf);
17529 tmpf = clogf(tmpf);
17530 tmpf = csinf(tmpf);
17531 tmpf = csinhf(tmpf);
17532 tmpf = csqrtf(tmpf);
17533 tmpf = ctanf(tmpf);
17534 tmpf = ctanhf(tmpf);
17535 tmpf = cpowf(tmpf, tmpf);
17536 tmpf = cprojf(tmpf);
17537 d = cabs(tmpd);
17538 d = carg(tmpd);
17539 tmpd = ccos(tmpd);
17540 tmpd = ccosh(tmpd);
17541 tmpd = cexp(tmpd);
17542 tmpd = clog(tmpd);
17543 tmpd = csin(tmpd);
17544 tmpd = csinh(tmpd);
17545 tmpd = csqrt(tmpd);
17546 tmpd = ctan(tmpd);
17547 tmpd = ctanh(tmpd);
17548 tmpd = cpow(tmpd, tmpd);
17549 tmpd = cproj(tmpd);
17550 ld = cabsl(tmpld);
17551 ld = cargl(tmpld);
17552 tmpld = ccosl(tmpld);
17553 tmpld = ccoshl(tmpld);
17554 tmpld = cexpl(tmpld);
17555 tmpld = clogl(tmpld);
17556 tmpld = csinl(tmpld);
17557 tmpld = csinhl(tmpld);
17558 tmpld = csqrtl(tmpld);
17559 tmpld = ctanl(tmpld);
17560 tmpld = ctanhl(tmpld);
17561 tmpld = cpowl(tmpld, tmpld);
17562 tmpld = cprojl(tmpld);
17565 return 0;
17567 _ACEOF
17568 if ac_fn_cxx_try_link "$LINENO"; then :
17569 glibcxx_cv_c99_complex_cxx11=yes
17570 else
17571 glibcxx_cv_c99_complex_cxx11=no
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext conftest.$ac_ext
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17581 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17582 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17584 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17588 # Check for the existence in <stdio.h> of vscanf, et. al.
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17590 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17591 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17595 if test x$gcc_no_link = xyes; then
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 #include <stdio.h>
17599 #include <stdarg.h>
17600 void foo(char* fmt, ...)
17602 va_list args; va_start(args, fmt);
17603 vfscanf(stderr, "%i", args);
17604 vscanf("%i", args);
17605 vsnprintf(fmt, 0, "%i", args);
17606 vsscanf(fmt, "%i", args);
17607 snprintf(fmt, 0, "%i");
17610 main ()
17614 return 0;
17616 _ACEOF
17617 if ac_fn_cxx_try_compile "$LINENO"; then :
17618 glibcxx_cv_c99_stdio_cxx11=yes
17619 else
17620 glibcxx_cv_c99_stdio_cxx11=no
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623 else
17624 if test x$gcc_no_link = xyes; then
17625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #include <stdio.h>
17630 #include <stdarg.h>
17631 void foo(char* fmt, ...)
17633 va_list args; va_start(args, fmt);
17634 vfscanf(stderr, "%i", args);
17635 vscanf("%i", args);
17636 vsnprintf(fmt, 0, "%i", args);
17637 vsscanf(fmt, "%i", args);
17638 snprintf(fmt, 0, "%i");
17641 main ()
17645 return 0;
17647 _ACEOF
17648 if ac_fn_cxx_try_link "$LINENO"; then :
17649 glibcxx_cv_c99_stdio_cxx11=yes
17650 else
17651 glibcxx_cv_c99_stdio_cxx11=no
17653 rm -f core conftest.err conftest.$ac_objext \
17654 conftest$ac_exeext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17660 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17661 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17663 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17667 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17669 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17670 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17671 $as_echo_n "(cached) " >&6
17672 else
17674 if test x$gcc_no_link = xyes; then
17675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h. */
17677 #include <stdlib.h>
17678 volatile float f;
17679 volatile long double ld;
17680 volatile unsigned long long ll;
17681 lldiv_t mydivt;
17683 main ()
17685 char* tmp;
17686 f = strtof("gnu", &tmp);
17687 ld = strtold("gnu", &tmp);
17688 ll = strtoll("gnu", &tmp, 10);
17689 ll = strtoull("gnu", &tmp, 10);
17690 ll = llabs(10);
17691 mydivt = lldiv(10,1);
17692 ll = mydivt.quot;
17693 ll = mydivt.rem;
17694 ll = atoll("10");
17695 _Exit(0);
17698 return 0;
17700 _ACEOF
17701 if ac_fn_cxx_try_compile "$LINENO"; then :
17702 glibcxx_cv_c99_stdlib_cxx11=yes
17703 else
17704 glibcxx_cv_c99_stdlib_cxx11=no
17706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 else
17708 if test x$gcc_no_link = xyes; then
17709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 #include <stdlib.h>
17714 volatile float f;
17715 volatile long double ld;
17716 volatile unsigned long long ll;
17717 lldiv_t mydivt;
17719 main ()
17721 char* tmp;
17722 f = strtof("gnu", &tmp);
17723 ld = strtold("gnu", &tmp);
17724 ll = strtoll("gnu", &tmp, 10);
17725 ll = strtoull("gnu", &tmp, 10);
17726 ll = llabs(10);
17727 mydivt = lldiv(10,1);
17728 ll = mydivt.quot;
17729 ll = mydivt.rem;
17730 ll = atoll("10");
17731 _Exit(0);
17734 return 0;
17736 _ACEOF
17737 if ac_fn_cxx_try_link "$LINENO"; then :
17738 glibcxx_cv_c99_stdlib_cxx11=yes
17739 else
17740 glibcxx_cv_c99_stdlib_cxx11=no
17742 rm -f core conftest.err conftest.$ac_objext \
17743 conftest$ac_exeext conftest.$ac_ext
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17749 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17750 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17752 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17756 # Check for the existence in <wchar.h> of wcstold, etc.
17757 if test x"$ac_has_wchar_h" = xyes &&
17758 test x"$ac_has_wctype_h" = xyes; then
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17760 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17761 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17762 $as_echo_n "(cached) " >&6
17763 else
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17767 #include <wchar.h>
17768 namespace test
17770 using ::wcstold;
17771 using ::wcstoll;
17772 using ::wcstoull;
17776 main ()
17780 return 0;
17782 _ACEOF
17783 if ac_fn_cxx_try_compile "$LINENO"; then :
17784 glibcxx_cv_c99_wchar_cxx11=yes
17785 else
17786 glibcxx_cv_c99_wchar_cxx11=no
17788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17793 # Checks for wide character functions that may not be present.
17794 # Injection of these is wrapped with guard macros.
17795 # NB: only put functions here, instead of immediately above, if
17796 # absolutely necessary.
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17799 #include <wchar.h>
17800 namespace test { using ::vfwscanf; }
17802 main ()
17806 return 0;
17808 _ACEOF
17809 if ac_fn_cxx_try_compile "$LINENO"; then :
17811 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17818 #include <wchar.h>
17819 namespace test { using ::vswscanf; }
17821 main ()
17825 return 0;
17827 _ACEOF
17828 if ac_fn_cxx_try_compile "$LINENO"; then :
17830 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17837 #include <wchar.h>
17838 namespace test { using ::vwscanf; }
17840 main ()
17844 return 0;
17846 _ACEOF
17847 if ac_fn_cxx_try_compile "$LINENO"; then :
17849 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 #include <wchar.h>
17857 namespace test { using ::wcstof; }
17859 main ()
17863 return 0;
17865 _ACEOF
17866 if ac_fn_cxx_try_compile "$LINENO"; then :
17868 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17875 #include <wctype.h>
17877 main ()
17879 wint_t t; int i = iswblank(t);
17881 return 0;
17883 _ACEOF
17884 if ac_fn_cxx_try_compile "$LINENO"; then :
17886 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17892 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17893 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17895 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17900 gcc_no_link="$ac_save_gcc_no_link"
17901 LIBS="$ac_save_LIBS"
17902 CXXFLAGS="$ac_save_CXXFLAGS"
17903 ac_ext=c
17904 ac_cpp='$CPP $CPPFLAGS'
17905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17912 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17914 $as_echo "$enable_c99" >&6; }
17917 # Check whether --enable-concept-checks was given.
17918 if test "${enable_concept_checks+set}" = set; then :
17919 enableval=$enable_concept_checks;
17920 case "$enableval" in
17921 yes|no) ;;
17922 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17923 esac
17925 else
17926 enable_concept_checks=no
17930 if test $enable_concept_checks = yes; then
17932 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17937 # Check whether --enable-libstdcxx-debug-flags was given.
17938 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17939 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17940 xno | x) enable_libstdcxx_debug_flags= ;;
17941 x-*) ;;
17942 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17943 esac
17944 else
17945 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17950 # Option parsed, now set things appropriately
17951 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17955 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17959 $as_echo_n "checking for additional debug build... " >&6; }
17960 # Check whether --enable-libstdcxx-debug was given.
17961 if test "${enable_libstdcxx_debug+set}" = set; then :
17962 enableval=$enable_libstdcxx_debug;
17963 case "$enableval" in
17964 yes|no) ;;
17965 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17966 esac
17968 else
17969 enable_libstdcxx_debug=no
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17974 $as_echo "$enable_libstdcxx_debug" >&6; }
17979 enable_parallel=no;
17981 # See if configured libgomp/omp.h exists. (libgomp may be in
17982 # noconfigdirs but not explicitly disabled.)
17983 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17984 enable_parallel=yes;
17985 else
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17987 $as_echo "$as_me: target-libgomp not built" >&6;}
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17991 $as_echo_n "checking for parallel mode support... " >&6; }
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17993 $as_echo "$enable_parallel" >&6; }
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17996 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17997 # Check whether --enable-cxx-flags was given.
17998 if test "${enable_cxx_flags+set}" = set; then :
17999 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18000 xno | x) enable_cxx_flags= ;;
18001 x-*) ;;
18002 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18003 esac
18004 else
18005 enable_cxx_flags=
18010 # Run through flags (either default or command-line) and set anything
18011 # extra (e.g., #defines) that must accompany particular g++ options.
18012 if test -n "$enable_cxx_flags"; then
18013 for f in $enable_cxx_flags; do
18014 case "$f" in
18015 -fhonor-std) ;;
18016 -*) ;;
18017 *) # and we're trying to pass /what/ exactly?
18018 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18019 esac
18020 done
18023 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18025 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18029 # Check whether --enable-fully-dynamic-string was given.
18030 if test "${enable_fully_dynamic_string+set}" = set; then :
18031 enableval=$enable_fully_dynamic_string;
18032 case "$enableval" in
18033 yes|no) ;;
18034 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18035 esac
18037 else
18038 enable_fully_dynamic_string=no
18042 if test $enable_fully_dynamic_string = yes; then
18043 enable_fully_dynamic_string_def=1
18044 else
18045 enable_fully_dynamic_string_def=0
18048 cat >>confdefs.h <<_ACEOF
18049 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18050 _ACEOF
18055 # Check whether --enable-extern-template was given.
18056 if test "${enable_extern_template+set}" = set; then :
18057 enableval=$enable_extern_template;
18058 case "$enableval" in
18059 yes|no) ;;
18060 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18061 esac
18063 else
18064 enable_extern_template=yes
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18070 $as_echo_n "checking for extern template support... " >&6; }
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18072 $as_echo "$enable_extern_template" >&6; }
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18079 $as_echo_n "checking for custom python install directory... " >&6; }
18081 # Check whether --with-python-dir was given.
18082 if test "${with_python_dir+set}" = set; then :
18083 withval=$with_python_dir; with_python_dir=$withval
18084 else
18085 with_python_dir="no"
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18089 $as_echo "${with_python_dir}" >&6; }
18091 # Needed for installing Python modules during make install.
18092 python_mod_dir="${with_python_dir}"
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18098 $as_echo_n "checking for -Werror... " >&6; }
18099 # Check whether --enable-werror was given.
18100 if test "${enable_werror+set}" = set; then :
18101 enableval=$enable_werror;
18102 case "$enableval" in
18103 yes|no) ;;
18104 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18105 esac
18107 else
18108 enable_werror=yes
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18113 $as_echo "$enable_werror" >&6; }
18118 # Check whether --enable-vtable-verify was given.
18119 if test "${enable_vtable_verify+set}" = set; then :
18120 enableval=$enable_vtable_verify;
18121 case "$enableval" in
18122 yes|no) ;;
18123 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18124 esac
18126 else
18127 enable_vtable_verify=no
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18133 $as_echo_n "checking for vtable verify support... " >&6; }
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18135 $as_echo "$enable_vtable_verify" >&6; }
18137 vtv_cygmin=no
18138 if test $enable_vtable_verify = yes; then
18139 case ${target_os} in
18140 cygwin*|mingw32*)
18141 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18142 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18143 vtv_cygmin=yes
18145 darwin*)
18146 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18147 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18149 solaris2*)
18150 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18151 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18154 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18155 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18157 esac
18158 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18159 else
18160 VTV_CXXFLAGS=
18161 VTV_PCH_CXXFLAGS=
18162 VTV_CXXLINKFLAGS=
18168 if test x$vtv_cygmin = xyes; then
18169 VTV_CYGMIN_TRUE=
18170 VTV_CYGMIN_FALSE='#'
18171 else
18172 VTV_CYGMIN_TRUE='#'
18173 VTV_CYGMIN_FALSE=
18179 # Checks for operating systems support that doesn't require linking.
18183 ac_ext=cpp
18184 ac_cpp='$CXXCPP $CPPFLAGS'
18185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18189 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18190 # and we don't need a declaration for C++14 anyway.
18191 ac_save_CXXFLAGS="$CXXFLAGS"
18192 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18195 $as_echo_n "checking for gets declaration... " >&6; }
18196 if test "${glibcxx_cv_gets+set}" = set; then :
18197 $as_echo_n "(cached) " >&6
18198 else
18200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18202 #include <stdio.h>
18203 namespace test
18205 using ::gets;
18208 _ACEOF
18209 if ac_fn_cxx_try_compile "$LINENO"; then :
18210 glibcxx_cv_gets=yes
18211 else
18212 glibcxx_cv_gets=no
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 if test $glibcxx_cv_gets = yes; then
18221 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18225 $as_echo "$glibcxx_cv_gets" >&6; }
18227 CXXFLAGS="$ac_save_CXXFLAGS"
18228 ac_ext=c
18229 ac_cpp='$CPP $CPPFLAGS'
18230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18238 ac_ext=cpp
18239 ac_cpp='$CXXCPP $CPPFLAGS'
18240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18244 ac_save_CXXFLAGS="$CXXFLAGS"
18245 CXXFLAGS="$CXXFLAGS -std=c++11"
18247 case "$host" in
18248 *-*-solaris2.*)
18249 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18250 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18252 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18253 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18254 $as_echo_n "(cached) " >&6
18255 else
18257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18258 /* end confdefs.h. */
18259 #include <math.h>
18260 #undef isfinite
18261 namespace std {
18262 inline bool isfinite(float __x)
18263 { return __builtin_isfinite(__x); }
18266 _ACEOF
18267 if ac_fn_cxx_try_compile "$LINENO"; then :
18268 glibcxx_cv_math11_fp_overload=no
18269 else
18270 glibcxx_cv_math11_fp_overload=yes
18273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18277 # autoheader cannot handle indented templates.
18280 if test $glibcxx_cv_math11_fp_overload = yes; then
18281 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18285 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18287 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18288 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18290 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18291 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18292 $as_echo_n "(cached) " >&6
18293 else
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #include <math.h>
18298 namespace std {
18299 template<typename _Tp>
18300 struct __is_integer;
18301 template<>
18302 struct __is_integer<int>
18304 enum { __value = 1 };
18307 namespace __gnu_cxx {
18308 template<bool, typename>
18309 struct __enable_if;
18310 template<typename _Tp>
18311 struct __enable_if<true, _Tp>
18312 { typedef _Tp __type; };
18314 namespace std {
18315 template<typename _Tp>
18316 constexpr typename __gnu_cxx::__enable_if
18317 <__is_integer<_Tp>::__value, double>::__type
18318 log2(_Tp __x)
18319 { return __builtin_log2(__x); }
18322 main (void)
18324 int i = 1000;
18325 return std::log2(i);
18328 _ACEOF
18329 if ac_fn_cxx_try_compile "$LINENO"; then :
18330 glibcxx_cv_math11_int_overload=no
18331 else
18332 glibcxx_cv_math11_int_overload=yes
18335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18339 # autoheader cannot handle indented templates.
18342 if test $glibcxx_cv_math11_int_overload = yes; then
18343 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18347 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18350 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18351 # functions (instead of or as well as the C99 generic macros) then we
18352 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18353 # and must use the ones from <math.h> instead.
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18355 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18356 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18357 $as_echo_n "(cached) " >&6
18358 else
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18363 #include <math.h>
18364 #undef isinf
18365 namespace std {
18366 using ::isinf;
18367 bool isinf(float);
18368 bool isinf(long double);
18370 using std::isinf;
18371 bool b = isinf(0.0);
18373 _ACEOF
18374 if ac_fn_cxx_try_compile "$LINENO"; then :
18375 glibcxx_cv_obsolete_isinf=yes
18376 else
18377 glibcxx_cv_obsolete_isinf=no
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18384 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18385 if test $glibcxx_cv_obsolete_isinf = yes; then
18387 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18392 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18393 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18394 $as_echo_n "(cached) " >&6
18395 else
18397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18398 /* end confdefs.h. */
18399 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18400 #include <math.h>
18401 #undef isnan
18402 namespace std {
18403 using ::isnan;
18404 bool isnan(float);
18405 bool isnan(long double);
18407 using std::isnan;
18408 bool b = isnan(0.0);
18410 _ACEOF
18411 if ac_fn_cxx_try_compile "$LINENO"; then :
18412 glibcxx_cv_obsolete_isnan=yes
18413 else
18414 glibcxx_cv_obsolete_isnan=no
18417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18421 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18422 if test $glibcxx_cv_obsolete_isnan = yes; then
18424 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18428 esac
18430 CXXFLAGS="$ac_save_CXXFLAGS"
18431 ac_ext=c
18432 ac_cpp='$CPP $CPPFLAGS'
18433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18441 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18442 if test "${glibcxx_cv_system_error1+set}" = set; then :
18443 $as_echo_n "(cached) " >&6
18444 else
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18448 #include <errno.h>
18450 main ()
18452 int i = EOWNERDEAD;
18454 return 0;
18456 _ACEOF
18457 if ac_fn_c_try_compile "$LINENO"; then :
18458 glibcxx_cv_system_error1=yes
18459 else
18460 glibcxx_cv_system_error1=no
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18467 $as_echo "$glibcxx_cv_system_error1" >&6; }
18468 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18470 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18474 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18475 if test "${glibcxx_cv_system_error2+set}" = set; then :
18476 $as_echo_n "(cached) " >&6
18477 else
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 #include <errno.h>
18483 main ()
18485 int i = ENOTRECOVERABLE;
18487 return 0;
18489 _ACEOF
18490 if ac_fn_c_try_compile "$LINENO"; then :
18491 glibcxx_cv_system_error2=yes
18492 else
18493 glibcxx_cv_system_error2=no
18495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18500 $as_echo "$glibcxx_cv_system_error2" >&6; }
18501 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18503 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18507 $as_echo_n "checking for ENOLINK... " >&6; }
18508 if test "${glibcxx_cv_system_error3+set}" = set; then :
18509 $as_echo_n "(cached) " >&6
18510 else
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18514 #include <errno.h>
18516 main ()
18518 int i = ENOLINK;
18520 return 0;
18522 _ACEOF
18523 if ac_fn_c_try_compile "$LINENO"; then :
18524 glibcxx_cv_system_error3=yes
18525 else
18526 glibcxx_cv_system_error3=no
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18533 $as_echo "$glibcxx_cv_system_error3" >&6; }
18534 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18536 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18540 $as_echo_n "checking for EPROTO... " >&6; }
18541 if test "${glibcxx_cv_system_error4+set}" = set; then :
18542 $as_echo_n "(cached) " >&6
18543 else
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18547 #include <errno.h>
18549 main ()
18551 int i = EPROTO;
18553 return 0;
18555 _ACEOF
18556 if ac_fn_c_try_compile "$LINENO"; then :
18557 glibcxx_cv_system_error4=yes
18558 else
18559 glibcxx_cv_system_error4=no
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18566 $as_echo "$glibcxx_cv_system_error4" >&6; }
18567 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18569 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18573 $as_echo_n "checking for ENODATA... " >&6; }
18574 if test "${glibcxx_cv_system_error5+set}" = set; then :
18575 $as_echo_n "(cached) " >&6
18576 else
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 #include <errno.h>
18582 main ()
18584 int i = ENODATA;
18586 return 0;
18588 _ACEOF
18589 if ac_fn_c_try_compile "$LINENO"; then :
18590 glibcxx_cv_system_error5=yes
18591 else
18592 glibcxx_cv_system_error5=no
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18599 $as_echo "$glibcxx_cv_system_error5" >&6; }
18600 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18602 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18606 $as_echo_n "checking for ENOSR... " >&6; }
18607 if test "${glibcxx_cv_system_error6+set}" = set; then :
18608 $as_echo_n "(cached) " >&6
18609 else
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 #include <errno.h>
18615 main ()
18617 int i = ENOSR;
18619 return 0;
18621 _ACEOF
18622 if ac_fn_c_try_compile "$LINENO"; then :
18623 glibcxx_cv_system_error6=yes
18624 else
18625 glibcxx_cv_system_error6=no
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18632 $as_echo "$glibcxx_cv_system_error6" >&6; }
18633 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18635 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18639 $as_echo_n "checking for ENOSTR... " >&6; }
18640 if test "${glibcxx_cv_system_error7+set}" = set; then :
18641 $as_echo_n "(cached) " >&6
18642 else
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 #include <errno.h>
18648 main ()
18650 int i = ENOSTR;
18652 return 0;
18654 _ACEOF
18655 if ac_fn_c_try_compile "$LINENO"; then :
18656 glibcxx_cv_system_error7=yes
18657 else
18658 glibcxx_cv_system_error7=no
18660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18665 $as_echo "$glibcxx_cv_system_error7" >&6; }
18666 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18668 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18672 $as_echo_n "checking for ETIME... " >&6; }
18673 if test "${glibcxx_cv_system_error8+set}" = set; then :
18674 $as_echo_n "(cached) " >&6
18675 else
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18679 #include <errno.h>
18681 main ()
18683 int i = ETIME;
18685 return 0;
18687 _ACEOF
18688 if ac_fn_c_try_compile "$LINENO"; then :
18689 glibcxx_cv_system_error8=yes
18690 else
18691 glibcxx_cv_system_error8=no
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18698 $as_echo "$glibcxx_cv_system_error8" >&6; }
18699 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18701 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18705 $as_echo_n "checking for EBADMSG... " >&6; }
18706 if test "${glibcxx_cv_system_error9+set}" = set; then :
18707 $as_echo_n "(cached) " >&6
18708 else
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18712 #include <errno.h>
18714 main ()
18716 int i = EBADMSG;
18718 return 0;
18720 _ACEOF
18721 if ac_fn_c_try_compile "$LINENO"; then :
18722 glibcxx_cv_system_error9=yes
18723 else
18724 glibcxx_cv_system_error9=no
18726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18731 $as_echo "$glibcxx_cv_system_error9" >&6; }
18732 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18734 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18738 $as_echo_n "checking for ECANCELED... " >&6; }
18739 if test "${glibcxx_cv_system_error10+set}" = set; then :
18740 $as_echo_n "(cached) " >&6
18741 else
18743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18745 #include <errno.h>
18747 main ()
18749 int i = ECANCELED;
18751 return 0;
18753 _ACEOF
18754 if ac_fn_c_try_compile "$LINENO"; then :
18755 glibcxx_cv_system_error10=yes
18756 else
18757 glibcxx_cv_system_error10=no
18759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18764 $as_echo "$glibcxx_cv_system_error10" >&6; }
18765 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18767 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18771 $as_echo_n "checking for EOVERFLOW... " >&6; }
18772 if test "${glibcxx_cv_system_error11+set}" = set; then :
18773 $as_echo_n "(cached) " >&6
18774 else
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18778 #include <errno.h>
18780 main ()
18782 int i = EOVERFLOW;
18784 return 0;
18786 _ACEOF
18787 if ac_fn_c_try_compile "$LINENO"; then :
18788 glibcxx_cv_system_error11=yes
18789 else
18790 glibcxx_cv_system_error11=no
18792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18797 $as_echo "$glibcxx_cv_system_error11" >&6; }
18798 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18800 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18804 $as_echo_n "checking for ENOTSUP... " >&6; }
18805 if test "${glibcxx_cv_system_error12+set}" = set; then :
18806 $as_echo_n "(cached) " >&6
18807 else
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18811 #include <errno.h>
18813 main ()
18815 int i = ENOTSUP;
18817 return 0;
18819 _ACEOF
18820 if ac_fn_c_try_compile "$LINENO"; then :
18821 glibcxx_cv_system_error12=yes
18822 else
18823 glibcxx_cv_system_error12=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18830 $as_echo "$glibcxx_cv_system_error12" >&6; }
18831 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18833 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18837 $as_echo_n "checking for EIDRM... " >&6; }
18838 if test "${glibcxx_cv_system_error13+set}" = set; then :
18839 $as_echo_n "(cached) " >&6
18840 else
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 #include <errno.h>
18846 main ()
18848 int i = EIDRM;
18850 return 0;
18852 _ACEOF
18853 if ac_fn_c_try_compile "$LINENO"; then :
18854 glibcxx_cv_system_error13=yes
18855 else
18856 glibcxx_cv_system_error13=no
18858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18863 $as_echo "$glibcxx_cv_system_error13" >&6; }
18864 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18866 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18870 $as_echo_n "checking for ETXTBSY... " >&6; }
18871 if test "${glibcxx_cv_system_error14+set}" = set; then :
18872 $as_echo_n "(cached) " >&6
18873 else
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18877 #include <errno.h>
18879 main ()
18881 int i = ETXTBSY;
18883 return 0;
18885 _ACEOF
18886 if ac_fn_c_try_compile "$LINENO"; then :
18887 glibcxx_cv_system_error14=yes
18888 else
18889 glibcxx_cv_system_error14=no
18891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18896 $as_echo "$glibcxx_cv_system_error14" >&6; }
18897 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18899 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18903 $as_echo_n "checking for ECHILD... " >&6; }
18904 if test "${glibcxx_cv_system_error15+set}" = set; then :
18905 $as_echo_n "(cached) " >&6
18906 else
18908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18909 /* end confdefs.h. */
18910 #include <errno.h>
18912 main ()
18914 int i = ECHILD;
18916 return 0;
18918 _ACEOF
18919 if ac_fn_c_try_compile "$LINENO"; then :
18920 glibcxx_cv_system_error15=yes
18921 else
18922 glibcxx_cv_system_error15=no
18924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18929 $as_echo "$glibcxx_cv_system_error15" >&6; }
18930 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18932 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18936 $as_echo_n "checking for ENOSPC... " >&6; }
18937 if test "${glibcxx_cv_system_error16+set}" = set; then :
18938 $as_echo_n "(cached) " >&6
18939 else
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18943 #include <errno.h>
18945 main ()
18947 int i = ENOSPC;
18949 return 0;
18951 _ACEOF
18952 if ac_fn_c_try_compile "$LINENO"; then :
18953 glibcxx_cv_system_error16=yes
18954 else
18955 glibcxx_cv_system_error16=no
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18962 $as_echo "$glibcxx_cv_system_error16" >&6; }
18963 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18965 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18969 $as_echo_n "checking for EPERM... " >&6; }
18970 if test "${glibcxx_cv_system_error17+set}" = set; then :
18971 $as_echo_n "(cached) " >&6
18972 else
18974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18976 #include <errno.h>
18978 main ()
18980 int i = EPERM;
18982 return 0;
18984 _ACEOF
18985 if ac_fn_c_try_compile "$LINENO"; then :
18986 glibcxx_cv_system_error17=yes
18987 else
18988 glibcxx_cv_system_error17=no
18990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18995 $as_echo "$glibcxx_cv_system_error17" >&6; }
18996 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18998 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19002 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19003 if test "${glibcxx_cv_system_error18+set}" = set; then :
19004 $as_echo_n "(cached) " >&6
19005 else
19007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008 /* end confdefs.h. */
19009 #include <errno.h>
19011 main ()
19013 int i = ETIMEDOUT;
19015 return 0;
19017 _ACEOF
19018 if ac_fn_c_try_compile "$LINENO"; then :
19019 glibcxx_cv_system_error18=yes
19020 else
19021 glibcxx_cv_system_error18=no
19023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19028 $as_echo "$glibcxx_cv_system_error18" >&6; }
19029 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19031 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19035 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19036 if test "${glibcxx_cv_system_error19+set}" = set; then :
19037 $as_echo_n "(cached) " >&6
19038 else
19040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19041 /* end confdefs.h. */
19042 #include <errno.h>
19044 main ()
19046 int i = EWOULDBLOCK;
19048 return 0;
19050 _ACEOF
19051 if ac_fn_c_try_compile "$LINENO"; then :
19052 glibcxx_cv_system_error19=yes
19053 else
19054 glibcxx_cv_system_error19=no
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19061 $as_echo "$glibcxx_cv_system_error19" >&6; }
19062 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19064 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19071 # Test uchar.h.
19072 for ac_header in uchar.h
19073 do :
19074 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19075 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_UCHAR_H 1
19078 _ACEOF
19079 ac_has_uchar_h=yes
19080 else
19081 ac_has_uchar_h=no
19084 done
19088 ac_ext=cpp
19089 ac_cpp='$CXXCPP $CPPFLAGS'
19090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19094 ac_save_CXXFLAGS="$CXXFLAGS"
19095 CXXFLAGS="$CXXFLAGS -std=c++11"
19097 if test x"$ac_has_uchar_h" = x"yes"; then
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19099 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19101 /* end confdefs.h. */
19102 #include <uchar.h>
19103 #ifdef __STDC_UTF_16__
19104 long i = __STDC_UTF_16__;
19105 #endif
19106 #ifdef __STDC_UTF_32__
19107 long j = __STDC_UTF_32__;
19108 #endif
19109 namespace test
19111 using ::c16rtomb;
19112 using ::c32rtomb;
19113 using ::mbrtoc16;
19114 using ::mbrtoc32;
19118 main ()
19122 return 0;
19124 _ACEOF
19125 if ac_fn_cxx_try_compile "$LINENO"; then :
19126 ac_c11_uchar_cxx11=yes
19127 else
19128 ac_c11_uchar_cxx11=no
19130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19131 else
19132 ac_c11_uchar_cxx11=no
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19135 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19136 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19138 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19142 CXXFLAGS="$ac_save_CXXFLAGS"
19143 ac_ext=c
19144 ac_cpp='$CPP $CPPFLAGS'
19145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19151 # For the streamoff typedef.
19155 ac_ext=cpp
19156 ac_cpp='$CXXCPP $CPPFLAGS'
19157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19163 $as_echo_n "checking for int64_t... " >&6; }
19164 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19165 $as_echo_n "(cached) " >&6
19166 else
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19170 #include <stdint.h>
19172 main ()
19174 int64_t var;
19176 return 0;
19178 _ACEOF
19179 if ac_fn_cxx_try_compile "$LINENO"; then :
19180 glibcxx_cv_INT64_T=yes
19181 else
19182 glibcxx_cv_INT64_T=no
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19189 if test $glibcxx_cv_INT64_T = yes; then
19191 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19194 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19197 $as_echo_n "checking for int64_t as long... " >&6; }
19198 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19199 $as_echo_n "(cached) " >&6
19200 else
19202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19204 #include <stdint.h>
19205 template<typename, typename> struct same { enum { value = -1 }; };
19206 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19207 int array[same<int64_t, long>::value];
19209 main ()
19213 return 0;
19215 _ACEOF
19216 if ac_fn_cxx_try_compile "$LINENO"; then :
19217 glibcxx_cv_int64_t_long=yes
19218 else
19219 glibcxx_cv_int64_t_long=no
19221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19226 if test $glibcxx_cv_int64_t_long = yes; then
19228 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19231 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19235 $as_echo_n "checking for int64_t as long long... " >&6; }
19236 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19237 $as_echo_n "(cached) " >&6
19238 else
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19242 #include <stdint.h>
19243 template<typename, typename> struct same { enum { value = -1 }; };
19244 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19245 int array[same<int64_t, long long>::value];
19247 main ()
19251 return 0;
19253 _ACEOF
19254 if ac_fn_cxx_try_compile "$LINENO"; then :
19255 glibcxx_cv_int64_t_long_long=yes
19256 else
19257 glibcxx_cv_int64_t_long_long=no
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19264 if test $glibcxx_cv_int64_t_long_long = yes; then
19266 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19269 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19273 ac_ext=c
19274 ac_cpp='$CPP $CPPFLAGS'
19275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19281 # For LFS support.
19284 ac_ext=cpp
19285 ac_cpp='$CXXCPP $CPPFLAGS'
19286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19290 ac_save_CXXFLAGS="$CXXFLAGS"
19291 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19293 $as_echo_n "checking for LFS support... " >&6; }
19294 if test "${glibcxx_cv_LFS+set}" = set; then :
19295 $as_echo_n "(cached) " >&6
19296 else
19298 if test x$gcc_no_link = xyes; then
19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19301 #include <unistd.h>
19302 #include <stdio.h>
19303 #include <sys/stat.h>
19306 main ()
19308 FILE* fp;
19309 fopen64("t", "w");
19310 fseeko64(fp, 0, SEEK_CUR);
19311 ftello64(fp);
19312 lseek64(1, 0, SEEK_CUR);
19313 struct stat64 buf;
19314 fstat64(1, &buf);
19316 return 0;
19318 _ACEOF
19319 if ac_fn_cxx_try_compile "$LINENO"; then :
19320 glibcxx_cv_LFS=yes
19321 else
19322 glibcxx_cv_LFS=no
19324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19325 else
19326 if test x$gcc_no_link = xyes; then
19327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 #include <unistd.h>
19332 #include <stdio.h>
19333 #include <sys/stat.h>
19336 main ()
19338 FILE* fp;
19339 fopen64("t", "w");
19340 fseeko64(fp, 0, SEEK_CUR);
19341 ftello64(fp);
19342 lseek64(1, 0, SEEK_CUR);
19343 struct stat64 buf;
19344 fstat64(1, &buf);
19346 return 0;
19348 _ACEOF
19349 if ac_fn_cxx_try_link "$LINENO"; then :
19350 glibcxx_cv_LFS=yes
19351 else
19352 glibcxx_cv_LFS=no
19354 rm -f core conftest.err conftest.$ac_objext \
19355 conftest$ac_exeext conftest.$ac_ext
19360 if test $glibcxx_cv_LFS = yes; then
19362 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19366 $as_echo "$glibcxx_cv_LFS" >&6; }
19367 CXXFLAGS="$ac_save_CXXFLAGS"
19368 ac_ext=c
19369 ac_cpp='$CPP $CPPFLAGS'
19370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19376 # For showmanyc_helper().
19377 for ac_header in sys/ioctl.h sys/filio.h
19378 do :
19379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19380 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19381 eval as_val=\$$as_ac_Header
19382 if test "x$as_val" = x""yes; then :
19383 cat >>confdefs.h <<_ACEOF
19384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19385 _ACEOF
19389 done
19394 ac_ext=cpp
19395 ac_cpp='$CXXCPP $CPPFLAGS'
19396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19400 ac_save_CXXFLAGS="$CXXFLAGS"
19401 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19404 $as_echo_n "checking for poll... " >&6; }
19405 if test "${glibcxx_cv_POLL+set}" = set; then :
19406 $as_echo_n "(cached) " >&6
19407 else
19409 if test x$gcc_no_link = xyes; then
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #include <poll.h>
19414 main ()
19416 struct pollfd pfd[1];
19417 pfd[0].events = POLLIN;
19418 poll(pfd, 1, 0);
19420 return 0;
19422 _ACEOF
19423 if ac_fn_cxx_try_compile "$LINENO"; then :
19424 glibcxx_cv_POLL=yes
19425 else
19426 glibcxx_cv_POLL=no
19428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 else
19430 if test x$gcc_no_link = xyes; then
19431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <poll.h>
19437 main ()
19439 struct pollfd pfd[1];
19440 pfd[0].events = POLLIN;
19441 poll(pfd, 1, 0);
19443 return 0;
19445 _ACEOF
19446 if ac_fn_cxx_try_link "$LINENO"; then :
19447 glibcxx_cv_POLL=yes
19448 else
19449 glibcxx_cv_POLL=no
19451 rm -f core conftest.err conftest.$ac_objext \
19452 conftest$ac_exeext conftest.$ac_ext
19457 if test $glibcxx_cv_POLL = yes; then
19459 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19463 $as_echo "$glibcxx_cv_POLL" >&6; }
19465 CXXFLAGS="$ac_save_CXXFLAGS"
19466 ac_ext=c
19467 ac_cpp='$CPP $CPPFLAGS'
19468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19476 ac_ext=cpp
19477 ac_cpp='$CXXCPP $CPPFLAGS'
19478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19482 ac_save_CXXFLAGS="$CXXFLAGS"
19483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19486 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19487 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19488 $as_echo_n "(cached) " >&6
19489 else
19491 if test x$gcc_no_link = xyes; then
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <sys/stat.h>
19496 main ()
19498 struct stat buffer;
19499 fstat(0, &buffer);
19500 S_ISREG(buffer.st_mode);
19502 return 0;
19504 _ACEOF
19505 if ac_fn_cxx_try_compile "$LINENO"; then :
19506 glibcxx_cv_S_ISREG=yes
19507 else
19508 glibcxx_cv_S_ISREG=no
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 else
19512 if test x$gcc_no_link = xyes; then
19513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19517 #include <sys/stat.h>
19519 main ()
19521 struct stat buffer;
19522 fstat(0, &buffer);
19523 S_ISREG(buffer.st_mode);
19525 return 0;
19527 _ACEOF
19528 if ac_fn_cxx_try_link "$LINENO"; then :
19529 glibcxx_cv_S_ISREG=yes
19530 else
19531 glibcxx_cv_S_ISREG=no
19533 rm -f core conftest.err conftest.$ac_objext \
19534 conftest$ac_exeext conftest.$ac_ext
19539 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19543 if test x$gcc_no_link = xyes; then
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19546 #include <sys/stat.h>
19548 main ()
19550 struct stat buffer;
19551 fstat(0, &buffer);
19552 S_IFREG & buffer.st_mode;
19554 return 0;
19556 _ACEOF
19557 if ac_fn_cxx_try_compile "$LINENO"; then :
19558 glibcxx_cv_S_IFREG=yes
19559 else
19560 glibcxx_cv_S_IFREG=no
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 else
19564 if test x$gcc_no_link = xyes; then
19565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 #include <sys/stat.h>
19571 main ()
19573 struct stat buffer;
19574 fstat(0, &buffer);
19575 S_IFREG & buffer.st_mode;
19577 return 0;
19579 _ACEOF
19580 if ac_fn_cxx_try_link "$LINENO"; then :
19581 glibcxx_cv_S_IFREG=yes
19582 else
19583 glibcxx_cv_S_IFREG=no
19585 rm -f core conftest.err conftest.$ac_objext \
19586 conftest$ac_exeext conftest.$ac_ext
19591 res=no
19592 if test $glibcxx_cv_S_ISREG = yes; then
19594 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19596 res=S_ISREG
19597 elif test $glibcxx_cv_S_IFREG = yes; then
19599 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19601 res=S_IFREG
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19604 $as_echo "$res" >&6; }
19606 CXXFLAGS="$ac_save_CXXFLAGS"
19607 ac_ext=c
19608 ac_cpp='$CPP $CPPFLAGS'
19609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19615 # For xsputn_2().
19616 for ac_header in sys/uio.h
19617 do :
19618 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19619 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19620 cat >>confdefs.h <<_ACEOF
19621 #define HAVE_SYS_UIO_H 1
19622 _ACEOF
19626 done
19631 ac_ext=cpp
19632 ac_cpp='$CXXCPP $CPPFLAGS'
19633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19637 ac_save_CXXFLAGS="$CXXFLAGS"
19638 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19641 $as_echo_n "checking for writev... " >&6; }
19642 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19646 if test x$gcc_no_link = xyes; then
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <sys/uio.h>
19651 main ()
19653 struct iovec iov[2];
19654 writev(0, iov, 0);
19656 return 0;
19658 _ACEOF
19659 if ac_fn_cxx_try_compile "$LINENO"; then :
19660 glibcxx_cv_WRITEV=yes
19661 else
19662 glibcxx_cv_WRITEV=no
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19665 else
19666 if test x$gcc_no_link = xyes; then
19667 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 #include <sys/uio.h>
19673 main ()
19675 struct iovec iov[2];
19676 writev(0, iov, 0);
19678 return 0;
19680 _ACEOF
19681 if ac_fn_cxx_try_link "$LINENO"; then :
19682 glibcxx_cv_WRITEV=yes
19683 else
19684 glibcxx_cv_WRITEV=no
19686 rm -f core conftest.err conftest.$ac_objext \
19687 conftest$ac_exeext conftest.$ac_ext
19692 if test $glibcxx_cv_WRITEV = yes; then
19694 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19698 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19700 CXXFLAGS="$ac_save_CXXFLAGS"
19701 ac_ext=c
19702 ac_cpp='$CPP $CPPFLAGS'
19703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19709 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19710 # so that the check is done with the C compiler (not C++).
19711 # Checking with C++ can break a canadian cross build if either
19712 # file does not exist in C but does in C++.
19713 for ac_header in fenv.h complex.h
19714 do :
19715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19716 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19717 eval as_val=\$$as_ac_Header
19718 if test "x$as_val" = x""yes; then :
19719 cat >>confdefs.h <<_ACEOF
19720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19721 _ACEOF
19725 done
19728 # For C99 support to TR1.
19732 ac_ext=cpp
19733 ac_cpp='$CXXCPP $CPPFLAGS'
19734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19739 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19740 # undefined and fake C99 facilities may be spuriously enabled.
19741 ac_save_CXXFLAGS="$CXXFLAGS"
19742 CXXFLAGS="$CXXFLAGS -std=c++98"
19744 # Check for the existence of <complex.h> complex math functions used
19745 # by tr1/complex.
19746 for ac_header in complex.h
19747 do :
19748 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19749 if test "x$ac_cv_header_complex_h" = x""yes; then :
19750 cat >>confdefs.h <<_ACEOF
19751 #define HAVE_COMPLEX_H 1
19752 _ACEOF
19753 ac_has_complex_h=yes
19754 else
19755 ac_has_complex_h=no
19758 done
19760 ac_c99_complex_tr1=no;
19761 if test x"$ac_has_complex_h" = x"yes"; then
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19763 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19765 /* end confdefs.h. */
19766 #include <complex.h>
19768 main ()
19770 typedef __complex__ float float_type; float_type tmpf;
19771 cacosf(tmpf);
19772 casinf(tmpf);
19773 catanf(tmpf);
19774 cacoshf(tmpf);
19775 casinhf(tmpf);
19776 catanhf(tmpf);
19777 typedef __complex__ double double_type; double_type tmpd;
19778 cacos(tmpd);
19779 casin(tmpd);
19780 catan(tmpd);
19781 cacosh(tmpd);
19782 casinh(tmpd);
19783 catanh(tmpd);
19784 typedef __complex__ long double ld_type; ld_type tmpld;
19785 cacosl(tmpld);
19786 casinl(tmpld);
19787 catanl(tmpld);
19788 cacoshl(tmpld);
19789 casinhl(tmpld);
19790 catanhl(tmpld);
19793 return 0;
19795 _ACEOF
19796 if ac_fn_cxx_try_compile "$LINENO"; then :
19797 ac_c99_complex_tr1=yes
19798 else
19799 ac_c99_complex_tr1=no
19801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19804 $as_echo "$ac_c99_complex_tr1" >&6; }
19805 if test x"$ac_c99_complex_tr1" = x"yes"; then
19807 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19811 # Check for the existence of <ctype.h> functions.
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19813 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19814 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19815 $as_echo_n "(cached) " >&6
19816 else
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19820 #include <ctype.h>
19822 main ()
19824 int ch;
19825 int ret;
19826 ret = isblank(ch);
19829 return 0;
19831 _ACEOF
19832 if ac_fn_cxx_try_compile "$LINENO"; then :
19833 glibcxx_cv_c99_ctype_tr1=yes
19834 else
19835 glibcxx_cv_c99_ctype_tr1=no
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19842 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19843 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19845 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19849 # Check for the existence of <fenv.h> functions.
19850 for ac_header in fenv.h
19851 do :
19852 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19853 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19854 cat >>confdefs.h <<_ACEOF
19855 #define HAVE_FENV_H 1
19856 _ACEOF
19857 ac_has_fenv_h=yes
19858 else
19859 ac_has_fenv_h=no
19862 done
19864 ac_c99_fenv_tr1=no;
19865 if test x"$ac_has_fenv_h" = x"yes"; then
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19867 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #include <fenv.h>
19872 main ()
19874 int except, mode;
19875 fexcept_t* pflag;
19876 fenv_t* penv;
19877 int ret;
19878 ret = feclearexcept(except);
19879 ret = fegetexceptflag(pflag, except);
19880 ret = feraiseexcept(except);
19881 ret = fesetexceptflag(pflag, except);
19882 ret = fetestexcept(except);
19883 ret = fegetround();
19884 ret = fesetround(mode);
19885 ret = fegetenv(penv);
19886 ret = feholdexcept(penv);
19887 ret = fesetenv(penv);
19888 ret = feupdateenv(penv);
19891 return 0;
19893 _ACEOF
19894 if ac_fn_cxx_try_compile "$LINENO"; then :
19895 ac_c99_fenv_tr1=yes
19896 else
19897 ac_c99_fenv_tr1=no
19899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19902 $as_echo "$ac_c99_fenv_tr1" >&6; }
19903 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19905 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19909 # Check for the existence of <stdint.h> types.
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19911 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19912 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19913 $as_echo_n "(cached) " >&6
19914 else
19916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h. */
19918 #define __STDC_LIMIT_MACROS
19919 #define __STDC_CONSTANT_MACROS
19920 #include <stdint.h>
19922 main ()
19924 typedef int8_t my_int8_t;
19925 my_int8_t i8 = INT8_MIN;
19926 i8 = INT8_MAX;
19927 typedef int16_t my_int16_t;
19928 my_int16_t i16 = INT16_MIN;
19929 i16 = INT16_MAX;
19930 typedef int32_t my_int32_t;
19931 my_int32_t i32 = INT32_MIN;
19932 i32 = INT32_MAX;
19933 typedef int64_t my_int64_t;
19934 my_int64_t i64 = INT64_MIN;
19935 i64 = INT64_MAX;
19936 typedef int_fast8_t my_int_fast8_t;
19937 my_int_fast8_t if8 = INT_FAST8_MIN;
19938 if8 = INT_FAST8_MAX;
19939 typedef int_fast16_t my_int_fast16_t;
19940 my_int_fast16_t if16 = INT_FAST16_MIN;
19941 if16 = INT_FAST16_MAX;
19942 typedef int_fast32_t my_int_fast32_t;
19943 my_int_fast32_t if32 = INT_FAST32_MIN;
19944 if32 = INT_FAST32_MAX;
19945 typedef int_fast64_t my_int_fast64_t;
19946 my_int_fast64_t if64 = INT_FAST64_MIN;
19947 if64 = INT_FAST64_MAX;
19948 typedef int_least8_t my_int_least8_t;
19949 my_int_least8_t il8 = INT_LEAST8_MIN;
19950 il8 = INT_LEAST8_MAX;
19951 typedef int_least16_t my_int_least16_t;
19952 my_int_least16_t il16 = INT_LEAST16_MIN;
19953 il16 = INT_LEAST16_MAX;
19954 typedef int_least32_t my_int_least32_t;
19955 my_int_least32_t il32 = INT_LEAST32_MIN;
19956 il32 = INT_LEAST32_MAX;
19957 typedef int_least64_t my_int_least64_t;
19958 my_int_least64_t il64 = INT_LEAST64_MIN;
19959 il64 = INT_LEAST64_MAX;
19960 typedef intmax_t my_intmax_t;
19961 my_intmax_t im = INTMAX_MAX;
19962 im = INTMAX_MIN;
19963 typedef intptr_t my_intptr_t;
19964 my_intptr_t ip = INTPTR_MAX;
19965 ip = INTPTR_MIN;
19966 typedef uint8_t my_uint8_t;
19967 my_uint8_t ui8 = UINT8_MAX;
19968 ui8 = UINT8_MAX;
19969 typedef uint16_t my_uint16_t;
19970 my_uint16_t ui16 = UINT16_MAX;
19971 ui16 = UINT16_MAX;
19972 typedef uint32_t my_uint32_t;
19973 my_uint32_t ui32 = UINT32_MAX;
19974 ui32 = UINT32_MAX;
19975 typedef uint64_t my_uint64_t;
19976 my_uint64_t ui64 = UINT64_MAX;
19977 ui64 = UINT64_MAX;
19978 typedef uint_fast8_t my_uint_fast8_t;
19979 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19980 uif8 = UINT_FAST8_MAX;
19981 typedef uint_fast16_t my_uint_fast16_t;
19982 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19983 uif16 = UINT_FAST16_MAX;
19984 typedef uint_fast32_t my_uint_fast32_t;
19985 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19986 uif32 = UINT_FAST32_MAX;
19987 typedef uint_fast64_t my_uint_fast64_t;
19988 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19989 uif64 = UINT_FAST64_MAX;
19990 typedef uint_least8_t my_uint_least8_t;
19991 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19992 uil8 = UINT_LEAST8_MAX;
19993 typedef uint_least16_t my_uint_least16_t;
19994 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19995 uil16 = UINT_LEAST16_MAX;
19996 typedef uint_least32_t my_uint_least32_t;
19997 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19998 uil32 = UINT_LEAST32_MAX;
19999 typedef uint_least64_t my_uint_least64_t;
20000 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20001 uil64 = UINT_LEAST64_MAX;
20002 typedef uintmax_t my_uintmax_t;
20003 my_uintmax_t uim = UINTMAX_MAX;
20004 uim = UINTMAX_MAX;
20005 typedef uintptr_t my_uintptr_t;
20006 my_uintptr_t uip = UINTPTR_MAX;
20007 uip = UINTPTR_MAX;
20010 return 0;
20012 _ACEOF
20013 if ac_fn_cxx_try_compile "$LINENO"; then :
20014 glibcxx_cv_c99_stdint_tr1=yes
20015 else
20016 glibcxx_cv_c99_stdint_tr1=no
20018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20023 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20024 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20026 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20030 # Check for the existence of <math.h> functions.
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20032 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20033 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20034 $as_echo_n "(cached) " >&6
20035 else
20037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h. */
20039 #include <math.h>
20041 main ()
20043 typedef double_t my_double_t;
20044 typedef float_t my_float_t;
20045 acosh(0.0);
20046 acoshf(0.0f);
20047 acoshl(0.0l);
20048 asinh(0.0);
20049 asinhf(0.0f);
20050 asinhl(0.0l);
20051 atanh(0.0);
20052 atanhf(0.0f);
20053 atanhl(0.0l);
20054 cbrt(0.0);
20055 cbrtf(0.0f);
20056 cbrtl(0.0l);
20057 copysign(0.0, 0.0);
20058 copysignf(0.0f, 0.0f);
20059 copysignl(0.0l, 0.0l);
20060 erf(0.0);
20061 erff(0.0f);
20062 erfl(0.0l);
20063 erfc(0.0);
20064 erfcf(0.0f);
20065 erfcl(0.0l);
20066 exp2(0.0);
20067 exp2f(0.0f);
20068 exp2l(0.0l);
20069 expm1(0.0);
20070 expm1f(0.0f);
20071 expm1l(0.0l);
20072 fdim(0.0, 0.0);
20073 fdimf(0.0f, 0.0f);
20074 fdiml(0.0l, 0.0l);
20075 fma(0.0, 0.0, 0.0);
20076 fmaf(0.0f, 0.0f, 0.0f);
20077 fmal(0.0l, 0.0l, 0.0l);
20078 fmax(0.0, 0.0);
20079 fmaxf(0.0f, 0.0f);
20080 fmaxl(0.0l, 0.0l);
20081 fmin(0.0, 0.0);
20082 fminf(0.0f, 0.0f);
20083 fminl(0.0l, 0.0l);
20084 hypot(0.0, 0.0);
20085 hypotf(0.0f, 0.0f);
20086 hypotl(0.0l, 0.0l);
20087 ilogb(0.0);
20088 ilogbf(0.0f);
20089 ilogbl(0.0l);
20090 lgamma(0.0);
20091 lgammaf(0.0f);
20092 lgammal(0.0l);
20093 #ifndef __APPLE__ /* see below */
20094 llrint(0.0);
20095 llrintf(0.0f);
20096 llrintl(0.0l);
20097 llround(0.0);
20098 llroundf(0.0f);
20099 llroundl(0.0l);
20100 #endif
20101 log1p(0.0);
20102 log1pf(0.0f);
20103 log1pl(0.0l);
20104 log2(0.0);
20105 log2f(0.0f);
20106 log2l(0.0l);
20107 logb(0.0);
20108 logbf(0.0f);
20109 logbl(0.0l);
20110 lrint(0.0);
20111 lrintf(0.0f);
20112 lrintl(0.0l);
20113 lround(0.0);
20114 lroundf(0.0f);
20115 lroundl(0.0l);
20116 nan(0);
20117 nanf(0);
20118 nanl(0);
20119 nearbyint(0.0);
20120 nearbyintf(0.0f);
20121 nearbyintl(0.0l);
20122 nextafter(0.0, 0.0);
20123 nextafterf(0.0f, 0.0f);
20124 nextafterl(0.0l, 0.0l);
20125 nexttoward(0.0, 0.0);
20126 nexttowardf(0.0f, 0.0f);
20127 nexttowardl(0.0l, 0.0l);
20128 remainder(0.0, 0.0);
20129 remainderf(0.0f, 0.0f);
20130 remainderl(0.0l, 0.0l);
20131 remquo(0.0, 0.0, 0);
20132 remquof(0.0f, 0.0f, 0);
20133 remquol(0.0l, 0.0l, 0);
20134 rint(0.0);
20135 rintf(0.0f);
20136 rintl(0.0l);
20137 round(0.0);
20138 roundf(0.0f);
20139 roundl(0.0l);
20140 scalbln(0.0, 0l);
20141 scalblnf(0.0f, 0l);
20142 scalblnl(0.0l, 0l);
20143 scalbn(0.0, 0);
20144 scalbnf(0.0f, 0);
20145 scalbnl(0.0l, 0);
20146 tgamma(0.0);
20147 tgammaf(0.0f);
20148 tgammal(0.0l);
20149 trunc(0.0);
20150 truncf(0.0f);
20151 truncl(0.0l);
20154 return 0;
20156 _ACEOF
20157 if ac_fn_cxx_try_compile "$LINENO"; then :
20158 glibcxx_cv_c99_math_tr1=yes
20159 else
20160 glibcxx_cv_c99_math_tr1=no
20162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20167 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20168 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20170 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20173 case "${target_os}" in
20174 darwin*)
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20176 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20177 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20178 $as_echo_n "(cached) " >&6
20179 else
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 #include <math.h>
20185 main ()
20187 llrint(0.0);
20188 llrintf(0.0f);
20189 llrintl(0.0l);
20190 llround(0.0);
20191 llroundf(0.0f);
20192 llroundl(0.0l);
20195 return 0;
20197 _ACEOF
20198 if ac_fn_cxx_try_compile "$LINENO"; then :
20199 glibcxx_cv_c99_math_llround=yes
20200 else
20201 glibcxx_cv_c99_math_llround=no
20203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20208 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20210 esac
20211 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20213 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20218 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20219 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20220 ac_c99_inttypes_tr1=no;
20221 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20223 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20226 #include <inttypes.h>
20228 main ()
20230 intmax_t i, numer, denom, base;
20231 const char* s;
20232 char** endptr;
20233 intmax_t ret = imaxabs(i);
20234 imaxdiv_t dret = imaxdiv(numer, denom);
20235 ret = strtoimax(s, endptr, base);
20236 uintmax_t uret = strtoumax(s, endptr, base);
20239 return 0;
20241 _ACEOF
20242 if ac_fn_cxx_try_compile "$LINENO"; then :
20243 ac_c99_inttypes_tr1=yes
20244 else
20245 ac_c99_inttypes_tr1=no
20247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20250 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20251 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20253 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20257 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20258 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20259 ac_c99_inttypes_wchar_t_tr1=no;
20260 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20262 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h. */
20265 #include <inttypes.h>
20267 main ()
20269 intmax_t base;
20270 const wchar_t* s;
20271 wchar_t** endptr;
20272 intmax_t ret = wcstoimax(s, endptr, base);
20273 uintmax_t uret = wcstoumax(s, endptr, base);
20276 return 0;
20278 _ACEOF
20279 if ac_fn_cxx_try_compile "$LINENO"; then :
20280 ac_c99_inttypes_wchar_t_tr1=yes
20281 else
20282 ac_c99_inttypes_wchar_t_tr1=no
20284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20287 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20288 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20290 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20294 # Check for the existence of the <stdbool.h> header.
20295 for ac_header in stdbool.h
20296 do :
20297 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20298 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20299 cat >>confdefs.h <<_ACEOF
20300 #define HAVE_STDBOOL_H 1
20301 _ACEOF
20305 done
20308 # Check for the existence of the <stdalign.h> header.
20309 for ac_header in stdalign.h
20310 do :
20311 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20312 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20313 cat >>confdefs.h <<_ACEOF
20314 #define HAVE_STDALIGN_H 1
20315 _ACEOF
20319 done
20322 CXXFLAGS="$ac_save_CXXFLAGS"
20323 ac_ext=c
20324 ac_cpp='$CPP $CPPFLAGS'
20325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20331 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20335 $as_echo_n "checking for the value of EOF... " >&6; }
20336 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20337 $as_echo_n "(cached) " >&6
20338 else
20340 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20342 else
20343 as_fn_error "computing EOF failed" "$LINENO" 5
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20349 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20351 cat >>confdefs.h <<_ACEOF
20352 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20353 _ACEOF
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20357 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20358 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20359 $as_echo_n "(cached) " >&6
20360 else
20362 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20364 else
20365 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20371 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20373 cat >>confdefs.h <<_ACEOF
20374 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20375 _ACEOF
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20379 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20380 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20381 $as_echo_n "(cached) " >&6
20382 else
20384 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20386 else
20387 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20393 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20395 cat >>confdefs.h <<_ACEOF
20396 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20397 _ACEOF
20401 # For gettimeofday support.
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20405 $as_echo_n "checking for gettimeofday... " >&6; }
20408 ac_ext=cpp
20409 ac_cpp='$CXXCPP $CPPFLAGS'
20410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20414 ac_save_CXXFLAGS="$CXXFLAGS"
20415 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20417 ac_has_gettimeofday=no;
20418 for ac_header in sys/time.h
20419 do :
20420 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20421 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20422 cat >>confdefs.h <<_ACEOF
20423 #define HAVE_SYS_TIME_H 1
20424 _ACEOF
20425 ac_has_sys_time_h=yes
20426 else
20427 ac_has_sys_time_h=no
20430 done
20432 if test x"$ac_has_sys_time_h" = x"yes"; then
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20434 $as_echo_n "checking for gettimeofday... " >&6; }
20435 if test x$gcc_no_link = xyes; then
20436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h. */
20438 #include <sys/time.h>
20440 main ()
20442 timeval tv; gettimeofday(&tv, 0);
20444 return 0;
20446 _ACEOF
20447 if ac_fn_cxx_try_compile "$LINENO"; then :
20448 ac_has_gettimeofday=yes
20449 else
20450 ac_has_gettimeofday=no
20452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20453 else
20454 if test x$gcc_no_link = xyes; then
20455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20458 /* end confdefs.h. */
20459 #include <sys/time.h>
20461 main ()
20463 timeval tv; gettimeofday(&tv, 0);
20465 return 0;
20467 _ACEOF
20468 if ac_fn_cxx_try_link "$LINENO"; then :
20469 ac_has_gettimeofday=yes
20470 else
20471 ac_has_gettimeofday=no
20473 rm -f core conftest.err conftest.$ac_objext \
20474 conftest$ac_exeext conftest.$ac_ext
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20478 $as_echo "$ac_has_gettimeofday" >&6; }
20481 if test x"$ac_has_gettimeofday" = x"yes"; then
20483 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20487 CXXFLAGS="$ac_save_CXXFLAGS"
20488 ac_ext=c
20489 ac_cpp='$CPP $CPPFLAGS'
20490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20496 # For clock_gettime, nanosleep and sched_yield support.
20499 # Check whether --enable-libstdcxx-time was given.
20500 if test "${enable_libstdcxx_time+set}" = set; then :
20501 enableval=$enable_libstdcxx_time;
20502 case "$enableval" in
20503 yes|no|rt) ;;
20504 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20505 esac
20507 else
20508 enable_libstdcxx_time=auto
20514 ac_ext=cpp
20515 ac_cpp='$CXXCPP $CPPFLAGS'
20516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20520 ac_save_CXXFLAGS="$CXXFLAGS"
20521 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20522 ac_save_LIBS="$LIBS"
20524 ac_has_clock_monotonic=no
20525 ac_has_clock_realtime=no
20526 ac_has_nanosleep=no
20527 ac_has_sched_yield=no
20529 if test x"$enable_libstdcxx_time" = x"auto"; then
20531 case "${target_os}" in
20532 cygwin*)
20533 ac_has_nanosleep=yes
20535 darwin*)
20536 ac_has_nanosleep=yes
20537 ac_has_sched_yield=yes
20539 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20541 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20543 /* end confdefs.h. */
20544 #include <features.h>
20546 main ()
20549 #if ! __GLIBC_PREREQ(2, 17)
20550 #error
20551 #endif
20554 return 0;
20556 _ACEOF
20557 if ac_fn_cxx_try_compile "$LINENO"; then :
20558 glibcxx_glibc217=yes
20559 else
20560 glibcxx_glibc217=no
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20564 $as_echo "$glibcxx_glibc217" >&6; }
20566 if test x"$glibcxx_glibc217" = x"yes"; then
20567 ac_has_clock_monotonic=yes
20568 ac_has_clock_realtime=yes
20570 ac_has_nanosleep=yes
20571 ac_has_sched_yield=yes
20573 freebsd*|netbsd*|dragonfly*|rtems*)
20574 ac_has_clock_monotonic=yes
20575 ac_has_clock_realtime=yes
20576 ac_has_nanosleep=yes
20577 ac_has_sched_yield=yes
20579 openbsd*)
20580 ac_has_clock_monotonic=yes
20581 ac_has_clock_realtime=yes
20582 ac_has_nanosleep=yes
20584 solaris*)
20585 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20586 ac_has_clock_monotonic=yes
20587 ac_has_clock_realtime=yes
20588 ac_has_nanosleep=yes
20589 ac_has_sched_yield=yes
20591 esac
20593 elif test x"$enable_libstdcxx_time" != x"no"; then
20595 if test x"$enable_libstdcxx_time" = x"rt"; then
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20597 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20598 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20599 $as_echo_n "(cached) " >&6
20600 else
20601 ac_func_search_save_LIBS=$LIBS
20602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20603 /* end confdefs.h. */
20605 /* Override any GCC internal prototype to avoid an error.
20606 Use char because int might match the return type of a GCC
20607 builtin and then its argument prototype would still apply. */
20608 #ifdef __cplusplus
20609 extern "C"
20610 #endif
20611 char clock_gettime ();
20613 main ()
20615 return clock_gettime ();
20617 return 0;
20619 _ACEOF
20620 for ac_lib in '' rt posix4; do
20621 if test -z "$ac_lib"; then
20622 ac_res="none required"
20623 else
20624 ac_res=-l$ac_lib
20625 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20627 if test x$gcc_no_link = xyes; then
20628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20630 if ac_fn_cxx_try_link "$LINENO"; then :
20631 ac_cv_search_clock_gettime=$ac_res
20633 rm -f core conftest.err conftest.$ac_objext \
20634 conftest$ac_exeext
20635 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20636 break
20638 done
20639 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20641 else
20642 ac_cv_search_clock_gettime=no
20644 rm conftest.$ac_ext
20645 LIBS=$ac_func_search_save_LIBS
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20648 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20649 ac_res=$ac_cv_search_clock_gettime
20650 if test "$ac_res" != no; then :
20651 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20656 $as_echo_n "checking for library containing nanosleep... " >&6; }
20657 if test "${ac_cv_search_nanosleep+set}" = set; then :
20658 $as_echo_n "(cached) " >&6
20659 else
20660 ac_func_search_save_LIBS=$LIBS
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20664 /* Override any GCC internal prototype to avoid an error.
20665 Use char because int might match the return type of a GCC
20666 builtin and then its argument prototype would still apply. */
20667 #ifdef __cplusplus
20668 extern "C"
20669 #endif
20670 char nanosleep ();
20672 main ()
20674 return nanosleep ();
20676 return 0;
20678 _ACEOF
20679 for ac_lib in '' rt posix4; do
20680 if test -z "$ac_lib"; then
20681 ac_res="none required"
20682 else
20683 ac_res=-l$ac_lib
20684 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20686 if test x$gcc_no_link = xyes; then
20687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20689 if ac_fn_cxx_try_link "$LINENO"; then :
20690 ac_cv_search_nanosleep=$ac_res
20692 rm -f core conftest.err conftest.$ac_objext \
20693 conftest$ac_exeext
20694 if test "${ac_cv_search_nanosleep+set}" = set; then :
20695 break
20697 done
20698 if test "${ac_cv_search_nanosleep+set}" = set; then :
20700 else
20701 ac_cv_search_nanosleep=no
20703 rm conftest.$ac_ext
20704 LIBS=$ac_func_search_save_LIBS
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20707 $as_echo "$ac_cv_search_nanosleep" >&6; }
20708 ac_res=$ac_cv_search_nanosleep
20709 if test "$ac_res" != no; then :
20710 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20714 else
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20716 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20717 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20718 $as_echo_n "(cached) " >&6
20719 else
20720 ac_func_search_save_LIBS=$LIBS
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20724 /* Override any GCC internal prototype to avoid an error.
20725 Use char because int might match the return type of a GCC
20726 builtin and then its argument prototype would still apply. */
20727 #ifdef __cplusplus
20728 extern "C"
20729 #endif
20730 char clock_gettime ();
20732 main ()
20734 return clock_gettime ();
20736 return 0;
20738 _ACEOF
20739 for ac_lib in '' posix4; do
20740 if test -z "$ac_lib"; then
20741 ac_res="none required"
20742 else
20743 ac_res=-l$ac_lib
20744 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20746 if test x$gcc_no_link = xyes; then
20747 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20749 if ac_fn_cxx_try_link "$LINENO"; then :
20750 ac_cv_search_clock_gettime=$ac_res
20752 rm -f core conftest.err conftest.$ac_objext \
20753 conftest$ac_exeext
20754 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20755 break
20757 done
20758 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20760 else
20761 ac_cv_search_clock_gettime=no
20763 rm conftest.$ac_ext
20764 LIBS=$ac_func_search_save_LIBS
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20767 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20768 ac_res=$ac_cv_search_clock_gettime
20769 if test "$ac_res" != no; then :
20770 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20775 $as_echo_n "checking for library containing nanosleep... " >&6; }
20776 if test "${ac_cv_search_nanosleep+set}" = set; then :
20777 $as_echo_n "(cached) " >&6
20778 else
20779 ac_func_search_save_LIBS=$LIBS
20780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20781 /* end confdefs.h. */
20783 /* Override any GCC internal prototype to avoid an error.
20784 Use char because int might match the return type of a GCC
20785 builtin and then its argument prototype would still apply. */
20786 #ifdef __cplusplus
20787 extern "C"
20788 #endif
20789 char nanosleep ();
20791 main ()
20793 return nanosleep ();
20795 return 0;
20797 _ACEOF
20798 for ac_lib in '' posix4; do
20799 if test -z "$ac_lib"; then
20800 ac_res="none required"
20801 else
20802 ac_res=-l$ac_lib
20803 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20805 if test x$gcc_no_link = xyes; then
20806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20808 if ac_fn_cxx_try_link "$LINENO"; then :
20809 ac_cv_search_nanosleep=$ac_res
20811 rm -f core conftest.err conftest.$ac_objext \
20812 conftest$ac_exeext
20813 if test "${ac_cv_search_nanosleep+set}" = set; then :
20814 break
20816 done
20817 if test "${ac_cv_search_nanosleep+set}" = set; then :
20819 else
20820 ac_cv_search_nanosleep=no
20822 rm conftest.$ac_ext
20823 LIBS=$ac_func_search_save_LIBS
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20826 $as_echo "$ac_cv_search_nanosleep" >&6; }
20827 ac_res=$ac_cv_search_nanosleep
20828 if test "$ac_res" != no; then :
20829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20835 case "$ac_cv_search_clock_gettime" in
20836 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20838 esac
20839 case "$ac_cv_search_nanosleep" in
20840 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20842 esac
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20845 $as_echo_n "checking for library containing sched_yield... " >&6; }
20846 if test "${ac_cv_search_sched_yield+set}" = set; then :
20847 $as_echo_n "(cached) " >&6
20848 else
20849 ac_func_search_save_LIBS=$LIBS
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20853 /* Override any GCC internal prototype to avoid an error.
20854 Use char because int might match the return type of a GCC
20855 builtin and then its argument prototype would still apply. */
20856 #ifdef __cplusplus
20857 extern "C"
20858 #endif
20859 char sched_yield ();
20861 main ()
20863 return sched_yield ();
20865 return 0;
20867 _ACEOF
20868 for ac_lib in '' rt posix4; do
20869 if test -z "$ac_lib"; then
20870 ac_res="none required"
20871 else
20872 ac_res=-l$ac_lib
20873 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20875 if test x$gcc_no_link = xyes; then
20876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20878 if ac_fn_cxx_try_link "$LINENO"; then :
20879 ac_cv_search_sched_yield=$ac_res
20881 rm -f core conftest.err conftest.$ac_objext \
20882 conftest$ac_exeext
20883 if test "${ac_cv_search_sched_yield+set}" = set; then :
20884 break
20886 done
20887 if test "${ac_cv_search_sched_yield+set}" = set; then :
20889 else
20890 ac_cv_search_sched_yield=no
20892 rm conftest.$ac_ext
20893 LIBS=$ac_func_search_save_LIBS
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20896 $as_echo "$ac_cv_search_sched_yield" >&6; }
20897 ac_res=$ac_cv_search_sched_yield
20898 if test "$ac_res" != no; then :
20899 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20904 case "$ac_cv_search_sched_yield" in
20905 -lposix4*)
20906 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20907 ac_has_sched_yield=yes
20909 -lrt*)
20910 if test x"$enable_libstdcxx_time" = x"rt"; then
20911 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20912 ac_has_sched_yield=yes
20916 ac_has_sched_yield=yes
20918 esac
20920 for ac_header in unistd.h
20921 do :
20922 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20923 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20924 cat >>confdefs.h <<_ACEOF
20925 #define HAVE_UNISTD_H 1
20926 _ACEOF
20927 ac_has_unistd_h=yes
20928 else
20929 ac_has_unistd_h=no
20932 done
20935 if test x"$ac_has_unistd_h" = x"yes"; then
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20937 $as_echo_n "checking for monotonic clock... " >&6; }
20938 if test x$gcc_no_link = xyes; then
20939 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20943 #include <unistd.h>
20944 #include <time.h>
20947 main ()
20949 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20950 timespec tp;
20951 #endif
20952 clock_gettime(CLOCK_MONOTONIC, &tp);
20955 return 0;
20957 _ACEOF
20958 if ac_fn_cxx_try_link "$LINENO"; then :
20959 ac_has_clock_monotonic=yes
20960 else
20961 ac_has_clock_monotonic=no
20963 rm -f core conftest.err conftest.$ac_objext \
20964 conftest$ac_exeext conftest.$ac_ext
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20967 $as_echo "$ac_has_clock_monotonic" >&6; }
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20970 $as_echo_n "checking for realtime clock... " >&6; }
20971 if test x$gcc_no_link = xyes; then
20972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20975 /* end confdefs.h. */
20976 #include <unistd.h>
20977 #include <time.h>
20980 main ()
20982 #if _POSIX_TIMERS > 0
20983 timespec tp;
20984 #endif
20985 clock_gettime(CLOCK_REALTIME, &tp);
20988 return 0;
20990 _ACEOF
20991 if ac_fn_cxx_try_link "$LINENO"; then :
20992 ac_has_clock_realtime=yes
20993 else
20994 ac_has_clock_realtime=no
20996 rm -f core conftest.err conftest.$ac_objext \
20997 conftest$ac_exeext conftest.$ac_ext
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21000 $as_echo "$ac_has_clock_realtime" >&6; }
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21003 $as_echo_n "checking for nanosleep... " >&6; }
21004 if test x$gcc_no_link = xyes; then
21005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h. */
21009 #include <unistd.h>
21010 #include <time.h>
21013 main ()
21015 #if _POSIX_TIMERS > 0
21016 timespec tp;
21017 #endif
21018 nanosleep(&tp, 0);
21021 return 0;
21023 _ACEOF
21024 if ac_fn_cxx_try_link "$LINENO"; then :
21025 ac_has_nanosleep=yes
21026 else
21027 ac_has_nanosleep=no
21029 rm -f core conftest.err conftest.$ac_objext \
21030 conftest$ac_exeext conftest.$ac_ext
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21033 $as_echo "$ac_has_nanosleep" >&6; }
21037 if test x"$ac_has_clock_monotonic" != x"yes"; then
21038 case ${target_os} in
21039 linux*)
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21041 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21043 /* end confdefs.h. */
21044 #include <unistd.h>
21045 #include <time.h>
21046 #include <sys/syscall.h>
21049 main ()
21051 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21052 timespec tp;
21053 #endif
21054 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21055 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21058 return 0;
21060 _ACEOF
21061 if ac_fn_cxx_try_compile "$LINENO"; then :
21062 ac_has_clock_monotonic_syscall=yes
21063 else
21064 ac_has_clock_monotonic_syscall=no
21066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21068 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21069 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21071 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21073 ac_has_clock_monotonic=yes
21074 ac_has_clock_realtime=yes
21075 fi;;
21076 esac
21079 if test x"$ac_has_clock_monotonic" = x"yes"; then
21081 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21085 if test x"$ac_has_clock_realtime" = x"yes"; then
21087 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21091 if test x"$ac_has_sched_yield" = x"yes"; then
21093 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21097 if test x"$ac_has_nanosleep" = x"yes"; then
21099 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21101 else
21102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21103 $as_echo_n "checking for sleep... " >&6; }
21104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21106 #include <unistd.h>
21108 main ()
21110 sleep(1)
21112 return 0;
21114 _ACEOF
21115 if ac_fn_cxx_try_compile "$LINENO"; then :
21116 ac_has_sleep=yes
21117 else
21118 ac_has_sleep=no
21120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121 if test x"$ac_has_sleep" = x"yes"; then
21123 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21127 $as_echo "$ac_has_sleep" >&6; }
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21129 $as_echo_n "checking for usleep... " >&6; }
21130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21131 /* end confdefs.h. */
21132 #include <unistd.h>
21134 main ()
21136 sleep(1);
21137 usleep(100);
21139 return 0;
21141 _ACEOF
21142 if ac_fn_cxx_try_compile "$LINENO"; then :
21143 ac_has_usleep=yes
21144 else
21145 ac_has_usleep=no
21147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21148 if test x"$ac_has_usleep" = x"yes"; then
21150 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21154 $as_echo "$ac_has_usleep" >&6; }
21157 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21159 $as_echo_n "checking for Sleep... " >&6; }
21160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h. */
21162 #include <windows.h>
21164 main ()
21166 Sleep(1)
21168 return 0;
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172 ac_has_win32_sleep=yes
21173 else
21174 ac_has_win32_sleep=no
21176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177 if test x"$ac_has_win32_sleep" = x"yes"; then
21179 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21183 $as_echo "$ac_has_win32_sleep" >&6; }
21188 CXXFLAGS="$ac_save_CXXFLAGS"
21189 LIBS="$ac_save_LIBS"
21190 ac_ext=c
21191 ac_cpp='$CPP $CPPFLAGS'
21192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21198 # Check for tmpnam which is obsolescent in POSIX.1-2008
21200 ac_ext=cpp
21201 ac_cpp='$CXXCPP $CPPFLAGS'
21202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21206 ac_save_CXXFLAGS="$CXXFLAGS"
21207 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21209 $as_echo_n "checking for tmpnam... " >&6; }
21210 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21211 $as_echo_n "(cached) " >&6
21212 else
21213 if test x$gcc_no_link = xyes; then
21214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21215 /* end confdefs.h. */
21216 #include <stdio.h>
21218 main ()
21220 char *tmp = tmpnam(NULL);
21222 return 0;
21224 _ACEOF
21225 if ac_fn_cxx_try_compile "$LINENO"; then :
21226 glibcxx_cv_TMPNAM=yes
21227 else
21228 glibcxx_cv_TMPNAM=no
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231 else
21232 if test x$gcc_no_link = xyes; then
21233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21236 /* end confdefs.h. */
21237 #include <stdio.h>
21239 main ()
21241 char *tmp = tmpnam(NULL);
21243 return 0;
21245 _ACEOF
21246 if ac_fn_cxx_try_link "$LINENO"; then :
21247 glibcxx_cv_TMPNAM=yes
21248 else
21249 glibcxx_cv_TMPNAM=no
21251 rm -f core conftest.err conftest.$ac_objext \
21252 conftest$ac_exeext conftest.$ac_ext
21257 if test $glibcxx_cv_TMPNAM = yes; then
21259 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21263 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21264 CXXFLAGS="$ac_save_CXXFLAGS"
21265 ac_ext=c
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21274 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21275 if test "x$ac_cv_header_locale_h" = x""yes; then :
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21278 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21279 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21280 $as_echo_n "(cached) " >&6
21281 else
21282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21283 /* end confdefs.h. */
21284 #include <locale.h>
21286 main ()
21288 return LC_MESSAGES
21290 return 0;
21292 _ACEOF
21293 if ac_fn_c_try_compile "$LINENO"; then :
21294 ac_cv_val_LC_MESSAGES=yes
21295 else
21296 ac_cv_val_LC_MESSAGES=no
21298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21301 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21302 if test $ac_cv_val_LC_MESSAGES = yes; then
21304 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21313 # For hardware_concurrency
21314 for ac_header in sys/sysinfo.h
21315 do :
21316 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21317 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21318 cat >>confdefs.h <<_ACEOF
21319 #define HAVE_SYS_SYSINFO_H 1
21320 _ACEOF
21324 done
21329 ac_ext=cpp
21330 ac_cpp='$CXXCPP $CPPFLAGS'
21331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21335 ac_save_CXXFLAGS="$CXXFLAGS"
21336 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21339 $as_echo_n "checking for get_nprocs... " >&6; }
21340 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21341 $as_echo_n "(cached) " >&6
21342 else
21344 if test x$gcc_no_link = xyes; then
21345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h. */
21347 #include <sys/sysinfo.h>
21349 main ()
21351 int n = get_nprocs();
21353 return 0;
21355 _ACEOF
21356 if ac_fn_cxx_try_compile "$LINENO"; then :
21357 glibcxx_cv_GET_NPROCS=yes
21358 else
21359 glibcxx_cv_GET_NPROCS=no
21361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21362 else
21363 if test x$gcc_no_link = xyes; then
21364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21367 /* end confdefs.h. */
21368 #include <sys/sysinfo.h>
21370 main ()
21372 int n = get_nprocs();
21374 return 0;
21376 _ACEOF
21377 if ac_fn_cxx_try_link "$LINENO"; then :
21378 glibcxx_cv_GET_NPROCS=yes
21379 else
21380 glibcxx_cv_GET_NPROCS=no
21382 rm -f core conftest.err conftest.$ac_objext \
21383 conftest$ac_exeext conftest.$ac_ext
21388 if test $glibcxx_cv_GET_NPROCS = yes; then
21390 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21394 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21396 CXXFLAGS="$ac_save_CXXFLAGS"
21397 ac_ext=c
21398 ac_cpp='$CPP $CPPFLAGS'
21399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21404 for ac_header in unistd.h
21405 do :
21406 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21407 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21408 cat >>confdefs.h <<_ACEOF
21409 #define HAVE_UNISTD_H 1
21410 _ACEOF
21414 done
21419 ac_ext=cpp
21420 ac_cpp='$CXXCPP $CPPFLAGS'
21421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21425 ac_save_CXXFLAGS="$CXXFLAGS"
21426 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21429 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21430 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21431 $as_echo_n "(cached) " >&6
21432 else
21434 if test x$gcc_no_link = xyes; then
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h. */
21437 #include <unistd.h>
21439 main ()
21441 int n = sysconf(_SC_NPROCESSORS_ONLN);
21443 return 0;
21445 _ACEOF
21446 if ac_fn_cxx_try_compile "$LINENO"; then :
21447 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21448 else
21449 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 else
21453 if test x$gcc_no_link = xyes; then
21454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21457 /* end confdefs.h. */
21458 #include <unistd.h>
21460 main ()
21462 int n = sysconf(_SC_NPROCESSORS_ONLN);
21464 return 0;
21466 _ACEOF
21467 if ac_fn_cxx_try_link "$LINENO"; then :
21468 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21469 else
21470 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21472 rm -f core conftest.err conftest.$ac_objext \
21473 conftest$ac_exeext conftest.$ac_ext
21478 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21480 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21484 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21486 CXXFLAGS="$ac_save_CXXFLAGS"
21487 ac_ext=c
21488 ac_cpp='$CPP $CPPFLAGS'
21489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21497 ac_ext=cpp
21498 ac_cpp='$CXXCPP $CPPFLAGS'
21499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21503 ac_save_CXXFLAGS="$CXXFLAGS"
21504 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21507 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21508 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21509 $as_echo_n "(cached) " >&6
21510 else
21512 if test x$gcc_no_link = xyes; then
21513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21514 /* end confdefs.h. */
21515 #include <unistd.h>
21517 main ()
21519 int n = sysconf(_SC_NPROC_ONLN);
21521 return 0;
21523 _ACEOF
21524 if ac_fn_cxx_try_compile "$LINENO"; then :
21525 glibcxx_cv_SC_NPROC_ONLN=yes
21526 else
21527 glibcxx_cv_SC_NPROC_ONLN=no
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 else
21531 if test x$gcc_no_link = xyes; then
21532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <unistd.h>
21538 main ()
21540 int n = sysconf(_SC_NPROC_ONLN);
21542 return 0;
21544 _ACEOF
21545 if ac_fn_cxx_try_link "$LINENO"; then :
21546 glibcxx_cv_SC_NPROC_ONLN=yes
21547 else
21548 glibcxx_cv_SC_NPROC_ONLN=no
21550 rm -f core conftest.err conftest.$ac_objext \
21551 conftest$ac_exeext conftest.$ac_ext
21556 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21558 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21562 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21564 CXXFLAGS="$ac_save_CXXFLAGS"
21565 ac_ext=c
21566 ac_cpp='$CPP $CPPFLAGS'
21567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21575 ac_ext=cpp
21576 ac_cpp='$CXXCPP $CPPFLAGS'
21577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21581 ac_save_CXXFLAGS="$CXXFLAGS"
21582 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21585 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21586 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21590 if test x$gcc_no_link = xyes; then
21591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21592 /* end confdefs.h. */
21593 #include <pthread.h>
21595 main ()
21597 int n = pthread_num_processors_np();
21599 return 0;
21601 _ACEOF
21602 if ac_fn_cxx_try_compile "$LINENO"; then :
21603 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21604 else
21605 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21608 else
21609 if test x$gcc_no_link = xyes; then
21610 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21613 /* end confdefs.h. */
21614 #include <pthread.h>
21616 main ()
21618 int n = pthread_num_processors_np();
21620 return 0;
21622 _ACEOF
21623 if ac_fn_cxx_try_link "$LINENO"; then :
21624 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21625 else
21626 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21628 rm -f core conftest.err conftest.$ac_objext \
21629 conftest$ac_exeext conftest.$ac_ext
21634 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21636 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21640 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21642 CXXFLAGS="$ac_save_CXXFLAGS"
21643 ac_ext=c
21644 ac_cpp='$CPP $CPPFLAGS'
21645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21653 ac_ext=cpp
21654 ac_cpp='$CXXCPP $CPPFLAGS'
21655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21659 ac_save_CXXFLAGS="$CXXFLAGS"
21660 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21663 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21664 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21665 $as_echo_n "(cached) " >&6
21666 else
21668 if test x$gcc_no_link = xyes; then
21669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h. */
21672 #include <stddef.h>
21673 #include <sys/sysctl.h>
21676 main ()
21679 int count;
21680 size_t size = sizeof(count);
21681 int mib[] = { CTL_HW, HW_NCPU };
21682 sysctl(mib, 2, &count, &size, NULL, 0);
21685 return 0;
21687 _ACEOF
21688 if ac_fn_cxx_try_compile "$LINENO"; then :
21689 glibcxx_cv_SYSCTL_HW_NCPU=yes
21690 else
21691 glibcxx_cv_SYSCTL_HW_NCPU=no
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 else
21695 if test x$gcc_no_link = xyes; then
21696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21699 /* end confdefs.h. */
21701 #include <stddef.h>
21702 #include <sys/sysctl.h>
21705 main ()
21708 int count;
21709 size_t size = sizeof(count);
21710 int mib[] = { CTL_HW, HW_NCPU };
21711 sysctl(mib, 2, &count, &size, NULL, 0);
21714 return 0;
21716 _ACEOF
21717 if ac_fn_cxx_try_link "$LINENO"; then :
21718 glibcxx_cv_SYSCTL_HW_NCPU=yes
21719 else
21720 glibcxx_cv_SYSCTL_HW_NCPU=no
21722 rm -f core conftest.err conftest.$ac_objext \
21723 conftest$ac_exeext conftest.$ac_ext
21728 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21730 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21734 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21736 CXXFLAGS="$ac_save_CXXFLAGS"
21737 ac_ext=c
21738 ac_cpp='$CPP $CPPFLAGS'
21739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21746 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21747 # Note that this test has to be run with the C language.
21748 # Otherwise, sdt.h will try to include some headers from
21749 # libstdc++ itself.
21751 ac_ext=c
21752 ac_cpp='$CPP $CPPFLAGS'
21753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21757 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21758 $as_echo_n "(cached) " >&6
21759 else
21761 # Because we have to run the test in C, we use grep rather
21762 # than the compiler to check for the bug. The bug is that
21763 # were strings without trailing whitespace, causing g++
21764 # to look for operator"". The pattern searches for the fixed
21765 # output.
21766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21767 /* end confdefs.h. */
21769 #include <sys/sdt.h>
21770 int f() { STAP_PROBE(hi, bob); }
21772 _ACEOF
21773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21774 $EGREP " \",\" " >/dev/null 2>&1; then :
21775 glibcxx_cv_sys_sdt_h=yes
21776 else
21777 glibcxx_cv_sys_sdt_h=no
21779 rm -f conftest*
21784 ac_ext=c
21785 ac_cpp='$CPP $CPPFLAGS'
21786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21790 if test $glibcxx_cv_sys_sdt_h = yes; then
21792 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21796 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21799 # Check for available headers.
21800 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21801 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21802 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21803 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21804 wchar.h wctype.h linux/types.h
21805 do :
21806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21807 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21808 eval as_val=\$$as_ac_Header
21809 if test "x$as_val" = x""yes; then :
21810 cat >>confdefs.h <<_ACEOF
21811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21812 _ACEOF
21816 done
21819 for ac_header in linux/random.h
21820 do :
21821 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21822 # include <linux/types.h>
21823 #endif
21826 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21827 cat >>confdefs.h <<_ACEOF
21828 #define HAVE_LINUX_RANDOM_H 1
21829 _ACEOF
21833 done
21836 # Only do link tests if native. Else, hardcode.
21837 if $GLIBCXX_IS_NATIVE; then
21839 # We can do more elaborate tests that assume a working linker.
21840 CANADIAN=no
21844 # Check whether --with-gnu-ld was given.
21845 if test "${with_gnu_ld+set}" = set; then :
21846 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21847 else
21848 with_gnu_ld=no
21851 ac_prog=ld
21852 if test "$GCC" = yes; then
21853 # Check if gcc -print-prog-name=ld gives a path.
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21855 $as_echo_n "checking for ld used by $CC... " >&6; }
21856 case $host in
21857 *-*-mingw*)
21858 # gcc leaves a trailing carriage return which upsets mingw
21859 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21861 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21862 esac
21863 case $ac_prog in
21864 # Accept absolute paths.
21865 [\\/]* | ?:[\\/]*)
21866 re_direlt='/[^/][^/]*/\.\./'
21867 # Canonicalize the pathname of ld
21868 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21869 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21870 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21871 done
21872 test -z "$LD" && LD="$ac_prog"
21875 # If it fails, then pretend we aren't using GCC.
21876 ac_prog=ld
21879 # If it is relative, then search for the first ld in PATH.
21880 with_gnu_ld=unknown
21882 esac
21883 elif test "$with_gnu_ld" = yes; then
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21885 $as_echo_n "checking for GNU ld... " >&6; }
21886 else
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21888 $as_echo_n "checking for non-GNU ld... " >&6; }
21890 if test "${lt_cv_path_LD+set}" = set; then :
21891 $as_echo_n "(cached) " >&6
21892 else
21893 if test -z "$LD"; then
21894 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21895 for ac_dir in $PATH; do
21896 IFS="$lt_save_ifs"
21897 test -z "$ac_dir" && ac_dir=.
21898 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21899 lt_cv_path_LD="$ac_dir/$ac_prog"
21900 # Check to see if the program is GNU ld. I'd rather use --version,
21901 # but apparently some variants of GNU ld only accept -v.
21902 # Break only if it was the GNU/non-GNU ld that we prefer.
21903 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21904 *GNU* | *'with BFD'*)
21905 test "$with_gnu_ld" != no && break
21908 test "$with_gnu_ld" != yes && break
21910 esac
21912 done
21913 IFS="$lt_save_ifs"
21914 else
21915 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21919 LD="$lt_cv_path_LD"
21920 if test -n "$LD"; then
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21922 $as_echo "$LD" >&6; }
21923 else
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21925 $as_echo "no" >&6; }
21927 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21929 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21930 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21931 $as_echo_n "(cached) " >&6
21932 else
21933 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21934 case `$LD -v 2>&1 </dev/null` in
21935 *GNU* | *'with BFD'*)
21936 lt_cv_prog_gnu_ld=yes
21939 lt_cv_prog_gnu_ld=no
21941 esac
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21944 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21945 with_gnu_ld=$lt_cv_prog_gnu_ld
21953 # If we're not using GNU ld, then there's no point in even trying these
21954 # tests. Check for that first. We should have already tested for gld
21955 # by now (in libtool), but require it now just to be safe...
21956 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21957 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21961 # The name set by libtool depends on the version of libtool. Shame on us
21962 # for depending on an impl detail, but c'est la vie. Older versions used
21963 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21964 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21965 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21966 # set (hence we're using an older libtool), then set it.
21967 if test x${with_gnu_ld+set} != xset; then
21968 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21969 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21970 with_gnu_ld=no
21971 else
21972 with_gnu_ld=$ac_cv_prog_gnu_ld
21976 # Start by getting the version number. I think the libtool test already
21977 # does some of this, but throws away the result.
21978 glibcxx_ld_is_gold=no
21979 if test x"$with_gnu_ld" = x"yes"; then
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21981 $as_echo_n "checking for ld version... " >&6; }
21983 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21984 glibcxx_ld_is_gold=yes
21986 ldver=`$LD --version 2>/dev/null |
21987 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'`
21989 glibcxx_gnu_ld_version=`echo $ldver | \
21990 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21992 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21995 # Set --gc-sections.
21996 glibcxx_have_gc_sections=no
21997 if test "$glibcxx_ld_is_gold" = "yes"; then
21998 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21999 glibcxx_have_gc_sections=yes
22001 else
22002 glibcxx_gcsections_min_ld=21602
22003 if test x"$with_gnu_ld" = x"yes" &&
22004 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22005 glibcxx_have_gc_sections=yes
22008 if test "$glibcxx_have_gc_sections" = "yes"; then
22009 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22010 # NB: This flag only works reliably after 2.16.1. Configure tests
22011 # for this are difficult, so hard wire a value that should work.
22013 ac_test_CFLAGS="${CFLAGS+set}"
22014 ac_save_CFLAGS="$CFLAGS"
22015 CFLAGS='-Wl,--gc-sections'
22017 # Check for -Wl,--gc-sections
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22019 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22020 if test x$gcc_no_link = xyes; then
22021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22024 /* end confdefs.h. */
22025 int one(void) { return 1; }
22026 int two(void) { return 2; }
22029 main ()
22031 two();
22033 return 0;
22035 _ACEOF
22036 if ac_fn_c_try_link "$LINENO"; then :
22037 ac_gcsections=yes
22038 else
22039 ac_gcsections=no
22041 rm -f core conftest.err conftest.$ac_objext \
22042 conftest$ac_exeext conftest.$ac_ext
22043 if test "$ac_gcsections" = "yes"; then
22044 rm -f conftest.c
22045 touch conftest.c
22046 if $CC -c conftest.c; then
22047 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22048 grep "Warning: gc-sections option ignored" > /dev/null; then
22049 ac_gcsections=no
22052 rm -f conftest.c conftest.o conftest
22054 if test "$ac_gcsections" = "yes"; then
22055 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22058 $as_echo "$ac_gcsections" >&6; }
22060 if test "$ac_test_CFLAGS" = set; then
22061 CFLAGS="$ac_save_CFLAGS"
22062 else
22063 # this is the suspicious part
22064 CFLAGS=''
22068 # Set -z,relro.
22069 # Note this is only for shared objects.
22070 ac_ld_relro=no
22071 if test x"$with_gnu_ld" = x"yes"; then
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22073 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22074 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22075 if test -n "$cxx_z_relo"; then
22076 OPT_LDFLAGS="-Wl,-z,relro"
22077 ac_ld_relro=yes
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22080 $as_echo "$ac_ld_relro" >&6; }
22083 # Set linker optimization flags.
22084 if test x"$with_gnu_ld" = x"yes"; then
22085 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22092 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22093 ac_save_CXXFLAGS="$CXXFLAGS"
22094 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22097 $as_echo_n "checking for sin in -lm... " >&6; }
22098 if test "${ac_cv_lib_m_sin+set}" = set; then :
22099 $as_echo_n "(cached) " >&6
22100 else
22101 ac_check_lib_save_LIBS=$LIBS
22102 LIBS="-lm $LIBS"
22103 if test x$gcc_no_link = xyes; then
22104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22107 /* end confdefs.h. */
22109 /* Override any GCC internal prototype to avoid an error.
22110 Use char because int might match the return type of a GCC
22111 builtin and then its argument prototype would still apply. */
22112 #ifdef __cplusplus
22113 extern "C"
22114 #endif
22115 char sin ();
22117 main ()
22119 return sin ();
22121 return 0;
22123 _ACEOF
22124 if ac_fn_c_try_link "$LINENO"; then :
22125 ac_cv_lib_m_sin=yes
22126 else
22127 ac_cv_lib_m_sin=no
22129 rm -f core conftest.err conftest.$ac_objext \
22130 conftest$ac_exeext conftest.$ac_ext
22131 LIBS=$ac_check_lib_save_LIBS
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22134 $as_echo "$ac_cv_lib_m_sin" >&6; }
22135 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22136 libm="-lm"
22139 ac_save_LIBS="$LIBS"
22140 LIBS="$LIBS $libm"
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22145 $as_echo_n "checking for isinf declaration... " >&6; }
22146 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22147 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22148 $as_echo_n "(cached) " >&6
22149 else
22152 ac_ext=cpp
22153 ac_cpp='$CXXCPP $CPPFLAGS'
22154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22159 /* end confdefs.h. */
22160 #include <math.h>
22161 #ifdef HAVE_IEEEFP_H
22162 #include <ieeefp.h>
22163 #endif
22166 main ()
22168 isinf(0);
22170 return 0;
22172 _ACEOF
22173 if ac_fn_cxx_try_compile "$LINENO"; then :
22174 glibcxx_cv_func_isinf_use=yes
22175 else
22176 glibcxx_cv_func_isinf_use=no
22178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22179 ac_ext=c
22180 ac_cpp='$CPP $CPPFLAGS'
22181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22190 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22192 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22193 for ac_func in isinf
22194 do :
22195 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22196 if test "x$ac_cv_func_isinf" = x""yes; then :
22197 cat >>confdefs.h <<_ACEOF
22198 #define HAVE_ISINF 1
22199 _ACEOF
22202 done
22204 else
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22207 $as_echo_n "checking for _isinf declaration... " >&6; }
22208 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22209 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22210 $as_echo_n "(cached) " >&6
22211 else
22214 ac_ext=cpp
22215 ac_cpp='$CXXCPP $CPPFLAGS'
22216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22221 /* end confdefs.h. */
22222 #include <math.h>
22223 #ifdef HAVE_IEEEFP_H
22224 #include <ieeefp.h>
22225 #endif
22228 main ()
22230 _isinf(0);
22232 return 0;
22234 _ACEOF
22235 if ac_fn_cxx_try_compile "$LINENO"; then :
22236 glibcxx_cv_func__isinf_use=yes
22237 else
22238 glibcxx_cv_func__isinf_use=no
22240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22241 ac_ext=c
22242 ac_cpp='$CPP $CPPFLAGS'
22243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22252 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22254 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22255 for ac_func in _isinf
22256 do :
22257 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22258 if test "x$ac_cv_func__isinf" = x""yes; then :
22259 cat >>confdefs.h <<_ACEOF
22260 #define HAVE__ISINF 1
22261 _ACEOF
22264 done
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22274 $as_echo_n "checking for isnan declaration... " >&6; }
22275 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22276 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22277 $as_echo_n "(cached) " >&6
22278 else
22281 ac_ext=cpp
22282 ac_cpp='$CXXCPP $CPPFLAGS'
22283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22289 #include <math.h>
22290 #ifdef HAVE_IEEEFP_H
22291 #include <ieeefp.h>
22292 #endif
22295 main ()
22297 isnan(0);
22299 return 0;
22301 _ACEOF
22302 if ac_fn_cxx_try_compile "$LINENO"; then :
22303 glibcxx_cv_func_isnan_use=yes
22304 else
22305 glibcxx_cv_func_isnan_use=no
22307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22308 ac_ext=c
22309 ac_cpp='$CPP $CPPFLAGS'
22310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22319 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22321 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22322 for ac_func in isnan
22323 do :
22324 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22325 if test "x$ac_cv_func_isnan" = x""yes; then :
22326 cat >>confdefs.h <<_ACEOF
22327 #define HAVE_ISNAN 1
22328 _ACEOF
22331 done
22333 else
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22336 $as_echo_n "checking for _isnan declaration... " >&6; }
22337 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22338 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22339 $as_echo_n "(cached) " >&6
22340 else
22343 ac_ext=cpp
22344 ac_cpp='$CXXCPP $CPPFLAGS'
22345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22350 /* end confdefs.h. */
22351 #include <math.h>
22352 #ifdef HAVE_IEEEFP_H
22353 #include <ieeefp.h>
22354 #endif
22357 main ()
22359 _isnan(0);
22361 return 0;
22363 _ACEOF
22364 if ac_fn_cxx_try_compile "$LINENO"; then :
22365 glibcxx_cv_func__isnan_use=yes
22366 else
22367 glibcxx_cv_func__isnan_use=no
22369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22370 ac_ext=c
22371 ac_cpp='$CPP $CPPFLAGS'
22372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22381 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22383 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22384 for ac_func in _isnan
22385 do :
22386 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22387 if test "x$ac_cv_func__isnan" = x""yes; then :
22388 cat >>confdefs.h <<_ACEOF
22389 #define HAVE__ISNAN 1
22390 _ACEOF
22393 done
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22403 $as_echo_n "checking for finite declaration... " >&6; }
22404 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22405 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22406 $as_echo_n "(cached) " >&6
22407 else
22410 ac_ext=cpp
22411 ac_cpp='$CXXCPP $CPPFLAGS'
22412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h. */
22418 #include <math.h>
22419 #ifdef HAVE_IEEEFP_H
22420 #include <ieeefp.h>
22421 #endif
22424 main ()
22426 finite(0);
22428 return 0;
22430 _ACEOF
22431 if ac_fn_cxx_try_compile "$LINENO"; then :
22432 glibcxx_cv_func_finite_use=yes
22433 else
22434 glibcxx_cv_func_finite_use=no
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 ac_ext=c
22438 ac_cpp='$CPP $CPPFLAGS'
22439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22448 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22450 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22451 for ac_func in finite
22452 do :
22453 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22454 if test "x$ac_cv_func_finite" = x""yes; then :
22455 cat >>confdefs.h <<_ACEOF
22456 #define HAVE_FINITE 1
22457 _ACEOF
22460 done
22462 else
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22465 $as_echo_n "checking for _finite declaration... " >&6; }
22466 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22467 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22468 $as_echo_n "(cached) " >&6
22469 else
22472 ac_ext=cpp
22473 ac_cpp='$CXXCPP $CPPFLAGS'
22474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22479 /* end confdefs.h. */
22480 #include <math.h>
22481 #ifdef HAVE_IEEEFP_H
22482 #include <ieeefp.h>
22483 #endif
22486 main ()
22488 _finite(0);
22490 return 0;
22492 _ACEOF
22493 if ac_fn_cxx_try_compile "$LINENO"; then :
22494 glibcxx_cv_func__finite_use=yes
22495 else
22496 glibcxx_cv_func__finite_use=no
22498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22499 ac_ext=c
22500 ac_cpp='$CPP $CPPFLAGS'
22501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22510 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22512 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22513 for ac_func in _finite
22514 do :
22515 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22516 if test "x$ac_cv_func__finite" = x""yes; then :
22517 cat >>confdefs.h <<_ACEOF
22518 #define HAVE__FINITE 1
22519 _ACEOF
22522 done
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22532 $as_echo_n "checking for sincos declaration... " >&6; }
22533 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22534 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22535 $as_echo_n "(cached) " >&6
22536 else
22539 ac_ext=cpp
22540 ac_cpp='$CXXCPP $CPPFLAGS'
22541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22546 /* end confdefs.h. */
22547 #include <math.h>
22549 main ()
22551 sincos(0, 0, 0);
22553 return 0;
22555 _ACEOF
22556 if ac_fn_cxx_try_compile "$LINENO"; then :
22557 glibcxx_cv_func_sincos_use=yes
22558 else
22559 glibcxx_cv_func_sincos_use=no
22561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22562 ac_ext=c
22563 ac_cpp='$CPP $CPPFLAGS'
22564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22573 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22575 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22576 for ac_func in sincos
22577 do :
22578 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22579 if test "x$ac_cv_func_sincos" = x""yes; then :
22580 cat >>confdefs.h <<_ACEOF
22581 #define HAVE_SINCOS 1
22582 _ACEOF
22585 done
22587 else
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22590 $as_echo_n "checking for _sincos declaration... " >&6; }
22591 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22592 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22593 $as_echo_n "(cached) " >&6
22594 else
22597 ac_ext=cpp
22598 ac_cpp='$CXXCPP $CPPFLAGS'
22599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22604 /* end confdefs.h. */
22605 #include <math.h>
22607 main ()
22609 _sincos(0, 0, 0);
22611 return 0;
22613 _ACEOF
22614 if ac_fn_cxx_try_compile "$LINENO"; then :
22615 glibcxx_cv_func__sincos_use=yes
22616 else
22617 glibcxx_cv_func__sincos_use=no
22619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22620 ac_ext=c
22621 ac_cpp='$CPP $CPPFLAGS'
22622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22631 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22633 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22634 for ac_func in _sincos
22635 do :
22636 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22637 if test "x$ac_cv_func__sincos" = x""yes; then :
22638 cat >>confdefs.h <<_ACEOF
22639 #define HAVE__SINCOS 1
22640 _ACEOF
22643 done
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22653 $as_echo_n "checking for fpclass declaration... " >&6; }
22654 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22655 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22656 $as_echo_n "(cached) " >&6
22657 else
22660 ac_ext=cpp
22661 ac_cpp='$CXXCPP $CPPFLAGS'
22662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 /* end confdefs.h. */
22668 #include <math.h>
22669 #ifdef HAVE_IEEEFP_H
22670 #include <ieeefp.h>
22671 #endif
22674 main ()
22676 fpclass(0);
22678 return 0;
22680 _ACEOF
22681 if ac_fn_cxx_try_compile "$LINENO"; then :
22682 glibcxx_cv_func_fpclass_use=yes
22683 else
22684 glibcxx_cv_func_fpclass_use=no
22686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22687 ac_ext=c
22688 ac_cpp='$CPP $CPPFLAGS'
22689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22698 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22700 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22701 for ac_func in fpclass
22702 do :
22703 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22704 if test "x$ac_cv_func_fpclass" = x""yes; then :
22705 cat >>confdefs.h <<_ACEOF
22706 #define HAVE_FPCLASS 1
22707 _ACEOF
22710 done
22712 else
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22715 $as_echo_n "checking for _fpclass declaration... " >&6; }
22716 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22717 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22718 $as_echo_n "(cached) " >&6
22719 else
22722 ac_ext=cpp
22723 ac_cpp='$CXXCPP $CPPFLAGS'
22724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22729 /* end confdefs.h. */
22730 #include <math.h>
22731 #ifdef HAVE_IEEEFP_H
22732 #include <ieeefp.h>
22733 #endif
22736 main ()
22738 _fpclass(0);
22740 return 0;
22742 _ACEOF
22743 if ac_fn_cxx_try_compile "$LINENO"; then :
22744 glibcxx_cv_func__fpclass_use=yes
22745 else
22746 glibcxx_cv_func__fpclass_use=no
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 ac_ext=c
22750 ac_cpp='$CPP $CPPFLAGS'
22751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22760 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22762 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22763 for ac_func in _fpclass
22764 do :
22765 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22766 if test "x$ac_cv_func__fpclass" = x""yes; then :
22767 cat >>confdefs.h <<_ACEOF
22768 #define HAVE__FPCLASS 1
22769 _ACEOF
22772 done
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22782 $as_echo_n "checking for qfpclass declaration... " >&6; }
22783 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22784 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22785 $as_echo_n "(cached) " >&6
22786 else
22789 ac_ext=cpp
22790 ac_cpp='$CXXCPP $CPPFLAGS'
22791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22796 /* end confdefs.h. */
22797 #include <math.h>
22798 #ifdef HAVE_IEEEFP_H
22799 #include <ieeefp.h>
22800 #endif
22803 main ()
22805 qfpclass(0);
22807 return 0;
22809 _ACEOF
22810 if ac_fn_cxx_try_compile "$LINENO"; then :
22811 glibcxx_cv_func_qfpclass_use=yes
22812 else
22813 glibcxx_cv_func_qfpclass_use=no
22815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22816 ac_ext=c
22817 ac_cpp='$CPP $CPPFLAGS'
22818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22827 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22829 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22830 for ac_func in qfpclass
22831 do :
22832 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22833 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22834 cat >>confdefs.h <<_ACEOF
22835 #define HAVE_QFPCLASS 1
22836 _ACEOF
22839 done
22841 else
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22844 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22845 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22846 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22847 $as_echo_n "(cached) " >&6
22848 else
22851 ac_ext=cpp
22852 ac_cpp='$CXXCPP $CPPFLAGS'
22853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22858 /* end confdefs.h. */
22859 #include <math.h>
22860 #ifdef HAVE_IEEEFP_H
22861 #include <ieeefp.h>
22862 #endif
22865 main ()
22867 _qfpclass(0);
22869 return 0;
22871 _ACEOF
22872 if ac_fn_cxx_try_compile "$LINENO"; then :
22873 glibcxx_cv_func__qfpclass_use=yes
22874 else
22875 glibcxx_cv_func__qfpclass_use=no
22877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22878 ac_ext=c
22879 ac_cpp='$CPP $CPPFLAGS'
22880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22889 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22891 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22892 for ac_func in _qfpclass
22893 do :
22894 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22895 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22896 cat >>confdefs.h <<_ACEOF
22897 #define HAVE__QFPCLASS 1
22898 _ACEOF
22901 done
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22911 $as_echo_n "checking for hypot declaration... " >&6; }
22912 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22913 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22914 $as_echo_n "(cached) " >&6
22915 else
22918 ac_ext=cpp
22919 ac_cpp='$CXXCPP $CPPFLAGS'
22920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22925 /* end confdefs.h. */
22926 #include <math.h>
22928 main ()
22930 hypot(0, 0);
22932 return 0;
22934 _ACEOF
22935 if ac_fn_cxx_try_compile "$LINENO"; then :
22936 glibcxx_cv_func_hypot_use=yes
22937 else
22938 glibcxx_cv_func_hypot_use=no
22940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22941 ac_ext=c
22942 ac_cpp='$CPP $CPPFLAGS'
22943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22952 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22954 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22955 for ac_func in hypot
22956 do :
22957 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22958 if test "x$ac_cv_func_hypot" = x""yes; then :
22959 cat >>confdefs.h <<_ACEOF
22960 #define HAVE_HYPOT 1
22961 _ACEOF
22964 done
22966 else
22968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22969 $as_echo_n "checking for _hypot declaration... " >&6; }
22970 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22971 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22972 $as_echo_n "(cached) " >&6
22973 else
22976 ac_ext=cpp
22977 ac_cpp='$CXXCPP $CPPFLAGS'
22978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22983 /* end confdefs.h. */
22984 #include <math.h>
22986 main ()
22988 _hypot(0, 0);
22990 return 0;
22992 _ACEOF
22993 if ac_fn_cxx_try_compile "$LINENO"; then :
22994 glibcxx_cv_func__hypot_use=yes
22995 else
22996 glibcxx_cv_func__hypot_use=no
22998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22999 ac_ext=c
23000 ac_cpp='$CPP $CPPFLAGS'
23001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23010 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23012 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23013 for ac_func in _hypot
23014 do :
23015 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23016 if test "x$ac_cv_func__hypot" = x""yes; then :
23017 cat >>confdefs.h <<_ACEOF
23018 #define HAVE__HYPOT 1
23019 _ACEOF
23022 done
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23032 $as_echo_n "checking for float trig functions... " >&6; }
23033 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23034 $as_echo_n "(cached) " >&6
23035 else
23038 ac_ext=cpp
23039 ac_cpp='$CXXCPP $CPPFLAGS'
23040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23045 /* end confdefs.h. */
23046 #include <math.h>
23048 main ()
23050 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23052 return 0;
23054 _ACEOF
23055 if ac_fn_cxx_try_compile "$LINENO"; then :
23056 glibcxx_cv_func_float_trig_use=yes
23057 else
23058 glibcxx_cv_func_float_trig_use=no
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061 ac_ext=c
23062 ac_cpp='$CPP $CPPFLAGS'
23063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23070 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23071 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23072 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23073 do :
23074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23076 eval as_val=\$$as_ac_var
23077 if test "x$as_val" = x""yes; then :
23078 cat >>confdefs.h <<_ACEOF
23079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23080 _ACEOF
23083 done
23085 else
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23087 $as_echo_n "checking for _float trig functions... " >&6; }
23088 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23089 $as_echo_n "(cached) " >&6
23090 else
23093 ac_ext=cpp
23094 ac_cpp='$CXXCPP $CPPFLAGS'
23095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23100 /* end confdefs.h. */
23101 #include <math.h>
23103 main ()
23105 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23107 return 0;
23109 _ACEOF
23110 if ac_fn_cxx_try_compile "$LINENO"; then :
23111 glibcxx_cv_func__float_trig_use=yes
23112 else
23113 glibcxx_cv_func__float_trig_use=no
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116 ac_ext=c
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23125 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23126 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23127 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23128 do :
23129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23130 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23131 eval as_val=\$$as_ac_var
23132 if test "x$as_val" = x""yes; then :
23133 cat >>confdefs.h <<_ACEOF
23134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23135 _ACEOF
23138 done
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23148 $as_echo_n "checking for float round functions... " >&6; }
23149 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23150 $as_echo_n "(cached) " >&6
23151 else
23154 ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h. */
23162 #include <math.h>
23164 main ()
23166 ceilf (0); floorf (0);
23168 return 0;
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172 glibcxx_cv_func_float_round_use=yes
23173 else
23174 glibcxx_cv_func_float_round_use=no
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23186 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23187 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23188 for ac_func in ceilf floorf
23189 do :
23190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23192 eval as_val=\$$as_ac_var
23193 if test "x$as_val" = x""yes; then :
23194 cat >>confdefs.h <<_ACEOF
23195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23196 _ACEOF
23199 done
23201 else
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23203 $as_echo_n "checking for _float round functions... " >&6; }
23204 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23205 $as_echo_n "(cached) " >&6
23206 else
23209 ac_ext=cpp
23210 ac_cpp='$CXXCPP $CPPFLAGS'
23211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23216 /* end confdefs.h. */
23217 #include <math.h>
23219 main ()
23221 _ceilf (0); _floorf (0);
23223 return 0;
23225 _ACEOF
23226 if ac_fn_cxx_try_compile "$LINENO"; then :
23227 glibcxx_cv_func__float_round_use=yes
23228 else
23229 glibcxx_cv_func__float_round_use=no
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23232 ac_ext=c
23233 ac_cpp='$CPP $CPPFLAGS'
23234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23241 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23242 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23243 for ac_func in _ceilf _floorf
23244 do :
23245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23247 eval as_val=\$$as_ac_var
23248 if test "x$as_val" = x""yes; then :
23249 cat >>confdefs.h <<_ACEOF
23250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23251 _ACEOF
23254 done
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23265 $as_echo_n "checking for expf declaration... " >&6; }
23266 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23267 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23268 $as_echo_n "(cached) " >&6
23269 else
23272 ac_ext=cpp
23273 ac_cpp='$CXXCPP $CPPFLAGS'
23274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23279 /* end confdefs.h. */
23280 #include <math.h>
23281 #ifdef HAVE_IEEEFP_H
23282 #include <ieeefp.h>
23283 #endif
23286 main ()
23288 expf(0);
23290 return 0;
23292 _ACEOF
23293 if ac_fn_cxx_try_compile "$LINENO"; then :
23294 glibcxx_cv_func_expf_use=yes
23295 else
23296 glibcxx_cv_func_expf_use=no
23298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23299 ac_ext=c
23300 ac_cpp='$CPP $CPPFLAGS'
23301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23310 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23312 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23313 for ac_func in expf
23314 do :
23315 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23316 if test "x$ac_cv_func_expf" = x""yes; then :
23317 cat >>confdefs.h <<_ACEOF
23318 #define HAVE_EXPF 1
23319 _ACEOF
23322 done
23324 else
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23327 $as_echo_n "checking for _expf declaration... " >&6; }
23328 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23329 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23330 $as_echo_n "(cached) " >&6
23331 else
23334 ac_ext=cpp
23335 ac_cpp='$CXXCPP $CPPFLAGS'
23336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23341 /* end confdefs.h. */
23342 #include <math.h>
23343 #ifdef HAVE_IEEEFP_H
23344 #include <ieeefp.h>
23345 #endif
23348 main ()
23350 _expf(0);
23352 return 0;
23354 _ACEOF
23355 if ac_fn_cxx_try_compile "$LINENO"; then :
23356 glibcxx_cv_func__expf_use=yes
23357 else
23358 glibcxx_cv_func__expf_use=no
23360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23361 ac_ext=c
23362 ac_cpp='$CPP $CPPFLAGS'
23363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23372 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23374 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23375 for ac_func in _expf
23376 do :
23377 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23378 if test "x$ac_cv_func__expf" = x""yes; then :
23379 cat >>confdefs.h <<_ACEOF
23380 #define HAVE__EXPF 1
23381 _ACEOF
23384 done
23393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23394 $as_echo_n "checking for isnanf declaration... " >&6; }
23395 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23396 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23397 $as_echo_n "(cached) " >&6
23398 else
23401 ac_ext=cpp
23402 ac_cpp='$CXXCPP $CPPFLAGS'
23403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23408 /* end confdefs.h. */
23409 #include <math.h>
23410 #ifdef HAVE_IEEEFP_H
23411 #include <ieeefp.h>
23412 #endif
23415 main ()
23417 isnanf(0);
23419 return 0;
23421 _ACEOF
23422 if ac_fn_cxx_try_compile "$LINENO"; then :
23423 glibcxx_cv_func_isnanf_use=yes
23424 else
23425 glibcxx_cv_func_isnanf_use=no
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428 ac_ext=c
23429 ac_cpp='$CPP $CPPFLAGS'
23430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23439 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23441 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23442 for ac_func in isnanf
23443 do :
23444 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23445 if test "x$ac_cv_func_isnanf" = x""yes; then :
23446 cat >>confdefs.h <<_ACEOF
23447 #define HAVE_ISNANF 1
23448 _ACEOF
23451 done
23453 else
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23456 $as_echo_n "checking for _isnanf declaration... " >&6; }
23457 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23458 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23460 else
23463 ac_ext=cpp
23464 ac_cpp='$CXXCPP $CPPFLAGS'
23465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h. */
23471 #include <math.h>
23472 #ifdef HAVE_IEEEFP_H
23473 #include <ieeefp.h>
23474 #endif
23477 main ()
23479 _isnanf(0);
23481 return 0;
23483 _ACEOF
23484 if ac_fn_cxx_try_compile "$LINENO"; then :
23485 glibcxx_cv_func__isnanf_use=yes
23486 else
23487 glibcxx_cv_func__isnanf_use=no
23489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23490 ac_ext=c
23491 ac_cpp='$CPP $CPPFLAGS'
23492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23501 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23503 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23504 for ac_func in _isnanf
23505 do :
23506 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23507 if test "x$ac_cv_func__isnanf" = x""yes; then :
23508 cat >>confdefs.h <<_ACEOF
23509 #define HAVE__ISNANF 1
23510 _ACEOF
23513 done
23522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23523 $as_echo_n "checking for isinff declaration... " >&6; }
23524 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23525 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23526 $as_echo_n "(cached) " >&6
23527 else
23530 ac_ext=cpp
23531 ac_cpp='$CXXCPP $CPPFLAGS'
23532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23537 /* end confdefs.h. */
23538 #include <math.h>
23539 #ifdef HAVE_IEEEFP_H
23540 #include <ieeefp.h>
23541 #endif
23544 main ()
23546 isinff(0);
23548 return 0;
23550 _ACEOF
23551 if ac_fn_cxx_try_compile "$LINENO"; then :
23552 glibcxx_cv_func_isinff_use=yes
23553 else
23554 glibcxx_cv_func_isinff_use=no
23556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23557 ac_ext=c
23558 ac_cpp='$CPP $CPPFLAGS'
23559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23568 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23570 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23571 for ac_func in isinff
23572 do :
23573 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23574 if test "x$ac_cv_func_isinff" = x""yes; then :
23575 cat >>confdefs.h <<_ACEOF
23576 #define HAVE_ISINFF 1
23577 _ACEOF
23580 done
23582 else
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23585 $as_echo_n "checking for _isinff declaration... " >&6; }
23586 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23587 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23588 $as_echo_n "(cached) " >&6
23589 else
23592 ac_ext=cpp
23593 ac_cpp='$CXXCPP $CPPFLAGS'
23594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23599 /* end confdefs.h. */
23600 #include <math.h>
23601 #ifdef HAVE_IEEEFP_H
23602 #include <ieeefp.h>
23603 #endif
23606 main ()
23608 _isinff(0);
23610 return 0;
23612 _ACEOF
23613 if ac_fn_cxx_try_compile "$LINENO"; then :
23614 glibcxx_cv_func__isinff_use=yes
23615 else
23616 glibcxx_cv_func__isinff_use=no
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23619 ac_ext=c
23620 ac_cpp='$CPP $CPPFLAGS'
23621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23630 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23632 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23633 for ac_func in _isinff
23634 do :
23635 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23636 if test "x$ac_cv_func__isinff" = x""yes; then :
23637 cat >>confdefs.h <<_ACEOF
23638 #define HAVE__ISINFF 1
23639 _ACEOF
23642 done
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23652 $as_echo_n "checking for atan2f declaration... " >&6; }
23653 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23654 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23655 $as_echo_n "(cached) " >&6
23656 else
23659 ac_ext=cpp
23660 ac_cpp='$CXXCPP $CPPFLAGS'
23661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23666 /* end confdefs.h. */
23667 #include <math.h>
23669 main ()
23671 atan2f(0, 0);
23673 return 0;
23675 _ACEOF
23676 if ac_fn_cxx_try_compile "$LINENO"; then :
23677 glibcxx_cv_func_atan2f_use=yes
23678 else
23679 glibcxx_cv_func_atan2f_use=no
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682 ac_ext=c
23683 ac_cpp='$CPP $CPPFLAGS'
23684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23693 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23695 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23696 for ac_func in atan2f
23697 do :
23698 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23699 if test "x$ac_cv_func_atan2f" = x""yes; then :
23700 cat >>confdefs.h <<_ACEOF
23701 #define HAVE_ATAN2F 1
23702 _ACEOF
23705 done
23707 else
23709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23710 $as_echo_n "checking for _atan2f declaration... " >&6; }
23711 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23712 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23713 $as_echo_n "(cached) " >&6
23714 else
23717 ac_ext=cpp
23718 ac_cpp='$CXXCPP $CPPFLAGS'
23719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23724 /* end confdefs.h. */
23725 #include <math.h>
23727 main ()
23729 _atan2f(0, 0);
23731 return 0;
23733 _ACEOF
23734 if ac_fn_cxx_try_compile "$LINENO"; then :
23735 glibcxx_cv_func__atan2f_use=yes
23736 else
23737 glibcxx_cv_func__atan2f_use=no
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740 ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23751 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23753 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23754 for ac_func in _atan2f
23755 do :
23756 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23757 if test "x$ac_cv_func__atan2f" = x""yes; then :
23758 cat >>confdefs.h <<_ACEOF
23759 #define HAVE__ATAN2F 1
23760 _ACEOF
23763 done
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23773 $as_echo_n "checking for fabsf declaration... " >&6; }
23774 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23775 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23776 $as_echo_n "(cached) " >&6
23777 else
23780 ac_ext=cpp
23781 ac_cpp='$CXXCPP $CPPFLAGS'
23782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23787 /* end confdefs.h. */
23788 #include <math.h>
23789 #ifdef HAVE_IEEEFP_H
23790 #include <ieeefp.h>
23791 #endif
23794 main ()
23796 fabsf(0);
23798 return 0;
23800 _ACEOF
23801 if ac_fn_cxx_try_compile "$LINENO"; then :
23802 glibcxx_cv_func_fabsf_use=yes
23803 else
23804 glibcxx_cv_func_fabsf_use=no
23806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23807 ac_ext=c
23808 ac_cpp='$CPP $CPPFLAGS'
23809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23818 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23820 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23821 for ac_func in fabsf
23822 do :
23823 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23824 if test "x$ac_cv_func_fabsf" = x""yes; then :
23825 cat >>confdefs.h <<_ACEOF
23826 #define HAVE_FABSF 1
23827 _ACEOF
23830 done
23832 else
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23835 $as_echo_n "checking for _fabsf declaration... " >&6; }
23836 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23837 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23838 $as_echo_n "(cached) " >&6
23839 else
23842 ac_ext=cpp
23843 ac_cpp='$CXXCPP $CPPFLAGS'
23844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h. */
23850 #include <math.h>
23851 #ifdef HAVE_IEEEFP_H
23852 #include <ieeefp.h>
23853 #endif
23856 main ()
23858 _fabsf(0);
23860 return 0;
23862 _ACEOF
23863 if ac_fn_cxx_try_compile "$LINENO"; then :
23864 glibcxx_cv_func__fabsf_use=yes
23865 else
23866 glibcxx_cv_func__fabsf_use=no
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23869 ac_ext=c
23870 ac_cpp='$CPP $CPPFLAGS'
23871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23880 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23882 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23883 for ac_func in _fabsf
23884 do :
23885 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23886 if test "x$ac_cv_func__fabsf" = x""yes; then :
23887 cat >>confdefs.h <<_ACEOF
23888 #define HAVE__FABSF 1
23889 _ACEOF
23892 done
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23902 $as_echo_n "checking for fmodf declaration... " >&6; }
23903 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23904 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23905 $as_echo_n "(cached) " >&6
23906 else
23909 ac_ext=cpp
23910 ac_cpp='$CXXCPP $CPPFLAGS'
23911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23917 #include <math.h>
23919 main ()
23921 fmodf(0, 0);
23923 return 0;
23925 _ACEOF
23926 if ac_fn_cxx_try_compile "$LINENO"; then :
23927 glibcxx_cv_func_fmodf_use=yes
23928 else
23929 glibcxx_cv_func_fmodf_use=no
23931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23932 ac_ext=c
23933 ac_cpp='$CPP $CPPFLAGS'
23934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23943 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23945 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23946 for ac_func in fmodf
23947 do :
23948 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23949 if test "x$ac_cv_func_fmodf" = x""yes; then :
23950 cat >>confdefs.h <<_ACEOF
23951 #define HAVE_FMODF 1
23952 _ACEOF
23955 done
23957 else
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23960 $as_echo_n "checking for _fmodf declaration... " >&6; }
23961 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23962 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23963 $as_echo_n "(cached) " >&6
23964 else
23967 ac_ext=cpp
23968 ac_cpp='$CXXCPP $CPPFLAGS'
23969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23974 /* end confdefs.h. */
23975 #include <math.h>
23977 main ()
23979 _fmodf(0, 0);
23981 return 0;
23983 _ACEOF
23984 if ac_fn_cxx_try_compile "$LINENO"; then :
23985 glibcxx_cv_func__fmodf_use=yes
23986 else
23987 glibcxx_cv_func__fmodf_use=no
23989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23990 ac_ext=c
23991 ac_cpp='$CPP $CPPFLAGS'
23992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24001 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24003 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24004 for ac_func in _fmodf
24005 do :
24006 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24007 if test "x$ac_cv_func__fmodf" = x""yes; then :
24008 cat >>confdefs.h <<_ACEOF
24009 #define HAVE__FMODF 1
24010 _ACEOF
24013 done
24022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24023 $as_echo_n "checking for frexpf declaration... " >&6; }
24024 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24025 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24026 $as_echo_n "(cached) " >&6
24027 else
24030 ac_ext=cpp
24031 ac_cpp='$CXXCPP $CPPFLAGS'
24032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24037 /* end confdefs.h. */
24038 #include <math.h>
24040 main ()
24042 frexpf(0, 0);
24044 return 0;
24046 _ACEOF
24047 if ac_fn_cxx_try_compile "$LINENO"; then :
24048 glibcxx_cv_func_frexpf_use=yes
24049 else
24050 glibcxx_cv_func_frexpf_use=no
24052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24053 ac_ext=c
24054 ac_cpp='$CPP $CPPFLAGS'
24055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24064 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24066 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24067 for ac_func in frexpf
24068 do :
24069 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24070 if test "x$ac_cv_func_frexpf" = x""yes; then :
24071 cat >>confdefs.h <<_ACEOF
24072 #define HAVE_FREXPF 1
24073 _ACEOF
24076 done
24078 else
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24081 $as_echo_n "checking for _frexpf declaration... " >&6; }
24082 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24083 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24084 $as_echo_n "(cached) " >&6
24085 else
24088 ac_ext=cpp
24089 ac_cpp='$CXXCPP $CPPFLAGS'
24090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24095 /* end confdefs.h. */
24096 #include <math.h>
24098 main ()
24100 _frexpf(0, 0);
24102 return 0;
24104 _ACEOF
24105 if ac_fn_cxx_try_compile "$LINENO"; then :
24106 glibcxx_cv_func__frexpf_use=yes
24107 else
24108 glibcxx_cv_func__frexpf_use=no
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111 ac_ext=c
24112 ac_cpp='$CPP $CPPFLAGS'
24113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24122 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24124 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24125 for ac_func in _frexpf
24126 do :
24127 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24128 if test "x$ac_cv_func__frexpf" = x""yes; then :
24129 cat >>confdefs.h <<_ACEOF
24130 #define HAVE__FREXPF 1
24131 _ACEOF
24134 done
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24144 $as_echo_n "checking for hypotf declaration... " >&6; }
24145 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24146 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24147 $as_echo_n "(cached) " >&6
24148 else
24151 ac_ext=cpp
24152 ac_cpp='$CXXCPP $CPPFLAGS'
24153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24158 /* end confdefs.h. */
24159 #include <math.h>
24161 main ()
24163 hypotf(0, 0);
24165 return 0;
24167 _ACEOF
24168 if ac_fn_cxx_try_compile "$LINENO"; then :
24169 glibcxx_cv_func_hypotf_use=yes
24170 else
24171 glibcxx_cv_func_hypotf_use=no
24173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24174 ac_ext=c
24175 ac_cpp='$CPP $CPPFLAGS'
24176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24185 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24187 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24188 for ac_func in hypotf
24189 do :
24190 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24191 if test "x$ac_cv_func_hypotf" = x""yes; then :
24192 cat >>confdefs.h <<_ACEOF
24193 #define HAVE_HYPOTF 1
24194 _ACEOF
24197 done
24199 else
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24202 $as_echo_n "checking for _hypotf declaration... " >&6; }
24203 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24204 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24205 $as_echo_n "(cached) " >&6
24206 else
24209 ac_ext=cpp
24210 ac_cpp='$CXXCPP $CPPFLAGS'
24211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24216 /* end confdefs.h. */
24217 #include <math.h>
24219 main ()
24221 _hypotf(0, 0);
24223 return 0;
24225 _ACEOF
24226 if ac_fn_cxx_try_compile "$LINENO"; then :
24227 glibcxx_cv_func__hypotf_use=yes
24228 else
24229 glibcxx_cv_func__hypotf_use=no
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 ac_ext=c
24233 ac_cpp='$CPP $CPPFLAGS'
24234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24243 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24245 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24246 for ac_func in _hypotf
24247 do :
24248 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24249 if test "x$ac_cv_func__hypotf" = x""yes; then :
24250 cat >>confdefs.h <<_ACEOF
24251 #define HAVE__HYPOTF 1
24252 _ACEOF
24255 done
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24265 $as_echo_n "checking for ldexpf declaration... " >&6; }
24266 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24267 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24272 ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24280 #include <math.h>
24282 main ()
24284 ldexpf(0, 0);
24286 return 0;
24288 _ACEOF
24289 if ac_fn_cxx_try_compile "$LINENO"; then :
24290 glibcxx_cv_func_ldexpf_use=yes
24291 else
24292 glibcxx_cv_func_ldexpf_use=no
24294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24295 ac_ext=c
24296 ac_cpp='$CPP $CPPFLAGS'
24297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24306 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24308 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24309 for ac_func in ldexpf
24310 do :
24311 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24312 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24313 cat >>confdefs.h <<_ACEOF
24314 #define HAVE_LDEXPF 1
24315 _ACEOF
24318 done
24320 else
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24323 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24324 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24325 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24326 $as_echo_n "(cached) " >&6
24327 else
24330 ac_ext=cpp
24331 ac_cpp='$CXXCPP $CPPFLAGS'
24332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h. */
24338 #include <math.h>
24340 main ()
24342 _ldexpf(0, 0);
24344 return 0;
24346 _ACEOF
24347 if ac_fn_cxx_try_compile "$LINENO"; then :
24348 glibcxx_cv_func__ldexpf_use=yes
24349 else
24350 glibcxx_cv_func__ldexpf_use=no
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353 ac_ext=c
24354 ac_cpp='$CPP $CPPFLAGS'
24355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24364 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24366 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24367 for ac_func in _ldexpf
24368 do :
24369 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24370 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24371 cat >>confdefs.h <<_ACEOF
24372 #define HAVE__LDEXPF 1
24373 _ACEOF
24376 done
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24386 $as_echo_n "checking for logf declaration... " >&6; }
24387 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24388 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24389 $as_echo_n "(cached) " >&6
24390 else
24393 ac_ext=cpp
24394 ac_cpp='$CXXCPP $CPPFLAGS'
24395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h. */
24401 #include <math.h>
24402 #ifdef HAVE_IEEEFP_H
24403 #include <ieeefp.h>
24404 #endif
24407 main ()
24409 logf(0);
24411 return 0;
24413 _ACEOF
24414 if ac_fn_cxx_try_compile "$LINENO"; then :
24415 glibcxx_cv_func_logf_use=yes
24416 else
24417 glibcxx_cv_func_logf_use=no
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24420 ac_ext=c
24421 ac_cpp='$CPP $CPPFLAGS'
24422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24431 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24433 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24434 for ac_func in logf
24435 do :
24436 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24437 if test "x$ac_cv_func_logf" = x""yes; then :
24438 cat >>confdefs.h <<_ACEOF
24439 #define HAVE_LOGF 1
24440 _ACEOF
24443 done
24445 else
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24448 $as_echo_n "checking for _logf declaration... " >&6; }
24449 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24450 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24451 $as_echo_n "(cached) " >&6
24452 else
24455 ac_ext=cpp
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h. */
24463 #include <math.h>
24464 #ifdef HAVE_IEEEFP_H
24465 #include <ieeefp.h>
24466 #endif
24469 main ()
24471 _logf(0);
24473 return 0;
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477 glibcxx_cv_func__logf_use=yes
24478 else
24479 glibcxx_cv_func__logf_use=no
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482 ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24493 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24495 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24496 for ac_func in _logf
24497 do :
24498 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24499 if test "x$ac_cv_func__logf" = x""yes; then :
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE__LOGF 1
24502 _ACEOF
24505 done
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24515 $as_echo_n "checking for log10f declaration... " >&6; }
24516 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24517 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24518 $as_echo_n "(cached) " >&6
24519 else
24522 ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24530 #include <math.h>
24531 #ifdef HAVE_IEEEFP_H
24532 #include <ieeefp.h>
24533 #endif
24536 main ()
24538 log10f(0);
24540 return 0;
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544 glibcxx_cv_func_log10f_use=yes
24545 else
24546 glibcxx_cv_func_log10f_use=no
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24560 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24562 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24563 for ac_func in log10f
24564 do :
24565 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24566 if test "x$ac_cv_func_log10f" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define HAVE_LOG10F 1
24569 _ACEOF
24572 done
24574 else
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24577 $as_echo_n "checking for _log10f declaration... " >&6; }
24578 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24579 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24580 $as_echo_n "(cached) " >&6
24581 else
24584 ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24592 #include <math.h>
24593 #ifdef HAVE_IEEEFP_H
24594 #include <ieeefp.h>
24595 #endif
24598 main ()
24600 _log10f(0);
24602 return 0;
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func__log10f_use=yes
24607 else
24608 glibcxx_cv_func__log10f_use=no
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24622 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24624 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24625 for ac_func in _log10f
24626 do :
24627 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24628 if test "x$ac_cv_func__log10f" = x""yes; then :
24629 cat >>confdefs.h <<_ACEOF
24630 #define HAVE__LOG10F 1
24631 _ACEOF
24634 done
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24644 $as_echo_n "checking for modff declaration... " >&6; }
24645 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24646 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24647 $as_echo_n "(cached) " >&6
24648 else
24651 ac_ext=cpp
24652 ac_cpp='$CXXCPP $CPPFLAGS'
24653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h. */
24659 #include <math.h>
24661 main ()
24663 modff(0, 0);
24665 return 0;
24667 _ACEOF
24668 if ac_fn_cxx_try_compile "$LINENO"; then :
24669 glibcxx_cv_func_modff_use=yes
24670 else
24671 glibcxx_cv_func_modff_use=no
24673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24674 ac_ext=c
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24685 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24687 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24688 for ac_func in modff
24689 do :
24690 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24691 if test "x$ac_cv_func_modff" = x""yes; then :
24692 cat >>confdefs.h <<_ACEOF
24693 #define HAVE_MODFF 1
24694 _ACEOF
24697 done
24699 else
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24702 $as_echo_n "checking for _modff declaration... " >&6; }
24703 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24704 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24705 $as_echo_n "(cached) " >&6
24706 else
24709 ac_ext=cpp
24710 ac_cpp='$CXXCPP $CPPFLAGS'
24711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24716 /* end confdefs.h. */
24717 #include <math.h>
24719 main ()
24721 _modff(0, 0);
24723 return 0;
24725 _ACEOF
24726 if ac_fn_cxx_try_compile "$LINENO"; then :
24727 glibcxx_cv_func__modff_use=yes
24728 else
24729 glibcxx_cv_func__modff_use=no
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732 ac_ext=c
24733 ac_cpp='$CPP $CPPFLAGS'
24734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24743 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24745 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24746 for ac_func in _modff
24747 do :
24748 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24749 if test "x$ac_cv_func__modff" = x""yes; then :
24750 cat >>confdefs.h <<_ACEOF
24751 #define HAVE__MODFF 1
24752 _ACEOF
24755 done
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24765 $as_echo_n "checking for modf declaration... " >&6; }
24766 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24767 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24768 $as_echo_n "(cached) " >&6
24769 else
24772 ac_ext=cpp
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h. */
24780 #include <math.h>
24782 main ()
24784 modf(0, 0);
24786 return 0;
24788 _ACEOF
24789 if ac_fn_cxx_try_compile "$LINENO"; then :
24790 glibcxx_cv_func_modf_use=yes
24791 else
24792 glibcxx_cv_func_modf_use=no
24794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 ac_ext=c
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24806 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24808 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24809 for ac_func in modf
24810 do :
24811 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24812 if test "x$ac_cv_func_modf" = x""yes; then :
24813 cat >>confdefs.h <<_ACEOF
24814 #define HAVE_MODF 1
24815 _ACEOF
24818 done
24820 else
24822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24823 $as_echo_n "checking for _modf declaration... " >&6; }
24824 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24825 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24826 $as_echo_n "(cached) " >&6
24827 else
24830 ac_ext=cpp
24831 ac_cpp='$CXXCPP $CPPFLAGS'
24832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24837 /* end confdefs.h. */
24838 #include <math.h>
24840 main ()
24842 _modf(0, 0);
24844 return 0;
24846 _ACEOF
24847 if ac_fn_cxx_try_compile "$LINENO"; then :
24848 glibcxx_cv_func__modf_use=yes
24849 else
24850 glibcxx_cv_func__modf_use=no
24852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24853 ac_ext=c
24854 ac_cpp='$CPP $CPPFLAGS'
24855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24864 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24866 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24867 for ac_func in _modf
24868 do :
24869 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24870 if test "x$ac_cv_func__modf" = x""yes; then :
24871 cat >>confdefs.h <<_ACEOF
24872 #define HAVE__MODF 1
24873 _ACEOF
24876 done
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24886 $as_echo_n "checking for powf declaration... " >&6; }
24887 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24888 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24889 $as_echo_n "(cached) " >&6
24890 else
24893 ac_ext=cpp
24894 ac_cpp='$CXXCPP $CPPFLAGS'
24895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900 /* end confdefs.h. */
24901 #include <math.h>
24903 main ()
24905 powf(0, 0);
24907 return 0;
24909 _ACEOF
24910 if ac_fn_cxx_try_compile "$LINENO"; then :
24911 glibcxx_cv_func_powf_use=yes
24912 else
24913 glibcxx_cv_func_powf_use=no
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24927 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24929 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24930 for ac_func in powf
24931 do :
24932 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24933 if test "x$ac_cv_func_powf" = x""yes; then :
24934 cat >>confdefs.h <<_ACEOF
24935 #define HAVE_POWF 1
24936 _ACEOF
24939 done
24941 else
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24944 $as_echo_n "checking for _powf declaration... " >&6; }
24945 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24946 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24947 $as_echo_n "(cached) " >&6
24948 else
24951 ac_ext=cpp
24952 ac_cpp='$CXXCPP $CPPFLAGS'
24953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958 /* end confdefs.h. */
24959 #include <math.h>
24961 main ()
24963 _powf(0, 0);
24965 return 0;
24967 _ACEOF
24968 if ac_fn_cxx_try_compile "$LINENO"; then :
24969 glibcxx_cv_func__powf_use=yes
24970 else
24971 glibcxx_cv_func__powf_use=no
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974 ac_ext=c
24975 ac_cpp='$CPP $CPPFLAGS'
24976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24985 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24987 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24988 for ac_func in _powf
24989 do :
24990 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24991 if test "x$ac_cv_func__powf" = x""yes; then :
24992 cat >>confdefs.h <<_ACEOF
24993 #define HAVE__POWF 1
24994 _ACEOF
24997 done
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25007 $as_echo_n "checking for sqrtf declaration... " >&6; }
25008 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25009 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25010 $as_echo_n "(cached) " >&6
25011 else
25014 ac_ext=cpp
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h. */
25022 #include <math.h>
25023 #ifdef HAVE_IEEEFP_H
25024 #include <ieeefp.h>
25025 #endif
25028 main ()
25030 sqrtf(0);
25032 return 0;
25034 _ACEOF
25035 if ac_fn_cxx_try_compile "$LINENO"; then :
25036 glibcxx_cv_func_sqrtf_use=yes
25037 else
25038 glibcxx_cv_func_sqrtf_use=no
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041 ac_ext=c
25042 ac_cpp='$CPP $CPPFLAGS'
25043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25052 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25054 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25055 for ac_func in sqrtf
25056 do :
25057 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25058 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25059 cat >>confdefs.h <<_ACEOF
25060 #define HAVE_SQRTF 1
25061 _ACEOF
25064 done
25066 else
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25069 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25070 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25071 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25072 $as_echo_n "(cached) " >&6
25073 else
25076 ac_ext=cpp
25077 ac_cpp='$CXXCPP $CPPFLAGS'
25078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25083 /* end confdefs.h. */
25084 #include <math.h>
25085 #ifdef HAVE_IEEEFP_H
25086 #include <ieeefp.h>
25087 #endif
25090 main ()
25092 _sqrtf(0);
25094 return 0;
25096 _ACEOF
25097 if ac_fn_cxx_try_compile "$LINENO"; then :
25098 glibcxx_cv_func__sqrtf_use=yes
25099 else
25100 glibcxx_cv_func__sqrtf_use=no
25102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25103 ac_ext=c
25104 ac_cpp='$CPP $CPPFLAGS'
25105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25114 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25116 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25117 for ac_func in _sqrtf
25118 do :
25119 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25120 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25121 cat >>confdefs.h <<_ACEOF
25122 #define HAVE__SQRTF 1
25123 _ACEOF
25126 done
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25136 $as_echo_n "checking for sincosf declaration... " >&6; }
25137 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25138 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25139 $as_echo_n "(cached) " >&6
25140 else
25143 ac_ext=cpp
25144 ac_cpp='$CXXCPP $CPPFLAGS'
25145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25150 /* end confdefs.h. */
25151 #include <math.h>
25153 main ()
25155 sincosf(0, 0, 0);
25157 return 0;
25159 _ACEOF
25160 if ac_fn_cxx_try_compile "$LINENO"; then :
25161 glibcxx_cv_func_sincosf_use=yes
25162 else
25163 glibcxx_cv_func_sincosf_use=no
25165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25166 ac_ext=c
25167 ac_cpp='$CPP $CPPFLAGS'
25168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25177 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25179 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25180 for ac_func in sincosf
25181 do :
25182 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25183 if test "x$ac_cv_func_sincosf" = x""yes; then :
25184 cat >>confdefs.h <<_ACEOF
25185 #define HAVE_SINCOSF 1
25186 _ACEOF
25189 done
25191 else
25193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25194 $as_echo_n "checking for _sincosf declaration... " >&6; }
25195 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25196 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25197 $as_echo_n "(cached) " >&6
25198 else
25201 ac_ext=cpp
25202 ac_cpp='$CXXCPP $CPPFLAGS'
25203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25209 #include <math.h>
25211 main ()
25213 _sincosf(0, 0, 0);
25215 return 0;
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219 glibcxx_cv_func__sincosf_use=yes
25220 else
25221 glibcxx_cv_func__sincosf_use=no
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25235 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25237 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25238 for ac_func in _sincosf
25239 do :
25240 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25241 if test "x$ac_cv_func__sincosf" = x""yes; then :
25242 cat >>confdefs.h <<_ACEOF
25243 #define HAVE__SINCOSF 1
25244 _ACEOF
25247 done
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25257 $as_echo_n "checking for finitef declaration... " >&6; }
25258 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25259 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25260 $as_echo_n "(cached) " >&6
25261 else
25264 ac_ext=cpp
25265 ac_cpp='$CXXCPP $CPPFLAGS'
25266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h. */
25272 #include <math.h>
25273 #ifdef HAVE_IEEEFP_H
25274 #include <ieeefp.h>
25275 #endif
25278 main ()
25280 finitef(0);
25282 return 0;
25284 _ACEOF
25285 if ac_fn_cxx_try_compile "$LINENO"; then :
25286 glibcxx_cv_func_finitef_use=yes
25287 else
25288 glibcxx_cv_func_finitef_use=no
25290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291 ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25302 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25304 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25305 for ac_func in finitef
25306 do :
25307 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25308 if test "x$ac_cv_func_finitef" = x""yes; then :
25309 cat >>confdefs.h <<_ACEOF
25310 #define HAVE_FINITEF 1
25311 _ACEOF
25314 done
25316 else
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25319 $as_echo_n "checking for _finitef declaration... " >&6; }
25320 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25321 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25322 $as_echo_n "(cached) " >&6
25323 else
25326 ac_ext=cpp
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h. */
25334 #include <math.h>
25335 #ifdef HAVE_IEEEFP_H
25336 #include <ieeefp.h>
25337 #endif
25340 main ()
25342 _finitef(0);
25344 return 0;
25346 _ACEOF
25347 if ac_fn_cxx_try_compile "$LINENO"; then :
25348 glibcxx_cv_func__finitef_use=yes
25349 else
25350 glibcxx_cv_func__finitef_use=no
25352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25353 ac_ext=c
25354 ac_cpp='$CPP $CPPFLAGS'
25355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25364 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25366 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25367 for ac_func in _finitef
25368 do :
25369 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25370 if test "x$ac_cv_func__finitef" = x""yes; then :
25371 cat >>confdefs.h <<_ACEOF
25372 #define HAVE__FINITEF 1
25373 _ACEOF
25376 done
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25386 $as_echo_n "checking for long double trig functions... " >&6; }
25387 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25388 $as_echo_n "(cached) " >&6
25389 else
25392 ac_ext=cpp
25393 ac_cpp='$CXXCPP $CPPFLAGS'
25394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25399 /* end confdefs.h. */
25400 #include <math.h>
25402 main ()
25404 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25406 return 0;
25408 _ACEOF
25409 if ac_fn_cxx_try_compile "$LINENO"; then :
25410 glibcxx_cv_func_long_double_trig_use=yes
25411 else
25412 glibcxx_cv_func_long_double_trig_use=no
25414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25415 ac_ext=c
25416 ac_cpp='$CPP $CPPFLAGS'
25417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25424 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25425 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25426 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25427 do :
25428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25430 eval as_val=\$$as_ac_var
25431 if test "x$as_val" = x""yes; then :
25432 cat >>confdefs.h <<_ACEOF
25433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25434 _ACEOF
25437 done
25439 else
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25441 $as_echo_n "checking for _long double trig functions... " >&6; }
25442 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25443 $as_echo_n "(cached) " >&6
25444 else
25447 ac_ext=cpp
25448 ac_cpp='$CXXCPP $CPPFLAGS'
25449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25454 /* end confdefs.h. */
25455 #include <math.h>
25457 main ()
25459 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25461 return 0;
25463 _ACEOF
25464 if ac_fn_cxx_try_compile "$LINENO"; then :
25465 glibcxx_cv_func__long_double_trig_use=yes
25466 else
25467 glibcxx_cv_func__long_double_trig_use=no
25469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25470 ac_ext=c
25471 ac_cpp='$CPP $CPPFLAGS'
25472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25479 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25480 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25481 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25482 do :
25483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25485 eval as_val=\$$as_ac_var
25486 if test "x$as_val" = x""yes; then :
25487 cat >>confdefs.h <<_ACEOF
25488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25489 _ACEOF
25492 done
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25502 $as_echo_n "checking for long double round functions... " >&6; }
25503 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25504 $as_echo_n "(cached) " >&6
25505 else
25508 ac_ext=cpp
25509 ac_cpp='$CXXCPP $CPPFLAGS'
25510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25515 /* end confdefs.h. */
25516 #include <math.h>
25518 main ()
25520 ceill (0); floorl (0);
25522 return 0;
25524 _ACEOF
25525 if ac_fn_cxx_try_compile "$LINENO"; then :
25526 glibcxx_cv_func_long_double_round_use=yes
25527 else
25528 glibcxx_cv_func_long_double_round_use=no
25530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25531 ac_ext=c
25532 ac_cpp='$CPP $CPPFLAGS'
25533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25540 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25541 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25542 for ac_func in ceill floorl
25543 do :
25544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25546 eval as_val=\$$as_ac_var
25547 if test "x$as_val" = x""yes; then :
25548 cat >>confdefs.h <<_ACEOF
25549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25550 _ACEOF
25553 done
25555 else
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25557 $as_echo_n "checking for _long double round functions... " >&6; }
25558 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25559 $as_echo_n "(cached) " >&6
25560 else
25563 ac_ext=cpp
25564 ac_cpp='$CXXCPP $CPPFLAGS'
25565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25570 /* end confdefs.h. */
25571 #include <math.h>
25573 main ()
25575 _ceill (0); _floorl (0);
25577 return 0;
25579 _ACEOF
25580 if ac_fn_cxx_try_compile "$LINENO"; then :
25581 glibcxx_cv_func__long_double_round_use=yes
25582 else
25583 glibcxx_cv_func__long_double_round_use=no
25585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25586 ac_ext=c
25587 ac_cpp='$CPP $CPPFLAGS'
25588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25595 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25596 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25597 for ac_func in _ceill _floorl
25598 do :
25599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25601 eval as_val=\$$as_ac_var
25602 if test "x$as_val" = x""yes; then :
25603 cat >>confdefs.h <<_ACEOF
25604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25605 _ACEOF
25608 done
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25619 $as_echo_n "checking for isnanl declaration... " >&6; }
25620 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25621 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25622 $as_echo_n "(cached) " >&6
25623 else
25626 ac_ext=cpp
25627 ac_cpp='$CXXCPP $CPPFLAGS'
25628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25633 /* end confdefs.h. */
25634 #include <math.h>
25635 #ifdef HAVE_IEEEFP_H
25636 #include <ieeefp.h>
25637 #endif
25640 main ()
25642 isnanl(0);
25644 return 0;
25646 _ACEOF
25647 if ac_fn_cxx_try_compile "$LINENO"; then :
25648 glibcxx_cv_func_isnanl_use=yes
25649 else
25650 glibcxx_cv_func_isnanl_use=no
25652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653 ac_ext=c
25654 ac_cpp='$CPP $CPPFLAGS'
25655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25664 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25666 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25667 for ac_func in isnanl
25668 do :
25669 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25670 if test "x$ac_cv_func_isnanl" = x""yes; then :
25671 cat >>confdefs.h <<_ACEOF
25672 #define HAVE_ISNANL 1
25673 _ACEOF
25676 done
25678 else
25680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25681 $as_echo_n "checking for _isnanl declaration... " >&6; }
25682 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25683 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25684 $as_echo_n "(cached) " >&6
25685 else
25688 ac_ext=cpp
25689 ac_cpp='$CXXCPP $CPPFLAGS'
25690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25695 /* end confdefs.h. */
25696 #include <math.h>
25697 #ifdef HAVE_IEEEFP_H
25698 #include <ieeefp.h>
25699 #endif
25702 main ()
25704 _isnanl(0);
25706 return 0;
25708 _ACEOF
25709 if ac_fn_cxx_try_compile "$LINENO"; then :
25710 glibcxx_cv_func__isnanl_use=yes
25711 else
25712 glibcxx_cv_func__isnanl_use=no
25714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25715 ac_ext=c
25716 ac_cpp='$CPP $CPPFLAGS'
25717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25726 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25728 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25729 for ac_func in _isnanl
25730 do :
25731 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25732 if test "x$ac_cv_func__isnanl" = x""yes; then :
25733 cat >>confdefs.h <<_ACEOF
25734 #define HAVE__ISNANL 1
25735 _ACEOF
25738 done
25747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25748 $as_echo_n "checking for isinfl declaration... " >&6; }
25749 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25750 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25751 $as_echo_n "(cached) " >&6
25752 else
25755 ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h. */
25763 #include <math.h>
25764 #ifdef HAVE_IEEEFP_H
25765 #include <ieeefp.h>
25766 #endif
25769 main ()
25771 isinfl(0);
25773 return 0;
25775 _ACEOF
25776 if ac_fn_cxx_try_compile "$LINENO"; then :
25777 glibcxx_cv_func_isinfl_use=yes
25778 else
25779 glibcxx_cv_func_isinfl_use=no
25781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25782 ac_ext=c
25783 ac_cpp='$CPP $CPPFLAGS'
25784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25793 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25795 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25796 for ac_func in isinfl
25797 do :
25798 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25799 if test "x$ac_cv_func_isinfl" = x""yes; then :
25800 cat >>confdefs.h <<_ACEOF
25801 #define HAVE_ISINFL 1
25802 _ACEOF
25805 done
25807 else
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25810 $as_echo_n "checking for _isinfl declaration... " >&6; }
25811 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25812 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25813 $as_echo_n "(cached) " >&6
25814 else
25817 ac_ext=cpp
25818 ac_cpp='$CXXCPP $CPPFLAGS'
25819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h. */
25825 #include <math.h>
25826 #ifdef HAVE_IEEEFP_H
25827 #include <ieeefp.h>
25828 #endif
25831 main ()
25833 _isinfl(0);
25835 return 0;
25837 _ACEOF
25838 if ac_fn_cxx_try_compile "$LINENO"; then :
25839 glibcxx_cv_func__isinfl_use=yes
25840 else
25841 glibcxx_cv_func__isinfl_use=no
25843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25844 ac_ext=c
25845 ac_cpp='$CPP $CPPFLAGS'
25846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25855 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25857 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25858 for ac_func in _isinfl
25859 do :
25860 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25861 if test "x$ac_cv_func__isinfl" = x""yes; then :
25862 cat >>confdefs.h <<_ACEOF
25863 #define HAVE__ISINFL 1
25864 _ACEOF
25867 done
25876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25877 $as_echo_n "checking for atan2l declaration... " >&6; }
25878 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25879 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25880 $as_echo_n "(cached) " >&6
25881 else
25884 ac_ext=cpp
25885 ac_cpp='$CXXCPP $CPPFLAGS'
25886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25891 /* end confdefs.h. */
25892 #include <math.h>
25894 main ()
25896 atan2l(0, 0);
25898 return 0;
25900 _ACEOF
25901 if ac_fn_cxx_try_compile "$LINENO"; then :
25902 glibcxx_cv_func_atan2l_use=yes
25903 else
25904 glibcxx_cv_func_atan2l_use=no
25906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25907 ac_ext=c
25908 ac_cpp='$CPP $CPPFLAGS'
25909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25918 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25920 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25921 for ac_func in atan2l
25922 do :
25923 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25924 if test "x$ac_cv_func_atan2l" = x""yes; then :
25925 cat >>confdefs.h <<_ACEOF
25926 #define HAVE_ATAN2L 1
25927 _ACEOF
25930 done
25932 else
25934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25935 $as_echo_n "checking for _atan2l declaration... " >&6; }
25936 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25937 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25938 $as_echo_n "(cached) " >&6
25939 else
25942 ac_ext=cpp
25943 ac_cpp='$CXXCPP $CPPFLAGS'
25944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25949 /* end confdefs.h. */
25950 #include <math.h>
25952 main ()
25954 _atan2l(0, 0);
25956 return 0;
25958 _ACEOF
25959 if ac_fn_cxx_try_compile "$LINENO"; then :
25960 glibcxx_cv_func__atan2l_use=yes
25961 else
25962 glibcxx_cv_func__atan2l_use=no
25964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25965 ac_ext=c
25966 ac_cpp='$CPP $CPPFLAGS'
25967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25976 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25978 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25979 for ac_func in _atan2l
25980 do :
25981 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25982 if test "x$ac_cv_func__atan2l" = x""yes; then :
25983 cat >>confdefs.h <<_ACEOF
25984 #define HAVE__ATAN2L 1
25985 _ACEOF
25988 done
25997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25998 $as_echo_n "checking for expl declaration... " >&6; }
25999 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26000 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
26001 $as_echo_n "(cached) " >&6
26002 else
26005 ac_ext=cpp
26006 ac_cpp='$CXXCPP $CPPFLAGS'
26007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26012 /* end confdefs.h. */
26013 #include <math.h>
26014 #ifdef HAVE_IEEEFP_H
26015 #include <ieeefp.h>
26016 #endif
26019 main ()
26021 expl(0);
26023 return 0;
26025 _ACEOF
26026 if ac_fn_cxx_try_compile "$LINENO"; then :
26027 glibcxx_cv_func_expl_use=yes
26028 else
26029 glibcxx_cv_func_expl_use=no
26031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26032 ac_ext=c
26033 ac_cpp='$CPP $CPPFLAGS'
26034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26043 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26045 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26046 for ac_func in expl
26047 do :
26048 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26049 if test "x$ac_cv_func_expl" = x""yes; then :
26050 cat >>confdefs.h <<_ACEOF
26051 #define HAVE_EXPL 1
26052 _ACEOF
26055 done
26057 else
26059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26060 $as_echo_n "checking for _expl declaration... " >&6; }
26061 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26062 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26063 $as_echo_n "(cached) " >&6
26064 else
26067 ac_ext=cpp
26068 ac_cpp='$CXXCPP $CPPFLAGS'
26069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26074 /* end confdefs.h. */
26075 #include <math.h>
26076 #ifdef HAVE_IEEEFP_H
26077 #include <ieeefp.h>
26078 #endif
26081 main ()
26083 _expl(0);
26085 return 0;
26087 _ACEOF
26088 if ac_fn_cxx_try_compile "$LINENO"; then :
26089 glibcxx_cv_func__expl_use=yes
26090 else
26091 glibcxx_cv_func__expl_use=no
26093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26094 ac_ext=c
26095 ac_cpp='$CPP $CPPFLAGS'
26096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26105 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26107 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26108 for ac_func in _expl
26109 do :
26110 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26111 if test "x$ac_cv_func__expl" = x""yes; then :
26112 cat >>confdefs.h <<_ACEOF
26113 #define HAVE__EXPL 1
26114 _ACEOF
26117 done
26126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26127 $as_echo_n "checking for fabsl declaration... " >&6; }
26128 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26129 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26130 $as_echo_n "(cached) " >&6
26131 else
26134 ac_ext=cpp
26135 ac_cpp='$CXXCPP $CPPFLAGS'
26136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26142 #include <math.h>
26143 #ifdef HAVE_IEEEFP_H
26144 #include <ieeefp.h>
26145 #endif
26148 main ()
26150 fabsl(0);
26152 return 0;
26154 _ACEOF
26155 if ac_fn_cxx_try_compile "$LINENO"; then :
26156 glibcxx_cv_func_fabsl_use=yes
26157 else
26158 glibcxx_cv_func_fabsl_use=no
26160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26161 ac_ext=c
26162 ac_cpp='$CPP $CPPFLAGS'
26163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26172 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26174 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26175 for ac_func in fabsl
26176 do :
26177 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26178 if test "x$ac_cv_func_fabsl" = x""yes; then :
26179 cat >>confdefs.h <<_ACEOF
26180 #define HAVE_FABSL 1
26181 _ACEOF
26184 done
26186 else
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26189 $as_echo_n "checking for _fabsl declaration... " >&6; }
26190 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26191 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26192 $as_echo_n "(cached) " >&6
26193 else
26196 ac_ext=cpp
26197 ac_cpp='$CXXCPP $CPPFLAGS'
26198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26203 /* end confdefs.h. */
26204 #include <math.h>
26205 #ifdef HAVE_IEEEFP_H
26206 #include <ieeefp.h>
26207 #endif
26210 main ()
26212 _fabsl(0);
26214 return 0;
26216 _ACEOF
26217 if ac_fn_cxx_try_compile "$LINENO"; then :
26218 glibcxx_cv_func__fabsl_use=yes
26219 else
26220 glibcxx_cv_func__fabsl_use=no
26222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26223 ac_ext=c
26224 ac_cpp='$CPP $CPPFLAGS'
26225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26234 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26236 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26237 for ac_func in _fabsl
26238 do :
26239 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26240 if test "x$ac_cv_func__fabsl" = x""yes; then :
26241 cat >>confdefs.h <<_ACEOF
26242 #define HAVE__FABSL 1
26243 _ACEOF
26246 done
26255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26256 $as_echo_n "checking for fmodl declaration... " >&6; }
26257 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26258 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26259 $as_echo_n "(cached) " >&6
26260 else
26263 ac_ext=cpp
26264 ac_cpp='$CXXCPP $CPPFLAGS'
26265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26270 /* end confdefs.h. */
26271 #include <math.h>
26273 main ()
26275 fmodl(0, 0);
26277 return 0;
26279 _ACEOF
26280 if ac_fn_cxx_try_compile "$LINENO"; then :
26281 glibcxx_cv_func_fmodl_use=yes
26282 else
26283 glibcxx_cv_func_fmodl_use=no
26285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26286 ac_ext=c
26287 ac_cpp='$CPP $CPPFLAGS'
26288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26297 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26299 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26300 for ac_func in fmodl
26301 do :
26302 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26303 if test "x$ac_cv_func_fmodl" = x""yes; then :
26304 cat >>confdefs.h <<_ACEOF
26305 #define HAVE_FMODL 1
26306 _ACEOF
26309 done
26311 else
26313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26314 $as_echo_n "checking for _fmodl declaration... " >&6; }
26315 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26316 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26317 $as_echo_n "(cached) " >&6
26318 else
26321 ac_ext=cpp
26322 ac_cpp='$CXXCPP $CPPFLAGS'
26323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26328 /* end confdefs.h. */
26329 #include <math.h>
26331 main ()
26333 _fmodl(0, 0);
26335 return 0;
26337 _ACEOF
26338 if ac_fn_cxx_try_compile "$LINENO"; then :
26339 glibcxx_cv_func__fmodl_use=yes
26340 else
26341 glibcxx_cv_func__fmodl_use=no
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26344 ac_ext=c
26345 ac_cpp='$CPP $CPPFLAGS'
26346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26355 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26357 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26358 for ac_func in _fmodl
26359 do :
26360 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26361 if test "x$ac_cv_func__fmodl" = x""yes; then :
26362 cat >>confdefs.h <<_ACEOF
26363 #define HAVE__FMODL 1
26364 _ACEOF
26367 done
26376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26377 $as_echo_n "checking for frexpl declaration... " >&6; }
26378 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26379 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26380 $as_echo_n "(cached) " >&6
26381 else
26384 ac_ext=cpp
26385 ac_cpp='$CXXCPP $CPPFLAGS'
26386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26391 /* end confdefs.h. */
26392 #include <math.h>
26394 main ()
26396 frexpl(0, 0);
26398 return 0;
26400 _ACEOF
26401 if ac_fn_cxx_try_compile "$LINENO"; then :
26402 glibcxx_cv_func_frexpl_use=yes
26403 else
26404 glibcxx_cv_func_frexpl_use=no
26406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26407 ac_ext=c
26408 ac_cpp='$CPP $CPPFLAGS'
26409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26418 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26420 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26421 for ac_func in frexpl
26422 do :
26423 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26424 if test "x$ac_cv_func_frexpl" = x""yes; then :
26425 cat >>confdefs.h <<_ACEOF
26426 #define HAVE_FREXPL 1
26427 _ACEOF
26430 done
26432 else
26434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26435 $as_echo_n "checking for _frexpl declaration... " >&6; }
26436 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26437 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26438 $as_echo_n "(cached) " >&6
26439 else
26442 ac_ext=cpp
26443 ac_cpp='$CXXCPP $CPPFLAGS'
26444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449 /* end confdefs.h. */
26450 #include <math.h>
26452 main ()
26454 _frexpl(0, 0);
26456 return 0;
26458 _ACEOF
26459 if ac_fn_cxx_try_compile "$LINENO"; then :
26460 glibcxx_cv_func__frexpl_use=yes
26461 else
26462 glibcxx_cv_func__frexpl_use=no
26464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26465 ac_ext=c
26466 ac_cpp='$CPP $CPPFLAGS'
26467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26476 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26478 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26479 for ac_func in _frexpl
26480 do :
26481 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26482 if test "x$ac_cv_func__frexpl" = x""yes; then :
26483 cat >>confdefs.h <<_ACEOF
26484 #define HAVE__FREXPL 1
26485 _ACEOF
26488 done
26497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26498 $as_echo_n "checking for hypotl declaration... " >&6; }
26499 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26500 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26501 $as_echo_n "(cached) " >&6
26502 else
26505 ac_ext=cpp
26506 ac_cpp='$CXXCPP $CPPFLAGS'
26507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26512 /* end confdefs.h. */
26513 #include <math.h>
26515 main ()
26517 hypotl(0, 0);
26519 return 0;
26521 _ACEOF
26522 if ac_fn_cxx_try_compile "$LINENO"; then :
26523 glibcxx_cv_func_hypotl_use=yes
26524 else
26525 glibcxx_cv_func_hypotl_use=no
26527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26528 ac_ext=c
26529 ac_cpp='$CPP $CPPFLAGS'
26530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26539 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26541 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26542 for ac_func in hypotl
26543 do :
26544 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26545 if test "x$ac_cv_func_hypotl" = x""yes; then :
26546 cat >>confdefs.h <<_ACEOF
26547 #define HAVE_HYPOTL 1
26548 _ACEOF
26551 done
26553 else
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26556 $as_echo_n "checking for _hypotl declaration... " >&6; }
26557 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26558 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26559 $as_echo_n "(cached) " >&6
26560 else
26563 ac_ext=cpp
26564 ac_cpp='$CXXCPP $CPPFLAGS'
26565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26570 /* end confdefs.h. */
26571 #include <math.h>
26573 main ()
26575 _hypotl(0, 0);
26577 return 0;
26579 _ACEOF
26580 if ac_fn_cxx_try_compile "$LINENO"; then :
26581 glibcxx_cv_func__hypotl_use=yes
26582 else
26583 glibcxx_cv_func__hypotl_use=no
26585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26586 ac_ext=c
26587 ac_cpp='$CPP $CPPFLAGS'
26588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26597 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26599 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26600 for ac_func in _hypotl
26601 do :
26602 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26603 if test "x$ac_cv_func__hypotl" = x""yes; then :
26604 cat >>confdefs.h <<_ACEOF
26605 #define HAVE__HYPOTL 1
26606 _ACEOF
26609 done
26618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26619 $as_echo_n "checking for ldexpl declaration... " >&6; }
26620 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26621 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26622 $as_echo_n "(cached) " >&6
26623 else
26626 ac_ext=cpp
26627 ac_cpp='$CXXCPP $CPPFLAGS'
26628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26633 /* end confdefs.h. */
26634 #include <math.h>
26636 main ()
26638 ldexpl(0, 0);
26640 return 0;
26642 _ACEOF
26643 if ac_fn_cxx_try_compile "$LINENO"; then :
26644 glibcxx_cv_func_ldexpl_use=yes
26645 else
26646 glibcxx_cv_func_ldexpl_use=no
26648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26649 ac_ext=c
26650 ac_cpp='$CPP $CPPFLAGS'
26651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26660 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26662 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26663 for ac_func in ldexpl
26664 do :
26665 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26666 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26667 cat >>confdefs.h <<_ACEOF
26668 #define HAVE_LDEXPL 1
26669 _ACEOF
26672 done
26674 else
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26677 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26678 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26679 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26680 $as_echo_n "(cached) " >&6
26681 else
26684 ac_ext=cpp
26685 ac_cpp='$CXXCPP $CPPFLAGS'
26686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26691 /* end confdefs.h. */
26692 #include <math.h>
26694 main ()
26696 _ldexpl(0, 0);
26698 return 0;
26700 _ACEOF
26701 if ac_fn_cxx_try_compile "$LINENO"; then :
26702 glibcxx_cv_func__ldexpl_use=yes
26703 else
26704 glibcxx_cv_func__ldexpl_use=no
26706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26707 ac_ext=c
26708 ac_cpp='$CPP $CPPFLAGS'
26709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26718 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26720 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26721 for ac_func in _ldexpl
26722 do :
26723 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26724 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26725 cat >>confdefs.h <<_ACEOF
26726 #define HAVE__LDEXPL 1
26727 _ACEOF
26730 done
26739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26740 $as_echo_n "checking for logl declaration... " >&6; }
26741 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26742 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26743 $as_echo_n "(cached) " >&6
26744 else
26747 ac_ext=cpp
26748 ac_cpp='$CXXCPP $CPPFLAGS'
26749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26754 /* end confdefs.h. */
26755 #include <math.h>
26756 #ifdef HAVE_IEEEFP_H
26757 #include <ieeefp.h>
26758 #endif
26761 main ()
26763 logl(0);
26765 return 0;
26767 _ACEOF
26768 if ac_fn_cxx_try_compile "$LINENO"; then :
26769 glibcxx_cv_func_logl_use=yes
26770 else
26771 glibcxx_cv_func_logl_use=no
26773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26774 ac_ext=c
26775 ac_cpp='$CPP $CPPFLAGS'
26776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26785 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26787 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26788 for ac_func in logl
26789 do :
26790 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26791 if test "x$ac_cv_func_logl" = x""yes; then :
26792 cat >>confdefs.h <<_ACEOF
26793 #define HAVE_LOGL 1
26794 _ACEOF
26797 done
26799 else
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26802 $as_echo_n "checking for _logl declaration... " >&6; }
26803 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26804 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26805 $as_echo_n "(cached) " >&6
26806 else
26809 ac_ext=cpp
26810 ac_cpp='$CXXCPP $CPPFLAGS'
26811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26816 /* end confdefs.h. */
26817 #include <math.h>
26818 #ifdef HAVE_IEEEFP_H
26819 #include <ieeefp.h>
26820 #endif
26823 main ()
26825 _logl(0);
26827 return 0;
26829 _ACEOF
26830 if ac_fn_cxx_try_compile "$LINENO"; then :
26831 glibcxx_cv_func__logl_use=yes
26832 else
26833 glibcxx_cv_func__logl_use=no
26835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26836 ac_ext=c
26837 ac_cpp='$CPP $CPPFLAGS'
26838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26847 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26849 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26850 for ac_func in _logl
26851 do :
26852 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26853 if test "x$ac_cv_func__logl" = x""yes; then :
26854 cat >>confdefs.h <<_ACEOF
26855 #define HAVE__LOGL 1
26856 _ACEOF
26859 done
26868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26869 $as_echo_n "checking for log10l declaration... " >&6; }
26870 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26871 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26872 $as_echo_n "(cached) " >&6
26873 else
26876 ac_ext=cpp
26877 ac_cpp='$CXXCPP $CPPFLAGS'
26878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26883 /* end confdefs.h. */
26884 #include <math.h>
26885 #ifdef HAVE_IEEEFP_H
26886 #include <ieeefp.h>
26887 #endif
26890 main ()
26892 log10l(0);
26894 return 0;
26896 _ACEOF
26897 if ac_fn_cxx_try_compile "$LINENO"; then :
26898 glibcxx_cv_func_log10l_use=yes
26899 else
26900 glibcxx_cv_func_log10l_use=no
26902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26903 ac_ext=c
26904 ac_cpp='$CPP $CPPFLAGS'
26905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26914 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26916 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26917 for ac_func in log10l
26918 do :
26919 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26920 if test "x$ac_cv_func_log10l" = x""yes; then :
26921 cat >>confdefs.h <<_ACEOF
26922 #define HAVE_LOG10L 1
26923 _ACEOF
26926 done
26928 else
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26931 $as_echo_n "checking for _log10l declaration... " >&6; }
26932 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26933 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26934 $as_echo_n "(cached) " >&6
26935 else
26938 ac_ext=cpp
26939 ac_cpp='$CXXCPP $CPPFLAGS'
26940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26945 /* end confdefs.h. */
26946 #include <math.h>
26947 #ifdef HAVE_IEEEFP_H
26948 #include <ieeefp.h>
26949 #endif
26952 main ()
26954 _log10l(0);
26956 return 0;
26958 _ACEOF
26959 if ac_fn_cxx_try_compile "$LINENO"; then :
26960 glibcxx_cv_func__log10l_use=yes
26961 else
26962 glibcxx_cv_func__log10l_use=no
26964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26965 ac_ext=c
26966 ac_cpp='$CPP $CPPFLAGS'
26967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26976 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26978 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26979 for ac_func in _log10l
26980 do :
26981 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26982 if test "x$ac_cv_func__log10l" = x""yes; then :
26983 cat >>confdefs.h <<_ACEOF
26984 #define HAVE__LOG10L 1
26985 _ACEOF
26988 done
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26998 $as_echo_n "checking for modfl declaration... " >&6; }
26999 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27000 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
27001 $as_echo_n "(cached) " >&6
27002 else
27005 ac_ext=cpp
27006 ac_cpp='$CXXCPP $CPPFLAGS'
27007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27012 /* end confdefs.h. */
27013 #include <math.h>
27015 main ()
27017 modfl(0, 0);
27019 return 0;
27021 _ACEOF
27022 if ac_fn_cxx_try_compile "$LINENO"; then :
27023 glibcxx_cv_func_modfl_use=yes
27024 else
27025 glibcxx_cv_func_modfl_use=no
27027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27028 ac_ext=c
27029 ac_cpp='$CPP $CPPFLAGS'
27030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27039 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27041 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27042 for ac_func in modfl
27043 do :
27044 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27045 if test "x$ac_cv_func_modfl" = x""yes; then :
27046 cat >>confdefs.h <<_ACEOF
27047 #define HAVE_MODFL 1
27048 _ACEOF
27051 done
27053 else
27055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27056 $as_echo_n "checking for _modfl declaration... " >&6; }
27057 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27058 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27059 $as_echo_n "(cached) " >&6
27060 else
27063 ac_ext=cpp
27064 ac_cpp='$CXXCPP $CPPFLAGS'
27065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27070 /* end confdefs.h. */
27071 #include <math.h>
27073 main ()
27075 _modfl(0, 0);
27077 return 0;
27079 _ACEOF
27080 if ac_fn_cxx_try_compile "$LINENO"; then :
27081 glibcxx_cv_func__modfl_use=yes
27082 else
27083 glibcxx_cv_func__modfl_use=no
27085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27086 ac_ext=c
27087 ac_cpp='$CPP $CPPFLAGS'
27088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27097 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27099 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27100 for ac_func in _modfl
27101 do :
27102 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27103 if test "x$ac_cv_func__modfl" = x""yes; then :
27104 cat >>confdefs.h <<_ACEOF
27105 #define HAVE__MODFL 1
27106 _ACEOF
27109 done
27118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27119 $as_echo_n "checking for powl declaration... " >&6; }
27120 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27121 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27122 $as_echo_n "(cached) " >&6
27123 else
27126 ac_ext=cpp
27127 ac_cpp='$CXXCPP $CPPFLAGS'
27128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27133 /* end confdefs.h. */
27134 #include <math.h>
27136 main ()
27138 powl(0, 0);
27140 return 0;
27142 _ACEOF
27143 if ac_fn_cxx_try_compile "$LINENO"; then :
27144 glibcxx_cv_func_powl_use=yes
27145 else
27146 glibcxx_cv_func_powl_use=no
27148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27149 ac_ext=c
27150 ac_cpp='$CPP $CPPFLAGS'
27151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27160 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27162 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27163 for ac_func in powl
27164 do :
27165 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27166 if test "x$ac_cv_func_powl" = x""yes; then :
27167 cat >>confdefs.h <<_ACEOF
27168 #define HAVE_POWL 1
27169 _ACEOF
27172 done
27174 else
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27177 $as_echo_n "checking for _powl declaration... " >&6; }
27178 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27179 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27180 $as_echo_n "(cached) " >&6
27181 else
27184 ac_ext=cpp
27185 ac_cpp='$CXXCPP $CPPFLAGS'
27186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27191 /* end confdefs.h. */
27192 #include <math.h>
27194 main ()
27196 _powl(0, 0);
27198 return 0;
27200 _ACEOF
27201 if ac_fn_cxx_try_compile "$LINENO"; then :
27202 glibcxx_cv_func__powl_use=yes
27203 else
27204 glibcxx_cv_func__powl_use=no
27206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27207 ac_ext=c
27208 ac_cpp='$CPP $CPPFLAGS'
27209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27218 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27220 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27221 for ac_func in _powl
27222 do :
27223 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27224 if test "x$ac_cv_func__powl" = x""yes; then :
27225 cat >>confdefs.h <<_ACEOF
27226 #define HAVE__POWL 1
27227 _ACEOF
27230 done
27239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27240 $as_echo_n "checking for sqrtl declaration... " >&6; }
27241 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27242 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27243 $as_echo_n "(cached) " >&6
27244 else
27247 ac_ext=cpp
27248 ac_cpp='$CXXCPP $CPPFLAGS'
27249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27254 /* end confdefs.h. */
27255 #include <math.h>
27256 #ifdef HAVE_IEEEFP_H
27257 #include <ieeefp.h>
27258 #endif
27261 main ()
27263 sqrtl(0);
27265 return 0;
27267 _ACEOF
27268 if ac_fn_cxx_try_compile "$LINENO"; then :
27269 glibcxx_cv_func_sqrtl_use=yes
27270 else
27271 glibcxx_cv_func_sqrtl_use=no
27273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27274 ac_ext=c
27275 ac_cpp='$CPP $CPPFLAGS'
27276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27285 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27287 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27288 for ac_func in sqrtl
27289 do :
27290 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27291 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27292 cat >>confdefs.h <<_ACEOF
27293 #define HAVE_SQRTL 1
27294 _ACEOF
27297 done
27299 else
27301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27302 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27303 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27304 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27305 $as_echo_n "(cached) " >&6
27306 else
27309 ac_ext=cpp
27310 ac_cpp='$CXXCPP $CPPFLAGS'
27311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27316 /* end confdefs.h. */
27317 #include <math.h>
27318 #ifdef HAVE_IEEEFP_H
27319 #include <ieeefp.h>
27320 #endif
27323 main ()
27325 _sqrtl(0);
27327 return 0;
27329 _ACEOF
27330 if ac_fn_cxx_try_compile "$LINENO"; then :
27331 glibcxx_cv_func__sqrtl_use=yes
27332 else
27333 glibcxx_cv_func__sqrtl_use=no
27335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27336 ac_ext=c
27337 ac_cpp='$CPP $CPPFLAGS'
27338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27347 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27349 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27350 for ac_func in _sqrtl
27351 do :
27352 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27353 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27354 cat >>confdefs.h <<_ACEOF
27355 #define HAVE__SQRTL 1
27356 _ACEOF
27359 done
27368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27369 $as_echo_n "checking for sincosl declaration... " >&6; }
27370 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27371 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27372 $as_echo_n "(cached) " >&6
27373 else
27376 ac_ext=cpp
27377 ac_cpp='$CXXCPP $CPPFLAGS'
27378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27383 /* end confdefs.h. */
27384 #include <math.h>
27386 main ()
27388 sincosl(0, 0, 0);
27390 return 0;
27392 _ACEOF
27393 if ac_fn_cxx_try_compile "$LINENO"; then :
27394 glibcxx_cv_func_sincosl_use=yes
27395 else
27396 glibcxx_cv_func_sincosl_use=no
27398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27399 ac_ext=c
27400 ac_cpp='$CPP $CPPFLAGS'
27401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27410 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27412 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27413 for ac_func in sincosl
27414 do :
27415 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27416 if test "x$ac_cv_func_sincosl" = x""yes; then :
27417 cat >>confdefs.h <<_ACEOF
27418 #define HAVE_SINCOSL 1
27419 _ACEOF
27422 done
27424 else
27426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27427 $as_echo_n "checking for _sincosl declaration... " >&6; }
27428 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27429 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27430 $as_echo_n "(cached) " >&6
27431 else
27434 ac_ext=cpp
27435 ac_cpp='$CXXCPP $CPPFLAGS'
27436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27441 /* end confdefs.h. */
27442 #include <math.h>
27444 main ()
27446 _sincosl(0, 0, 0);
27448 return 0;
27450 _ACEOF
27451 if ac_fn_cxx_try_compile "$LINENO"; then :
27452 glibcxx_cv_func__sincosl_use=yes
27453 else
27454 glibcxx_cv_func__sincosl_use=no
27456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27457 ac_ext=c
27458 ac_cpp='$CPP $CPPFLAGS'
27459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27468 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27470 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27471 for ac_func in _sincosl
27472 do :
27473 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27474 if test "x$ac_cv_func__sincosl" = x""yes; then :
27475 cat >>confdefs.h <<_ACEOF
27476 #define HAVE__SINCOSL 1
27477 _ACEOF
27480 done
27489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27490 $as_echo_n "checking for finitel declaration... " >&6; }
27491 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27492 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27493 $as_echo_n "(cached) " >&6
27494 else
27497 ac_ext=cpp
27498 ac_cpp='$CXXCPP $CPPFLAGS'
27499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27504 /* end confdefs.h. */
27505 #include <math.h>
27506 #ifdef HAVE_IEEEFP_H
27507 #include <ieeefp.h>
27508 #endif
27511 main ()
27513 finitel(0);
27515 return 0;
27517 _ACEOF
27518 if ac_fn_cxx_try_compile "$LINENO"; then :
27519 glibcxx_cv_func_finitel_use=yes
27520 else
27521 glibcxx_cv_func_finitel_use=no
27523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27524 ac_ext=c
27525 ac_cpp='$CPP $CPPFLAGS'
27526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27535 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27537 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27538 for ac_func in finitel
27539 do :
27540 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27541 if test "x$ac_cv_func_finitel" = x""yes; then :
27542 cat >>confdefs.h <<_ACEOF
27543 #define HAVE_FINITEL 1
27544 _ACEOF
27547 done
27549 else
27551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27552 $as_echo_n "checking for _finitel declaration... " >&6; }
27553 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27554 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27555 $as_echo_n "(cached) " >&6
27556 else
27559 ac_ext=cpp
27560 ac_cpp='$CXXCPP $CPPFLAGS'
27561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27566 /* end confdefs.h. */
27567 #include <math.h>
27568 #ifdef HAVE_IEEEFP_H
27569 #include <ieeefp.h>
27570 #endif
27573 main ()
27575 _finitel(0);
27577 return 0;
27579 _ACEOF
27580 if ac_fn_cxx_try_compile "$LINENO"; then :
27581 glibcxx_cv_func__finitel_use=yes
27582 else
27583 glibcxx_cv_func__finitel_use=no
27585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27586 ac_ext=c
27587 ac_cpp='$CPP $CPPFLAGS'
27588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27597 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27599 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27600 for ac_func in _finitel
27601 do :
27602 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27603 if test "x$ac_cv_func__finitel" = x""yes; then :
27604 cat >>confdefs.h <<_ACEOF
27605 #define HAVE__FINITEL 1
27606 _ACEOF
27609 done
27617 LIBS="$ac_save_LIBS"
27618 CXXFLAGS="$ac_save_CXXFLAGS"
27621 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27622 ac_save_CXXFLAGS="$CXXFLAGS"
27623 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27627 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27628 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27629 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27630 $as_echo_n "(cached) " >&6
27631 else
27634 ac_ext=cpp
27635 ac_cpp='$CXXCPP $CPPFLAGS'
27636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27641 /* end confdefs.h. */
27642 #include <stdlib.h>
27644 main ()
27646 at_quick_exit(0);
27648 return 0;
27650 _ACEOF
27651 if ac_fn_cxx_try_compile "$LINENO"; then :
27652 glibcxx_cv_func_at_quick_exit_use=yes
27653 else
27654 glibcxx_cv_func_at_quick_exit_use=no
27656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27657 ac_ext=c
27658 ac_cpp='$CPP $CPPFLAGS'
27659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27668 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27669 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27670 for ac_func in at_quick_exit
27671 do :
27672 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27673 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27674 cat >>confdefs.h <<_ACEOF
27675 #define HAVE_AT_QUICK_EXIT 1
27676 _ACEOF
27679 done
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27685 $as_echo_n "checking for quick_exit declaration... " >&6; }
27686 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27687 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27688 $as_echo_n "(cached) " >&6
27689 else
27692 ac_ext=cpp
27693 ac_cpp='$CXXCPP $CPPFLAGS'
27694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27699 /* end confdefs.h. */
27700 #include <stdlib.h>
27702 main ()
27704 quick_exit(0);
27706 return 0;
27708 _ACEOF
27709 if ac_fn_cxx_try_compile "$LINENO"; then :
27710 glibcxx_cv_func_quick_exit_use=yes
27711 else
27712 glibcxx_cv_func_quick_exit_use=no
27714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27715 ac_ext=c
27716 ac_cpp='$CPP $CPPFLAGS'
27717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27726 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27727 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27728 for ac_func in quick_exit
27729 do :
27730 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27731 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27732 cat >>confdefs.h <<_ACEOF
27733 #define HAVE_QUICK_EXIT 1
27734 _ACEOF
27737 done
27742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27743 $as_echo_n "checking for strtold declaration... " >&6; }
27744 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27745 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27746 $as_echo_n "(cached) " >&6
27747 else
27750 ac_ext=cpp
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27757 /* end confdefs.h. */
27758 #include <stdlib.h>
27760 main ()
27762 strtold(0, 0);
27764 return 0;
27766 _ACEOF
27767 if ac_fn_cxx_try_compile "$LINENO"; then :
27768 glibcxx_cv_func_strtold_use=yes
27769 else
27770 glibcxx_cv_func_strtold_use=no
27772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27773 ac_ext=c
27774 ac_cpp='$CPP $CPPFLAGS'
27775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27784 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27785 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27786 for ac_func in strtold
27787 do :
27788 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27789 if test "x$ac_cv_func_strtold" = x""yes; then :
27790 cat >>confdefs.h <<_ACEOF
27791 #define HAVE_STRTOLD 1
27792 _ACEOF
27795 done
27802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27803 $as_echo_n "checking for strtof declaration... " >&6; }
27804 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27805 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27806 $as_echo_n "(cached) " >&6
27807 else
27810 ac_ext=cpp
27811 ac_cpp='$CXXCPP $CPPFLAGS'
27812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27817 /* end confdefs.h. */
27818 #include <stdlib.h>
27820 main ()
27822 strtof(0, 0);
27824 return 0;
27826 _ACEOF
27827 if ac_fn_cxx_try_compile "$LINENO"; then :
27828 glibcxx_cv_func_strtof_use=yes
27829 else
27830 glibcxx_cv_func_strtof_use=no
27832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27833 ac_ext=c
27834 ac_cpp='$CPP $CPPFLAGS'
27835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27844 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27845 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27846 for ac_func in strtof
27847 do :
27848 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27849 if test "x$ac_cv_func_strtof" = x""yes; then :
27850 cat >>confdefs.h <<_ACEOF
27851 #define HAVE_STRTOF 1
27852 _ACEOF
27855 done
27862 CXXFLAGS="$ac_save_CXXFLAGS"
27865 # For /dev/random and /dev/urandom for TR1.
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27869 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27870 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27871 $as_echo_n "(cached) " >&6
27872 else
27874 if test -r /dev/random && test -r /dev/urandom; then
27875 ## For MSys environment the test above is detect as false-positive
27876 ## on mingw-targets. So disable it explicit for them.
27877 case ${target_os} in
27878 *mingw*) glibcxx_cv_random_tr1=no ;;
27879 *) glibcxx_cv_random_tr1=yes ;;
27880 esac
27881 else
27882 glibcxx_cv_random_tr1=no;
27887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27888 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27890 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27892 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27898 # For TLS support.
27901 # Check whether --enable-tls was given.
27902 if test "${enable_tls+set}" = set; then :
27903 enableval=$enable_tls;
27904 case "$enableval" in
27905 yes|no) ;;
27906 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27907 esac
27909 else
27910 enable_tls=yes
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27915 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27916 if test "${gcc_cv_have_tls+set}" = set; then :
27917 $as_echo_n "(cached) " >&6
27918 else
27920 if test "$cross_compiling" = yes; then :
27921 if test x$gcc_no_link = xyes; then
27922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27925 /* end confdefs.h. */
27926 __thread int a; int b; int main() { return a = b; }
27927 _ACEOF
27928 if ac_fn_c_try_link "$LINENO"; then :
27929 chktls_save_LDFLAGS="$LDFLAGS"
27930 case $host in
27931 *-*-linux*)
27932 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27934 esac
27935 chktls_save_CFLAGS="$CFLAGS"
27936 CFLAGS="-fPIC $CFLAGS"
27937 if test x$gcc_no_link = xyes; then
27938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27941 /* end confdefs.h. */
27942 int f() { return 0; }
27943 _ACEOF
27944 if ac_fn_c_try_link "$LINENO"; then :
27945 if test x$gcc_no_link = xyes; then
27946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27949 /* end confdefs.h. */
27950 __thread int a; int b; int f() { return a = b; }
27951 _ACEOF
27952 if ac_fn_c_try_link "$LINENO"; then :
27953 gcc_cv_have_tls=yes
27954 else
27955 gcc_cv_have_tls=no
27957 rm -f core conftest.err conftest.$ac_objext \
27958 conftest$ac_exeext conftest.$ac_ext
27959 else
27960 gcc_cv_have_tls=yes
27962 rm -f core conftest.err conftest.$ac_objext \
27963 conftest$ac_exeext conftest.$ac_ext
27964 CFLAGS="$chktls_save_CFLAGS"
27965 LDFLAGS="$chktls_save_LDFLAGS"
27966 else
27967 gcc_cv_have_tls=no
27969 rm -f core conftest.err conftest.$ac_objext \
27970 conftest$ac_exeext conftest.$ac_ext
27973 else
27974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27975 /* end confdefs.h. */
27976 __thread int a; int b; int main() { return a = b; }
27977 _ACEOF
27978 if ac_fn_c_try_run "$LINENO"; then :
27979 chktls_save_LDFLAGS="$LDFLAGS"
27980 LDFLAGS="-static $LDFLAGS"
27981 if test x$gcc_no_link = xyes; then
27982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27985 /* end confdefs.h. */
27986 int main() { return 0; }
27987 _ACEOF
27988 if ac_fn_c_try_link "$LINENO"; then :
27989 if test "$cross_compiling" = yes; then :
27990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27992 as_fn_error "cannot run test program while cross compiling
27993 See \`config.log' for more details." "$LINENO" 5; }
27994 else
27995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27996 /* end confdefs.h. */
27997 __thread int a; int b; int main() { return a = b; }
27998 _ACEOF
27999 if ac_fn_c_try_run "$LINENO"; then :
28000 gcc_cv_have_tls=yes
28001 else
28002 gcc_cv_have_tls=no
28004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28005 conftest.$ac_objext conftest.beam conftest.$ac_ext
28008 else
28009 gcc_cv_have_tls=yes
28011 rm -f core conftest.err conftest.$ac_objext \
28012 conftest$ac_exeext conftest.$ac_ext
28013 LDFLAGS="$chktls_save_LDFLAGS"
28014 if test $gcc_cv_have_tls = yes; then
28015 chktls_save_CFLAGS="$CFLAGS"
28016 thread_CFLAGS=failed
28017 for flag in '' '-pthread' '-lpthread'; do
28018 CFLAGS="$flag $chktls_save_CFLAGS"
28019 if test x$gcc_no_link = xyes; then
28020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28023 /* end confdefs.h. */
28024 #include <pthread.h>
28025 void *g(void *d) { return NULL; }
28027 main ()
28029 pthread_t t; pthread_create(&t,NULL,g,NULL);
28031 return 0;
28033 _ACEOF
28034 if ac_fn_c_try_link "$LINENO"; then :
28035 thread_CFLAGS="$flag"
28037 rm -f core conftest.err conftest.$ac_objext \
28038 conftest$ac_exeext conftest.$ac_ext
28039 if test "X$thread_CFLAGS" != Xfailed; then
28040 break
28042 done
28043 CFLAGS="$chktls_save_CFLAGS"
28044 if test "X$thread_CFLAGS" != Xfailed; then
28045 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28046 if test "$cross_compiling" = yes; then :
28047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28049 as_fn_error "cannot run test program while cross compiling
28050 See \`config.log' for more details." "$LINENO" 5; }
28051 else
28052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28053 /* end confdefs.h. */
28054 #include <pthread.h>
28055 __thread int a;
28056 static int *volatile a_in_other_thread;
28057 static void *
28058 thread_func (void *arg)
28060 a_in_other_thread = &a;
28061 return (void *)0;
28064 main ()
28066 pthread_t thread;
28067 void *thread_retval;
28068 int *volatile a_in_main_thread;
28069 a_in_main_thread = &a;
28070 if (pthread_create (&thread, (pthread_attr_t *)0,
28071 thread_func, (void *)0))
28072 return 0;
28073 if (pthread_join (thread, &thread_retval))
28074 return 0;
28075 return (a_in_other_thread == a_in_main_thread);
28077 return 0;
28079 _ACEOF
28080 if ac_fn_c_try_run "$LINENO"; then :
28081 gcc_cv_have_tls=yes
28082 else
28083 gcc_cv_have_tls=no
28085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28086 conftest.$ac_objext conftest.beam conftest.$ac_ext
28089 CFLAGS="$chktls_save_CFLAGS"
28092 else
28093 gcc_cv_have_tls=no
28095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28096 conftest.$ac_objext conftest.beam conftest.$ac_ext
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28101 $as_echo "$gcc_cv_have_tls" >&6; }
28102 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28104 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28108 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28109 do :
28110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28112 eval as_val=\$$as_ac_var
28113 if test "x$as_val" = x""yes; then :
28114 cat >>confdefs.h <<_ACEOF
28115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28116 _ACEOF
28119 done
28121 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28122 do :
28123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28125 eval as_val=\$$as_ac_var
28126 if test "x$as_val" = x""yes; then :
28127 cat >>confdefs.h <<_ACEOF
28128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28129 _ACEOF
28132 done
28135 # For iconv support.
28137 if test "X$prefix" = "XNONE"; then
28138 acl_final_prefix="$ac_default_prefix"
28139 else
28140 acl_final_prefix="$prefix"
28142 if test "X$exec_prefix" = "XNONE"; then
28143 acl_final_exec_prefix='${prefix}'
28144 else
28145 acl_final_exec_prefix="$exec_prefix"
28147 acl_save_prefix="$prefix"
28148 prefix="$acl_final_prefix"
28149 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28150 prefix="$acl_save_prefix"
28153 # Check whether --with-gnu-ld was given.
28154 if test "${with_gnu_ld+set}" = set; then :
28155 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28156 else
28157 with_gnu_ld=no
28160 # Prepare PATH_SEPARATOR.
28161 # The user is always right.
28162 if test "${PATH_SEPARATOR+set}" != set; then
28163 echo "#! /bin/sh" >conf$$.sh
28164 echo "exit 0" >>conf$$.sh
28165 chmod +x conf$$.sh
28166 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28167 PATH_SEPARATOR=';'
28168 else
28169 PATH_SEPARATOR=:
28171 rm -f conf$$.sh
28173 ac_prog=ld
28174 if test "$GCC" = yes; then
28175 # Check if gcc -print-prog-name=ld gives a path.
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28177 $as_echo_n "checking for ld used by GCC... " >&6; }
28178 case $host in
28179 *-*-mingw*)
28180 # gcc leaves a trailing carriage return which upsets mingw
28181 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28183 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28184 esac
28185 case $ac_prog in
28186 # Accept absolute paths.
28187 [\\/]* | [A-Za-z]:[\\/]*)
28188 re_direlt='/[^/][^/]*/\.\./'
28189 # Canonicalize the path of ld
28190 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28191 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28192 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28193 done
28194 test -z "$LD" && LD="$ac_prog"
28197 # If it fails, then pretend we aren't using GCC.
28198 ac_prog=ld
28201 # If it is relative, then search for the first ld in PATH.
28202 with_gnu_ld=unknown
28204 esac
28205 elif test "$with_gnu_ld" = yes; then
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28207 $as_echo_n "checking for GNU ld... " >&6; }
28208 else
28209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28210 $as_echo_n "checking for non-GNU ld... " >&6; }
28212 if test "${acl_cv_path_LD+set}" = set; then :
28213 $as_echo_n "(cached) " >&6
28214 else
28215 if test -z "$LD"; then
28216 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28217 for ac_dir in $PATH; do
28218 test -z "$ac_dir" && ac_dir=.
28219 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28220 acl_cv_path_LD="$ac_dir/$ac_prog"
28221 # Check to see if the program is GNU ld. I'd rather use --version,
28222 # but apparently some GNU ld's only accept -v.
28223 # Break only if it was the GNU/non-GNU ld that we prefer.
28224 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28225 test "$with_gnu_ld" != no && break
28226 else
28227 test "$with_gnu_ld" != yes && break
28230 done
28231 IFS="$ac_save_ifs"
28232 else
28233 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28237 LD="$acl_cv_path_LD"
28238 if test -n "$LD"; then
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28240 $as_echo "$LD" >&6; }
28241 else
28242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28243 $as_echo "no" >&6; }
28245 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28247 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28248 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28249 $as_echo_n "(cached) " >&6
28250 else
28251 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28252 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28253 acl_cv_prog_gnu_ld=yes
28254 else
28255 acl_cv_prog_gnu_ld=no
28258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28259 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28260 with_gnu_ld=$acl_cv_prog_gnu_ld
28264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28265 $as_echo_n "checking for shared library run path origin... " >&6; }
28266 if test "${acl_cv_rpath+set}" = set; then :
28267 $as_echo_n "(cached) " >&6
28268 else
28270 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28271 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28272 . ./conftest.sh
28273 rm -f ./conftest.sh
28274 acl_cv_rpath=done
28277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28278 $as_echo "$acl_cv_rpath" >&6; }
28279 wl="$acl_cv_wl"
28280 libext="$acl_cv_libext"
28281 shlibext="$acl_cv_shlibext"
28282 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28283 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28284 hardcode_direct="$acl_cv_hardcode_direct"
28285 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28286 # Check whether --enable-rpath was given.
28287 if test "${enable_rpath+set}" = set; then :
28288 enableval=$enable_rpath; :
28289 else
28290 enable_rpath=yes
28300 use_additional=yes
28302 acl_save_prefix="$prefix"
28303 prefix="$acl_final_prefix"
28304 acl_save_exec_prefix="$exec_prefix"
28305 exec_prefix="$acl_final_exec_prefix"
28307 eval additional_includedir=\"$includedir\"
28308 eval additional_libdir=\"$libdir\"
28310 exec_prefix="$acl_save_exec_prefix"
28311 prefix="$acl_save_prefix"
28314 # Check whether --with-libiconv-prefix was given.
28315 if test "${with_libiconv_prefix+set}" = set; then :
28316 withval=$with_libiconv_prefix;
28317 if test "X$withval" = "Xno"; then
28318 use_additional=no
28319 else
28320 if test "X$withval" = "X"; then
28322 acl_save_prefix="$prefix"
28323 prefix="$acl_final_prefix"
28324 acl_save_exec_prefix="$exec_prefix"
28325 exec_prefix="$acl_final_exec_prefix"
28327 eval additional_includedir=\"$includedir\"
28328 eval additional_libdir=\"$libdir\"
28330 exec_prefix="$acl_save_exec_prefix"
28331 prefix="$acl_save_prefix"
28333 else
28334 additional_includedir="$withval/include"
28335 additional_libdir="$withval/lib"
28341 LIBICONV=
28342 LTLIBICONV=
28343 INCICONV=
28344 rpathdirs=
28345 ltrpathdirs=
28346 names_already_handled=
28347 names_next_round='iconv '
28348 while test -n "$names_next_round"; do
28349 names_this_round="$names_next_round"
28350 names_next_round=
28351 for name in $names_this_round; do
28352 already_handled=
28353 for n in $names_already_handled; do
28354 if test "$n" = "$name"; then
28355 already_handled=yes
28356 break
28358 done
28359 if test -z "$already_handled"; then
28360 names_already_handled="$names_already_handled $name"
28361 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28362 eval value=\"\$HAVE_LIB$uppername\"
28363 if test -n "$value"; then
28364 if test "$value" = yes; then
28365 eval value=\"\$LIB$uppername\"
28366 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28367 eval value=\"\$LTLIB$uppername\"
28368 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28369 else
28372 else
28373 found_dir=
28374 found_la=
28375 found_so=
28376 found_a=
28377 if test $use_additional = yes; then
28378 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28379 found_dir="$additional_libdir"
28380 found_so="$additional_libdir/lib$name.$shlibext"
28381 if test -f "$additional_libdir/lib$name.la"; then
28382 found_la="$additional_libdir/lib$name.la"
28384 else
28385 if test -f "$additional_libdir/lib$name.$libext"; then
28386 found_dir="$additional_libdir"
28387 found_a="$additional_libdir/lib$name.$libext"
28388 if test -f "$additional_libdir/lib$name.la"; then
28389 found_la="$additional_libdir/lib$name.la"
28394 if test "X$found_dir" = "X"; then
28395 for x in $LDFLAGS $LTLIBICONV; do
28397 acl_save_prefix="$prefix"
28398 prefix="$acl_final_prefix"
28399 acl_save_exec_prefix="$exec_prefix"
28400 exec_prefix="$acl_final_exec_prefix"
28401 eval x=\"$x\"
28402 exec_prefix="$acl_save_exec_prefix"
28403 prefix="$acl_save_prefix"
28405 case "$x" in
28406 -L*)
28407 dir=`echo "X$x" | sed -e 's/^X-L//'`
28408 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28409 found_dir="$dir"
28410 found_so="$dir/lib$name.$shlibext"
28411 if test -f "$dir/lib$name.la"; then
28412 found_la="$dir/lib$name.la"
28414 else
28415 if test -f "$dir/lib$name.$libext"; then
28416 found_dir="$dir"
28417 found_a="$dir/lib$name.$libext"
28418 if test -f "$dir/lib$name.la"; then
28419 found_la="$dir/lib$name.la"
28424 esac
28425 if test "X$found_dir" != "X"; then
28426 break
28428 done
28430 if test "X$found_dir" != "X"; then
28431 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28432 if test "X$found_so" != "X"; then
28433 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28434 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28435 else
28436 haveit=
28437 for x in $ltrpathdirs; do
28438 if test "X$x" = "X$found_dir"; then
28439 haveit=yes
28440 break
28442 done
28443 if test -z "$haveit"; then
28444 ltrpathdirs="$ltrpathdirs $found_dir"
28446 if test "$hardcode_direct" = yes; then
28447 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28448 else
28449 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28450 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28451 haveit=
28452 for x in $rpathdirs; do
28453 if test "X$x" = "X$found_dir"; then
28454 haveit=yes
28455 break
28457 done
28458 if test -z "$haveit"; then
28459 rpathdirs="$rpathdirs $found_dir"
28461 else
28462 haveit=
28463 for x in $LDFLAGS $LIBICONV; do
28465 acl_save_prefix="$prefix"
28466 prefix="$acl_final_prefix"
28467 acl_save_exec_prefix="$exec_prefix"
28468 exec_prefix="$acl_final_exec_prefix"
28469 eval x=\"$x\"
28470 exec_prefix="$acl_save_exec_prefix"
28471 prefix="$acl_save_prefix"
28473 if test "X$x" = "X-L$found_dir"; then
28474 haveit=yes
28475 break
28477 done
28478 if test -z "$haveit"; then
28479 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28481 if test "$hardcode_minus_L" != no; then
28482 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28483 else
28484 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28489 else
28490 if test "X$found_a" != "X"; then
28491 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28492 else
28493 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28496 additional_includedir=
28497 case "$found_dir" in
28498 */lib | */lib/)
28499 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28500 additional_includedir="$basedir/include"
28502 esac
28503 if test "X$additional_includedir" != "X"; then
28504 if test "X$additional_includedir" != "X/usr/include"; then
28505 haveit=
28506 if test "X$additional_includedir" = "X/usr/local/include"; then
28507 if test -n "$GCC"; then
28508 case $host_os in
28509 linux*) haveit=yes;;
28510 esac
28513 if test -z "$haveit"; then
28514 for x in $CPPFLAGS $INCICONV; do
28516 acl_save_prefix="$prefix"
28517 prefix="$acl_final_prefix"
28518 acl_save_exec_prefix="$exec_prefix"
28519 exec_prefix="$acl_final_exec_prefix"
28520 eval x=\"$x\"
28521 exec_prefix="$acl_save_exec_prefix"
28522 prefix="$acl_save_prefix"
28524 if test "X$x" = "X-I$additional_includedir"; then
28525 haveit=yes
28526 break
28528 done
28529 if test -z "$haveit"; then
28530 if test -d "$additional_includedir"; then
28531 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28537 if test -n "$found_la"; then
28538 save_libdir="$libdir"
28539 case "$found_la" in
28540 */* | *\\*) . "$found_la" ;;
28541 *) . "./$found_la" ;;
28542 esac
28543 libdir="$save_libdir"
28544 for dep in $dependency_libs; do
28545 case "$dep" in
28546 -L*)
28547 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28548 if test "X$additional_libdir" != "X/usr/lib"; then
28549 haveit=
28550 if test "X$additional_libdir" = "X/usr/local/lib"; then
28551 if test -n "$GCC"; then
28552 case $host_os in
28553 linux*) haveit=yes;;
28554 esac
28557 if test -z "$haveit"; then
28558 haveit=
28559 for x in $LDFLAGS $LIBICONV; do
28561 acl_save_prefix="$prefix"
28562 prefix="$acl_final_prefix"
28563 acl_save_exec_prefix="$exec_prefix"
28564 exec_prefix="$acl_final_exec_prefix"
28565 eval x=\"$x\"
28566 exec_prefix="$acl_save_exec_prefix"
28567 prefix="$acl_save_prefix"
28569 if test "X$x" = "X-L$additional_libdir"; then
28570 haveit=yes
28571 break
28573 done
28574 if test -z "$haveit"; then
28575 if test -d "$additional_libdir"; then
28576 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28579 haveit=
28580 for x in $LDFLAGS $LTLIBICONV; do
28582 acl_save_prefix="$prefix"
28583 prefix="$acl_final_prefix"
28584 acl_save_exec_prefix="$exec_prefix"
28585 exec_prefix="$acl_final_exec_prefix"
28586 eval x=\"$x\"
28587 exec_prefix="$acl_save_exec_prefix"
28588 prefix="$acl_save_prefix"
28590 if test "X$x" = "X-L$additional_libdir"; then
28591 haveit=yes
28592 break
28594 done
28595 if test -z "$haveit"; then
28596 if test -d "$additional_libdir"; then
28597 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28603 -R*)
28604 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28605 if test "$enable_rpath" != no; then
28606 haveit=
28607 for x in $rpathdirs; do
28608 if test "X$x" = "X$dir"; then
28609 haveit=yes
28610 break
28612 done
28613 if test -z "$haveit"; then
28614 rpathdirs="$rpathdirs $dir"
28616 haveit=
28617 for x in $ltrpathdirs; do
28618 if test "X$x" = "X$dir"; then
28619 haveit=yes
28620 break
28622 done
28623 if test -z "$haveit"; then
28624 ltrpathdirs="$ltrpathdirs $dir"
28628 -l*)
28629 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28631 *.la)
28632 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28635 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28636 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28638 esac
28639 done
28641 else
28642 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28643 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28647 done
28648 done
28649 if test "X$rpathdirs" != "X"; then
28650 if test -n "$hardcode_libdir_separator"; then
28651 alldirs=
28652 for found_dir in $rpathdirs; do
28653 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28654 done
28655 acl_save_libdir="$libdir"
28656 libdir="$alldirs"
28657 eval flag=\"$hardcode_libdir_flag_spec\"
28658 libdir="$acl_save_libdir"
28659 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28660 else
28661 for found_dir in $rpathdirs; do
28662 acl_save_libdir="$libdir"
28663 libdir="$found_dir"
28664 eval flag=\"$hardcode_libdir_flag_spec\"
28665 libdir="$acl_save_libdir"
28666 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28667 done
28670 if test "X$ltrpathdirs" != "X"; then
28671 for found_dir in $ltrpathdirs; do
28672 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28673 done
28682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28683 $as_echo_n "checking for iconv... " >&6; }
28684 if test "${am_cv_func_iconv+set}" = set; then :
28685 $as_echo_n "(cached) " >&6
28686 else
28688 am_cv_func_iconv="no, consider installing GNU libiconv"
28689 am_cv_lib_iconv=no
28690 am_save_CPPFLAGS="$CPPFLAGS"
28691 CPPFLAGS="$CPPFLAGS $INCICONV"
28692 if test x$gcc_no_link = xyes; then
28693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28696 /* end confdefs.h. */
28697 #include <stdlib.h>
28698 #include <iconv.h>
28700 main ()
28702 iconv_t cd = iconv_open("","");
28703 iconv(cd,NULL,NULL,NULL,NULL);
28704 iconv_close(cd);
28706 return 0;
28708 _ACEOF
28709 if ac_fn_c_try_link "$LINENO"; then :
28710 am_cv_func_iconv=yes
28712 rm -f core conftest.err conftest.$ac_objext \
28713 conftest$ac_exeext conftest.$ac_ext
28714 CPPFLAGS="$am_save_CPPFLAGS"
28716 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28717 for _libs in .libs _libs; do
28718 am_save_CPPFLAGS="$CPPFLAGS"
28719 am_save_LIBS="$LIBS"
28720 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28721 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28722 if test x$gcc_no_link = xyes; then
28723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28726 /* end confdefs.h. */
28727 #include <stdlib.h>
28728 #include <iconv.h>
28730 main ()
28732 iconv_t cd = iconv_open("","");
28733 iconv(cd,NULL,NULL,NULL,NULL);
28734 iconv_close(cd);
28736 return 0;
28738 _ACEOF
28739 if ac_fn_c_try_link "$LINENO"; then :
28740 INCICONV="-I../libiconv/include"
28741 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28742 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28743 am_cv_lib_iconv=yes
28744 am_cv_func_iconv=yes
28746 rm -f core conftest.err conftest.$ac_objext \
28747 conftest$ac_exeext conftest.$ac_ext
28748 CPPFLAGS="$am_save_CPPFLAGS"
28749 LIBS="$am_save_LIBS"
28750 if test "$am_cv_func_iconv" = "yes"; then
28751 break
28753 done
28756 if test "$am_cv_func_iconv" != yes; then
28757 am_save_CPPFLAGS="$CPPFLAGS"
28758 am_save_LIBS="$LIBS"
28759 CPPFLAGS="$LIBS $INCICONV"
28760 LIBS="$LIBS $LIBICONV"
28761 if test x$gcc_no_link = xyes; then
28762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28765 /* end confdefs.h. */
28766 #include <stdlib.h>
28767 #include <iconv.h>
28769 main ()
28771 iconv_t cd = iconv_open("","");
28772 iconv(cd,NULL,NULL,NULL,NULL);
28773 iconv_close(cd);
28775 return 0;
28777 _ACEOF
28778 if ac_fn_c_try_link "$LINENO"; then :
28779 am_cv_lib_iconv=yes
28780 am_cv_func_iconv=yes
28782 rm -f core conftest.err conftest.$ac_objext \
28783 conftest$ac_exeext conftest.$ac_ext
28784 CPPFLAGS="$am_save_CPPFLAGS"
28785 LIBS="$am_save_LIBS"
28789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28790 $as_echo "$am_cv_func_iconv" >&6; }
28791 if test "$am_cv_func_iconv" = yes; then
28793 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28796 if test "$am_cv_lib_iconv" = yes; then
28798 for element in $INCICONV; do
28799 haveit=
28800 for x in $CPPFLAGS; do
28802 acl_save_prefix="$prefix"
28803 prefix="$acl_final_prefix"
28804 acl_save_exec_prefix="$exec_prefix"
28805 exec_prefix="$acl_final_exec_prefix"
28806 eval x=\"$x\"
28807 exec_prefix="$acl_save_exec_prefix"
28808 prefix="$acl_save_prefix"
28810 if test "X$x" = "X$element"; then
28811 haveit=yes
28812 break
28814 done
28815 if test -z "$haveit"; then
28816 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28818 done
28820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28821 $as_echo_n "checking how to link with libiconv... " >&6; }
28822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28823 $as_echo "$LIBICONV" >&6; }
28824 else
28825 LIBICONV=
28826 LTLIBICONV=
28831 if test "$am_cv_func_iconv" = yes; then
28832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28833 $as_echo_n "checking for iconv declaration... " >&6; }
28834 if test "${am_cv_proto_iconv+set}" = set; then :
28835 $as_echo_n "(cached) " >&6
28836 else
28838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28839 /* end confdefs.h. */
28841 #include <stdlib.h>
28842 #include <iconv.h>
28843 extern
28844 #ifdef __cplusplus
28846 #endif
28847 #if defined(__STDC__) || defined(__cplusplus)
28848 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28849 #else
28850 size_t iconv();
28851 #endif
28854 main ()
28858 return 0;
28860 _ACEOF
28861 if ac_fn_c_try_compile "$LINENO"; then :
28862 am_cv_proto_iconv_arg1=""
28863 else
28864 am_cv_proto_iconv_arg1="const"
28866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28867 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);"
28870 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28872 }$am_cv_proto_iconv" >&5
28873 $as_echo "${ac_t:-
28874 }$am_cv_proto_iconv" >&6; }
28876 cat >>confdefs.h <<_ACEOF
28877 #define ICONV_CONST $am_cv_proto_iconv_arg1
28878 _ACEOF
28883 else
28885 # This lets us hard-code the functionality we know we'll have in the cross
28886 # target environment. "Let" is a sugar-coated word placed on an especially
28887 # dull and tedious hack, actually.
28889 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28890 # that involve linking, can't be used:
28891 # "cannot open sim-crt0.o"
28892 # "cannot open crt0.o"
28893 # etc. All this is because there currently exists no unified, consistent
28894 # way for top level CC information to be passed down to target directories:
28895 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28896 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28897 # crosses can be removed.
28899 # If Canadian cross, then don't pick up tools from the build directory.
28900 # Used only in GLIBCXX_EXPORT_INCLUDES.
28901 if test -n "$with_cross_host" &&
28902 test x"$build_alias" != x"$with_cross_host" &&
28903 test x"$build" != x"$target";
28904 then
28905 CANADIAN=yes
28906 else
28907 CANADIAN=no
28910 # Construct crosses by hand, eliminating bits that need ld...
28911 # GLIBCXX_CHECK_MATH_SUPPORT
28913 # First, test for "known" system libraries. We may be using newlib even
28914 # on a hosted environment.
28915 if test "x${with_newlib}" = "xyes"; then
28916 os_include_dir="os/newlib"
28917 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28920 # GLIBCXX_CHECK_STDLIB_SUPPORT
28921 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28924 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28926 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28928 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28930 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28932 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28934 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28936 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28938 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28940 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28942 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28944 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28946 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28948 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28950 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28952 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28954 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28956 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28958 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28960 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28962 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28964 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28966 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28969 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28971 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28973 else
28975 # Base decisions on target environment.
28976 case "${host}" in
28977 arm*-*-symbianelf*)
28978 # This is a freestanding configuration; there is nothing to do here.
28981 avr*-*-*)
28982 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28984 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28986 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28988 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28990 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28992 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28994 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28996 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28998 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29000 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29002 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29004 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29006 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29008 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29010 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29012 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29014 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29016 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29018 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29020 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29022 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29024 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29026 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29030 mips*-sde-elf*)
29031 # These definitions are for the SDE C library rather than newlib.
29032 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29035 # All these tests are for C++; save the language and the compiler flags.
29036 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29037 # found in GLIBCXX_CONFIGURE.
29039 ac_ext=cpp
29040 ac_cpp='$CXXCPP $CPPFLAGS'
29041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29045 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29046 ac_save_CXXFLAGS="$CXXFLAGS"
29048 # Check for maintainer-mode bits.
29049 if test x"$USE_MAINTAINER_MODE" = xno; then
29050 WERROR=''
29051 else
29052 WERROR='-Werror'
29055 # Check for -ffunction-sections -fdata-sections
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29057 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29058 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29060 /* end confdefs.h. */
29061 int foo; void bar() { };
29063 main ()
29067 return 0;
29069 _ACEOF
29070 if ac_fn_cxx_try_compile "$LINENO"; then :
29071 ac_fdsections=yes
29072 else
29073 ac_fdsections=no
29075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29076 if test "$ac_test_CXXFLAGS" = set; then
29077 CXXFLAGS="$ac_save_CXXFLAGS"
29078 else
29079 # this is the suspicious part
29080 CXXFLAGS=''
29082 if test x"$ac_fdsections" = x"yes"; then
29083 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29086 $as_echo "$ac_fdsections" >&6; }
29088 ac_ext=c
29089 ac_cpp='$CPP $CPPFLAGS'
29090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29098 # If we're not using GNU ld, then there's no point in even trying these
29099 # tests. Check for that first. We should have already tested for gld
29100 # by now (in libtool), but require it now just to be safe...
29101 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29102 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29106 # The name set by libtool depends on the version of libtool. Shame on us
29107 # for depending on an impl detail, but c'est la vie. Older versions used
29108 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29109 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29110 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29111 # set (hence we're using an older libtool), then set it.
29112 if test x${with_gnu_ld+set} != xset; then
29113 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29114 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29115 with_gnu_ld=no
29116 else
29117 with_gnu_ld=$ac_cv_prog_gnu_ld
29121 # Start by getting the version number. I think the libtool test already
29122 # does some of this, but throws away the result.
29123 glibcxx_ld_is_gold=no
29124 if test x"$with_gnu_ld" = x"yes"; then
29125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29126 $as_echo_n "checking for ld version... " >&6; }
29128 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29129 glibcxx_ld_is_gold=yes
29131 ldver=`$LD --version 2>/dev/null |
29132 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'`
29134 glibcxx_gnu_ld_version=`echo $ldver | \
29135 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29137 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29140 # Set --gc-sections.
29141 glibcxx_have_gc_sections=no
29142 if test "$glibcxx_ld_is_gold" = "yes"; then
29143 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29144 glibcxx_have_gc_sections=yes
29146 else
29147 glibcxx_gcsections_min_ld=21602
29148 if test x"$with_gnu_ld" = x"yes" &&
29149 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29150 glibcxx_have_gc_sections=yes
29153 if test "$glibcxx_have_gc_sections" = "yes"; then
29154 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29155 # NB: This flag only works reliably after 2.16.1. Configure tests
29156 # for this are difficult, so hard wire a value that should work.
29158 ac_test_CFLAGS="${CFLAGS+set}"
29159 ac_save_CFLAGS="$CFLAGS"
29160 CFLAGS='-Wl,--gc-sections'
29162 # Check for -Wl,--gc-sections
29163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29164 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29165 if test x$gcc_no_link = xyes; then
29166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29169 /* end confdefs.h. */
29170 int one(void) { return 1; }
29171 int two(void) { return 2; }
29174 main ()
29176 two();
29178 return 0;
29180 _ACEOF
29181 if ac_fn_c_try_link "$LINENO"; then :
29182 ac_gcsections=yes
29183 else
29184 ac_gcsections=no
29186 rm -f core conftest.err conftest.$ac_objext \
29187 conftest$ac_exeext conftest.$ac_ext
29188 if test "$ac_gcsections" = "yes"; then
29189 rm -f conftest.c
29190 touch conftest.c
29191 if $CC -c conftest.c; then
29192 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29193 grep "Warning: gc-sections option ignored" > /dev/null; then
29194 ac_gcsections=no
29197 rm -f conftest.c conftest.o conftest
29199 if test "$ac_gcsections" = "yes"; then
29200 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29203 $as_echo "$ac_gcsections" >&6; }
29205 if test "$ac_test_CFLAGS" = set; then
29206 CFLAGS="$ac_save_CFLAGS"
29207 else
29208 # this is the suspicious part
29209 CFLAGS=''
29213 # Set -z,relro.
29214 # Note this is only for shared objects.
29215 ac_ld_relro=no
29216 if test x"$with_gnu_ld" = x"yes"; then
29217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29218 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29219 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29220 if test -n "$cxx_z_relo"; then
29221 OPT_LDFLAGS="-Wl,-z,relro"
29222 ac_ld_relro=yes
29224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29225 $as_echo "$ac_ld_relro" >&6; }
29228 # Set linker optimization flags.
29229 if test x"$with_gnu_ld" = x"yes"; then
29230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29238 ac_save_CXXFLAGS="$CXXFLAGS"
29239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29242 $as_echo_n "checking for sin in -lm... " >&6; }
29243 if test "${ac_cv_lib_m_sin+set}" = set; then :
29244 $as_echo_n "(cached) " >&6
29245 else
29246 ac_check_lib_save_LIBS=$LIBS
29247 LIBS="-lm $LIBS"
29248 if test x$gcc_no_link = xyes; then
29249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29252 /* end confdefs.h. */
29254 /* Override any GCC internal prototype to avoid an error.
29255 Use char because int might match the return type of a GCC
29256 builtin and then its argument prototype would still apply. */
29257 #ifdef __cplusplus
29258 extern "C"
29259 #endif
29260 char sin ();
29262 main ()
29264 return sin ();
29266 return 0;
29268 _ACEOF
29269 if ac_fn_c_try_link "$LINENO"; then :
29270 ac_cv_lib_m_sin=yes
29271 else
29272 ac_cv_lib_m_sin=no
29274 rm -f core conftest.err conftest.$ac_objext \
29275 conftest$ac_exeext conftest.$ac_ext
29276 LIBS=$ac_check_lib_save_LIBS
29278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29279 $as_echo "$ac_cv_lib_m_sin" >&6; }
29280 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29281 libm="-lm"
29284 ac_save_LIBS="$LIBS"
29285 LIBS="$LIBS $libm"
29289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29290 $as_echo_n "checking for isinf declaration... " >&6; }
29291 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29292 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29293 $as_echo_n "(cached) " >&6
29294 else
29297 ac_ext=cpp
29298 ac_cpp='$CXXCPP $CPPFLAGS'
29299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29304 /* end confdefs.h. */
29305 #include <math.h>
29306 #ifdef HAVE_IEEEFP_H
29307 #include <ieeefp.h>
29308 #endif
29311 main ()
29313 isinf(0);
29315 return 0;
29317 _ACEOF
29318 if ac_fn_cxx_try_compile "$LINENO"; then :
29319 glibcxx_cv_func_isinf_use=yes
29320 else
29321 glibcxx_cv_func_isinf_use=no
29323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29324 ac_ext=c
29325 ac_cpp='$CPP $CPPFLAGS'
29326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29335 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29337 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29338 for ac_func in isinf
29339 do :
29340 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29341 if test "x$ac_cv_func_isinf" = x""yes; then :
29342 cat >>confdefs.h <<_ACEOF
29343 #define HAVE_ISINF 1
29344 _ACEOF
29347 done
29349 else
29351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29352 $as_echo_n "checking for _isinf declaration... " >&6; }
29353 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29354 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29355 $as_echo_n "(cached) " >&6
29356 else
29359 ac_ext=cpp
29360 ac_cpp='$CXXCPP $CPPFLAGS'
29361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29366 /* end confdefs.h. */
29367 #include <math.h>
29368 #ifdef HAVE_IEEEFP_H
29369 #include <ieeefp.h>
29370 #endif
29373 main ()
29375 _isinf(0);
29377 return 0;
29379 _ACEOF
29380 if ac_fn_cxx_try_compile "$LINENO"; then :
29381 glibcxx_cv_func__isinf_use=yes
29382 else
29383 glibcxx_cv_func__isinf_use=no
29385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29386 ac_ext=c
29387 ac_cpp='$CPP $CPPFLAGS'
29388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29397 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29399 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29400 for ac_func in _isinf
29401 do :
29402 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29403 if test "x$ac_cv_func__isinf" = x""yes; then :
29404 cat >>confdefs.h <<_ACEOF
29405 #define HAVE__ISINF 1
29406 _ACEOF
29409 done
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29419 $as_echo_n "checking for isnan declaration... " >&6; }
29420 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29421 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29422 $as_echo_n "(cached) " >&6
29423 else
29426 ac_ext=cpp
29427 ac_cpp='$CXXCPP $CPPFLAGS'
29428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29433 /* end confdefs.h. */
29434 #include <math.h>
29435 #ifdef HAVE_IEEEFP_H
29436 #include <ieeefp.h>
29437 #endif
29440 main ()
29442 isnan(0);
29444 return 0;
29446 _ACEOF
29447 if ac_fn_cxx_try_compile "$LINENO"; then :
29448 glibcxx_cv_func_isnan_use=yes
29449 else
29450 glibcxx_cv_func_isnan_use=no
29452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453 ac_ext=c
29454 ac_cpp='$CPP $CPPFLAGS'
29455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29464 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29466 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29467 for ac_func in isnan
29468 do :
29469 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29470 if test "x$ac_cv_func_isnan" = x""yes; then :
29471 cat >>confdefs.h <<_ACEOF
29472 #define HAVE_ISNAN 1
29473 _ACEOF
29476 done
29478 else
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29481 $as_echo_n "checking for _isnan declaration... " >&6; }
29482 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29483 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29484 $as_echo_n "(cached) " >&6
29485 else
29488 ac_ext=cpp
29489 ac_cpp='$CXXCPP $CPPFLAGS'
29490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29495 /* end confdefs.h. */
29496 #include <math.h>
29497 #ifdef HAVE_IEEEFP_H
29498 #include <ieeefp.h>
29499 #endif
29502 main ()
29504 _isnan(0);
29506 return 0;
29508 _ACEOF
29509 if ac_fn_cxx_try_compile "$LINENO"; then :
29510 glibcxx_cv_func__isnan_use=yes
29511 else
29512 glibcxx_cv_func__isnan_use=no
29514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29515 ac_ext=c
29516 ac_cpp='$CPP $CPPFLAGS'
29517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29526 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29528 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29529 for ac_func in _isnan
29530 do :
29531 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29532 if test "x$ac_cv_func__isnan" = x""yes; then :
29533 cat >>confdefs.h <<_ACEOF
29534 #define HAVE__ISNAN 1
29535 _ACEOF
29538 done
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29548 $as_echo_n "checking for finite declaration... " >&6; }
29549 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29550 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29551 $as_echo_n "(cached) " >&6
29552 else
29555 ac_ext=cpp
29556 ac_cpp='$CXXCPP $CPPFLAGS'
29557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29562 /* end confdefs.h. */
29563 #include <math.h>
29564 #ifdef HAVE_IEEEFP_H
29565 #include <ieeefp.h>
29566 #endif
29569 main ()
29571 finite(0);
29573 return 0;
29575 _ACEOF
29576 if ac_fn_cxx_try_compile "$LINENO"; then :
29577 glibcxx_cv_func_finite_use=yes
29578 else
29579 glibcxx_cv_func_finite_use=no
29581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29582 ac_ext=c
29583 ac_cpp='$CPP $CPPFLAGS'
29584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29593 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29595 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29596 for ac_func in finite
29597 do :
29598 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29599 if test "x$ac_cv_func_finite" = x""yes; then :
29600 cat >>confdefs.h <<_ACEOF
29601 #define HAVE_FINITE 1
29602 _ACEOF
29605 done
29607 else
29609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29610 $as_echo_n "checking for _finite declaration... " >&6; }
29611 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29612 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29613 $as_echo_n "(cached) " >&6
29614 else
29617 ac_ext=cpp
29618 ac_cpp='$CXXCPP $CPPFLAGS'
29619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29624 /* end confdefs.h. */
29625 #include <math.h>
29626 #ifdef HAVE_IEEEFP_H
29627 #include <ieeefp.h>
29628 #endif
29631 main ()
29633 _finite(0);
29635 return 0;
29637 _ACEOF
29638 if ac_fn_cxx_try_compile "$LINENO"; then :
29639 glibcxx_cv_func__finite_use=yes
29640 else
29641 glibcxx_cv_func__finite_use=no
29643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29644 ac_ext=c
29645 ac_cpp='$CPP $CPPFLAGS'
29646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29655 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29657 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29658 for ac_func in _finite
29659 do :
29660 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29661 if test "x$ac_cv_func__finite" = x""yes; then :
29662 cat >>confdefs.h <<_ACEOF
29663 #define HAVE__FINITE 1
29664 _ACEOF
29667 done
29676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29677 $as_echo_n "checking for sincos declaration... " >&6; }
29678 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29679 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29680 $as_echo_n "(cached) " >&6
29681 else
29684 ac_ext=cpp
29685 ac_cpp='$CXXCPP $CPPFLAGS'
29686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29691 /* end confdefs.h. */
29692 #include <math.h>
29694 main ()
29696 sincos(0, 0, 0);
29698 return 0;
29700 _ACEOF
29701 if ac_fn_cxx_try_compile "$LINENO"; then :
29702 glibcxx_cv_func_sincos_use=yes
29703 else
29704 glibcxx_cv_func_sincos_use=no
29706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29707 ac_ext=c
29708 ac_cpp='$CPP $CPPFLAGS'
29709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29718 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29720 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29721 for ac_func in sincos
29722 do :
29723 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29724 if test "x$ac_cv_func_sincos" = x""yes; then :
29725 cat >>confdefs.h <<_ACEOF
29726 #define HAVE_SINCOS 1
29727 _ACEOF
29730 done
29732 else
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29735 $as_echo_n "checking for _sincos declaration... " >&6; }
29736 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29737 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29738 $as_echo_n "(cached) " >&6
29739 else
29742 ac_ext=cpp
29743 ac_cpp='$CXXCPP $CPPFLAGS'
29744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29749 /* end confdefs.h. */
29750 #include <math.h>
29752 main ()
29754 _sincos(0, 0, 0);
29756 return 0;
29758 _ACEOF
29759 if ac_fn_cxx_try_compile "$LINENO"; then :
29760 glibcxx_cv_func__sincos_use=yes
29761 else
29762 glibcxx_cv_func__sincos_use=no
29764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29765 ac_ext=c
29766 ac_cpp='$CPP $CPPFLAGS'
29767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29776 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29778 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29779 for ac_func in _sincos
29780 do :
29781 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29782 if test "x$ac_cv_func__sincos" = x""yes; then :
29783 cat >>confdefs.h <<_ACEOF
29784 #define HAVE__SINCOS 1
29785 _ACEOF
29788 done
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29798 $as_echo_n "checking for fpclass declaration... " >&6; }
29799 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29800 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29801 $as_echo_n "(cached) " >&6
29802 else
29805 ac_ext=cpp
29806 ac_cpp='$CXXCPP $CPPFLAGS'
29807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29812 /* end confdefs.h. */
29813 #include <math.h>
29814 #ifdef HAVE_IEEEFP_H
29815 #include <ieeefp.h>
29816 #endif
29819 main ()
29821 fpclass(0);
29823 return 0;
29825 _ACEOF
29826 if ac_fn_cxx_try_compile "$LINENO"; then :
29827 glibcxx_cv_func_fpclass_use=yes
29828 else
29829 glibcxx_cv_func_fpclass_use=no
29831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29832 ac_ext=c
29833 ac_cpp='$CPP $CPPFLAGS'
29834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29843 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29845 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29846 for ac_func in fpclass
29847 do :
29848 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29849 if test "x$ac_cv_func_fpclass" = x""yes; then :
29850 cat >>confdefs.h <<_ACEOF
29851 #define HAVE_FPCLASS 1
29852 _ACEOF
29855 done
29857 else
29859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29860 $as_echo_n "checking for _fpclass declaration... " >&6; }
29861 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29862 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29863 $as_echo_n "(cached) " >&6
29864 else
29867 ac_ext=cpp
29868 ac_cpp='$CXXCPP $CPPFLAGS'
29869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29874 /* end confdefs.h. */
29875 #include <math.h>
29876 #ifdef HAVE_IEEEFP_H
29877 #include <ieeefp.h>
29878 #endif
29881 main ()
29883 _fpclass(0);
29885 return 0;
29887 _ACEOF
29888 if ac_fn_cxx_try_compile "$LINENO"; then :
29889 glibcxx_cv_func__fpclass_use=yes
29890 else
29891 glibcxx_cv_func__fpclass_use=no
29893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29894 ac_ext=c
29895 ac_cpp='$CPP $CPPFLAGS'
29896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29905 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29907 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29908 for ac_func in _fpclass
29909 do :
29910 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29911 if test "x$ac_cv_func__fpclass" = x""yes; then :
29912 cat >>confdefs.h <<_ACEOF
29913 #define HAVE__FPCLASS 1
29914 _ACEOF
29917 done
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29927 $as_echo_n "checking for qfpclass declaration... " >&6; }
29928 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29929 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29930 $as_echo_n "(cached) " >&6
29931 else
29934 ac_ext=cpp
29935 ac_cpp='$CXXCPP $CPPFLAGS'
29936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29941 /* end confdefs.h. */
29942 #include <math.h>
29943 #ifdef HAVE_IEEEFP_H
29944 #include <ieeefp.h>
29945 #endif
29948 main ()
29950 qfpclass(0);
29952 return 0;
29954 _ACEOF
29955 if ac_fn_cxx_try_compile "$LINENO"; then :
29956 glibcxx_cv_func_qfpclass_use=yes
29957 else
29958 glibcxx_cv_func_qfpclass_use=no
29960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29961 ac_ext=c
29962 ac_cpp='$CPP $CPPFLAGS'
29963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29972 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29974 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29975 for ac_func in qfpclass
29976 do :
29977 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29978 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29979 cat >>confdefs.h <<_ACEOF
29980 #define HAVE_QFPCLASS 1
29981 _ACEOF
29984 done
29986 else
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29989 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29990 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29991 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29992 $as_echo_n "(cached) " >&6
29993 else
29996 ac_ext=cpp
29997 ac_cpp='$CXXCPP $CPPFLAGS'
29998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003 /* end confdefs.h. */
30004 #include <math.h>
30005 #ifdef HAVE_IEEEFP_H
30006 #include <ieeefp.h>
30007 #endif
30010 main ()
30012 _qfpclass(0);
30014 return 0;
30016 _ACEOF
30017 if ac_fn_cxx_try_compile "$LINENO"; then :
30018 glibcxx_cv_func__qfpclass_use=yes
30019 else
30020 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
30034 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30036 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30037 for ac_func in _qfpclass
30038 do :
30039 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30040 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30041 cat >>confdefs.h <<_ACEOF
30042 #define HAVE__QFPCLASS 1
30043 _ACEOF
30046 done
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30056 $as_echo_n "checking for hypot declaration... " >&6; }
30057 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30058 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30059 $as_echo_n "(cached) " >&6
30060 else
30063 ac_ext=cpp
30064 ac_cpp='$CXXCPP $CPPFLAGS'
30065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30070 /* end confdefs.h. */
30071 #include <math.h>
30073 main ()
30075 hypot(0, 0);
30077 return 0;
30079 _ACEOF
30080 if ac_fn_cxx_try_compile "$LINENO"; then :
30081 glibcxx_cv_func_hypot_use=yes
30082 else
30083 glibcxx_cv_func_hypot_use=no
30085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30086 ac_ext=c
30087 ac_cpp='$CPP $CPPFLAGS'
30088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30097 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30099 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30100 for ac_func in hypot
30101 do :
30102 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30103 if test "x$ac_cv_func_hypot" = x""yes; then :
30104 cat >>confdefs.h <<_ACEOF
30105 #define HAVE_HYPOT 1
30106 _ACEOF
30109 done
30111 else
30113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30114 $as_echo_n "checking for _hypot declaration... " >&6; }
30115 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30116 if test "${glibcxx_cv_func__hypot_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 _hypot(0, 0);
30135 return 0;
30137 _ACEOF
30138 if ac_fn_cxx_try_compile "$LINENO"; then :
30139 glibcxx_cv_func__hypot_use=yes
30140 else
30141 glibcxx_cv_func__hypot_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__hypot_use" >&5
30155 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30157 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30158 for ac_func in _hypot
30159 do :
30160 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30161 if test "x$ac_cv_func__hypot" = x""yes; then :
30162 cat >>confdefs.h <<_ACEOF
30163 #define HAVE__HYPOT 1
30164 _ACEOF
30167 done
30176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30177 $as_echo_n "checking for float trig functions... " >&6; }
30178 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30179 $as_echo_n "(cached) " >&6
30180 else
30183 ac_ext=cpp
30184 ac_cpp='$CXXCPP $CPPFLAGS'
30185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30190 /* end confdefs.h. */
30191 #include <math.h>
30193 main ()
30195 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30197 return 0;
30199 _ACEOF
30200 if ac_fn_cxx_try_compile "$LINENO"; then :
30201 glibcxx_cv_func_float_trig_use=yes
30202 else
30203 glibcxx_cv_func_float_trig_use=no
30205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30206 ac_ext=c
30207 ac_cpp='$CPP $CPPFLAGS'
30208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30215 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30216 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30217 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30218 do :
30219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30221 eval as_val=\$$as_ac_var
30222 if test "x$as_val" = x""yes; then :
30223 cat >>confdefs.h <<_ACEOF
30224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30225 _ACEOF
30228 done
30230 else
30231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30232 $as_echo_n "checking for _float trig functions... " >&6; }
30233 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30234 $as_echo_n "(cached) " >&6
30235 else
30238 ac_ext=cpp
30239 ac_cpp='$CXXCPP $CPPFLAGS'
30240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30245 /* end confdefs.h. */
30246 #include <math.h>
30248 main ()
30250 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30252 return 0;
30254 _ACEOF
30255 if ac_fn_cxx_try_compile "$LINENO"; then :
30256 glibcxx_cv_func__float_trig_use=yes
30257 else
30258 glibcxx_cv_func__float_trig_use=no
30260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30261 ac_ext=c
30262 ac_cpp='$CPP $CPPFLAGS'
30263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30270 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30271 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30272 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30273 do :
30274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30276 eval as_val=\$$as_ac_var
30277 if test "x$as_val" = x""yes; then :
30278 cat >>confdefs.h <<_ACEOF
30279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30280 _ACEOF
30283 done
30292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30293 $as_echo_n "checking for float round functions... " >&6; }
30294 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30295 $as_echo_n "(cached) " >&6
30296 else
30299 ac_ext=cpp
30300 ac_cpp='$CXXCPP $CPPFLAGS'
30301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30306 /* end confdefs.h. */
30307 #include <math.h>
30309 main ()
30311 ceilf (0); floorf (0);
30313 return 0;
30315 _ACEOF
30316 if ac_fn_cxx_try_compile "$LINENO"; then :
30317 glibcxx_cv_func_float_round_use=yes
30318 else
30319 glibcxx_cv_func_float_round_use=no
30321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30322 ac_ext=c
30323 ac_cpp='$CPP $CPPFLAGS'
30324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30331 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30332 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30333 for ac_func in ceilf floorf
30334 do :
30335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30337 eval as_val=\$$as_ac_var
30338 if test "x$as_val" = x""yes; then :
30339 cat >>confdefs.h <<_ACEOF
30340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30341 _ACEOF
30344 done
30346 else
30347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30348 $as_echo_n "checking for _float round functions... " >&6; }
30349 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30350 $as_echo_n "(cached) " >&6
30351 else
30354 ac_ext=cpp
30355 ac_cpp='$CXXCPP $CPPFLAGS'
30356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30361 /* end confdefs.h. */
30362 #include <math.h>
30364 main ()
30366 _ceilf (0); _floorf (0);
30368 return 0;
30370 _ACEOF
30371 if ac_fn_cxx_try_compile "$LINENO"; then :
30372 glibcxx_cv_func__float_round_use=yes
30373 else
30374 glibcxx_cv_func__float_round_use=no
30376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30377 ac_ext=c
30378 ac_cpp='$CPP $CPPFLAGS'
30379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30386 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30387 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30388 for ac_func in _ceilf _floorf
30389 do :
30390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30392 eval as_val=\$$as_ac_var
30393 if test "x$as_val" = x""yes; then :
30394 cat >>confdefs.h <<_ACEOF
30395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30396 _ACEOF
30399 done
30409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30410 $as_echo_n "checking for expf declaration... " >&6; }
30411 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30412 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30413 $as_echo_n "(cached) " >&6
30414 else
30417 ac_ext=cpp
30418 ac_cpp='$CXXCPP $CPPFLAGS'
30419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30424 /* end confdefs.h. */
30425 #include <math.h>
30426 #ifdef HAVE_IEEEFP_H
30427 #include <ieeefp.h>
30428 #endif
30431 main ()
30433 expf(0);
30435 return 0;
30437 _ACEOF
30438 if ac_fn_cxx_try_compile "$LINENO"; then :
30439 glibcxx_cv_func_expf_use=yes
30440 else
30441 glibcxx_cv_func_expf_use=no
30443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30444 ac_ext=c
30445 ac_cpp='$CPP $CPPFLAGS'
30446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30455 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30457 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30458 for ac_func in expf
30459 do :
30460 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30461 if test "x$ac_cv_func_expf" = x""yes; then :
30462 cat >>confdefs.h <<_ACEOF
30463 #define HAVE_EXPF 1
30464 _ACEOF
30467 done
30469 else
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30472 $as_echo_n "checking for _expf declaration... " >&6; }
30473 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30474 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30475 $as_echo_n "(cached) " >&6
30476 else
30479 ac_ext=cpp
30480 ac_cpp='$CXXCPP $CPPFLAGS'
30481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30486 /* end confdefs.h. */
30487 #include <math.h>
30488 #ifdef HAVE_IEEEFP_H
30489 #include <ieeefp.h>
30490 #endif
30493 main ()
30495 _expf(0);
30497 return 0;
30499 _ACEOF
30500 if ac_fn_cxx_try_compile "$LINENO"; then :
30501 glibcxx_cv_func__expf_use=yes
30502 else
30503 glibcxx_cv_func__expf_use=no
30505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30506 ac_ext=c
30507 ac_cpp='$CPP $CPPFLAGS'
30508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30517 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30519 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30520 for ac_func in _expf
30521 do :
30522 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30523 if test "x$ac_cv_func__expf" = x""yes; then :
30524 cat >>confdefs.h <<_ACEOF
30525 #define HAVE__EXPF 1
30526 _ACEOF
30529 done
30538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30539 $as_echo_n "checking for isnanf declaration... " >&6; }
30540 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30541 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30542 $as_echo_n "(cached) " >&6
30543 else
30546 ac_ext=cpp
30547 ac_cpp='$CXXCPP $CPPFLAGS'
30548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30553 /* end confdefs.h. */
30554 #include <math.h>
30555 #ifdef HAVE_IEEEFP_H
30556 #include <ieeefp.h>
30557 #endif
30560 main ()
30562 isnanf(0);
30564 return 0;
30566 _ACEOF
30567 if ac_fn_cxx_try_compile "$LINENO"; then :
30568 glibcxx_cv_func_isnanf_use=yes
30569 else
30570 glibcxx_cv_func_isnanf_use=no
30572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30573 ac_ext=c
30574 ac_cpp='$CPP $CPPFLAGS'
30575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30584 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30586 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30587 for ac_func in isnanf
30588 do :
30589 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30590 if test "x$ac_cv_func_isnanf" = x""yes; then :
30591 cat >>confdefs.h <<_ACEOF
30592 #define HAVE_ISNANF 1
30593 _ACEOF
30596 done
30598 else
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30601 $as_echo_n "checking for _isnanf declaration... " >&6; }
30602 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30603 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30604 $as_echo_n "(cached) " >&6
30605 else
30608 ac_ext=cpp
30609 ac_cpp='$CXXCPP $CPPFLAGS'
30610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30615 /* end confdefs.h. */
30616 #include <math.h>
30617 #ifdef HAVE_IEEEFP_H
30618 #include <ieeefp.h>
30619 #endif
30622 main ()
30624 _isnanf(0);
30626 return 0;
30628 _ACEOF
30629 if ac_fn_cxx_try_compile "$LINENO"; then :
30630 glibcxx_cv_func__isnanf_use=yes
30631 else
30632 glibcxx_cv_func__isnanf_use=no
30634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30635 ac_ext=c
30636 ac_cpp='$CPP $CPPFLAGS'
30637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30646 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30648 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30649 for ac_func in _isnanf
30650 do :
30651 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30652 if test "x$ac_cv_func__isnanf" = x""yes; then :
30653 cat >>confdefs.h <<_ACEOF
30654 #define HAVE__ISNANF 1
30655 _ACEOF
30658 done
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30668 $as_echo_n "checking for isinff declaration... " >&6; }
30669 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30670 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30671 $as_echo_n "(cached) " >&6
30672 else
30675 ac_ext=cpp
30676 ac_cpp='$CXXCPP $CPPFLAGS'
30677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30682 /* end confdefs.h. */
30683 #include <math.h>
30684 #ifdef HAVE_IEEEFP_H
30685 #include <ieeefp.h>
30686 #endif
30689 main ()
30691 isinff(0);
30693 return 0;
30695 _ACEOF
30696 if ac_fn_cxx_try_compile "$LINENO"; then :
30697 glibcxx_cv_func_isinff_use=yes
30698 else
30699 glibcxx_cv_func_isinff_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_isinff_use" >&5
30713 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30715 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30716 for ac_func in isinff
30717 do :
30718 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30719 if test "x$ac_cv_func_isinff" = x""yes; then :
30720 cat >>confdefs.h <<_ACEOF
30721 #define HAVE_ISINFF 1
30722 _ACEOF
30725 done
30727 else
30729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30730 $as_echo_n "checking for _isinff declaration... " >&6; }
30731 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30732 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30733 $as_echo_n "(cached) " >&6
30734 else
30737 ac_ext=cpp
30738 ac_cpp='$CXXCPP $CPPFLAGS'
30739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30744 /* end confdefs.h. */
30745 #include <math.h>
30746 #ifdef HAVE_IEEEFP_H
30747 #include <ieeefp.h>
30748 #endif
30751 main ()
30753 _isinff(0);
30755 return 0;
30757 _ACEOF
30758 if ac_fn_cxx_try_compile "$LINENO"; then :
30759 glibcxx_cv_func__isinff_use=yes
30760 else
30761 glibcxx_cv_func__isinff_use=no
30763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30764 ac_ext=c
30765 ac_cpp='$CPP $CPPFLAGS'
30766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30775 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30777 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30778 for ac_func in _isinff
30779 do :
30780 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30781 if test "x$ac_cv_func__isinff" = x""yes; then :
30782 cat >>confdefs.h <<_ACEOF
30783 #define HAVE__ISINFF 1
30784 _ACEOF
30787 done
30796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30797 $as_echo_n "checking for atan2f declaration... " >&6; }
30798 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30799 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30800 $as_echo_n "(cached) " >&6
30801 else
30804 ac_ext=cpp
30805 ac_cpp='$CXXCPP $CPPFLAGS'
30806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30811 /* end confdefs.h. */
30812 #include <math.h>
30814 main ()
30816 atan2f(0, 0);
30818 return 0;
30820 _ACEOF
30821 if ac_fn_cxx_try_compile "$LINENO"; then :
30822 glibcxx_cv_func_atan2f_use=yes
30823 else
30824 glibcxx_cv_func_atan2f_use=no
30826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30827 ac_ext=c
30828 ac_cpp='$CPP $CPPFLAGS'
30829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30838 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30840 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30841 for ac_func in atan2f
30842 do :
30843 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30844 if test "x$ac_cv_func_atan2f" = x""yes; then :
30845 cat >>confdefs.h <<_ACEOF
30846 #define HAVE_ATAN2F 1
30847 _ACEOF
30850 done
30852 else
30854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30855 $as_echo_n "checking for _atan2f declaration... " >&6; }
30856 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30857 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30858 $as_echo_n "(cached) " >&6
30859 else
30862 ac_ext=cpp
30863 ac_cpp='$CXXCPP $CPPFLAGS'
30864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30869 /* end confdefs.h. */
30870 #include <math.h>
30872 main ()
30874 _atan2f(0, 0);
30876 return 0;
30878 _ACEOF
30879 if ac_fn_cxx_try_compile "$LINENO"; then :
30880 glibcxx_cv_func__atan2f_use=yes
30881 else
30882 glibcxx_cv_func__atan2f_use=no
30884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30885 ac_ext=c
30886 ac_cpp='$CPP $CPPFLAGS'
30887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30896 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30898 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30899 for ac_func in _atan2f
30900 do :
30901 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30902 if test "x$ac_cv_func__atan2f" = x""yes; then :
30903 cat >>confdefs.h <<_ACEOF
30904 #define HAVE__ATAN2F 1
30905 _ACEOF
30908 done
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30918 $as_echo_n "checking for fabsf declaration... " >&6; }
30919 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30920 if test "${glibcxx_cv_func_fabsf_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 fabsf(0);
30943 return 0;
30945 _ACEOF
30946 if ac_fn_cxx_try_compile "$LINENO"; then :
30947 glibcxx_cv_func_fabsf_use=yes
30948 else
30949 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
30963 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30965 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30966 for ac_func in fabsf
30967 do :
30968 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30969 if test "x$ac_cv_func_fabsf" = x""yes; then :
30970 cat >>confdefs.h <<_ACEOF
30971 #define HAVE_FABSF 1
30972 _ACEOF
30975 done
30977 else
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30980 $as_echo_n "checking for _fabsf declaration... " >&6; }
30981 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30982 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30983 $as_echo_n "(cached) " >&6
30984 else
30987 ac_ext=cpp
30988 ac_cpp='$CXXCPP $CPPFLAGS'
30989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30994 /* end confdefs.h. */
30995 #include <math.h>
30996 #ifdef HAVE_IEEEFP_H
30997 #include <ieeefp.h>
30998 #endif
31001 main ()
31003 _fabsf(0);
31005 return 0;
31007 _ACEOF
31008 if ac_fn_cxx_try_compile "$LINENO"; then :
31009 glibcxx_cv_func__fabsf_use=yes
31010 else
31011 glibcxx_cv_func__fabsf_use=no
31013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014 ac_ext=c
31015 ac_cpp='$CPP $CPPFLAGS'
31016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31025 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31027 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31028 for ac_func in _fabsf
31029 do :
31030 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31031 if test "x$ac_cv_func__fabsf" = x""yes; then :
31032 cat >>confdefs.h <<_ACEOF
31033 #define HAVE__FABSF 1
31034 _ACEOF
31037 done
31046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31047 $as_echo_n "checking for fmodf declaration... " >&6; }
31048 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31049 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31050 $as_echo_n "(cached) " >&6
31051 else
31054 ac_ext=cpp
31055 ac_cpp='$CXXCPP $CPPFLAGS'
31056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31061 /* end confdefs.h. */
31062 #include <math.h>
31064 main ()
31066 fmodf(0, 0);
31068 return 0;
31070 _ACEOF
31071 if ac_fn_cxx_try_compile "$LINENO"; then :
31072 glibcxx_cv_func_fmodf_use=yes
31073 else
31074 glibcxx_cv_func_fmodf_use=no
31076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31077 ac_ext=c
31078 ac_cpp='$CPP $CPPFLAGS'
31079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31088 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31090 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31091 for ac_func in fmodf
31092 do :
31093 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31094 if test "x$ac_cv_func_fmodf" = x""yes; then :
31095 cat >>confdefs.h <<_ACEOF
31096 #define HAVE_FMODF 1
31097 _ACEOF
31100 done
31102 else
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31105 $as_echo_n "checking for _fmodf declaration... " >&6; }
31106 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31107 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31108 $as_echo_n "(cached) " >&6
31109 else
31112 ac_ext=cpp
31113 ac_cpp='$CXXCPP $CPPFLAGS'
31114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31119 /* end confdefs.h. */
31120 #include <math.h>
31122 main ()
31124 _fmodf(0, 0);
31126 return 0;
31128 _ACEOF
31129 if ac_fn_cxx_try_compile "$LINENO"; then :
31130 glibcxx_cv_func__fmodf_use=yes
31131 else
31132 glibcxx_cv_func__fmodf_use=no
31134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31135 ac_ext=c
31136 ac_cpp='$CPP $CPPFLAGS'
31137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31146 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31148 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31149 for ac_func in _fmodf
31150 do :
31151 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31152 if test "x$ac_cv_func__fmodf" = x""yes; then :
31153 cat >>confdefs.h <<_ACEOF
31154 #define HAVE__FMODF 1
31155 _ACEOF
31158 done
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31168 $as_echo_n "checking for frexpf declaration... " >&6; }
31169 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31170 if test "${glibcxx_cv_func_frexpf_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>
31185 main ()
31187 frexpf(0, 0);
31189 return 0;
31191 _ACEOF
31192 if ac_fn_cxx_try_compile "$LINENO"; then :
31193 glibcxx_cv_func_frexpf_use=yes
31194 else
31195 glibcxx_cv_func_frexpf_use=no
31197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31198 ac_ext=c
31199 ac_cpp='$CPP $CPPFLAGS'
31200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31209 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31211 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31212 for ac_func in frexpf
31213 do :
31214 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31215 if test "x$ac_cv_func_frexpf" = x""yes; then :
31216 cat >>confdefs.h <<_ACEOF
31217 #define HAVE_FREXPF 1
31218 _ACEOF
31221 done
31223 else
31225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31226 $as_echo_n "checking for _frexpf declaration... " >&6; }
31227 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31228 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31229 $as_echo_n "(cached) " >&6
31230 else
31233 ac_ext=cpp
31234 ac_cpp='$CXXCPP $CPPFLAGS'
31235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h. */
31241 #include <math.h>
31243 main ()
31245 _frexpf(0, 0);
31247 return 0;
31249 _ACEOF
31250 if ac_fn_cxx_try_compile "$LINENO"; then :
31251 glibcxx_cv_func__frexpf_use=yes
31252 else
31253 glibcxx_cv_func__frexpf_use=no
31255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31256 ac_ext=c
31257 ac_cpp='$CPP $CPPFLAGS'
31258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31267 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31269 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31270 for ac_func in _frexpf
31271 do :
31272 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31273 if test "x$ac_cv_func__frexpf" = x""yes; then :
31274 cat >>confdefs.h <<_ACEOF
31275 #define HAVE__FREXPF 1
31276 _ACEOF
31279 done
31288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31289 $as_echo_n "checking for hypotf declaration... " >&6; }
31290 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31291 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
31310 return 0;
31312 _ACEOF
31313 if ac_fn_cxx_try_compile "$LINENO"; then :
31314 glibcxx_cv_func_hypotf_use=yes
31315 else
31316 glibcxx_cv_func_hypotf_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
31329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31330 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31332 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31333 for ac_func in hypotf
31334 do :
31335 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31336 if test "x$ac_cv_func_hypotf" = x""yes; then :
31337 cat >>confdefs.h <<_ACEOF
31338 #define HAVE_HYPOTF 1
31339 _ACEOF
31342 done
31344 else
31346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31347 $as_echo_n "checking for _hypotf declaration... " >&6; }
31348 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31349 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31350 $as_echo_n "(cached) " >&6
31351 else
31354 ac_ext=cpp
31355 ac_cpp='$CXXCPP $CPPFLAGS'
31356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31361 /* end confdefs.h. */
31362 #include <math.h>
31364 main ()
31366 _hypotf(0, 0);
31368 return 0;
31370 _ACEOF
31371 if ac_fn_cxx_try_compile "$LINENO"; then :
31372 glibcxx_cv_func__hypotf_use=yes
31373 else
31374 glibcxx_cv_func__hypotf_use=no
31376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31377 ac_ext=c
31378 ac_cpp='$CPP $CPPFLAGS'
31379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31388 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31390 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31391 for ac_func in _hypotf
31392 do :
31393 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31394 if test "x$ac_cv_func__hypotf" = x""yes; then :
31395 cat >>confdefs.h <<_ACEOF
31396 #define HAVE__HYPOTF 1
31397 _ACEOF
31400 done
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31410 $as_echo_n "checking for ldexpf declaration... " >&6; }
31411 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31412 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31413 $as_echo_n "(cached) " >&6
31414 else
31417 ac_ext=cpp
31418 ac_cpp='$CXXCPP $CPPFLAGS'
31419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31424 /* end confdefs.h. */
31425 #include <math.h>
31427 main ()
31429 ldexpf(0, 0);
31431 return 0;
31433 _ACEOF
31434 if ac_fn_cxx_try_compile "$LINENO"; then :
31435 glibcxx_cv_func_ldexpf_use=yes
31436 else
31437 glibcxx_cv_func_ldexpf_use=no
31439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31440 ac_ext=c
31441 ac_cpp='$CPP $CPPFLAGS'
31442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31451 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31453 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31454 for ac_func in ldexpf
31455 do :
31456 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31457 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31458 cat >>confdefs.h <<_ACEOF
31459 #define HAVE_LDEXPF 1
31460 _ACEOF
31463 done
31465 else
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31468 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31469 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31470 if test "${glibcxx_cv_func__ldexpf_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>
31485 main ()
31487 _ldexpf(0, 0);
31489 return 0;
31491 _ACEOF
31492 if ac_fn_cxx_try_compile "$LINENO"; then :
31493 glibcxx_cv_func__ldexpf_use=yes
31494 else
31495 glibcxx_cv_func__ldexpf_use=no
31497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498 ac_ext=c
31499 ac_cpp='$CPP $CPPFLAGS'
31500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31509 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31511 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31512 for ac_func in _ldexpf
31513 do :
31514 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31515 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31516 cat >>confdefs.h <<_ACEOF
31517 #define HAVE__LDEXPF 1
31518 _ACEOF
31521 done
31530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31531 $as_echo_n "checking for logf declaration... " >&6; }
31532 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31533 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31534 $as_echo_n "(cached) " >&6
31535 else
31538 ac_ext=cpp
31539 ac_cpp='$CXXCPP $CPPFLAGS'
31540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31545 /* end confdefs.h. */
31546 #include <math.h>
31547 #ifdef HAVE_IEEEFP_H
31548 #include <ieeefp.h>
31549 #endif
31552 main ()
31554 logf(0);
31556 return 0;
31558 _ACEOF
31559 if ac_fn_cxx_try_compile "$LINENO"; then :
31560 glibcxx_cv_func_logf_use=yes
31561 else
31562 glibcxx_cv_func_logf_use=no
31564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565 ac_ext=c
31566 ac_cpp='$CPP $CPPFLAGS'
31567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31576 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31578 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31579 for ac_func in logf
31580 do :
31581 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31582 if test "x$ac_cv_func_logf" = x""yes; then :
31583 cat >>confdefs.h <<_ACEOF
31584 #define HAVE_LOGF 1
31585 _ACEOF
31588 done
31590 else
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31593 $as_echo_n "checking for _logf declaration... " >&6; }
31594 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31595 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31596 $as_echo_n "(cached) " >&6
31597 else
31600 ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h. */
31608 #include <math.h>
31609 #ifdef HAVE_IEEEFP_H
31610 #include <ieeefp.h>
31611 #endif
31614 main ()
31616 _logf(0);
31618 return 0;
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622 glibcxx_cv_func__logf_use=yes
31623 else
31624 glibcxx_cv_func__logf_use=no
31626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31627 ac_ext=c
31628 ac_cpp='$CPP $CPPFLAGS'
31629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31638 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31640 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31641 for ac_func in _logf
31642 do :
31643 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31644 if test "x$ac_cv_func__logf" = x""yes; then :
31645 cat >>confdefs.h <<_ACEOF
31646 #define HAVE__LOGF 1
31647 _ACEOF
31650 done
31659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31660 $as_echo_n "checking for log10f declaration... " >&6; }
31661 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31662 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31663 $as_echo_n "(cached) " >&6
31664 else
31667 ac_ext=cpp
31668 ac_cpp='$CXXCPP $CPPFLAGS'
31669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31674 /* end confdefs.h. */
31675 #include <math.h>
31676 #ifdef HAVE_IEEEFP_H
31677 #include <ieeefp.h>
31678 #endif
31681 main ()
31683 log10f(0);
31685 return 0;
31687 _ACEOF
31688 if ac_fn_cxx_try_compile "$LINENO"; then :
31689 glibcxx_cv_func_log10f_use=yes
31690 else
31691 glibcxx_cv_func_log10f_use=no
31693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31694 ac_ext=c
31695 ac_cpp='$CPP $CPPFLAGS'
31696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31705 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31707 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31708 for ac_func in log10f
31709 do :
31710 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31711 if test "x$ac_cv_func_log10f" = x""yes; then :
31712 cat >>confdefs.h <<_ACEOF
31713 #define HAVE_LOG10F 1
31714 _ACEOF
31717 done
31719 else
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31722 $as_echo_n "checking for _log10f declaration... " >&6; }
31723 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31724 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31725 $as_echo_n "(cached) " >&6
31726 else
31729 ac_ext=cpp
31730 ac_cpp='$CXXCPP $CPPFLAGS'
31731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31736 /* end confdefs.h. */
31737 #include <math.h>
31738 #ifdef HAVE_IEEEFP_H
31739 #include <ieeefp.h>
31740 #endif
31743 main ()
31745 _log10f(0);
31747 return 0;
31749 _ACEOF
31750 if ac_fn_cxx_try_compile "$LINENO"; then :
31751 glibcxx_cv_func__log10f_use=yes
31752 else
31753 glibcxx_cv_func__log10f_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__log10f_use" >&5
31767 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31769 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31770 for ac_func in _log10f
31771 do :
31772 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31773 if test "x$ac_cv_func__log10f" = x""yes; then :
31774 cat >>confdefs.h <<_ACEOF
31775 #define HAVE__LOG10F 1
31776 _ACEOF
31779 done
31788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31789 $as_echo_n "checking for modff declaration... " >&6; }
31790 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31791 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31792 $as_echo_n "(cached) " >&6
31793 else
31796 ac_ext=cpp
31797 ac_cpp='$CXXCPP $CPPFLAGS'
31798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31803 /* end confdefs.h. */
31804 #include <math.h>
31806 main ()
31808 modff(0, 0);
31810 return 0;
31812 _ACEOF
31813 if ac_fn_cxx_try_compile "$LINENO"; then :
31814 glibcxx_cv_func_modff_use=yes
31815 else
31816 glibcxx_cv_func_modff_use=no
31818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31819 ac_ext=c
31820 ac_cpp='$CPP $CPPFLAGS'
31821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31830 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31832 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31833 for ac_func in modff
31834 do :
31835 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31836 if test "x$ac_cv_func_modff" = x""yes; then :
31837 cat >>confdefs.h <<_ACEOF
31838 #define HAVE_MODFF 1
31839 _ACEOF
31842 done
31844 else
31846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31847 $as_echo_n "checking for _modff declaration... " >&6; }
31848 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31849 if test "${glibcxx_cv_func__modff_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>
31864 main ()
31866 _modff(0, 0);
31868 return 0;
31870 _ACEOF
31871 if ac_fn_cxx_try_compile "$LINENO"; then :
31872 glibcxx_cv_func__modff_use=yes
31873 else
31874 glibcxx_cv_func__modff_use=no
31876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31877 ac_ext=c
31878 ac_cpp='$CPP $CPPFLAGS'
31879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31888 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31890 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31891 for ac_func in _modff
31892 do :
31893 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31894 if test "x$ac_cv_func__modff" = x""yes; then :
31895 cat >>confdefs.h <<_ACEOF
31896 #define HAVE__MODFF 1
31897 _ACEOF
31900 done
31909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31910 $as_echo_n "checking for modf declaration... " >&6; }
31911 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31912 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31913 $as_echo_n "(cached) " >&6
31914 else
31917 ac_ext=cpp
31918 ac_cpp='$CXXCPP $CPPFLAGS'
31919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31924 /* end confdefs.h. */
31925 #include <math.h>
31927 main ()
31929 modf(0, 0);
31931 return 0;
31933 _ACEOF
31934 if ac_fn_cxx_try_compile "$LINENO"; then :
31935 glibcxx_cv_func_modf_use=yes
31936 else
31937 glibcxx_cv_func_modf_use=no
31939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31940 ac_ext=c
31941 ac_cpp='$CPP $CPPFLAGS'
31942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31951 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31953 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31954 for ac_func in modf
31955 do :
31956 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31957 if test "x$ac_cv_func_modf" = x""yes; then :
31958 cat >>confdefs.h <<_ACEOF
31959 #define HAVE_MODF 1
31960 _ACEOF
31963 done
31965 else
31967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31968 $as_echo_n "checking for _modf declaration... " >&6; }
31969 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31970 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31971 $as_echo_n "(cached) " >&6
31972 else
31975 ac_ext=cpp
31976 ac_cpp='$CXXCPP $CPPFLAGS'
31977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31982 /* end confdefs.h. */
31983 #include <math.h>
31985 main ()
31987 _modf(0, 0);
31989 return 0;
31991 _ACEOF
31992 if ac_fn_cxx_try_compile "$LINENO"; then :
31993 glibcxx_cv_func__modf_use=yes
31994 else
31995 glibcxx_cv_func__modf_use=no
31997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31998 ac_ext=c
31999 ac_cpp='$CPP $CPPFLAGS'
32000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32009 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32011 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32012 for ac_func in _modf
32013 do :
32014 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32015 if test "x$ac_cv_func__modf" = x""yes; then :
32016 cat >>confdefs.h <<_ACEOF
32017 #define HAVE__MODF 1
32018 _ACEOF
32021 done
32030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32031 $as_echo_n "checking for powf declaration... " >&6; }
32032 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32033 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32034 $as_echo_n "(cached) " >&6
32035 else
32038 ac_ext=cpp
32039 ac_cpp='$CXXCPP $CPPFLAGS'
32040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32045 /* end confdefs.h. */
32046 #include <math.h>
32048 main ()
32050 powf(0, 0);
32052 return 0;
32054 _ACEOF
32055 if ac_fn_cxx_try_compile "$LINENO"; then :
32056 glibcxx_cv_func_powf_use=yes
32057 else
32058 glibcxx_cv_func_powf_use=no
32060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32061 ac_ext=c
32062 ac_cpp='$CPP $CPPFLAGS'
32063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32072 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32074 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32075 for ac_func in powf
32076 do :
32077 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32078 if test "x$ac_cv_func_powf" = x""yes; then :
32079 cat >>confdefs.h <<_ACEOF
32080 #define HAVE_POWF 1
32081 _ACEOF
32084 done
32086 else
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32089 $as_echo_n "checking for _powf declaration... " >&6; }
32090 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32091 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32092 $as_echo_n "(cached) " >&6
32093 else
32096 ac_ext=cpp
32097 ac_cpp='$CXXCPP $CPPFLAGS'
32098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32103 /* end confdefs.h. */
32104 #include <math.h>
32106 main ()
32108 _powf(0, 0);
32110 return 0;
32112 _ACEOF
32113 if ac_fn_cxx_try_compile "$LINENO"; then :
32114 glibcxx_cv_func__powf_use=yes
32115 else
32116 glibcxx_cv_func__powf_use=no
32118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32119 ac_ext=c
32120 ac_cpp='$CPP $CPPFLAGS'
32121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32130 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32132 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32133 for ac_func in _powf
32134 do :
32135 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32136 if test "x$ac_cv_func__powf" = x""yes; then :
32137 cat >>confdefs.h <<_ACEOF
32138 #define HAVE__POWF 1
32139 _ACEOF
32142 done
32151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32152 $as_echo_n "checking for sqrtf declaration... " >&6; }
32153 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32154 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32155 $as_echo_n "(cached) " >&6
32156 else
32159 ac_ext=cpp
32160 ac_cpp='$CXXCPP $CPPFLAGS'
32161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h. */
32167 #include <math.h>
32168 #ifdef HAVE_IEEEFP_H
32169 #include <ieeefp.h>
32170 #endif
32173 main ()
32175 sqrtf(0);
32177 return 0;
32179 _ACEOF
32180 if ac_fn_cxx_try_compile "$LINENO"; then :
32181 glibcxx_cv_func_sqrtf_use=yes
32182 else
32183 glibcxx_cv_func_sqrtf_use=no
32185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32186 ac_ext=c
32187 ac_cpp='$CPP $CPPFLAGS'
32188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32197 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32199 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32200 for ac_func in sqrtf
32201 do :
32202 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32203 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32204 cat >>confdefs.h <<_ACEOF
32205 #define HAVE_SQRTF 1
32206 _ACEOF
32209 done
32211 else
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32214 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32215 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32216 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32217 $as_echo_n "(cached) " >&6
32218 else
32221 ac_ext=cpp
32222 ac_cpp='$CXXCPP $CPPFLAGS'
32223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32228 /* end confdefs.h. */
32229 #include <math.h>
32230 #ifdef HAVE_IEEEFP_H
32231 #include <ieeefp.h>
32232 #endif
32235 main ()
32237 _sqrtf(0);
32239 return 0;
32241 _ACEOF
32242 if ac_fn_cxx_try_compile "$LINENO"; then :
32243 glibcxx_cv_func__sqrtf_use=yes
32244 else
32245 glibcxx_cv_func__sqrtf_use=no
32247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248 ac_ext=c
32249 ac_cpp='$CPP $CPPFLAGS'
32250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32259 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32261 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32262 for ac_func in _sqrtf
32263 do :
32264 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32265 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32266 cat >>confdefs.h <<_ACEOF
32267 #define HAVE__SQRTF 1
32268 _ACEOF
32271 done
32280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32281 $as_echo_n "checking for sincosf declaration... " >&6; }
32282 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32283 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32284 $as_echo_n "(cached) " >&6
32285 else
32288 ac_ext=cpp
32289 ac_cpp='$CXXCPP $CPPFLAGS'
32290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32295 /* end confdefs.h. */
32296 #include <math.h>
32298 main ()
32300 sincosf(0, 0, 0);
32302 return 0;
32304 _ACEOF
32305 if ac_fn_cxx_try_compile "$LINENO"; then :
32306 glibcxx_cv_func_sincosf_use=yes
32307 else
32308 glibcxx_cv_func_sincosf_use=no
32310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32311 ac_ext=c
32312 ac_cpp='$CPP $CPPFLAGS'
32313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32322 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32324 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32325 for ac_func in sincosf
32326 do :
32327 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32328 if test "x$ac_cv_func_sincosf" = x""yes; then :
32329 cat >>confdefs.h <<_ACEOF
32330 #define HAVE_SINCOSF 1
32331 _ACEOF
32334 done
32336 else
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32339 $as_echo_n "checking for _sincosf declaration... " >&6; }
32340 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32341 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32342 $as_echo_n "(cached) " >&6
32343 else
32346 ac_ext=cpp
32347 ac_cpp='$CXXCPP $CPPFLAGS'
32348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32353 /* end confdefs.h. */
32354 #include <math.h>
32356 main ()
32358 _sincosf(0, 0, 0);
32360 return 0;
32362 _ACEOF
32363 if ac_fn_cxx_try_compile "$LINENO"; then :
32364 glibcxx_cv_func__sincosf_use=yes
32365 else
32366 glibcxx_cv_func__sincosf_use=no
32368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32369 ac_ext=c
32370 ac_cpp='$CPP $CPPFLAGS'
32371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32380 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32382 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32383 for ac_func in _sincosf
32384 do :
32385 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32386 if test "x$ac_cv_func__sincosf" = x""yes; then :
32387 cat >>confdefs.h <<_ACEOF
32388 #define HAVE__SINCOSF 1
32389 _ACEOF
32392 done
32401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32402 $as_echo_n "checking for finitef declaration... " >&6; }
32403 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32404 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32405 $as_echo_n "(cached) " >&6
32406 else
32409 ac_ext=cpp
32410 ac_cpp='$CXXCPP $CPPFLAGS'
32411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32416 /* end confdefs.h. */
32417 #include <math.h>
32418 #ifdef HAVE_IEEEFP_H
32419 #include <ieeefp.h>
32420 #endif
32423 main ()
32425 finitef(0);
32427 return 0;
32429 _ACEOF
32430 if ac_fn_cxx_try_compile "$LINENO"; then :
32431 glibcxx_cv_func_finitef_use=yes
32432 else
32433 glibcxx_cv_func_finitef_use=no
32435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32436 ac_ext=c
32437 ac_cpp='$CPP $CPPFLAGS'
32438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32447 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32449 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32450 for ac_func in finitef
32451 do :
32452 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32453 if test "x$ac_cv_func_finitef" = x""yes; then :
32454 cat >>confdefs.h <<_ACEOF
32455 #define HAVE_FINITEF 1
32456 _ACEOF
32459 done
32461 else
32463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32464 $as_echo_n "checking for _finitef declaration... " >&6; }
32465 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32466 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32467 $as_echo_n "(cached) " >&6
32468 else
32471 ac_ext=cpp
32472 ac_cpp='$CXXCPP $CPPFLAGS'
32473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32478 /* end confdefs.h. */
32479 #include <math.h>
32480 #ifdef HAVE_IEEEFP_H
32481 #include <ieeefp.h>
32482 #endif
32485 main ()
32487 _finitef(0);
32489 return 0;
32491 _ACEOF
32492 if ac_fn_cxx_try_compile "$LINENO"; then :
32493 glibcxx_cv_func__finitef_use=yes
32494 else
32495 glibcxx_cv_func__finitef_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__finitef_use" >&5
32509 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32511 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32512 for ac_func in _finitef
32513 do :
32514 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32515 if test "x$ac_cv_func__finitef" = x""yes; then :
32516 cat >>confdefs.h <<_ACEOF
32517 #define HAVE__FINITEF 1
32518 _ACEOF
32521 done
32530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32531 $as_echo_n "checking for long double trig functions... " >&6; }
32532 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32533 $as_echo_n "(cached) " >&6
32534 else
32537 ac_ext=cpp
32538 ac_cpp='$CXXCPP $CPPFLAGS'
32539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32544 /* end confdefs.h. */
32545 #include <math.h>
32547 main ()
32549 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32551 return 0;
32553 _ACEOF
32554 if ac_fn_cxx_try_compile "$LINENO"; then :
32555 glibcxx_cv_func_long_double_trig_use=yes
32556 else
32557 glibcxx_cv_func_long_double_trig_use=no
32559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32560 ac_ext=c
32561 ac_cpp='$CPP $CPPFLAGS'
32562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32569 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32570 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32571 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32572 do :
32573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32575 eval as_val=\$$as_ac_var
32576 if test "x$as_val" = x""yes; then :
32577 cat >>confdefs.h <<_ACEOF
32578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32579 _ACEOF
32582 done
32584 else
32585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32586 $as_echo_n "checking for _long double trig functions... " >&6; }
32587 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32588 $as_echo_n "(cached) " >&6
32589 else
32592 ac_ext=cpp
32593 ac_cpp='$CXXCPP $CPPFLAGS'
32594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32599 /* end confdefs.h. */
32600 #include <math.h>
32602 main ()
32604 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32606 return 0;
32608 _ACEOF
32609 if ac_fn_cxx_try_compile "$LINENO"; then :
32610 glibcxx_cv_func__long_double_trig_use=yes
32611 else
32612 glibcxx_cv_func__long_double_trig_use=no
32614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32615 ac_ext=c
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32624 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32625 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32626 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32627 do :
32628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32630 eval as_val=\$$as_ac_var
32631 if test "x$as_val" = x""yes; then :
32632 cat >>confdefs.h <<_ACEOF
32633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32634 _ACEOF
32637 done
32646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32647 $as_echo_n "checking for long double round functions... " >&6; }
32648 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32649 $as_echo_n "(cached) " >&6
32650 else
32653 ac_ext=cpp
32654 ac_cpp='$CXXCPP $CPPFLAGS'
32655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32660 /* end confdefs.h. */
32661 #include <math.h>
32663 main ()
32665 ceill (0); floorl (0);
32667 return 0;
32669 _ACEOF
32670 if ac_fn_cxx_try_compile "$LINENO"; then :
32671 glibcxx_cv_func_long_double_round_use=yes
32672 else
32673 glibcxx_cv_func_long_double_round_use=no
32675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32676 ac_ext=c
32677 ac_cpp='$CPP $CPPFLAGS'
32678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32685 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32686 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32687 for ac_func in ceill floorl
32688 do :
32689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32691 eval as_val=\$$as_ac_var
32692 if test "x$as_val" = x""yes; then :
32693 cat >>confdefs.h <<_ACEOF
32694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32695 _ACEOF
32698 done
32700 else
32701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32702 $as_echo_n "checking for _long double round functions... " >&6; }
32703 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32704 $as_echo_n "(cached) " >&6
32705 else
32708 ac_ext=cpp
32709 ac_cpp='$CXXCPP $CPPFLAGS'
32710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32715 /* end confdefs.h. */
32716 #include <math.h>
32718 main ()
32720 _ceill (0); _floorl (0);
32722 return 0;
32724 _ACEOF
32725 if ac_fn_cxx_try_compile "$LINENO"; then :
32726 glibcxx_cv_func__long_double_round_use=yes
32727 else
32728 glibcxx_cv_func__long_double_round_use=no
32730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32731 ac_ext=c
32732 ac_cpp='$CPP $CPPFLAGS'
32733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32740 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32741 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32742 for ac_func in _ceill _floorl
32743 do :
32744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32746 eval as_val=\$$as_ac_var
32747 if test "x$as_val" = x""yes; then :
32748 cat >>confdefs.h <<_ACEOF
32749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32750 _ACEOF
32753 done
32763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32764 $as_echo_n "checking for isnanl declaration... " >&6; }
32765 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32766 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32767 $as_echo_n "(cached) " >&6
32768 else
32771 ac_ext=cpp
32772 ac_cpp='$CXXCPP $CPPFLAGS'
32773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32778 /* end confdefs.h. */
32779 #include <math.h>
32780 #ifdef HAVE_IEEEFP_H
32781 #include <ieeefp.h>
32782 #endif
32785 main ()
32787 isnanl(0);
32789 return 0;
32791 _ACEOF
32792 if ac_fn_cxx_try_compile "$LINENO"; then :
32793 glibcxx_cv_func_isnanl_use=yes
32794 else
32795 glibcxx_cv_func_isnanl_use=no
32797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32798 ac_ext=c
32799 ac_cpp='$CPP $CPPFLAGS'
32800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32809 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32811 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32812 for ac_func in isnanl
32813 do :
32814 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32815 if test "x$ac_cv_func_isnanl" = x""yes; then :
32816 cat >>confdefs.h <<_ACEOF
32817 #define HAVE_ISNANL 1
32818 _ACEOF
32821 done
32823 else
32825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32826 $as_echo_n "checking for _isnanl declaration... " >&6; }
32827 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32828 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32829 $as_echo_n "(cached) " >&6
32830 else
32833 ac_ext=cpp
32834 ac_cpp='$CXXCPP $CPPFLAGS'
32835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32840 /* end confdefs.h. */
32841 #include <math.h>
32842 #ifdef HAVE_IEEEFP_H
32843 #include <ieeefp.h>
32844 #endif
32847 main ()
32849 _isnanl(0);
32851 return 0;
32853 _ACEOF
32854 if ac_fn_cxx_try_compile "$LINENO"; then :
32855 glibcxx_cv_func__isnanl_use=yes
32856 else
32857 glibcxx_cv_func__isnanl_use=no
32859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32860 ac_ext=c
32861 ac_cpp='$CPP $CPPFLAGS'
32862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32871 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32873 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32874 for ac_func in _isnanl
32875 do :
32876 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32877 if test "x$ac_cv_func__isnanl" = x""yes; then :
32878 cat >>confdefs.h <<_ACEOF
32879 #define HAVE__ISNANL 1
32880 _ACEOF
32883 done
32892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32893 $as_echo_n "checking for isinfl declaration... " >&6; }
32894 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32895 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32896 $as_echo_n "(cached) " >&6
32897 else
32900 ac_ext=cpp
32901 ac_cpp='$CXXCPP $CPPFLAGS'
32902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32907 /* end confdefs.h. */
32908 #include <math.h>
32909 #ifdef HAVE_IEEEFP_H
32910 #include <ieeefp.h>
32911 #endif
32914 main ()
32916 isinfl(0);
32918 return 0;
32920 _ACEOF
32921 if ac_fn_cxx_try_compile "$LINENO"; then :
32922 glibcxx_cv_func_isinfl_use=yes
32923 else
32924 glibcxx_cv_func_isinfl_use=no
32926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32927 ac_ext=c
32928 ac_cpp='$CPP $CPPFLAGS'
32929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32938 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32940 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32941 for ac_func in isinfl
32942 do :
32943 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32944 if test "x$ac_cv_func_isinfl" = x""yes; then :
32945 cat >>confdefs.h <<_ACEOF
32946 #define HAVE_ISINFL 1
32947 _ACEOF
32950 done
32952 else
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32955 $as_echo_n "checking for _isinfl declaration... " >&6; }
32956 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32957 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32958 $as_echo_n "(cached) " >&6
32959 else
32962 ac_ext=cpp
32963 ac_cpp='$CXXCPP $CPPFLAGS'
32964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32969 /* end confdefs.h. */
32970 #include <math.h>
32971 #ifdef HAVE_IEEEFP_H
32972 #include <ieeefp.h>
32973 #endif
32976 main ()
32978 _isinfl(0);
32980 return 0;
32982 _ACEOF
32983 if ac_fn_cxx_try_compile "$LINENO"; then :
32984 glibcxx_cv_func__isinfl_use=yes
32985 else
32986 glibcxx_cv_func__isinfl_use=no
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32989 ac_ext=c
32990 ac_cpp='$CPP $CPPFLAGS'
32991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33000 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33002 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33003 for ac_func in _isinfl
33004 do :
33005 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33006 if test "x$ac_cv_func__isinfl" = x""yes; then :
33007 cat >>confdefs.h <<_ACEOF
33008 #define HAVE__ISINFL 1
33009 _ACEOF
33012 done
33021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33022 $as_echo_n "checking for atan2l declaration... " >&6; }
33023 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33024 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33025 $as_echo_n "(cached) " >&6
33026 else
33029 ac_ext=cpp
33030 ac_cpp='$CXXCPP $CPPFLAGS'
33031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33036 /* end confdefs.h. */
33037 #include <math.h>
33039 main ()
33041 atan2l(0, 0);
33043 return 0;
33045 _ACEOF
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047 glibcxx_cv_func_atan2l_use=yes
33048 else
33049 glibcxx_cv_func_atan2l_use=no
33051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33052 ac_ext=c
33053 ac_cpp='$CPP $CPPFLAGS'
33054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33063 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33065 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33066 for ac_func in atan2l
33067 do :
33068 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33069 if test "x$ac_cv_func_atan2l" = x""yes; then :
33070 cat >>confdefs.h <<_ACEOF
33071 #define HAVE_ATAN2L 1
33072 _ACEOF
33075 done
33077 else
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33080 $as_echo_n "checking for _atan2l declaration... " >&6; }
33081 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33082 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33083 $as_echo_n "(cached) " >&6
33084 else
33087 ac_ext=cpp
33088 ac_cpp='$CXXCPP $CPPFLAGS'
33089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33094 /* end confdefs.h. */
33095 #include <math.h>
33097 main ()
33099 _atan2l(0, 0);
33101 return 0;
33103 _ACEOF
33104 if ac_fn_cxx_try_compile "$LINENO"; then :
33105 glibcxx_cv_func__atan2l_use=yes
33106 else
33107 glibcxx_cv_func__atan2l_use=no
33109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33110 ac_ext=c
33111 ac_cpp='$CPP $CPPFLAGS'
33112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33121 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33123 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33124 for ac_func in _atan2l
33125 do :
33126 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33127 if test "x$ac_cv_func__atan2l" = x""yes; then :
33128 cat >>confdefs.h <<_ACEOF
33129 #define HAVE__ATAN2L 1
33130 _ACEOF
33133 done
33142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33143 $as_echo_n "checking for expl declaration... " >&6; }
33144 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33145 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33146 $as_echo_n "(cached) " >&6
33147 else
33150 ac_ext=cpp
33151 ac_cpp='$CXXCPP $CPPFLAGS'
33152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33157 /* end confdefs.h. */
33158 #include <math.h>
33159 #ifdef HAVE_IEEEFP_H
33160 #include <ieeefp.h>
33161 #endif
33164 main ()
33166 expl(0);
33168 return 0;
33170 _ACEOF
33171 if ac_fn_cxx_try_compile "$LINENO"; then :
33172 glibcxx_cv_func_expl_use=yes
33173 else
33174 glibcxx_cv_func_expl_use=no
33176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33177 ac_ext=c
33178 ac_cpp='$CPP $CPPFLAGS'
33179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33188 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33190 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33191 for ac_func in expl
33192 do :
33193 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33194 if test "x$ac_cv_func_expl" = x""yes; then :
33195 cat >>confdefs.h <<_ACEOF
33196 #define HAVE_EXPL 1
33197 _ACEOF
33200 done
33202 else
33204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33205 $as_echo_n "checking for _expl declaration... " >&6; }
33206 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33207 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33208 $as_echo_n "(cached) " >&6
33209 else
33212 ac_ext=cpp
33213 ac_cpp='$CXXCPP $CPPFLAGS'
33214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33219 /* end confdefs.h. */
33220 #include <math.h>
33221 #ifdef HAVE_IEEEFP_H
33222 #include <ieeefp.h>
33223 #endif
33226 main ()
33228 _expl(0);
33230 return 0;
33232 _ACEOF
33233 if ac_fn_cxx_try_compile "$LINENO"; then :
33234 glibcxx_cv_func__expl_use=yes
33235 else
33236 glibcxx_cv_func__expl_use=no
33238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33239 ac_ext=c
33240 ac_cpp='$CPP $CPPFLAGS'
33241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33250 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33252 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33253 for ac_func in _expl
33254 do :
33255 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33256 if test "x$ac_cv_func__expl" = x""yes; then :
33257 cat >>confdefs.h <<_ACEOF
33258 #define HAVE__EXPL 1
33259 _ACEOF
33262 done
33271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33272 $as_echo_n "checking for fabsl declaration... " >&6; }
33273 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33274 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33275 $as_echo_n "(cached) " >&6
33276 else
33279 ac_ext=cpp
33280 ac_cpp='$CXXCPP $CPPFLAGS'
33281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33286 /* end confdefs.h. */
33287 #include <math.h>
33288 #ifdef HAVE_IEEEFP_H
33289 #include <ieeefp.h>
33290 #endif
33293 main ()
33295 fabsl(0);
33297 return 0;
33299 _ACEOF
33300 if ac_fn_cxx_try_compile "$LINENO"; then :
33301 glibcxx_cv_func_fabsl_use=yes
33302 else
33303 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
33317 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33319 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33320 for ac_func in fabsl
33321 do :
33322 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33323 if test "x$ac_cv_func_fabsl" = x""yes; then :
33324 cat >>confdefs.h <<_ACEOF
33325 #define HAVE_FABSL 1
33326 _ACEOF
33329 done
33331 else
33333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33334 $as_echo_n "checking for _fabsl declaration... " >&6; }
33335 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33336 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33337 $as_echo_n "(cached) " >&6
33338 else
33341 ac_ext=cpp
33342 ac_cpp='$CXXCPP $CPPFLAGS'
33343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33348 /* end confdefs.h. */
33349 #include <math.h>
33350 #ifdef HAVE_IEEEFP_H
33351 #include <ieeefp.h>
33352 #endif
33355 main ()
33357 _fabsl(0);
33359 return 0;
33361 _ACEOF
33362 if ac_fn_cxx_try_compile "$LINENO"; then :
33363 glibcxx_cv_func__fabsl_use=yes
33364 else
33365 glibcxx_cv_func__fabsl_use=no
33367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33368 ac_ext=c
33369 ac_cpp='$CPP $CPPFLAGS'
33370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33379 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33381 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33382 for ac_func in _fabsl
33383 do :
33384 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33385 if test "x$ac_cv_func__fabsl" = x""yes; then :
33386 cat >>confdefs.h <<_ACEOF
33387 #define HAVE__FABSL 1
33388 _ACEOF
33391 done
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33401 $as_echo_n "checking for fmodl declaration... " >&6; }
33402 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33403 if test "${glibcxx_cv_func_fmodl_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>
33418 main ()
33420 fmodl(0, 0);
33422 return 0;
33424 _ACEOF
33425 if ac_fn_cxx_try_compile "$LINENO"; then :
33426 glibcxx_cv_func_fmodl_use=yes
33427 else
33428 glibcxx_cv_func_fmodl_use=no
33430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33431 ac_ext=c
33432 ac_cpp='$CPP $CPPFLAGS'
33433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33442 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33444 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33445 for ac_func in fmodl
33446 do :
33447 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33448 if test "x$ac_cv_func_fmodl" = x""yes; then :
33449 cat >>confdefs.h <<_ACEOF
33450 #define HAVE_FMODL 1
33451 _ACEOF
33454 done
33456 else
33458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33459 $as_echo_n "checking for _fmodl declaration... " >&6; }
33460 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33461 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33462 $as_echo_n "(cached) " >&6
33463 else
33466 ac_ext=cpp
33467 ac_cpp='$CXXCPP $CPPFLAGS'
33468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33473 /* end confdefs.h. */
33474 #include <math.h>
33476 main ()
33478 _fmodl(0, 0);
33480 return 0;
33482 _ACEOF
33483 if ac_fn_cxx_try_compile "$LINENO"; then :
33484 glibcxx_cv_func__fmodl_use=yes
33485 else
33486 glibcxx_cv_func__fmodl_use=no
33488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33489 ac_ext=c
33490 ac_cpp='$CPP $CPPFLAGS'
33491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33500 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33502 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33503 for ac_func in _fmodl
33504 do :
33505 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33506 if test "x$ac_cv_func__fmodl" = x""yes; then :
33507 cat >>confdefs.h <<_ACEOF
33508 #define HAVE__FMODL 1
33509 _ACEOF
33512 done
33521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33522 $as_echo_n "checking for frexpl declaration... " >&6; }
33523 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33524 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33525 $as_echo_n "(cached) " >&6
33526 else
33529 ac_ext=cpp
33530 ac_cpp='$CXXCPP $CPPFLAGS'
33531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33536 /* end confdefs.h. */
33537 #include <math.h>
33539 main ()
33541 frexpl(0, 0);
33543 return 0;
33545 _ACEOF
33546 if ac_fn_cxx_try_compile "$LINENO"; then :
33547 glibcxx_cv_func_frexpl_use=yes
33548 else
33549 glibcxx_cv_func_frexpl_use=no
33551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33552 ac_ext=c
33553 ac_cpp='$CPP $CPPFLAGS'
33554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33563 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33565 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33566 for ac_func in frexpl
33567 do :
33568 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33569 if test "x$ac_cv_func_frexpl" = x""yes; then :
33570 cat >>confdefs.h <<_ACEOF
33571 #define HAVE_FREXPL 1
33572 _ACEOF
33575 done
33577 else
33579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33580 $as_echo_n "checking for _frexpl declaration... " >&6; }
33581 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33582 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33583 $as_echo_n "(cached) " >&6
33584 else
33587 ac_ext=cpp
33588 ac_cpp='$CXXCPP $CPPFLAGS'
33589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33594 /* end confdefs.h. */
33595 #include <math.h>
33597 main ()
33599 _frexpl(0, 0);
33601 return 0;
33603 _ACEOF
33604 if ac_fn_cxx_try_compile "$LINENO"; then :
33605 glibcxx_cv_func__frexpl_use=yes
33606 else
33607 glibcxx_cv_func__frexpl_use=no
33609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33610 ac_ext=c
33611 ac_cpp='$CPP $CPPFLAGS'
33612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33621 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33623 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33624 for ac_func in _frexpl
33625 do :
33626 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33627 if test "x$ac_cv_func__frexpl" = x""yes; then :
33628 cat >>confdefs.h <<_ACEOF
33629 #define HAVE__FREXPL 1
33630 _ACEOF
33633 done
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33643 $as_echo_n "checking for hypotl declaration... " >&6; }
33644 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33645 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33646 $as_echo_n "(cached) " >&6
33647 else
33650 ac_ext=cpp
33651 ac_cpp='$CXXCPP $CPPFLAGS'
33652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33657 /* end confdefs.h. */
33658 #include <math.h>
33660 main ()
33662 hypotl(0, 0);
33664 return 0;
33666 _ACEOF
33667 if ac_fn_cxx_try_compile "$LINENO"; then :
33668 glibcxx_cv_func_hypotl_use=yes
33669 else
33670 glibcxx_cv_func_hypotl_use=no
33672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33673 ac_ext=c
33674 ac_cpp='$CPP $CPPFLAGS'
33675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33684 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33686 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33687 for ac_func in hypotl
33688 do :
33689 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33690 if test "x$ac_cv_func_hypotl" = x""yes; then :
33691 cat >>confdefs.h <<_ACEOF
33692 #define HAVE_HYPOTL 1
33693 _ACEOF
33696 done
33698 else
33700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33701 $as_echo_n "checking for _hypotl declaration... " >&6; }
33702 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33703 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33704 $as_echo_n "(cached) " >&6
33705 else
33708 ac_ext=cpp
33709 ac_cpp='$CXXCPP $CPPFLAGS'
33710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33715 /* end confdefs.h. */
33716 #include <math.h>
33718 main ()
33720 _hypotl(0, 0);
33722 return 0;
33724 _ACEOF
33725 if ac_fn_cxx_try_compile "$LINENO"; then :
33726 glibcxx_cv_func__hypotl_use=yes
33727 else
33728 glibcxx_cv_func__hypotl_use=no
33730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33731 ac_ext=c
33732 ac_cpp='$CPP $CPPFLAGS'
33733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33742 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33744 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33745 for ac_func in _hypotl
33746 do :
33747 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33748 if test "x$ac_cv_func__hypotl" = x""yes; then :
33749 cat >>confdefs.h <<_ACEOF
33750 #define HAVE__HYPOTL 1
33751 _ACEOF
33754 done
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33764 $as_echo_n "checking for ldexpl declaration... " >&6; }
33765 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33766 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33767 $as_echo_n "(cached) " >&6
33768 else
33771 ac_ext=cpp
33772 ac_cpp='$CXXCPP $CPPFLAGS'
33773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33778 /* end confdefs.h. */
33779 #include <math.h>
33781 main ()
33783 ldexpl(0, 0);
33785 return 0;
33787 _ACEOF
33788 if ac_fn_cxx_try_compile "$LINENO"; then :
33789 glibcxx_cv_func_ldexpl_use=yes
33790 else
33791 glibcxx_cv_func_ldexpl_use=no
33793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33794 ac_ext=c
33795 ac_cpp='$CPP $CPPFLAGS'
33796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33805 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33807 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33808 for ac_func in ldexpl
33809 do :
33810 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33811 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33812 cat >>confdefs.h <<_ACEOF
33813 #define HAVE_LDEXPL 1
33814 _ACEOF
33817 done
33819 else
33821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33822 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33823 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33824 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33825 $as_echo_n "(cached) " >&6
33826 else
33829 ac_ext=cpp
33830 ac_cpp='$CXXCPP $CPPFLAGS'
33831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33836 /* end confdefs.h. */
33837 #include <math.h>
33839 main ()
33841 _ldexpl(0, 0);
33843 return 0;
33845 _ACEOF
33846 if ac_fn_cxx_try_compile "$LINENO"; then :
33847 glibcxx_cv_func__ldexpl_use=yes
33848 else
33849 glibcxx_cv_func__ldexpl_use=no
33851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33852 ac_ext=c
33853 ac_cpp='$CPP $CPPFLAGS'
33854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33863 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33865 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33866 for ac_func in _ldexpl
33867 do :
33868 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33869 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33870 cat >>confdefs.h <<_ACEOF
33871 #define HAVE__LDEXPL 1
33872 _ACEOF
33875 done
33884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33885 $as_echo_n "checking for logl declaration... " >&6; }
33886 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33887 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33888 $as_echo_n "(cached) " >&6
33889 else
33892 ac_ext=cpp
33893 ac_cpp='$CXXCPP $CPPFLAGS'
33894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33899 /* end confdefs.h. */
33900 #include <math.h>
33901 #ifdef HAVE_IEEEFP_H
33902 #include <ieeefp.h>
33903 #endif
33906 main ()
33908 logl(0);
33910 return 0;
33912 _ACEOF
33913 if ac_fn_cxx_try_compile "$LINENO"; then :
33914 glibcxx_cv_func_logl_use=yes
33915 else
33916 glibcxx_cv_func_logl_use=no
33918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33919 ac_ext=c
33920 ac_cpp='$CPP $CPPFLAGS'
33921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33930 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33932 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33933 for ac_func in logl
33934 do :
33935 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33936 if test "x$ac_cv_func_logl" = x""yes; then :
33937 cat >>confdefs.h <<_ACEOF
33938 #define HAVE_LOGL 1
33939 _ACEOF
33942 done
33944 else
33946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33947 $as_echo_n "checking for _logl declaration... " >&6; }
33948 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33949 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33950 $as_echo_n "(cached) " >&6
33951 else
33954 ac_ext=cpp
33955 ac_cpp='$CXXCPP $CPPFLAGS'
33956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33961 /* end confdefs.h. */
33962 #include <math.h>
33963 #ifdef HAVE_IEEEFP_H
33964 #include <ieeefp.h>
33965 #endif
33968 main ()
33970 _logl(0);
33972 return 0;
33974 _ACEOF
33975 if ac_fn_cxx_try_compile "$LINENO"; then :
33976 glibcxx_cv_func__logl_use=yes
33977 else
33978 glibcxx_cv_func__logl_use=no
33980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33981 ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33992 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33994 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33995 for ac_func in _logl
33996 do :
33997 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33998 if test "x$ac_cv_func__logl" = x""yes; then :
33999 cat >>confdefs.h <<_ACEOF
34000 #define HAVE__LOGL 1
34001 _ACEOF
34004 done
34013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34014 $as_echo_n "checking for log10l declaration... " >&6; }
34015 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34016 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34017 $as_echo_n "(cached) " >&6
34018 else
34021 ac_ext=cpp
34022 ac_cpp='$CXXCPP $CPPFLAGS'
34023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34028 /* end confdefs.h. */
34029 #include <math.h>
34030 #ifdef HAVE_IEEEFP_H
34031 #include <ieeefp.h>
34032 #endif
34035 main ()
34037 log10l(0);
34039 return 0;
34041 _ACEOF
34042 if ac_fn_cxx_try_compile "$LINENO"; then :
34043 glibcxx_cv_func_log10l_use=yes
34044 else
34045 glibcxx_cv_func_log10l_use=no
34047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34048 ac_ext=c
34049 ac_cpp='$CPP $CPPFLAGS'
34050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34059 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34061 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34062 for ac_func in log10l
34063 do :
34064 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34065 if test "x$ac_cv_func_log10l" = x""yes; then :
34066 cat >>confdefs.h <<_ACEOF
34067 #define HAVE_LOG10L 1
34068 _ACEOF
34071 done
34073 else
34075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34076 $as_echo_n "checking for _log10l declaration... " >&6; }
34077 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34078 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34079 $as_echo_n "(cached) " >&6
34080 else
34083 ac_ext=cpp
34084 ac_cpp='$CXXCPP $CPPFLAGS'
34085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34090 /* end confdefs.h. */
34091 #include <math.h>
34092 #ifdef HAVE_IEEEFP_H
34093 #include <ieeefp.h>
34094 #endif
34097 main ()
34099 _log10l(0);
34101 return 0;
34103 _ACEOF
34104 if ac_fn_cxx_try_compile "$LINENO"; then :
34105 glibcxx_cv_func__log10l_use=yes
34106 else
34107 glibcxx_cv_func__log10l_use=no
34109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34110 ac_ext=c
34111 ac_cpp='$CPP $CPPFLAGS'
34112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34121 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34123 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34124 for ac_func in _log10l
34125 do :
34126 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34127 if test "x$ac_cv_func__log10l" = x""yes; then :
34128 cat >>confdefs.h <<_ACEOF
34129 #define HAVE__LOG10L 1
34130 _ACEOF
34133 done
34142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34143 $as_echo_n "checking for modfl declaration... " >&6; }
34144 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34145 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34146 $as_echo_n "(cached) " >&6
34147 else
34150 ac_ext=cpp
34151 ac_cpp='$CXXCPP $CPPFLAGS'
34152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34157 /* end confdefs.h. */
34158 #include <math.h>
34160 main ()
34162 modfl(0, 0);
34164 return 0;
34166 _ACEOF
34167 if ac_fn_cxx_try_compile "$LINENO"; then :
34168 glibcxx_cv_func_modfl_use=yes
34169 else
34170 glibcxx_cv_func_modfl_use=no
34172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34173 ac_ext=c
34174 ac_cpp='$CPP $CPPFLAGS'
34175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34184 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34186 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34187 for ac_func in modfl
34188 do :
34189 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34190 if test "x$ac_cv_func_modfl" = x""yes; then :
34191 cat >>confdefs.h <<_ACEOF
34192 #define HAVE_MODFL 1
34193 _ACEOF
34196 done
34198 else
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34201 $as_echo_n "checking for _modfl declaration... " >&6; }
34202 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34203 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34204 $as_echo_n "(cached) " >&6
34205 else
34208 ac_ext=cpp
34209 ac_cpp='$CXXCPP $CPPFLAGS'
34210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34215 /* end confdefs.h. */
34216 #include <math.h>
34218 main ()
34220 _modfl(0, 0);
34222 return 0;
34224 _ACEOF
34225 if ac_fn_cxx_try_compile "$LINENO"; then :
34226 glibcxx_cv_func__modfl_use=yes
34227 else
34228 glibcxx_cv_func__modfl_use=no
34230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34231 ac_ext=c
34232 ac_cpp='$CPP $CPPFLAGS'
34233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34242 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34244 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34245 for ac_func in _modfl
34246 do :
34247 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34248 if test "x$ac_cv_func__modfl" = x""yes; then :
34249 cat >>confdefs.h <<_ACEOF
34250 #define HAVE__MODFL 1
34251 _ACEOF
34254 done
34263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34264 $as_echo_n "checking for powl declaration... " >&6; }
34265 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34266 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34267 $as_echo_n "(cached) " >&6
34268 else
34271 ac_ext=cpp
34272 ac_cpp='$CXXCPP $CPPFLAGS'
34273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h. */
34279 #include <math.h>
34281 main ()
34283 powl(0, 0);
34285 return 0;
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289 glibcxx_cv_func_powl_use=yes
34290 else
34291 glibcxx_cv_func_powl_use=no
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294 ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34305 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34307 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34308 for ac_func in powl
34309 do :
34310 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34311 if test "x$ac_cv_func_powl" = x""yes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define HAVE_POWL 1
34314 _ACEOF
34317 done
34319 else
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34322 $as_echo_n "checking for _powl declaration... " >&6; }
34323 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34324 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34325 $as_echo_n "(cached) " >&6
34326 else
34329 ac_ext=cpp
34330 ac_cpp='$CXXCPP $CPPFLAGS'
34331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34336 /* end confdefs.h. */
34337 #include <math.h>
34339 main ()
34341 _powl(0, 0);
34343 return 0;
34345 _ACEOF
34346 if ac_fn_cxx_try_compile "$LINENO"; then :
34347 glibcxx_cv_func__powl_use=yes
34348 else
34349 glibcxx_cv_func__powl_use=no
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352 ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34363 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34365 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34366 for ac_func in _powl
34367 do :
34368 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34369 if test "x$ac_cv_func__powl" = x""yes; then :
34370 cat >>confdefs.h <<_ACEOF
34371 #define HAVE__POWL 1
34372 _ACEOF
34375 done
34384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34385 $as_echo_n "checking for sqrtl declaration... " >&6; }
34386 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34387 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34388 $as_echo_n "(cached) " >&6
34389 else
34392 ac_ext=cpp
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h. */
34400 #include <math.h>
34401 #ifdef HAVE_IEEEFP_H
34402 #include <ieeefp.h>
34403 #endif
34406 main ()
34408 sqrtl(0);
34410 return 0;
34412 _ACEOF
34413 if ac_fn_cxx_try_compile "$LINENO"; then :
34414 glibcxx_cv_func_sqrtl_use=yes
34415 else
34416 glibcxx_cv_func_sqrtl_use=no
34418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34419 ac_ext=c
34420 ac_cpp='$CPP $CPPFLAGS'
34421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34430 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34432 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34433 for ac_func in sqrtl
34434 do :
34435 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34436 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34437 cat >>confdefs.h <<_ACEOF
34438 #define HAVE_SQRTL 1
34439 _ACEOF
34442 done
34444 else
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34447 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34448 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34449 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34450 $as_echo_n "(cached) " >&6
34451 else
34454 ac_ext=cpp
34455 ac_cpp='$CXXCPP $CPPFLAGS'
34456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34461 /* end confdefs.h. */
34462 #include <math.h>
34463 #ifdef HAVE_IEEEFP_H
34464 #include <ieeefp.h>
34465 #endif
34468 main ()
34470 _sqrtl(0);
34472 return 0;
34474 _ACEOF
34475 if ac_fn_cxx_try_compile "$LINENO"; then :
34476 glibcxx_cv_func__sqrtl_use=yes
34477 else
34478 glibcxx_cv_func__sqrtl_use=no
34480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34481 ac_ext=c
34482 ac_cpp='$CPP $CPPFLAGS'
34483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34492 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34494 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34495 for ac_func in _sqrtl
34496 do :
34497 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34498 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34499 cat >>confdefs.h <<_ACEOF
34500 #define HAVE__SQRTL 1
34501 _ACEOF
34504 done
34513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34514 $as_echo_n "checking for sincosl declaration... " >&6; }
34515 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34516 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34517 $as_echo_n "(cached) " >&6
34518 else
34521 ac_ext=cpp
34522 ac_cpp='$CXXCPP $CPPFLAGS'
34523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34528 /* end confdefs.h. */
34529 #include <math.h>
34531 main ()
34533 sincosl(0, 0, 0);
34535 return 0;
34537 _ACEOF
34538 if ac_fn_cxx_try_compile "$LINENO"; then :
34539 glibcxx_cv_func_sincosl_use=yes
34540 else
34541 glibcxx_cv_func_sincosl_use=no
34543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34544 ac_ext=c
34545 ac_cpp='$CPP $CPPFLAGS'
34546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34555 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34557 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34558 for ac_func in sincosl
34559 do :
34560 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34561 if test "x$ac_cv_func_sincosl" = x""yes; then :
34562 cat >>confdefs.h <<_ACEOF
34563 #define HAVE_SINCOSL 1
34564 _ACEOF
34567 done
34569 else
34571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34572 $as_echo_n "checking for _sincosl declaration... " >&6; }
34573 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34574 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34575 $as_echo_n "(cached) " >&6
34576 else
34579 ac_ext=cpp
34580 ac_cpp='$CXXCPP $CPPFLAGS'
34581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34586 /* end confdefs.h. */
34587 #include <math.h>
34589 main ()
34591 _sincosl(0, 0, 0);
34593 return 0;
34595 _ACEOF
34596 if ac_fn_cxx_try_compile "$LINENO"; then :
34597 glibcxx_cv_func__sincosl_use=yes
34598 else
34599 glibcxx_cv_func__sincosl_use=no
34601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34602 ac_ext=c
34603 ac_cpp='$CPP $CPPFLAGS'
34604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34613 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34615 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34616 for ac_func in _sincosl
34617 do :
34618 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34619 if test "x$ac_cv_func__sincosl" = x""yes; then :
34620 cat >>confdefs.h <<_ACEOF
34621 #define HAVE__SINCOSL 1
34622 _ACEOF
34625 done
34634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34635 $as_echo_n "checking for finitel declaration... " >&6; }
34636 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34637 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34638 $as_echo_n "(cached) " >&6
34639 else
34642 ac_ext=cpp
34643 ac_cpp='$CXXCPP $CPPFLAGS'
34644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34649 /* end confdefs.h. */
34650 #include <math.h>
34651 #ifdef HAVE_IEEEFP_H
34652 #include <ieeefp.h>
34653 #endif
34656 main ()
34658 finitel(0);
34660 return 0;
34662 _ACEOF
34663 if ac_fn_cxx_try_compile "$LINENO"; then :
34664 glibcxx_cv_func_finitel_use=yes
34665 else
34666 glibcxx_cv_func_finitel_use=no
34668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34669 ac_ext=c
34670 ac_cpp='$CPP $CPPFLAGS'
34671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34680 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34682 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34683 for ac_func in finitel
34684 do :
34685 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34686 if test "x$ac_cv_func_finitel" = x""yes; then :
34687 cat >>confdefs.h <<_ACEOF
34688 #define HAVE_FINITEL 1
34689 _ACEOF
34692 done
34694 else
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34697 $as_echo_n "checking for _finitel declaration... " >&6; }
34698 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34699 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34700 $as_echo_n "(cached) " >&6
34701 else
34704 ac_ext=cpp
34705 ac_cpp='$CXXCPP $CPPFLAGS'
34706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34711 /* end confdefs.h. */
34712 #include <math.h>
34713 #ifdef HAVE_IEEEFP_H
34714 #include <ieeefp.h>
34715 #endif
34718 main ()
34720 _finitel(0);
34722 return 0;
34724 _ACEOF
34725 if ac_fn_cxx_try_compile "$LINENO"; then :
34726 glibcxx_cv_func__finitel_use=yes
34727 else
34728 glibcxx_cv_func__finitel_use=no
34730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34731 ac_ext=c
34732 ac_cpp='$CPP $CPPFLAGS'
34733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34742 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34744 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34745 for ac_func in _finitel
34746 do :
34747 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34748 if test "x$ac_cv_func__finitel" = x""yes; then :
34749 cat >>confdefs.h <<_ACEOF
34750 #define HAVE__FINITEL 1
34751 _ACEOF
34754 done
34762 LIBS="$ac_save_LIBS"
34763 CXXFLAGS="$ac_save_CXXFLAGS"
34766 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34767 ac_save_CXXFLAGS="$CXXFLAGS"
34768 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34772 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34773 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34774 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34775 $as_echo_n "(cached) " >&6
34776 else
34779 ac_ext=cpp
34780 ac_cpp='$CXXCPP $CPPFLAGS'
34781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34786 /* end confdefs.h. */
34787 #include <stdlib.h>
34789 main ()
34791 at_quick_exit(0);
34793 return 0;
34795 _ACEOF
34796 if ac_fn_cxx_try_compile "$LINENO"; then :
34797 glibcxx_cv_func_at_quick_exit_use=yes
34798 else
34799 glibcxx_cv_func_at_quick_exit_use=no
34801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34802 ac_ext=c
34803 ac_cpp='$CPP $CPPFLAGS'
34804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34813 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34814 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34815 for ac_func in at_quick_exit
34816 do :
34817 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34818 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34819 cat >>confdefs.h <<_ACEOF
34820 #define HAVE_AT_QUICK_EXIT 1
34821 _ACEOF
34824 done
34829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34830 $as_echo_n "checking for quick_exit declaration... " >&6; }
34831 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34832 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34833 $as_echo_n "(cached) " >&6
34834 else
34837 ac_ext=cpp
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h. */
34845 #include <stdlib.h>
34847 main ()
34849 quick_exit(0);
34851 return 0;
34853 _ACEOF
34854 if ac_fn_cxx_try_compile "$LINENO"; then :
34855 glibcxx_cv_func_quick_exit_use=yes
34856 else
34857 glibcxx_cv_func_quick_exit_use=no
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860 ac_ext=c
34861 ac_cpp='$CPP $CPPFLAGS'
34862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34871 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34872 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34873 for ac_func in quick_exit
34874 do :
34875 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34876 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34877 cat >>confdefs.h <<_ACEOF
34878 #define HAVE_QUICK_EXIT 1
34879 _ACEOF
34882 done
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34888 $as_echo_n "checking for strtold declaration... " >&6; }
34889 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34890 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34891 $as_echo_n "(cached) " >&6
34892 else
34895 ac_ext=cpp
34896 ac_cpp='$CXXCPP $CPPFLAGS'
34897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34902 /* end confdefs.h. */
34903 #include <stdlib.h>
34905 main ()
34907 strtold(0, 0);
34909 return 0;
34911 _ACEOF
34912 if ac_fn_cxx_try_compile "$LINENO"; then :
34913 glibcxx_cv_func_strtold_use=yes
34914 else
34915 glibcxx_cv_func_strtold_use=no
34917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34918 ac_ext=c
34919 ac_cpp='$CPP $CPPFLAGS'
34920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34929 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34930 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34931 for ac_func in strtold
34932 do :
34933 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34934 if test "x$ac_cv_func_strtold" = x""yes; then :
34935 cat >>confdefs.h <<_ACEOF
34936 #define HAVE_STRTOLD 1
34937 _ACEOF
34940 done
34947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34948 $as_echo_n "checking for strtof declaration... " >&6; }
34949 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34950 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34951 $as_echo_n "(cached) " >&6
34952 else
34955 ac_ext=cpp
34956 ac_cpp='$CXXCPP $CPPFLAGS'
34957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34962 /* end confdefs.h. */
34963 #include <stdlib.h>
34965 main ()
34967 strtof(0, 0);
34969 return 0;
34971 _ACEOF
34972 if ac_fn_cxx_try_compile "$LINENO"; then :
34973 glibcxx_cv_func_strtof_use=yes
34974 else
34975 glibcxx_cv_func_strtof_use=no
34977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34978 ac_ext=c
34979 ac_cpp='$CPP $CPPFLAGS'
34980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34989 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34990 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34991 for ac_func in strtof
34992 do :
34993 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34994 if test "x$ac_cv_func_strtof" = x""yes; then :
34995 cat >>confdefs.h <<_ACEOF
34996 #define HAVE_STRTOF 1
34997 _ACEOF
35000 done
35007 CXXFLAGS="$ac_save_CXXFLAGS"
35010 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35012 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35014 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35016 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35019 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35021 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35023 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35027 spu-*-elf*)
35029 # All these tests are for C++; save the language and the compiler flags.
35030 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35031 # found in GLIBCXX_CONFIGURE.
35033 ac_ext=cpp
35034 ac_cpp='$CXXCPP $CPPFLAGS'
35035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35039 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35040 ac_save_CXXFLAGS="$CXXFLAGS"
35042 # Check for maintainer-mode bits.
35043 if test x"$USE_MAINTAINER_MODE" = xno; then
35044 WERROR=''
35045 else
35046 WERROR='-Werror'
35049 # Check for -ffunction-sections -fdata-sections
35050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35051 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35052 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h. */
35055 int foo; void bar() { };
35057 main ()
35061 return 0;
35063 _ACEOF
35064 if ac_fn_cxx_try_compile "$LINENO"; then :
35065 ac_fdsections=yes
35066 else
35067 ac_fdsections=no
35069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070 if test "$ac_test_CXXFLAGS" = set; then
35071 CXXFLAGS="$ac_save_CXXFLAGS"
35072 else
35073 # this is the suspicious part
35074 CXXFLAGS=''
35076 if test x"$ac_fdsections" = x"yes"; then
35077 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35080 $as_echo "$ac_fdsections" >&6; }
35082 ac_ext=c
35083 ac_cpp='$CPP $CPPFLAGS'
35084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092 # If we're not using GNU ld, then there's no point in even trying these
35093 # tests. Check for that first. We should have already tested for gld
35094 # by now (in libtool), but require it now just to be safe...
35095 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35096 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35100 # The name set by libtool depends on the version of libtool. Shame on us
35101 # for depending on an impl detail, but c'est la vie. Older versions used
35102 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35103 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35104 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35105 # set (hence we're using an older libtool), then set it.
35106 if test x${with_gnu_ld+set} != xset; then
35107 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35108 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35109 with_gnu_ld=no
35110 else
35111 with_gnu_ld=$ac_cv_prog_gnu_ld
35115 # Start by getting the version number. I think the libtool test already
35116 # does some of this, but throws away the result.
35117 glibcxx_ld_is_gold=no
35118 if test x"$with_gnu_ld" = x"yes"; then
35119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35120 $as_echo_n "checking for ld version... " >&6; }
35122 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35123 glibcxx_ld_is_gold=yes
35125 ldver=`$LD --version 2>/dev/null |
35126 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'`
35128 glibcxx_gnu_ld_version=`echo $ldver | \
35129 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35131 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35134 # Set --gc-sections.
35135 glibcxx_have_gc_sections=no
35136 if test "$glibcxx_ld_is_gold" = "yes"; then
35137 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35138 glibcxx_have_gc_sections=yes
35140 else
35141 glibcxx_gcsections_min_ld=21602
35142 if test x"$with_gnu_ld" = x"yes" &&
35143 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35144 glibcxx_have_gc_sections=yes
35147 if test "$glibcxx_have_gc_sections" = "yes"; then
35148 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35149 # NB: This flag only works reliably after 2.16.1. Configure tests
35150 # for this are difficult, so hard wire a value that should work.
35152 ac_test_CFLAGS="${CFLAGS+set}"
35153 ac_save_CFLAGS="$CFLAGS"
35154 CFLAGS='-Wl,--gc-sections'
35156 # Check for -Wl,--gc-sections
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35158 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35159 if test x$gcc_no_link = xyes; then
35160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35163 /* end confdefs.h. */
35164 int one(void) { return 1; }
35165 int two(void) { return 2; }
35168 main ()
35170 two();
35172 return 0;
35174 _ACEOF
35175 if ac_fn_c_try_link "$LINENO"; then :
35176 ac_gcsections=yes
35177 else
35178 ac_gcsections=no
35180 rm -f core conftest.err conftest.$ac_objext \
35181 conftest$ac_exeext conftest.$ac_ext
35182 if test "$ac_gcsections" = "yes"; then
35183 rm -f conftest.c
35184 touch conftest.c
35185 if $CC -c conftest.c; then
35186 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35187 grep "Warning: gc-sections option ignored" > /dev/null; then
35188 ac_gcsections=no
35191 rm -f conftest.c conftest.o conftest
35193 if test "$ac_gcsections" = "yes"; then
35194 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35197 $as_echo "$ac_gcsections" >&6; }
35199 if test "$ac_test_CFLAGS" = set; then
35200 CFLAGS="$ac_save_CFLAGS"
35201 else
35202 # this is the suspicious part
35203 CFLAGS=''
35207 # Set -z,relro.
35208 # Note this is only for shared objects.
35209 ac_ld_relro=no
35210 if test x"$with_gnu_ld" = x"yes"; then
35211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35212 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35213 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35214 if test -n "$cxx_z_relo"; then
35215 OPT_LDFLAGS="-Wl,-z,relro"
35216 ac_ld_relro=yes
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35219 $as_echo "$ac_ld_relro" >&6; }
35222 # Set linker optimization flags.
35223 if test x"$with_gnu_ld" = x"yes"; then
35224 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35231 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35232 ac_save_CXXFLAGS="$CXXFLAGS"
35233 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35236 $as_echo_n "checking for sin in -lm... " >&6; }
35237 if test "${ac_cv_lib_m_sin+set}" = set; then :
35238 $as_echo_n "(cached) " >&6
35239 else
35240 ac_check_lib_save_LIBS=$LIBS
35241 LIBS="-lm $LIBS"
35242 if test x$gcc_no_link = xyes; then
35243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35246 /* end confdefs.h. */
35248 /* Override any GCC internal prototype to avoid an error.
35249 Use char because int might match the return type of a GCC
35250 builtin and then its argument prototype would still apply. */
35251 #ifdef __cplusplus
35252 extern "C"
35253 #endif
35254 char sin ();
35256 main ()
35258 return sin ();
35260 return 0;
35262 _ACEOF
35263 if ac_fn_c_try_link "$LINENO"; then :
35264 ac_cv_lib_m_sin=yes
35265 else
35266 ac_cv_lib_m_sin=no
35268 rm -f core conftest.err conftest.$ac_objext \
35269 conftest$ac_exeext conftest.$ac_ext
35270 LIBS=$ac_check_lib_save_LIBS
35272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35273 $as_echo "$ac_cv_lib_m_sin" >&6; }
35274 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35275 libm="-lm"
35278 ac_save_LIBS="$LIBS"
35279 LIBS="$LIBS $libm"
35283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35284 $as_echo_n "checking for isinf declaration... " >&6; }
35285 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35286 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35287 $as_echo_n "(cached) " >&6
35288 else
35291 ac_ext=cpp
35292 ac_cpp='$CXXCPP $CPPFLAGS'
35293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35298 /* end confdefs.h. */
35299 #include <math.h>
35300 #ifdef HAVE_IEEEFP_H
35301 #include <ieeefp.h>
35302 #endif
35305 main ()
35307 isinf(0);
35309 return 0;
35311 _ACEOF
35312 if ac_fn_cxx_try_compile "$LINENO"; then :
35313 glibcxx_cv_func_isinf_use=yes
35314 else
35315 glibcxx_cv_func_isinf_use=no
35317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35318 ac_ext=c
35319 ac_cpp='$CPP $CPPFLAGS'
35320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35329 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35331 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35332 for ac_func in isinf
35333 do :
35334 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35335 if test "x$ac_cv_func_isinf" = x""yes; then :
35336 cat >>confdefs.h <<_ACEOF
35337 #define HAVE_ISINF 1
35338 _ACEOF
35341 done
35343 else
35345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35346 $as_echo_n "checking for _isinf declaration... " >&6; }
35347 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35348 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35349 $as_echo_n "(cached) " >&6
35350 else
35353 ac_ext=cpp
35354 ac_cpp='$CXXCPP $CPPFLAGS'
35355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35360 /* end confdefs.h. */
35361 #include <math.h>
35362 #ifdef HAVE_IEEEFP_H
35363 #include <ieeefp.h>
35364 #endif
35367 main ()
35369 _isinf(0);
35371 return 0;
35373 _ACEOF
35374 if ac_fn_cxx_try_compile "$LINENO"; then :
35375 glibcxx_cv_func__isinf_use=yes
35376 else
35377 glibcxx_cv_func__isinf_use=no
35379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35380 ac_ext=c
35381 ac_cpp='$CPP $CPPFLAGS'
35382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35391 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35393 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35394 for ac_func in _isinf
35395 do :
35396 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35397 if test "x$ac_cv_func__isinf" = x""yes; then :
35398 cat >>confdefs.h <<_ACEOF
35399 #define HAVE__ISINF 1
35400 _ACEOF
35403 done
35412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35413 $as_echo_n "checking for isnan declaration... " >&6; }
35414 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35415 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35416 $as_echo_n "(cached) " >&6
35417 else
35420 ac_ext=cpp
35421 ac_cpp='$CXXCPP $CPPFLAGS'
35422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35427 /* end confdefs.h. */
35428 #include <math.h>
35429 #ifdef HAVE_IEEEFP_H
35430 #include <ieeefp.h>
35431 #endif
35434 main ()
35436 isnan(0);
35438 return 0;
35440 _ACEOF
35441 if ac_fn_cxx_try_compile "$LINENO"; then :
35442 glibcxx_cv_func_isnan_use=yes
35443 else
35444 glibcxx_cv_func_isnan_use=no
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35447 ac_ext=c
35448 ac_cpp='$CPP $CPPFLAGS'
35449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35458 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35460 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35461 for ac_func in isnan
35462 do :
35463 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35464 if test "x$ac_cv_func_isnan" = x""yes; then :
35465 cat >>confdefs.h <<_ACEOF
35466 #define HAVE_ISNAN 1
35467 _ACEOF
35470 done
35472 else
35474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35475 $as_echo_n "checking for _isnan declaration... " >&6; }
35476 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35477 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35478 $as_echo_n "(cached) " >&6
35479 else
35482 ac_ext=cpp
35483 ac_cpp='$CXXCPP $CPPFLAGS'
35484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35489 /* end confdefs.h. */
35490 #include <math.h>
35491 #ifdef HAVE_IEEEFP_H
35492 #include <ieeefp.h>
35493 #endif
35496 main ()
35498 _isnan(0);
35500 return 0;
35502 _ACEOF
35503 if ac_fn_cxx_try_compile "$LINENO"; then :
35504 glibcxx_cv_func__isnan_use=yes
35505 else
35506 glibcxx_cv_func__isnan_use=no
35508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35509 ac_ext=c
35510 ac_cpp='$CPP $CPPFLAGS'
35511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35520 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35522 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35523 for ac_func in _isnan
35524 do :
35525 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35526 if test "x$ac_cv_func__isnan" = x""yes; then :
35527 cat >>confdefs.h <<_ACEOF
35528 #define HAVE__ISNAN 1
35529 _ACEOF
35532 done
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35542 $as_echo_n "checking for finite declaration... " >&6; }
35543 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35544 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35545 $as_echo_n "(cached) " >&6
35546 else
35549 ac_ext=cpp
35550 ac_cpp='$CXXCPP $CPPFLAGS'
35551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35556 /* end confdefs.h. */
35557 #include <math.h>
35558 #ifdef HAVE_IEEEFP_H
35559 #include <ieeefp.h>
35560 #endif
35563 main ()
35565 finite(0);
35567 return 0;
35569 _ACEOF
35570 if ac_fn_cxx_try_compile "$LINENO"; then :
35571 glibcxx_cv_func_finite_use=yes
35572 else
35573 glibcxx_cv_func_finite_use=no
35575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35576 ac_ext=c
35577 ac_cpp='$CPP $CPPFLAGS'
35578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35587 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35589 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35590 for ac_func in finite
35591 do :
35592 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35593 if test "x$ac_cv_func_finite" = x""yes; then :
35594 cat >>confdefs.h <<_ACEOF
35595 #define HAVE_FINITE 1
35596 _ACEOF
35599 done
35601 else
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35604 $as_echo_n "checking for _finite declaration... " >&6; }
35605 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35606 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35607 $as_echo_n "(cached) " >&6
35608 else
35611 ac_ext=cpp
35612 ac_cpp='$CXXCPP $CPPFLAGS'
35613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35618 /* end confdefs.h. */
35619 #include <math.h>
35620 #ifdef HAVE_IEEEFP_H
35621 #include <ieeefp.h>
35622 #endif
35625 main ()
35627 _finite(0);
35629 return 0;
35631 _ACEOF
35632 if ac_fn_cxx_try_compile "$LINENO"; then :
35633 glibcxx_cv_func__finite_use=yes
35634 else
35635 glibcxx_cv_func__finite_use=no
35637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35638 ac_ext=c
35639 ac_cpp='$CPP $CPPFLAGS'
35640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35649 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35651 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35652 for ac_func in _finite
35653 do :
35654 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35655 if test "x$ac_cv_func__finite" = x""yes; then :
35656 cat >>confdefs.h <<_ACEOF
35657 #define HAVE__FINITE 1
35658 _ACEOF
35661 done
35670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35671 $as_echo_n "checking for sincos declaration... " >&6; }
35672 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35673 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35674 $as_echo_n "(cached) " >&6
35675 else
35678 ac_ext=cpp
35679 ac_cpp='$CXXCPP $CPPFLAGS'
35680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35685 /* end confdefs.h. */
35686 #include <math.h>
35688 main ()
35690 sincos(0, 0, 0);
35692 return 0;
35694 _ACEOF
35695 if ac_fn_cxx_try_compile "$LINENO"; then :
35696 glibcxx_cv_func_sincos_use=yes
35697 else
35698 glibcxx_cv_func_sincos_use=no
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35712 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35714 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35715 for ac_func in sincos
35716 do :
35717 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35718 if test "x$ac_cv_func_sincos" = x""yes; then :
35719 cat >>confdefs.h <<_ACEOF
35720 #define HAVE_SINCOS 1
35721 _ACEOF
35724 done
35726 else
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35729 $as_echo_n "checking for _sincos declaration... " >&6; }
35730 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35731 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35732 $as_echo_n "(cached) " >&6
35733 else
35736 ac_ext=cpp
35737 ac_cpp='$CXXCPP $CPPFLAGS'
35738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35743 /* end confdefs.h. */
35744 #include <math.h>
35746 main ()
35748 _sincos(0, 0, 0);
35750 return 0;
35752 _ACEOF
35753 if ac_fn_cxx_try_compile "$LINENO"; then :
35754 glibcxx_cv_func__sincos_use=yes
35755 else
35756 glibcxx_cv_func__sincos_use=no
35758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35759 ac_ext=c
35760 ac_cpp='$CPP $CPPFLAGS'
35761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35770 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35772 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35773 for ac_func in _sincos
35774 do :
35775 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35776 if test "x$ac_cv_func__sincos" = x""yes; then :
35777 cat >>confdefs.h <<_ACEOF
35778 #define HAVE__SINCOS 1
35779 _ACEOF
35782 done
35791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35792 $as_echo_n "checking for fpclass declaration... " >&6; }
35793 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35794 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35795 $as_echo_n "(cached) " >&6
35796 else
35799 ac_ext=cpp
35800 ac_cpp='$CXXCPP $CPPFLAGS'
35801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35806 /* end confdefs.h. */
35807 #include <math.h>
35808 #ifdef HAVE_IEEEFP_H
35809 #include <ieeefp.h>
35810 #endif
35813 main ()
35815 fpclass(0);
35817 return 0;
35819 _ACEOF
35820 if ac_fn_cxx_try_compile "$LINENO"; then :
35821 glibcxx_cv_func_fpclass_use=yes
35822 else
35823 glibcxx_cv_func_fpclass_use=no
35825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35826 ac_ext=c
35827 ac_cpp='$CPP $CPPFLAGS'
35828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35837 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35839 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35840 for ac_func in fpclass
35841 do :
35842 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35843 if test "x$ac_cv_func_fpclass" = x""yes; then :
35844 cat >>confdefs.h <<_ACEOF
35845 #define HAVE_FPCLASS 1
35846 _ACEOF
35849 done
35851 else
35853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35854 $as_echo_n "checking for _fpclass declaration... " >&6; }
35855 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35856 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35857 $as_echo_n "(cached) " >&6
35858 else
35861 ac_ext=cpp
35862 ac_cpp='$CXXCPP $CPPFLAGS'
35863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35868 /* end confdefs.h. */
35869 #include <math.h>
35870 #ifdef HAVE_IEEEFP_H
35871 #include <ieeefp.h>
35872 #endif
35875 main ()
35877 _fpclass(0);
35879 return 0;
35881 _ACEOF
35882 if ac_fn_cxx_try_compile "$LINENO"; then :
35883 glibcxx_cv_func__fpclass_use=yes
35884 else
35885 glibcxx_cv_func__fpclass_use=no
35887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35888 ac_ext=c
35889 ac_cpp='$CPP $CPPFLAGS'
35890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35899 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35901 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35902 for ac_func in _fpclass
35903 do :
35904 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35905 if test "x$ac_cv_func__fpclass" = x""yes; then :
35906 cat >>confdefs.h <<_ACEOF
35907 #define HAVE__FPCLASS 1
35908 _ACEOF
35911 done
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35921 $as_echo_n "checking for qfpclass declaration... " >&6; }
35922 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35923 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35924 $as_echo_n "(cached) " >&6
35925 else
35928 ac_ext=cpp
35929 ac_cpp='$CXXCPP $CPPFLAGS'
35930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35935 /* end confdefs.h. */
35936 #include <math.h>
35937 #ifdef HAVE_IEEEFP_H
35938 #include <ieeefp.h>
35939 #endif
35942 main ()
35944 qfpclass(0);
35946 return 0;
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950 glibcxx_cv_func_qfpclass_use=yes
35951 else
35952 glibcxx_cv_func_qfpclass_use=no
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35966 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35968 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35969 for ac_func in qfpclass
35970 do :
35971 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35972 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35973 cat >>confdefs.h <<_ACEOF
35974 #define HAVE_QFPCLASS 1
35975 _ACEOF
35978 done
35980 else
35982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35983 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35984 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35985 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35986 $as_echo_n "(cached) " >&6
35987 else
35990 ac_ext=cpp
35991 ac_cpp='$CXXCPP $CPPFLAGS'
35992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35997 /* end confdefs.h. */
35998 #include <math.h>
35999 #ifdef HAVE_IEEEFP_H
36000 #include <ieeefp.h>
36001 #endif
36004 main ()
36006 _qfpclass(0);
36008 return 0;
36010 _ACEOF
36011 if ac_fn_cxx_try_compile "$LINENO"; then :
36012 glibcxx_cv_func__qfpclass_use=yes
36013 else
36014 glibcxx_cv_func__qfpclass_use=no
36016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36017 ac_ext=c
36018 ac_cpp='$CPP $CPPFLAGS'
36019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36028 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36030 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36031 for ac_func in _qfpclass
36032 do :
36033 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36034 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36035 cat >>confdefs.h <<_ACEOF
36036 #define HAVE__QFPCLASS 1
36037 _ACEOF
36040 done
36049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36050 $as_echo_n "checking for hypot declaration... " >&6; }
36051 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36052 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36053 $as_echo_n "(cached) " >&6
36054 else
36057 ac_ext=cpp
36058 ac_cpp='$CXXCPP $CPPFLAGS'
36059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36064 /* end confdefs.h. */
36065 #include <math.h>
36067 main ()
36069 hypot(0, 0);
36071 return 0;
36073 _ACEOF
36074 if ac_fn_cxx_try_compile "$LINENO"; then :
36075 glibcxx_cv_func_hypot_use=yes
36076 else
36077 glibcxx_cv_func_hypot_use=no
36079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36080 ac_ext=c
36081 ac_cpp='$CPP $CPPFLAGS'
36082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36091 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36093 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36094 for ac_func in hypot
36095 do :
36096 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36097 if test "x$ac_cv_func_hypot" = x""yes; then :
36098 cat >>confdefs.h <<_ACEOF
36099 #define HAVE_HYPOT 1
36100 _ACEOF
36103 done
36105 else
36107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36108 $as_echo_n "checking for _hypot declaration... " >&6; }
36109 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36110 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36111 $as_echo_n "(cached) " >&6
36112 else
36115 ac_ext=cpp
36116 ac_cpp='$CXXCPP $CPPFLAGS'
36117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36122 /* end confdefs.h. */
36123 #include <math.h>
36125 main ()
36127 _hypot(0, 0);
36129 return 0;
36131 _ACEOF
36132 if ac_fn_cxx_try_compile "$LINENO"; then :
36133 glibcxx_cv_func__hypot_use=yes
36134 else
36135 glibcxx_cv_func__hypot_use=no
36137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36138 ac_ext=c
36139 ac_cpp='$CPP $CPPFLAGS'
36140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36149 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36151 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36152 for ac_func in _hypot
36153 do :
36154 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36155 if test "x$ac_cv_func__hypot" = x""yes; then :
36156 cat >>confdefs.h <<_ACEOF
36157 #define HAVE__HYPOT 1
36158 _ACEOF
36161 done
36170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36171 $as_echo_n "checking for float trig functions... " >&6; }
36172 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36173 $as_echo_n "(cached) " >&6
36174 else
36177 ac_ext=cpp
36178 ac_cpp='$CXXCPP $CPPFLAGS'
36179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36184 /* end confdefs.h. */
36185 #include <math.h>
36187 main ()
36189 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36191 return 0;
36193 _ACEOF
36194 if ac_fn_cxx_try_compile "$LINENO"; then :
36195 glibcxx_cv_func_float_trig_use=yes
36196 else
36197 glibcxx_cv_func_float_trig_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
36208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36209 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36210 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36211 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36212 do :
36213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36215 eval as_val=\$$as_ac_var
36216 if test "x$as_val" = x""yes; then :
36217 cat >>confdefs.h <<_ACEOF
36218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36219 _ACEOF
36222 done
36224 else
36225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36226 $as_echo_n "checking for _float trig functions... " >&6; }
36227 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36228 $as_echo_n "(cached) " >&6
36229 else
36232 ac_ext=cpp
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36239 /* end confdefs.h. */
36240 #include <math.h>
36242 main ()
36244 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36246 return 0;
36248 _ACEOF
36249 if ac_fn_cxx_try_compile "$LINENO"; then :
36250 glibcxx_cv_func__float_trig_use=yes
36251 else
36252 glibcxx_cv_func__float_trig_use=no
36254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36255 ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36264 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36265 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36266 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36267 do :
36268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36270 eval as_val=\$$as_ac_var
36271 if test "x$as_val" = x""yes; then :
36272 cat >>confdefs.h <<_ACEOF
36273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36274 _ACEOF
36277 done
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36287 $as_echo_n "checking for float round functions... " >&6; }
36288 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36289 $as_echo_n "(cached) " >&6
36290 else
36293 ac_ext=cpp
36294 ac_cpp='$CXXCPP $CPPFLAGS'
36295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36300 /* end confdefs.h. */
36301 #include <math.h>
36303 main ()
36305 ceilf (0); floorf (0);
36307 return 0;
36309 _ACEOF
36310 if ac_fn_cxx_try_compile "$LINENO"; then :
36311 glibcxx_cv_func_float_round_use=yes
36312 else
36313 glibcxx_cv_func_float_round_use=no
36315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36316 ac_ext=c
36317 ac_cpp='$CPP $CPPFLAGS'
36318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36325 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36326 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36327 for ac_func in ceilf floorf
36328 do :
36329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36331 eval as_val=\$$as_ac_var
36332 if test "x$as_val" = x""yes; then :
36333 cat >>confdefs.h <<_ACEOF
36334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36335 _ACEOF
36338 done
36340 else
36341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36342 $as_echo_n "checking for _float round functions... " >&6; }
36343 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36344 $as_echo_n "(cached) " >&6
36345 else
36348 ac_ext=cpp
36349 ac_cpp='$CXXCPP $CPPFLAGS'
36350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36355 /* end confdefs.h. */
36356 #include <math.h>
36358 main ()
36360 _ceilf (0); _floorf (0);
36362 return 0;
36364 _ACEOF
36365 if ac_fn_cxx_try_compile "$LINENO"; then :
36366 glibcxx_cv_func__float_round_use=yes
36367 else
36368 glibcxx_cv_func__float_round_use=no
36370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36371 ac_ext=c
36372 ac_cpp='$CPP $CPPFLAGS'
36373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36380 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36381 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36382 for ac_func in _ceilf _floorf
36383 do :
36384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36386 eval as_val=\$$as_ac_var
36387 if test "x$as_val" = x""yes; then :
36388 cat >>confdefs.h <<_ACEOF
36389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36390 _ACEOF
36393 done
36403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36404 $as_echo_n "checking for expf declaration... " >&6; }
36405 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36406 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36407 $as_echo_n "(cached) " >&6
36408 else
36411 ac_ext=cpp
36412 ac_cpp='$CXXCPP $CPPFLAGS'
36413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36418 /* end confdefs.h. */
36419 #include <math.h>
36420 #ifdef HAVE_IEEEFP_H
36421 #include <ieeefp.h>
36422 #endif
36425 main ()
36427 expf(0);
36429 return 0;
36431 _ACEOF
36432 if ac_fn_cxx_try_compile "$LINENO"; then :
36433 glibcxx_cv_func_expf_use=yes
36434 else
36435 glibcxx_cv_func_expf_use=no
36437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36438 ac_ext=c
36439 ac_cpp='$CPP $CPPFLAGS'
36440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36449 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36451 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36452 for ac_func in expf
36453 do :
36454 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36455 if test "x$ac_cv_func_expf" = x""yes; then :
36456 cat >>confdefs.h <<_ACEOF
36457 #define HAVE_EXPF 1
36458 _ACEOF
36461 done
36463 else
36465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36466 $as_echo_n "checking for _expf declaration... " >&6; }
36467 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36468 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36469 $as_echo_n "(cached) " >&6
36470 else
36473 ac_ext=cpp
36474 ac_cpp='$CXXCPP $CPPFLAGS'
36475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36480 /* end confdefs.h. */
36481 #include <math.h>
36482 #ifdef HAVE_IEEEFP_H
36483 #include <ieeefp.h>
36484 #endif
36487 main ()
36489 _expf(0);
36491 return 0;
36493 _ACEOF
36494 if ac_fn_cxx_try_compile "$LINENO"; then :
36495 glibcxx_cv_func__expf_use=yes
36496 else
36497 glibcxx_cv_func__expf_use=no
36499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36500 ac_ext=c
36501 ac_cpp='$CPP $CPPFLAGS'
36502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36511 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36513 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36514 for ac_func in _expf
36515 do :
36516 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36517 if test "x$ac_cv_func__expf" = x""yes; then :
36518 cat >>confdefs.h <<_ACEOF
36519 #define HAVE__EXPF 1
36520 _ACEOF
36523 done
36532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36533 $as_echo_n "checking for isnanf declaration... " >&6; }
36534 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36535 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36536 $as_echo_n "(cached) " >&6
36537 else
36540 ac_ext=cpp
36541 ac_cpp='$CXXCPP $CPPFLAGS'
36542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36547 /* end confdefs.h. */
36548 #include <math.h>
36549 #ifdef HAVE_IEEEFP_H
36550 #include <ieeefp.h>
36551 #endif
36554 main ()
36556 isnanf(0);
36558 return 0;
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562 glibcxx_cv_func_isnanf_use=yes
36563 else
36564 glibcxx_cv_func_isnanf_use=no
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36567 ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36578 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36580 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36581 for ac_func in isnanf
36582 do :
36583 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36584 if test "x$ac_cv_func_isnanf" = x""yes; then :
36585 cat >>confdefs.h <<_ACEOF
36586 #define HAVE_ISNANF 1
36587 _ACEOF
36590 done
36592 else
36594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36595 $as_echo_n "checking for _isnanf declaration... " >&6; }
36596 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36597 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36598 $as_echo_n "(cached) " >&6
36599 else
36602 ac_ext=cpp
36603 ac_cpp='$CXXCPP $CPPFLAGS'
36604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36609 /* end confdefs.h. */
36610 #include <math.h>
36611 #ifdef HAVE_IEEEFP_H
36612 #include <ieeefp.h>
36613 #endif
36616 main ()
36618 _isnanf(0);
36620 return 0;
36622 _ACEOF
36623 if ac_fn_cxx_try_compile "$LINENO"; then :
36624 glibcxx_cv_func__isnanf_use=yes
36625 else
36626 glibcxx_cv_func__isnanf_use=no
36628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36629 ac_ext=c
36630 ac_cpp='$CPP $CPPFLAGS'
36631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36640 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36642 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36643 for ac_func in _isnanf
36644 do :
36645 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36646 if test "x$ac_cv_func__isnanf" = x""yes; then :
36647 cat >>confdefs.h <<_ACEOF
36648 #define HAVE__ISNANF 1
36649 _ACEOF
36652 done
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36662 $as_echo_n "checking for isinff declaration... " >&6; }
36663 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36664 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36669 ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h. */
36677 #include <math.h>
36678 #ifdef HAVE_IEEEFP_H
36679 #include <ieeefp.h>
36680 #endif
36683 main ()
36685 isinff(0);
36687 return 0;
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691 glibcxx_cv_func_isinff_use=yes
36692 else
36693 glibcxx_cv_func_isinff_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_isinff_use" >&5
36707 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36709 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36710 for ac_func in isinff
36711 do :
36712 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36713 if test "x$ac_cv_func_isinff" = x""yes; then :
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE_ISINFF 1
36716 _ACEOF
36719 done
36721 else
36723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36724 $as_echo_n "checking for _isinff declaration... " >&6; }
36725 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36726 if test "${glibcxx_cv_func__isinff_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>
36740 #ifdef HAVE_IEEEFP_H
36741 #include <ieeefp.h>
36742 #endif
36745 main ()
36747 _isinff(0);
36749 return 0;
36751 _ACEOF
36752 if ac_fn_cxx_try_compile "$LINENO"; then :
36753 glibcxx_cv_func__isinff_use=yes
36754 else
36755 glibcxx_cv_func__isinff_use=no
36757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36758 ac_ext=c
36759 ac_cpp='$CPP $CPPFLAGS'
36760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36769 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36771 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36772 for ac_func in _isinff
36773 do :
36774 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36775 if test "x$ac_cv_func__isinff" = x""yes; then :
36776 cat >>confdefs.h <<_ACEOF
36777 #define HAVE__ISINFF 1
36778 _ACEOF
36781 done
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36791 $as_echo_n "checking for atan2f declaration... " >&6; }
36792 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36793 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36794 $as_echo_n "(cached) " >&6
36795 else
36798 ac_ext=cpp
36799 ac_cpp='$CXXCPP $CPPFLAGS'
36800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36805 /* end confdefs.h. */
36806 #include <math.h>
36808 main ()
36810 atan2f(0, 0);
36812 return 0;
36814 _ACEOF
36815 if ac_fn_cxx_try_compile "$LINENO"; then :
36816 glibcxx_cv_func_atan2f_use=yes
36817 else
36818 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
36832 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36834 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36835 for ac_func in atan2f
36836 do :
36837 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36838 if test "x$ac_cv_func_atan2f" = x""yes; then :
36839 cat >>confdefs.h <<_ACEOF
36840 #define HAVE_ATAN2F 1
36841 _ACEOF
36844 done
36846 else
36848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36849 $as_echo_n "checking for _atan2f declaration... " >&6; }
36850 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36851 if test "${glibcxx_cv_func__atan2f_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>
36866 main ()
36868 _atan2f(0, 0);
36870 return 0;
36872 _ACEOF
36873 if ac_fn_cxx_try_compile "$LINENO"; then :
36874 glibcxx_cv_func__atan2f_use=yes
36875 else
36876 glibcxx_cv_func__atan2f_use=no
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879 ac_ext=c
36880 ac_cpp='$CPP $CPPFLAGS'
36881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36890 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36892 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36893 for ac_func in _atan2f
36894 do :
36895 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36896 if test "x$ac_cv_func__atan2f" = x""yes; then :
36897 cat >>confdefs.h <<_ACEOF
36898 #define HAVE__ATAN2F 1
36899 _ACEOF
36902 done
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36912 $as_echo_n "checking for fabsf declaration... " >&6; }
36913 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36914 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36915 $as_echo_n "(cached) " >&6
36916 else
36919 ac_ext=cpp
36920 ac_cpp='$CXXCPP $CPPFLAGS'
36921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36926 /* end confdefs.h. */
36927 #include <math.h>
36928 #ifdef HAVE_IEEEFP_H
36929 #include <ieeefp.h>
36930 #endif
36933 main ()
36935 fabsf(0);
36937 return 0;
36939 _ACEOF
36940 if ac_fn_cxx_try_compile "$LINENO"; then :
36941 glibcxx_cv_func_fabsf_use=yes
36942 else
36943 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
36957 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36959 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36960 for ac_func in fabsf
36961 do :
36962 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36963 if test "x$ac_cv_func_fabsf" = x""yes; then :
36964 cat >>confdefs.h <<_ACEOF
36965 #define HAVE_FABSF 1
36966 _ACEOF
36969 done
36971 else
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36974 $as_echo_n "checking for _fabsf declaration... " >&6; }
36975 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36976 if test "${glibcxx_cv_func__fabsf_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>
36990 #ifdef HAVE_IEEEFP_H
36991 #include <ieeefp.h>
36992 #endif
36995 main ()
36997 _fabsf(0);
36999 return 0;
37001 _ACEOF
37002 if ac_fn_cxx_try_compile "$LINENO"; then :
37003 glibcxx_cv_func__fabsf_use=yes
37004 else
37005 glibcxx_cv_func__fabsf_use=no
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008 ac_ext=c
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37019 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37021 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37022 for ac_func in _fabsf
37023 do :
37024 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37025 if test "x$ac_cv_func__fabsf" = x""yes; then :
37026 cat >>confdefs.h <<_ACEOF
37027 #define HAVE__FABSF 1
37028 _ACEOF
37031 done
37040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37041 $as_echo_n "checking for fmodf declaration... " >&6; }
37042 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37043 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37044 $as_echo_n "(cached) " >&6
37045 else
37048 ac_ext=cpp
37049 ac_cpp='$CXXCPP $CPPFLAGS'
37050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37055 /* end confdefs.h. */
37056 #include <math.h>
37058 main ()
37060 fmodf(0, 0);
37062 return 0;
37064 _ACEOF
37065 if ac_fn_cxx_try_compile "$LINENO"; then :
37066 glibcxx_cv_func_fmodf_use=yes
37067 else
37068 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
37082 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37084 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37085 for ac_func in fmodf
37086 do :
37087 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37088 if test "x$ac_cv_func_fmodf" = x""yes; then :
37089 cat >>confdefs.h <<_ACEOF
37090 #define HAVE_FMODF 1
37091 _ACEOF
37094 done
37096 else
37098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37099 $as_echo_n "checking for _fmodf declaration... " >&6; }
37100 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37101 if test "${glibcxx_cv_func__fmodf_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>
37116 main ()
37118 _fmodf(0, 0);
37120 return 0;
37122 _ACEOF
37123 if ac_fn_cxx_try_compile "$LINENO"; then :
37124 glibcxx_cv_func__fmodf_use=yes
37125 else
37126 glibcxx_cv_func__fmodf_use=no
37128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37129 ac_ext=c
37130 ac_cpp='$CPP $CPPFLAGS'
37131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37140 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37142 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37143 for ac_func in _fmodf
37144 do :
37145 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37146 if test "x$ac_cv_func__fmodf" = x""yes; then :
37147 cat >>confdefs.h <<_ACEOF
37148 #define HAVE__FMODF 1
37149 _ACEOF
37152 done
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37162 $as_echo_n "checking for frexpf declaration... " >&6; }
37163 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37164 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37165 $as_echo_n "(cached) " >&6
37166 else
37169 ac_ext=cpp
37170 ac_cpp='$CXXCPP $CPPFLAGS'
37171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37176 /* end confdefs.h. */
37177 #include <math.h>
37179 main ()
37181 frexpf(0, 0);
37183 return 0;
37185 _ACEOF
37186 if ac_fn_cxx_try_compile "$LINENO"; then :
37187 glibcxx_cv_func_frexpf_use=yes
37188 else
37189 glibcxx_cv_func_frexpf_use=no
37191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37192 ac_ext=c
37193 ac_cpp='$CPP $CPPFLAGS'
37194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37203 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37205 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37206 for ac_func in frexpf
37207 do :
37208 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37209 if test "x$ac_cv_func_frexpf" = x""yes; then :
37210 cat >>confdefs.h <<_ACEOF
37211 #define HAVE_FREXPF 1
37212 _ACEOF
37215 done
37217 else
37219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37220 $as_echo_n "checking for _frexpf declaration... " >&6; }
37221 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37222 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
37241 return 0;
37243 _ACEOF
37244 if ac_fn_cxx_try_compile "$LINENO"; then :
37245 glibcxx_cv_func__frexpf_use=yes
37246 else
37247 glibcxx_cv_func__frexpf_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
37260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37261 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37263 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37264 for ac_func in _frexpf
37265 do :
37266 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37267 if test "x$ac_cv_func__frexpf" = x""yes; then :
37268 cat >>confdefs.h <<_ACEOF
37269 #define HAVE__FREXPF 1
37270 _ACEOF
37273 done
37282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37283 $as_echo_n "checking for hypotf declaration... " >&6; }
37284 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37285 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37286 $as_echo_n "(cached) " >&6
37287 else
37290 ac_ext=cpp
37291 ac_cpp='$CXXCPP $CPPFLAGS'
37292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37297 /* end confdefs.h. */
37298 #include <math.h>
37300 main ()
37302 hypotf(0, 0);
37304 return 0;
37306 _ACEOF
37307 if ac_fn_cxx_try_compile "$LINENO"; then :
37308 glibcxx_cv_func_hypotf_use=yes
37309 else
37310 glibcxx_cv_func_hypotf_use=no
37312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37313 ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37324 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37326 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37327 for ac_func in hypotf
37328 do :
37329 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37330 if test "x$ac_cv_func_hypotf" = x""yes; then :
37331 cat >>confdefs.h <<_ACEOF
37332 #define HAVE_HYPOTF 1
37333 _ACEOF
37336 done
37338 else
37340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37341 $as_echo_n "checking for _hypotf declaration... " >&6; }
37342 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37343 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37344 $as_echo_n "(cached) " >&6
37345 else
37348 ac_ext=cpp
37349 ac_cpp='$CXXCPP $CPPFLAGS'
37350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37355 /* end confdefs.h. */
37356 #include <math.h>
37358 main ()
37360 _hypotf(0, 0);
37362 return 0;
37364 _ACEOF
37365 if ac_fn_cxx_try_compile "$LINENO"; then :
37366 glibcxx_cv_func__hypotf_use=yes
37367 else
37368 glibcxx_cv_func__hypotf_use=no
37370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37371 ac_ext=c
37372 ac_cpp='$CPP $CPPFLAGS'
37373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37382 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37384 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37385 for ac_func in _hypotf
37386 do :
37387 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37388 if test "x$ac_cv_func__hypotf" = x""yes; then :
37389 cat >>confdefs.h <<_ACEOF
37390 #define HAVE__HYPOTF 1
37391 _ACEOF
37394 done
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37404 $as_echo_n "checking for ldexpf declaration... " >&6; }
37405 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37406 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37407 $as_echo_n "(cached) " >&6
37408 else
37411 ac_ext=cpp
37412 ac_cpp='$CXXCPP $CPPFLAGS'
37413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37418 /* end confdefs.h. */
37419 #include <math.h>
37421 main ()
37423 ldexpf(0, 0);
37425 return 0;
37427 _ACEOF
37428 if ac_fn_cxx_try_compile "$LINENO"; then :
37429 glibcxx_cv_func_ldexpf_use=yes
37430 else
37431 glibcxx_cv_func_ldexpf_use=no
37433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37434 ac_ext=c
37435 ac_cpp='$CPP $CPPFLAGS'
37436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37445 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37447 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37448 for ac_func in ldexpf
37449 do :
37450 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37451 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37452 cat >>confdefs.h <<_ACEOF
37453 #define HAVE_LDEXPF 1
37454 _ACEOF
37457 done
37459 else
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37462 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37463 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37464 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37465 $as_echo_n "(cached) " >&6
37466 else
37469 ac_ext=cpp
37470 ac_cpp='$CXXCPP $CPPFLAGS'
37471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37476 /* end confdefs.h. */
37477 #include <math.h>
37479 main ()
37481 _ldexpf(0, 0);
37483 return 0;
37485 _ACEOF
37486 if ac_fn_cxx_try_compile "$LINENO"; then :
37487 glibcxx_cv_func__ldexpf_use=yes
37488 else
37489 glibcxx_cv_func__ldexpf_use=no
37491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37492 ac_ext=c
37493 ac_cpp='$CPP $CPPFLAGS'
37494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37503 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37505 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37506 for ac_func in _ldexpf
37507 do :
37508 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37509 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37510 cat >>confdefs.h <<_ACEOF
37511 #define HAVE__LDEXPF 1
37512 _ACEOF
37515 done
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37525 $as_echo_n "checking for logf declaration... " >&6; }
37526 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37527 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37528 $as_echo_n "(cached) " >&6
37529 else
37532 ac_ext=cpp
37533 ac_cpp='$CXXCPP $CPPFLAGS'
37534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37539 /* end confdefs.h. */
37540 #include <math.h>
37541 #ifdef HAVE_IEEEFP_H
37542 #include <ieeefp.h>
37543 #endif
37546 main ()
37548 logf(0);
37550 return 0;
37552 _ACEOF
37553 if ac_fn_cxx_try_compile "$LINENO"; then :
37554 glibcxx_cv_func_logf_use=yes
37555 else
37556 glibcxx_cv_func_logf_use=no
37558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37559 ac_ext=c
37560 ac_cpp='$CPP $CPPFLAGS'
37561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37570 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37572 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37573 for ac_func in logf
37574 do :
37575 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37576 if test "x$ac_cv_func_logf" = x""yes; then :
37577 cat >>confdefs.h <<_ACEOF
37578 #define HAVE_LOGF 1
37579 _ACEOF
37582 done
37584 else
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37587 $as_echo_n "checking for _logf declaration... " >&6; }
37588 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37589 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37590 $as_echo_n "(cached) " >&6
37591 else
37594 ac_ext=cpp
37595 ac_cpp='$CXXCPP $CPPFLAGS'
37596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37601 /* end confdefs.h. */
37602 #include <math.h>
37603 #ifdef HAVE_IEEEFP_H
37604 #include <ieeefp.h>
37605 #endif
37608 main ()
37610 _logf(0);
37612 return 0;
37614 _ACEOF
37615 if ac_fn_cxx_try_compile "$LINENO"; then :
37616 glibcxx_cv_func__logf_use=yes
37617 else
37618 glibcxx_cv_func__logf_use=no
37620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37621 ac_ext=c
37622 ac_cpp='$CPP $CPPFLAGS'
37623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37632 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37634 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37635 for ac_func in _logf
37636 do :
37637 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37638 if test "x$ac_cv_func__logf" = x""yes; then :
37639 cat >>confdefs.h <<_ACEOF
37640 #define HAVE__LOGF 1
37641 _ACEOF
37644 done
37653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37654 $as_echo_n "checking for log10f declaration... " >&6; }
37655 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37656 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37657 $as_echo_n "(cached) " >&6
37658 else
37661 ac_ext=cpp
37662 ac_cpp='$CXXCPP $CPPFLAGS'
37663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37668 /* end confdefs.h. */
37669 #include <math.h>
37670 #ifdef HAVE_IEEEFP_H
37671 #include <ieeefp.h>
37672 #endif
37675 main ()
37677 log10f(0);
37679 return 0;
37681 _ACEOF
37682 if ac_fn_cxx_try_compile "$LINENO"; then :
37683 glibcxx_cv_func_log10f_use=yes
37684 else
37685 glibcxx_cv_func_log10f_use=no
37687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37688 ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37699 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37701 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37702 for ac_func in log10f
37703 do :
37704 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37705 if test "x$ac_cv_func_log10f" = x""yes; then :
37706 cat >>confdefs.h <<_ACEOF
37707 #define HAVE_LOG10F 1
37708 _ACEOF
37711 done
37713 else
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37716 $as_echo_n "checking for _log10f declaration... " >&6; }
37717 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37718 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37719 $as_echo_n "(cached) " >&6
37720 else
37723 ac_ext=cpp
37724 ac_cpp='$CXXCPP $CPPFLAGS'
37725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37730 /* end confdefs.h. */
37731 #include <math.h>
37732 #ifdef HAVE_IEEEFP_H
37733 #include <ieeefp.h>
37734 #endif
37737 main ()
37739 _log10f(0);
37741 return 0;
37743 _ACEOF
37744 if ac_fn_cxx_try_compile "$LINENO"; then :
37745 glibcxx_cv_func__log10f_use=yes
37746 else
37747 glibcxx_cv_func__log10f_use=no
37749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37750 ac_ext=c
37751 ac_cpp='$CPP $CPPFLAGS'
37752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37761 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37763 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37764 for ac_func in _log10f
37765 do :
37766 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37767 if test "x$ac_cv_func__log10f" = x""yes; then :
37768 cat >>confdefs.h <<_ACEOF
37769 #define HAVE__LOG10F 1
37770 _ACEOF
37773 done
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37783 $as_echo_n "checking for modff declaration... " >&6; }
37784 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37785 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37786 $as_echo_n "(cached) " >&6
37787 else
37790 ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h. */
37798 #include <math.h>
37800 main ()
37802 modff(0, 0);
37804 return 0;
37806 _ACEOF
37807 if ac_fn_cxx_try_compile "$LINENO"; then :
37808 glibcxx_cv_func_modff_use=yes
37809 else
37810 glibcxx_cv_func_modff_use=no
37812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37813 ac_ext=c
37814 ac_cpp='$CPP $CPPFLAGS'
37815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37824 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37826 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37827 for ac_func in modff
37828 do :
37829 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37830 if test "x$ac_cv_func_modff" = x""yes; then :
37831 cat >>confdefs.h <<_ACEOF
37832 #define HAVE_MODFF 1
37833 _ACEOF
37836 done
37838 else
37840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37841 $as_echo_n "checking for _modff declaration... " >&6; }
37842 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37843 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37844 $as_echo_n "(cached) " >&6
37845 else
37848 ac_ext=cpp
37849 ac_cpp='$CXXCPP $CPPFLAGS'
37850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37855 /* end confdefs.h. */
37856 #include <math.h>
37858 main ()
37860 _modff(0, 0);
37862 return 0;
37864 _ACEOF
37865 if ac_fn_cxx_try_compile "$LINENO"; then :
37866 glibcxx_cv_func__modff_use=yes
37867 else
37868 glibcxx_cv_func__modff_use=no
37870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37871 ac_ext=c
37872 ac_cpp='$CPP $CPPFLAGS'
37873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37882 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37884 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37885 for ac_func in _modff
37886 do :
37887 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37888 if test "x$ac_cv_func__modff" = x""yes; then :
37889 cat >>confdefs.h <<_ACEOF
37890 #define HAVE__MODFF 1
37891 _ACEOF
37894 done
37903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37904 $as_echo_n "checking for modf declaration... " >&6; }
37905 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37906 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37907 $as_echo_n "(cached) " >&6
37908 else
37911 ac_ext=cpp
37912 ac_cpp='$CXXCPP $CPPFLAGS'
37913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37918 /* end confdefs.h. */
37919 #include <math.h>
37921 main ()
37923 modf(0, 0);
37925 return 0;
37927 _ACEOF
37928 if ac_fn_cxx_try_compile "$LINENO"; then :
37929 glibcxx_cv_func_modf_use=yes
37930 else
37931 glibcxx_cv_func_modf_use=no
37933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37934 ac_ext=c
37935 ac_cpp='$CPP $CPPFLAGS'
37936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37945 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37947 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37948 for ac_func in modf
37949 do :
37950 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37951 if test "x$ac_cv_func_modf" = x""yes; then :
37952 cat >>confdefs.h <<_ACEOF
37953 #define HAVE_MODF 1
37954 _ACEOF
37957 done
37959 else
37961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37962 $as_echo_n "checking for _modf declaration... " >&6; }
37963 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37964 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37965 $as_echo_n "(cached) " >&6
37966 else
37969 ac_ext=cpp
37970 ac_cpp='$CXXCPP $CPPFLAGS'
37971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37976 /* end confdefs.h. */
37977 #include <math.h>
37979 main ()
37981 _modf(0, 0);
37983 return 0;
37985 _ACEOF
37986 if ac_fn_cxx_try_compile "$LINENO"; then :
37987 glibcxx_cv_func__modf_use=yes
37988 else
37989 glibcxx_cv_func__modf_use=no
37991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37992 ac_ext=c
37993 ac_cpp='$CPP $CPPFLAGS'
37994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38003 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38005 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38006 for ac_func in _modf
38007 do :
38008 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38009 if test "x$ac_cv_func__modf" = x""yes; then :
38010 cat >>confdefs.h <<_ACEOF
38011 #define HAVE__MODF 1
38012 _ACEOF
38015 done
38024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38025 $as_echo_n "checking for powf declaration... " >&6; }
38026 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38027 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38028 $as_echo_n "(cached) " >&6
38029 else
38032 ac_ext=cpp
38033 ac_cpp='$CXXCPP $CPPFLAGS'
38034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38039 /* end confdefs.h. */
38040 #include <math.h>
38042 main ()
38044 powf(0, 0);
38046 return 0;
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050 glibcxx_cv_func_powf_use=yes
38051 else
38052 glibcxx_cv_func_powf_use=no
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38066 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38068 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38069 for ac_func in powf
38070 do :
38071 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38072 if test "x$ac_cv_func_powf" = x""yes; then :
38073 cat >>confdefs.h <<_ACEOF
38074 #define HAVE_POWF 1
38075 _ACEOF
38078 done
38080 else
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38083 $as_echo_n "checking for _powf declaration... " >&6; }
38084 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38085 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38086 $as_echo_n "(cached) " >&6
38087 else
38090 ac_ext=cpp
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38097 /* end confdefs.h. */
38098 #include <math.h>
38100 main ()
38102 _powf(0, 0);
38104 return 0;
38106 _ACEOF
38107 if ac_fn_cxx_try_compile "$LINENO"; then :
38108 glibcxx_cv_func__powf_use=yes
38109 else
38110 glibcxx_cv_func__powf_use=no
38112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38113 ac_ext=c
38114 ac_cpp='$CPP $CPPFLAGS'
38115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38124 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38126 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38127 for ac_func in _powf
38128 do :
38129 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38130 if test "x$ac_cv_func__powf" = x""yes; then :
38131 cat >>confdefs.h <<_ACEOF
38132 #define HAVE__POWF 1
38133 _ACEOF
38136 done
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38146 $as_echo_n "checking for sqrtf declaration... " >&6; }
38147 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38148 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38149 $as_echo_n "(cached) " >&6
38150 else
38153 ac_ext=cpp
38154 ac_cpp='$CXXCPP $CPPFLAGS'
38155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38160 /* end confdefs.h. */
38161 #include <math.h>
38162 #ifdef HAVE_IEEEFP_H
38163 #include <ieeefp.h>
38164 #endif
38167 main ()
38169 sqrtf(0);
38171 return 0;
38173 _ACEOF
38174 if ac_fn_cxx_try_compile "$LINENO"; then :
38175 glibcxx_cv_func_sqrtf_use=yes
38176 else
38177 glibcxx_cv_func_sqrtf_use=no
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38180 ac_ext=c
38181 ac_cpp='$CPP $CPPFLAGS'
38182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38191 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38193 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38194 for ac_func in sqrtf
38195 do :
38196 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38197 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38198 cat >>confdefs.h <<_ACEOF
38199 #define HAVE_SQRTF 1
38200 _ACEOF
38203 done
38205 else
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38208 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38209 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38210 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38211 $as_echo_n "(cached) " >&6
38212 else
38215 ac_ext=cpp
38216 ac_cpp='$CXXCPP $CPPFLAGS'
38217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38222 /* end confdefs.h. */
38223 #include <math.h>
38224 #ifdef HAVE_IEEEFP_H
38225 #include <ieeefp.h>
38226 #endif
38229 main ()
38231 _sqrtf(0);
38233 return 0;
38235 _ACEOF
38236 if ac_fn_cxx_try_compile "$LINENO"; then :
38237 glibcxx_cv_func__sqrtf_use=yes
38238 else
38239 glibcxx_cv_func__sqrtf_use=no
38241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38242 ac_ext=c
38243 ac_cpp='$CPP $CPPFLAGS'
38244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38253 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38255 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38256 for ac_func in _sqrtf
38257 do :
38258 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38259 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38260 cat >>confdefs.h <<_ACEOF
38261 #define HAVE__SQRTF 1
38262 _ACEOF
38265 done
38274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38275 $as_echo_n "checking for sincosf declaration... " >&6; }
38276 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38277 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38278 $as_echo_n "(cached) " >&6
38279 else
38282 ac_ext=cpp
38283 ac_cpp='$CXXCPP $CPPFLAGS'
38284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38289 /* end confdefs.h. */
38290 #include <math.h>
38292 main ()
38294 sincosf(0, 0, 0);
38296 return 0;
38298 _ACEOF
38299 if ac_fn_cxx_try_compile "$LINENO"; then :
38300 glibcxx_cv_func_sincosf_use=yes
38301 else
38302 glibcxx_cv_func_sincosf_use=no
38304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38305 ac_ext=c
38306 ac_cpp='$CPP $CPPFLAGS'
38307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38316 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38318 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38319 for ac_func in sincosf
38320 do :
38321 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38322 if test "x$ac_cv_func_sincosf" = x""yes; then :
38323 cat >>confdefs.h <<_ACEOF
38324 #define HAVE_SINCOSF 1
38325 _ACEOF
38328 done
38330 else
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38333 $as_echo_n "checking for _sincosf declaration... " >&6; }
38334 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38335 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38336 $as_echo_n "(cached) " >&6
38337 else
38340 ac_ext=cpp
38341 ac_cpp='$CXXCPP $CPPFLAGS'
38342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38347 /* end confdefs.h. */
38348 #include <math.h>
38350 main ()
38352 _sincosf(0, 0, 0);
38354 return 0;
38356 _ACEOF
38357 if ac_fn_cxx_try_compile "$LINENO"; then :
38358 glibcxx_cv_func__sincosf_use=yes
38359 else
38360 glibcxx_cv_func__sincosf_use=no
38362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38363 ac_ext=c
38364 ac_cpp='$CPP $CPPFLAGS'
38365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38374 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38376 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38377 for ac_func in _sincosf
38378 do :
38379 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38380 if test "x$ac_cv_func__sincosf" = x""yes; then :
38381 cat >>confdefs.h <<_ACEOF
38382 #define HAVE__SINCOSF 1
38383 _ACEOF
38386 done
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38396 $as_echo_n "checking for finitef declaration... " >&6; }
38397 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38398 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38399 $as_echo_n "(cached) " >&6
38400 else
38403 ac_ext=cpp
38404 ac_cpp='$CXXCPP $CPPFLAGS'
38405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38410 /* end confdefs.h. */
38411 #include <math.h>
38412 #ifdef HAVE_IEEEFP_H
38413 #include <ieeefp.h>
38414 #endif
38417 main ()
38419 finitef(0);
38421 return 0;
38423 _ACEOF
38424 if ac_fn_cxx_try_compile "$LINENO"; then :
38425 glibcxx_cv_func_finitef_use=yes
38426 else
38427 glibcxx_cv_func_finitef_use=no
38429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38430 ac_ext=c
38431 ac_cpp='$CPP $CPPFLAGS'
38432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38441 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38443 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38444 for ac_func in finitef
38445 do :
38446 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38447 if test "x$ac_cv_func_finitef" = x""yes; then :
38448 cat >>confdefs.h <<_ACEOF
38449 #define HAVE_FINITEF 1
38450 _ACEOF
38453 done
38455 else
38457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38458 $as_echo_n "checking for _finitef declaration... " >&6; }
38459 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38460 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38461 $as_echo_n "(cached) " >&6
38462 else
38465 ac_ext=cpp
38466 ac_cpp='$CXXCPP $CPPFLAGS'
38467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38472 /* end confdefs.h. */
38473 #include <math.h>
38474 #ifdef HAVE_IEEEFP_H
38475 #include <ieeefp.h>
38476 #endif
38479 main ()
38481 _finitef(0);
38483 return 0;
38485 _ACEOF
38486 if ac_fn_cxx_try_compile "$LINENO"; then :
38487 glibcxx_cv_func__finitef_use=yes
38488 else
38489 glibcxx_cv_func__finitef_use=no
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492 ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38503 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38505 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38506 for ac_func in _finitef
38507 do :
38508 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38509 if test "x$ac_cv_func__finitef" = x""yes; then :
38510 cat >>confdefs.h <<_ACEOF
38511 #define HAVE__FINITEF 1
38512 _ACEOF
38515 done
38524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38525 $as_echo_n "checking for long double trig functions... " >&6; }
38526 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38527 $as_echo_n "(cached) " >&6
38528 else
38531 ac_ext=cpp
38532 ac_cpp='$CXXCPP $CPPFLAGS'
38533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38538 /* end confdefs.h. */
38539 #include <math.h>
38541 main ()
38543 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38545 return 0;
38547 _ACEOF
38548 if ac_fn_cxx_try_compile "$LINENO"; then :
38549 glibcxx_cv_func_long_double_trig_use=yes
38550 else
38551 glibcxx_cv_func_long_double_trig_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
38562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38563 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38564 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38565 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38566 do :
38567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38569 eval as_val=\$$as_ac_var
38570 if test "x$as_val" = x""yes; then :
38571 cat >>confdefs.h <<_ACEOF
38572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38573 _ACEOF
38576 done
38578 else
38579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38580 $as_echo_n "checking for _long double trig functions... " >&6; }
38581 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38582 $as_echo_n "(cached) " >&6
38583 else
38586 ac_ext=cpp
38587 ac_cpp='$CXXCPP $CPPFLAGS'
38588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38593 /* end confdefs.h. */
38594 #include <math.h>
38596 main ()
38598 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38600 return 0;
38602 _ACEOF
38603 if ac_fn_cxx_try_compile "$LINENO"; then :
38604 glibcxx_cv_func__long_double_trig_use=yes
38605 else
38606 glibcxx_cv_func__long_double_trig_use=no
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609 ac_ext=c
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38618 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38619 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38620 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38621 do :
38622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38624 eval as_val=\$$as_ac_var
38625 if test "x$as_val" = x""yes; then :
38626 cat >>confdefs.h <<_ACEOF
38627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38628 _ACEOF
38631 done
38640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38641 $as_echo_n "checking for long double round functions... " >&6; }
38642 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38643 $as_echo_n "(cached) " >&6
38644 else
38647 ac_ext=cpp
38648 ac_cpp='$CXXCPP $CPPFLAGS'
38649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38654 /* end confdefs.h. */
38655 #include <math.h>
38657 main ()
38659 ceill (0); floorl (0);
38661 return 0;
38663 _ACEOF
38664 if ac_fn_cxx_try_compile "$LINENO"; then :
38665 glibcxx_cv_func_long_double_round_use=yes
38666 else
38667 glibcxx_cv_func_long_double_round_use=no
38669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38670 ac_ext=c
38671 ac_cpp='$CPP $CPPFLAGS'
38672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38679 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38680 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38681 for ac_func in ceill floorl
38682 do :
38683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38685 eval as_val=\$$as_ac_var
38686 if test "x$as_val" = x""yes; then :
38687 cat >>confdefs.h <<_ACEOF
38688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38689 _ACEOF
38692 done
38694 else
38695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38696 $as_echo_n "checking for _long double round functions... " >&6; }
38697 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38698 $as_echo_n "(cached) " >&6
38699 else
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h. */
38710 #include <math.h>
38712 main ()
38714 _ceill (0); _floorl (0);
38716 return 0;
38718 _ACEOF
38719 if ac_fn_cxx_try_compile "$LINENO"; then :
38720 glibcxx_cv_func__long_double_round_use=yes
38721 else
38722 glibcxx_cv_func__long_double_round_use=no
38724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38725 ac_ext=c
38726 ac_cpp='$CPP $CPPFLAGS'
38727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38734 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38735 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38736 for ac_func in _ceill _floorl
38737 do :
38738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38740 eval as_val=\$$as_ac_var
38741 if test "x$as_val" = x""yes; then :
38742 cat >>confdefs.h <<_ACEOF
38743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38744 _ACEOF
38747 done
38757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38758 $as_echo_n "checking for isnanl declaration... " >&6; }
38759 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38760 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38761 $as_echo_n "(cached) " >&6
38762 else
38765 ac_ext=cpp
38766 ac_cpp='$CXXCPP $CPPFLAGS'
38767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38772 /* end confdefs.h. */
38773 #include <math.h>
38774 #ifdef HAVE_IEEEFP_H
38775 #include <ieeefp.h>
38776 #endif
38779 main ()
38781 isnanl(0);
38783 return 0;
38785 _ACEOF
38786 if ac_fn_cxx_try_compile "$LINENO"; then :
38787 glibcxx_cv_func_isnanl_use=yes
38788 else
38789 glibcxx_cv_func_isnanl_use=no
38791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38792 ac_ext=c
38793 ac_cpp='$CPP $CPPFLAGS'
38794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38803 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38805 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38806 for ac_func in isnanl
38807 do :
38808 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38809 if test "x$ac_cv_func_isnanl" = x""yes; then :
38810 cat >>confdefs.h <<_ACEOF
38811 #define HAVE_ISNANL 1
38812 _ACEOF
38815 done
38817 else
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38820 $as_echo_n "checking for _isnanl declaration... " >&6; }
38821 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38822 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38823 $as_echo_n "(cached) " >&6
38824 else
38827 ac_ext=cpp
38828 ac_cpp='$CXXCPP $CPPFLAGS'
38829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38834 /* end confdefs.h. */
38835 #include <math.h>
38836 #ifdef HAVE_IEEEFP_H
38837 #include <ieeefp.h>
38838 #endif
38841 main ()
38843 _isnanl(0);
38845 return 0;
38847 _ACEOF
38848 if ac_fn_cxx_try_compile "$LINENO"; then :
38849 glibcxx_cv_func__isnanl_use=yes
38850 else
38851 glibcxx_cv_func__isnanl_use=no
38853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38854 ac_ext=c
38855 ac_cpp='$CPP $CPPFLAGS'
38856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38865 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38867 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38868 for ac_func in _isnanl
38869 do :
38870 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38871 if test "x$ac_cv_func__isnanl" = x""yes; then :
38872 cat >>confdefs.h <<_ACEOF
38873 #define HAVE__ISNANL 1
38874 _ACEOF
38877 done
38886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38887 $as_echo_n "checking for isinfl declaration... " >&6; }
38888 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38889 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38890 $as_echo_n "(cached) " >&6
38891 else
38894 ac_ext=cpp
38895 ac_cpp='$CXXCPP $CPPFLAGS'
38896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38901 /* end confdefs.h. */
38902 #include <math.h>
38903 #ifdef HAVE_IEEEFP_H
38904 #include <ieeefp.h>
38905 #endif
38908 main ()
38910 isinfl(0);
38912 return 0;
38914 _ACEOF
38915 if ac_fn_cxx_try_compile "$LINENO"; then :
38916 glibcxx_cv_func_isinfl_use=yes
38917 else
38918 glibcxx_cv_func_isinfl_use=no
38920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921 ac_ext=c
38922 ac_cpp='$CPP $CPPFLAGS'
38923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38932 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38934 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38935 for ac_func in isinfl
38936 do :
38937 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38938 if test "x$ac_cv_func_isinfl" = x""yes; then :
38939 cat >>confdefs.h <<_ACEOF
38940 #define HAVE_ISINFL 1
38941 _ACEOF
38944 done
38946 else
38948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38949 $as_echo_n "checking for _isinfl declaration... " >&6; }
38950 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38951 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38952 $as_echo_n "(cached) " >&6
38953 else
38956 ac_ext=cpp
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38963 /* end confdefs.h. */
38964 #include <math.h>
38965 #ifdef HAVE_IEEEFP_H
38966 #include <ieeefp.h>
38967 #endif
38970 main ()
38972 _isinfl(0);
38974 return 0;
38976 _ACEOF
38977 if ac_fn_cxx_try_compile "$LINENO"; then :
38978 glibcxx_cv_func__isinfl_use=yes
38979 else
38980 glibcxx_cv_func__isinfl_use=no
38982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38983 ac_ext=c
38984 ac_cpp='$CPP $CPPFLAGS'
38985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38994 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38996 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38997 for ac_func in _isinfl
38998 do :
38999 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39000 if test "x$ac_cv_func__isinfl" = x""yes; then :
39001 cat >>confdefs.h <<_ACEOF
39002 #define HAVE__ISINFL 1
39003 _ACEOF
39006 done
39015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39016 $as_echo_n "checking for atan2l declaration... " >&6; }
39017 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39018 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39019 $as_echo_n "(cached) " >&6
39020 else
39023 ac_ext=cpp
39024 ac_cpp='$CXXCPP $CPPFLAGS'
39025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39030 /* end confdefs.h. */
39031 #include <math.h>
39033 main ()
39035 atan2l(0, 0);
39037 return 0;
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func_atan2l_use=yes
39042 else
39043 glibcxx_cv_func_atan2l_use=no
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39057 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39059 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39060 for ac_func in atan2l
39061 do :
39062 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39063 if test "x$ac_cv_func_atan2l" = x""yes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE_ATAN2L 1
39066 _ACEOF
39069 done
39071 else
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39074 $as_echo_n "checking for _atan2l declaration... " >&6; }
39075 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39076 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39091 main ()
39093 _atan2l(0, 0);
39095 return 0;
39097 _ACEOF
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099 glibcxx_cv_func__atan2l_use=yes
39100 else
39101 glibcxx_cv_func__atan2l_use=no
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104 ac_ext=c
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39115 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39117 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39118 for ac_func in _atan2l
39119 do :
39120 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39121 if test "x$ac_cv_func__atan2l" = x""yes; then :
39122 cat >>confdefs.h <<_ACEOF
39123 #define HAVE__ATAN2L 1
39124 _ACEOF
39127 done
39136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39137 $as_echo_n "checking for expl declaration... " >&6; }
39138 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39139 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39140 $as_echo_n "(cached) " >&6
39141 else
39144 ac_ext=cpp
39145 ac_cpp='$CXXCPP $CPPFLAGS'
39146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39151 /* end confdefs.h. */
39152 #include <math.h>
39153 #ifdef HAVE_IEEEFP_H
39154 #include <ieeefp.h>
39155 #endif
39158 main ()
39160 expl(0);
39162 return 0;
39164 _ACEOF
39165 if ac_fn_cxx_try_compile "$LINENO"; then :
39166 glibcxx_cv_func_expl_use=yes
39167 else
39168 glibcxx_cv_func_expl_use=no
39170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39171 ac_ext=c
39172 ac_cpp='$CPP $CPPFLAGS'
39173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39182 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39184 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39185 for ac_func in expl
39186 do :
39187 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39188 if test "x$ac_cv_func_expl" = x""yes; then :
39189 cat >>confdefs.h <<_ACEOF
39190 #define HAVE_EXPL 1
39191 _ACEOF
39194 done
39196 else
39198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39199 $as_echo_n "checking for _expl declaration... " >&6; }
39200 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39201 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39202 $as_echo_n "(cached) " >&6
39203 else
39206 ac_ext=cpp
39207 ac_cpp='$CXXCPP $CPPFLAGS'
39208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39213 /* end confdefs.h. */
39214 #include <math.h>
39215 #ifdef HAVE_IEEEFP_H
39216 #include <ieeefp.h>
39217 #endif
39220 main ()
39222 _expl(0);
39224 return 0;
39226 _ACEOF
39227 if ac_fn_cxx_try_compile "$LINENO"; then :
39228 glibcxx_cv_func__expl_use=yes
39229 else
39230 glibcxx_cv_func__expl_use=no
39232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39233 ac_ext=c
39234 ac_cpp='$CPP $CPPFLAGS'
39235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39244 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39246 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39247 for ac_func in _expl
39248 do :
39249 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39250 if test "x$ac_cv_func__expl" = x""yes; then :
39251 cat >>confdefs.h <<_ACEOF
39252 #define HAVE__EXPL 1
39253 _ACEOF
39256 done
39265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39266 $as_echo_n "checking for fabsl declaration... " >&6; }
39267 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39268 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39269 $as_echo_n "(cached) " >&6
39270 else
39273 ac_ext=cpp
39274 ac_cpp='$CXXCPP $CPPFLAGS'
39275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39280 /* end confdefs.h. */
39281 #include <math.h>
39282 #ifdef HAVE_IEEEFP_H
39283 #include <ieeefp.h>
39284 #endif
39287 main ()
39289 fabsl(0);
39291 return 0;
39293 _ACEOF
39294 if ac_fn_cxx_try_compile "$LINENO"; then :
39295 glibcxx_cv_func_fabsl_use=yes
39296 else
39297 glibcxx_cv_func_fabsl_use=no
39299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39300 ac_ext=c
39301 ac_cpp='$CPP $CPPFLAGS'
39302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39311 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39313 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39314 for ac_func in fabsl
39315 do :
39316 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39317 if test "x$ac_cv_func_fabsl" = x""yes; then :
39318 cat >>confdefs.h <<_ACEOF
39319 #define HAVE_FABSL 1
39320 _ACEOF
39323 done
39325 else
39327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39328 $as_echo_n "checking for _fabsl declaration... " >&6; }
39329 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39330 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39331 $as_echo_n "(cached) " >&6
39332 else
39335 ac_ext=cpp
39336 ac_cpp='$CXXCPP $CPPFLAGS'
39337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39342 /* end confdefs.h. */
39343 #include <math.h>
39344 #ifdef HAVE_IEEEFP_H
39345 #include <ieeefp.h>
39346 #endif
39349 main ()
39351 _fabsl(0);
39353 return 0;
39355 _ACEOF
39356 if ac_fn_cxx_try_compile "$LINENO"; then :
39357 glibcxx_cv_func__fabsl_use=yes
39358 else
39359 glibcxx_cv_func__fabsl_use=no
39361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39362 ac_ext=c
39363 ac_cpp='$CPP $CPPFLAGS'
39364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39373 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39375 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39376 for ac_func in _fabsl
39377 do :
39378 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39379 if test "x$ac_cv_func__fabsl" = x""yes; then :
39380 cat >>confdefs.h <<_ACEOF
39381 #define HAVE__FABSL 1
39382 _ACEOF
39385 done
39394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39395 $as_echo_n "checking for fmodl declaration... " >&6; }
39396 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39397 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39398 $as_echo_n "(cached) " >&6
39399 else
39402 ac_ext=cpp
39403 ac_cpp='$CXXCPP $CPPFLAGS'
39404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39409 /* end confdefs.h. */
39410 #include <math.h>
39412 main ()
39414 fmodl(0, 0);
39416 return 0;
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420 glibcxx_cv_func_fmodl_use=yes
39421 else
39422 glibcxx_cv_func_fmodl_use=no
39424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39425 ac_ext=c
39426 ac_cpp='$CPP $CPPFLAGS'
39427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39436 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39438 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39439 for ac_func in fmodl
39440 do :
39441 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39442 if test "x$ac_cv_func_fmodl" = x""yes; then :
39443 cat >>confdefs.h <<_ACEOF
39444 #define HAVE_FMODL 1
39445 _ACEOF
39448 done
39450 else
39452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39453 $as_echo_n "checking for _fmodl declaration... " >&6; }
39454 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39455 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39456 $as_echo_n "(cached) " >&6
39457 else
39460 ac_ext=cpp
39461 ac_cpp='$CXXCPP $CPPFLAGS'
39462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39467 /* end confdefs.h. */
39468 #include <math.h>
39470 main ()
39472 _fmodl(0, 0);
39474 return 0;
39476 _ACEOF
39477 if ac_fn_cxx_try_compile "$LINENO"; then :
39478 glibcxx_cv_func__fmodl_use=yes
39479 else
39480 glibcxx_cv_func__fmodl_use=no
39482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39483 ac_ext=c
39484 ac_cpp='$CPP $CPPFLAGS'
39485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39494 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39496 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39497 for ac_func in _fmodl
39498 do :
39499 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39500 if test "x$ac_cv_func__fmodl" = x""yes; then :
39501 cat >>confdefs.h <<_ACEOF
39502 #define HAVE__FMODL 1
39503 _ACEOF
39506 done
39515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39516 $as_echo_n "checking for frexpl declaration... " >&6; }
39517 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39518 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39519 $as_echo_n "(cached) " >&6
39520 else
39523 ac_ext=cpp
39524 ac_cpp='$CXXCPP $CPPFLAGS'
39525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39530 /* end confdefs.h. */
39531 #include <math.h>
39533 main ()
39535 frexpl(0, 0);
39537 return 0;
39539 _ACEOF
39540 if ac_fn_cxx_try_compile "$LINENO"; then :
39541 glibcxx_cv_func_frexpl_use=yes
39542 else
39543 glibcxx_cv_func_frexpl_use=no
39545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39546 ac_ext=c
39547 ac_cpp='$CPP $CPPFLAGS'
39548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39557 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39559 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39560 for ac_func in frexpl
39561 do :
39562 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39563 if test "x$ac_cv_func_frexpl" = x""yes; then :
39564 cat >>confdefs.h <<_ACEOF
39565 #define HAVE_FREXPL 1
39566 _ACEOF
39569 done
39571 else
39573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39574 $as_echo_n "checking for _frexpl declaration... " >&6; }
39575 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39576 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39577 $as_echo_n "(cached) " >&6
39578 else
39581 ac_ext=cpp
39582 ac_cpp='$CXXCPP $CPPFLAGS'
39583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39588 /* end confdefs.h. */
39589 #include <math.h>
39591 main ()
39593 _frexpl(0, 0);
39595 return 0;
39597 _ACEOF
39598 if ac_fn_cxx_try_compile "$LINENO"; then :
39599 glibcxx_cv_func__frexpl_use=yes
39600 else
39601 glibcxx_cv_func__frexpl_use=no
39603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39604 ac_ext=c
39605 ac_cpp='$CPP $CPPFLAGS'
39606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39615 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39617 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39618 for ac_func in _frexpl
39619 do :
39620 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39621 if test "x$ac_cv_func__frexpl" = x""yes; then :
39622 cat >>confdefs.h <<_ACEOF
39623 #define HAVE__FREXPL 1
39624 _ACEOF
39627 done
39636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39637 $as_echo_n "checking for hypotl declaration... " >&6; }
39638 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39639 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39640 $as_echo_n "(cached) " >&6
39641 else
39644 ac_ext=cpp
39645 ac_cpp='$CXXCPP $CPPFLAGS'
39646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39651 /* end confdefs.h. */
39652 #include <math.h>
39654 main ()
39656 hypotl(0, 0);
39658 return 0;
39660 _ACEOF
39661 if ac_fn_cxx_try_compile "$LINENO"; then :
39662 glibcxx_cv_func_hypotl_use=yes
39663 else
39664 glibcxx_cv_func_hypotl_use=no
39666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39667 ac_ext=c
39668 ac_cpp='$CPP $CPPFLAGS'
39669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39678 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39680 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39681 for ac_func in hypotl
39682 do :
39683 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39684 if test "x$ac_cv_func_hypotl" = x""yes; then :
39685 cat >>confdefs.h <<_ACEOF
39686 #define HAVE_HYPOTL 1
39687 _ACEOF
39690 done
39692 else
39694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39695 $as_echo_n "checking for _hypotl declaration... " >&6; }
39696 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39697 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39698 $as_echo_n "(cached) " >&6
39699 else
39702 ac_ext=cpp
39703 ac_cpp='$CXXCPP $CPPFLAGS'
39704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39709 /* end confdefs.h. */
39710 #include <math.h>
39712 main ()
39714 _hypotl(0, 0);
39716 return 0;
39718 _ACEOF
39719 if ac_fn_cxx_try_compile "$LINENO"; then :
39720 glibcxx_cv_func__hypotl_use=yes
39721 else
39722 glibcxx_cv_func__hypotl_use=no
39724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39725 ac_ext=c
39726 ac_cpp='$CPP $CPPFLAGS'
39727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39736 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39738 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39739 for ac_func in _hypotl
39740 do :
39741 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39742 if test "x$ac_cv_func__hypotl" = x""yes; then :
39743 cat >>confdefs.h <<_ACEOF
39744 #define HAVE__HYPOTL 1
39745 _ACEOF
39748 done
39757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39758 $as_echo_n "checking for ldexpl declaration... " >&6; }
39759 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39760 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39761 $as_echo_n "(cached) " >&6
39762 else
39765 ac_ext=cpp
39766 ac_cpp='$CXXCPP $CPPFLAGS'
39767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39772 /* end confdefs.h. */
39773 #include <math.h>
39775 main ()
39777 ldexpl(0, 0);
39779 return 0;
39781 _ACEOF
39782 if ac_fn_cxx_try_compile "$LINENO"; then :
39783 glibcxx_cv_func_ldexpl_use=yes
39784 else
39785 glibcxx_cv_func_ldexpl_use=no
39787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39788 ac_ext=c
39789 ac_cpp='$CPP $CPPFLAGS'
39790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39799 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39801 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39802 for ac_func in ldexpl
39803 do :
39804 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39805 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39806 cat >>confdefs.h <<_ACEOF
39807 #define HAVE_LDEXPL 1
39808 _ACEOF
39811 done
39813 else
39815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39816 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39817 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39818 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39819 $as_echo_n "(cached) " >&6
39820 else
39823 ac_ext=cpp
39824 ac_cpp='$CXXCPP $CPPFLAGS'
39825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39830 /* end confdefs.h. */
39831 #include <math.h>
39833 main ()
39835 _ldexpl(0, 0);
39837 return 0;
39839 _ACEOF
39840 if ac_fn_cxx_try_compile "$LINENO"; then :
39841 glibcxx_cv_func__ldexpl_use=yes
39842 else
39843 glibcxx_cv_func__ldexpl_use=no
39845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39846 ac_ext=c
39847 ac_cpp='$CPP $CPPFLAGS'
39848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39857 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39859 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39860 for ac_func in _ldexpl
39861 do :
39862 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39863 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39864 cat >>confdefs.h <<_ACEOF
39865 #define HAVE__LDEXPL 1
39866 _ACEOF
39869 done
39878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39879 $as_echo_n "checking for logl declaration... " >&6; }
39880 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39881 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39882 $as_echo_n "(cached) " >&6
39883 else
39886 ac_ext=cpp
39887 ac_cpp='$CXXCPP $CPPFLAGS'
39888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39893 /* end confdefs.h. */
39894 #include <math.h>
39895 #ifdef HAVE_IEEEFP_H
39896 #include <ieeefp.h>
39897 #endif
39900 main ()
39902 logl(0);
39904 return 0;
39906 _ACEOF
39907 if ac_fn_cxx_try_compile "$LINENO"; then :
39908 glibcxx_cv_func_logl_use=yes
39909 else
39910 glibcxx_cv_func_logl_use=no
39912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39913 ac_ext=c
39914 ac_cpp='$CPP $CPPFLAGS'
39915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39924 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39926 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39927 for ac_func in logl
39928 do :
39929 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39930 if test "x$ac_cv_func_logl" = x""yes; then :
39931 cat >>confdefs.h <<_ACEOF
39932 #define HAVE_LOGL 1
39933 _ACEOF
39936 done
39938 else
39940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39941 $as_echo_n "checking for _logl declaration... " >&6; }
39942 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39943 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39944 $as_echo_n "(cached) " >&6
39945 else
39948 ac_ext=cpp
39949 ac_cpp='$CXXCPP $CPPFLAGS'
39950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39955 /* end confdefs.h. */
39956 #include <math.h>
39957 #ifdef HAVE_IEEEFP_H
39958 #include <ieeefp.h>
39959 #endif
39962 main ()
39964 _logl(0);
39966 return 0;
39968 _ACEOF
39969 if ac_fn_cxx_try_compile "$LINENO"; then :
39970 glibcxx_cv_func__logl_use=yes
39971 else
39972 glibcxx_cv_func__logl_use=no
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975 ac_ext=c
39976 ac_cpp='$CPP $CPPFLAGS'
39977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39986 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39988 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39989 for ac_func in _logl
39990 do :
39991 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39992 if test "x$ac_cv_func__logl" = x""yes; then :
39993 cat >>confdefs.h <<_ACEOF
39994 #define HAVE__LOGL 1
39995 _ACEOF
39998 done
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40008 $as_echo_n "checking for log10l declaration... " >&6; }
40009 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40010 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
40011 $as_echo_n "(cached) " >&6
40012 else
40015 ac_ext=cpp
40016 ac_cpp='$CXXCPP $CPPFLAGS'
40017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40022 /* end confdefs.h. */
40023 #include <math.h>
40024 #ifdef HAVE_IEEEFP_H
40025 #include <ieeefp.h>
40026 #endif
40029 main ()
40031 log10l(0);
40033 return 0;
40035 _ACEOF
40036 if ac_fn_cxx_try_compile "$LINENO"; then :
40037 glibcxx_cv_func_log10l_use=yes
40038 else
40039 glibcxx_cv_func_log10l_use=no
40041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40042 ac_ext=c
40043 ac_cpp='$CPP $CPPFLAGS'
40044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40053 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40055 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40056 for ac_func in log10l
40057 do :
40058 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40059 if test "x$ac_cv_func_log10l" = x""yes; then :
40060 cat >>confdefs.h <<_ACEOF
40061 #define HAVE_LOG10L 1
40062 _ACEOF
40065 done
40067 else
40069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40070 $as_echo_n "checking for _log10l declaration... " >&6; }
40071 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40072 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40073 $as_echo_n "(cached) " >&6
40074 else
40077 ac_ext=cpp
40078 ac_cpp='$CXXCPP $CPPFLAGS'
40079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40084 /* end confdefs.h. */
40085 #include <math.h>
40086 #ifdef HAVE_IEEEFP_H
40087 #include <ieeefp.h>
40088 #endif
40091 main ()
40093 _log10l(0);
40095 return 0;
40097 _ACEOF
40098 if ac_fn_cxx_try_compile "$LINENO"; then :
40099 glibcxx_cv_func__log10l_use=yes
40100 else
40101 glibcxx_cv_func__log10l_use=no
40103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40104 ac_ext=c
40105 ac_cpp='$CPP $CPPFLAGS'
40106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40115 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40117 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40118 for ac_func in _log10l
40119 do :
40120 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40121 if test "x$ac_cv_func__log10l" = x""yes; then :
40122 cat >>confdefs.h <<_ACEOF
40123 #define HAVE__LOG10L 1
40124 _ACEOF
40127 done
40136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40137 $as_echo_n "checking for modfl declaration... " >&6; }
40138 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40139 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40140 $as_echo_n "(cached) " >&6
40141 else
40144 ac_ext=cpp
40145 ac_cpp='$CXXCPP $CPPFLAGS'
40146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40151 /* end confdefs.h. */
40152 #include <math.h>
40154 main ()
40156 modfl(0, 0);
40158 return 0;
40160 _ACEOF
40161 if ac_fn_cxx_try_compile "$LINENO"; then :
40162 glibcxx_cv_func_modfl_use=yes
40163 else
40164 glibcxx_cv_func_modfl_use=no
40166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40167 ac_ext=c
40168 ac_cpp='$CPP $CPPFLAGS'
40169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40178 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40180 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40181 for ac_func in modfl
40182 do :
40183 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40184 if test "x$ac_cv_func_modfl" = x""yes; then :
40185 cat >>confdefs.h <<_ACEOF
40186 #define HAVE_MODFL 1
40187 _ACEOF
40190 done
40192 else
40194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40195 $as_echo_n "checking for _modfl declaration... " >&6; }
40196 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40197 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40198 $as_echo_n "(cached) " >&6
40199 else
40202 ac_ext=cpp
40203 ac_cpp='$CXXCPP $CPPFLAGS'
40204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40209 /* end confdefs.h. */
40210 #include <math.h>
40212 main ()
40214 _modfl(0, 0);
40216 return 0;
40218 _ACEOF
40219 if ac_fn_cxx_try_compile "$LINENO"; then :
40220 glibcxx_cv_func__modfl_use=yes
40221 else
40222 glibcxx_cv_func__modfl_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__modfl_use" >&5
40236 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40238 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40239 for ac_func in _modfl
40240 do :
40241 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40242 if test "x$ac_cv_func__modfl" = x""yes; then :
40243 cat >>confdefs.h <<_ACEOF
40244 #define HAVE__MODFL 1
40245 _ACEOF
40248 done
40257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40258 $as_echo_n "checking for powl declaration... " >&6; }
40259 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40260 if test "${glibcxx_cv_func_powl_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 powl(0, 0);
40279 return 0;
40281 _ACEOF
40282 if ac_fn_cxx_try_compile "$LINENO"; then :
40283 glibcxx_cv_func_powl_use=yes
40284 else
40285 glibcxx_cv_func_powl_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_powl_use" >&5
40299 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40301 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40302 for ac_func in powl
40303 do :
40304 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40305 if test "x$ac_cv_func_powl" = x""yes; then :
40306 cat >>confdefs.h <<_ACEOF
40307 #define HAVE_POWL 1
40308 _ACEOF
40311 done
40313 else
40315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40316 $as_echo_n "checking for _powl declaration... " >&6; }
40317 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40318 if test "${glibcxx_cv_func__powl_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 _powl(0, 0);
40337 return 0;
40339 _ACEOF
40340 if ac_fn_cxx_try_compile "$LINENO"; then :
40341 glibcxx_cv_func__powl_use=yes
40342 else
40343 glibcxx_cv_func__powl_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__powl_use" >&5
40357 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40359 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40360 for ac_func in _powl
40361 do :
40362 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40363 if test "x$ac_cv_func__powl" = x""yes; then :
40364 cat >>confdefs.h <<_ACEOF
40365 #define HAVE__POWL 1
40366 _ACEOF
40369 done
40378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40379 $as_echo_n "checking for sqrtl declaration... " >&6; }
40380 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40381 if test "${glibcxx_cv_func_sqrtl_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 sqrtl(0);
40404 return 0;
40406 _ACEOF
40407 if ac_fn_cxx_try_compile "$LINENO"; then :
40408 glibcxx_cv_func_sqrtl_use=yes
40409 else
40410 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
40424 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40426 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40427 for ac_func in sqrtl
40428 do :
40429 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40430 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40431 cat >>confdefs.h <<_ACEOF
40432 #define HAVE_SQRTL 1
40433 _ACEOF
40436 done
40438 else
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40441 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40442 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40443 if test "${glibcxx_cv_func__sqrtl_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 _sqrtl(0);
40466 return 0;
40468 _ACEOF
40469 if ac_fn_cxx_try_compile "$LINENO"; then :
40470 glibcxx_cv_func__sqrtl_use=yes
40471 else
40472 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
40486 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40488 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40489 for ac_func in _sqrtl
40490 do :
40491 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40492 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40493 cat >>confdefs.h <<_ACEOF
40494 #define HAVE__SQRTL 1
40495 _ACEOF
40498 done
40507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40508 $as_echo_n "checking for sincosl declaration... " >&6; }
40509 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40510 if test "${glibcxx_cv_func_sincosl_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>
40525 main ()
40527 sincosl(0, 0, 0);
40529 return 0;
40531 _ACEOF
40532 if ac_fn_cxx_try_compile "$LINENO"; then :
40533 glibcxx_cv_func_sincosl_use=yes
40534 else
40535 glibcxx_cv_func_sincosl_use=no
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538 ac_ext=c
40539 ac_cpp='$CPP $CPPFLAGS'
40540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40549 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40551 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40552 for ac_func in sincosl
40553 do :
40554 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40555 if test "x$ac_cv_func_sincosl" = x""yes; then :
40556 cat >>confdefs.h <<_ACEOF
40557 #define HAVE_SINCOSL 1
40558 _ACEOF
40561 done
40563 else
40565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40566 $as_echo_n "checking for _sincosl declaration... " >&6; }
40567 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40568 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40569 $as_echo_n "(cached) " >&6
40570 else
40573 ac_ext=cpp
40574 ac_cpp='$CXXCPP $CPPFLAGS'
40575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40580 /* end confdefs.h. */
40581 #include <math.h>
40583 main ()
40585 _sincosl(0, 0, 0);
40587 return 0;
40589 _ACEOF
40590 if ac_fn_cxx_try_compile "$LINENO"; then :
40591 glibcxx_cv_func__sincosl_use=yes
40592 else
40593 glibcxx_cv_func__sincosl_use=no
40595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40596 ac_ext=c
40597 ac_cpp='$CPP $CPPFLAGS'
40598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40607 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40609 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40610 for ac_func in _sincosl
40611 do :
40612 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40613 if test "x$ac_cv_func__sincosl" = x""yes; then :
40614 cat >>confdefs.h <<_ACEOF
40615 #define HAVE__SINCOSL 1
40616 _ACEOF
40619 done
40628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40629 $as_echo_n "checking for finitel declaration... " >&6; }
40630 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40631 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40632 $as_echo_n "(cached) " >&6
40633 else
40636 ac_ext=cpp
40637 ac_cpp='$CXXCPP $CPPFLAGS'
40638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40643 /* end confdefs.h. */
40644 #include <math.h>
40645 #ifdef HAVE_IEEEFP_H
40646 #include <ieeefp.h>
40647 #endif
40650 main ()
40652 finitel(0);
40654 return 0;
40656 _ACEOF
40657 if ac_fn_cxx_try_compile "$LINENO"; then :
40658 glibcxx_cv_func_finitel_use=yes
40659 else
40660 glibcxx_cv_func_finitel_use=no
40662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40663 ac_ext=c
40664 ac_cpp='$CPP $CPPFLAGS'
40665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40674 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40676 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40677 for ac_func in finitel
40678 do :
40679 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40680 if test "x$ac_cv_func_finitel" = x""yes; then :
40681 cat >>confdefs.h <<_ACEOF
40682 #define HAVE_FINITEL 1
40683 _ACEOF
40686 done
40688 else
40690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40691 $as_echo_n "checking for _finitel declaration... " >&6; }
40692 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40693 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40694 $as_echo_n "(cached) " >&6
40695 else
40698 ac_ext=cpp
40699 ac_cpp='$CXXCPP $CPPFLAGS'
40700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40705 /* end confdefs.h. */
40706 #include <math.h>
40707 #ifdef HAVE_IEEEFP_H
40708 #include <ieeefp.h>
40709 #endif
40712 main ()
40714 _finitel(0);
40716 return 0;
40718 _ACEOF
40719 if ac_fn_cxx_try_compile "$LINENO"; then :
40720 glibcxx_cv_func__finitel_use=yes
40721 else
40722 glibcxx_cv_func__finitel_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__finitel_use" >&5
40736 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40738 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40739 for ac_func in _finitel
40740 do :
40741 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40742 if test "x$ac_cv_func__finitel" = x""yes; then :
40743 cat >>confdefs.h <<_ACEOF
40744 #define HAVE__FINITEL 1
40745 _ACEOF
40748 done
40756 LIBS="$ac_save_LIBS"
40757 CXXFLAGS="$ac_save_CXXFLAGS"
40760 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40761 ac_save_CXXFLAGS="$CXXFLAGS"
40762 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40766 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40767 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40768 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40769 $as_echo_n "(cached) " >&6
40770 else
40773 ac_ext=cpp
40774 ac_cpp='$CXXCPP $CPPFLAGS'
40775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40780 /* end confdefs.h. */
40781 #include <stdlib.h>
40783 main ()
40785 at_quick_exit(0);
40787 return 0;
40789 _ACEOF
40790 if ac_fn_cxx_try_compile "$LINENO"; then :
40791 glibcxx_cv_func_at_quick_exit_use=yes
40792 else
40793 glibcxx_cv_func_at_quick_exit_use=no
40795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40796 ac_ext=c
40797 ac_cpp='$CPP $CPPFLAGS'
40798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40807 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40808 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40809 for ac_func in at_quick_exit
40810 do :
40811 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40812 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40813 cat >>confdefs.h <<_ACEOF
40814 #define HAVE_AT_QUICK_EXIT 1
40815 _ACEOF
40818 done
40823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40824 $as_echo_n "checking for quick_exit declaration... " >&6; }
40825 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40826 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40827 $as_echo_n "(cached) " >&6
40828 else
40831 ac_ext=cpp
40832 ac_cpp='$CXXCPP $CPPFLAGS'
40833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40838 /* end confdefs.h. */
40839 #include <stdlib.h>
40841 main ()
40843 quick_exit(0);
40845 return 0;
40847 _ACEOF
40848 if ac_fn_cxx_try_compile "$LINENO"; then :
40849 glibcxx_cv_func_quick_exit_use=yes
40850 else
40851 glibcxx_cv_func_quick_exit_use=no
40853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40854 ac_ext=c
40855 ac_cpp='$CPP $CPPFLAGS'
40856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40865 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40866 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40867 for ac_func in quick_exit
40868 do :
40869 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40870 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40871 cat >>confdefs.h <<_ACEOF
40872 #define HAVE_QUICK_EXIT 1
40873 _ACEOF
40876 done
40881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40882 $as_echo_n "checking for strtold declaration... " >&6; }
40883 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40884 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40885 $as_echo_n "(cached) " >&6
40886 else
40889 ac_ext=cpp
40890 ac_cpp='$CXXCPP $CPPFLAGS'
40891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40896 /* end confdefs.h. */
40897 #include <stdlib.h>
40899 main ()
40901 strtold(0, 0);
40903 return 0;
40905 _ACEOF
40906 if ac_fn_cxx_try_compile "$LINENO"; then :
40907 glibcxx_cv_func_strtold_use=yes
40908 else
40909 glibcxx_cv_func_strtold_use=no
40911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40912 ac_ext=c
40913 ac_cpp='$CPP $CPPFLAGS'
40914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40923 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40924 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40925 for ac_func in strtold
40926 do :
40927 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40928 if test "x$ac_cv_func_strtold" = x""yes; then :
40929 cat >>confdefs.h <<_ACEOF
40930 #define HAVE_STRTOLD 1
40931 _ACEOF
40934 done
40941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40942 $as_echo_n "checking for strtof declaration... " >&6; }
40943 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40944 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40945 $as_echo_n "(cached) " >&6
40946 else
40949 ac_ext=cpp
40950 ac_cpp='$CXXCPP $CPPFLAGS'
40951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40956 /* end confdefs.h. */
40957 #include <stdlib.h>
40959 main ()
40961 strtof(0, 0);
40963 return 0;
40965 _ACEOF
40966 if ac_fn_cxx_try_compile "$LINENO"; then :
40967 glibcxx_cv_func_strtof_use=yes
40968 else
40969 glibcxx_cv_func_strtof_use=no
40971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40972 ac_ext=c
40973 ac_cpp='$CPP $CPPFLAGS'
40974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40983 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40984 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40985 for ac_func in strtof
40986 do :
40987 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40988 if test "x$ac_cv_func_strtof" = x""yes; then :
40989 cat >>confdefs.h <<_ACEOF
40990 #define HAVE_STRTOF 1
40991 _ACEOF
40994 done
41001 CXXFLAGS="$ac_save_CXXFLAGS"
41008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41009 $as_echo_n "checking for iconv... " >&6; }
41010 if test "${am_cv_func_iconv+set}" = set; then :
41011 $as_echo_n "(cached) " >&6
41012 else
41014 am_cv_func_iconv="no, consider installing GNU libiconv"
41015 am_cv_lib_iconv=no
41016 am_save_CPPFLAGS="$CPPFLAGS"
41017 CPPFLAGS="$CPPFLAGS $INCICONV"
41018 if test x$gcc_no_link = xyes; then
41019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41022 /* end confdefs.h. */
41023 #include <stdlib.h>
41024 #include <iconv.h>
41026 main ()
41028 iconv_t cd = iconv_open("","");
41029 iconv(cd,NULL,NULL,NULL,NULL);
41030 iconv_close(cd);
41032 return 0;
41034 _ACEOF
41035 if ac_fn_c_try_link "$LINENO"; then :
41036 am_cv_func_iconv=yes
41038 rm -f core conftest.err conftest.$ac_objext \
41039 conftest$ac_exeext conftest.$ac_ext
41040 CPPFLAGS="$am_save_CPPFLAGS"
41042 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41043 for _libs in .libs _libs; do
41044 am_save_CPPFLAGS="$CPPFLAGS"
41045 am_save_LIBS="$LIBS"
41046 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41047 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41048 if test x$gcc_no_link = xyes; then
41049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41052 /* end confdefs.h. */
41053 #include <stdlib.h>
41054 #include <iconv.h>
41056 main ()
41058 iconv_t cd = iconv_open("","");
41059 iconv(cd,NULL,NULL,NULL,NULL);
41060 iconv_close(cd);
41062 return 0;
41064 _ACEOF
41065 if ac_fn_c_try_link "$LINENO"; then :
41066 INCICONV="-I../libiconv/include"
41067 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41068 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41069 am_cv_lib_iconv=yes
41070 am_cv_func_iconv=yes
41072 rm -f core conftest.err conftest.$ac_objext \
41073 conftest$ac_exeext conftest.$ac_ext
41074 CPPFLAGS="$am_save_CPPFLAGS"
41075 LIBS="$am_save_LIBS"
41076 if test "$am_cv_func_iconv" = "yes"; then
41077 break
41079 done
41082 if test "$am_cv_func_iconv" != yes; then
41083 am_save_CPPFLAGS="$CPPFLAGS"
41084 am_save_LIBS="$LIBS"
41085 CPPFLAGS="$LIBS $INCICONV"
41086 LIBS="$LIBS $LIBICONV"
41087 if test x$gcc_no_link = xyes; then
41088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41091 /* end confdefs.h. */
41092 #include <stdlib.h>
41093 #include <iconv.h>
41095 main ()
41097 iconv_t cd = iconv_open("","");
41098 iconv(cd,NULL,NULL,NULL,NULL);
41099 iconv_close(cd);
41101 return 0;
41103 _ACEOF
41104 if ac_fn_c_try_link "$LINENO"; then :
41105 am_cv_lib_iconv=yes
41106 am_cv_func_iconv=yes
41108 rm -f core conftest.err conftest.$ac_objext \
41109 conftest$ac_exeext conftest.$ac_ext
41110 CPPFLAGS="$am_save_CPPFLAGS"
41111 LIBS="$am_save_LIBS"
41115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41116 $as_echo "$am_cv_func_iconv" >&6; }
41117 if test "$am_cv_func_iconv" = yes; then
41119 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41122 if test "$am_cv_lib_iconv" = yes; then
41124 for element in $INCICONV; do
41125 haveit=
41126 for x in $CPPFLAGS; do
41128 acl_save_prefix="$prefix"
41129 prefix="$acl_final_prefix"
41130 acl_save_exec_prefix="$exec_prefix"
41131 exec_prefix="$acl_final_exec_prefix"
41132 eval x=\"$x\"
41133 exec_prefix="$acl_save_exec_prefix"
41134 prefix="$acl_save_prefix"
41136 if test "X$x" = "X$element"; then
41137 haveit=yes
41138 break
41140 done
41141 if test -z "$haveit"; then
41142 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41144 done
41146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41147 $as_echo_n "checking how to link with libiconv... " >&6; }
41148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41149 $as_echo "$LIBICONV" >&6; }
41150 else
41151 LIBICONV=
41152 LTLIBICONV=
41157 if test "$am_cv_func_iconv" = yes; then
41158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41159 $as_echo_n "checking for iconv declaration... " >&6; }
41160 if test "${am_cv_proto_iconv+set}" = set; then :
41161 $as_echo_n "(cached) " >&6
41162 else
41164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41165 /* end confdefs.h. */
41167 #include <stdlib.h>
41168 #include <iconv.h>
41169 extern
41170 #ifdef __cplusplus
41172 #endif
41173 #if defined(__STDC__) || defined(__cplusplus)
41174 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41175 #else
41176 size_t iconv();
41177 #endif
41180 main ()
41184 return 0;
41186 _ACEOF
41187 if ac_fn_c_try_compile "$LINENO"; then :
41188 am_cv_proto_iconv_arg1=""
41189 else
41190 am_cv_proto_iconv_arg1="const"
41192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41193 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);"
41196 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41198 }$am_cv_proto_iconv" >&5
41199 $as_echo "${ac_t:-
41200 }$am_cv_proto_iconv" >&6; }
41202 cat >>confdefs.h <<_ACEOF
41203 #define ICONV_CONST $am_cv_proto_iconv_arg1
41204 _ACEOF
41210 *-aix*)
41212 # If we're not using GNU ld, then there's no point in even trying these
41213 # tests. Check for that first. We should have already tested for gld
41214 # by now (in libtool), but require it now just to be safe...
41215 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41216 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41220 # The name set by libtool depends on the version of libtool. Shame on us
41221 # for depending on an impl detail, but c'est la vie. Older versions used
41222 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41223 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41224 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41225 # set (hence we're using an older libtool), then set it.
41226 if test x${with_gnu_ld+set} != xset; then
41227 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41228 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41229 with_gnu_ld=no
41230 else
41231 with_gnu_ld=$ac_cv_prog_gnu_ld
41235 # Start by getting the version number. I think the libtool test already
41236 # does some of this, but throws away the result.
41237 glibcxx_ld_is_gold=no
41238 if test x"$with_gnu_ld" = x"yes"; then
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41240 $as_echo_n "checking for ld version... " >&6; }
41242 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41243 glibcxx_ld_is_gold=yes
41245 ldver=`$LD --version 2>/dev/null |
41246 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'`
41248 glibcxx_gnu_ld_version=`echo $ldver | \
41249 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41251 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41254 # Set --gc-sections.
41255 glibcxx_have_gc_sections=no
41256 if test "$glibcxx_ld_is_gold" = "yes"; then
41257 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41258 glibcxx_have_gc_sections=yes
41260 else
41261 glibcxx_gcsections_min_ld=21602
41262 if test x"$with_gnu_ld" = x"yes" &&
41263 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41264 glibcxx_have_gc_sections=yes
41267 if test "$glibcxx_have_gc_sections" = "yes"; then
41268 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41269 # NB: This flag only works reliably after 2.16.1. Configure tests
41270 # for this are difficult, so hard wire a value that should work.
41272 ac_test_CFLAGS="${CFLAGS+set}"
41273 ac_save_CFLAGS="$CFLAGS"
41274 CFLAGS='-Wl,--gc-sections'
41276 # Check for -Wl,--gc-sections
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41278 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41279 if test x$gcc_no_link = xyes; then
41280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41283 /* end confdefs.h. */
41284 int one(void) { return 1; }
41285 int two(void) { return 2; }
41288 main ()
41290 two();
41292 return 0;
41294 _ACEOF
41295 if ac_fn_c_try_link "$LINENO"; then :
41296 ac_gcsections=yes
41297 else
41298 ac_gcsections=no
41300 rm -f core conftest.err conftest.$ac_objext \
41301 conftest$ac_exeext conftest.$ac_ext
41302 if test "$ac_gcsections" = "yes"; then
41303 rm -f conftest.c
41304 touch conftest.c
41305 if $CC -c conftest.c; then
41306 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41307 grep "Warning: gc-sections option ignored" > /dev/null; then
41308 ac_gcsections=no
41311 rm -f conftest.c conftest.o conftest
41313 if test "$ac_gcsections" = "yes"; then
41314 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41317 $as_echo "$ac_gcsections" >&6; }
41319 if test "$ac_test_CFLAGS" = set; then
41320 CFLAGS="$ac_save_CFLAGS"
41321 else
41322 # this is the suspicious part
41323 CFLAGS=''
41327 # Set -z,relro.
41328 # Note this is only for shared objects.
41329 ac_ld_relro=no
41330 if test x"$with_gnu_ld" = x"yes"; then
41331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41332 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41333 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41334 if test -n "$cxx_z_relo"; then
41335 OPT_LDFLAGS="-Wl,-z,relro"
41336 ac_ld_relro=yes
41338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41339 $as_echo "$ac_ld_relro" >&6; }
41342 # Set linker optimization flags.
41343 if test x"$with_gnu_ld" = x"yes"; then
41344 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41351 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41352 ac_save_CXXFLAGS="$CXXFLAGS"
41353 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41356 $as_echo_n "checking for sin in -lm... " >&6; }
41357 if test "${ac_cv_lib_m_sin+set}" = set; then :
41358 $as_echo_n "(cached) " >&6
41359 else
41360 ac_check_lib_save_LIBS=$LIBS
41361 LIBS="-lm $LIBS"
41362 if test x$gcc_no_link = xyes; then
41363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41366 /* end confdefs.h. */
41368 /* Override any GCC internal prototype to avoid an error.
41369 Use char because int might match the return type of a GCC
41370 builtin and then its argument prototype would still apply. */
41371 #ifdef __cplusplus
41372 extern "C"
41373 #endif
41374 char sin ();
41376 main ()
41378 return sin ();
41380 return 0;
41382 _ACEOF
41383 if ac_fn_c_try_link "$LINENO"; then :
41384 ac_cv_lib_m_sin=yes
41385 else
41386 ac_cv_lib_m_sin=no
41388 rm -f core conftest.err conftest.$ac_objext \
41389 conftest$ac_exeext conftest.$ac_ext
41390 LIBS=$ac_check_lib_save_LIBS
41392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41393 $as_echo "$ac_cv_lib_m_sin" >&6; }
41394 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41395 libm="-lm"
41398 ac_save_LIBS="$LIBS"
41399 LIBS="$LIBS $libm"
41403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41404 $as_echo_n "checking for isinf declaration... " >&6; }
41405 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41406 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41407 $as_echo_n "(cached) " >&6
41408 else
41411 ac_ext=cpp
41412 ac_cpp='$CXXCPP $CPPFLAGS'
41413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41418 /* end confdefs.h. */
41419 #include <math.h>
41420 #ifdef HAVE_IEEEFP_H
41421 #include <ieeefp.h>
41422 #endif
41425 main ()
41427 isinf(0);
41429 return 0;
41431 _ACEOF
41432 if ac_fn_cxx_try_compile "$LINENO"; then :
41433 glibcxx_cv_func_isinf_use=yes
41434 else
41435 glibcxx_cv_func_isinf_use=no
41437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41438 ac_ext=c
41439 ac_cpp='$CPP $CPPFLAGS'
41440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41449 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41451 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41452 for ac_func in isinf
41453 do :
41454 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41455 if test "x$ac_cv_func_isinf" = x""yes; then :
41456 cat >>confdefs.h <<_ACEOF
41457 #define HAVE_ISINF 1
41458 _ACEOF
41461 done
41463 else
41465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41466 $as_echo_n "checking for _isinf declaration... " >&6; }
41467 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41468 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41469 $as_echo_n "(cached) " >&6
41470 else
41473 ac_ext=cpp
41474 ac_cpp='$CXXCPP $CPPFLAGS'
41475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41480 /* end confdefs.h. */
41481 #include <math.h>
41482 #ifdef HAVE_IEEEFP_H
41483 #include <ieeefp.h>
41484 #endif
41487 main ()
41489 _isinf(0);
41491 return 0;
41493 _ACEOF
41494 if ac_fn_cxx_try_compile "$LINENO"; then :
41495 glibcxx_cv_func__isinf_use=yes
41496 else
41497 glibcxx_cv_func__isinf_use=no
41499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41500 ac_ext=c
41501 ac_cpp='$CPP $CPPFLAGS'
41502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41511 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41513 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41514 for ac_func in _isinf
41515 do :
41516 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41517 if test "x$ac_cv_func__isinf" = x""yes; then :
41518 cat >>confdefs.h <<_ACEOF
41519 #define HAVE__ISINF 1
41520 _ACEOF
41523 done
41532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41533 $as_echo_n "checking for isnan declaration... " >&6; }
41534 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41535 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41536 $as_echo_n "(cached) " >&6
41537 else
41540 ac_ext=cpp
41541 ac_cpp='$CXXCPP $CPPFLAGS'
41542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41547 /* end confdefs.h. */
41548 #include <math.h>
41549 #ifdef HAVE_IEEEFP_H
41550 #include <ieeefp.h>
41551 #endif
41554 main ()
41556 isnan(0);
41558 return 0;
41560 _ACEOF
41561 if ac_fn_cxx_try_compile "$LINENO"; then :
41562 glibcxx_cv_func_isnan_use=yes
41563 else
41564 glibcxx_cv_func_isnan_use=no
41566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41567 ac_ext=c
41568 ac_cpp='$CPP $CPPFLAGS'
41569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41578 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41580 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41581 for ac_func in isnan
41582 do :
41583 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41584 if test "x$ac_cv_func_isnan" = x""yes; then :
41585 cat >>confdefs.h <<_ACEOF
41586 #define HAVE_ISNAN 1
41587 _ACEOF
41590 done
41592 else
41594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41595 $as_echo_n "checking for _isnan declaration... " >&6; }
41596 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41597 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41598 $as_echo_n "(cached) " >&6
41599 else
41602 ac_ext=cpp
41603 ac_cpp='$CXXCPP $CPPFLAGS'
41604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41609 /* end confdefs.h. */
41610 #include <math.h>
41611 #ifdef HAVE_IEEEFP_H
41612 #include <ieeefp.h>
41613 #endif
41616 main ()
41618 _isnan(0);
41620 return 0;
41622 _ACEOF
41623 if ac_fn_cxx_try_compile "$LINENO"; then :
41624 glibcxx_cv_func__isnan_use=yes
41625 else
41626 glibcxx_cv_func__isnan_use=no
41628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41629 ac_ext=c
41630 ac_cpp='$CPP $CPPFLAGS'
41631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41640 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41642 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41643 for ac_func in _isnan
41644 do :
41645 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41646 if test "x$ac_cv_func__isnan" = x""yes; then :
41647 cat >>confdefs.h <<_ACEOF
41648 #define HAVE__ISNAN 1
41649 _ACEOF
41652 done
41661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41662 $as_echo_n "checking for finite declaration... " >&6; }
41663 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41664 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41665 $as_echo_n "(cached) " >&6
41666 else
41669 ac_ext=cpp
41670 ac_cpp='$CXXCPP $CPPFLAGS'
41671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41676 /* end confdefs.h. */
41677 #include <math.h>
41678 #ifdef HAVE_IEEEFP_H
41679 #include <ieeefp.h>
41680 #endif
41683 main ()
41685 finite(0);
41687 return 0;
41689 _ACEOF
41690 if ac_fn_cxx_try_compile "$LINENO"; then :
41691 glibcxx_cv_func_finite_use=yes
41692 else
41693 glibcxx_cv_func_finite_use=no
41695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41696 ac_ext=c
41697 ac_cpp='$CPP $CPPFLAGS'
41698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41707 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41709 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41710 for ac_func in finite
41711 do :
41712 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41713 if test "x$ac_cv_func_finite" = x""yes; then :
41714 cat >>confdefs.h <<_ACEOF
41715 #define HAVE_FINITE 1
41716 _ACEOF
41719 done
41721 else
41723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41724 $as_echo_n "checking for _finite declaration... " >&6; }
41725 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41726 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41727 $as_echo_n "(cached) " >&6
41728 else
41731 ac_ext=cpp
41732 ac_cpp='$CXXCPP $CPPFLAGS'
41733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41738 /* end confdefs.h. */
41739 #include <math.h>
41740 #ifdef HAVE_IEEEFP_H
41741 #include <ieeefp.h>
41742 #endif
41745 main ()
41747 _finite(0);
41749 return 0;
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753 glibcxx_cv_func__finite_use=yes
41754 else
41755 glibcxx_cv_func__finite_use=no
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758 ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41769 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41771 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41772 for ac_func in _finite
41773 do :
41774 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41775 if test "x$ac_cv_func__finite" = x""yes; then :
41776 cat >>confdefs.h <<_ACEOF
41777 #define HAVE__FINITE 1
41778 _ACEOF
41781 done
41790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41791 $as_echo_n "checking for sincos declaration... " >&6; }
41792 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41793 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41794 $as_echo_n "(cached) " >&6
41795 else
41798 ac_ext=cpp
41799 ac_cpp='$CXXCPP $CPPFLAGS'
41800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41805 /* end confdefs.h. */
41806 #include <math.h>
41808 main ()
41810 sincos(0, 0, 0);
41812 return 0;
41814 _ACEOF
41815 if ac_fn_cxx_try_compile "$LINENO"; then :
41816 glibcxx_cv_func_sincos_use=yes
41817 else
41818 glibcxx_cv_func_sincos_use=no
41820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41821 ac_ext=c
41822 ac_cpp='$CPP $CPPFLAGS'
41823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41832 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41834 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41835 for ac_func in sincos
41836 do :
41837 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41838 if test "x$ac_cv_func_sincos" = x""yes; then :
41839 cat >>confdefs.h <<_ACEOF
41840 #define HAVE_SINCOS 1
41841 _ACEOF
41844 done
41846 else
41848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41849 $as_echo_n "checking for _sincos declaration... " >&6; }
41850 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41851 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41852 $as_echo_n "(cached) " >&6
41853 else
41856 ac_ext=cpp
41857 ac_cpp='$CXXCPP $CPPFLAGS'
41858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41863 /* end confdefs.h. */
41864 #include <math.h>
41866 main ()
41868 _sincos(0, 0, 0);
41870 return 0;
41872 _ACEOF
41873 if ac_fn_cxx_try_compile "$LINENO"; then :
41874 glibcxx_cv_func__sincos_use=yes
41875 else
41876 glibcxx_cv_func__sincos_use=no
41878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41879 ac_ext=c
41880 ac_cpp='$CPP $CPPFLAGS'
41881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41890 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41892 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41893 for ac_func in _sincos
41894 do :
41895 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41896 if test "x$ac_cv_func__sincos" = x""yes; then :
41897 cat >>confdefs.h <<_ACEOF
41898 #define HAVE__SINCOS 1
41899 _ACEOF
41902 done
41911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41912 $as_echo_n "checking for fpclass declaration... " >&6; }
41913 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41914 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41915 $as_echo_n "(cached) " >&6
41916 else
41919 ac_ext=cpp
41920 ac_cpp='$CXXCPP $CPPFLAGS'
41921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41926 /* end confdefs.h. */
41927 #include <math.h>
41928 #ifdef HAVE_IEEEFP_H
41929 #include <ieeefp.h>
41930 #endif
41933 main ()
41935 fpclass(0);
41937 return 0;
41939 _ACEOF
41940 if ac_fn_cxx_try_compile "$LINENO"; then :
41941 glibcxx_cv_func_fpclass_use=yes
41942 else
41943 glibcxx_cv_func_fpclass_use=no
41945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41946 ac_ext=c
41947 ac_cpp='$CPP $CPPFLAGS'
41948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41957 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41959 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41960 for ac_func in fpclass
41961 do :
41962 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41963 if test "x$ac_cv_func_fpclass" = x""yes; then :
41964 cat >>confdefs.h <<_ACEOF
41965 #define HAVE_FPCLASS 1
41966 _ACEOF
41969 done
41971 else
41973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41974 $as_echo_n "checking for _fpclass declaration... " >&6; }
41975 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41976 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41977 $as_echo_n "(cached) " >&6
41978 else
41981 ac_ext=cpp
41982 ac_cpp='$CXXCPP $CPPFLAGS'
41983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41988 /* end confdefs.h. */
41989 #include <math.h>
41990 #ifdef HAVE_IEEEFP_H
41991 #include <ieeefp.h>
41992 #endif
41995 main ()
41997 _fpclass(0);
41999 return 0;
42001 _ACEOF
42002 if ac_fn_cxx_try_compile "$LINENO"; then :
42003 glibcxx_cv_func__fpclass_use=yes
42004 else
42005 glibcxx_cv_func__fpclass_use=no
42007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008 ac_ext=c
42009 ac_cpp='$CPP $CPPFLAGS'
42010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42019 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42021 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42022 for ac_func in _fpclass
42023 do :
42024 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42025 if test "x$ac_cv_func__fpclass" = x""yes; then :
42026 cat >>confdefs.h <<_ACEOF
42027 #define HAVE__FPCLASS 1
42028 _ACEOF
42031 done
42040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42041 $as_echo_n "checking for qfpclass declaration... " >&6; }
42042 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42043 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42044 $as_echo_n "(cached) " >&6
42045 else
42048 ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h. */
42056 #include <math.h>
42057 #ifdef HAVE_IEEEFP_H
42058 #include <ieeefp.h>
42059 #endif
42062 main ()
42064 qfpclass(0);
42066 return 0;
42068 _ACEOF
42069 if ac_fn_cxx_try_compile "$LINENO"; then :
42070 glibcxx_cv_func_qfpclass_use=yes
42071 else
42072 glibcxx_cv_func_qfpclass_use=no
42074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42075 ac_ext=c
42076 ac_cpp='$CPP $CPPFLAGS'
42077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42086 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42088 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42089 for ac_func in qfpclass
42090 do :
42091 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42092 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42093 cat >>confdefs.h <<_ACEOF
42094 #define HAVE_QFPCLASS 1
42095 _ACEOF
42098 done
42100 else
42102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42103 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42104 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42105 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42106 $as_echo_n "(cached) " >&6
42107 else
42110 ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h. */
42118 #include <math.h>
42119 #ifdef HAVE_IEEEFP_H
42120 #include <ieeefp.h>
42121 #endif
42124 main ()
42126 _qfpclass(0);
42128 return 0;
42130 _ACEOF
42131 if ac_fn_cxx_try_compile "$LINENO"; then :
42132 glibcxx_cv_func__qfpclass_use=yes
42133 else
42134 glibcxx_cv_func__qfpclass_use=no
42136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42137 ac_ext=c
42138 ac_cpp='$CPP $CPPFLAGS'
42139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42148 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42150 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42151 for ac_func in _qfpclass
42152 do :
42153 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42154 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42155 cat >>confdefs.h <<_ACEOF
42156 #define HAVE__QFPCLASS 1
42157 _ACEOF
42160 done
42169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42170 $as_echo_n "checking for hypot declaration... " >&6; }
42171 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42172 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42173 $as_echo_n "(cached) " >&6
42174 else
42177 ac_ext=cpp
42178 ac_cpp='$CXXCPP $CPPFLAGS'
42179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42184 /* end confdefs.h. */
42185 #include <math.h>
42187 main ()
42189 hypot(0, 0);
42191 return 0;
42193 _ACEOF
42194 if ac_fn_cxx_try_compile "$LINENO"; then :
42195 glibcxx_cv_func_hypot_use=yes
42196 else
42197 glibcxx_cv_func_hypot_use=no
42199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42200 ac_ext=c
42201 ac_cpp='$CPP $CPPFLAGS'
42202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42211 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42213 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42214 for ac_func in hypot
42215 do :
42216 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42217 if test "x$ac_cv_func_hypot" = x""yes; then :
42218 cat >>confdefs.h <<_ACEOF
42219 #define HAVE_HYPOT 1
42220 _ACEOF
42223 done
42225 else
42227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42228 $as_echo_n "checking for _hypot declaration... " >&6; }
42229 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42230 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42231 $as_echo_n "(cached) " >&6
42232 else
42235 ac_ext=cpp
42236 ac_cpp='$CXXCPP $CPPFLAGS'
42237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42242 /* end confdefs.h. */
42243 #include <math.h>
42245 main ()
42247 _hypot(0, 0);
42249 return 0;
42251 _ACEOF
42252 if ac_fn_cxx_try_compile "$LINENO"; then :
42253 glibcxx_cv_func__hypot_use=yes
42254 else
42255 glibcxx_cv_func__hypot_use=no
42257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42258 ac_ext=c
42259 ac_cpp='$CPP $CPPFLAGS'
42260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42269 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42271 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42272 for ac_func in _hypot
42273 do :
42274 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42275 if test "x$ac_cv_func__hypot" = x""yes; then :
42276 cat >>confdefs.h <<_ACEOF
42277 #define HAVE__HYPOT 1
42278 _ACEOF
42281 done
42290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42291 $as_echo_n "checking for float trig functions... " >&6; }
42292 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42293 $as_echo_n "(cached) " >&6
42294 else
42297 ac_ext=cpp
42298 ac_cpp='$CXXCPP $CPPFLAGS'
42299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42304 /* end confdefs.h. */
42305 #include <math.h>
42307 main ()
42309 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42311 return 0;
42313 _ACEOF
42314 if ac_fn_cxx_try_compile "$LINENO"; then :
42315 glibcxx_cv_func_float_trig_use=yes
42316 else
42317 glibcxx_cv_func_float_trig_use=no
42319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42320 ac_ext=c
42321 ac_cpp='$CPP $CPPFLAGS'
42322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42329 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42330 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42331 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42332 do :
42333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42335 eval as_val=\$$as_ac_var
42336 if test "x$as_val" = x""yes; then :
42337 cat >>confdefs.h <<_ACEOF
42338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42339 _ACEOF
42342 done
42344 else
42345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42346 $as_echo_n "checking for _float trig functions... " >&6; }
42347 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42348 $as_echo_n "(cached) " >&6
42349 else
42352 ac_ext=cpp
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42359 /* end confdefs.h. */
42360 #include <math.h>
42362 main ()
42364 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42366 return 0;
42368 _ACEOF
42369 if ac_fn_cxx_try_compile "$LINENO"; then :
42370 glibcxx_cv_func__float_trig_use=yes
42371 else
42372 glibcxx_cv_func__float_trig_use=no
42374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42375 ac_ext=c
42376 ac_cpp='$CPP $CPPFLAGS'
42377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42384 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42385 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42386 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42387 do :
42388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42390 eval as_val=\$$as_ac_var
42391 if test "x$as_val" = x""yes; then :
42392 cat >>confdefs.h <<_ACEOF
42393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42394 _ACEOF
42397 done
42406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42407 $as_echo_n "checking for float round functions... " >&6; }
42408 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42409 $as_echo_n "(cached) " >&6
42410 else
42413 ac_ext=cpp
42414 ac_cpp='$CXXCPP $CPPFLAGS'
42415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42420 /* end confdefs.h. */
42421 #include <math.h>
42423 main ()
42425 ceilf (0); floorf (0);
42427 return 0;
42429 _ACEOF
42430 if ac_fn_cxx_try_compile "$LINENO"; then :
42431 glibcxx_cv_func_float_round_use=yes
42432 else
42433 glibcxx_cv_func_float_round_use=no
42435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42436 ac_ext=c
42437 ac_cpp='$CPP $CPPFLAGS'
42438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42445 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42446 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42447 for ac_func in ceilf floorf
42448 do :
42449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42451 eval as_val=\$$as_ac_var
42452 if test "x$as_val" = x""yes; then :
42453 cat >>confdefs.h <<_ACEOF
42454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42455 _ACEOF
42458 done
42460 else
42461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42462 $as_echo_n "checking for _float round functions... " >&6; }
42463 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42464 $as_echo_n "(cached) " >&6
42465 else
42468 ac_ext=cpp
42469 ac_cpp='$CXXCPP $CPPFLAGS'
42470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42475 /* end confdefs.h. */
42476 #include <math.h>
42478 main ()
42480 _ceilf (0); _floorf (0);
42482 return 0;
42484 _ACEOF
42485 if ac_fn_cxx_try_compile "$LINENO"; then :
42486 glibcxx_cv_func__float_round_use=yes
42487 else
42488 glibcxx_cv_func__float_round_use=no
42490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42491 ac_ext=c
42492 ac_cpp='$CPP $CPPFLAGS'
42493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42500 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42501 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42502 for ac_func in _ceilf _floorf
42503 do :
42504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42506 eval as_val=\$$as_ac_var
42507 if test "x$as_val" = x""yes; then :
42508 cat >>confdefs.h <<_ACEOF
42509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42510 _ACEOF
42513 done
42523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42524 $as_echo_n "checking for expf declaration... " >&6; }
42525 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42526 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42527 $as_echo_n "(cached) " >&6
42528 else
42531 ac_ext=cpp
42532 ac_cpp='$CXXCPP $CPPFLAGS'
42533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42538 /* end confdefs.h. */
42539 #include <math.h>
42540 #ifdef HAVE_IEEEFP_H
42541 #include <ieeefp.h>
42542 #endif
42545 main ()
42547 expf(0);
42549 return 0;
42551 _ACEOF
42552 if ac_fn_cxx_try_compile "$LINENO"; then :
42553 glibcxx_cv_func_expf_use=yes
42554 else
42555 glibcxx_cv_func_expf_use=no
42557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42558 ac_ext=c
42559 ac_cpp='$CPP $CPPFLAGS'
42560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42569 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42571 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42572 for ac_func in expf
42573 do :
42574 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42575 if test "x$ac_cv_func_expf" = x""yes; then :
42576 cat >>confdefs.h <<_ACEOF
42577 #define HAVE_EXPF 1
42578 _ACEOF
42581 done
42583 else
42585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42586 $as_echo_n "checking for _expf declaration... " >&6; }
42587 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42588 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42589 $as_echo_n "(cached) " >&6
42590 else
42593 ac_ext=cpp
42594 ac_cpp='$CXXCPP $CPPFLAGS'
42595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42600 /* end confdefs.h. */
42601 #include <math.h>
42602 #ifdef HAVE_IEEEFP_H
42603 #include <ieeefp.h>
42604 #endif
42607 main ()
42609 _expf(0);
42611 return 0;
42613 _ACEOF
42614 if ac_fn_cxx_try_compile "$LINENO"; then :
42615 glibcxx_cv_func__expf_use=yes
42616 else
42617 glibcxx_cv_func__expf_use=no
42619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42620 ac_ext=c
42621 ac_cpp='$CPP $CPPFLAGS'
42622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42631 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42633 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42634 for ac_func in _expf
42635 do :
42636 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42637 if test "x$ac_cv_func__expf" = x""yes; then :
42638 cat >>confdefs.h <<_ACEOF
42639 #define HAVE__EXPF 1
42640 _ACEOF
42643 done
42652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42653 $as_echo_n "checking for isnanf declaration... " >&6; }
42654 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42655 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42656 $as_echo_n "(cached) " >&6
42657 else
42660 ac_ext=cpp
42661 ac_cpp='$CXXCPP $CPPFLAGS'
42662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42667 /* end confdefs.h. */
42668 #include <math.h>
42669 #ifdef HAVE_IEEEFP_H
42670 #include <ieeefp.h>
42671 #endif
42674 main ()
42676 isnanf(0);
42678 return 0;
42680 _ACEOF
42681 if ac_fn_cxx_try_compile "$LINENO"; then :
42682 glibcxx_cv_func_isnanf_use=yes
42683 else
42684 glibcxx_cv_func_isnanf_use=no
42686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42687 ac_ext=c
42688 ac_cpp='$CPP $CPPFLAGS'
42689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42698 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42700 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42701 for ac_func in isnanf
42702 do :
42703 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42704 if test "x$ac_cv_func_isnanf" = x""yes; then :
42705 cat >>confdefs.h <<_ACEOF
42706 #define HAVE_ISNANF 1
42707 _ACEOF
42710 done
42712 else
42714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42715 $as_echo_n "checking for _isnanf declaration... " >&6; }
42716 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42717 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42718 $as_echo_n "(cached) " >&6
42719 else
42722 ac_ext=cpp
42723 ac_cpp='$CXXCPP $CPPFLAGS'
42724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42729 /* end confdefs.h. */
42730 #include <math.h>
42731 #ifdef HAVE_IEEEFP_H
42732 #include <ieeefp.h>
42733 #endif
42736 main ()
42738 _isnanf(0);
42740 return 0;
42742 _ACEOF
42743 if ac_fn_cxx_try_compile "$LINENO"; then :
42744 glibcxx_cv_func__isnanf_use=yes
42745 else
42746 glibcxx_cv_func__isnanf_use=no
42748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42749 ac_ext=c
42750 ac_cpp='$CPP $CPPFLAGS'
42751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42760 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42762 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42763 for ac_func in _isnanf
42764 do :
42765 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42766 if test "x$ac_cv_func__isnanf" = x""yes; then :
42767 cat >>confdefs.h <<_ACEOF
42768 #define HAVE__ISNANF 1
42769 _ACEOF
42772 done
42781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42782 $as_echo_n "checking for isinff declaration... " >&6; }
42783 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42784 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42785 $as_echo_n "(cached) " >&6
42786 else
42789 ac_ext=cpp
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h. */
42797 #include <math.h>
42798 #ifdef HAVE_IEEEFP_H
42799 #include <ieeefp.h>
42800 #endif
42803 main ()
42805 isinff(0);
42807 return 0;
42809 _ACEOF
42810 if ac_fn_cxx_try_compile "$LINENO"; then :
42811 glibcxx_cv_func_isinff_use=yes
42812 else
42813 glibcxx_cv_func_isinff_use=no
42815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42816 ac_ext=c
42817 ac_cpp='$CPP $CPPFLAGS'
42818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42827 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42829 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42830 for ac_func in isinff
42831 do :
42832 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42833 if test "x$ac_cv_func_isinff" = x""yes; then :
42834 cat >>confdefs.h <<_ACEOF
42835 #define HAVE_ISINFF 1
42836 _ACEOF
42839 done
42841 else
42843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42844 $as_echo_n "checking for _isinff declaration... " >&6; }
42845 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42846 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42847 $as_echo_n "(cached) " >&6
42848 else
42851 ac_ext=cpp
42852 ac_cpp='$CXXCPP $CPPFLAGS'
42853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42858 /* end confdefs.h. */
42859 #include <math.h>
42860 #ifdef HAVE_IEEEFP_H
42861 #include <ieeefp.h>
42862 #endif
42865 main ()
42867 _isinff(0);
42869 return 0;
42871 _ACEOF
42872 if ac_fn_cxx_try_compile "$LINENO"; then :
42873 glibcxx_cv_func__isinff_use=yes
42874 else
42875 glibcxx_cv_func__isinff_use=no
42877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42878 ac_ext=c
42879 ac_cpp='$CPP $CPPFLAGS'
42880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42889 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42891 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42892 for ac_func in _isinff
42893 do :
42894 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42895 if test "x$ac_cv_func__isinff" = x""yes; then :
42896 cat >>confdefs.h <<_ACEOF
42897 #define HAVE__ISINFF 1
42898 _ACEOF
42901 done
42910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42911 $as_echo_n "checking for atan2f declaration... " >&6; }
42912 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42913 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42914 $as_echo_n "(cached) " >&6
42915 else
42918 ac_ext=cpp
42919 ac_cpp='$CXXCPP $CPPFLAGS'
42920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42925 /* end confdefs.h. */
42926 #include <math.h>
42928 main ()
42930 atan2f(0, 0);
42932 return 0;
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936 glibcxx_cv_func_atan2f_use=yes
42937 else
42938 glibcxx_cv_func_atan2f_use=no
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941 ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42952 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42954 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42955 for ac_func in atan2f
42956 do :
42957 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42958 if test "x$ac_cv_func_atan2f" = x""yes; then :
42959 cat >>confdefs.h <<_ACEOF
42960 #define HAVE_ATAN2F 1
42961 _ACEOF
42964 done
42966 else
42968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42969 $as_echo_n "checking for _atan2f declaration... " >&6; }
42970 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42971 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42972 $as_echo_n "(cached) " >&6
42973 else
42976 ac_ext=cpp
42977 ac_cpp='$CXXCPP $CPPFLAGS'
42978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42983 /* end confdefs.h. */
42984 #include <math.h>
42986 main ()
42988 _atan2f(0, 0);
42990 return 0;
42992 _ACEOF
42993 if ac_fn_cxx_try_compile "$LINENO"; then :
42994 glibcxx_cv_func__atan2f_use=yes
42995 else
42996 glibcxx_cv_func__atan2f_use=no
42998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42999 ac_ext=c
43000 ac_cpp='$CPP $CPPFLAGS'
43001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43010 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43012 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43013 for ac_func in _atan2f
43014 do :
43015 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43016 if test "x$ac_cv_func__atan2f" = x""yes; then :
43017 cat >>confdefs.h <<_ACEOF
43018 #define HAVE__ATAN2F 1
43019 _ACEOF
43022 done
43031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43032 $as_echo_n "checking for fabsf declaration... " >&6; }
43033 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43034 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43035 $as_echo_n "(cached) " >&6
43036 else
43039 ac_ext=cpp
43040 ac_cpp='$CXXCPP $CPPFLAGS'
43041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43046 /* end confdefs.h. */
43047 #include <math.h>
43048 #ifdef HAVE_IEEEFP_H
43049 #include <ieeefp.h>
43050 #endif
43053 main ()
43055 fabsf(0);
43057 return 0;
43059 _ACEOF
43060 if ac_fn_cxx_try_compile "$LINENO"; then :
43061 glibcxx_cv_func_fabsf_use=yes
43062 else
43063 glibcxx_cv_func_fabsf_use=no
43065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43066 ac_ext=c
43067 ac_cpp='$CPP $CPPFLAGS'
43068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43077 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43079 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43080 for ac_func in fabsf
43081 do :
43082 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43083 if test "x$ac_cv_func_fabsf" = x""yes; then :
43084 cat >>confdefs.h <<_ACEOF
43085 #define HAVE_FABSF 1
43086 _ACEOF
43089 done
43091 else
43093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43094 $as_echo_n "checking for _fabsf declaration... " >&6; }
43095 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43096 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43097 $as_echo_n "(cached) " >&6
43098 else
43101 ac_ext=cpp
43102 ac_cpp='$CXXCPP $CPPFLAGS'
43103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43108 /* end confdefs.h. */
43109 #include <math.h>
43110 #ifdef HAVE_IEEEFP_H
43111 #include <ieeefp.h>
43112 #endif
43115 main ()
43117 _fabsf(0);
43119 return 0;
43121 _ACEOF
43122 if ac_fn_cxx_try_compile "$LINENO"; then :
43123 glibcxx_cv_func__fabsf_use=yes
43124 else
43125 glibcxx_cv_func__fabsf_use=no
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43128 ac_ext=c
43129 ac_cpp='$CPP $CPPFLAGS'
43130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43139 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43141 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43142 for ac_func in _fabsf
43143 do :
43144 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43145 if test "x$ac_cv_func__fabsf" = x""yes; then :
43146 cat >>confdefs.h <<_ACEOF
43147 #define HAVE__FABSF 1
43148 _ACEOF
43151 done
43160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43161 $as_echo_n "checking for fmodf declaration... " >&6; }
43162 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43163 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43164 $as_echo_n "(cached) " >&6
43165 else
43168 ac_ext=cpp
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43175 /* end confdefs.h. */
43176 #include <math.h>
43178 main ()
43180 fmodf(0, 0);
43182 return 0;
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186 glibcxx_cv_func_fmodf_use=yes
43187 else
43188 glibcxx_cv_func_fmodf_use=no
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191 ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43202 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43204 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43205 for ac_func in fmodf
43206 do :
43207 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43208 if test "x$ac_cv_func_fmodf" = x""yes; then :
43209 cat >>confdefs.h <<_ACEOF
43210 #define HAVE_FMODF 1
43211 _ACEOF
43214 done
43216 else
43218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43219 $as_echo_n "checking for _fmodf declaration... " >&6; }
43220 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43221 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43222 $as_echo_n "(cached) " >&6
43223 else
43226 ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h. */
43234 #include <math.h>
43236 main ()
43238 _fmodf(0, 0);
43240 return 0;
43242 _ACEOF
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244 glibcxx_cv_func__fmodf_use=yes
43245 else
43246 glibcxx_cv_func__fmodf_use=no
43248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43249 ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43260 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43262 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43263 for ac_func in _fmodf
43264 do :
43265 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43266 if test "x$ac_cv_func__fmodf" = x""yes; then :
43267 cat >>confdefs.h <<_ACEOF
43268 #define HAVE__FMODF 1
43269 _ACEOF
43272 done
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43282 $as_echo_n "checking for frexpf declaration... " >&6; }
43283 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43284 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
43303 return 0;
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307 glibcxx_cv_func_frexpf_use=yes
43308 else
43309 glibcxx_cv_func_frexpf_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
43322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43323 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43325 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43326 for ac_func in frexpf
43327 do :
43328 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43329 if test "x$ac_cv_func_frexpf" = x""yes; then :
43330 cat >>confdefs.h <<_ACEOF
43331 #define HAVE_FREXPF 1
43332 _ACEOF
43335 done
43337 else
43339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43340 $as_echo_n "checking for _frexpf declaration... " >&6; }
43341 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43342 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43343 $as_echo_n "(cached) " >&6
43344 else
43347 ac_ext=cpp
43348 ac_cpp='$CXXCPP $CPPFLAGS'
43349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43354 /* end confdefs.h. */
43355 #include <math.h>
43357 main ()
43359 _frexpf(0, 0);
43361 return 0;
43363 _ACEOF
43364 if ac_fn_cxx_try_compile "$LINENO"; then :
43365 glibcxx_cv_func__frexpf_use=yes
43366 else
43367 glibcxx_cv_func__frexpf_use=no
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43370 ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43381 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43383 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43384 for ac_func in _frexpf
43385 do :
43386 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43387 if test "x$ac_cv_func__frexpf" = x""yes; then :
43388 cat >>confdefs.h <<_ACEOF
43389 #define HAVE__FREXPF 1
43390 _ACEOF
43393 done
43402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43403 $as_echo_n "checking for hypotf declaration... " >&6; }
43404 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43405 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43406 $as_echo_n "(cached) " >&6
43407 else
43410 ac_ext=cpp
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43417 /* end confdefs.h. */
43418 #include <math.h>
43420 main ()
43422 hypotf(0, 0);
43424 return 0;
43426 _ACEOF
43427 if ac_fn_cxx_try_compile "$LINENO"; then :
43428 glibcxx_cv_func_hypotf_use=yes
43429 else
43430 glibcxx_cv_func_hypotf_use=no
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433 ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43444 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43446 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43447 for ac_func in hypotf
43448 do :
43449 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43450 if test "x$ac_cv_func_hypotf" = x""yes; then :
43451 cat >>confdefs.h <<_ACEOF
43452 #define HAVE_HYPOTF 1
43453 _ACEOF
43456 done
43458 else
43460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43461 $as_echo_n "checking for _hypotf declaration... " >&6; }
43462 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43463 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43464 $as_echo_n "(cached) " >&6
43465 else
43468 ac_ext=cpp
43469 ac_cpp='$CXXCPP $CPPFLAGS'
43470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43475 /* end confdefs.h. */
43476 #include <math.h>
43478 main ()
43480 _hypotf(0, 0);
43482 return 0;
43484 _ACEOF
43485 if ac_fn_cxx_try_compile "$LINENO"; then :
43486 glibcxx_cv_func__hypotf_use=yes
43487 else
43488 glibcxx_cv_func__hypotf_use=no
43490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43491 ac_ext=c
43492 ac_cpp='$CPP $CPPFLAGS'
43493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43502 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43504 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43505 for ac_func in _hypotf
43506 do :
43507 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43508 if test "x$ac_cv_func__hypotf" = x""yes; then :
43509 cat >>confdefs.h <<_ACEOF
43510 #define HAVE__HYPOTF 1
43511 _ACEOF
43514 done
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43524 $as_echo_n "checking for ldexpf declaration... " >&6; }
43525 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43526 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43527 $as_echo_n "(cached) " >&6
43528 else
43531 ac_ext=cpp
43532 ac_cpp='$CXXCPP $CPPFLAGS'
43533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43538 /* end confdefs.h. */
43539 #include <math.h>
43541 main ()
43543 ldexpf(0, 0);
43545 return 0;
43547 _ACEOF
43548 if ac_fn_cxx_try_compile "$LINENO"; then :
43549 glibcxx_cv_func_ldexpf_use=yes
43550 else
43551 glibcxx_cv_func_ldexpf_use=no
43553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43554 ac_ext=c
43555 ac_cpp='$CPP $CPPFLAGS'
43556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43565 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43567 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43568 for ac_func in ldexpf
43569 do :
43570 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43571 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43572 cat >>confdefs.h <<_ACEOF
43573 #define HAVE_LDEXPF 1
43574 _ACEOF
43577 done
43579 else
43581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43582 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43583 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43584 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43585 $as_echo_n "(cached) " >&6
43586 else
43589 ac_ext=cpp
43590 ac_cpp='$CXXCPP $CPPFLAGS'
43591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43596 /* end confdefs.h. */
43597 #include <math.h>
43599 main ()
43601 _ldexpf(0, 0);
43603 return 0;
43605 _ACEOF
43606 if ac_fn_cxx_try_compile "$LINENO"; then :
43607 glibcxx_cv_func__ldexpf_use=yes
43608 else
43609 glibcxx_cv_func__ldexpf_use=no
43611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43612 ac_ext=c
43613 ac_cpp='$CPP $CPPFLAGS'
43614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43623 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43625 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43626 for ac_func in _ldexpf
43627 do :
43628 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43629 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43630 cat >>confdefs.h <<_ACEOF
43631 #define HAVE__LDEXPF 1
43632 _ACEOF
43635 done
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43645 $as_echo_n "checking for logf declaration... " >&6; }
43646 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43647 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43648 $as_echo_n "(cached) " >&6
43649 else
43652 ac_ext=cpp
43653 ac_cpp='$CXXCPP $CPPFLAGS'
43654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43659 /* end confdefs.h. */
43660 #include <math.h>
43661 #ifdef HAVE_IEEEFP_H
43662 #include <ieeefp.h>
43663 #endif
43666 main ()
43668 logf(0);
43670 return 0;
43672 _ACEOF
43673 if ac_fn_cxx_try_compile "$LINENO"; then :
43674 glibcxx_cv_func_logf_use=yes
43675 else
43676 glibcxx_cv_func_logf_use=no
43678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43679 ac_ext=c
43680 ac_cpp='$CPP $CPPFLAGS'
43681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43690 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43692 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43693 for ac_func in logf
43694 do :
43695 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43696 if test "x$ac_cv_func_logf" = x""yes; then :
43697 cat >>confdefs.h <<_ACEOF
43698 #define HAVE_LOGF 1
43699 _ACEOF
43702 done
43704 else
43706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43707 $as_echo_n "checking for _logf declaration... " >&6; }
43708 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43709 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43710 $as_echo_n "(cached) " >&6
43711 else
43714 ac_ext=cpp
43715 ac_cpp='$CXXCPP $CPPFLAGS'
43716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43721 /* end confdefs.h. */
43722 #include <math.h>
43723 #ifdef HAVE_IEEEFP_H
43724 #include <ieeefp.h>
43725 #endif
43728 main ()
43730 _logf(0);
43732 return 0;
43734 _ACEOF
43735 if ac_fn_cxx_try_compile "$LINENO"; then :
43736 glibcxx_cv_func__logf_use=yes
43737 else
43738 glibcxx_cv_func__logf_use=no
43740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43741 ac_ext=c
43742 ac_cpp='$CPP $CPPFLAGS'
43743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43752 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43754 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43755 for ac_func in _logf
43756 do :
43757 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43758 if test "x$ac_cv_func__logf" = x""yes; then :
43759 cat >>confdefs.h <<_ACEOF
43760 #define HAVE__LOGF 1
43761 _ACEOF
43764 done
43773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43774 $as_echo_n "checking for log10f declaration... " >&6; }
43775 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43776 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43777 $as_echo_n "(cached) " >&6
43778 else
43781 ac_ext=cpp
43782 ac_cpp='$CXXCPP $CPPFLAGS'
43783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43788 /* end confdefs.h. */
43789 #include <math.h>
43790 #ifdef HAVE_IEEEFP_H
43791 #include <ieeefp.h>
43792 #endif
43795 main ()
43797 log10f(0);
43799 return 0;
43801 _ACEOF
43802 if ac_fn_cxx_try_compile "$LINENO"; then :
43803 glibcxx_cv_func_log10f_use=yes
43804 else
43805 glibcxx_cv_func_log10f_use=no
43807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43808 ac_ext=c
43809 ac_cpp='$CPP $CPPFLAGS'
43810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43819 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43821 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43822 for ac_func in log10f
43823 do :
43824 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43825 if test "x$ac_cv_func_log10f" = x""yes; then :
43826 cat >>confdefs.h <<_ACEOF
43827 #define HAVE_LOG10F 1
43828 _ACEOF
43831 done
43833 else
43835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43836 $as_echo_n "checking for _log10f declaration... " >&6; }
43837 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43838 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43839 $as_echo_n "(cached) " >&6
43840 else
43843 ac_ext=cpp
43844 ac_cpp='$CXXCPP $CPPFLAGS'
43845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43850 /* end confdefs.h. */
43851 #include <math.h>
43852 #ifdef HAVE_IEEEFP_H
43853 #include <ieeefp.h>
43854 #endif
43857 main ()
43859 _log10f(0);
43861 return 0;
43863 _ACEOF
43864 if ac_fn_cxx_try_compile "$LINENO"; then :
43865 glibcxx_cv_func__log10f_use=yes
43866 else
43867 glibcxx_cv_func__log10f_use=no
43869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43870 ac_ext=c
43871 ac_cpp='$CPP $CPPFLAGS'
43872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43881 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43883 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43884 for ac_func in _log10f
43885 do :
43886 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43887 if test "x$ac_cv_func__log10f" = x""yes; then :
43888 cat >>confdefs.h <<_ACEOF
43889 #define HAVE__LOG10F 1
43890 _ACEOF
43893 done
43902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43903 $as_echo_n "checking for modff declaration... " >&6; }
43904 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43905 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43906 $as_echo_n "(cached) " >&6
43907 else
43910 ac_ext=cpp
43911 ac_cpp='$CXXCPP $CPPFLAGS'
43912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43917 /* end confdefs.h. */
43918 #include <math.h>
43920 main ()
43922 modff(0, 0);
43924 return 0;
43926 _ACEOF
43927 if ac_fn_cxx_try_compile "$LINENO"; then :
43928 glibcxx_cv_func_modff_use=yes
43929 else
43930 glibcxx_cv_func_modff_use=no
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933 ac_ext=c
43934 ac_cpp='$CPP $CPPFLAGS'
43935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43944 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43946 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43947 for ac_func in modff
43948 do :
43949 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43950 if test "x$ac_cv_func_modff" = x""yes; then :
43951 cat >>confdefs.h <<_ACEOF
43952 #define HAVE_MODFF 1
43953 _ACEOF
43956 done
43958 else
43960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43961 $as_echo_n "checking for _modff declaration... " >&6; }
43962 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43963 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43964 $as_echo_n "(cached) " >&6
43965 else
43968 ac_ext=cpp
43969 ac_cpp='$CXXCPP $CPPFLAGS'
43970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43975 /* end confdefs.h. */
43976 #include <math.h>
43978 main ()
43980 _modff(0, 0);
43982 return 0;
43984 _ACEOF
43985 if ac_fn_cxx_try_compile "$LINENO"; then :
43986 glibcxx_cv_func__modff_use=yes
43987 else
43988 glibcxx_cv_func__modff_use=no
43990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43991 ac_ext=c
43992 ac_cpp='$CPP $CPPFLAGS'
43993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44002 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44004 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44005 for ac_func in _modff
44006 do :
44007 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44008 if test "x$ac_cv_func__modff" = x""yes; then :
44009 cat >>confdefs.h <<_ACEOF
44010 #define HAVE__MODFF 1
44011 _ACEOF
44014 done
44023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44024 $as_echo_n "checking for modf declaration... " >&6; }
44025 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44026 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44027 $as_echo_n "(cached) " >&6
44028 else
44031 ac_ext=cpp
44032 ac_cpp='$CXXCPP $CPPFLAGS'
44033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44038 /* end confdefs.h. */
44039 #include <math.h>
44041 main ()
44043 modf(0, 0);
44045 return 0;
44047 _ACEOF
44048 if ac_fn_cxx_try_compile "$LINENO"; then :
44049 glibcxx_cv_func_modf_use=yes
44050 else
44051 glibcxx_cv_func_modf_use=no
44053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44054 ac_ext=c
44055 ac_cpp='$CPP $CPPFLAGS'
44056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44065 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44067 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44068 for ac_func in modf
44069 do :
44070 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44071 if test "x$ac_cv_func_modf" = x""yes; then :
44072 cat >>confdefs.h <<_ACEOF
44073 #define HAVE_MODF 1
44074 _ACEOF
44077 done
44079 else
44081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44082 $as_echo_n "checking for _modf declaration... " >&6; }
44083 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44084 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44085 $as_echo_n "(cached) " >&6
44086 else
44089 ac_ext=cpp
44090 ac_cpp='$CXXCPP $CPPFLAGS'
44091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44096 /* end confdefs.h. */
44097 #include <math.h>
44099 main ()
44101 _modf(0, 0);
44103 return 0;
44105 _ACEOF
44106 if ac_fn_cxx_try_compile "$LINENO"; then :
44107 glibcxx_cv_func__modf_use=yes
44108 else
44109 glibcxx_cv_func__modf_use=no
44111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44112 ac_ext=c
44113 ac_cpp='$CPP $CPPFLAGS'
44114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44123 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44125 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44126 for ac_func in _modf
44127 do :
44128 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44129 if test "x$ac_cv_func__modf" = x""yes; then :
44130 cat >>confdefs.h <<_ACEOF
44131 #define HAVE__MODF 1
44132 _ACEOF
44135 done
44144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44145 $as_echo_n "checking for powf declaration... " >&6; }
44146 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44147 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44148 $as_echo_n "(cached) " >&6
44149 else
44152 ac_ext=cpp
44153 ac_cpp='$CXXCPP $CPPFLAGS'
44154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44159 /* end confdefs.h. */
44160 #include <math.h>
44162 main ()
44164 powf(0, 0);
44166 return 0;
44168 _ACEOF
44169 if ac_fn_cxx_try_compile "$LINENO"; then :
44170 glibcxx_cv_func_powf_use=yes
44171 else
44172 glibcxx_cv_func_powf_use=no
44174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44175 ac_ext=c
44176 ac_cpp='$CPP $CPPFLAGS'
44177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44186 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44188 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44189 for ac_func in powf
44190 do :
44191 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44192 if test "x$ac_cv_func_powf" = x""yes; then :
44193 cat >>confdefs.h <<_ACEOF
44194 #define HAVE_POWF 1
44195 _ACEOF
44198 done
44200 else
44202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44203 $as_echo_n "checking for _powf declaration... " >&6; }
44204 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44205 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44206 $as_echo_n "(cached) " >&6
44207 else
44210 ac_ext=cpp
44211 ac_cpp='$CXXCPP $CPPFLAGS'
44212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44217 /* end confdefs.h. */
44218 #include <math.h>
44220 main ()
44222 _powf(0, 0);
44224 return 0;
44226 _ACEOF
44227 if ac_fn_cxx_try_compile "$LINENO"; then :
44228 glibcxx_cv_func__powf_use=yes
44229 else
44230 glibcxx_cv_func__powf_use=no
44232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44233 ac_ext=c
44234 ac_cpp='$CPP $CPPFLAGS'
44235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44244 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44246 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44247 for ac_func in _powf
44248 do :
44249 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44250 if test "x$ac_cv_func__powf" = x""yes; then :
44251 cat >>confdefs.h <<_ACEOF
44252 #define HAVE__POWF 1
44253 _ACEOF
44256 done
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44266 $as_echo_n "checking for sqrtf declaration... " >&6; }
44267 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44268 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44269 $as_echo_n "(cached) " >&6
44270 else
44273 ac_ext=cpp
44274 ac_cpp='$CXXCPP $CPPFLAGS'
44275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44280 /* end confdefs.h. */
44281 #include <math.h>
44282 #ifdef HAVE_IEEEFP_H
44283 #include <ieeefp.h>
44284 #endif
44287 main ()
44289 sqrtf(0);
44291 return 0;
44293 _ACEOF
44294 if ac_fn_cxx_try_compile "$LINENO"; then :
44295 glibcxx_cv_func_sqrtf_use=yes
44296 else
44297 glibcxx_cv_func_sqrtf_use=no
44299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44300 ac_ext=c
44301 ac_cpp='$CPP $CPPFLAGS'
44302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44311 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44313 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44314 for ac_func in sqrtf
44315 do :
44316 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44317 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44318 cat >>confdefs.h <<_ACEOF
44319 #define HAVE_SQRTF 1
44320 _ACEOF
44323 done
44325 else
44327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44328 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44329 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44330 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44331 $as_echo_n "(cached) " >&6
44332 else
44335 ac_ext=cpp
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44342 /* end confdefs.h. */
44343 #include <math.h>
44344 #ifdef HAVE_IEEEFP_H
44345 #include <ieeefp.h>
44346 #endif
44349 main ()
44351 _sqrtf(0);
44353 return 0;
44355 _ACEOF
44356 if ac_fn_cxx_try_compile "$LINENO"; then :
44357 glibcxx_cv_func__sqrtf_use=yes
44358 else
44359 glibcxx_cv_func__sqrtf_use=no
44361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44362 ac_ext=c
44363 ac_cpp='$CPP $CPPFLAGS'
44364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44373 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44375 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44376 for ac_func in _sqrtf
44377 do :
44378 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44379 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44380 cat >>confdefs.h <<_ACEOF
44381 #define HAVE__SQRTF 1
44382 _ACEOF
44385 done
44394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44395 $as_echo_n "checking for sincosf declaration... " >&6; }
44396 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44397 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44398 $as_echo_n "(cached) " >&6
44399 else
44402 ac_ext=cpp
44403 ac_cpp='$CXXCPP $CPPFLAGS'
44404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44409 /* end confdefs.h. */
44410 #include <math.h>
44412 main ()
44414 sincosf(0, 0, 0);
44416 return 0;
44418 _ACEOF
44419 if ac_fn_cxx_try_compile "$LINENO"; then :
44420 glibcxx_cv_func_sincosf_use=yes
44421 else
44422 glibcxx_cv_func_sincosf_use=no
44424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44425 ac_ext=c
44426 ac_cpp='$CPP $CPPFLAGS'
44427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44436 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44438 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44439 for ac_func in sincosf
44440 do :
44441 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44442 if test "x$ac_cv_func_sincosf" = x""yes; then :
44443 cat >>confdefs.h <<_ACEOF
44444 #define HAVE_SINCOSF 1
44445 _ACEOF
44448 done
44450 else
44452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44453 $as_echo_n "checking for _sincosf declaration... " >&6; }
44454 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44455 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44456 $as_echo_n "(cached) " >&6
44457 else
44460 ac_ext=cpp
44461 ac_cpp='$CXXCPP $CPPFLAGS'
44462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44467 /* end confdefs.h. */
44468 #include <math.h>
44470 main ()
44472 _sincosf(0, 0, 0);
44474 return 0;
44476 _ACEOF
44477 if ac_fn_cxx_try_compile "$LINENO"; then :
44478 glibcxx_cv_func__sincosf_use=yes
44479 else
44480 glibcxx_cv_func__sincosf_use=no
44482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44483 ac_ext=c
44484 ac_cpp='$CPP $CPPFLAGS'
44485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44494 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44496 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44497 for ac_func in _sincosf
44498 do :
44499 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44500 if test "x$ac_cv_func__sincosf" = x""yes; then :
44501 cat >>confdefs.h <<_ACEOF
44502 #define HAVE__SINCOSF 1
44503 _ACEOF
44506 done
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44516 $as_echo_n "checking for finitef declaration... " >&6; }
44517 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44518 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44519 $as_echo_n "(cached) " >&6
44520 else
44523 ac_ext=cpp
44524 ac_cpp='$CXXCPP $CPPFLAGS'
44525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44530 /* end confdefs.h. */
44531 #include <math.h>
44532 #ifdef HAVE_IEEEFP_H
44533 #include <ieeefp.h>
44534 #endif
44537 main ()
44539 finitef(0);
44541 return 0;
44543 _ACEOF
44544 if ac_fn_cxx_try_compile "$LINENO"; then :
44545 glibcxx_cv_func_finitef_use=yes
44546 else
44547 glibcxx_cv_func_finitef_use=no
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 ac_ext=c
44551 ac_cpp='$CPP $CPPFLAGS'
44552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44561 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44563 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44564 for ac_func in finitef
44565 do :
44566 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44567 if test "x$ac_cv_func_finitef" = x""yes; then :
44568 cat >>confdefs.h <<_ACEOF
44569 #define HAVE_FINITEF 1
44570 _ACEOF
44573 done
44575 else
44577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44578 $as_echo_n "checking for _finitef declaration... " >&6; }
44579 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44580 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44581 $as_echo_n "(cached) " >&6
44582 else
44585 ac_ext=cpp
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44592 /* end confdefs.h. */
44593 #include <math.h>
44594 #ifdef HAVE_IEEEFP_H
44595 #include <ieeefp.h>
44596 #endif
44599 main ()
44601 _finitef(0);
44603 return 0;
44605 _ACEOF
44606 if ac_fn_cxx_try_compile "$LINENO"; then :
44607 glibcxx_cv_func__finitef_use=yes
44608 else
44609 glibcxx_cv_func__finitef_use=no
44611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44612 ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44623 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44625 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44626 for ac_func in _finitef
44627 do :
44628 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44629 if test "x$ac_cv_func__finitef" = x""yes; then :
44630 cat >>confdefs.h <<_ACEOF
44631 #define HAVE__FINITEF 1
44632 _ACEOF
44635 done
44644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44645 $as_echo_n "checking for long double trig functions... " >&6; }
44646 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44647 $as_echo_n "(cached) " >&6
44648 else
44651 ac_ext=cpp
44652 ac_cpp='$CXXCPP $CPPFLAGS'
44653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44658 /* end confdefs.h. */
44659 #include <math.h>
44661 main ()
44663 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44665 return 0;
44667 _ACEOF
44668 if ac_fn_cxx_try_compile "$LINENO"; then :
44669 glibcxx_cv_func_long_double_trig_use=yes
44670 else
44671 glibcxx_cv_func_long_double_trig_use=no
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44674 ac_ext=c
44675 ac_cpp='$CPP $CPPFLAGS'
44676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44683 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44684 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44685 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44686 do :
44687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44689 eval as_val=\$$as_ac_var
44690 if test "x$as_val" = x""yes; then :
44691 cat >>confdefs.h <<_ACEOF
44692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44693 _ACEOF
44696 done
44698 else
44699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44700 $as_echo_n "checking for _long double trig functions... " >&6; }
44701 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44702 $as_echo_n "(cached) " >&6
44703 else
44706 ac_ext=cpp
44707 ac_cpp='$CXXCPP $CPPFLAGS'
44708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44713 /* end confdefs.h. */
44714 #include <math.h>
44716 main ()
44718 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44720 return 0;
44722 _ACEOF
44723 if ac_fn_cxx_try_compile "$LINENO"; then :
44724 glibcxx_cv_func__long_double_trig_use=yes
44725 else
44726 glibcxx_cv_func__long_double_trig_use=no
44728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44729 ac_ext=c
44730 ac_cpp='$CPP $CPPFLAGS'
44731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44738 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44739 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44740 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44741 do :
44742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44744 eval as_val=\$$as_ac_var
44745 if test "x$as_val" = x""yes; then :
44746 cat >>confdefs.h <<_ACEOF
44747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44748 _ACEOF
44751 done
44760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44761 $as_echo_n "checking for long double round functions... " >&6; }
44762 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44763 $as_echo_n "(cached) " >&6
44764 else
44767 ac_ext=cpp
44768 ac_cpp='$CXXCPP $CPPFLAGS'
44769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44774 /* end confdefs.h. */
44775 #include <math.h>
44777 main ()
44779 ceill (0); floorl (0);
44781 return 0;
44783 _ACEOF
44784 if ac_fn_cxx_try_compile "$LINENO"; then :
44785 glibcxx_cv_func_long_double_round_use=yes
44786 else
44787 glibcxx_cv_func_long_double_round_use=no
44789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44790 ac_ext=c
44791 ac_cpp='$CPP $CPPFLAGS'
44792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44799 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44800 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44801 for ac_func in ceill floorl
44802 do :
44803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44805 eval as_val=\$$as_ac_var
44806 if test "x$as_val" = x""yes; then :
44807 cat >>confdefs.h <<_ACEOF
44808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44809 _ACEOF
44812 done
44814 else
44815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44816 $as_echo_n "checking for _long double round functions... " >&6; }
44817 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44818 $as_echo_n "(cached) " >&6
44819 else
44822 ac_ext=cpp
44823 ac_cpp='$CXXCPP $CPPFLAGS'
44824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44829 /* end confdefs.h. */
44830 #include <math.h>
44832 main ()
44834 _ceill (0); _floorl (0);
44836 return 0;
44838 _ACEOF
44839 if ac_fn_cxx_try_compile "$LINENO"; then :
44840 glibcxx_cv_func__long_double_round_use=yes
44841 else
44842 glibcxx_cv_func__long_double_round_use=no
44844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44845 ac_ext=c
44846 ac_cpp='$CPP $CPPFLAGS'
44847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44854 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44855 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44856 for ac_func in _ceill _floorl
44857 do :
44858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44860 eval as_val=\$$as_ac_var
44861 if test "x$as_val" = x""yes; then :
44862 cat >>confdefs.h <<_ACEOF
44863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44864 _ACEOF
44867 done
44877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44878 $as_echo_n "checking for isnanl declaration... " >&6; }
44879 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44880 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44881 $as_echo_n "(cached) " >&6
44882 else
44885 ac_ext=cpp
44886 ac_cpp='$CXXCPP $CPPFLAGS'
44887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44892 /* end confdefs.h. */
44893 #include <math.h>
44894 #ifdef HAVE_IEEEFP_H
44895 #include <ieeefp.h>
44896 #endif
44899 main ()
44901 isnanl(0);
44903 return 0;
44905 _ACEOF
44906 if ac_fn_cxx_try_compile "$LINENO"; then :
44907 glibcxx_cv_func_isnanl_use=yes
44908 else
44909 glibcxx_cv_func_isnanl_use=no
44911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44912 ac_ext=c
44913 ac_cpp='$CPP $CPPFLAGS'
44914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44923 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44925 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44926 for ac_func in isnanl
44927 do :
44928 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44929 if test "x$ac_cv_func_isnanl" = x""yes; then :
44930 cat >>confdefs.h <<_ACEOF
44931 #define HAVE_ISNANL 1
44932 _ACEOF
44935 done
44937 else
44939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44940 $as_echo_n "checking for _isnanl declaration... " >&6; }
44941 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44942 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44943 $as_echo_n "(cached) " >&6
44944 else
44947 ac_ext=cpp
44948 ac_cpp='$CXXCPP $CPPFLAGS'
44949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44954 /* end confdefs.h. */
44955 #include <math.h>
44956 #ifdef HAVE_IEEEFP_H
44957 #include <ieeefp.h>
44958 #endif
44961 main ()
44963 _isnanl(0);
44965 return 0;
44967 _ACEOF
44968 if ac_fn_cxx_try_compile "$LINENO"; then :
44969 glibcxx_cv_func__isnanl_use=yes
44970 else
44971 glibcxx_cv_func__isnanl_use=no
44973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44974 ac_ext=c
44975 ac_cpp='$CPP $CPPFLAGS'
44976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44985 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44987 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44988 for ac_func in _isnanl
44989 do :
44990 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44991 if test "x$ac_cv_func__isnanl" = x""yes; then :
44992 cat >>confdefs.h <<_ACEOF
44993 #define HAVE__ISNANL 1
44994 _ACEOF
44997 done
45006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45007 $as_echo_n "checking for isinfl declaration... " >&6; }
45008 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45009 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
45010 $as_echo_n "(cached) " >&6
45011 else
45014 ac_ext=cpp
45015 ac_cpp='$CXXCPP $CPPFLAGS'
45016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45021 /* end confdefs.h. */
45022 #include <math.h>
45023 #ifdef HAVE_IEEEFP_H
45024 #include <ieeefp.h>
45025 #endif
45028 main ()
45030 isinfl(0);
45032 return 0;
45034 _ACEOF
45035 if ac_fn_cxx_try_compile "$LINENO"; then :
45036 glibcxx_cv_func_isinfl_use=yes
45037 else
45038 glibcxx_cv_func_isinfl_use=no
45040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45041 ac_ext=c
45042 ac_cpp='$CPP $CPPFLAGS'
45043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45052 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45054 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45055 for ac_func in isinfl
45056 do :
45057 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45058 if test "x$ac_cv_func_isinfl" = x""yes; then :
45059 cat >>confdefs.h <<_ACEOF
45060 #define HAVE_ISINFL 1
45061 _ACEOF
45064 done
45066 else
45068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45069 $as_echo_n "checking for _isinfl declaration... " >&6; }
45070 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45071 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45072 $as_echo_n "(cached) " >&6
45073 else
45076 ac_ext=cpp
45077 ac_cpp='$CXXCPP $CPPFLAGS'
45078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45083 /* end confdefs.h. */
45084 #include <math.h>
45085 #ifdef HAVE_IEEEFP_H
45086 #include <ieeefp.h>
45087 #endif
45090 main ()
45092 _isinfl(0);
45094 return 0;
45096 _ACEOF
45097 if ac_fn_cxx_try_compile "$LINENO"; then :
45098 glibcxx_cv_func__isinfl_use=yes
45099 else
45100 glibcxx_cv_func__isinfl_use=no
45102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45103 ac_ext=c
45104 ac_cpp='$CPP $CPPFLAGS'
45105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45114 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45116 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45117 for ac_func in _isinfl
45118 do :
45119 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45120 if test "x$ac_cv_func__isinfl" = x""yes; then :
45121 cat >>confdefs.h <<_ACEOF
45122 #define HAVE__ISINFL 1
45123 _ACEOF
45126 done
45135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45136 $as_echo_n "checking for atan2l declaration... " >&6; }
45137 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45138 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45139 $as_echo_n "(cached) " >&6
45140 else
45143 ac_ext=cpp
45144 ac_cpp='$CXXCPP $CPPFLAGS'
45145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45150 /* end confdefs.h. */
45151 #include <math.h>
45153 main ()
45155 atan2l(0, 0);
45157 return 0;
45159 _ACEOF
45160 if ac_fn_cxx_try_compile "$LINENO"; then :
45161 glibcxx_cv_func_atan2l_use=yes
45162 else
45163 glibcxx_cv_func_atan2l_use=no
45165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45166 ac_ext=c
45167 ac_cpp='$CPP $CPPFLAGS'
45168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45177 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45179 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45180 for ac_func in atan2l
45181 do :
45182 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45183 if test "x$ac_cv_func_atan2l" = x""yes; then :
45184 cat >>confdefs.h <<_ACEOF
45185 #define HAVE_ATAN2L 1
45186 _ACEOF
45189 done
45191 else
45193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45194 $as_echo_n "checking for _atan2l declaration... " >&6; }
45195 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45196 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45197 $as_echo_n "(cached) " >&6
45198 else
45201 ac_ext=cpp
45202 ac_cpp='$CXXCPP $CPPFLAGS'
45203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45208 /* end confdefs.h. */
45209 #include <math.h>
45211 main ()
45213 _atan2l(0, 0);
45215 return 0;
45217 _ACEOF
45218 if ac_fn_cxx_try_compile "$LINENO"; then :
45219 glibcxx_cv_func__atan2l_use=yes
45220 else
45221 glibcxx_cv_func__atan2l_use=no
45223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45224 ac_ext=c
45225 ac_cpp='$CPP $CPPFLAGS'
45226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45235 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45237 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45238 for ac_func in _atan2l
45239 do :
45240 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45241 if test "x$ac_cv_func__atan2l" = x""yes; then :
45242 cat >>confdefs.h <<_ACEOF
45243 #define HAVE__ATAN2L 1
45244 _ACEOF
45247 done
45256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45257 $as_echo_n "checking for expl declaration... " >&6; }
45258 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45259 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45260 $as_echo_n "(cached) " >&6
45261 else
45264 ac_ext=cpp
45265 ac_cpp='$CXXCPP $CPPFLAGS'
45266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45271 /* end confdefs.h. */
45272 #include <math.h>
45273 #ifdef HAVE_IEEEFP_H
45274 #include <ieeefp.h>
45275 #endif
45278 main ()
45280 expl(0);
45282 return 0;
45284 _ACEOF
45285 if ac_fn_cxx_try_compile "$LINENO"; then :
45286 glibcxx_cv_func_expl_use=yes
45287 else
45288 glibcxx_cv_func_expl_use=no
45290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45291 ac_ext=c
45292 ac_cpp='$CPP $CPPFLAGS'
45293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45302 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45304 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45305 for ac_func in expl
45306 do :
45307 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45308 if test "x$ac_cv_func_expl" = x""yes; then :
45309 cat >>confdefs.h <<_ACEOF
45310 #define HAVE_EXPL 1
45311 _ACEOF
45314 done
45316 else
45318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45319 $as_echo_n "checking for _expl declaration... " >&6; }
45320 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45321 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45322 $as_echo_n "(cached) " >&6
45323 else
45326 ac_ext=cpp
45327 ac_cpp='$CXXCPP $CPPFLAGS'
45328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45333 /* end confdefs.h. */
45334 #include <math.h>
45335 #ifdef HAVE_IEEEFP_H
45336 #include <ieeefp.h>
45337 #endif
45340 main ()
45342 _expl(0);
45344 return 0;
45346 _ACEOF
45347 if ac_fn_cxx_try_compile "$LINENO"; then :
45348 glibcxx_cv_func__expl_use=yes
45349 else
45350 glibcxx_cv_func__expl_use=no
45352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45353 ac_ext=c
45354 ac_cpp='$CPP $CPPFLAGS'
45355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45364 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45366 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45367 for ac_func in _expl
45368 do :
45369 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45370 if test "x$ac_cv_func__expl" = x""yes; then :
45371 cat >>confdefs.h <<_ACEOF
45372 #define HAVE__EXPL 1
45373 _ACEOF
45376 done
45385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45386 $as_echo_n "checking for fabsl declaration... " >&6; }
45387 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45388 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45389 $as_echo_n "(cached) " >&6
45390 else
45393 ac_ext=cpp
45394 ac_cpp='$CXXCPP $CPPFLAGS'
45395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45400 /* end confdefs.h. */
45401 #include <math.h>
45402 #ifdef HAVE_IEEEFP_H
45403 #include <ieeefp.h>
45404 #endif
45407 main ()
45409 fabsl(0);
45411 return 0;
45413 _ACEOF
45414 if ac_fn_cxx_try_compile "$LINENO"; then :
45415 glibcxx_cv_func_fabsl_use=yes
45416 else
45417 glibcxx_cv_func_fabsl_use=no
45419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45420 ac_ext=c
45421 ac_cpp='$CPP $CPPFLAGS'
45422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45431 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45433 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45434 for ac_func in fabsl
45435 do :
45436 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45437 if test "x$ac_cv_func_fabsl" = x""yes; then :
45438 cat >>confdefs.h <<_ACEOF
45439 #define HAVE_FABSL 1
45440 _ACEOF
45443 done
45445 else
45447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45448 $as_echo_n "checking for _fabsl declaration... " >&6; }
45449 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45450 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45451 $as_echo_n "(cached) " >&6
45452 else
45455 ac_ext=cpp
45456 ac_cpp='$CXXCPP $CPPFLAGS'
45457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45462 /* end confdefs.h. */
45463 #include <math.h>
45464 #ifdef HAVE_IEEEFP_H
45465 #include <ieeefp.h>
45466 #endif
45469 main ()
45471 _fabsl(0);
45473 return 0;
45475 _ACEOF
45476 if ac_fn_cxx_try_compile "$LINENO"; then :
45477 glibcxx_cv_func__fabsl_use=yes
45478 else
45479 glibcxx_cv_func__fabsl_use=no
45481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45482 ac_ext=c
45483 ac_cpp='$CPP $CPPFLAGS'
45484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45493 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45495 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45496 for ac_func in _fabsl
45497 do :
45498 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45499 if test "x$ac_cv_func__fabsl" = x""yes; then :
45500 cat >>confdefs.h <<_ACEOF
45501 #define HAVE__FABSL 1
45502 _ACEOF
45505 done
45514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45515 $as_echo_n "checking for fmodl declaration... " >&6; }
45516 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45517 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45518 $as_echo_n "(cached) " >&6
45519 else
45522 ac_ext=cpp
45523 ac_cpp='$CXXCPP $CPPFLAGS'
45524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45529 /* end confdefs.h. */
45530 #include <math.h>
45532 main ()
45534 fmodl(0, 0);
45536 return 0;
45538 _ACEOF
45539 if ac_fn_cxx_try_compile "$LINENO"; then :
45540 glibcxx_cv_func_fmodl_use=yes
45541 else
45542 glibcxx_cv_func_fmodl_use=no
45544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45545 ac_ext=c
45546 ac_cpp='$CPP $CPPFLAGS'
45547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45556 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45558 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45559 for ac_func in fmodl
45560 do :
45561 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45562 if test "x$ac_cv_func_fmodl" = x""yes; then :
45563 cat >>confdefs.h <<_ACEOF
45564 #define HAVE_FMODL 1
45565 _ACEOF
45568 done
45570 else
45572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45573 $as_echo_n "checking for _fmodl declaration... " >&6; }
45574 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45575 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45576 $as_echo_n "(cached) " >&6
45577 else
45580 ac_ext=cpp
45581 ac_cpp='$CXXCPP $CPPFLAGS'
45582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45587 /* end confdefs.h. */
45588 #include <math.h>
45590 main ()
45592 _fmodl(0, 0);
45594 return 0;
45596 _ACEOF
45597 if ac_fn_cxx_try_compile "$LINENO"; then :
45598 glibcxx_cv_func__fmodl_use=yes
45599 else
45600 glibcxx_cv_func__fmodl_use=no
45602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45603 ac_ext=c
45604 ac_cpp='$CPP $CPPFLAGS'
45605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45614 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45616 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45617 for ac_func in _fmodl
45618 do :
45619 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45620 if test "x$ac_cv_func__fmodl" = x""yes; then :
45621 cat >>confdefs.h <<_ACEOF
45622 #define HAVE__FMODL 1
45623 _ACEOF
45626 done
45635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45636 $as_echo_n "checking for frexpl declaration... " >&6; }
45637 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45638 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45639 $as_echo_n "(cached) " >&6
45640 else
45643 ac_ext=cpp
45644 ac_cpp='$CXXCPP $CPPFLAGS'
45645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45650 /* end confdefs.h. */
45651 #include <math.h>
45653 main ()
45655 frexpl(0, 0);
45657 return 0;
45659 _ACEOF
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661 glibcxx_cv_func_frexpl_use=yes
45662 else
45663 glibcxx_cv_func_frexpl_use=no
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666 ac_ext=c
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45677 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45679 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45680 for ac_func in frexpl
45681 do :
45682 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45683 if test "x$ac_cv_func_frexpl" = x""yes; then :
45684 cat >>confdefs.h <<_ACEOF
45685 #define HAVE_FREXPL 1
45686 _ACEOF
45689 done
45691 else
45693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45694 $as_echo_n "checking for _frexpl declaration... " >&6; }
45695 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45696 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45697 $as_echo_n "(cached) " >&6
45698 else
45701 ac_ext=cpp
45702 ac_cpp='$CXXCPP $CPPFLAGS'
45703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45708 /* end confdefs.h. */
45709 #include <math.h>
45711 main ()
45713 _frexpl(0, 0);
45715 return 0;
45717 _ACEOF
45718 if ac_fn_cxx_try_compile "$LINENO"; then :
45719 glibcxx_cv_func__frexpl_use=yes
45720 else
45721 glibcxx_cv_func__frexpl_use=no
45723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45724 ac_ext=c
45725 ac_cpp='$CPP $CPPFLAGS'
45726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45735 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45737 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45738 for ac_func in _frexpl
45739 do :
45740 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45741 if test "x$ac_cv_func__frexpl" = x""yes; then :
45742 cat >>confdefs.h <<_ACEOF
45743 #define HAVE__FREXPL 1
45744 _ACEOF
45747 done
45756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45757 $as_echo_n "checking for hypotl declaration... " >&6; }
45758 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45759 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45760 $as_echo_n "(cached) " >&6
45761 else
45764 ac_ext=cpp
45765 ac_cpp='$CXXCPP $CPPFLAGS'
45766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45771 /* end confdefs.h. */
45772 #include <math.h>
45774 main ()
45776 hypotl(0, 0);
45778 return 0;
45780 _ACEOF
45781 if ac_fn_cxx_try_compile "$LINENO"; then :
45782 glibcxx_cv_func_hypotl_use=yes
45783 else
45784 glibcxx_cv_func_hypotl_use=no
45786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45787 ac_ext=c
45788 ac_cpp='$CPP $CPPFLAGS'
45789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45798 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45800 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45801 for ac_func in hypotl
45802 do :
45803 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45804 if test "x$ac_cv_func_hypotl" = x""yes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE_HYPOTL 1
45807 _ACEOF
45810 done
45812 else
45814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45815 $as_echo_n "checking for _hypotl declaration... " >&6; }
45816 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45817 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45818 $as_echo_n "(cached) " >&6
45819 else
45822 ac_ext=cpp
45823 ac_cpp='$CXXCPP $CPPFLAGS'
45824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45829 /* end confdefs.h. */
45830 #include <math.h>
45832 main ()
45834 _hypotl(0, 0);
45836 return 0;
45838 _ACEOF
45839 if ac_fn_cxx_try_compile "$LINENO"; then :
45840 glibcxx_cv_func__hypotl_use=yes
45841 else
45842 glibcxx_cv_func__hypotl_use=no
45844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45845 ac_ext=c
45846 ac_cpp='$CPP $CPPFLAGS'
45847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45856 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45858 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45859 for ac_func in _hypotl
45860 do :
45861 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45862 if test "x$ac_cv_func__hypotl" = x""yes; then :
45863 cat >>confdefs.h <<_ACEOF
45864 #define HAVE__HYPOTL 1
45865 _ACEOF
45868 done
45877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45878 $as_echo_n "checking for ldexpl declaration... " >&6; }
45879 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45880 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45881 $as_echo_n "(cached) " >&6
45882 else
45885 ac_ext=cpp
45886 ac_cpp='$CXXCPP $CPPFLAGS'
45887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45892 /* end confdefs.h. */
45893 #include <math.h>
45895 main ()
45897 ldexpl(0, 0);
45899 return 0;
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903 glibcxx_cv_func_ldexpl_use=yes
45904 else
45905 glibcxx_cv_func_ldexpl_use=no
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908 ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45919 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45921 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45922 for ac_func in ldexpl
45923 do :
45924 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45925 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45926 cat >>confdefs.h <<_ACEOF
45927 #define HAVE_LDEXPL 1
45928 _ACEOF
45931 done
45933 else
45935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45936 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45937 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45938 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45939 $as_echo_n "(cached) " >&6
45940 else
45943 ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h. */
45951 #include <math.h>
45953 main ()
45955 _ldexpl(0, 0);
45957 return 0;
45959 _ACEOF
45960 if ac_fn_cxx_try_compile "$LINENO"; then :
45961 glibcxx_cv_func__ldexpl_use=yes
45962 else
45963 glibcxx_cv_func__ldexpl_use=no
45965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45966 ac_ext=c
45967 ac_cpp='$CPP $CPPFLAGS'
45968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45977 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45979 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45980 for ac_func in _ldexpl
45981 do :
45982 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45983 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45984 cat >>confdefs.h <<_ACEOF
45985 #define HAVE__LDEXPL 1
45986 _ACEOF
45989 done
45998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45999 $as_echo_n "checking for logl declaration... " >&6; }
46000 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46001 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
46002 $as_echo_n "(cached) " >&6
46003 else
46006 ac_ext=cpp
46007 ac_cpp='$CXXCPP $CPPFLAGS'
46008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46013 /* end confdefs.h. */
46014 #include <math.h>
46015 #ifdef HAVE_IEEEFP_H
46016 #include <ieeefp.h>
46017 #endif
46020 main ()
46022 logl(0);
46024 return 0;
46026 _ACEOF
46027 if ac_fn_cxx_try_compile "$LINENO"; then :
46028 glibcxx_cv_func_logl_use=yes
46029 else
46030 glibcxx_cv_func_logl_use=no
46032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46033 ac_ext=c
46034 ac_cpp='$CPP $CPPFLAGS'
46035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46044 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46046 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46047 for ac_func in logl
46048 do :
46049 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46050 if test "x$ac_cv_func_logl" = x""yes; then :
46051 cat >>confdefs.h <<_ACEOF
46052 #define HAVE_LOGL 1
46053 _ACEOF
46056 done
46058 else
46060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46061 $as_echo_n "checking for _logl declaration... " >&6; }
46062 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46063 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46064 $as_echo_n "(cached) " >&6
46065 else
46068 ac_ext=cpp
46069 ac_cpp='$CXXCPP $CPPFLAGS'
46070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46075 /* end confdefs.h. */
46076 #include <math.h>
46077 #ifdef HAVE_IEEEFP_H
46078 #include <ieeefp.h>
46079 #endif
46082 main ()
46084 _logl(0);
46086 return 0;
46088 _ACEOF
46089 if ac_fn_cxx_try_compile "$LINENO"; then :
46090 glibcxx_cv_func__logl_use=yes
46091 else
46092 glibcxx_cv_func__logl_use=no
46094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46095 ac_ext=c
46096 ac_cpp='$CPP $CPPFLAGS'
46097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46106 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46108 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46109 for ac_func in _logl
46110 do :
46111 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46112 if test "x$ac_cv_func__logl" = x""yes; then :
46113 cat >>confdefs.h <<_ACEOF
46114 #define HAVE__LOGL 1
46115 _ACEOF
46118 done
46127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46128 $as_echo_n "checking for log10l declaration... " >&6; }
46129 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46130 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46131 $as_echo_n "(cached) " >&6
46132 else
46135 ac_ext=cpp
46136 ac_cpp='$CXXCPP $CPPFLAGS'
46137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46142 /* end confdefs.h. */
46143 #include <math.h>
46144 #ifdef HAVE_IEEEFP_H
46145 #include <ieeefp.h>
46146 #endif
46149 main ()
46151 log10l(0);
46153 return 0;
46155 _ACEOF
46156 if ac_fn_cxx_try_compile "$LINENO"; then :
46157 glibcxx_cv_func_log10l_use=yes
46158 else
46159 glibcxx_cv_func_log10l_use=no
46161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46162 ac_ext=c
46163 ac_cpp='$CPP $CPPFLAGS'
46164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46173 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46175 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46176 for ac_func in log10l
46177 do :
46178 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46179 if test "x$ac_cv_func_log10l" = x""yes; then :
46180 cat >>confdefs.h <<_ACEOF
46181 #define HAVE_LOG10L 1
46182 _ACEOF
46185 done
46187 else
46189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46190 $as_echo_n "checking for _log10l declaration... " >&6; }
46191 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46192 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46193 $as_echo_n "(cached) " >&6
46194 else
46197 ac_ext=cpp
46198 ac_cpp='$CXXCPP $CPPFLAGS'
46199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46204 /* end confdefs.h. */
46205 #include <math.h>
46206 #ifdef HAVE_IEEEFP_H
46207 #include <ieeefp.h>
46208 #endif
46211 main ()
46213 _log10l(0);
46215 return 0;
46217 _ACEOF
46218 if ac_fn_cxx_try_compile "$LINENO"; then :
46219 glibcxx_cv_func__log10l_use=yes
46220 else
46221 glibcxx_cv_func__log10l_use=no
46223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46224 ac_ext=c
46225 ac_cpp='$CPP $CPPFLAGS'
46226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46235 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46237 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46238 for ac_func in _log10l
46239 do :
46240 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46241 if test "x$ac_cv_func__log10l" = x""yes; then :
46242 cat >>confdefs.h <<_ACEOF
46243 #define HAVE__LOG10L 1
46244 _ACEOF
46247 done
46256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46257 $as_echo_n "checking for modfl declaration... " >&6; }
46258 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46259 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46260 $as_echo_n "(cached) " >&6
46261 else
46264 ac_ext=cpp
46265 ac_cpp='$CXXCPP $CPPFLAGS'
46266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46271 /* end confdefs.h. */
46272 #include <math.h>
46274 main ()
46276 modfl(0, 0);
46278 return 0;
46280 _ACEOF
46281 if ac_fn_cxx_try_compile "$LINENO"; then :
46282 glibcxx_cv_func_modfl_use=yes
46283 else
46284 glibcxx_cv_func_modfl_use=no
46286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46287 ac_ext=c
46288 ac_cpp='$CPP $CPPFLAGS'
46289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46298 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46300 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46301 for ac_func in modfl
46302 do :
46303 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46304 if test "x$ac_cv_func_modfl" = x""yes; then :
46305 cat >>confdefs.h <<_ACEOF
46306 #define HAVE_MODFL 1
46307 _ACEOF
46310 done
46312 else
46314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46315 $as_echo_n "checking for _modfl declaration... " >&6; }
46316 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46317 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46318 $as_echo_n "(cached) " >&6
46319 else
46322 ac_ext=cpp
46323 ac_cpp='$CXXCPP $CPPFLAGS'
46324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46329 /* end confdefs.h. */
46330 #include <math.h>
46332 main ()
46334 _modfl(0, 0);
46336 return 0;
46338 _ACEOF
46339 if ac_fn_cxx_try_compile "$LINENO"; then :
46340 glibcxx_cv_func__modfl_use=yes
46341 else
46342 glibcxx_cv_func__modfl_use=no
46344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46345 ac_ext=c
46346 ac_cpp='$CPP $CPPFLAGS'
46347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46356 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46358 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46359 for ac_func in _modfl
46360 do :
46361 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46362 if test "x$ac_cv_func__modfl" = x""yes; then :
46363 cat >>confdefs.h <<_ACEOF
46364 #define HAVE__MODFL 1
46365 _ACEOF
46368 done
46377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46378 $as_echo_n "checking for powl declaration... " >&6; }
46379 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46380 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46381 $as_echo_n "(cached) " >&6
46382 else
46385 ac_ext=cpp
46386 ac_cpp='$CXXCPP $CPPFLAGS'
46387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46392 /* end confdefs.h. */
46393 #include <math.h>
46395 main ()
46397 powl(0, 0);
46399 return 0;
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403 glibcxx_cv_func_powl_use=yes
46404 else
46405 glibcxx_cv_func_powl_use=no
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46419 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46421 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46422 for ac_func in powl
46423 do :
46424 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46425 if test "x$ac_cv_func_powl" = x""yes; then :
46426 cat >>confdefs.h <<_ACEOF
46427 #define HAVE_POWL 1
46428 _ACEOF
46431 done
46433 else
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46436 $as_echo_n "checking for _powl declaration... " >&6; }
46437 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46438 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46439 $as_echo_n "(cached) " >&6
46440 else
46443 ac_ext=cpp
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46450 /* end confdefs.h. */
46451 #include <math.h>
46453 main ()
46455 _powl(0, 0);
46457 return 0;
46459 _ACEOF
46460 if ac_fn_cxx_try_compile "$LINENO"; then :
46461 glibcxx_cv_func__powl_use=yes
46462 else
46463 glibcxx_cv_func__powl_use=no
46465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46466 ac_ext=c
46467 ac_cpp='$CPP $CPPFLAGS'
46468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46477 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46479 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46480 for ac_func in _powl
46481 do :
46482 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46483 if test "x$ac_cv_func__powl" = x""yes; then :
46484 cat >>confdefs.h <<_ACEOF
46485 #define HAVE__POWL 1
46486 _ACEOF
46489 done
46498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46499 $as_echo_n "checking for sqrtl declaration... " >&6; }
46500 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46501 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46502 $as_echo_n "(cached) " >&6
46503 else
46506 ac_ext=cpp
46507 ac_cpp='$CXXCPP $CPPFLAGS'
46508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46513 /* end confdefs.h. */
46514 #include <math.h>
46515 #ifdef HAVE_IEEEFP_H
46516 #include <ieeefp.h>
46517 #endif
46520 main ()
46522 sqrtl(0);
46524 return 0;
46526 _ACEOF
46527 if ac_fn_cxx_try_compile "$LINENO"; then :
46528 glibcxx_cv_func_sqrtl_use=yes
46529 else
46530 glibcxx_cv_func_sqrtl_use=no
46532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46533 ac_ext=c
46534 ac_cpp='$CPP $CPPFLAGS'
46535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46544 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46546 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46547 for ac_func in sqrtl
46548 do :
46549 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46550 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46551 cat >>confdefs.h <<_ACEOF
46552 #define HAVE_SQRTL 1
46553 _ACEOF
46556 done
46558 else
46560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46561 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46562 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46563 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46564 $as_echo_n "(cached) " >&6
46565 else
46568 ac_ext=cpp
46569 ac_cpp='$CXXCPP $CPPFLAGS'
46570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46575 /* end confdefs.h. */
46576 #include <math.h>
46577 #ifdef HAVE_IEEEFP_H
46578 #include <ieeefp.h>
46579 #endif
46582 main ()
46584 _sqrtl(0);
46586 return 0;
46588 _ACEOF
46589 if ac_fn_cxx_try_compile "$LINENO"; then :
46590 glibcxx_cv_func__sqrtl_use=yes
46591 else
46592 glibcxx_cv_func__sqrtl_use=no
46594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46595 ac_ext=c
46596 ac_cpp='$CPP $CPPFLAGS'
46597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46606 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46608 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46609 for ac_func in _sqrtl
46610 do :
46611 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46612 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46613 cat >>confdefs.h <<_ACEOF
46614 #define HAVE__SQRTL 1
46615 _ACEOF
46618 done
46627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46628 $as_echo_n "checking for sincosl declaration... " >&6; }
46629 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46630 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46631 $as_echo_n "(cached) " >&6
46632 else
46635 ac_ext=cpp
46636 ac_cpp='$CXXCPP $CPPFLAGS'
46637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46642 /* end confdefs.h. */
46643 #include <math.h>
46645 main ()
46647 sincosl(0, 0, 0);
46649 return 0;
46651 _ACEOF
46652 if ac_fn_cxx_try_compile "$LINENO"; then :
46653 glibcxx_cv_func_sincosl_use=yes
46654 else
46655 glibcxx_cv_func_sincosl_use=no
46657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46658 ac_ext=c
46659 ac_cpp='$CPP $CPPFLAGS'
46660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46669 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46671 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46672 for ac_func in sincosl
46673 do :
46674 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46675 if test "x$ac_cv_func_sincosl" = x""yes; then :
46676 cat >>confdefs.h <<_ACEOF
46677 #define HAVE_SINCOSL 1
46678 _ACEOF
46681 done
46683 else
46685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46686 $as_echo_n "checking for _sincosl declaration... " >&6; }
46687 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46688 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46689 $as_echo_n "(cached) " >&6
46690 else
46693 ac_ext=cpp
46694 ac_cpp='$CXXCPP $CPPFLAGS'
46695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46700 /* end confdefs.h. */
46701 #include <math.h>
46703 main ()
46705 _sincosl(0, 0, 0);
46707 return 0;
46709 _ACEOF
46710 if ac_fn_cxx_try_compile "$LINENO"; then :
46711 glibcxx_cv_func__sincosl_use=yes
46712 else
46713 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
46727 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46729 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46730 for ac_func in _sincosl
46731 do :
46732 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46733 if test "x$ac_cv_func__sincosl" = x""yes; then :
46734 cat >>confdefs.h <<_ACEOF
46735 #define HAVE__SINCOSL 1
46736 _ACEOF
46739 done
46748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46749 $as_echo_n "checking for finitel declaration... " >&6; }
46750 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46751 if test "${glibcxx_cv_func_finitel_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 finitel(0);
46774 return 0;
46776 _ACEOF
46777 if ac_fn_cxx_try_compile "$LINENO"; then :
46778 glibcxx_cv_func_finitel_use=yes
46779 else
46780 glibcxx_cv_func_finitel_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_finitel_use" >&5
46794 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46796 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46797 for ac_func in finitel
46798 do :
46799 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46800 if test "x$ac_cv_func_finitel" = x""yes; then :
46801 cat >>confdefs.h <<_ACEOF
46802 #define HAVE_FINITEL 1
46803 _ACEOF
46806 done
46808 else
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46811 $as_echo_n "checking for _finitel declaration... " >&6; }
46812 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46813 if test "${glibcxx_cv_func__finitel_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 _finitel(0);
46836 return 0;
46838 _ACEOF
46839 if ac_fn_cxx_try_compile "$LINENO"; then :
46840 glibcxx_cv_func__finitel_use=yes
46841 else
46842 glibcxx_cv_func__finitel_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__finitel_use" >&5
46856 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46858 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46859 for ac_func in _finitel
46860 do :
46861 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46862 if test "x$ac_cv_func__finitel" = x""yes; then :
46863 cat >>confdefs.h <<_ACEOF
46864 #define HAVE__FINITEL 1
46865 _ACEOF
46868 done
46876 LIBS="$ac_save_LIBS"
46877 CXXFLAGS="$ac_save_CXXFLAGS"
46880 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46881 ac_save_CXXFLAGS="$CXXFLAGS"
46882 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46886 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46887 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46888 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46889 $as_echo_n "(cached) " >&6
46890 else
46893 ac_ext=cpp
46894 ac_cpp='$CXXCPP $CPPFLAGS'
46895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46900 /* end confdefs.h. */
46901 #include <stdlib.h>
46903 main ()
46905 at_quick_exit(0);
46907 return 0;
46909 _ACEOF
46910 if ac_fn_cxx_try_compile "$LINENO"; then :
46911 glibcxx_cv_func_at_quick_exit_use=yes
46912 else
46913 glibcxx_cv_func_at_quick_exit_use=no
46915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46916 ac_ext=c
46917 ac_cpp='$CPP $CPPFLAGS'
46918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46927 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46928 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46929 for ac_func in at_quick_exit
46930 do :
46931 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46932 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46933 cat >>confdefs.h <<_ACEOF
46934 #define HAVE_AT_QUICK_EXIT 1
46935 _ACEOF
46938 done
46943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46944 $as_echo_n "checking for quick_exit declaration... " >&6; }
46945 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46946 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46947 $as_echo_n "(cached) " >&6
46948 else
46951 ac_ext=cpp
46952 ac_cpp='$CXXCPP $CPPFLAGS'
46953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46958 /* end confdefs.h. */
46959 #include <stdlib.h>
46961 main ()
46963 quick_exit(0);
46965 return 0;
46967 _ACEOF
46968 if ac_fn_cxx_try_compile "$LINENO"; then :
46969 glibcxx_cv_func_quick_exit_use=yes
46970 else
46971 glibcxx_cv_func_quick_exit_use=no
46973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46974 ac_ext=c
46975 ac_cpp='$CPP $CPPFLAGS'
46976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46985 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46986 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46987 for ac_func in quick_exit
46988 do :
46989 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46990 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46991 cat >>confdefs.h <<_ACEOF
46992 #define HAVE_QUICK_EXIT 1
46993 _ACEOF
46996 done
47001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47002 $as_echo_n "checking for strtold declaration... " >&6; }
47003 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47004 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
47005 $as_echo_n "(cached) " >&6
47006 else
47009 ac_ext=cpp
47010 ac_cpp='$CXXCPP $CPPFLAGS'
47011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47016 /* end confdefs.h. */
47017 #include <stdlib.h>
47019 main ()
47021 strtold(0, 0);
47023 return 0;
47025 _ACEOF
47026 if ac_fn_cxx_try_compile "$LINENO"; then :
47027 glibcxx_cv_func_strtold_use=yes
47028 else
47029 glibcxx_cv_func_strtold_use=no
47031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47032 ac_ext=c
47033 ac_cpp='$CPP $CPPFLAGS'
47034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47043 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47044 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47045 for ac_func in strtold
47046 do :
47047 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47048 if test "x$ac_cv_func_strtold" = x""yes; then :
47049 cat >>confdefs.h <<_ACEOF
47050 #define HAVE_STRTOLD 1
47051 _ACEOF
47054 done
47061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47062 $as_echo_n "checking for strtof declaration... " >&6; }
47063 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47064 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47065 $as_echo_n "(cached) " >&6
47066 else
47069 ac_ext=cpp
47070 ac_cpp='$CXXCPP $CPPFLAGS'
47071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47076 /* end confdefs.h. */
47077 #include <stdlib.h>
47079 main ()
47081 strtof(0, 0);
47083 return 0;
47085 _ACEOF
47086 if ac_fn_cxx_try_compile "$LINENO"; then :
47087 glibcxx_cv_func_strtof_use=yes
47088 else
47089 glibcxx_cv_func_strtof_use=no
47091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47092 ac_ext=c
47093 ac_cpp='$CPP $CPPFLAGS'
47094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47103 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47104 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47105 for ac_func in strtof
47106 do :
47107 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47108 if test "x$ac_cv_func_strtof" = x""yes; then :
47109 cat >>confdefs.h <<_ACEOF
47110 #define HAVE_STRTOF 1
47111 _ACEOF
47114 done
47121 CXXFLAGS="$ac_save_CXXFLAGS"
47123 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47125 # We don't yet support AIX's TLS ABI.
47126 #GCC_CHECK_TLS
47132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47133 $as_echo_n "checking for iconv... " >&6; }
47134 if test "${am_cv_func_iconv+set}" = set; then :
47135 $as_echo_n "(cached) " >&6
47136 else
47138 am_cv_func_iconv="no, consider installing GNU libiconv"
47139 am_cv_lib_iconv=no
47140 am_save_CPPFLAGS="$CPPFLAGS"
47141 CPPFLAGS="$CPPFLAGS $INCICONV"
47142 if test x$gcc_no_link = xyes; then
47143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47146 /* end confdefs.h. */
47147 #include <stdlib.h>
47148 #include <iconv.h>
47150 main ()
47152 iconv_t cd = iconv_open("","");
47153 iconv(cd,NULL,NULL,NULL,NULL);
47154 iconv_close(cd);
47156 return 0;
47158 _ACEOF
47159 if ac_fn_c_try_link "$LINENO"; then :
47160 am_cv_func_iconv=yes
47162 rm -f core conftest.err conftest.$ac_objext \
47163 conftest$ac_exeext conftest.$ac_ext
47164 CPPFLAGS="$am_save_CPPFLAGS"
47166 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47167 for _libs in .libs _libs; do
47168 am_save_CPPFLAGS="$CPPFLAGS"
47169 am_save_LIBS="$LIBS"
47170 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47171 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47172 if test x$gcc_no_link = xyes; then
47173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47176 /* end confdefs.h. */
47177 #include <stdlib.h>
47178 #include <iconv.h>
47180 main ()
47182 iconv_t cd = iconv_open("","");
47183 iconv(cd,NULL,NULL,NULL,NULL);
47184 iconv_close(cd);
47186 return 0;
47188 _ACEOF
47189 if ac_fn_c_try_link "$LINENO"; then :
47190 INCICONV="-I../libiconv/include"
47191 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47192 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47193 am_cv_lib_iconv=yes
47194 am_cv_func_iconv=yes
47196 rm -f core conftest.err conftest.$ac_objext \
47197 conftest$ac_exeext conftest.$ac_ext
47198 CPPFLAGS="$am_save_CPPFLAGS"
47199 LIBS="$am_save_LIBS"
47200 if test "$am_cv_func_iconv" = "yes"; then
47201 break
47203 done
47206 if test "$am_cv_func_iconv" != yes; then
47207 am_save_CPPFLAGS="$CPPFLAGS"
47208 am_save_LIBS="$LIBS"
47209 CPPFLAGS="$LIBS $INCICONV"
47210 LIBS="$LIBS $LIBICONV"
47211 if test x$gcc_no_link = xyes; then
47212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47215 /* end confdefs.h. */
47216 #include <stdlib.h>
47217 #include <iconv.h>
47219 main ()
47221 iconv_t cd = iconv_open("","");
47222 iconv(cd,NULL,NULL,NULL,NULL);
47223 iconv_close(cd);
47225 return 0;
47227 _ACEOF
47228 if ac_fn_c_try_link "$LINENO"; then :
47229 am_cv_lib_iconv=yes
47230 am_cv_func_iconv=yes
47232 rm -f core conftest.err conftest.$ac_objext \
47233 conftest$ac_exeext conftest.$ac_ext
47234 CPPFLAGS="$am_save_CPPFLAGS"
47235 LIBS="$am_save_LIBS"
47239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47240 $as_echo "$am_cv_func_iconv" >&6; }
47241 if test "$am_cv_func_iconv" = yes; then
47243 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47246 if test "$am_cv_lib_iconv" = yes; then
47248 for element in $INCICONV; do
47249 haveit=
47250 for x in $CPPFLAGS; do
47252 acl_save_prefix="$prefix"
47253 prefix="$acl_final_prefix"
47254 acl_save_exec_prefix="$exec_prefix"
47255 exec_prefix="$acl_final_exec_prefix"
47256 eval x=\"$x\"
47257 exec_prefix="$acl_save_exec_prefix"
47258 prefix="$acl_save_prefix"
47260 if test "X$x" = "X$element"; then
47261 haveit=yes
47262 break
47264 done
47265 if test -z "$haveit"; then
47266 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47268 done
47270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47271 $as_echo_n "checking how to link with libiconv... " >&6; }
47272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47273 $as_echo "$LIBICONV" >&6; }
47274 else
47275 LIBICONV=
47276 LTLIBICONV=
47281 if test "$am_cv_func_iconv" = yes; then
47282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47283 $as_echo_n "checking for iconv declaration... " >&6; }
47284 if test "${am_cv_proto_iconv+set}" = set; then :
47285 $as_echo_n "(cached) " >&6
47286 else
47288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47289 /* end confdefs.h. */
47291 #include <stdlib.h>
47292 #include <iconv.h>
47293 extern
47294 #ifdef __cplusplus
47296 #endif
47297 #if defined(__STDC__) || defined(__cplusplus)
47298 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47299 #else
47300 size_t iconv();
47301 #endif
47304 main ()
47308 return 0;
47310 _ACEOF
47311 if ac_fn_c_try_compile "$LINENO"; then :
47312 am_cv_proto_iconv_arg1=""
47313 else
47314 am_cv_proto_iconv_arg1="const"
47316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47317 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);"
47320 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47322 }$am_cv_proto_iconv" >&5
47323 $as_echo "${ac_t:-
47324 }$am_cv_proto_iconv" >&6; }
47326 cat >>confdefs.h <<_ACEOF
47327 #define ICONV_CONST $am_cv_proto_iconv_arg1
47328 _ACEOF
47334 *-darwin*)
47335 # Darwin versions vary, but the linker should work in a cross environment,
47336 # so we just check for all the features here.
47337 # Check for available headers.
47339 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47341 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47342 ac_save_CXXFLAGS="$CXXFLAGS"
47343 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47346 $as_echo_n "checking for sin in -lm... " >&6; }
47347 if test "${ac_cv_lib_m_sin+set}" = set; then :
47348 $as_echo_n "(cached) " >&6
47349 else
47350 ac_check_lib_save_LIBS=$LIBS
47351 LIBS="-lm $LIBS"
47352 if test x$gcc_no_link = xyes; then
47353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47356 /* end confdefs.h. */
47358 /* Override any GCC internal prototype to avoid an error.
47359 Use char because int might match the return type of a GCC
47360 builtin and then its argument prototype would still apply. */
47361 #ifdef __cplusplus
47362 extern "C"
47363 #endif
47364 char sin ();
47366 main ()
47368 return sin ();
47370 return 0;
47372 _ACEOF
47373 if ac_fn_c_try_link "$LINENO"; then :
47374 ac_cv_lib_m_sin=yes
47375 else
47376 ac_cv_lib_m_sin=no
47378 rm -f core conftest.err conftest.$ac_objext \
47379 conftest$ac_exeext conftest.$ac_ext
47380 LIBS=$ac_check_lib_save_LIBS
47382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47383 $as_echo "$ac_cv_lib_m_sin" >&6; }
47384 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47385 libm="-lm"
47388 ac_save_LIBS="$LIBS"
47389 LIBS="$LIBS $libm"
47393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47394 $as_echo_n "checking for isinf declaration... " >&6; }
47395 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47396 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47397 $as_echo_n "(cached) " >&6
47398 else
47401 ac_ext=cpp
47402 ac_cpp='$CXXCPP $CPPFLAGS'
47403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47408 /* end confdefs.h. */
47409 #include <math.h>
47410 #ifdef HAVE_IEEEFP_H
47411 #include <ieeefp.h>
47412 #endif
47415 main ()
47417 isinf(0);
47419 return 0;
47421 _ACEOF
47422 if ac_fn_cxx_try_compile "$LINENO"; then :
47423 glibcxx_cv_func_isinf_use=yes
47424 else
47425 glibcxx_cv_func_isinf_use=no
47427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47428 ac_ext=c
47429 ac_cpp='$CPP $CPPFLAGS'
47430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47439 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47441 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47442 for ac_func in isinf
47443 do :
47444 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47445 if test "x$ac_cv_func_isinf" = x""yes; then :
47446 cat >>confdefs.h <<_ACEOF
47447 #define HAVE_ISINF 1
47448 _ACEOF
47451 done
47453 else
47455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47456 $as_echo_n "checking for _isinf declaration... " >&6; }
47457 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47458 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47459 $as_echo_n "(cached) " >&6
47460 else
47463 ac_ext=cpp
47464 ac_cpp='$CXXCPP $CPPFLAGS'
47465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47470 /* end confdefs.h. */
47471 #include <math.h>
47472 #ifdef HAVE_IEEEFP_H
47473 #include <ieeefp.h>
47474 #endif
47477 main ()
47479 _isinf(0);
47481 return 0;
47483 _ACEOF
47484 if ac_fn_cxx_try_compile "$LINENO"; then :
47485 glibcxx_cv_func__isinf_use=yes
47486 else
47487 glibcxx_cv_func__isinf_use=no
47489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47490 ac_ext=c
47491 ac_cpp='$CPP $CPPFLAGS'
47492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47501 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47503 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47504 for ac_func in _isinf
47505 do :
47506 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47507 if test "x$ac_cv_func__isinf" = x""yes; then :
47508 cat >>confdefs.h <<_ACEOF
47509 #define HAVE__ISINF 1
47510 _ACEOF
47513 done
47522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47523 $as_echo_n "checking for isnan declaration... " >&6; }
47524 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47525 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47526 $as_echo_n "(cached) " >&6
47527 else
47530 ac_ext=cpp
47531 ac_cpp='$CXXCPP $CPPFLAGS'
47532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47537 /* end confdefs.h. */
47538 #include <math.h>
47539 #ifdef HAVE_IEEEFP_H
47540 #include <ieeefp.h>
47541 #endif
47544 main ()
47546 isnan(0);
47548 return 0;
47550 _ACEOF
47551 if ac_fn_cxx_try_compile "$LINENO"; then :
47552 glibcxx_cv_func_isnan_use=yes
47553 else
47554 glibcxx_cv_func_isnan_use=no
47556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47557 ac_ext=c
47558 ac_cpp='$CPP $CPPFLAGS'
47559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47568 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47570 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47571 for ac_func in isnan
47572 do :
47573 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47574 if test "x$ac_cv_func_isnan" = x""yes; then :
47575 cat >>confdefs.h <<_ACEOF
47576 #define HAVE_ISNAN 1
47577 _ACEOF
47580 done
47582 else
47584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47585 $as_echo_n "checking for _isnan declaration... " >&6; }
47586 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47587 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47588 $as_echo_n "(cached) " >&6
47589 else
47592 ac_ext=cpp
47593 ac_cpp='$CXXCPP $CPPFLAGS'
47594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47599 /* end confdefs.h. */
47600 #include <math.h>
47601 #ifdef HAVE_IEEEFP_H
47602 #include <ieeefp.h>
47603 #endif
47606 main ()
47608 _isnan(0);
47610 return 0;
47612 _ACEOF
47613 if ac_fn_cxx_try_compile "$LINENO"; then :
47614 glibcxx_cv_func__isnan_use=yes
47615 else
47616 glibcxx_cv_func__isnan_use=no
47618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47619 ac_ext=c
47620 ac_cpp='$CPP $CPPFLAGS'
47621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47630 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47632 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47633 for ac_func in _isnan
47634 do :
47635 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47636 if test "x$ac_cv_func__isnan" = x""yes; then :
47637 cat >>confdefs.h <<_ACEOF
47638 #define HAVE__ISNAN 1
47639 _ACEOF
47642 done
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47652 $as_echo_n "checking for finite declaration... " >&6; }
47653 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47654 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47655 $as_echo_n "(cached) " >&6
47656 else
47659 ac_ext=cpp
47660 ac_cpp='$CXXCPP $CPPFLAGS'
47661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47666 /* end confdefs.h. */
47667 #include <math.h>
47668 #ifdef HAVE_IEEEFP_H
47669 #include <ieeefp.h>
47670 #endif
47673 main ()
47675 finite(0);
47677 return 0;
47679 _ACEOF
47680 if ac_fn_cxx_try_compile "$LINENO"; then :
47681 glibcxx_cv_func_finite_use=yes
47682 else
47683 glibcxx_cv_func_finite_use=no
47685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47686 ac_ext=c
47687 ac_cpp='$CPP $CPPFLAGS'
47688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47697 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47699 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47700 for ac_func in finite
47701 do :
47702 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47703 if test "x$ac_cv_func_finite" = x""yes; then :
47704 cat >>confdefs.h <<_ACEOF
47705 #define HAVE_FINITE 1
47706 _ACEOF
47709 done
47711 else
47713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47714 $as_echo_n "checking for _finite declaration... " >&6; }
47715 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47716 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47717 $as_echo_n "(cached) " >&6
47718 else
47721 ac_ext=cpp
47722 ac_cpp='$CXXCPP $CPPFLAGS'
47723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47728 /* end confdefs.h. */
47729 #include <math.h>
47730 #ifdef HAVE_IEEEFP_H
47731 #include <ieeefp.h>
47732 #endif
47735 main ()
47737 _finite(0);
47739 return 0;
47741 _ACEOF
47742 if ac_fn_cxx_try_compile "$LINENO"; then :
47743 glibcxx_cv_func__finite_use=yes
47744 else
47745 glibcxx_cv_func__finite_use=no
47747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47748 ac_ext=c
47749 ac_cpp='$CPP $CPPFLAGS'
47750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47759 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47761 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47762 for ac_func in _finite
47763 do :
47764 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47765 if test "x$ac_cv_func__finite" = x""yes; then :
47766 cat >>confdefs.h <<_ACEOF
47767 #define HAVE__FINITE 1
47768 _ACEOF
47771 done
47780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47781 $as_echo_n "checking for sincos declaration... " >&6; }
47782 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47783 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47784 $as_echo_n "(cached) " >&6
47785 else
47788 ac_ext=cpp
47789 ac_cpp='$CXXCPP $CPPFLAGS'
47790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47795 /* end confdefs.h. */
47796 #include <math.h>
47798 main ()
47800 sincos(0, 0, 0);
47802 return 0;
47804 _ACEOF
47805 if ac_fn_cxx_try_compile "$LINENO"; then :
47806 glibcxx_cv_func_sincos_use=yes
47807 else
47808 glibcxx_cv_func_sincos_use=no
47810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47811 ac_ext=c
47812 ac_cpp='$CPP $CPPFLAGS'
47813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47822 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47824 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47825 for ac_func in sincos
47826 do :
47827 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47828 if test "x$ac_cv_func_sincos" = x""yes; then :
47829 cat >>confdefs.h <<_ACEOF
47830 #define HAVE_SINCOS 1
47831 _ACEOF
47834 done
47836 else
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47839 $as_echo_n "checking for _sincos declaration... " >&6; }
47840 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47841 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47842 $as_echo_n "(cached) " >&6
47843 else
47846 ac_ext=cpp
47847 ac_cpp='$CXXCPP $CPPFLAGS'
47848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47853 /* end confdefs.h. */
47854 #include <math.h>
47856 main ()
47858 _sincos(0, 0, 0);
47860 return 0;
47862 _ACEOF
47863 if ac_fn_cxx_try_compile "$LINENO"; then :
47864 glibcxx_cv_func__sincos_use=yes
47865 else
47866 glibcxx_cv_func__sincos_use=no
47868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47869 ac_ext=c
47870 ac_cpp='$CPP $CPPFLAGS'
47871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47880 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47882 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47883 for ac_func in _sincos
47884 do :
47885 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47886 if test "x$ac_cv_func__sincos" = x""yes; then :
47887 cat >>confdefs.h <<_ACEOF
47888 #define HAVE__SINCOS 1
47889 _ACEOF
47892 done
47901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47902 $as_echo_n "checking for fpclass declaration... " >&6; }
47903 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47904 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47905 $as_echo_n "(cached) " >&6
47906 else
47909 ac_ext=cpp
47910 ac_cpp='$CXXCPP $CPPFLAGS'
47911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47916 /* end confdefs.h. */
47917 #include <math.h>
47918 #ifdef HAVE_IEEEFP_H
47919 #include <ieeefp.h>
47920 #endif
47923 main ()
47925 fpclass(0);
47927 return 0;
47929 _ACEOF
47930 if ac_fn_cxx_try_compile "$LINENO"; then :
47931 glibcxx_cv_func_fpclass_use=yes
47932 else
47933 glibcxx_cv_func_fpclass_use=no
47935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47936 ac_ext=c
47937 ac_cpp='$CPP $CPPFLAGS'
47938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47947 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47949 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47950 for ac_func in fpclass
47951 do :
47952 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47953 if test "x$ac_cv_func_fpclass" = x""yes; then :
47954 cat >>confdefs.h <<_ACEOF
47955 #define HAVE_FPCLASS 1
47956 _ACEOF
47959 done
47961 else
47963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47964 $as_echo_n "checking for _fpclass declaration... " >&6; }
47965 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47966 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47967 $as_echo_n "(cached) " >&6
47968 else
47971 ac_ext=cpp
47972 ac_cpp='$CXXCPP $CPPFLAGS'
47973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47978 /* end confdefs.h. */
47979 #include <math.h>
47980 #ifdef HAVE_IEEEFP_H
47981 #include <ieeefp.h>
47982 #endif
47985 main ()
47987 _fpclass(0);
47989 return 0;
47991 _ACEOF
47992 if ac_fn_cxx_try_compile "$LINENO"; then :
47993 glibcxx_cv_func__fpclass_use=yes
47994 else
47995 glibcxx_cv_func__fpclass_use=no
47997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47998 ac_ext=c
47999 ac_cpp='$CPP $CPPFLAGS'
48000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48009 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48011 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48012 for ac_func in _fpclass
48013 do :
48014 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48015 if test "x$ac_cv_func__fpclass" = x""yes; then :
48016 cat >>confdefs.h <<_ACEOF
48017 #define HAVE__FPCLASS 1
48018 _ACEOF
48021 done
48030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48031 $as_echo_n "checking for qfpclass declaration... " >&6; }
48032 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48033 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48034 $as_echo_n "(cached) " >&6
48035 else
48038 ac_ext=cpp
48039 ac_cpp='$CXXCPP $CPPFLAGS'
48040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48045 /* end confdefs.h. */
48046 #include <math.h>
48047 #ifdef HAVE_IEEEFP_H
48048 #include <ieeefp.h>
48049 #endif
48052 main ()
48054 qfpclass(0);
48056 return 0;
48058 _ACEOF
48059 if ac_fn_cxx_try_compile "$LINENO"; then :
48060 glibcxx_cv_func_qfpclass_use=yes
48061 else
48062 glibcxx_cv_func_qfpclass_use=no
48064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48065 ac_ext=c
48066 ac_cpp='$CPP $CPPFLAGS'
48067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48076 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48078 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48079 for ac_func in qfpclass
48080 do :
48081 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48082 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48083 cat >>confdefs.h <<_ACEOF
48084 #define HAVE_QFPCLASS 1
48085 _ACEOF
48088 done
48090 else
48092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48093 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48094 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48095 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48096 $as_echo_n "(cached) " >&6
48097 else
48100 ac_ext=cpp
48101 ac_cpp='$CXXCPP $CPPFLAGS'
48102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48107 /* end confdefs.h. */
48108 #include <math.h>
48109 #ifdef HAVE_IEEEFP_H
48110 #include <ieeefp.h>
48111 #endif
48114 main ()
48116 _qfpclass(0);
48118 return 0;
48120 _ACEOF
48121 if ac_fn_cxx_try_compile "$LINENO"; then :
48122 glibcxx_cv_func__qfpclass_use=yes
48123 else
48124 glibcxx_cv_func__qfpclass_use=no
48126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48127 ac_ext=c
48128 ac_cpp='$CPP $CPPFLAGS'
48129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48138 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48140 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48141 for ac_func in _qfpclass
48142 do :
48143 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48144 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48145 cat >>confdefs.h <<_ACEOF
48146 #define HAVE__QFPCLASS 1
48147 _ACEOF
48150 done
48159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48160 $as_echo_n "checking for hypot declaration... " >&6; }
48161 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48162 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48163 $as_echo_n "(cached) " >&6
48164 else
48167 ac_ext=cpp
48168 ac_cpp='$CXXCPP $CPPFLAGS'
48169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48174 /* end confdefs.h. */
48175 #include <math.h>
48177 main ()
48179 hypot(0, 0);
48181 return 0;
48183 _ACEOF
48184 if ac_fn_cxx_try_compile "$LINENO"; then :
48185 glibcxx_cv_func_hypot_use=yes
48186 else
48187 glibcxx_cv_func_hypot_use=no
48189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48190 ac_ext=c
48191 ac_cpp='$CPP $CPPFLAGS'
48192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48201 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48203 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48204 for ac_func in hypot
48205 do :
48206 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48207 if test "x$ac_cv_func_hypot" = x""yes; then :
48208 cat >>confdefs.h <<_ACEOF
48209 #define HAVE_HYPOT 1
48210 _ACEOF
48213 done
48215 else
48217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48218 $as_echo_n "checking for _hypot declaration... " >&6; }
48219 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48220 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48221 $as_echo_n "(cached) " >&6
48222 else
48225 ac_ext=cpp
48226 ac_cpp='$CXXCPP $CPPFLAGS'
48227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48232 /* end confdefs.h. */
48233 #include <math.h>
48235 main ()
48237 _hypot(0, 0);
48239 return 0;
48241 _ACEOF
48242 if ac_fn_cxx_try_compile "$LINENO"; then :
48243 glibcxx_cv_func__hypot_use=yes
48244 else
48245 glibcxx_cv_func__hypot_use=no
48247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48248 ac_ext=c
48249 ac_cpp='$CPP $CPPFLAGS'
48250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48259 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48261 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48262 for ac_func in _hypot
48263 do :
48264 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48265 if test "x$ac_cv_func__hypot" = x""yes; then :
48266 cat >>confdefs.h <<_ACEOF
48267 #define HAVE__HYPOT 1
48268 _ACEOF
48271 done
48280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48281 $as_echo_n "checking for float trig functions... " >&6; }
48282 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48283 $as_echo_n "(cached) " >&6
48284 else
48287 ac_ext=cpp
48288 ac_cpp='$CXXCPP $CPPFLAGS'
48289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48294 /* end confdefs.h. */
48295 #include <math.h>
48297 main ()
48299 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48301 return 0;
48303 _ACEOF
48304 if ac_fn_cxx_try_compile "$LINENO"; then :
48305 glibcxx_cv_func_float_trig_use=yes
48306 else
48307 glibcxx_cv_func_float_trig_use=no
48309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48310 ac_ext=c
48311 ac_cpp='$CPP $CPPFLAGS'
48312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48319 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48320 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48321 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48322 do :
48323 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48325 eval as_val=\$$as_ac_var
48326 if test "x$as_val" = x""yes; then :
48327 cat >>confdefs.h <<_ACEOF
48328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48329 _ACEOF
48332 done
48334 else
48335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48336 $as_echo_n "checking for _float trig functions... " >&6; }
48337 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48338 $as_echo_n "(cached) " >&6
48339 else
48342 ac_ext=cpp
48343 ac_cpp='$CXXCPP $CPPFLAGS'
48344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48349 /* end confdefs.h. */
48350 #include <math.h>
48352 main ()
48354 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48356 return 0;
48358 _ACEOF
48359 if ac_fn_cxx_try_compile "$LINENO"; then :
48360 glibcxx_cv_func__float_trig_use=yes
48361 else
48362 glibcxx_cv_func__float_trig_use=no
48364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48365 ac_ext=c
48366 ac_cpp='$CPP $CPPFLAGS'
48367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48374 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48375 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48376 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48377 do :
48378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48380 eval as_val=\$$as_ac_var
48381 if test "x$as_val" = x""yes; then :
48382 cat >>confdefs.h <<_ACEOF
48383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48384 _ACEOF
48387 done
48396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48397 $as_echo_n "checking for float round functions... " >&6; }
48398 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48399 $as_echo_n "(cached) " >&6
48400 else
48403 ac_ext=cpp
48404 ac_cpp='$CXXCPP $CPPFLAGS'
48405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48410 /* end confdefs.h. */
48411 #include <math.h>
48413 main ()
48415 ceilf (0); floorf (0);
48417 return 0;
48419 _ACEOF
48420 if ac_fn_cxx_try_compile "$LINENO"; then :
48421 glibcxx_cv_func_float_round_use=yes
48422 else
48423 glibcxx_cv_func_float_round_use=no
48425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48426 ac_ext=c
48427 ac_cpp='$CPP $CPPFLAGS'
48428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48435 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48436 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48437 for ac_func in ceilf floorf
48438 do :
48439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48441 eval as_val=\$$as_ac_var
48442 if test "x$as_val" = x""yes; then :
48443 cat >>confdefs.h <<_ACEOF
48444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48445 _ACEOF
48448 done
48450 else
48451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48452 $as_echo_n "checking for _float round functions... " >&6; }
48453 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48454 $as_echo_n "(cached) " >&6
48455 else
48458 ac_ext=cpp
48459 ac_cpp='$CXXCPP $CPPFLAGS'
48460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48465 /* end confdefs.h. */
48466 #include <math.h>
48468 main ()
48470 _ceilf (0); _floorf (0);
48472 return 0;
48474 _ACEOF
48475 if ac_fn_cxx_try_compile "$LINENO"; then :
48476 glibcxx_cv_func__float_round_use=yes
48477 else
48478 glibcxx_cv_func__float_round_use=no
48480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48481 ac_ext=c
48482 ac_cpp='$CPP $CPPFLAGS'
48483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48490 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48491 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48492 for ac_func in _ceilf _floorf
48493 do :
48494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48496 eval as_val=\$$as_ac_var
48497 if test "x$as_val" = x""yes; then :
48498 cat >>confdefs.h <<_ACEOF
48499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48500 _ACEOF
48503 done
48513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48514 $as_echo_n "checking for expf declaration... " >&6; }
48515 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48516 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48517 $as_echo_n "(cached) " >&6
48518 else
48521 ac_ext=cpp
48522 ac_cpp='$CXXCPP $CPPFLAGS'
48523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48528 /* end confdefs.h. */
48529 #include <math.h>
48530 #ifdef HAVE_IEEEFP_H
48531 #include <ieeefp.h>
48532 #endif
48535 main ()
48537 expf(0);
48539 return 0;
48541 _ACEOF
48542 if ac_fn_cxx_try_compile "$LINENO"; then :
48543 glibcxx_cv_func_expf_use=yes
48544 else
48545 glibcxx_cv_func_expf_use=no
48547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48548 ac_ext=c
48549 ac_cpp='$CPP $CPPFLAGS'
48550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48559 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48561 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48562 for ac_func in expf
48563 do :
48564 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48565 if test "x$ac_cv_func_expf" = x""yes; then :
48566 cat >>confdefs.h <<_ACEOF
48567 #define HAVE_EXPF 1
48568 _ACEOF
48571 done
48573 else
48575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48576 $as_echo_n "checking for _expf declaration... " >&6; }
48577 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48578 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48579 $as_echo_n "(cached) " >&6
48580 else
48583 ac_ext=cpp
48584 ac_cpp='$CXXCPP $CPPFLAGS'
48585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48590 /* end confdefs.h. */
48591 #include <math.h>
48592 #ifdef HAVE_IEEEFP_H
48593 #include <ieeefp.h>
48594 #endif
48597 main ()
48599 _expf(0);
48601 return 0;
48603 _ACEOF
48604 if ac_fn_cxx_try_compile "$LINENO"; then :
48605 glibcxx_cv_func__expf_use=yes
48606 else
48607 glibcxx_cv_func__expf_use=no
48609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48610 ac_ext=c
48611 ac_cpp='$CPP $CPPFLAGS'
48612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48621 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48623 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48624 for ac_func in _expf
48625 do :
48626 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48627 if test "x$ac_cv_func__expf" = x""yes; then :
48628 cat >>confdefs.h <<_ACEOF
48629 #define HAVE__EXPF 1
48630 _ACEOF
48633 done
48642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48643 $as_echo_n "checking for isnanf declaration... " >&6; }
48644 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48645 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48646 $as_echo_n "(cached) " >&6
48647 else
48650 ac_ext=cpp
48651 ac_cpp='$CXXCPP $CPPFLAGS'
48652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48657 /* end confdefs.h. */
48658 #include <math.h>
48659 #ifdef HAVE_IEEEFP_H
48660 #include <ieeefp.h>
48661 #endif
48664 main ()
48666 isnanf(0);
48668 return 0;
48670 _ACEOF
48671 if ac_fn_cxx_try_compile "$LINENO"; then :
48672 glibcxx_cv_func_isnanf_use=yes
48673 else
48674 glibcxx_cv_func_isnanf_use=no
48676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48677 ac_ext=c
48678 ac_cpp='$CPP $CPPFLAGS'
48679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48688 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48690 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48691 for ac_func in isnanf
48692 do :
48693 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48694 if test "x$ac_cv_func_isnanf" = x""yes; then :
48695 cat >>confdefs.h <<_ACEOF
48696 #define HAVE_ISNANF 1
48697 _ACEOF
48700 done
48702 else
48704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48705 $as_echo_n "checking for _isnanf declaration... " >&6; }
48706 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48707 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48708 $as_echo_n "(cached) " >&6
48709 else
48712 ac_ext=cpp
48713 ac_cpp='$CXXCPP $CPPFLAGS'
48714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48719 /* end confdefs.h. */
48720 #include <math.h>
48721 #ifdef HAVE_IEEEFP_H
48722 #include <ieeefp.h>
48723 #endif
48726 main ()
48728 _isnanf(0);
48730 return 0;
48732 _ACEOF
48733 if ac_fn_cxx_try_compile "$LINENO"; then :
48734 glibcxx_cv_func__isnanf_use=yes
48735 else
48736 glibcxx_cv_func__isnanf_use=no
48738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48739 ac_ext=c
48740 ac_cpp='$CPP $CPPFLAGS'
48741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48750 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48752 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48753 for ac_func in _isnanf
48754 do :
48755 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48756 if test "x$ac_cv_func__isnanf" = x""yes; then :
48757 cat >>confdefs.h <<_ACEOF
48758 #define HAVE__ISNANF 1
48759 _ACEOF
48762 done
48771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48772 $as_echo_n "checking for isinff declaration... " >&6; }
48773 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48774 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48775 $as_echo_n "(cached) " >&6
48776 else
48779 ac_ext=cpp
48780 ac_cpp='$CXXCPP $CPPFLAGS'
48781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48786 /* end confdefs.h. */
48787 #include <math.h>
48788 #ifdef HAVE_IEEEFP_H
48789 #include <ieeefp.h>
48790 #endif
48793 main ()
48795 isinff(0);
48797 return 0;
48799 _ACEOF
48800 if ac_fn_cxx_try_compile "$LINENO"; then :
48801 glibcxx_cv_func_isinff_use=yes
48802 else
48803 glibcxx_cv_func_isinff_use=no
48805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48806 ac_ext=c
48807 ac_cpp='$CPP $CPPFLAGS'
48808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48817 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48819 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48820 for ac_func in isinff
48821 do :
48822 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48823 if test "x$ac_cv_func_isinff" = x""yes; then :
48824 cat >>confdefs.h <<_ACEOF
48825 #define HAVE_ISINFF 1
48826 _ACEOF
48829 done
48831 else
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48834 $as_echo_n "checking for _isinff declaration... " >&6; }
48835 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48836 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48837 $as_echo_n "(cached) " >&6
48838 else
48841 ac_ext=cpp
48842 ac_cpp='$CXXCPP $CPPFLAGS'
48843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h. */
48849 #include <math.h>
48850 #ifdef HAVE_IEEEFP_H
48851 #include <ieeefp.h>
48852 #endif
48855 main ()
48857 _isinff(0);
48859 return 0;
48861 _ACEOF
48862 if ac_fn_cxx_try_compile "$LINENO"; then :
48863 glibcxx_cv_func__isinff_use=yes
48864 else
48865 glibcxx_cv_func__isinff_use=no
48867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48868 ac_ext=c
48869 ac_cpp='$CPP $CPPFLAGS'
48870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48879 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48881 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48882 for ac_func in _isinff
48883 do :
48884 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48885 if test "x$ac_cv_func__isinff" = x""yes; then :
48886 cat >>confdefs.h <<_ACEOF
48887 #define HAVE__ISINFF 1
48888 _ACEOF
48891 done
48900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48901 $as_echo_n "checking for atan2f declaration... " >&6; }
48902 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48903 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48904 $as_echo_n "(cached) " >&6
48905 else
48908 ac_ext=cpp
48909 ac_cpp='$CXXCPP $CPPFLAGS'
48910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48915 /* end confdefs.h. */
48916 #include <math.h>
48918 main ()
48920 atan2f(0, 0);
48922 return 0;
48924 _ACEOF
48925 if ac_fn_cxx_try_compile "$LINENO"; then :
48926 glibcxx_cv_func_atan2f_use=yes
48927 else
48928 glibcxx_cv_func_atan2f_use=no
48930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48931 ac_ext=c
48932 ac_cpp='$CPP $CPPFLAGS'
48933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48942 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48944 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48945 for ac_func in atan2f
48946 do :
48947 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48948 if test "x$ac_cv_func_atan2f" = x""yes; then :
48949 cat >>confdefs.h <<_ACEOF
48950 #define HAVE_ATAN2F 1
48951 _ACEOF
48954 done
48956 else
48958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48959 $as_echo_n "checking for _atan2f declaration... " >&6; }
48960 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48961 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48962 $as_echo_n "(cached) " >&6
48963 else
48966 ac_ext=cpp
48967 ac_cpp='$CXXCPP $CPPFLAGS'
48968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48973 /* end confdefs.h. */
48974 #include <math.h>
48976 main ()
48978 _atan2f(0, 0);
48980 return 0;
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984 glibcxx_cv_func__atan2f_use=yes
48985 else
48986 glibcxx_cv_func__atan2f_use=no
48988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48989 ac_ext=c
48990 ac_cpp='$CPP $CPPFLAGS'
48991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49000 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49002 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49003 for ac_func in _atan2f
49004 do :
49005 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49006 if test "x$ac_cv_func__atan2f" = x""yes; then :
49007 cat >>confdefs.h <<_ACEOF
49008 #define HAVE__ATAN2F 1
49009 _ACEOF
49012 done
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49022 $as_echo_n "checking for fabsf declaration... " >&6; }
49023 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49024 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49025 $as_echo_n "(cached) " >&6
49026 else
49029 ac_ext=cpp
49030 ac_cpp='$CXXCPP $CPPFLAGS'
49031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49036 /* end confdefs.h. */
49037 #include <math.h>
49038 #ifdef HAVE_IEEEFP_H
49039 #include <ieeefp.h>
49040 #endif
49043 main ()
49045 fabsf(0);
49047 return 0;
49049 _ACEOF
49050 if ac_fn_cxx_try_compile "$LINENO"; then :
49051 glibcxx_cv_func_fabsf_use=yes
49052 else
49053 glibcxx_cv_func_fabsf_use=no
49055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49056 ac_ext=c
49057 ac_cpp='$CPP $CPPFLAGS'
49058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49067 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49069 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49070 for ac_func in fabsf
49071 do :
49072 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49073 if test "x$ac_cv_func_fabsf" = x""yes; then :
49074 cat >>confdefs.h <<_ACEOF
49075 #define HAVE_FABSF 1
49076 _ACEOF
49079 done
49081 else
49083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49084 $as_echo_n "checking for _fabsf declaration... " >&6; }
49085 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49086 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49087 $as_echo_n "(cached) " >&6
49088 else
49091 ac_ext=cpp
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49098 /* end confdefs.h. */
49099 #include <math.h>
49100 #ifdef HAVE_IEEEFP_H
49101 #include <ieeefp.h>
49102 #endif
49105 main ()
49107 _fabsf(0);
49109 return 0;
49111 _ACEOF
49112 if ac_fn_cxx_try_compile "$LINENO"; then :
49113 glibcxx_cv_func__fabsf_use=yes
49114 else
49115 glibcxx_cv_func__fabsf_use=no
49117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49129 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49131 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49132 for ac_func in _fabsf
49133 do :
49134 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49135 if test "x$ac_cv_func__fabsf" = x""yes; then :
49136 cat >>confdefs.h <<_ACEOF
49137 #define HAVE__FABSF 1
49138 _ACEOF
49141 done
49150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49151 $as_echo_n "checking for fmodf declaration... " >&6; }
49152 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49153 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49154 $as_echo_n "(cached) " >&6
49155 else
49158 ac_ext=cpp
49159 ac_cpp='$CXXCPP $CPPFLAGS'
49160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49165 /* end confdefs.h. */
49166 #include <math.h>
49168 main ()
49170 fmodf(0, 0);
49172 return 0;
49174 _ACEOF
49175 if ac_fn_cxx_try_compile "$LINENO"; then :
49176 glibcxx_cv_func_fmodf_use=yes
49177 else
49178 glibcxx_cv_func_fmodf_use=no
49180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49181 ac_ext=c
49182 ac_cpp='$CPP $CPPFLAGS'
49183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49192 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49194 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49195 for ac_func in fmodf
49196 do :
49197 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49198 if test "x$ac_cv_func_fmodf" = x""yes; then :
49199 cat >>confdefs.h <<_ACEOF
49200 #define HAVE_FMODF 1
49201 _ACEOF
49204 done
49206 else
49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49209 $as_echo_n "checking for _fmodf declaration... " >&6; }
49210 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49211 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49212 $as_echo_n "(cached) " >&6
49213 else
49216 ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h. */
49224 #include <math.h>
49226 main ()
49228 _fmodf(0, 0);
49230 return 0;
49232 _ACEOF
49233 if ac_fn_cxx_try_compile "$LINENO"; then :
49234 glibcxx_cv_func__fmodf_use=yes
49235 else
49236 glibcxx_cv_func__fmodf_use=no
49238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49239 ac_ext=c
49240 ac_cpp='$CPP $CPPFLAGS'
49241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49250 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49252 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49253 for ac_func in _fmodf
49254 do :
49255 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49256 if test "x$ac_cv_func__fmodf" = x""yes; then :
49257 cat >>confdefs.h <<_ACEOF
49258 #define HAVE__FMODF 1
49259 _ACEOF
49262 done
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49272 $as_echo_n "checking for frexpf declaration... " >&6; }
49273 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49274 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49275 $as_echo_n "(cached) " >&6
49276 else
49279 ac_ext=cpp
49280 ac_cpp='$CXXCPP $CPPFLAGS'
49281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49286 /* end confdefs.h. */
49287 #include <math.h>
49289 main ()
49291 frexpf(0, 0);
49293 return 0;
49295 _ACEOF
49296 if ac_fn_cxx_try_compile "$LINENO"; then :
49297 glibcxx_cv_func_frexpf_use=yes
49298 else
49299 glibcxx_cv_func_frexpf_use=no
49301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49302 ac_ext=c
49303 ac_cpp='$CPP $CPPFLAGS'
49304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49313 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49315 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49316 for ac_func in frexpf
49317 do :
49318 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49319 if test "x$ac_cv_func_frexpf" = x""yes; then :
49320 cat >>confdefs.h <<_ACEOF
49321 #define HAVE_FREXPF 1
49322 _ACEOF
49325 done
49327 else
49329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49330 $as_echo_n "checking for _frexpf declaration... " >&6; }
49331 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49332 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49333 $as_echo_n "(cached) " >&6
49334 else
49337 ac_ext=cpp
49338 ac_cpp='$CXXCPP $CPPFLAGS'
49339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49344 /* end confdefs.h. */
49345 #include <math.h>
49347 main ()
49349 _frexpf(0, 0);
49351 return 0;
49353 _ACEOF
49354 if ac_fn_cxx_try_compile "$LINENO"; then :
49355 glibcxx_cv_func__frexpf_use=yes
49356 else
49357 glibcxx_cv_func__frexpf_use=no
49359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49360 ac_ext=c
49361 ac_cpp='$CPP $CPPFLAGS'
49362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49371 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49373 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49374 for ac_func in _frexpf
49375 do :
49376 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49377 if test "x$ac_cv_func__frexpf" = x""yes; then :
49378 cat >>confdefs.h <<_ACEOF
49379 #define HAVE__FREXPF 1
49380 _ACEOF
49383 done
49392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49393 $as_echo_n "checking for hypotf declaration... " >&6; }
49394 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49395 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49396 $as_echo_n "(cached) " >&6
49397 else
49400 ac_ext=cpp
49401 ac_cpp='$CXXCPP $CPPFLAGS'
49402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49407 /* end confdefs.h. */
49408 #include <math.h>
49410 main ()
49412 hypotf(0, 0);
49414 return 0;
49416 _ACEOF
49417 if ac_fn_cxx_try_compile "$LINENO"; then :
49418 glibcxx_cv_func_hypotf_use=yes
49419 else
49420 glibcxx_cv_func_hypotf_use=no
49422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49423 ac_ext=c
49424 ac_cpp='$CPP $CPPFLAGS'
49425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49434 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49436 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49437 for ac_func in hypotf
49438 do :
49439 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49440 if test "x$ac_cv_func_hypotf" = x""yes; then :
49441 cat >>confdefs.h <<_ACEOF
49442 #define HAVE_HYPOTF 1
49443 _ACEOF
49446 done
49448 else
49450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49451 $as_echo_n "checking for _hypotf declaration... " >&6; }
49452 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49453 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49454 $as_echo_n "(cached) " >&6
49455 else
49458 ac_ext=cpp
49459 ac_cpp='$CXXCPP $CPPFLAGS'
49460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49465 /* end confdefs.h. */
49466 #include <math.h>
49468 main ()
49470 _hypotf(0, 0);
49472 return 0;
49474 _ACEOF
49475 if ac_fn_cxx_try_compile "$LINENO"; then :
49476 glibcxx_cv_func__hypotf_use=yes
49477 else
49478 glibcxx_cv_func__hypotf_use=no
49480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49481 ac_ext=c
49482 ac_cpp='$CPP $CPPFLAGS'
49483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49492 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49494 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49495 for ac_func in _hypotf
49496 do :
49497 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49498 if test "x$ac_cv_func__hypotf" = x""yes; then :
49499 cat >>confdefs.h <<_ACEOF
49500 #define HAVE__HYPOTF 1
49501 _ACEOF
49504 done
49513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49514 $as_echo_n "checking for ldexpf declaration... " >&6; }
49515 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49516 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49517 $as_echo_n "(cached) " >&6
49518 else
49521 ac_ext=cpp
49522 ac_cpp='$CXXCPP $CPPFLAGS'
49523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49528 /* end confdefs.h. */
49529 #include <math.h>
49531 main ()
49533 ldexpf(0, 0);
49535 return 0;
49537 _ACEOF
49538 if ac_fn_cxx_try_compile "$LINENO"; then :
49539 glibcxx_cv_func_ldexpf_use=yes
49540 else
49541 glibcxx_cv_func_ldexpf_use=no
49543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49544 ac_ext=c
49545 ac_cpp='$CPP $CPPFLAGS'
49546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49555 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49557 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49558 for ac_func in ldexpf
49559 do :
49560 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49561 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49562 cat >>confdefs.h <<_ACEOF
49563 #define HAVE_LDEXPF 1
49564 _ACEOF
49567 done
49569 else
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49572 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49573 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49574 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49575 $as_echo_n "(cached) " >&6
49576 else
49579 ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h. */
49587 #include <math.h>
49589 main ()
49591 _ldexpf(0, 0);
49593 return 0;
49595 _ACEOF
49596 if ac_fn_cxx_try_compile "$LINENO"; then :
49597 glibcxx_cv_func__ldexpf_use=yes
49598 else
49599 glibcxx_cv_func__ldexpf_use=no
49601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49602 ac_ext=c
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49613 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49615 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49616 for ac_func in _ldexpf
49617 do :
49618 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49619 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49620 cat >>confdefs.h <<_ACEOF
49621 #define HAVE__LDEXPF 1
49622 _ACEOF
49625 done
49634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49635 $as_echo_n "checking for logf declaration... " >&6; }
49636 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49637 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49638 $as_echo_n "(cached) " >&6
49639 else
49642 ac_ext=cpp
49643 ac_cpp='$CXXCPP $CPPFLAGS'
49644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49649 /* end confdefs.h. */
49650 #include <math.h>
49651 #ifdef HAVE_IEEEFP_H
49652 #include <ieeefp.h>
49653 #endif
49656 main ()
49658 logf(0);
49660 return 0;
49662 _ACEOF
49663 if ac_fn_cxx_try_compile "$LINENO"; then :
49664 glibcxx_cv_func_logf_use=yes
49665 else
49666 glibcxx_cv_func_logf_use=no
49668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49669 ac_ext=c
49670 ac_cpp='$CPP $CPPFLAGS'
49671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49680 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49682 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49683 for ac_func in logf
49684 do :
49685 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49686 if test "x$ac_cv_func_logf" = x""yes; then :
49687 cat >>confdefs.h <<_ACEOF
49688 #define HAVE_LOGF 1
49689 _ACEOF
49692 done
49694 else
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49697 $as_echo_n "checking for _logf declaration... " >&6; }
49698 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49699 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49700 $as_echo_n "(cached) " >&6
49701 else
49704 ac_ext=cpp
49705 ac_cpp='$CXXCPP $CPPFLAGS'
49706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49711 /* end confdefs.h. */
49712 #include <math.h>
49713 #ifdef HAVE_IEEEFP_H
49714 #include <ieeefp.h>
49715 #endif
49718 main ()
49720 _logf(0);
49722 return 0;
49724 _ACEOF
49725 if ac_fn_cxx_try_compile "$LINENO"; then :
49726 glibcxx_cv_func__logf_use=yes
49727 else
49728 glibcxx_cv_func__logf_use=no
49730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49731 ac_ext=c
49732 ac_cpp='$CPP $CPPFLAGS'
49733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49742 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49744 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49745 for ac_func in _logf
49746 do :
49747 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49748 if test "x$ac_cv_func__logf" = x""yes; then :
49749 cat >>confdefs.h <<_ACEOF
49750 #define HAVE__LOGF 1
49751 _ACEOF
49754 done
49763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49764 $as_echo_n "checking for log10f declaration... " >&6; }
49765 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49766 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49767 $as_echo_n "(cached) " >&6
49768 else
49771 ac_ext=cpp
49772 ac_cpp='$CXXCPP $CPPFLAGS'
49773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49778 /* end confdefs.h. */
49779 #include <math.h>
49780 #ifdef HAVE_IEEEFP_H
49781 #include <ieeefp.h>
49782 #endif
49785 main ()
49787 log10f(0);
49789 return 0;
49791 _ACEOF
49792 if ac_fn_cxx_try_compile "$LINENO"; then :
49793 glibcxx_cv_func_log10f_use=yes
49794 else
49795 glibcxx_cv_func_log10f_use=no
49797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49798 ac_ext=c
49799 ac_cpp='$CPP $CPPFLAGS'
49800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49809 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49811 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49812 for ac_func in log10f
49813 do :
49814 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49815 if test "x$ac_cv_func_log10f" = x""yes; then :
49816 cat >>confdefs.h <<_ACEOF
49817 #define HAVE_LOG10F 1
49818 _ACEOF
49821 done
49823 else
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49826 $as_echo_n "checking for _log10f declaration... " >&6; }
49827 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49828 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49829 $as_echo_n "(cached) " >&6
49830 else
49833 ac_ext=cpp
49834 ac_cpp='$CXXCPP $CPPFLAGS'
49835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49840 /* end confdefs.h. */
49841 #include <math.h>
49842 #ifdef HAVE_IEEEFP_H
49843 #include <ieeefp.h>
49844 #endif
49847 main ()
49849 _log10f(0);
49851 return 0;
49853 _ACEOF
49854 if ac_fn_cxx_try_compile "$LINENO"; then :
49855 glibcxx_cv_func__log10f_use=yes
49856 else
49857 glibcxx_cv_func__log10f_use=no
49859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49860 ac_ext=c
49861 ac_cpp='$CPP $CPPFLAGS'
49862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49871 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49873 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49874 for ac_func in _log10f
49875 do :
49876 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49877 if test "x$ac_cv_func__log10f" = x""yes; then :
49878 cat >>confdefs.h <<_ACEOF
49879 #define HAVE__LOG10F 1
49880 _ACEOF
49883 done
49892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49893 $as_echo_n "checking for modff declaration... " >&6; }
49894 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49895 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49896 $as_echo_n "(cached) " >&6
49897 else
49900 ac_ext=cpp
49901 ac_cpp='$CXXCPP $CPPFLAGS'
49902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49907 /* end confdefs.h. */
49908 #include <math.h>
49910 main ()
49912 modff(0, 0);
49914 return 0;
49916 _ACEOF
49917 if ac_fn_cxx_try_compile "$LINENO"; then :
49918 glibcxx_cv_func_modff_use=yes
49919 else
49920 glibcxx_cv_func_modff_use=no
49922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49923 ac_ext=c
49924 ac_cpp='$CPP $CPPFLAGS'
49925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49934 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49936 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49937 for ac_func in modff
49938 do :
49939 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49940 if test "x$ac_cv_func_modff" = x""yes; then :
49941 cat >>confdefs.h <<_ACEOF
49942 #define HAVE_MODFF 1
49943 _ACEOF
49946 done
49948 else
49950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49951 $as_echo_n "checking for _modff declaration... " >&6; }
49952 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49953 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49954 $as_echo_n "(cached) " >&6
49955 else
49958 ac_ext=cpp
49959 ac_cpp='$CXXCPP $CPPFLAGS'
49960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49965 /* end confdefs.h. */
49966 #include <math.h>
49968 main ()
49970 _modff(0, 0);
49972 return 0;
49974 _ACEOF
49975 if ac_fn_cxx_try_compile "$LINENO"; then :
49976 glibcxx_cv_func__modff_use=yes
49977 else
49978 glibcxx_cv_func__modff_use=no
49980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49981 ac_ext=c
49982 ac_cpp='$CPP $CPPFLAGS'
49983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49992 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49994 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49995 for ac_func in _modff
49996 do :
49997 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49998 if test "x$ac_cv_func__modff" = x""yes; then :
49999 cat >>confdefs.h <<_ACEOF
50000 #define HAVE__MODFF 1
50001 _ACEOF
50004 done
50013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50014 $as_echo_n "checking for modf declaration... " >&6; }
50015 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50016 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50017 $as_echo_n "(cached) " >&6
50018 else
50021 ac_ext=cpp
50022 ac_cpp='$CXXCPP $CPPFLAGS'
50023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50028 /* end confdefs.h. */
50029 #include <math.h>
50031 main ()
50033 modf(0, 0);
50035 return 0;
50037 _ACEOF
50038 if ac_fn_cxx_try_compile "$LINENO"; then :
50039 glibcxx_cv_func_modf_use=yes
50040 else
50041 glibcxx_cv_func_modf_use=no
50043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50044 ac_ext=c
50045 ac_cpp='$CPP $CPPFLAGS'
50046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50055 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50057 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50058 for ac_func in modf
50059 do :
50060 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50061 if test "x$ac_cv_func_modf" = x""yes; then :
50062 cat >>confdefs.h <<_ACEOF
50063 #define HAVE_MODF 1
50064 _ACEOF
50067 done
50069 else
50071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50072 $as_echo_n "checking for _modf declaration... " >&6; }
50073 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50074 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50075 $as_echo_n "(cached) " >&6
50076 else
50079 ac_ext=cpp
50080 ac_cpp='$CXXCPP $CPPFLAGS'
50081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50086 /* end confdefs.h. */
50087 #include <math.h>
50089 main ()
50091 _modf(0, 0);
50093 return 0;
50095 _ACEOF
50096 if ac_fn_cxx_try_compile "$LINENO"; then :
50097 glibcxx_cv_func__modf_use=yes
50098 else
50099 glibcxx_cv_func__modf_use=no
50101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50102 ac_ext=c
50103 ac_cpp='$CPP $CPPFLAGS'
50104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50113 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50115 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50116 for ac_func in _modf
50117 do :
50118 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50119 if test "x$ac_cv_func__modf" = x""yes; then :
50120 cat >>confdefs.h <<_ACEOF
50121 #define HAVE__MODF 1
50122 _ACEOF
50125 done
50134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50135 $as_echo_n "checking for powf declaration... " >&6; }
50136 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50137 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50138 $as_echo_n "(cached) " >&6
50139 else
50142 ac_ext=cpp
50143 ac_cpp='$CXXCPP $CPPFLAGS'
50144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50149 /* end confdefs.h. */
50150 #include <math.h>
50152 main ()
50154 powf(0, 0);
50156 return 0;
50158 _ACEOF
50159 if ac_fn_cxx_try_compile "$LINENO"; then :
50160 glibcxx_cv_func_powf_use=yes
50161 else
50162 glibcxx_cv_func_powf_use=no
50164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50165 ac_ext=c
50166 ac_cpp='$CPP $CPPFLAGS'
50167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50176 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50178 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50179 for ac_func in powf
50180 do :
50181 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50182 if test "x$ac_cv_func_powf" = x""yes; then :
50183 cat >>confdefs.h <<_ACEOF
50184 #define HAVE_POWF 1
50185 _ACEOF
50188 done
50190 else
50192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50193 $as_echo_n "checking for _powf declaration... " >&6; }
50194 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50195 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50196 $as_echo_n "(cached) " >&6
50197 else
50200 ac_ext=cpp
50201 ac_cpp='$CXXCPP $CPPFLAGS'
50202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50207 /* end confdefs.h. */
50208 #include <math.h>
50210 main ()
50212 _powf(0, 0);
50214 return 0;
50216 _ACEOF
50217 if ac_fn_cxx_try_compile "$LINENO"; then :
50218 glibcxx_cv_func__powf_use=yes
50219 else
50220 glibcxx_cv_func__powf_use=no
50222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50223 ac_ext=c
50224 ac_cpp='$CPP $CPPFLAGS'
50225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50234 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50236 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50237 for ac_func in _powf
50238 do :
50239 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50240 if test "x$ac_cv_func__powf" = x""yes; then :
50241 cat >>confdefs.h <<_ACEOF
50242 #define HAVE__POWF 1
50243 _ACEOF
50246 done
50255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50256 $as_echo_n "checking for sqrtf declaration... " >&6; }
50257 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50258 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50259 $as_echo_n "(cached) " >&6
50260 else
50263 ac_ext=cpp
50264 ac_cpp='$CXXCPP $CPPFLAGS'
50265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50270 /* end confdefs.h. */
50271 #include <math.h>
50272 #ifdef HAVE_IEEEFP_H
50273 #include <ieeefp.h>
50274 #endif
50277 main ()
50279 sqrtf(0);
50281 return 0;
50283 _ACEOF
50284 if ac_fn_cxx_try_compile "$LINENO"; then :
50285 glibcxx_cv_func_sqrtf_use=yes
50286 else
50287 glibcxx_cv_func_sqrtf_use=no
50289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50290 ac_ext=c
50291 ac_cpp='$CPP $CPPFLAGS'
50292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50301 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50303 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50304 for ac_func in sqrtf
50305 do :
50306 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50307 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50308 cat >>confdefs.h <<_ACEOF
50309 #define HAVE_SQRTF 1
50310 _ACEOF
50313 done
50315 else
50317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50318 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50319 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50320 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50321 $as_echo_n "(cached) " >&6
50322 else
50325 ac_ext=cpp
50326 ac_cpp='$CXXCPP $CPPFLAGS'
50327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50332 /* end confdefs.h. */
50333 #include <math.h>
50334 #ifdef HAVE_IEEEFP_H
50335 #include <ieeefp.h>
50336 #endif
50339 main ()
50341 _sqrtf(0);
50343 return 0;
50345 _ACEOF
50346 if ac_fn_cxx_try_compile "$LINENO"; then :
50347 glibcxx_cv_func__sqrtf_use=yes
50348 else
50349 glibcxx_cv_func__sqrtf_use=no
50351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50352 ac_ext=c
50353 ac_cpp='$CPP $CPPFLAGS'
50354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50363 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50365 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50366 for ac_func in _sqrtf
50367 do :
50368 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50369 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50370 cat >>confdefs.h <<_ACEOF
50371 #define HAVE__SQRTF 1
50372 _ACEOF
50375 done
50384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50385 $as_echo_n "checking for sincosf declaration... " >&6; }
50386 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50387 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50388 $as_echo_n "(cached) " >&6
50389 else
50392 ac_ext=cpp
50393 ac_cpp='$CXXCPP $CPPFLAGS'
50394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50399 /* end confdefs.h. */
50400 #include <math.h>
50402 main ()
50404 sincosf(0, 0, 0);
50406 return 0;
50408 _ACEOF
50409 if ac_fn_cxx_try_compile "$LINENO"; then :
50410 glibcxx_cv_func_sincosf_use=yes
50411 else
50412 glibcxx_cv_func_sincosf_use=no
50414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50415 ac_ext=c
50416 ac_cpp='$CPP $CPPFLAGS'
50417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50426 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50428 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50429 for ac_func in sincosf
50430 do :
50431 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50432 if test "x$ac_cv_func_sincosf" = x""yes; then :
50433 cat >>confdefs.h <<_ACEOF
50434 #define HAVE_SINCOSF 1
50435 _ACEOF
50438 done
50440 else
50442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50443 $as_echo_n "checking for _sincosf declaration... " >&6; }
50444 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50445 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50446 $as_echo_n "(cached) " >&6
50447 else
50450 ac_ext=cpp
50451 ac_cpp='$CXXCPP $CPPFLAGS'
50452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50457 /* end confdefs.h. */
50458 #include <math.h>
50460 main ()
50462 _sincosf(0, 0, 0);
50464 return 0;
50466 _ACEOF
50467 if ac_fn_cxx_try_compile "$LINENO"; then :
50468 glibcxx_cv_func__sincosf_use=yes
50469 else
50470 glibcxx_cv_func__sincosf_use=no
50472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50473 ac_ext=c
50474 ac_cpp='$CPP $CPPFLAGS'
50475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50484 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50486 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50487 for ac_func in _sincosf
50488 do :
50489 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50490 if test "x$ac_cv_func__sincosf" = x""yes; then :
50491 cat >>confdefs.h <<_ACEOF
50492 #define HAVE__SINCOSF 1
50493 _ACEOF
50496 done
50505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50506 $as_echo_n "checking for finitef declaration... " >&6; }
50507 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50508 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50509 $as_echo_n "(cached) " >&6
50510 else
50513 ac_ext=cpp
50514 ac_cpp='$CXXCPP $CPPFLAGS'
50515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50520 /* end confdefs.h. */
50521 #include <math.h>
50522 #ifdef HAVE_IEEEFP_H
50523 #include <ieeefp.h>
50524 #endif
50527 main ()
50529 finitef(0);
50531 return 0;
50533 _ACEOF
50534 if ac_fn_cxx_try_compile "$LINENO"; then :
50535 glibcxx_cv_func_finitef_use=yes
50536 else
50537 glibcxx_cv_func_finitef_use=no
50539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50540 ac_ext=c
50541 ac_cpp='$CPP $CPPFLAGS'
50542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50551 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50553 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50554 for ac_func in finitef
50555 do :
50556 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50557 if test "x$ac_cv_func_finitef" = x""yes; then :
50558 cat >>confdefs.h <<_ACEOF
50559 #define HAVE_FINITEF 1
50560 _ACEOF
50563 done
50565 else
50567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50568 $as_echo_n "checking for _finitef declaration... " >&6; }
50569 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50570 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50571 $as_echo_n "(cached) " >&6
50572 else
50575 ac_ext=cpp
50576 ac_cpp='$CXXCPP $CPPFLAGS'
50577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50582 /* end confdefs.h. */
50583 #include <math.h>
50584 #ifdef HAVE_IEEEFP_H
50585 #include <ieeefp.h>
50586 #endif
50589 main ()
50591 _finitef(0);
50593 return 0;
50595 _ACEOF
50596 if ac_fn_cxx_try_compile "$LINENO"; then :
50597 glibcxx_cv_func__finitef_use=yes
50598 else
50599 glibcxx_cv_func__finitef_use=no
50601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50602 ac_ext=c
50603 ac_cpp='$CPP $CPPFLAGS'
50604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50613 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50615 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50616 for ac_func in _finitef
50617 do :
50618 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50619 if test "x$ac_cv_func__finitef" = x""yes; then :
50620 cat >>confdefs.h <<_ACEOF
50621 #define HAVE__FINITEF 1
50622 _ACEOF
50625 done
50634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50635 $as_echo_n "checking for long double trig functions... " >&6; }
50636 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50637 $as_echo_n "(cached) " >&6
50638 else
50641 ac_ext=cpp
50642 ac_cpp='$CXXCPP $CPPFLAGS'
50643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50648 /* end confdefs.h. */
50649 #include <math.h>
50651 main ()
50653 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50655 return 0;
50657 _ACEOF
50658 if ac_fn_cxx_try_compile "$LINENO"; then :
50659 glibcxx_cv_func_long_double_trig_use=yes
50660 else
50661 glibcxx_cv_func_long_double_trig_use=no
50663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50664 ac_ext=c
50665 ac_cpp='$CPP $CPPFLAGS'
50666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50673 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50674 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50675 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50676 do :
50677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50679 eval as_val=\$$as_ac_var
50680 if test "x$as_val" = x""yes; then :
50681 cat >>confdefs.h <<_ACEOF
50682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50683 _ACEOF
50686 done
50688 else
50689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50690 $as_echo_n "checking for _long double trig functions... " >&6; }
50691 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50692 $as_echo_n "(cached) " >&6
50693 else
50696 ac_ext=cpp
50697 ac_cpp='$CXXCPP $CPPFLAGS'
50698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50703 /* end confdefs.h. */
50704 #include <math.h>
50706 main ()
50708 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50710 return 0;
50712 _ACEOF
50713 if ac_fn_cxx_try_compile "$LINENO"; then :
50714 glibcxx_cv_func__long_double_trig_use=yes
50715 else
50716 glibcxx_cv_func__long_double_trig_use=no
50718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50719 ac_ext=c
50720 ac_cpp='$CPP $CPPFLAGS'
50721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50728 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50729 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50730 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50731 do :
50732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50734 eval as_val=\$$as_ac_var
50735 if test "x$as_val" = x""yes; then :
50736 cat >>confdefs.h <<_ACEOF
50737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50738 _ACEOF
50741 done
50750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50751 $as_echo_n "checking for long double round functions... " >&6; }
50752 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50753 $as_echo_n "(cached) " >&6
50754 else
50757 ac_ext=cpp
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50764 /* end confdefs.h. */
50765 #include <math.h>
50767 main ()
50769 ceill (0); floorl (0);
50771 return 0;
50773 _ACEOF
50774 if ac_fn_cxx_try_compile "$LINENO"; then :
50775 glibcxx_cv_func_long_double_round_use=yes
50776 else
50777 glibcxx_cv_func_long_double_round_use=no
50779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50780 ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50789 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50790 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50791 for ac_func in ceill floorl
50792 do :
50793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50795 eval as_val=\$$as_ac_var
50796 if test "x$as_val" = x""yes; then :
50797 cat >>confdefs.h <<_ACEOF
50798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50799 _ACEOF
50802 done
50804 else
50805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50806 $as_echo_n "checking for _long double round functions... " >&6; }
50807 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50808 $as_echo_n "(cached) " >&6
50809 else
50812 ac_ext=cpp
50813 ac_cpp='$CXXCPP $CPPFLAGS'
50814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50819 /* end confdefs.h. */
50820 #include <math.h>
50822 main ()
50824 _ceill (0); _floorl (0);
50826 return 0;
50828 _ACEOF
50829 if ac_fn_cxx_try_compile "$LINENO"; then :
50830 glibcxx_cv_func__long_double_round_use=yes
50831 else
50832 glibcxx_cv_func__long_double_round_use=no
50834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50835 ac_ext=c
50836 ac_cpp='$CPP $CPPFLAGS'
50837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50844 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50845 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50846 for ac_func in _ceill _floorl
50847 do :
50848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50850 eval as_val=\$$as_ac_var
50851 if test "x$as_val" = x""yes; then :
50852 cat >>confdefs.h <<_ACEOF
50853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50854 _ACEOF
50857 done
50867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50868 $as_echo_n "checking for isnanl declaration... " >&6; }
50869 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50870 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50871 $as_echo_n "(cached) " >&6
50872 else
50875 ac_ext=cpp
50876 ac_cpp='$CXXCPP $CPPFLAGS'
50877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50882 /* end confdefs.h. */
50883 #include <math.h>
50884 #ifdef HAVE_IEEEFP_H
50885 #include <ieeefp.h>
50886 #endif
50889 main ()
50891 isnanl(0);
50893 return 0;
50895 _ACEOF
50896 if ac_fn_cxx_try_compile "$LINENO"; then :
50897 glibcxx_cv_func_isnanl_use=yes
50898 else
50899 glibcxx_cv_func_isnanl_use=no
50901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50902 ac_ext=c
50903 ac_cpp='$CPP $CPPFLAGS'
50904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50913 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50915 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50916 for ac_func in isnanl
50917 do :
50918 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50919 if test "x$ac_cv_func_isnanl" = x""yes; then :
50920 cat >>confdefs.h <<_ACEOF
50921 #define HAVE_ISNANL 1
50922 _ACEOF
50925 done
50927 else
50929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50930 $as_echo_n "checking for _isnanl declaration... " >&6; }
50931 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50932 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50933 $as_echo_n "(cached) " >&6
50934 else
50937 ac_ext=cpp
50938 ac_cpp='$CXXCPP $CPPFLAGS'
50939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50944 /* end confdefs.h. */
50945 #include <math.h>
50946 #ifdef HAVE_IEEEFP_H
50947 #include <ieeefp.h>
50948 #endif
50951 main ()
50953 _isnanl(0);
50955 return 0;
50957 _ACEOF
50958 if ac_fn_cxx_try_compile "$LINENO"; then :
50959 glibcxx_cv_func__isnanl_use=yes
50960 else
50961 glibcxx_cv_func__isnanl_use=no
50963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50964 ac_ext=c
50965 ac_cpp='$CPP $CPPFLAGS'
50966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50975 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50977 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50978 for ac_func in _isnanl
50979 do :
50980 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50981 if test "x$ac_cv_func__isnanl" = x""yes; then :
50982 cat >>confdefs.h <<_ACEOF
50983 #define HAVE__ISNANL 1
50984 _ACEOF
50987 done
50996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50997 $as_echo_n "checking for isinfl declaration... " >&6; }
50998 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50999 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
51000 $as_echo_n "(cached) " >&6
51001 else
51004 ac_ext=cpp
51005 ac_cpp='$CXXCPP $CPPFLAGS'
51006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51011 /* end confdefs.h. */
51012 #include <math.h>
51013 #ifdef HAVE_IEEEFP_H
51014 #include <ieeefp.h>
51015 #endif
51018 main ()
51020 isinfl(0);
51022 return 0;
51024 _ACEOF
51025 if ac_fn_cxx_try_compile "$LINENO"; then :
51026 glibcxx_cv_func_isinfl_use=yes
51027 else
51028 glibcxx_cv_func_isinfl_use=no
51030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51031 ac_ext=c
51032 ac_cpp='$CPP $CPPFLAGS'
51033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51042 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51044 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51045 for ac_func in isinfl
51046 do :
51047 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51048 if test "x$ac_cv_func_isinfl" = x""yes; then :
51049 cat >>confdefs.h <<_ACEOF
51050 #define HAVE_ISINFL 1
51051 _ACEOF
51054 done
51056 else
51058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51059 $as_echo_n "checking for _isinfl declaration... " >&6; }
51060 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51061 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51062 $as_echo_n "(cached) " >&6
51063 else
51066 ac_ext=cpp
51067 ac_cpp='$CXXCPP $CPPFLAGS'
51068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51073 /* end confdefs.h. */
51074 #include <math.h>
51075 #ifdef HAVE_IEEEFP_H
51076 #include <ieeefp.h>
51077 #endif
51080 main ()
51082 _isinfl(0);
51084 return 0;
51086 _ACEOF
51087 if ac_fn_cxx_try_compile "$LINENO"; then :
51088 glibcxx_cv_func__isinfl_use=yes
51089 else
51090 glibcxx_cv_func__isinfl_use=no
51092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51093 ac_ext=c
51094 ac_cpp='$CPP $CPPFLAGS'
51095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51104 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51106 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51107 for ac_func in _isinfl
51108 do :
51109 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51110 if test "x$ac_cv_func__isinfl" = x""yes; then :
51111 cat >>confdefs.h <<_ACEOF
51112 #define HAVE__ISINFL 1
51113 _ACEOF
51116 done
51125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51126 $as_echo_n "checking for atan2l declaration... " >&6; }
51127 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51128 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51129 $as_echo_n "(cached) " >&6
51130 else
51133 ac_ext=cpp
51134 ac_cpp='$CXXCPP $CPPFLAGS'
51135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51140 /* end confdefs.h. */
51141 #include <math.h>
51143 main ()
51145 atan2l(0, 0);
51147 return 0;
51149 _ACEOF
51150 if ac_fn_cxx_try_compile "$LINENO"; then :
51151 glibcxx_cv_func_atan2l_use=yes
51152 else
51153 glibcxx_cv_func_atan2l_use=no
51155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51156 ac_ext=c
51157 ac_cpp='$CPP $CPPFLAGS'
51158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51167 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51169 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51170 for ac_func in atan2l
51171 do :
51172 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51173 if test "x$ac_cv_func_atan2l" = x""yes; then :
51174 cat >>confdefs.h <<_ACEOF
51175 #define HAVE_ATAN2L 1
51176 _ACEOF
51179 done
51181 else
51183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51184 $as_echo_n "checking for _atan2l declaration... " >&6; }
51185 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51186 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51187 $as_echo_n "(cached) " >&6
51188 else
51191 ac_ext=cpp
51192 ac_cpp='$CXXCPP $CPPFLAGS'
51193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51198 /* end confdefs.h. */
51199 #include <math.h>
51201 main ()
51203 _atan2l(0, 0);
51205 return 0;
51207 _ACEOF
51208 if ac_fn_cxx_try_compile "$LINENO"; then :
51209 glibcxx_cv_func__atan2l_use=yes
51210 else
51211 glibcxx_cv_func__atan2l_use=no
51213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51214 ac_ext=c
51215 ac_cpp='$CPP $CPPFLAGS'
51216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51225 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51227 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51228 for ac_func in _atan2l
51229 do :
51230 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51231 if test "x$ac_cv_func__atan2l" = x""yes; then :
51232 cat >>confdefs.h <<_ACEOF
51233 #define HAVE__ATAN2L 1
51234 _ACEOF
51237 done
51246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51247 $as_echo_n "checking for expl declaration... " >&6; }
51248 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51249 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51250 $as_echo_n "(cached) " >&6
51251 else
51254 ac_ext=cpp
51255 ac_cpp='$CXXCPP $CPPFLAGS'
51256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51261 /* end confdefs.h. */
51262 #include <math.h>
51263 #ifdef HAVE_IEEEFP_H
51264 #include <ieeefp.h>
51265 #endif
51268 main ()
51270 expl(0);
51272 return 0;
51274 _ACEOF
51275 if ac_fn_cxx_try_compile "$LINENO"; then :
51276 glibcxx_cv_func_expl_use=yes
51277 else
51278 glibcxx_cv_func_expl_use=no
51280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51281 ac_ext=c
51282 ac_cpp='$CPP $CPPFLAGS'
51283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51292 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51294 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51295 for ac_func in expl
51296 do :
51297 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51298 if test "x$ac_cv_func_expl" = x""yes; then :
51299 cat >>confdefs.h <<_ACEOF
51300 #define HAVE_EXPL 1
51301 _ACEOF
51304 done
51306 else
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51309 $as_echo_n "checking for _expl declaration... " >&6; }
51310 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51311 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51312 $as_echo_n "(cached) " >&6
51313 else
51316 ac_ext=cpp
51317 ac_cpp='$CXXCPP $CPPFLAGS'
51318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51323 /* end confdefs.h. */
51324 #include <math.h>
51325 #ifdef HAVE_IEEEFP_H
51326 #include <ieeefp.h>
51327 #endif
51330 main ()
51332 _expl(0);
51334 return 0;
51336 _ACEOF
51337 if ac_fn_cxx_try_compile "$LINENO"; then :
51338 glibcxx_cv_func__expl_use=yes
51339 else
51340 glibcxx_cv_func__expl_use=no
51342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51343 ac_ext=c
51344 ac_cpp='$CPP $CPPFLAGS'
51345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51354 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51356 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51357 for ac_func in _expl
51358 do :
51359 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51360 if test "x$ac_cv_func__expl" = x""yes; then :
51361 cat >>confdefs.h <<_ACEOF
51362 #define HAVE__EXPL 1
51363 _ACEOF
51366 done
51375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51376 $as_echo_n "checking for fabsl declaration... " >&6; }
51377 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51378 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51379 $as_echo_n "(cached) " >&6
51380 else
51383 ac_ext=cpp
51384 ac_cpp='$CXXCPP $CPPFLAGS'
51385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 #include <math.h>
51392 #ifdef HAVE_IEEEFP_H
51393 #include <ieeefp.h>
51394 #endif
51397 main ()
51399 fabsl(0);
51401 return 0;
51403 _ACEOF
51404 if ac_fn_cxx_try_compile "$LINENO"; then :
51405 glibcxx_cv_func_fabsl_use=yes
51406 else
51407 glibcxx_cv_func_fabsl_use=no
51409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51410 ac_ext=c
51411 ac_cpp='$CPP $CPPFLAGS'
51412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51421 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51423 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51424 for ac_func in fabsl
51425 do :
51426 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51427 if test "x$ac_cv_func_fabsl" = x""yes; then :
51428 cat >>confdefs.h <<_ACEOF
51429 #define HAVE_FABSL 1
51430 _ACEOF
51433 done
51435 else
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51438 $as_echo_n "checking for _fabsl declaration... " >&6; }
51439 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51440 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51441 $as_echo_n "(cached) " >&6
51442 else
51445 ac_ext=cpp
51446 ac_cpp='$CXXCPP $CPPFLAGS'
51447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51452 /* end confdefs.h. */
51453 #include <math.h>
51454 #ifdef HAVE_IEEEFP_H
51455 #include <ieeefp.h>
51456 #endif
51459 main ()
51461 _fabsl(0);
51463 return 0;
51465 _ACEOF
51466 if ac_fn_cxx_try_compile "$LINENO"; then :
51467 glibcxx_cv_func__fabsl_use=yes
51468 else
51469 glibcxx_cv_func__fabsl_use=no
51471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51472 ac_ext=c
51473 ac_cpp='$CPP $CPPFLAGS'
51474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51483 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51485 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51486 for ac_func in _fabsl
51487 do :
51488 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51489 if test "x$ac_cv_func__fabsl" = x""yes; then :
51490 cat >>confdefs.h <<_ACEOF
51491 #define HAVE__FABSL 1
51492 _ACEOF
51495 done
51504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51505 $as_echo_n "checking for fmodl declaration... " >&6; }
51506 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51507 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51508 $as_echo_n "(cached) " >&6
51509 else
51512 ac_ext=cpp
51513 ac_cpp='$CXXCPP $CPPFLAGS'
51514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51519 /* end confdefs.h. */
51520 #include <math.h>
51522 main ()
51524 fmodl(0, 0);
51526 return 0;
51528 _ACEOF
51529 if ac_fn_cxx_try_compile "$LINENO"; then :
51530 glibcxx_cv_func_fmodl_use=yes
51531 else
51532 glibcxx_cv_func_fmodl_use=no
51534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51535 ac_ext=c
51536 ac_cpp='$CPP $CPPFLAGS'
51537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51546 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51548 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51549 for ac_func in fmodl
51550 do :
51551 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51552 if test "x$ac_cv_func_fmodl" = x""yes; then :
51553 cat >>confdefs.h <<_ACEOF
51554 #define HAVE_FMODL 1
51555 _ACEOF
51558 done
51560 else
51562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51563 $as_echo_n "checking for _fmodl declaration... " >&6; }
51564 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51565 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51566 $as_echo_n "(cached) " >&6
51567 else
51570 ac_ext=cpp
51571 ac_cpp='$CXXCPP $CPPFLAGS'
51572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51577 /* end confdefs.h. */
51578 #include <math.h>
51580 main ()
51582 _fmodl(0, 0);
51584 return 0;
51586 _ACEOF
51587 if ac_fn_cxx_try_compile "$LINENO"; then :
51588 glibcxx_cv_func__fmodl_use=yes
51589 else
51590 glibcxx_cv_func__fmodl_use=no
51592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51593 ac_ext=c
51594 ac_cpp='$CPP $CPPFLAGS'
51595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51604 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51606 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51607 for ac_func in _fmodl
51608 do :
51609 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51610 if test "x$ac_cv_func__fmodl" = x""yes; then :
51611 cat >>confdefs.h <<_ACEOF
51612 #define HAVE__FMODL 1
51613 _ACEOF
51616 done
51625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51626 $as_echo_n "checking for frexpl declaration... " >&6; }
51627 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51628 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51629 $as_echo_n "(cached) " >&6
51630 else
51633 ac_ext=cpp
51634 ac_cpp='$CXXCPP $CPPFLAGS'
51635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51640 /* end confdefs.h. */
51641 #include <math.h>
51643 main ()
51645 frexpl(0, 0);
51647 return 0;
51649 _ACEOF
51650 if ac_fn_cxx_try_compile "$LINENO"; then :
51651 glibcxx_cv_func_frexpl_use=yes
51652 else
51653 glibcxx_cv_func_frexpl_use=no
51655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51656 ac_ext=c
51657 ac_cpp='$CPP $CPPFLAGS'
51658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51667 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51669 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51670 for ac_func in frexpl
51671 do :
51672 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51673 if test "x$ac_cv_func_frexpl" = x""yes; then :
51674 cat >>confdefs.h <<_ACEOF
51675 #define HAVE_FREXPL 1
51676 _ACEOF
51679 done
51681 else
51683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51684 $as_echo_n "checking for _frexpl declaration... " >&6; }
51685 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51686 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51687 $as_echo_n "(cached) " >&6
51688 else
51691 ac_ext=cpp
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51698 /* end confdefs.h. */
51699 #include <math.h>
51701 main ()
51703 _frexpl(0, 0);
51705 return 0;
51707 _ACEOF
51708 if ac_fn_cxx_try_compile "$LINENO"; then :
51709 glibcxx_cv_func__frexpl_use=yes
51710 else
51711 glibcxx_cv_func__frexpl_use=no
51713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51714 ac_ext=c
51715 ac_cpp='$CPP $CPPFLAGS'
51716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51725 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51727 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51728 for ac_func in _frexpl
51729 do :
51730 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51731 if test "x$ac_cv_func__frexpl" = x""yes; then :
51732 cat >>confdefs.h <<_ACEOF
51733 #define HAVE__FREXPL 1
51734 _ACEOF
51737 done
51746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51747 $as_echo_n "checking for hypotl declaration... " >&6; }
51748 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51749 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51750 $as_echo_n "(cached) " >&6
51751 else
51754 ac_ext=cpp
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h. */
51762 #include <math.h>
51764 main ()
51766 hypotl(0, 0);
51768 return 0;
51770 _ACEOF
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772 glibcxx_cv_func_hypotl_use=yes
51773 else
51774 glibcxx_cv_func_hypotl_use=no
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51777 ac_ext=c
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51788 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51790 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51791 for ac_func in hypotl
51792 do :
51793 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51794 if test "x$ac_cv_func_hypotl" = x""yes; then :
51795 cat >>confdefs.h <<_ACEOF
51796 #define HAVE_HYPOTL 1
51797 _ACEOF
51800 done
51802 else
51804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51805 $as_echo_n "checking for _hypotl declaration... " >&6; }
51806 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51807 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51808 $as_echo_n "(cached) " >&6
51809 else
51812 ac_ext=cpp
51813 ac_cpp='$CXXCPP $CPPFLAGS'
51814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51819 /* end confdefs.h. */
51820 #include <math.h>
51822 main ()
51824 _hypotl(0, 0);
51826 return 0;
51828 _ACEOF
51829 if ac_fn_cxx_try_compile "$LINENO"; then :
51830 glibcxx_cv_func__hypotl_use=yes
51831 else
51832 glibcxx_cv_func__hypotl_use=no
51834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51835 ac_ext=c
51836 ac_cpp='$CPP $CPPFLAGS'
51837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51846 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51848 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51849 for ac_func in _hypotl
51850 do :
51851 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51852 if test "x$ac_cv_func__hypotl" = x""yes; then :
51853 cat >>confdefs.h <<_ACEOF
51854 #define HAVE__HYPOTL 1
51855 _ACEOF
51858 done
51867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51868 $as_echo_n "checking for ldexpl declaration... " >&6; }
51869 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51870 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51871 $as_echo_n "(cached) " >&6
51872 else
51875 ac_ext=cpp
51876 ac_cpp='$CXXCPP $CPPFLAGS'
51877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51882 /* end confdefs.h. */
51883 #include <math.h>
51885 main ()
51887 ldexpl(0, 0);
51889 return 0;
51891 _ACEOF
51892 if ac_fn_cxx_try_compile "$LINENO"; then :
51893 glibcxx_cv_func_ldexpl_use=yes
51894 else
51895 glibcxx_cv_func_ldexpl_use=no
51897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51898 ac_ext=c
51899 ac_cpp='$CPP $CPPFLAGS'
51900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51909 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51911 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51912 for ac_func in ldexpl
51913 do :
51914 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51915 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51916 cat >>confdefs.h <<_ACEOF
51917 #define HAVE_LDEXPL 1
51918 _ACEOF
51921 done
51923 else
51925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51926 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51927 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51928 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51929 $as_echo_n "(cached) " >&6
51930 else
51933 ac_ext=cpp
51934 ac_cpp='$CXXCPP $CPPFLAGS'
51935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51940 /* end confdefs.h. */
51941 #include <math.h>
51943 main ()
51945 _ldexpl(0, 0);
51947 return 0;
51949 _ACEOF
51950 if ac_fn_cxx_try_compile "$LINENO"; then :
51951 glibcxx_cv_func__ldexpl_use=yes
51952 else
51953 glibcxx_cv_func__ldexpl_use=no
51955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51956 ac_ext=c
51957 ac_cpp='$CPP $CPPFLAGS'
51958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51967 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51969 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51970 for ac_func in _ldexpl
51971 do :
51972 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51973 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51974 cat >>confdefs.h <<_ACEOF
51975 #define HAVE__LDEXPL 1
51976 _ACEOF
51979 done
51988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51989 $as_echo_n "checking for logl declaration... " >&6; }
51990 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51991 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51992 $as_echo_n "(cached) " >&6
51993 else
51996 ac_ext=cpp
51997 ac_cpp='$CXXCPP $CPPFLAGS'
51998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52003 /* end confdefs.h. */
52004 #include <math.h>
52005 #ifdef HAVE_IEEEFP_H
52006 #include <ieeefp.h>
52007 #endif
52010 main ()
52012 logl(0);
52014 return 0;
52016 _ACEOF
52017 if ac_fn_cxx_try_compile "$LINENO"; then :
52018 glibcxx_cv_func_logl_use=yes
52019 else
52020 glibcxx_cv_func_logl_use=no
52022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52023 ac_ext=c
52024 ac_cpp='$CPP $CPPFLAGS'
52025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52034 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52036 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52037 for ac_func in logl
52038 do :
52039 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52040 if test "x$ac_cv_func_logl" = x""yes; then :
52041 cat >>confdefs.h <<_ACEOF
52042 #define HAVE_LOGL 1
52043 _ACEOF
52046 done
52048 else
52050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52051 $as_echo_n "checking for _logl declaration... " >&6; }
52052 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52053 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52054 $as_echo_n "(cached) " >&6
52055 else
52058 ac_ext=cpp
52059 ac_cpp='$CXXCPP $CPPFLAGS'
52060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52065 /* end confdefs.h. */
52066 #include <math.h>
52067 #ifdef HAVE_IEEEFP_H
52068 #include <ieeefp.h>
52069 #endif
52072 main ()
52074 _logl(0);
52076 return 0;
52078 _ACEOF
52079 if ac_fn_cxx_try_compile "$LINENO"; then :
52080 glibcxx_cv_func__logl_use=yes
52081 else
52082 glibcxx_cv_func__logl_use=no
52084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52085 ac_ext=c
52086 ac_cpp='$CPP $CPPFLAGS'
52087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52096 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52098 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52099 for ac_func in _logl
52100 do :
52101 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52102 if test "x$ac_cv_func__logl" = x""yes; then :
52103 cat >>confdefs.h <<_ACEOF
52104 #define HAVE__LOGL 1
52105 _ACEOF
52108 done
52117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52118 $as_echo_n "checking for log10l declaration... " >&6; }
52119 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52120 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52121 $as_echo_n "(cached) " >&6
52122 else
52125 ac_ext=cpp
52126 ac_cpp='$CXXCPP $CPPFLAGS'
52127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52132 /* end confdefs.h. */
52133 #include <math.h>
52134 #ifdef HAVE_IEEEFP_H
52135 #include <ieeefp.h>
52136 #endif
52139 main ()
52141 log10l(0);
52143 return 0;
52145 _ACEOF
52146 if ac_fn_cxx_try_compile "$LINENO"; then :
52147 glibcxx_cv_func_log10l_use=yes
52148 else
52149 glibcxx_cv_func_log10l_use=no
52151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52152 ac_ext=c
52153 ac_cpp='$CPP $CPPFLAGS'
52154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52163 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52165 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52166 for ac_func in log10l
52167 do :
52168 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52169 if test "x$ac_cv_func_log10l" = x""yes; then :
52170 cat >>confdefs.h <<_ACEOF
52171 #define HAVE_LOG10L 1
52172 _ACEOF
52175 done
52177 else
52179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52180 $as_echo_n "checking for _log10l declaration... " >&6; }
52181 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52182 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52183 $as_echo_n "(cached) " >&6
52184 else
52187 ac_ext=cpp
52188 ac_cpp='$CXXCPP $CPPFLAGS'
52189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52194 /* end confdefs.h. */
52195 #include <math.h>
52196 #ifdef HAVE_IEEEFP_H
52197 #include <ieeefp.h>
52198 #endif
52201 main ()
52203 _log10l(0);
52205 return 0;
52207 _ACEOF
52208 if ac_fn_cxx_try_compile "$LINENO"; then :
52209 glibcxx_cv_func__log10l_use=yes
52210 else
52211 glibcxx_cv_func__log10l_use=no
52213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52214 ac_ext=c
52215 ac_cpp='$CPP $CPPFLAGS'
52216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52225 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52227 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52228 for ac_func in _log10l
52229 do :
52230 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52231 if test "x$ac_cv_func__log10l" = x""yes; then :
52232 cat >>confdefs.h <<_ACEOF
52233 #define HAVE__LOG10L 1
52234 _ACEOF
52237 done
52246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52247 $as_echo_n "checking for modfl declaration... " >&6; }
52248 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52249 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52250 $as_echo_n "(cached) " >&6
52251 else
52254 ac_ext=cpp
52255 ac_cpp='$CXXCPP $CPPFLAGS'
52256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52261 /* end confdefs.h. */
52262 #include <math.h>
52264 main ()
52266 modfl(0, 0);
52268 return 0;
52270 _ACEOF
52271 if ac_fn_cxx_try_compile "$LINENO"; then :
52272 glibcxx_cv_func_modfl_use=yes
52273 else
52274 glibcxx_cv_func_modfl_use=no
52276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52277 ac_ext=c
52278 ac_cpp='$CPP $CPPFLAGS'
52279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52288 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52290 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52291 for ac_func in modfl
52292 do :
52293 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52294 if test "x$ac_cv_func_modfl" = x""yes; then :
52295 cat >>confdefs.h <<_ACEOF
52296 #define HAVE_MODFL 1
52297 _ACEOF
52300 done
52302 else
52304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52305 $as_echo_n "checking for _modfl declaration... " >&6; }
52306 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52307 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52308 $as_echo_n "(cached) " >&6
52309 else
52312 ac_ext=cpp
52313 ac_cpp='$CXXCPP $CPPFLAGS'
52314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52319 /* end confdefs.h. */
52320 #include <math.h>
52322 main ()
52324 _modfl(0, 0);
52326 return 0;
52328 _ACEOF
52329 if ac_fn_cxx_try_compile "$LINENO"; then :
52330 glibcxx_cv_func__modfl_use=yes
52331 else
52332 glibcxx_cv_func__modfl_use=no
52334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52335 ac_ext=c
52336 ac_cpp='$CPP $CPPFLAGS'
52337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52346 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52348 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52349 for ac_func in _modfl
52350 do :
52351 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52352 if test "x$ac_cv_func__modfl" = x""yes; then :
52353 cat >>confdefs.h <<_ACEOF
52354 #define HAVE__MODFL 1
52355 _ACEOF
52358 done
52367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52368 $as_echo_n "checking for powl declaration... " >&6; }
52369 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52370 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52371 $as_echo_n "(cached) " >&6
52372 else
52375 ac_ext=cpp
52376 ac_cpp='$CXXCPP $CPPFLAGS'
52377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52382 /* end confdefs.h. */
52383 #include <math.h>
52385 main ()
52387 powl(0, 0);
52389 return 0;
52391 _ACEOF
52392 if ac_fn_cxx_try_compile "$LINENO"; then :
52393 glibcxx_cv_func_powl_use=yes
52394 else
52395 glibcxx_cv_func_powl_use=no
52397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52398 ac_ext=c
52399 ac_cpp='$CPP $CPPFLAGS'
52400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52409 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52411 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52412 for ac_func in powl
52413 do :
52414 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52415 if test "x$ac_cv_func_powl" = x""yes; then :
52416 cat >>confdefs.h <<_ACEOF
52417 #define HAVE_POWL 1
52418 _ACEOF
52421 done
52423 else
52425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52426 $as_echo_n "checking for _powl declaration... " >&6; }
52427 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52428 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52429 $as_echo_n "(cached) " >&6
52430 else
52433 ac_ext=cpp
52434 ac_cpp='$CXXCPP $CPPFLAGS'
52435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52440 /* end confdefs.h. */
52441 #include <math.h>
52443 main ()
52445 _powl(0, 0);
52447 return 0;
52449 _ACEOF
52450 if ac_fn_cxx_try_compile "$LINENO"; then :
52451 glibcxx_cv_func__powl_use=yes
52452 else
52453 glibcxx_cv_func__powl_use=no
52455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52456 ac_ext=c
52457 ac_cpp='$CPP $CPPFLAGS'
52458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52467 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52469 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52470 for ac_func in _powl
52471 do :
52472 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52473 if test "x$ac_cv_func__powl" = x""yes; then :
52474 cat >>confdefs.h <<_ACEOF
52475 #define HAVE__POWL 1
52476 _ACEOF
52479 done
52488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52489 $as_echo_n "checking for sqrtl declaration... " >&6; }
52490 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52491 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52492 $as_echo_n "(cached) " >&6
52493 else
52496 ac_ext=cpp
52497 ac_cpp='$CXXCPP $CPPFLAGS'
52498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52503 /* end confdefs.h. */
52504 #include <math.h>
52505 #ifdef HAVE_IEEEFP_H
52506 #include <ieeefp.h>
52507 #endif
52510 main ()
52512 sqrtl(0);
52514 return 0;
52516 _ACEOF
52517 if ac_fn_cxx_try_compile "$LINENO"; then :
52518 glibcxx_cv_func_sqrtl_use=yes
52519 else
52520 glibcxx_cv_func_sqrtl_use=no
52522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52523 ac_ext=c
52524 ac_cpp='$CPP $CPPFLAGS'
52525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52534 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52536 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52537 for ac_func in sqrtl
52538 do :
52539 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52540 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52541 cat >>confdefs.h <<_ACEOF
52542 #define HAVE_SQRTL 1
52543 _ACEOF
52546 done
52548 else
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52551 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52552 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52553 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52554 $as_echo_n "(cached) " >&6
52555 else
52558 ac_ext=cpp
52559 ac_cpp='$CXXCPP $CPPFLAGS'
52560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52565 /* end confdefs.h. */
52566 #include <math.h>
52567 #ifdef HAVE_IEEEFP_H
52568 #include <ieeefp.h>
52569 #endif
52572 main ()
52574 _sqrtl(0);
52576 return 0;
52578 _ACEOF
52579 if ac_fn_cxx_try_compile "$LINENO"; then :
52580 glibcxx_cv_func__sqrtl_use=yes
52581 else
52582 glibcxx_cv_func__sqrtl_use=no
52584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52585 ac_ext=c
52586 ac_cpp='$CPP $CPPFLAGS'
52587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52596 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52598 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52599 for ac_func in _sqrtl
52600 do :
52601 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52602 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52603 cat >>confdefs.h <<_ACEOF
52604 #define HAVE__SQRTL 1
52605 _ACEOF
52608 done
52617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52618 $as_echo_n "checking for sincosl declaration... " >&6; }
52619 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52620 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52621 $as_echo_n "(cached) " >&6
52622 else
52625 ac_ext=cpp
52626 ac_cpp='$CXXCPP $CPPFLAGS'
52627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52632 /* end confdefs.h. */
52633 #include <math.h>
52635 main ()
52637 sincosl(0, 0, 0);
52639 return 0;
52641 _ACEOF
52642 if ac_fn_cxx_try_compile "$LINENO"; then :
52643 glibcxx_cv_func_sincosl_use=yes
52644 else
52645 glibcxx_cv_func_sincosl_use=no
52647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52648 ac_ext=c
52649 ac_cpp='$CPP $CPPFLAGS'
52650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52659 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52661 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52662 for ac_func in sincosl
52663 do :
52664 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52665 if test "x$ac_cv_func_sincosl" = x""yes; then :
52666 cat >>confdefs.h <<_ACEOF
52667 #define HAVE_SINCOSL 1
52668 _ACEOF
52671 done
52673 else
52675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52676 $as_echo_n "checking for _sincosl declaration... " >&6; }
52677 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52678 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52679 $as_echo_n "(cached) " >&6
52680 else
52683 ac_ext=cpp
52684 ac_cpp='$CXXCPP $CPPFLAGS'
52685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52690 /* end confdefs.h. */
52691 #include <math.h>
52693 main ()
52695 _sincosl(0, 0, 0);
52697 return 0;
52699 _ACEOF
52700 if ac_fn_cxx_try_compile "$LINENO"; then :
52701 glibcxx_cv_func__sincosl_use=yes
52702 else
52703 glibcxx_cv_func__sincosl_use=no
52705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52706 ac_ext=c
52707 ac_cpp='$CPP $CPPFLAGS'
52708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52717 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52719 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52720 for ac_func in _sincosl
52721 do :
52722 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52723 if test "x$ac_cv_func__sincosl" = x""yes; then :
52724 cat >>confdefs.h <<_ACEOF
52725 #define HAVE__SINCOSL 1
52726 _ACEOF
52729 done
52738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52739 $as_echo_n "checking for finitel declaration... " >&6; }
52740 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52741 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52742 $as_echo_n "(cached) " >&6
52743 else
52746 ac_ext=cpp
52747 ac_cpp='$CXXCPP $CPPFLAGS'
52748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52753 /* end confdefs.h. */
52754 #include <math.h>
52755 #ifdef HAVE_IEEEFP_H
52756 #include <ieeefp.h>
52757 #endif
52760 main ()
52762 finitel(0);
52764 return 0;
52766 _ACEOF
52767 if ac_fn_cxx_try_compile "$LINENO"; then :
52768 glibcxx_cv_func_finitel_use=yes
52769 else
52770 glibcxx_cv_func_finitel_use=no
52772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52773 ac_ext=c
52774 ac_cpp='$CPP $CPPFLAGS'
52775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52784 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52786 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52787 for ac_func in finitel
52788 do :
52789 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52790 if test "x$ac_cv_func_finitel" = x""yes; then :
52791 cat >>confdefs.h <<_ACEOF
52792 #define HAVE_FINITEL 1
52793 _ACEOF
52796 done
52798 else
52800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52801 $as_echo_n "checking for _finitel declaration... " >&6; }
52802 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52803 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52804 $as_echo_n "(cached) " >&6
52805 else
52808 ac_ext=cpp
52809 ac_cpp='$CXXCPP $CPPFLAGS'
52810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52815 /* end confdefs.h. */
52816 #include <math.h>
52817 #ifdef HAVE_IEEEFP_H
52818 #include <ieeefp.h>
52819 #endif
52822 main ()
52824 _finitel(0);
52826 return 0;
52828 _ACEOF
52829 if ac_fn_cxx_try_compile "$LINENO"; then :
52830 glibcxx_cv_func__finitel_use=yes
52831 else
52832 glibcxx_cv_func__finitel_use=no
52834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52835 ac_ext=c
52836 ac_cpp='$CPP $CPPFLAGS'
52837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52846 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52848 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52849 for ac_func in _finitel
52850 do :
52851 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52852 if test "x$ac_cv_func__finitel" = x""yes; then :
52853 cat >>confdefs.h <<_ACEOF
52854 #define HAVE__FINITEL 1
52855 _ACEOF
52858 done
52866 LIBS="$ac_save_LIBS"
52867 CXXFLAGS="$ac_save_CXXFLAGS"
52870 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52871 ac_save_CXXFLAGS="$CXXFLAGS"
52872 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52876 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52877 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52878 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52879 $as_echo_n "(cached) " >&6
52880 else
52883 ac_ext=cpp
52884 ac_cpp='$CXXCPP $CPPFLAGS'
52885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52890 /* end confdefs.h. */
52891 #include <stdlib.h>
52893 main ()
52895 at_quick_exit(0);
52897 return 0;
52899 _ACEOF
52900 if ac_fn_cxx_try_compile "$LINENO"; then :
52901 glibcxx_cv_func_at_quick_exit_use=yes
52902 else
52903 glibcxx_cv_func_at_quick_exit_use=no
52905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52906 ac_ext=c
52907 ac_cpp='$CPP $CPPFLAGS'
52908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52917 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52918 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52919 for ac_func in at_quick_exit
52920 do :
52921 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52922 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52923 cat >>confdefs.h <<_ACEOF
52924 #define HAVE_AT_QUICK_EXIT 1
52925 _ACEOF
52928 done
52933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52934 $as_echo_n "checking for quick_exit declaration... " >&6; }
52935 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52936 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52937 $as_echo_n "(cached) " >&6
52938 else
52941 ac_ext=cpp
52942 ac_cpp='$CXXCPP $CPPFLAGS'
52943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52948 /* end confdefs.h. */
52949 #include <stdlib.h>
52951 main ()
52953 quick_exit(0);
52955 return 0;
52957 _ACEOF
52958 if ac_fn_cxx_try_compile "$LINENO"; then :
52959 glibcxx_cv_func_quick_exit_use=yes
52960 else
52961 glibcxx_cv_func_quick_exit_use=no
52963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52964 ac_ext=c
52965 ac_cpp='$CPP $CPPFLAGS'
52966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52975 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52976 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52977 for ac_func in quick_exit
52978 do :
52979 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52980 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52981 cat >>confdefs.h <<_ACEOF
52982 #define HAVE_QUICK_EXIT 1
52983 _ACEOF
52986 done
52991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52992 $as_echo_n "checking for strtold declaration... " >&6; }
52993 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52994 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52995 $as_echo_n "(cached) " >&6
52996 else
52999 ac_ext=cpp
53000 ac_cpp='$CXXCPP $CPPFLAGS'
53001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53006 /* end confdefs.h. */
53007 #include <stdlib.h>
53009 main ()
53011 strtold(0, 0);
53013 return 0;
53015 _ACEOF
53016 if ac_fn_cxx_try_compile "$LINENO"; then :
53017 glibcxx_cv_func_strtold_use=yes
53018 else
53019 glibcxx_cv_func_strtold_use=no
53021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53022 ac_ext=c
53023 ac_cpp='$CPP $CPPFLAGS'
53024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53033 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53034 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53035 for ac_func in strtold
53036 do :
53037 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53038 if test "x$ac_cv_func_strtold" = x""yes; then :
53039 cat >>confdefs.h <<_ACEOF
53040 #define HAVE_STRTOLD 1
53041 _ACEOF
53044 done
53051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53052 $as_echo_n "checking for strtof declaration... " >&6; }
53053 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53054 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53055 $as_echo_n "(cached) " >&6
53056 else
53059 ac_ext=cpp
53060 ac_cpp='$CXXCPP $CPPFLAGS'
53061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53066 /* end confdefs.h. */
53067 #include <stdlib.h>
53069 main ()
53071 strtof(0, 0);
53073 return 0;
53075 _ACEOF
53076 if ac_fn_cxx_try_compile "$LINENO"; then :
53077 glibcxx_cv_func_strtof_use=yes
53078 else
53079 glibcxx_cv_func_strtof_use=no
53081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53082 ac_ext=c
53083 ac_cpp='$CPP $CPPFLAGS'
53084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53093 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53094 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53095 for ac_func in strtof
53096 do :
53097 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53098 if test "x$ac_cv_func_strtof" = x""yes; then :
53099 cat >>confdefs.h <<_ACEOF
53100 #define HAVE_STRTOF 1
53101 _ACEOF
53104 done
53111 CXXFLAGS="$ac_save_CXXFLAGS"
53115 *djgpp)
53116 # GLIBCXX_CHECK_MATH_SUPPORT
53117 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53119 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53121 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53123 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53125 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53129 *-freebsd*)
53130 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53133 # If we're not using GNU ld, then there's no point in even trying these
53134 # tests. Check for that first. We should have already tested for gld
53135 # by now (in libtool), but require it now just to be safe...
53136 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53137 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53141 # The name set by libtool depends on the version of libtool. Shame on us
53142 # for depending on an impl detail, but c'est la vie. Older versions used
53143 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53144 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53145 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53146 # set (hence we're using an older libtool), then set it.
53147 if test x${with_gnu_ld+set} != xset; then
53148 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53149 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53150 with_gnu_ld=no
53151 else
53152 with_gnu_ld=$ac_cv_prog_gnu_ld
53156 # Start by getting the version number. I think the libtool test already
53157 # does some of this, but throws away the result.
53158 glibcxx_ld_is_gold=no
53159 if test x"$with_gnu_ld" = x"yes"; then
53160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53161 $as_echo_n "checking for ld version... " >&6; }
53163 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53164 glibcxx_ld_is_gold=yes
53166 ldver=`$LD --version 2>/dev/null |
53167 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'`
53169 glibcxx_gnu_ld_version=`echo $ldver | \
53170 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53172 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53175 # Set --gc-sections.
53176 glibcxx_have_gc_sections=no
53177 if test "$glibcxx_ld_is_gold" = "yes"; then
53178 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53179 glibcxx_have_gc_sections=yes
53181 else
53182 glibcxx_gcsections_min_ld=21602
53183 if test x"$with_gnu_ld" = x"yes" &&
53184 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53185 glibcxx_have_gc_sections=yes
53188 if test "$glibcxx_have_gc_sections" = "yes"; then
53189 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53190 # NB: This flag only works reliably after 2.16.1. Configure tests
53191 # for this are difficult, so hard wire a value that should work.
53193 ac_test_CFLAGS="${CFLAGS+set}"
53194 ac_save_CFLAGS="$CFLAGS"
53195 CFLAGS='-Wl,--gc-sections'
53197 # Check for -Wl,--gc-sections
53198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53199 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53200 if test x$gcc_no_link = xyes; then
53201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53204 /* end confdefs.h. */
53205 int one(void) { return 1; }
53206 int two(void) { return 2; }
53209 main ()
53211 two();
53213 return 0;
53215 _ACEOF
53216 if ac_fn_c_try_link "$LINENO"; then :
53217 ac_gcsections=yes
53218 else
53219 ac_gcsections=no
53221 rm -f core conftest.err conftest.$ac_objext \
53222 conftest$ac_exeext conftest.$ac_ext
53223 if test "$ac_gcsections" = "yes"; then
53224 rm -f conftest.c
53225 touch conftest.c
53226 if $CC -c conftest.c; then
53227 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53228 grep "Warning: gc-sections option ignored" > /dev/null; then
53229 ac_gcsections=no
53232 rm -f conftest.c conftest.o conftest
53234 if test "$ac_gcsections" = "yes"; then
53235 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53238 $as_echo "$ac_gcsections" >&6; }
53240 if test "$ac_test_CFLAGS" = set; then
53241 CFLAGS="$ac_save_CFLAGS"
53242 else
53243 # this is the suspicious part
53244 CFLAGS=''
53248 # Set -z,relro.
53249 # Note this is only for shared objects.
53250 ac_ld_relro=no
53251 if test x"$with_gnu_ld" = x"yes"; then
53252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53253 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53254 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53255 if test -n "$cxx_z_relo"; then
53256 OPT_LDFLAGS="-Wl,-z,relro"
53257 ac_ld_relro=yes
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53260 $as_echo "$ac_ld_relro" >&6; }
53263 # Set linker optimization flags.
53264 if test x"$with_gnu_ld" = x"yes"; then
53265 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53271 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53273 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53275 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53277 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53279 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53281 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53283 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53285 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53287 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53290 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53292 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53294 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53296 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53298 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53300 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53302 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53304 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53306 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53308 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53310 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53312 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53314 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53316 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53318 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53320 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53322 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53324 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53326 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53328 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53330 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53332 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53334 if test x"long_double_math_on_this_cpu" = x"yes"; then
53335 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53337 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53339 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53342 for ac_func in __cxa_thread_atexit
53343 do :
53344 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53345 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53346 cat >>confdefs.h <<_ACEOF
53347 #define HAVE___CXA_THREAD_ATEXIT 1
53348 _ACEOF
53351 done
53355 *-fuchsia*)
53356 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53360 *-hpux*)
53361 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53364 # If we're not using GNU ld, then there's no point in even trying these
53365 # tests. Check for that first. We should have already tested for gld
53366 # by now (in libtool), but require it now just to be safe...
53367 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53368 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53372 # The name set by libtool depends on the version of libtool. Shame on us
53373 # for depending on an impl detail, but c'est la vie. Older versions used
53374 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53375 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53376 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53377 # set (hence we're using an older libtool), then set it.
53378 if test x${with_gnu_ld+set} != xset; then
53379 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53380 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53381 with_gnu_ld=no
53382 else
53383 with_gnu_ld=$ac_cv_prog_gnu_ld
53387 # Start by getting the version number. I think the libtool test already
53388 # does some of this, but throws away the result.
53389 glibcxx_ld_is_gold=no
53390 if test x"$with_gnu_ld" = x"yes"; then
53391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53392 $as_echo_n "checking for ld version... " >&6; }
53394 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53395 glibcxx_ld_is_gold=yes
53397 ldver=`$LD --version 2>/dev/null |
53398 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'`
53400 glibcxx_gnu_ld_version=`echo $ldver | \
53401 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53403 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53406 # Set --gc-sections.
53407 glibcxx_have_gc_sections=no
53408 if test "$glibcxx_ld_is_gold" = "yes"; then
53409 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53410 glibcxx_have_gc_sections=yes
53412 else
53413 glibcxx_gcsections_min_ld=21602
53414 if test x"$with_gnu_ld" = x"yes" &&
53415 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53416 glibcxx_have_gc_sections=yes
53419 if test "$glibcxx_have_gc_sections" = "yes"; then
53420 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53421 # NB: This flag only works reliably after 2.16.1. Configure tests
53422 # for this are difficult, so hard wire a value that should work.
53424 ac_test_CFLAGS="${CFLAGS+set}"
53425 ac_save_CFLAGS="$CFLAGS"
53426 CFLAGS='-Wl,--gc-sections'
53428 # Check for -Wl,--gc-sections
53429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53430 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53431 if test x$gcc_no_link = xyes; then
53432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53435 /* end confdefs.h. */
53436 int one(void) { return 1; }
53437 int two(void) { return 2; }
53440 main ()
53442 two();
53444 return 0;
53446 _ACEOF
53447 if ac_fn_c_try_link "$LINENO"; then :
53448 ac_gcsections=yes
53449 else
53450 ac_gcsections=no
53452 rm -f core conftest.err conftest.$ac_objext \
53453 conftest$ac_exeext conftest.$ac_ext
53454 if test "$ac_gcsections" = "yes"; then
53455 rm -f conftest.c
53456 touch conftest.c
53457 if $CC -c conftest.c; then
53458 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53459 grep "Warning: gc-sections option ignored" > /dev/null; then
53460 ac_gcsections=no
53463 rm -f conftest.c conftest.o conftest
53465 if test "$ac_gcsections" = "yes"; then
53466 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53469 $as_echo "$ac_gcsections" >&6; }
53471 if test "$ac_test_CFLAGS" = set; then
53472 CFLAGS="$ac_save_CFLAGS"
53473 else
53474 # this is the suspicious part
53475 CFLAGS=''
53479 # Set -z,relro.
53480 # Note this is only for shared objects.
53481 ac_ld_relro=no
53482 if test x"$with_gnu_ld" = x"yes"; then
53483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53484 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53485 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53486 if test -n "$cxx_z_relo"; then
53487 OPT_LDFLAGS="-Wl,-z,relro"
53488 ac_ld_relro=yes
53490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53491 $as_echo "$ac_ld_relro" >&6; }
53494 # Set linker optimization flags.
53495 if test x"$with_gnu_ld" = x"yes"; then
53496 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53503 # GLIBCXX_CHECK_MATH_SUPPORT
53504 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53506 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53508 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53510 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53512 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53514 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53516 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53518 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53520 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53522 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53524 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53526 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53528 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53530 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53532 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53534 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53536 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53538 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53540 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53542 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53544 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53547 # GLIBCXX_CHECK_STDLIB_SUPPORT
53548 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53553 # Check whether --enable-tls was given.
53554 if test "${enable_tls+set}" = set; then :
53555 enableval=$enable_tls;
53556 case "$enableval" in
53557 yes|no) ;;
53558 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53559 esac
53561 else
53562 enable_tls=yes
53566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53567 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53568 if test "${gcc_cv_have_tls+set}" = set; then :
53569 $as_echo_n "(cached) " >&6
53570 else
53572 if test "$cross_compiling" = yes; then :
53573 if test x$gcc_no_link = xyes; then
53574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53577 /* end confdefs.h. */
53578 __thread int a; int b; int main() { return a = b; }
53579 _ACEOF
53580 if ac_fn_c_try_link "$LINENO"; then :
53581 chktls_save_LDFLAGS="$LDFLAGS"
53582 case $host in
53583 *-*-linux*)
53584 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53586 esac
53587 chktls_save_CFLAGS="$CFLAGS"
53588 CFLAGS="-fPIC $CFLAGS"
53589 if test x$gcc_no_link = xyes; then
53590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53593 /* end confdefs.h. */
53594 int f() { return 0; }
53595 _ACEOF
53596 if ac_fn_c_try_link "$LINENO"; then :
53597 if test x$gcc_no_link = xyes; then
53598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53601 /* end confdefs.h. */
53602 __thread int a; int b; int f() { return a = b; }
53603 _ACEOF
53604 if ac_fn_c_try_link "$LINENO"; then :
53605 gcc_cv_have_tls=yes
53606 else
53607 gcc_cv_have_tls=no
53609 rm -f core conftest.err conftest.$ac_objext \
53610 conftest$ac_exeext conftest.$ac_ext
53611 else
53612 gcc_cv_have_tls=yes
53614 rm -f core conftest.err conftest.$ac_objext \
53615 conftest$ac_exeext conftest.$ac_ext
53616 CFLAGS="$chktls_save_CFLAGS"
53617 LDFLAGS="$chktls_save_LDFLAGS"
53618 else
53619 gcc_cv_have_tls=no
53621 rm -f core conftest.err conftest.$ac_objext \
53622 conftest$ac_exeext conftest.$ac_ext
53625 else
53626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53627 /* end confdefs.h. */
53628 __thread int a; int b; int main() { return a = b; }
53629 _ACEOF
53630 if ac_fn_c_try_run "$LINENO"; then :
53631 chktls_save_LDFLAGS="$LDFLAGS"
53632 LDFLAGS="-static $LDFLAGS"
53633 if test x$gcc_no_link = xyes; then
53634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53637 /* end confdefs.h. */
53638 int main() { return 0; }
53639 _ACEOF
53640 if ac_fn_c_try_link "$LINENO"; then :
53641 if test "$cross_compiling" = yes; then :
53642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53644 as_fn_error "cannot run test program while cross compiling
53645 See \`config.log' for more details." "$LINENO" 5; }
53646 else
53647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53648 /* end confdefs.h. */
53649 __thread int a; int b; int main() { return a = b; }
53650 _ACEOF
53651 if ac_fn_c_try_run "$LINENO"; then :
53652 gcc_cv_have_tls=yes
53653 else
53654 gcc_cv_have_tls=no
53656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53657 conftest.$ac_objext conftest.beam conftest.$ac_ext
53660 else
53661 gcc_cv_have_tls=yes
53663 rm -f core conftest.err conftest.$ac_objext \
53664 conftest$ac_exeext conftest.$ac_ext
53665 LDFLAGS="$chktls_save_LDFLAGS"
53666 if test $gcc_cv_have_tls = yes; then
53667 chktls_save_CFLAGS="$CFLAGS"
53668 thread_CFLAGS=failed
53669 for flag in '' '-pthread' '-lpthread'; do
53670 CFLAGS="$flag $chktls_save_CFLAGS"
53671 if test x$gcc_no_link = xyes; then
53672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53675 /* end confdefs.h. */
53676 #include <pthread.h>
53677 void *g(void *d) { return NULL; }
53679 main ()
53681 pthread_t t; pthread_create(&t,NULL,g,NULL);
53683 return 0;
53685 _ACEOF
53686 if ac_fn_c_try_link "$LINENO"; then :
53687 thread_CFLAGS="$flag"
53689 rm -f core conftest.err conftest.$ac_objext \
53690 conftest$ac_exeext conftest.$ac_ext
53691 if test "X$thread_CFLAGS" != Xfailed; then
53692 break
53694 done
53695 CFLAGS="$chktls_save_CFLAGS"
53696 if test "X$thread_CFLAGS" != Xfailed; then
53697 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53698 if test "$cross_compiling" = yes; then :
53699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53701 as_fn_error "cannot run test program while cross compiling
53702 See \`config.log' for more details." "$LINENO" 5; }
53703 else
53704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53705 /* end confdefs.h. */
53706 #include <pthread.h>
53707 __thread int a;
53708 static int *volatile a_in_other_thread;
53709 static void *
53710 thread_func (void *arg)
53712 a_in_other_thread = &a;
53713 return (void *)0;
53716 main ()
53718 pthread_t thread;
53719 void *thread_retval;
53720 int *volatile a_in_main_thread;
53721 a_in_main_thread = &a;
53722 if (pthread_create (&thread, (pthread_attr_t *)0,
53723 thread_func, (void *)0))
53724 return 0;
53725 if (pthread_join (thread, &thread_retval))
53726 return 0;
53727 return (a_in_other_thread == a_in_main_thread);
53729 return 0;
53731 _ACEOF
53732 if ac_fn_c_try_run "$LINENO"; then :
53733 gcc_cv_have_tls=yes
53734 else
53735 gcc_cv_have_tls=no
53737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53738 conftest.$ac_objext conftest.beam conftest.$ac_ext
53741 CFLAGS="$chktls_save_CFLAGS"
53744 else
53745 gcc_cv_have_tls=no
53747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53748 conftest.$ac_objext conftest.beam conftest.$ac_ext
53752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53753 $as_echo "$gcc_cv_have_tls" >&6; }
53754 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53756 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53759 case "$target" in
53760 *-hpux10*)
53761 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53763 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53765 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53767 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53769 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53772 esac
53774 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53776 # All these tests are for C++; save the language and the compiler flags.
53777 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53778 # found in GLIBCXX_CONFIGURE.
53780 ac_ext=cpp
53781 ac_cpp='$CXXCPP $CPPFLAGS'
53782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53786 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53787 ac_save_CXXFLAGS="$CXXFLAGS"
53789 # Check for maintainer-mode bits.
53790 if test x"$USE_MAINTAINER_MODE" = xno; then
53791 WERROR=''
53792 else
53793 WERROR='-Werror'
53796 # Check for -ffunction-sections -fdata-sections
53797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53798 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53799 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53801 /* end confdefs.h. */
53802 int foo; void bar() { };
53804 main ()
53808 return 0;
53810 _ACEOF
53811 if ac_fn_cxx_try_compile "$LINENO"; then :
53812 ac_fdsections=yes
53813 else
53814 ac_fdsections=no
53816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53817 if test "$ac_test_CXXFLAGS" = set; then
53818 CXXFLAGS="$ac_save_CXXFLAGS"
53819 else
53820 # this is the suspicious part
53821 CXXFLAGS=''
53823 if test x"$ac_fdsections" = x"yes"; then
53824 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53827 $as_echo "$ac_fdsections" >&6; }
53829 ac_ext=c
53830 ac_cpp='$CPP $CPPFLAGS'
53831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53839 # If we're not using GNU ld, then there's no point in even trying these
53840 # tests. Check for that first. We should have already tested for gld
53841 # by now (in libtool), but require it now just to be safe...
53842 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53843 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53847 # The name set by libtool depends on the version of libtool. Shame on us
53848 # for depending on an impl detail, but c'est la vie. Older versions used
53849 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53850 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53851 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53852 # set (hence we're using an older libtool), then set it.
53853 if test x${with_gnu_ld+set} != xset; then
53854 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53855 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53856 with_gnu_ld=no
53857 else
53858 with_gnu_ld=$ac_cv_prog_gnu_ld
53862 # Start by getting the version number. I think the libtool test already
53863 # does some of this, but throws away the result.
53864 glibcxx_ld_is_gold=no
53865 if test x"$with_gnu_ld" = x"yes"; then
53866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53867 $as_echo_n "checking for ld version... " >&6; }
53869 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53870 glibcxx_ld_is_gold=yes
53872 ldver=`$LD --version 2>/dev/null |
53873 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'`
53875 glibcxx_gnu_ld_version=`echo $ldver | \
53876 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53878 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53881 # Set --gc-sections.
53882 glibcxx_have_gc_sections=no
53883 if test "$glibcxx_ld_is_gold" = "yes"; then
53884 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53885 glibcxx_have_gc_sections=yes
53887 else
53888 glibcxx_gcsections_min_ld=21602
53889 if test x"$with_gnu_ld" = x"yes" &&
53890 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53891 glibcxx_have_gc_sections=yes
53894 if test "$glibcxx_have_gc_sections" = "yes"; then
53895 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53896 # NB: This flag only works reliably after 2.16.1. Configure tests
53897 # for this are difficult, so hard wire a value that should work.
53899 ac_test_CFLAGS="${CFLAGS+set}"
53900 ac_save_CFLAGS="$CFLAGS"
53901 CFLAGS='-Wl,--gc-sections'
53903 # Check for -Wl,--gc-sections
53904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53905 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53906 if test x$gcc_no_link = xyes; then
53907 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53910 /* end confdefs.h. */
53911 int one(void) { return 1; }
53912 int two(void) { return 2; }
53915 main ()
53917 two();
53919 return 0;
53921 _ACEOF
53922 if ac_fn_c_try_link "$LINENO"; then :
53923 ac_gcsections=yes
53924 else
53925 ac_gcsections=no
53927 rm -f core conftest.err conftest.$ac_objext \
53928 conftest$ac_exeext conftest.$ac_ext
53929 if test "$ac_gcsections" = "yes"; then
53930 rm -f conftest.c
53931 touch conftest.c
53932 if $CC -c conftest.c; then
53933 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53934 grep "Warning: gc-sections option ignored" > /dev/null; then
53935 ac_gcsections=no
53938 rm -f conftest.c conftest.o conftest
53940 if test "$ac_gcsections" = "yes"; then
53941 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53944 $as_echo "$ac_gcsections" >&6; }
53946 if test "$ac_test_CFLAGS" = set; then
53947 CFLAGS="$ac_save_CFLAGS"
53948 else
53949 # this is the suspicious part
53950 CFLAGS=''
53954 # Set -z,relro.
53955 # Note this is only for shared objects.
53956 ac_ld_relro=no
53957 if test x"$with_gnu_ld" = x"yes"; then
53958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53959 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53960 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53961 if test -n "$cxx_z_relo"; then
53962 OPT_LDFLAGS="-Wl,-z,relro"
53963 ac_ld_relro=yes
53965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53966 $as_echo "$ac_ld_relro" >&6; }
53969 # Set linker optimization flags.
53970 if test x"$with_gnu_ld" = x"yes"; then
53971 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53978 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53979 ac_save_CXXFLAGS="$CXXFLAGS"
53980 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53983 $as_echo_n "checking for sin in -lm... " >&6; }
53984 if test "${ac_cv_lib_m_sin+set}" = set; then :
53985 $as_echo_n "(cached) " >&6
53986 else
53987 ac_check_lib_save_LIBS=$LIBS
53988 LIBS="-lm $LIBS"
53989 if test x$gcc_no_link = xyes; then
53990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53993 /* end confdefs.h. */
53995 /* Override any GCC internal prototype to avoid an error.
53996 Use char because int might match the return type of a GCC
53997 builtin and then its argument prototype would still apply. */
53998 #ifdef __cplusplus
53999 extern "C"
54000 #endif
54001 char sin ();
54003 main ()
54005 return sin ();
54007 return 0;
54009 _ACEOF
54010 if ac_fn_c_try_link "$LINENO"; then :
54011 ac_cv_lib_m_sin=yes
54012 else
54013 ac_cv_lib_m_sin=no
54015 rm -f core conftest.err conftest.$ac_objext \
54016 conftest$ac_exeext conftest.$ac_ext
54017 LIBS=$ac_check_lib_save_LIBS
54019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54020 $as_echo "$ac_cv_lib_m_sin" >&6; }
54021 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54022 libm="-lm"
54025 ac_save_LIBS="$LIBS"
54026 LIBS="$LIBS $libm"
54030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54031 $as_echo_n "checking for isinf declaration... " >&6; }
54032 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54033 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54034 $as_echo_n "(cached) " >&6
54035 else
54038 ac_ext=cpp
54039 ac_cpp='$CXXCPP $CPPFLAGS'
54040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54045 /* end confdefs.h. */
54046 #include <math.h>
54047 #ifdef HAVE_IEEEFP_H
54048 #include <ieeefp.h>
54049 #endif
54052 main ()
54054 isinf(0);
54056 return 0;
54058 _ACEOF
54059 if ac_fn_cxx_try_compile "$LINENO"; then :
54060 glibcxx_cv_func_isinf_use=yes
54061 else
54062 glibcxx_cv_func_isinf_use=no
54064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54065 ac_ext=c
54066 ac_cpp='$CPP $CPPFLAGS'
54067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54076 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54078 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54079 for ac_func in isinf
54080 do :
54081 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54082 if test "x$ac_cv_func_isinf" = x""yes; then :
54083 cat >>confdefs.h <<_ACEOF
54084 #define HAVE_ISINF 1
54085 _ACEOF
54088 done
54090 else
54092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54093 $as_echo_n "checking for _isinf declaration... " >&6; }
54094 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54095 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54096 $as_echo_n "(cached) " >&6
54097 else
54100 ac_ext=cpp
54101 ac_cpp='$CXXCPP $CPPFLAGS'
54102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54107 /* end confdefs.h. */
54108 #include <math.h>
54109 #ifdef HAVE_IEEEFP_H
54110 #include <ieeefp.h>
54111 #endif
54114 main ()
54116 _isinf(0);
54118 return 0;
54120 _ACEOF
54121 if ac_fn_cxx_try_compile "$LINENO"; then :
54122 glibcxx_cv_func__isinf_use=yes
54123 else
54124 glibcxx_cv_func__isinf_use=no
54126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54127 ac_ext=c
54128 ac_cpp='$CPP $CPPFLAGS'
54129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54138 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54140 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54141 for ac_func in _isinf
54142 do :
54143 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54144 if test "x$ac_cv_func__isinf" = x""yes; then :
54145 cat >>confdefs.h <<_ACEOF
54146 #define HAVE__ISINF 1
54147 _ACEOF
54150 done
54159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54160 $as_echo_n "checking for isnan declaration... " >&6; }
54161 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54162 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54163 $as_echo_n "(cached) " >&6
54164 else
54167 ac_ext=cpp
54168 ac_cpp='$CXXCPP $CPPFLAGS'
54169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54174 /* end confdefs.h. */
54175 #include <math.h>
54176 #ifdef HAVE_IEEEFP_H
54177 #include <ieeefp.h>
54178 #endif
54181 main ()
54183 isnan(0);
54185 return 0;
54187 _ACEOF
54188 if ac_fn_cxx_try_compile "$LINENO"; then :
54189 glibcxx_cv_func_isnan_use=yes
54190 else
54191 glibcxx_cv_func_isnan_use=no
54193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54194 ac_ext=c
54195 ac_cpp='$CPP $CPPFLAGS'
54196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54205 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54207 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54208 for ac_func in isnan
54209 do :
54210 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54211 if test "x$ac_cv_func_isnan" = x""yes; then :
54212 cat >>confdefs.h <<_ACEOF
54213 #define HAVE_ISNAN 1
54214 _ACEOF
54217 done
54219 else
54221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54222 $as_echo_n "checking for _isnan declaration... " >&6; }
54223 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54224 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54225 $as_echo_n "(cached) " >&6
54226 else
54229 ac_ext=cpp
54230 ac_cpp='$CXXCPP $CPPFLAGS'
54231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54236 /* end confdefs.h. */
54237 #include <math.h>
54238 #ifdef HAVE_IEEEFP_H
54239 #include <ieeefp.h>
54240 #endif
54243 main ()
54245 _isnan(0);
54247 return 0;
54249 _ACEOF
54250 if ac_fn_cxx_try_compile "$LINENO"; then :
54251 glibcxx_cv_func__isnan_use=yes
54252 else
54253 glibcxx_cv_func__isnan_use=no
54255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54256 ac_ext=c
54257 ac_cpp='$CPP $CPPFLAGS'
54258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54267 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54269 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54270 for ac_func in _isnan
54271 do :
54272 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54273 if test "x$ac_cv_func__isnan" = x""yes; then :
54274 cat >>confdefs.h <<_ACEOF
54275 #define HAVE__ISNAN 1
54276 _ACEOF
54279 done
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54289 $as_echo_n "checking for finite declaration... " >&6; }
54290 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54291 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54292 $as_echo_n "(cached) " >&6
54293 else
54296 ac_ext=cpp
54297 ac_cpp='$CXXCPP $CPPFLAGS'
54298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54303 /* end confdefs.h. */
54304 #include <math.h>
54305 #ifdef HAVE_IEEEFP_H
54306 #include <ieeefp.h>
54307 #endif
54310 main ()
54312 finite(0);
54314 return 0;
54316 _ACEOF
54317 if ac_fn_cxx_try_compile "$LINENO"; then :
54318 glibcxx_cv_func_finite_use=yes
54319 else
54320 glibcxx_cv_func_finite_use=no
54322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54323 ac_ext=c
54324 ac_cpp='$CPP $CPPFLAGS'
54325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54334 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54336 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54337 for ac_func in finite
54338 do :
54339 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54340 if test "x$ac_cv_func_finite" = x""yes; then :
54341 cat >>confdefs.h <<_ACEOF
54342 #define HAVE_FINITE 1
54343 _ACEOF
54346 done
54348 else
54350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54351 $as_echo_n "checking for _finite declaration... " >&6; }
54352 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54353 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54354 $as_echo_n "(cached) " >&6
54355 else
54358 ac_ext=cpp
54359 ac_cpp='$CXXCPP $CPPFLAGS'
54360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54365 /* end confdefs.h. */
54366 #include <math.h>
54367 #ifdef HAVE_IEEEFP_H
54368 #include <ieeefp.h>
54369 #endif
54372 main ()
54374 _finite(0);
54376 return 0;
54378 _ACEOF
54379 if ac_fn_cxx_try_compile "$LINENO"; then :
54380 glibcxx_cv_func__finite_use=yes
54381 else
54382 glibcxx_cv_func__finite_use=no
54384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54385 ac_ext=c
54386 ac_cpp='$CPP $CPPFLAGS'
54387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54396 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54398 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54399 for ac_func in _finite
54400 do :
54401 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54402 if test "x$ac_cv_func__finite" = x""yes; then :
54403 cat >>confdefs.h <<_ACEOF
54404 #define HAVE__FINITE 1
54405 _ACEOF
54408 done
54417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54418 $as_echo_n "checking for sincos declaration... " >&6; }
54419 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54420 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54421 $as_echo_n "(cached) " >&6
54422 else
54425 ac_ext=cpp
54426 ac_cpp='$CXXCPP $CPPFLAGS'
54427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54432 /* end confdefs.h. */
54433 #include <math.h>
54435 main ()
54437 sincos(0, 0, 0);
54439 return 0;
54441 _ACEOF
54442 if ac_fn_cxx_try_compile "$LINENO"; then :
54443 glibcxx_cv_func_sincos_use=yes
54444 else
54445 glibcxx_cv_func_sincos_use=no
54447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54448 ac_ext=c
54449 ac_cpp='$CPP $CPPFLAGS'
54450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54459 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54461 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54462 for ac_func in sincos
54463 do :
54464 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54465 if test "x$ac_cv_func_sincos" = x""yes; then :
54466 cat >>confdefs.h <<_ACEOF
54467 #define HAVE_SINCOS 1
54468 _ACEOF
54471 done
54473 else
54475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54476 $as_echo_n "checking for _sincos declaration... " >&6; }
54477 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54478 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54479 $as_echo_n "(cached) " >&6
54480 else
54483 ac_ext=cpp
54484 ac_cpp='$CXXCPP $CPPFLAGS'
54485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54490 /* end confdefs.h. */
54491 #include <math.h>
54493 main ()
54495 _sincos(0, 0, 0);
54497 return 0;
54499 _ACEOF
54500 if ac_fn_cxx_try_compile "$LINENO"; then :
54501 glibcxx_cv_func__sincos_use=yes
54502 else
54503 glibcxx_cv_func__sincos_use=no
54505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54506 ac_ext=c
54507 ac_cpp='$CPP $CPPFLAGS'
54508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54517 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54519 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54520 for ac_func in _sincos
54521 do :
54522 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54523 if test "x$ac_cv_func__sincos" = x""yes; then :
54524 cat >>confdefs.h <<_ACEOF
54525 #define HAVE__SINCOS 1
54526 _ACEOF
54529 done
54538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54539 $as_echo_n "checking for fpclass declaration... " >&6; }
54540 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54541 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54542 $as_echo_n "(cached) " >&6
54543 else
54546 ac_ext=cpp
54547 ac_cpp='$CXXCPP $CPPFLAGS'
54548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54553 /* end confdefs.h. */
54554 #include <math.h>
54555 #ifdef HAVE_IEEEFP_H
54556 #include <ieeefp.h>
54557 #endif
54560 main ()
54562 fpclass(0);
54564 return 0;
54566 _ACEOF
54567 if ac_fn_cxx_try_compile "$LINENO"; then :
54568 glibcxx_cv_func_fpclass_use=yes
54569 else
54570 glibcxx_cv_func_fpclass_use=no
54572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54573 ac_ext=c
54574 ac_cpp='$CPP $CPPFLAGS'
54575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54584 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54586 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54587 for ac_func in fpclass
54588 do :
54589 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54590 if test "x$ac_cv_func_fpclass" = x""yes; then :
54591 cat >>confdefs.h <<_ACEOF
54592 #define HAVE_FPCLASS 1
54593 _ACEOF
54596 done
54598 else
54600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54601 $as_echo_n "checking for _fpclass declaration... " >&6; }
54602 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54603 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54604 $as_echo_n "(cached) " >&6
54605 else
54608 ac_ext=cpp
54609 ac_cpp='$CXXCPP $CPPFLAGS'
54610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54615 /* end confdefs.h. */
54616 #include <math.h>
54617 #ifdef HAVE_IEEEFP_H
54618 #include <ieeefp.h>
54619 #endif
54622 main ()
54624 _fpclass(0);
54626 return 0;
54628 _ACEOF
54629 if ac_fn_cxx_try_compile "$LINENO"; then :
54630 glibcxx_cv_func__fpclass_use=yes
54631 else
54632 glibcxx_cv_func__fpclass_use=no
54634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54635 ac_ext=c
54636 ac_cpp='$CPP $CPPFLAGS'
54637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54646 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54648 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54649 for ac_func in _fpclass
54650 do :
54651 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54652 if test "x$ac_cv_func__fpclass" = x""yes; then :
54653 cat >>confdefs.h <<_ACEOF
54654 #define HAVE__FPCLASS 1
54655 _ACEOF
54658 done
54667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54668 $as_echo_n "checking for qfpclass declaration... " >&6; }
54669 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54670 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54671 $as_echo_n "(cached) " >&6
54672 else
54675 ac_ext=cpp
54676 ac_cpp='$CXXCPP $CPPFLAGS'
54677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54682 /* end confdefs.h. */
54683 #include <math.h>
54684 #ifdef HAVE_IEEEFP_H
54685 #include <ieeefp.h>
54686 #endif
54689 main ()
54691 qfpclass(0);
54693 return 0;
54695 _ACEOF
54696 if ac_fn_cxx_try_compile "$LINENO"; then :
54697 glibcxx_cv_func_qfpclass_use=yes
54698 else
54699 glibcxx_cv_func_qfpclass_use=no
54701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54702 ac_ext=c
54703 ac_cpp='$CPP $CPPFLAGS'
54704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54713 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54715 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54716 for ac_func in qfpclass
54717 do :
54718 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54719 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54720 cat >>confdefs.h <<_ACEOF
54721 #define HAVE_QFPCLASS 1
54722 _ACEOF
54725 done
54727 else
54729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54730 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54731 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54732 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54733 $as_echo_n "(cached) " >&6
54734 else
54737 ac_ext=cpp
54738 ac_cpp='$CXXCPP $CPPFLAGS'
54739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54744 /* end confdefs.h. */
54745 #include <math.h>
54746 #ifdef HAVE_IEEEFP_H
54747 #include <ieeefp.h>
54748 #endif
54751 main ()
54753 _qfpclass(0);
54755 return 0;
54757 _ACEOF
54758 if ac_fn_cxx_try_compile "$LINENO"; then :
54759 glibcxx_cv_func__qfpclass_use=yes
54760 else
54761 glibcxx_cv_func__qfpclass_use=no
54763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54764 ac_ext=c
54765 ac_cpp='$CPP $CPPFLAGS'
54766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54775 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54777 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54778 for ac_func in _qfpclass
54779 do :
54780 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54781 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54782 cat >>confdefs.h <<_ACEOF
54783 #define HAVE__QFPCLASS 1
54784 _ACEOF
54787 done
54796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54797 $as_echo_n "checking for hypot declaration... " >&6; }
54798 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54799 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54800 $as_echo_n "(cached) " >&6
54801 else
54804 ac_ext=cpp
54805 ac_cpp='$CXXCPP $CPPFLAGS'
54806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54811 /* end confdefs.h. */
54812 #include <math.h>
54814 main ()
54816 hypot(0, 0);
54818 return 0;
54820 _ACEOF
54821 if ac_fn_cxx_try_compile "$LINENO"; then :
54822 glibcxx_cv_func_hypot_use=yes
54823 else
54824 glibcxx_cv_func_hypot_use=no
54826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54827 ac_ext=c
54828 ac_cpp='$CPP $CPPFLAGS'
54829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54838 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54840 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54841 for ac_func in hypot
54842 do :
54843 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54844 if test "x$ac_cv_func_hypot" = x""yes; then :
54845 cat >>confdefs.h <<_ACEOF
54846 #define HAVE_HYPOT 1
54847 _ACEOF
54850 done
54852 else
54854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54855 $as_echo_n "checking for _hypot declaration... " >&6; }
54856 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54857 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54858 $as_echo_n "(cached) " >&6
54859 else
54862 ac_ext=cpp
54863 ac_cpp='$CXXCPP $CPPFLAGS'
54864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54869 /* end confdefs.h. */
54870 #include <math.h>
54872 main ()
54874 _hypot(0, 0);
54876 return 0;
54878 _ACEOF
54879 if ac_fn_cxx_try_compile "$LINENO"; then :
54880 glibcxx_cv_func__hypot_use=yes
54881 else
54882 glibcxx_cv_func__hypot_use=no
54884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54885 ac_ext=c
54886 ac_cpp='$CPP $CPPFLAGS'
54887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54896 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54898 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54899 for ac_func in _hypot
54900 do :
54901 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54902 if test "x$ac_cv_func__hypot" = x""yes; then :
54903 cat >>confdefs.h <<_ACEOF
54904 #define HAVE__HYPOT 1
54905 _ACEOF
54908 done
54917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54918 $as_echo_n "checking for float trig functions... " >&6; }
54919 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54920 $as_echo_n "(cached) " >&6
54921 else
54924 ac_ext=cpp
54925 ac_cpp='$CXXCPP $CPPFLAGS'
54926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54931 /* end confdefs.h. */
54932 #include <math.h>
54934 main ()
54936 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54938 return 0;
54940 _ACEOF
54941 if ac_fn_cxx_try_compile "$LINENO"; then :
54942 glibcxx_cv_func_float_trig_use=yes
54943 else
54944 glibcxx_cv_func_float_trig_use=no
54946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54947 ac_ext=c
54948 ac_cpp='$CPP $CPPFLAGS'
54949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54956 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54957 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54958 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54959 do :
54960 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54961 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54962 eval as_val=\$$as_ac_var
54963 if test "x$as_val" = x""yes; then :
54964 cat >>confdefs.h <<_ACEOF
54965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54966 _ACEOF
54969 done
54971 else
54972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54973 $as_echo_n "checking for _float trig functions... " >&6; }
54974 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54975 $as_echo_n "(cached) " >&6
54976 else
54979 ac_ext=cpp
54980 ac_cpp='$CXXCPP $CPPFLAGS'
54981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54986 /* end confdefs.h. */
54987 #include <math.h>
54989 main ()
54991 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54993 return 0;
54995 _ACEOF
54996 if ac_fn_cxx_try_compile "$LINENO"; then :
54997 glibcxx_cv_func__float_trig_use=yes
54998 else
54999 glibcxx_cv_func__float_trig_use=no
55001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55002 ac_ext=c
55003 ac_cpp='$CPP $CPPFLAGS'
55004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55011 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55012 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55013 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55014 do :
55015 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55017 eval as_val=\$$as_ac_var
55018 if test "x$as_val" = x""yes; then :
55019 cat >>confdefs.h <<_ACEOF
55020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55021 _ACEOF
55024 done
55033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55034 $as_echo_n "checking for float round functions... " >&6; }
55035 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55036 $as_echo_n "(cached) " >&6
55037 else
55040 ac_ext=cpp
55041 ac_cpp='$CXXCPP $CPPFLAGS'
55042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55047 /* end confdefs.h. */
55048 #include <math.h>
55050 main ()
55052 ceilf (0); floorf (0);
55054 return 0;
55056 _ACEOF
55057 if ac_fn_cxx_try_compile "$LINENO"; then :
55058 glibcxx_cv_func_float_round_use=yes
55059 else
55060 glibcxx_cv_func_float_round_use=no
55062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55063 ac_ext=c
55064 ac_cpp='$CPP $CPPFLAGS'
55065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55072 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55073 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55074 for ac_func in ceilf floorf
55075 do :
55076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55078 eval as_val=\$$as_ac_var
55079 if test "x$as_val" = x""yes; then :
55080 cat >>confdefs.h <<_ACEOF
55081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55082 _ACEOF
55085 done
55087 else
55088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55089 $as_echo_n "checking for _float round functions... " >&6; }
55090 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55091 $as_echo_n "(cached) " >&6
55092 else
55095 ac_ext=cpp
55096 ac_cpp='$CXXCPP $CPPFLAGS'
55097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55102 /* end confdefs.h. */
55103 #include <math.h>
55105 main ()
55107 _ceilf (0); _floorf (0);
55109 return 0;
55111 _ACEOF
55112 if ac_fn_cxx_try_compile "$LINENO"; then :
55113 glibcxx_cv_func__float_round_use=yes
55114 else
55115 glibcxx_cv_func__float_round_use=no
55117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55118 ac_ext=c
55119 ac_cpp='$CPP $CPPFLAGS'
55120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55127 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55128 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55129 for ac_func in _ceilf _floorf
55130 do :
55131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55133 eval as_val=\$$as_ac_var
55134 if test "x$as_val" = x""yes; then :
55135 cat >>confdefs.h <<_ACEOF
55136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55137 _ACEOF
55140 done
55150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55151 $as_echo_n "checking for expf declaration... " >&6; }
55152 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55153 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55154 $as_echo_n "(cached) " >&6
55155 else
55158 ac_ext=cpp
55159 ac_cpp='$CXXCPP $CPPFLAGS'
55160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55165 /* end confdefs.h. */
55166 #include <math.h>
55167 #ifdef HAVE_IEEEFP_H
55168 #include <ieeefp.h>
55169 #endif
55172 main ()
55174 expf(0);
55176 return 0;
55178 _ACEOF
55179 if ac_fn_cxx_try_compile "$LINENO"; then :
55180 glibcxx_cv_func_expf_use=yes
55181 else
55182 glibcxx_cv_func_expf_use=no
55184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55185 ac_ext=c
55186 ac_cpp='$CPP $CPPFLAGS'
55187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55196 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55198 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55199 for ac_func in expf
55200 do :
55201 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55202 if test "x$ac_cv_func_expf" = x""yes; then :
55203 cat >>confdefs.h <<_ACEOF
55204 #define HAVE_EXPF 1
55205 _ACEOF
55208 done
55210 else
55212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55213 $as_echo_n "checking for _expf declaration... " >&6; }
55214 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55215 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55216 $as_echo_n "(cached) " >&6
55217 else
55220 ac_ext=cpp
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h. */
55228 #include <math.h>
55229 #ifdef HAVE_IEEEFP_H
55230 #include <ieeefp.h>
55231 #endif
55234 main ()
55236 _expf(0);
55238 return 0;
55240 _ACEOF
55241 if ac_fn_cxx_try_compile "$LINENO"; then :
55242 glibcxx_cv_func__expf_use=yes
55243 else
55244 glibcxx_cv_func__expf_use=no
55246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55247 ac_ext=c
55248 ac_cpp='$CPP $CPPFLAGS'
55249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55258 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55260 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55261 for ac_func in _expf
55262 do :
55263 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55264 if test "x$ac_cv_func__expf" = x""yes; then :
55265 cat >>confdefs.h <<_ACEOF
55266 #define HAVE__EXPF 1
55267 _ACEOF
55270 done
55279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55280 $as_echo_n "checking for isnanf declaration... " >&6; }
55281 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55282 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55283 $as_echo_n "(cached) " >&6
55284 else
55287 ac_ext=cpp
55288 ac_cpp='$CXXCPP $CPPFLAGS'
55289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55294 /* end confdefs.h. */
55295 #include <math.h>
55296 #ifdef HAVE_IEEEFP_H
55297 #include <ieeefp.h>
55298 #endif
55301 main ()
55303 isnanf(0);
55305 return 0;
55307 _ACEOF
55308 if ac_fn_cxx_try_compile "$LINENO"; then :
55309 glibcxx_cv_func_isnanf_use=yes
55310 else
55311 glibcxx_cv_func_isnanf_use=no
55313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55314 ac_ext=c
55315 ac_cpp='$CPP $CPPFLAGS'
55316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55325 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55327 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55328 for ac_func in isnanf
55329 do :
55330 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55331 if test "x$ac_cv_func_isnanf" = x""yes; then :
55332 cat >>confdefs.h <<_ACEOF
55333 #define HAVE_ISNANF 1
55334 _ACEOF
55337 done
55339 else
55341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55342 $as_echo_n "checking for _isnanf declaration... " >&6; }
55343 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55344 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55345 $as_echo_n "(cached) " >&6
55346 else
55349 ac_ext=cpp
55350 ac_cpp='$CXXCPP $CPPFLAGS'
55351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55356 /* end confdefs.h. */
55357 #include <math.h>
55358 #ifdef HAVE_IEEEFP_H
55359 #include <ieeefp.h>
55360 #endif
55363 main ()
55365 _isnanf(0);
55367 return 0;
55369 _ACEOF
55370 if ac_fn_cxx_try_compile "$LINENO"; then :
55371 glibcxx_cv_func__isnanf_use=yes
55372 else
55373 glibcxx_cv_func__isnanf_use=no
55375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55376 ac_ext=c
55377 ac_cpp='$CPP $CPPFLAGS'
55378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55387 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55389 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55390 for ac_func in _isnanf
55391 do :
55392 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55393 if test "x$ac_cv_func__isnanf" = x""yes; then :
55394 cat >>confdefs.h <<_ACEOF
55395 #define HAVE__ISNANF 1
55396 _ACEOF
55399 done
55408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55409 $as_echo_n "checking for isinff declaration... " >&6; }
55410 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55411 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55412 $as_echo_n "(cached) " >&6
55413 else
55416 ac_ext=cpp
55417 ac_cpp='$CXXCPP $CPPFLAGS'
55418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55423 /* end confdefs.h. */
55424 #include <math.h>
55425 #ifdef HAVE_IEEEFP_H
55426 #include <ieeefp.h>
55427 #endif
55430 main ()
55432 isinff(0);
55434 return 0;
55436 _ACEOF
55437 if ac_fn_cxx_try_compile "$LINENO"; then :
55438 glibcxx_cv_func_isinff_use=yes
55439 else
55440 glibcxx_cv_func_isinff_use=no
55442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55443 ac_ext=c
55444 ac_cpp='$CPP $CPPFLAGS'
55445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55454 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55456 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55457 for ac_func in isinff
55458 do :
55459 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55460 if test "x$ac_cv_func_isinff" = x""yes; then :
55461 cat >>confdefs.h <<_ACEOF
55462 #define HAVE_ISINFF 1
55463 _ACEOF
55466 done
55468 else
55470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55471 $as_echo_n "checking for _isinff declaration... " >&6; }
55472 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55473 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55474 $as_echo_n "(cached) " >&6
55475 else
55478 ac_ext=cpp
55479 ac_cpp='$CXXCPP $CPPFLAGS'
55480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55485 /* end confdefs.h. */
55486 #include <math.h>
55487 #ifdef HAVE_IEEEFP_H
55488 #include <ieeefp.h>
55489 #endif
55492 main ()
55494 _isinff(0);
55496 return 0;
55498 _ACEOF
55499 if ac_fn_cxx_try_compile "$LINENO"; then :
55500 glibcxx_cv_func__isinff_use=yes
55501 else
55502 glibcxx_cv_func__isinff_use=no
55504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55505 ac_ext=c
55506 ac_cpp='$CPP $CPPFLAGS'
55507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55516 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55518 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55519 for ac_func in _isinff
55520 do :
55521 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55522 if test "x$ac_cv_func__isinff" = x""yes; then :
55523 cat >>confdefs.h <<_ACEOF
55524 #define HAVE__ISINFF 1
55525 _ACEOF
55528 done
55537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55538 $as_echo_n "checking for atan2f declaration... " >&6; }
55539 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55540 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55541 $as_echo_n "(cached) " >&6
55542 else
55545 ac_ext=cpp
55546 ac_cpp='$CXXCPP $CPPFLAGS'
55547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55552 /* end confdefs.h. */
55553 #include <math.h>
55555 main ()
55557 atan2f(0, 0);
55559 return 0;
55561 _ACEOF
55562 if ac_fn_cxx_try_compile "$LINENO"; then :
55563 glibcxx_cv_func_atan2f_use=yes
55564 else
55565 glibcxx_cv_func_atan2f_use=no
55567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55568 ac_ext=c
55569 ac_cpp='$CPP $CPPFLAGS'
55570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55579 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55581 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55582 for ac_func in atan2f
55583 do :
55584 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55585 if test "x$ac_cv_func_atan2f" = x""yes; then :
55586 cat >>confdefs.h <<_ACEOF
55587 #define HAVE_ATAN2F 1
55588 _ACEOF
55591 done
55593 else
55595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55596 $as_echo_n "checking for _atan2f declaration... " >&6; }
55597 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55598 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55599 $as_echo_n "(cached) " >&6
55600 else
55603 ac_ext=cpp
55604 ac_cpp='$CXXCPP $CPPFLAGS'
55605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55610 /* end confdefs.h. */
55611 #include <math.h>
55613 main ()
55615 _atan2f(0, 0);
55617 return 0;
55619 _ACEOF
55620 if ac_fn_cxx_try_compile "$LINENO"; then :
55621 glibcxx_cv_func__atan2f_use=yes
55622 else
55623 glibcxx_cv_func__atan2f_use=no
55625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55626 ac_ext=c
55627 ac_cpp='$CPP $CPPFLAGS'
55628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55637 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55639 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55640 for ac_func in _atan2f
55641 do :
55642 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55643 if test "x$ac_cv_func__atan2f" = x""yes; then :
55644 cat >>confdefs.h <<_ACEOF
55645 #define HAVE__ATAN2F 1
55646 _ACEOF
55649 done
55658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55659 $as_echo_n "checking for fabsf declaration... " >&6; }
55660 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55661 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55662 $as_echo_n "(cached) " >&6
55663 else
55666 ac_ext=cpp
55667 ac_cpp='$CXXCPP $CPPFLAGS'
55668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55673 /* end confdefs.h. */
55674 #include <math.h>
55675 #ifdef HAVE_IEEEFP_H
55676 #include <ieeefp.h>
55677 #endif
55680 main ()
55682 fabsf(0);
55684 return 0;
55686 _ACEOF
55687 if ac_fn_cxx_try_compile "$LINENO"; then :
55688 glibcxx_cv_func_fabsf_use=yes
55689 else
55690 glibcxx_cv_func_fabsf_use=no
55692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55693 ac_ext=c
55694 ac_cpp='$CPP $CPPFLAGS'
55695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55704 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55706 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55707 for ac_func in fabsf
55708 do :
55709 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55710 if test "x$ac_cv_func_fabsf" = x""yes; then :
55711 cat >>confdefs.h <<_ACEOF
55712 #define HAVE_FABSF 1
55713 _ACEOF
55716 done
55718 else
55720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55721 $as_echo_n "checking for _fabsf declaration... " >&6; }
55722 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55723 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55724 $as_echo_n "(cached) " >&6
55725 else
55728 ac_ext=cpp
55729 ac_cpp='$CXXCPP $CPPFLAGS'
55730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55735 /* end confdefs.h. */
55736 #include <math.h>
55737 #ifdef HAVE_IEEEFP_H
55738 #include <ieeefp.h>
55739 #endif
55742 main ()
55744 _fabsf(0);
55746 return 0;
55748 _ACEOF
55749 if ac_fn_cxx_try_compile "$LINENO"; then :
55750 glibcxx_cv_func__fabsf_use=yes
55751 else
55752 glibcxx_cv_func__fabsf_use=no
55754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55755 ac_ext=c
55756 ac_cpp='$CPP $CPPFLAGS'
55757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55766 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55768 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55769 for ac_func in _fabsf
55770 do :
55771 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55772 if test "x$ac_cv_func__fabsf" = x""yes; then :
55773 cat >>confdefs.h <<_ACEOF
55774 #define HAVE__FABSF 1
55775 _ACEOF
55778 done
55787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55788 $as_echo_n "checking for fmodf declaration... " >&6; }
55789 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55790 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55791 $as_echo_n "(cached) " >&6
55792 else
55795 ac_ext=cpp
55796 ac_cpp='$CXXCPP $CPPFLAGS'
55797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55802 /* end confdefs.h. */
55803 #include <math.h>
55805 main ()
55807 fmodf(0, 0);
55809 return 0;
55811 _ACEOF
55812 if ac_fn_cxx_try_compile "$LINENO"; then :
55813 glibcxx_cv_func_fmodf_use=yes
55814 else
55815 glibcxx_cv_func_fmodf_use=no
55817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55818 ac_ext=c
55819 ac_cpp='$CPP $CPPFLAGS'
55820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55829 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55831 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55832 for ac_func in fmodf
55833 do :
55834 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55835 if test "x$ac_cv_func_fmodf" = x""yes; then :
55836 cat >>confdefs.h <<_ACEOF
55837 #define HAVE_FMODF 1
55838 _ACEOF
55841 done
55843 else
55845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55846 $as_echo_n "checking for _fmodf declaration... " >&6; }
55847 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55848 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55849 $as_echo_n "(cached) " >&6
55850 else
55853 ac_ext=cpp
55854 ac_cpp='$CXXCPP $CPPFLAGS'
55855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55860 /* end confdefs.h. */
55861 #include <math.h>
55863 main ()
55865 _fmodf(0, 0);
55867 return 0;
55869 _ACEOF
55870 if ac_fn_cxx_try_compile "$LINENO"; then :
55871 glibcxx_cv_func__fmodf_use=yes
55872 else
55873 glibcxx_cv_func__fmodf_use=no
55875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55876 ac_ext=c
55877 ac_cpp='$CPP $CPPFLAGS'
55878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55887 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55889 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55890 for ac_func in _fmodf
55891 do :
55892 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55893 if test "x$ac_cv_func__fmodf" = x""yes; then :
55894 cat >>confdefs.h <<_ACEOF
55895 #define HAVE__FMODF 1
55896 _ACEOF
55899 done
55908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55909 $as_echo_n "checking for frexpf declaration... " >&6; }
55910 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55911 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55912 $as_echo_n "(cached) " >&6
55913 else
55916 ac_ext=cpp
55917 ac_cpp='$CXXCPP $CPPFLAGS'
55918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55923 /* end confdefs.h. */
55924 #include <math.h>
55926 main ()
55928 frexpf(0, 0);
55930 return 0;
55932 _ACEOF
55933 if ac_fn_cxx_try_compile "$LINENO"; then :
55934 glibcxx_cv_func_frexpf_use=yes
55935 else
55936 glibcxx_cv_func_frexpf_use=no
55938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55939 ac_ext=c
55940 ac_cpp='$CPP $CPPFLAGS'
55941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55950 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55952 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55953 for ac_func in frexpf
55954 do :
55955 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55956 if test "x$ac_cv_func_frexpf" = x""yes; then :
55957 cat >>confdefs.h <<_ACEOF
55958 #define HAVE_FREXPF 1
55959 _ACEOF
55962 done
55964 else
55966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55967 $as_echo_n "checking for _frexpf declaration... " >&6; }
55968 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55969 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55970 $as_echo_n "(cached) " >&6
55971 else
55974 ac_ext=cpp
55975 ac_cpp='$CXXCPP $CPPFLAGS'
55976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55981 /* end confdefs.h. */
55982 #include <math.h>
55984 main ()
55986 _frexpf(0, 0);
55988 return 0;
55990 _ACEOF
55991 if ac_fn_cxx_try_compile "$LINENO"; then :
55992 glibcxx_cv_func__frexpf_use=yes
55993 else
55994 glibcxx_cv_func__frexpf_use=no
55996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55997 ac_ext=c
55998 ac_cpp='$CPP $CPPFLAGS'
55999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56008 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56010 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56011 for ac_func in _frexpf
56012 do :
56013 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56014 if test "x$ac_cv_func__frexpf" = x""yes; then :
56015 cat >>confdefs.h <<_ACEOF
56016 #define HAVE__FREXPF 1
56017 _ACEOF
56020 done
56029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56030 $as_echo_n "checking for hypotf declaration... " >&6; }
56031 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56032 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56033 $as_echo_n "(cached) " >&6
56034 else
56037 ac_ext=cpp
56038 ac_cpp='$CXXCPP $CPPFLAGS'
56039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56044 /* end confdefs.h. */
56045 #include <math.h>
56047 main ()
56049 hypotf(0, 0);
56051 return 0;
56053 _ACEOF
56054 if ac_fn_cxx_try_compile "$LINENO"; then :
56055 glibcxx_cv_func_hypotf_use=yes
56056 else
56057 glibcxx_cv_func_hypotf_use=no
56059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56060 ac_ext=c
56061 ac_cpp='$CPP $CPPFLAGS'
56062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56071 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56073 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56074 for ac_func in hypotf
56075 do :
56076 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56077 if test "x$ac_cv_func_hypotf" = x""yes; then :
56078 cat >>confdefs.h <<_ACEOF
56079 #define HAVE_HYPOTF 1
56080 _ACEOF
56083 done
56085 else
56087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56088 $as_echo_n "checking for _hypotf declaration... " >&6; }
56089 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56090 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56091 $as_echo_n "(cached) " >&6
56092 else
56095 ac_ext=cpp
56096 ac_cpp='$CXXCPP $CPPFLAGS'
56097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56102 /* end confdefs.h. */
56103 #include <math.h>
56105 main ()
56107 _hypotf(0, 0);
56109 return 0;
56111 _ACEOF
56112 if ac_fn_cxx_try_compile "$LINENO"; then :
56113 glibcxx_cv_func__hypotf_use=yes
56114 else
56115 glibcxx_cv_func__hypotf_use=no
56117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56118 ac_ext=c
56119 ac_cpp='$CPP $CPPFLAGS'
56120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56129 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56131 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56132 for ac_func in _hypotf
56133 do :
56134 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56135 if test "x$ac_cv_func__hypotf" = x""yes; then :
56136 cat >>confdefs.h <<_ACEOF
56137 #define HAVE__HYPOTF 1
56138 _ACEOF
56141 done
56150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56151 $as_echo_n "checking for ldexpf declaration... " >&6; }
56152 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56153 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56154 $as_echo_n "(cached) " >&6
56155 else
56158 ac_ext=cpp
56159 ac_cpp='$CXXCPP $CPPFLAGS'
56160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56165 /* end confdefs.h. */
56166 #include <math.h>
56168 main ()
56170 ldexpf(0, 0);
56172 return 0;
56174 _ACEOF
56175 if ac_fn_cxx_try_compile "$LINENO"; then :
56176 glibcxx_cv_func_ldexpf_use=yes
56177 else
56178 glibcxx_cv_func_ldexpf_use=no
56180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56181 ac_ext=c
56182 ac_cpp='$CPP $CPPFLAGS'
56183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56192 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56194 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56195 for ac_func in ldexpf
56196 do :
56197 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56198 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56199 cat >>confdefs.h <<_ACEOF
56200 #define HAVE_LDEXPF 1
56201 _ACEOF
56204 done
56206 else
56208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56209 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56210 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56211 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56212 $as_echo_n "(cached) " >&6
56213 else
56216 ac_ext=cpp
56217 ac_cpp='$CXXCPP $CPPFLAGS'
56218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56223 /* end confdefs.h. */
56224 #include <math.h>
56226 main ()
56228 _ldexpf(0, 0);
56230 return 0;
56232 _ACEOF
56233 if ac_fn_cxx_try_compile "$LINENO"; then :
56234 glibcxx_cv_func__ldexpf_use=yes
56235 else
56236 glibcxx_cv_func__ldexpf_use=no
56238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56239 ac_ext=c
56240 ac_cpp='$CPP $CPPFLAGS'
56241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56250 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56252 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56253 for ac_func in _ldexpf
56254 do :
56255 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56256 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56257 cat >>confdefs.h <<_ACEOF
56258 #define HAVE__LDEXPF 1
56259 _ACEOF
56262 done
56271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56272 $as_echo_n "checking for logf declaration... " >&6; }
56273 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56274 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56275 $as_echo_n "(cached) " >&6
56276 else
56279 ac_ext=cpp
56280 ac_cpp='$CXXCPP $CPPFLAGS'
56281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56286 /* end confdefs.h. */
56287 #include <math.h>
56288 #ifdef HAVE_IEEEFP_H
56289 #include <ieeefp.h>
56290 #endif
56293 main ()
56295 logf(0);
56297 return 0;
56299 _ACEOF
56300 if ac_fn_cxx_try_compile "$LINENO"; then :
56301 glibcxx_cv_func_logf_use=yes
56302 else
56303 glibcxx_cv_func_logf_use=no
56305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56306 ac_ext=c
56307 ac_cpp='$CPP $CPPFLAGS'
56308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56317 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56319 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56320 for ac_func in logf
56321 do :
56322 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56323 if test "x$ac_cv_func_logf" = x""yes; then :
56324 cat >>confdefs.h <<_ACEOF
56325 #define HAVE_LOGF 1
56326 _ACEOF
56329 done
56331 else
56333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56334 $as_echo_n "checking for _logf declaration... " >&6; }
56335 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56336 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56337 $as_echo_n "(cached) " >&6
56338 else
56341 ac_ext=cpp
56342 ac_cpp='$CXXCPP $CPPFLAGS'
56343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56348 /* end confdefs.h. */
56349 #include <math.h>
56350 #ifdef HAVE_IEEEFP_H
56351 #include <ieeefp.h>
56352 #endif
56355 main ()
56357 _logf(0);
56359 return 0;
56361 _ACEOF
56362 if ac_fn_cxx_try_compile "$LINENO"; then :
56363 glibcxx_cv_func__logf_use=yes
56364 else
56365 glibcxx_cv_func__logf_use=no
56367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56368 ac_ext=c
56369 ac_cpp='$CPP $CPPFLAGS'
56370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56379 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56381 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56382 for ac_func in _logf
56383 do :
56384 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56385 if test "x$ac_cv_func__logf" = x""yes; then :
56386 cat >>confdefs.h <<_ACEOF
56387 #define HAVE__LOGF 1
56388 _ACEOF
56391 done
56400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56401 $as_echo_n "checking for log10f declaration... " >&6; }
56402 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56403 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56404 $as_echo_n "(cached) " >&6
56405 else
56408 ac_ext=cpp
56409 ac_cpp='$CXXCPP $CPPFLAGS'
56410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56415 /* end confdefs.h. */
56416 #include <math.h>
56417 #ifdef HAVE_IEEEFP_H
56418 #include <ieeefp.h>
56419 #endif
56422 main ()
56424 log10f(0);
56426 return 0;
56428 _ACEOF
56429 if ac_fn_cxx_try_compile "$LINENO"; then :
56430 glibcxx_cv_func_log10f_use=yes
56431 else
56432 glibcxx_cv_func_log10f_use=no
56434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56435 ac_ext=c
56436 ac_cpp='$CPP $CPPFLAGS'
56437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56446 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56448 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56449 for ac_func in log10f
56450 do :
56451 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56452 if test "x$ac_cv_func_log10f" = x""yes; then :
56453 cat >>confdefs.h <<_ACEOF
56454 #define HAVE_LOG10F 1
56455 _ACEOF
56458 done
56460 else
56462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56463 $as_echo_n "checking for _log10f declaration... " >&6; }
56464 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56465 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56466 $as_echo_n "(cached) " >&6
56467 else
56470 ac_ext=cpp
56471 ac_cpp='$CXXCPP $CPPFLAGS'
56472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56477 /* end confdefs.h. */
56478 #include <math.h>
56479 #ifdef HAVE_IEEEFP_H
56480 #include <ieeefp.h>
56481 #endif
56484 main ()
56486 _log10f(0);
56488 return 0;
56490 _ACEOF
56491 if ac_fn_cxx_try_compile "$LINENO"; then :
56492 glibcxx_cv_func__log10f_use=yes
56493 else
56494 glibcxx_cv_func__log10f_use=no
56496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56497 ac_ext=c
56498 ac_cpp='$CPP $CPPFLAGS'
56499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56508 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56510 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56511 for ac_func in _log10f
56512 do :
56513 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56514 if test "x$ac_cv_func__log10f" = x""yes; then :
56515 cat >>confdefs.h <<_ACEOF
56516 #define HAVE__LOG10F 1
56517 _ACEOF
56520 done
56529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56530 $as_echo_n "checking for modff declaration... " >&6; }
56531 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56532 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56533 $as_echo_n "(cached) " >&6
56534 else
56537 ac_ext=cpp
56538 ac_cpp='$CXXCPP $CPPFLAGS'
56539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56544 /* end confdefs.h. */
56545 #include <math.h>
56547 main ()
56549 modff(0, 0);
56551 return 0;
56553 _ACEOF
56554 if ac_fn_cxx_try_compile "$LINENO"; then :
56555 glibcxx_cv_func_modff_use=yes
56556 else
56557 glibcxx_cv_func_modff_use=no
56559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56560 ac_ext=c
56561 ac_cpp='$CPP $CPPFLAGS'
56562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56571 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56573 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56574 for ac_func in modff
56575 do :
56576 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56577 if test "x$ac_cv_func_modff" = x""yes; then :
56578 cat >>confdefs.h <<_ACEOF
56579 #define HAVE_MODFF 1
56580 _ACEOF
56583 done
56585 else
56587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56588 $as_echo_n "checking for _modff declaration... " >&6; }
56589 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56590 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56591 $as_echo_n "(cached) " >&6
56592 else
56595 ac_ext=cpp
56596 ac_cpp='$CXXCPP $CPPFLAGS'
56597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56602 /* end confdefs.h. */
56603 #include <math.h>
56605 main ()
56607 _modff(0, 0);
56609 return 0;
56611 _ACEOF
56612 if ac_fn_cxx_try_compile "$LINENO"; then :
56613 glibcxx_cv_func__modff_use=yes
56614 else
56615 glibcxx_cv_func__modff_use=no
56617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56618 ac_ext=c
56619 ac_cpp='$CPP $CPPFLAGS'
56620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56629 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56631 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56632 for ac_func in _modff
56633 do :
56634 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56635 if test "x$ac_cv_func__modff" = x""yes; then :
56636 cat >>confdefs.h <<_ACEOF
56637 #define HAVE__MODFF 1
56638 _ACEOF
56641 done
56650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56651 $as_echo_n "checking for modf declaration... " >&6; }
56652 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56653 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56654 $as_echo_n "(cached) " >&6
56655 else
56658 ac_ext=cpp
56659 ac_cpp='$CXXCPP $CPPFLAGS'
56660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56665 /* end confdefs.h. */
56666 #include <math.h>
56668 main ()
56670 modf(0, 0);
56672 return 0;
56674 _ACEOF
56675 if ac_fn_cxx_try_compile "$LINENO"; then :
56676 glibcxx_cv_func_modf_use=yes
56677 else
56678 glibcxx_cv_func_modf_use=no
56680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56681 ac_ext=c
56682 ac_cpp='$CPP $CPPFLAGS'
56683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56692 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56694 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56695 for ac_func in modf
56696 do :
56697 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56698 if test "x$ac_cv_func_modf" = x""yes; then :
56699 cat >>confdefs.h <<_ACEOF
56700 #define HAVE_MODF 1
56701 _ACEOF
56704 done
56706 else
56708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56709 $as_echo_n "checking for _modf declaration... " >&6; }
56710 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56711 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56712 $as_echo_n "(cached) " >&6
56713 else
56716 ac_ext=cpp
56717 ac_cpp='$CXXCPP $CPPFLAGS'
56718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56723 /* end confdefs.h. */
56724 #include <math.h>
56726 main ()
56728 _modf(0, 0);
56730 return 0;
56732 _ACEOF
56733 if ac_fn_cxx_try_compile "$LINENO"; then :
56734 glibcxx_cv_func__modf_use=yes
56735 else
56736 glibcxx_cv_func__modf_use=no
56738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56739 ac_ext=c
56740 ac_cpp='$CPP $CPPFLAGS'
56741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56750 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56752 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56753 for ac_func in _modf
56754 do :
56755 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56756 if test "x$ac_cv_func__modf" = x""yes; then :
56757 cat >>confdefs.h <<_ACEOF
56758 #define HAVE__MODF 1
56759 _ACEOF
56762 done
56771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56772 $as_echo_n "checking for powf declaration... " >&6; }
56773 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56774 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56775 $as_echo_n "(cached) " >&6
56776 else
56779 ac_ext=cpp
56780 ac_cpp='$CXXCPP $CPPFLAGS'
56781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56786 /* end confdefs.h. */
56787 #include <math.h>
56789 main ()
56791 powf(0, 0);
56793 return 0;
56795 _ACEOF
56796 if ac_fn_cxx_try_compile "$LINENO"; then :
56797 glibcxx_cv_func_powf_use=yes
56798 else
56799 glibcxx_cv_func_powf_use=no
56801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56802 ac_ext=c
56803 ac_cpp='$CPP $CPPFLAGS'
56804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56813 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56815 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56816 for ac_func in powf
56817 do :
56818 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56819 if test "x$ac_cv_func_powf" = x""yes; then :
56820 cat >>confdefs.h <<_ACEOF
56821 #define HAVE_POWF 1
56822 _ACEOF
56825 done
56827 else
56829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56830 $as_echo_n "checking for _powf declaration... " >&6; }
56831 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56832 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56833 $as_echo_n "(cached) " >&6
56834 else
56837 ac_ext=cpp
56838 ac_cpp='$CXXCPP $CPPFLAGS'
56839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56844 /* end confdefs.h. */
56845 #include <math.h>
56847 main ()
56849 _powf(0, 0);
56851 return 0;
56853 _ACEOF
56854 if ac_fn_cxx_try_compile "$LINENO"; then :
56855 glibcxx_cv_func__powf_use=yes
56856 else
56857 glibcxx_cv_func__powf_use=no
56859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56860 ac_ext=c
56861 ac_cpp='$CPP $CPPFLAGS'
56862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56871 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56873 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56874 for ac_func in _powf
56875 do :
56876 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56877 if test "x$ac_cv_func__powf" = x""yes; then :
56878 cat >>confdefs.h <<_ACEOF
56879 #define HAVE__POWF 1
56880 _ACEOF
56883 done
56892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56893 $as_echo_n "checking for sqrtf declaration... " >&6; }
56894 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56895 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56896 $as_echo_n "(cached) " >&6
56897 else
56900 ac_ext=cpp
56901 ac_cpp='$CXXCPP $CPPFLAGS'
56902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56907 /* end confdefs.h. */
56908 #include <math.h>
56909 #ifdef HAVE_IEEEFP_H
56910 #include <ieeefp.h>
56911 #endif
56914 main ()
56916 sqrtf(0);
56918 return 0;
56920 _ACEOF
56921 if ac_fn_cxx_try_compile "$LINENO"; then :
56922 glibcxx_cv_func_sqrtf_use=yes
56923 else
56924 glibcxx_cv_func_sqrtf_use=no
56926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56927 ac_ext=c
56928 ac_cpp='$CPP $CPPFLAGS'
56929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56938 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56940 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56941 for ac_func in sqrtf
56942 do :
56943 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56944 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56945 cat >>confdefs.h <<_ACEOF
56946 #define HAVE_SQRTF 1
56947 _ACEOF
56950 done
56952 else
56954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56955 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56956 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56957 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56958 $as_echo_n "(cached) " >&6
56959 else
56962 ac_ext=cpp
56963 ac_cpp='$CXXCPP $CPPFLAGS'
56964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56969 /* end confdefs.h. */
56970 #include <math.h>
56971 #ifdef HAVE_IEEEFP_H
56972 #include <ieeefp.h>
56973 #endif
56976 main ()
56978 _sqrtf(0);
56980 return 0;
56982 _ACEOF
56983 if ac_fn_cxx_try_compile "$LINENO"; then :
56984 glibcxx_cv_func__sqrtf_use=yes
56985 else
56986 glibcxx_cv_func__sqrtf_use=no
56988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56989 ac_ext=c
56990 ac_cpp='$CPP $CPPFLAGS'
56991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57000 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57002 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57003 for ac_func in _sqrtf
57004 do :
57005 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57006 if test "x$ac_cv_func__sqrtf" = x""yes; then :
57007 cat >>confdefs.h <<_ACEOF
57008 #define HAVE__SQRTF 1
57009 _ACEOF
57012 done
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57022 $as_echo_n "checking for sincosf declaration... " >&6; }
57023 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57024 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57025 $as_echo_n "(cached) " >&6
57026 else
57029 ac_ext=cpp
57030 ac_cpp='$CXXCPP $CPPFLAGS'
57031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57036 /* end confdefs.h. */
57037 #include <math.h>
57039 main ()
57041 sincosf(0, 0, 0);
57043 return 0;
57045 _ACEOF
57046 if ac_fn_cxx_try_compile "$LINENO"; then :
57047 glibcxx_cv_func_sincosf_use=yes
57048 else
57049 glibcxx_cv_func_sincosf_use=no
57051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57052 ac_ext=c
57053 ac_cpp='$CPP $CPPFLAGS'
57054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57063 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57065 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57066 for ac_func in sincosf
57067 do :
57068 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57069 if test "x$ac_cv_func_sincosf" = x""yes; then :
57070 cat >>confdefs.h <<_ACEOF
57071 #define HAVE_SINCOSF 1
57072 _ACEOF
57075 done
57077 else
57079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57080 $as_echo_n "checking for _sincosf declaration... " >&6; }
57081 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57082 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57083 $as_echo_n "(cached) " >&6
57084 else
57087 ac_ext=cpp
57088 ac_cpp='$CXXCPP $CPPFLAGS'
57089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57094 /* end confdefs.h. */
57095 #include <math.h>
57097 main ()
57099 _sincosf(0, 0, 0);
57101 return 0;
57103 _ACEOF
57104 if ac_fn_cxx_try_compile "$LINENO"; then :
57105 glibcxx_cv_func__sincosf_use=yes
57106 else
57107 glibcxx_cv_func__sincosf_use=no
57109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57110 ac_ext=c
57111 ac_cpp='$CPP $CPPFLAGS'
57112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57121 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57123 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57124 for ac_func in _sincosf
57125 do :
57126 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57127 if test "x$ac_cv_func__sincosf" = x""yes; then :
57128 cat >>confdefs.h <<_ACEOF
57129 #define HAVE__SINCOSF 1
57130 _ACEOF
57133 done
57142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57143 $as_echo_n "checking for finitef declaration... " >&6; }
57144 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57145 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57146 $as_echo_n "(cached) " >&6
57147 else
57150 ac_ext=cpp
57151 ac_cpp='$CXXCPP $CPPFLAGS'
57152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57157 /* end confdefs.h. */
57158 #include <math.h>
57159 #ifdef HAVE_IEEEFP_H
57160 #include <ieeefp.h>
57161 #endif
57164 main ()
57166 finitef(0);
57168 return 0;
57170 _ACEOF
57171 if ac_fn_cxx_try_compile "$LINENO"; then :
57172 glibcxx_cv_func_finitef_use=yes
57173 else
57174 glibcxx_cv_func_finitef_use=no
57176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57177 ac_ext=c
57178 ac_cpp='$CPP $CPPFLAGS'
57179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57188 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57190 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57191 for ac_func in finitef
57192 do :
57193 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57194 if test "x$ac_cv_func_finitef" = x""yes; then :
57195 cat >>confdefs.h <<_ACEOF
57196 #define HAVE_FINITEF 1
57197 _ACEOF
57200 done
57202 else
57204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57205 $as_echo_n "checking for _finitef declaration... " >&6; }
57206 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57207 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57208 $as_echo_n "(cached) " >&6
57209 else
57212 ac_ext=cpp
57213 ac_cpp='$CXXCPP $CPPFLAGS'
57214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57219 /* end confdefs.h. */
57220 #include <math.h>
57221 #ifdef HAVE_IEEEFP_H
57222 #include <ieeefp.h>
57223 #endif
57226 main ()
57228 _finitef(0);
57230 return 0;
57232 _ACEOF
57233 if ac_fn_cxx_try_compile "$LINENO"; then :
57234 glibcxx_cv_func__finitef_use=yes
57235 else
57236 glibcxx_cv_func__finitef_use=no
57238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57239 ac_ext=c
57240 ac_cpp='$CPP $CPPFLAGS'
57241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57250 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57252 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57253 for ac_func in _finitef
57254 do :
57255 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57256 if test "x$ac_cv_func__finitef" = x""yes; then :
57257 cat >>confdefs.h <<_ACEOF
57258 #define HAVE__FINITEF 1
57259 _ACEOF
57262 done
57271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57272 $as_echo_n "checking for long double trig functions... " >&6; }
57273 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57274 $as_echo_n "(cached) " >&6
57275 else
57278 ac_ext=cpp
57279 ac_cpp='$CXXCPP $CPPFLAGS'
57280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57285 /* end confdefs.h. */
57286 #include <math.h>
57288 main ()
57290 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57292 return 0;
57294 _ACEOF
57295 if ac_fn_cxx_try_compile "$LINENO"; then :
57296 glibcxx_cv_func_long_double_trig_use=yes
57297 else
57298 glibcxx_cv_func_long_double_trig_use=no
57300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57301 ac_ext=c
57302 ac_cpp='$CPP $CPPFLAGS'
57303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57310 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57311 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57312 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57313 do :
57314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57316 eval as_val=\$$as_ac_var
57317 if test "x$as_val" = x""yes; then :
57318 cat >>confdefs.h <<_ACEOF
57319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57320 _ACEOF
57323 done
57325 else
57326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57327 $as_echo_n "checking for _long double trig functions... " >&6; }
57328 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57329 $as_echo_n "(cached) " >&6
57330 else
57333 ac_ext=cpp
57334 ac_cpp='$CXXCPP $CPPFLAGS'
57335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57340 /* end confdefs.h. */
57341 #include <math.h>
57343 main ()
57345 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57347 return 0;
57349 _ACEOF
57350 if ac_fn_cxx_try_compile "$LINENO"; then :
57351 glibcxx_cv_func__long_double_trig_use=yes
57352 else
57353 glibcxx_cv_func__long_double_trig_use=no
57355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57356 ac_ext=c
57357 ac_cpp='$CPP $CPPFLAGS'
57358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57365 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57366 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57367 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57368 do :
57369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57371 eval as_val=\$$as_ac_var
57372 if test "x$as_val" = x""yes; then :
57373 cat >>confdefs.h <<_ACEOF
57374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57375 _ACEOF
57378 done
57387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57388 $as_echo_n "checking for long double round functions... " >&6; }
57389 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57390 $as_echo_n "(cached) " >&6
57391 else
57394 ac_ext=cpp
57395 ac_cpp='$CXXCPP $CPPFLAGS'
57396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57401 /* end confdefs.h. */
57402 #include <math.h>
57404 main ()
57406 ceill (0); floorl (0);
57408 return 0;
57410 _ACEOF
57411 if ac_fn_cxx_try_compile "$LINENO"; then :
57412 glibcxx_cv_func_long_double_round_use=yes
57413 else
57414 glibcxx_cv_func_long_double_round_use=no
57416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57417 ac_ext=c
57418 ac_cpp='$CPP $CPPFLAGS'
57419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57426 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57427 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57428 for ac_func in ceill floorl
57429 do :
57430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57432 eval as_val=\$$as_ac_var
57433 if test "x$as_val" = x""yes; then :
57434 cat >>confdefs.h <<_ACEOF
57435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57436 _ACEOF
57439 done
57441 else
57442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57443 $as_echo_n "checking for _long double round functions... " >&6; }
57444 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57445 $as_echo_n "(cached) " >&6
57446 else
57449 ac_ext=cpp
57450 ac_cpp='$CXXCPP $CPPFLAGS'
57451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57456 /* end confdefs.h. */
57457 #include <math.h>
57459 main ()
57461 _ceill (0); _floorl (0);
57463 return 0;
57465 _ACEOF
57466 if ac_fn_cxx_try_compile "$LINENO"; then :
57467 glibcxx_cv_func__long_double_round_use=yes
57468 else
57469 glibcxx_cv_func__long_double_round_use=no
57471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57472 ac_ext=c
57473 ac_cpp='$CPP $CPPFLAGS'
57474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57481 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57482 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57483 for ac_func in _ceill _floorl
57484 do :
57485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57487 eval as_val=\$$as_ac_var
57488 if test "x$as_val" = x""yes; then :
57489 cat >>confdefs.h <<_ACEOF
57490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57491 _ACEOF
57494 done
57504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57505 $as_echo_n "checking for isnanl declaration... " >&6; }
57506 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57507 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57508 $as_echo_n "(cached) " >&6
57509 else
57512 ac_ext=cpp
57513 ac_cpp='$CXXCPP $CPPFLAGS'
57514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57519 /* end confdefs.h. */
57520 #include <math.h>
57521 #ifdef HAVE_IEEEFP_H
57522 #include <ieeefp.h>
57523 #endif
57526 main ()
57528 isnanl(0);
57530 return 0;
57532 _ACEOF
57533 if ac_fn_cxx_try_compile "$LINENO"; then :
57534 glibcxx_cv_func_isnanl_use=yes
57535 else
57536 glibcxx_cv_func_isnanl_use=no
57538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57539 ac_ext=c
57540 ac_cpp='$CPP $CPPFLAGS'
57541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57550 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57552 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57553 for ac_func in isnanl
57554 do :
57555 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57556 if test "x$ac_cv_func_isnanl" = x""yes; then :
57557 cat >>confdefs.h <<_ACEOF
57558 #define HAVE_ISNANL 1
57559 _ACEOF
57562 done
57564 else
57566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57567 $as_echo_n "checking for _isnanl declaration... " >&6; }
57568 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57569 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57570 $as_echo_n "(cached) " >&6
57571 else
57574 ac_ext=cpp
57575 ac_cpp='$CXXCPP $CPPFLAGS'
57576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57581 /* end confdefs.h. */
57582 #include <math.h>
57583 #ifdef HAVE_IEEEFP_H
57584 #include <ieeefp.h>
57585 #endif
57588 main ()
57590 _isnanl(0);
57592 return 0;
57594 _ACEOF
57595 if ac_fn_cxx_try_compile "$LINENO"; then :
57596 glibcxx_cv_func__isnanl_use=yes
57597 else
57598 glibcxx_cv_func__isnanl_use=no
57600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57601 ac_ext=c
57602 ac_cpp='$CPP $CPPFLAGS'
57603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57612 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57614 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57615 for ac_func in _isnanl
57616 do :
57617 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57618 if test "x$ac_cv_func__isnanl" = x""yes; then :
57619 cat >>confdefs.h <<_ACEOF
57620 #define HAVE__ISNANL 1
57621 _ACEOF
57624 done
57633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57634 $as_echo_n "checking for isinfl declaration... " >&6; }
57635 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57636 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57637 $as_echo_n "(cached) " >&6
57638 else
57641 ac_ext=cpp
57642 ac_cpp='$CXXCPP $CPPFLAGS'
57643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57648 /* end confdefs.h. */
57649 #include <math.h>
57650 #ifdef HAVE_IEEEFP_H
57651 #include <ieeefp.h>
57652 #endif
57655 main ()
57657 isinfl(0);
57659 return 0;
57661 _ACEOF
57662 if ac_fn_cxx_try_compile "$LINENO"; then :
57663 glibcxx_cv_func_isinfl_use=yes
57664 else
57665 glibcxx_cv_func_isinfl_use=no
57667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57668 ac_ext=c
57669 ac_cpp='$CPP $CPPFLAGS'
57670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57679 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57681 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57682 for ac_func in isinfl
57683 do :
57684 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57685 if test "x$ac_cv_func_isinfl" = x""yes; then :
57686 cat >>confdefs.h <<_ACEOF
57687 #define HAVE_ISINFL 1
57688 _ACEOF
57691 done
57693 else
57695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57696 $as_echo_n "checking for _isinfl declaration... " >&6; }
57697 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57698 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57699 $as_echo_n "(cached) " >&6
57700 else
57703 ac_ext=cpp
57704 ac_cpp='$CXXCPP $CPPFLAGS'
57705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57710 /* end confdefs.h. */
57711 #include <math.h>
57712 #ifdef HAVE_IEEEFP_H
57713 #include <ieeefp.h>
57714 #endif
57717 main ()
57719 _isinfl(0);
57721 return 0;
57723 _ACEOF
57724 if ac_fn_cxx_try_compile "$LINENO"; then :
57725 glibcxx_cv_func__isinfl_use=yes
57726 else
57727 glibcxx_cv_func__isinfl_use=no
57729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57730 ac_ext=c
57731 ac_cpp='$CPP $CPPFLAGS'
57732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57741 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57743 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57744 for ac_func in _isinfl
57745 do :
57746 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57747 if test "x$ac_cv_func__isinfl" = x""yes; then :
57748 cat >>confdefs.h <<_ACEOF
57749 #define HAVE__ISINFL 1
57750 _ACEOF
57753 done
57762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57763 $as_echo_n "checking for atan2l declaration... " >&6; }
57764 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57765 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57766 $as_echo_n "(cached) " >&6
57767 else
57770 ac_ext=cpp
57771 ac_cpp='$CXXCPP $CPPFLAGS'
57772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57777 /* end confdefs.h. */
57778 #include <math.h>
57780 main ()
57782 atan2l(0, 0);
57784 return 0;
57786 _ACEOF
57787 if ac_fn_cxx_try_compile "$LINENO"; then :
57788 glibcxx_cv_func_atan2l_use=yes
57789 else
57790 glibcxx_cv_func_atan2l_use=no
57792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57793 ac_ext=c
57794 ac_cpp='$CPP $CPPFLAGS'
57795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57804 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57806 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57807 for ac_func in atan2l
57808 do :
57809 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57810 if test "x$ac_cv_func_atan2l" = x""yes; then :
57811 cat >>confdefs.h <<_ACEOF
57812 #define HAVE_ATAN2L 1
57813 _ACEOF
57816 done
57818 else
57820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57821 $as_echo_n "checking for _atan2l declaration... " >&6; }
57822 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57823 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57824 $as_echo_n "(cached) " >&6
57825 else
57828 ac_ext=cpp
57829 ac_cpp='$CXXCPP $CPPFLAGS'
57830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57835 /* end confdefs.h. */
57836 #include <math.h>
57838 main ()
57840 _atan2l(0, 0);
57842 return 0;
57844 _ACEOF
57845 if ac_fn_cxx_try_compile "$LINENO"; then :
57846 glibcxx_cv_func__atan2l_use=yes
57847 else
57848 glibcxx_cv_func__atan2l_use=no
57850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57851 ac_ext=c
57852 ac_cpp='$CPP $CPPFLAGS'
57853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57862 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57864 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57865 for ac_func in _atan2l
57866 do :
57867 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57868 if test "x$ac_cv_func__atan2l" = x""yes; then :
57869 cat >>confdefs.h <<_ACEOF
57870 #define HAVE__ATAN2L 1
57871 _ACEOF
57874 done
57883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57884 $as_echo_n "checking for expl declaration... " >&6; }
57885 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57886 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57887 $as_echo_n "(cached) " >&6
57888 else
57891 ac_ext=cpp
57892 ac_cpp='$CXXCPP $CPPFLAGS'
57893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57898 /* end confdefs.h. */
57899 #include <math.h>
57900 #ifdef HAVE_IEEEFP_H
57901 #include <ieeefp.h>
57902 #endif
57905 main ()
57907 expl(0);
57909 return 0;
57911 _ACEOF
57912 if ac_fn_cxx_try_compile "$LINENO"; then :
57913 glibcxx_cv_func_expl_use=yes
57914 else
57915 glibcxx_cv_func_expl_use=no
57917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57918 ac_ext=c
57919 ac_cpp='$CPP $CPPFLAGS'
57920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57929 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57931 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57932 for ac_func in expl
57933 do :
57934 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57935 if test "x$ac_cv_func_expl" = x""yes; then :
57936 cat >>confdefs.h <<_ACEOF
57937 #define HAVE_EXPL 1
57938 _ACEOF
57941 done
57943 else
57945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57946 $as_echo_n "checking for _expl declaration... " >&6; }
57947 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57948 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57949 $as_echo_n "(cached) " >&6
57950 else
57953 ac_ext=cpp
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57960 /* end confdefs.h. */
57961 #include <math.h>
57962 #ifdef HAVE_IEEEFP_H
57963 #include <ieeefp.h>
57964 #endif
57967 main ()
57969 _expl(0);
57971 return 0;
57973 _ACEOF
57974 if ac_fn_cxx_try_compile "$LINENO"; then :
57975 glibcxx_cv_func__expl_use=yes
57976 else
57977 glibcxx_cv_func__expl_use=no
57979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57980 ac_ext=c
57981 ac_cpp='$CPP $CPPFLAGS'
57982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57991 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57993 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57994 for ac_func in _expl
57995 do :
57996 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57997 if test "x$ac_cv_func__expl" = x""yes; then :
57998 cat >>confdefs.h <<_ACEOF
57999 #define HAVE__EXPL 1
58000 _ACEOF
58003 done
58012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58013 $as_echo_n "checking for fabsl declaration... " >&6; }
58014 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58015 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58016 $as_echo_n "(cached) " >&6
58017 else
58020 ac_ext=cpp
58021 ac_cpp='$CXXCPP $CPPFLAGS'
58022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58027 /* end confdefs.h. */
58028 #include <math.h>
58029 #ifdef HAVE_IEEEFP_H
58030 #include <ieeefp.h>
58031 #endif
58034 main ()
58036 fabsl(0);
58038 return 0;
58040 _ACEOF
58041 if ac_fn_cxx_try_compile "$LINENO"; then :
58042 glibcxx_cv_func_fabsl_use=yes
58043 else
58044 glibcxx_cv_func_fabsl_use=no
58046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58047 ac_ext=c
58048 ac_cpp='$CPP $CPPFLAGS'
58049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58058 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58060 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58061 for ac_func in fabsl
58062 do :
58063 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58064 if test "x$ac_cv_func_fabsl" = x""yes; then :
58065 cat >>confdefs.h <<_ACEOF
58066 #define HAVE_FABSL 1
58067 _ACEOF
58070 done
58072 else
58074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58075 $as_echo_n "checking for _fabsl declaration... " >&6; }
58076 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58077 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58078 $as_echo_n "(cached) " >&6
58079 else
58082 ac_ext=cpp
58083 ac_cpp='$CXXCPP $CPPFLAGS'
58084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58089 /* end confdefs.h. */
58090 #include <math.h>
58091 #ifdef HAVE_IEEEFP_H
58092 #include <ieeefp.h>
58093 #endif
58096 main ()
58098 _fabsl(0);
58100 return 0;
58102 _ACEOF
58103 if ac_fn_cxx_try_compile "$LINENO"; then :
58104 glibcxx_cv_func__fabsl_use=yes
58105 else
58106 glibcxx_cv_func__fabsl_use=no
58108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58109 ac_ext=c
58110 ac_cpp='$CPP $CPPFLAGS'
58111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58120 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58122 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58123 for ac_func in _fabsl
58124 do :
58125 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58126 if test "x$ac_cv_func__fabsl" = x""yes; then :
58127 cat >>confdefs.h <<_ACEOF
58128 #define HAVE__FABSL 1
58129 _ACEOF
58132 done
58141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58142 $as_echo_n "checking for fmodl declaration... " >&6; }
58143 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58144 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58145 $as_echo_n "(cached) " >&6
58146 else
58149 ac_ext=cpp
58150 ac_cpp='$CXXCPP $CPPFLAGS'
58151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58156 /* end confdefs.h. */
58157 #include <math.h>
58159 main ()
58161 fmodl(0, 0);
58163 return 0;
58165 _ACEOF
58166 if ac_fn_cxx_try_compile "$LINENO"; then :
58167 glibcxx_cv_func_fmodl_use=yes
58168 else
58169 glibcxx_cv_func_fmodl_use=no
58171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58172 ac_ext=c
58173 ac_cpp='$CPP $CPPFLAGS'
58174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58183 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58185 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58186 for ac_func in fmodl
58187 do :
58188 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58189 if test "x$ac_cv_func_fmodl" = x""yes; then :
58190 cat >>confdefs.h <<_ACEOF
58191 #define HAVE_FMODL 1
58192 _ACEOF
58195 done
58197 else
58199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58200 $as_echo_n "checking for _fmodl declaration... " >&6; }
58201 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58202 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58203 $as_echo_n "(cached) " >&6
58204 else
58207 ac_ext=cpp
58208 ac_cpp='$CXXCPP $CPPFLAGS'
58209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58214 /* end confdefs.h. */
58215 #include <math.h>
58217 main ()
58219 _fmodl(0, 0);
58221 return 0;
58223 _ACEOF
58224 if ac_fn_cxx_try_compile "$LINENO"; then :
58225 glibcxx_cv_func__fmodl_use=yes
58226 else
58227 glibcxx_cv_func__fmodl_use=no
58229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58230 ac_ext=c
58231 ac_cpp='$CPP $CPPFLAGS'
58232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58241 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58243 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58244 for ac_func in _fmodl
58245 do :
58246 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58247 if test "x$ac_cv_func__fmodl" = x""yes; then :
58248 cat >>confdefs.h <<_ACEOF
58249 #define HAVE__FMODL 1
58250 _ACEOF
58253 done
58262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58263 $as_echo_n "checking for frexpl declaration... " >&6; }
58264 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58265 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58266 $as_echo_n "(cached) " >&6
58267 else
58270 ac_ext=cpp
58271 ac_cpp='$CXXCPP $CPPFLAGS'
58272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58277 /* end confdefs.h. */
58278 #include <math.h>
58280 main ()
58282 frexpl(0, 0);
58284 return 0;
58286 _ACEOF
58287 if ac_fn_cxx_try_compile "$LINENO"; then :
58288 glibcxx_cv_func_frexpl_use=yes
58289 else
58290 glibcxx_cv_func_frexpl_use=no
58292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58293 ac_ext=c
58294 ac_cpp='$CPP $CPPFLAGS'
58295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58304 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58306 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58307 for ac_func in frexpl
58308 do :
58309 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58310 if test "x$ac_cv_func_frexpl" = x""yes; then :
58311 cat >>confdefs.h <<_ACEOF
58312 #define HAVE_FREXPL 1
58313 _ACEOF
58316 done
58318 else
58320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58321 $as_echo_n "checking for _frexpl declaration... " >&6; }
58322 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58323 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58324 $as_echo_n "(cached) " >&6
58325 else
58328 ac_ext=cpp
58329 ac_cpp='$CXXCPP $CPPFLAGS'
58330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58335 /* end confdefs.h. */
58336 #include <math.h>
58338 main ()
58340 _frexpl(0, 0);
58342 return 0;
58344 _ACEOF
58345 if ac_fn_cxx_try_compile "$LINENO"; then :
58346 glibcxx_cv_func__frexpl_use=yes
58347 else
58348 glibcxx_cv_func__frexpl_use=no
58350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58351 ac_ext=c
58352 ac_cpp='$CPP $CPPFLAGS'
58353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58362 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58364 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58365 for ac_func in _frexpl
58366 do :
58367 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58368 if test "x$ac_cv_func__frexpl" = x""yes; then :
58369 cat >>confdefs.h <<_ACEOF
58370 #define HAVE__FREXPL 1
58371 _ACEOF
58374 done
58383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58384 $as_echo_n "checking for hypotl declaration... " >&6; }
58385 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58386 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58387 $as_echo_n "(cached) " >&6
58388 else
58391 ac_ext=cpp
58392 ac_cpp='$CXXCPP $CPPFLAGS'
58393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58398 /* end confdefs.h. */
58399 #include <math.h>
58401 main ()
58403 hypotl(0, 0);
58405 return 0;
58407 _ACEOF
58408 if ac_fn_cxx_try_compile "$LINENO"; then :
58409 glibcxx_cv_func_hypotl_use=yes
58410 else
58411 glibcxx_cv_func_hypotl_use=no
58413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58414 ac_ext=c
58415 ac_cpp='$CPP $CPPFLAGS'
58416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58425 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58427 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58428 for ac_func in hypotl
58429 do :
58430 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58431 if test "x$ac_cv_func_hypotl" = x""yes; then :
58432 cat >>confdefs.h <<_ACEOF
58433 #define HAVE_HYPOTL 1
58434 _ACEOF
58437 done
58439 else
58441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58442 $as_echo_n "checking for _hypotl declaration... " >&6; }
58443 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58444 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58445 $as_echo_n "(cached) " >&6
58446 else
58449 ac_ext=cpp
58450 ac_cpp='$CXXCPP $CPPFLAGS'
58451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58456 /* end confdefs.h. */
58457 #include <math.h>
58459 main ()
58461 _hypotl(0, 0);
58463 return 0;
58465 _ACEOF
58466 if ac_fn_cxx_try_compile "$LINENO"; then :
58467 glibcxx_cv_func__hypotl_use=yes
58468 else
58469 glibcxx_cv_func__hypotl_use=no
58471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58472 ac_ext=c
58473 ac_cpp='$CPP $CPPFLAGS'
58474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58483 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58485 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58486 for ac_func in _hypotl
58487 do :
58488 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58489 if test "x$ac_cv_func__hypotl" = x""yes; then :
58490 cat >>confdefs.h <<_ACEOF
58491 #define HAVE__HYPOTL 1
58492 _ACEOF
58495 done
58504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58505 $as_echo_n "checking for ldexpl declaration... " >&6; }
58506 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58507 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58508 $as_echo_n "(cached) " >&6
58509 else
58512 ac_ext=cpp
58513 ac_cpp='$CXXCPP $CPPFLAGS'
58514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58519 /* end confdefs.h. */
58520 #include <math.h>
58522 main ()
58524 ldexpl(0, 0);
58526 return 0;
58528 _ACEOF
58529 if ac_fn_cxx_try_compile "$LINENO"; then :
58530 glibcxx_cv_func_ldexpl_use=yes
58531 else
58532 glibcxx_cv_func_ldexpl_use=no
58534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58535 ac_ext=c
58536 ac_cpp='$CPP $CPPFLAGS'
58537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58546 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58548 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58549 for ac_func in ldexpl
58550 do :
58551 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58552 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58553 cat >>confdefs.h <<_ACEOF
58554 #define HAVE_LDEXPL 1
58555 _ACEOF
58558 done
58560 else
58562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58563 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58564 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58565 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58566 $as_echo_n "(cached) " >&6
58567 else
58570 ac_ext=cpp
58571 ac_cpp='$CXXCPP $CPPFLAGS'
58572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58577 /* end confdefs.h. */
58578 #include <math.h>
58580 main ()
58582 _ldexpl(0, 0);
58584 return 0;
58586 _ACEOF
58587 if ac_fn_cxx_try_compile "$LINENO"; then :
58588 glibcxx_cv_func__ldexpl_use=yes
58589 else
58590 glibcxx_cv_func__ldexpl_use=no
58592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58593 ac_ext=c
58594 ac_cpp='$CPP $CPPFLAGS'
58595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58604 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58606 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58607 for ac_func in _ldexpl
58608 do :
58609 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58610 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58611 cat >>confdefs.h <<_ACEOF
58612 #define HAVE__LDEXPL 1
58613 _ACEOF
58616 done
58625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58626 $as_echo_n "checking for logl declaration... " >&6; }
58627 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58628 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58629 $as_echo_n "(cached) " >&6
58630 else
58633 ac_ext=cpp
58634 ac_cpp='$CXXCPP $CPPFLAGS'
58635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58640 /* end confdefs.h. */
58641 #include <math.h>
58642 #ifdef HAVE_IEEEFP_H
58643 #include <ieeefp.h>
58644 #endif
58647 main ()
58649 logl(0);
58651 return 0;
58653 _ACEOF
58654 if ac_fn_cxx_try_compile "$LINENO"; then :
58655 glibcxx_cv_func_logl_use=yes
58656 else
58657 glibcxx_cv_func_logl_use=no
58659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58660 ac_ext=c
58661 ac_cpp='$CPP $CPPFLAGS'
58662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58671 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58673 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58674 for ac_func in logl
58675 do :
58676 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58677 if test "x$ac_cv_func_logl" = x""yes; then :
58678 cat >>confdefs.h <<_ACEOF
58679 #define HAVE_LOGL 1
58680 _ACEOF
58683 done
58685 else
58687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58688 $as_echo_n "checking for _logl declaration... " >&6; }
58689 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58690 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58691 $as_echo_n "(cached) " >&6
58692 else
58695 ac_ext=cpp
58696 ac_cpp='$CXXCPP $CPPFLAGS'
58697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58702 /* end confdefs.h. */
58703 #include <math.h>
58704 #ifdef HAVE_IEEEFP_H
58705 #include <ieeefp.h>
58706 #endif
58709 main ()
58711 _logl(0);
58713 return 0;
58715 _ACEOF
58716 if ac_fn_cxx_try_compile "$LINENO"; then :
58717 glibcxx_cv_func__logl_use=yes
58718 else
58719 glibcxx_cv_func__logl_use=no
58721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58722 ac_ext=c
58723 ac_cpp='$CPP $CPPFLAGS'
58724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58733 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58735 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58736 for ac_func in _logl
58737 do :
58738 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58739 if test "x$ac_cv_func__logl" = x""yes; then :
58740 cat >>confdefs.h <<_ACEOF
58741 #define HAVE__LOGL 1
58742 _ACEOF
58745 done
58754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58755 $as_echo_n "checking for log10l declaration... " >&6; }
58756 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58757 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58758 $as_echo_n "(cached) " >&6
58759 else
58762 ac_ext=cpp
58763 ac_cpp='$CXXCPP $CPPFLAGS'
58764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58769 /* end confdefs.h. */
58770 #include <math.h>
58771 #ifdef HAVE_IEEEFP_H
58772 #include <ieeefp.h>
58773 #endif
58776 main ()
58778 log10l(0);
58780 return 0;
58782 _ACEOF
58783 if ac_fn_cxx_try_compile "$LINENO"; then :
58784 glibcxx_cv_func_log10l_use=yes
58785 else
58786 glibcxx_cv_func_log10l_use=no
58788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58789 ac_ext=c
58790 ac_cpp='$CPP $CPPFLAGS'
58791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58800 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58802 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58803 for ac_func in log10l
58804 do :
58805 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58806 if test "x$ac_cv_func_log10l" = x""yes; then :
58807 cat >>confdefs.h <<_ACEOF
58808 #define HAVE_LOG10L 1
58809 _ACEOF
58812 done
58814 else
58816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58817 $as_echo_n "checking for _log10l declaration... " >&6; }
58818 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58819 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58820 $as_echo_n "(cached) " >&6
58821 else
58824 ac_ext=cpp
58825 ac_cpp='$CXXCPP $CPPFLAGS'
58826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58831 /* end confdefs.h. */
58832 #include <math.h>
58833 #ifdef HAVE_IEEEFP_H
58834 #include <ieeefp.h>
58835 #endif
58838 main ()
58840 _log10l(0);
58842 return 0;
58844 _ACEOF
58845 if ac_fn_cxx_try_compile "$LINENO"; then :
58846 glibcxx_cv_func__log10l_use=yes
58847 else
58848 glibcxx_cv_func__log10l_use=no
58850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58851 ac_ext=c
58852 ac_cpp='$CPP $CPPFLAGS'
58853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58862 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58864 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58865 for ac_func in _log10l
58866 do :
58867 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58868 if test "x$ac_cv_func__log10l" = x""yes; then :
58869 cat >>confdefs.h <<_ACEOF
58870 #define HAVE__LOG10L 1
58871 _ACEOF
58874 done
58883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58884 $as_echo_n "checking for modfl declaration... " >&6; }
58885 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58886 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58887 $as_echo_n "(cached) " >&6
58888 else
58891 ac_ext=cpp
58892 ac_cpp='$CXXCPP $CPPFLAGS'
58893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58898 /* end confdefs.h. */
58899 #include <math.h>
58901 main ()
58903 modfl(0, 0);
58905 return 0;
58907 _ACEOF
58908 if ac_fn_cxx_try_compile "$LINENO"; then :
58909 glibcxx_cv_func_modfl_use=yes
58910 else
58911 glibcxx_cv_func_modfl_use=no
58913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58914 ac_ext=c
58915 ac_cpp='$CPP $CPPFLAGS'
58916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58925 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58927 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58928 for ac_func in modfl
58929 do :
58930 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58931 if test "x$ac_cv_func_modfl" = x""yes; then :
58932 cat >>confdefs.h <<_ACEOF
58933 #define HAVE_MODFL 1
58934 _ACEOF
58937 done
58939 else
58941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58942 $as_echo_n "checking for _modfl declaration... " >&6; }
58943 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58944 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58945 $as_echo_n "(cached) " >&6
58946 else
58949 ac_ext=cpp
58950 ac_cpp='$CXXCPP $CPPFLAGS'
58951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58956 /* end confdefs.h. */
58957 #include <math.h>
58959 main ()
58961 _modfl(0, 0);
58963 return 0;
58965 _ACEOF
58966 if ac_fn_cxx_try_compile "$LINENO"; then :
58967 glibcxx_cv_func__modfl_use=yes
58968 else
58969 glibcxx_cv_func__modfl_use=no
58971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58972 ac_ext=c
58973 ac_cpp='$CPP $CPPFLAGS'
58974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58983 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58985 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58986 for ac_func in _modfl
58987 do :
58988 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58989 if test "x$ac_cv_func__modfl" = x""yes; then :
58990 cat >>confdefs.h <<_ACEOF
58991 #define HAVE__MODFL 1
58992 _ACEOF
58995 done
59004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59005 $as_echo_n "checking for powl declaration... " >&6; }
59006 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59007 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59008 $as_echo_n "(cached) " >&6
59009 else
59012 ac_ext=cpp
59013 ac_cpp='$CXXCPP $CPPFLAGS'
59014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59019 /* end confdefs.h. */
59020 #include <math.h>
59022 main ()
59024 powl(0, 0);
59026 return 0;
59028 _ACEOF
59029 if ac_fn_cxx_try_compile "$LINENO"; then :
59030 glibcxx_cv_func_powl_use=yes
59031 else
59032 glibcxx_cv_func_powl_use=no
59034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59035 ac_ext=c
59036 ac_cpp='$CPP $CPPFLAGS'
59037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59046 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59048 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59049 for ac_func in powl
59050 do :
59051 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59052 if test "x$ac_cv_func_powl" = x""yes; then :
59053 cat >>confdefs.h <<_ACEOF
59054 #define HAVE_POWL 1
59055 _ACEOF
59058 done
59060 else
59062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59063 $as_echo_n "checking for _powl declaration... " >&6; }
59064 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59065 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59066 $as_echo_n "(cached) " >&6
59067 else
59070 ac_ext=cpp
59071 ac_cpp='$CXXCPP $CPPFLAGS'
59072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59077 /* end confdefs.h. */
59078 #include <math.h>
59080 main ()
59082 _powl(0, 0);
59084 return 0;
59086 _ACEOF
59087 if ac_fn_cxx_try_compile "$LINENO"; then :
59088 glibcxx_cv_func__powl_use=yes
59089 else
59090 glibcxx_cv_func__powl_use=no
59092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59093 ac_ext=c
59094 ac_cpp='$CPP $CPPFLAGS'
59095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59104 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59106 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59107 for ac_func in _powl
59108 do :
59109 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59110 if test "x$ac_cv_func__powl" = x""yes; then :
59111 cat >>confdefs.h <<_ACEOF
59112 #define HAVE__POWL 1
59113 _ACEOF
59116 done
59125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59126 $as_echo_n "checking for sqrtl declaration... " >&6; }
59127 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59128 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59129 $as_echo_n "(cached) " >&6
59130 else
59133 ac_ext=cpp
59134 ac_cpp='$CXXCPP $CPPFLAGS'
59135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59140 /* end confdefs.h. */
59141 #include <math.h>
59142 #ifdef HAVE_IEEEFP_H
59143 #include <ieeefp.h>
59144 #endif
59147 main ()
59149 sqrtl(0);
59151 return 0;
59153 _ACEOF
59154 if ac_fn_cxx_try_compile "$LINENO"; then :
59155 glibcxx_cv_func_sqrtl_use=yes
59156 else
59157 glibcxx_cv_func_sqrtl_use=no
59159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59160 ac_ext=c
59161 ac_cpp='$CPP $CPPFLAGS'
59162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59171 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59173 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59174 for ac_func in sqrtl
59175 do :
59176 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59177 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59178 cat >>confdefs.h <<_ACEOF
59179 #define HAVE_SQRTL 1
59180 _ACEOF
59183 done
59185 else
59187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59188 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59189 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59190 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59191 $as_echo_n "(cached) " >&6
59192 else
59195 ac_ext=cpp
59196 ac_cpp='$CXXCPP $CPPFLAGS'
59197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59202 /* end confdefs.h. */
59203 #include <math.h>
59204 #ifdef HAVE_IEEEFP_H
59205 #include <ieeefp.h>
59206 #endif
59209 main ()
59211 _sqrtl(0);
59213 return 0;
59215 _ACEOF
59216 if ac_fn_cxx_try_compile "$LINENO"; then :
59217 glibcxx_cv_func__sqrtl_use=yes
59218 else
59219 glibcxx_cv_func__sqrtl_use=no
59221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59222 ac_ext=c
59223 ac_cpp='$CPP $CPPFLAGS'
59224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59233 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59235 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59236 for ac_func in _sqrtl
59237 do :
59238 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59239 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59240 cat >>confdefs.h <<_ACEOF
59241 #define HAVE__SQRTL 1
59242 _ACEOF
59245 done
59254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59255 $as_echo_n "checking for sincosl declaration... " >&6; }
59256 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59257 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59258 $as_echo_n "(cached) " >&6
59259 else
59262 ac_ext=cpp
59263 ac_cpp='$CXXCPP $CPPFLAGS'
59264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59269 /* end confdefs.h. */
59270 #include <math.h>
59272 main ()
59274 sincosl(0, 0, 0);
59276 return 0;
59278 _ACEOF
59279 if ac_fn_cxx_try_compile "$LINENO"; then :
59280 glibcxx_cv_func_sincosl_use=yes
59281 else
59282 glibcxx_cv_func_sincosl_use=no
59284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59285 ac_ext=c
59286 ac_cpp='$CPP $CPPFLAGS'
59287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59296 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59298 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59299 for ac_func in sincosl
59300 do :
59301 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59302 if test "x$ac_cv_func_sincosl" = x""yes; then :
59303 cat >>confdefs.h <<_ACEOF
59304 #define HAVE_SINCOSL 1
59305 _ACEOF
59308 done
59310 else
59312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59313 $as_echo_n "checking for _sincosl declaration... " >&6; }
59314 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59315 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59316 $as_echo_n "(cached) " >&6
59317 else
59320 ac_ext=cpp
59321 ac_cpp='$CXXCPP $CPPFLAGS'
59322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59327 /* end confdefs.h. */
59328 #include <math.h>
59330 main ()
59332 _sincosl(0, 0, 0);
59334 return 0;
59336 _ACEOF
59337 if ac_fn_cxx_try_compile "$LINENO"; then :
59338 glibcxx_cv_func__sincosl_use=yes
59339 else
59340 glibcxx_cv_func__sincosl_use=no
59342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59343 ac_ext=c
59344 ac_cpp='$CPP $CPPFLAGS'
59345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59354 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59356 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59357 for ac_func in _sincosl
59358 do :
59359 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59360 if test "x$ac_cv_func__sincosl" = x""yes; then :
59361 cat >>confdefs.h <<_ACEOF
59362 #define HAVE__SINCOSL 1
59363 _ACEOF
59366 done
59375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59376 $as_echo_n "checking for finitel declaration... " >&6; }
59377 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59378 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59379 $as_echo_n "(cached) " >&6
59380 else
59383 ac_ext=cpp
59384 ac_cpp='$CXXCPP $CPPFLAGS'
59385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59390 /* end confdefs.h. */
59391 #include <math.h>
59392 #ifdef HAVE_IEEEFP_H
59393 #include <ieeefp.h>
59394 #endif
59397 main ()
59399 finitel(0);
59401 return 0;
59403 _ACEOF
59404 if ac_fn_cxx_try_compile "$LINENO"; then :
59405 glibcxx_cv_func_finitel_use=yes
59406 else
59407 glibcxx_cv_func_finitel_use=no
59409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59410 ac_ext=c
59411 ac_cpp='$CPP $CPPFLAGS'
59412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59421 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59423 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59424 for ac_func in finitel
59425 do :
59426 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59427 if test "x$ac_cv_func_finitel" = x""yes; then :
59428 cat >>confdefs.h <<_ACEOF
59429 #define HAVE_FINITEL 1
59430 _ACEOF
59433 done
59435 else
59437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59438 $as_echo_n "checking for _finitel declaration... " >&6; }
59439 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59440 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59441 $as_echo_n "(cached) " >&6
59442 else
59445 ac_ext=cpp
59446 ac_cpp='$CXXCPP $CPPFLAGS'
59447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59452 /* end confdefs.h. */
59453 #include <math.h>
59454 #ifdef HAVE_IEEEFP_H
59455 #include <ieeefp.h>
59456 #endif
59459 main ()
59461 _finitel(0);
59463 return 0;
59465 _ACEOF
59466 if ac_fn_cxx_try_compile "$LINENO"; then :
59467 glibcxx_cv_func__finitel_use=yes
59468 else
59469 glibcxx_cv_func__finitel_use=no
59471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59472 ac_ext=c
59473 ac_cpp='$CPP $CPPFLAGS'
59474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59483 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59485 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59486 for ac_func in _finitel
59487 do :
59488 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59489 if test "x$ac_cv_func__finitel" = x""yes; then :
59490 cat >>confdefs.h <<_ACEOF
59491 #define HAVE__FINITEL 1
59492 _ACEOF
59495 done
59503 LIBS="$ac_save_LIBS"
59504 CXXFLAGS="$ac_save_CXXFLAGS"
59507 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59508 ac_save_CXXFLAGS="$CXXFLAGS"
59509 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59513 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59514 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59515 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59516 $as_echo_n "(cached) " >&6
59517 else
59520 ac_ext=cpp
59521 ac_cpp='$CXXCPP $CPPFLAGS'
59522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59527 /* end confdefs.h. */
59528 #include <stdlib.h>
59530 main ()
59532 at_quick_exit(0);
59534 return 0;
59536 _ACEOF
59537 if ac_fn_cxx_try_compile "$LINENO"; then :
59538 glibcxx_cv_func_at_quick_exit_use=yes
59539 else
59540 glibcxx_cv_func_at_quick_exit_use=no
59542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59543 ac_ext=c
59544 ac_cpp='$CPP $CPPFLAGS'
59545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59554 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59555 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59556 for ac_func in at_quick_exit
59557 do :
59558 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59559 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59560 cat >>confdefs.h <<_ACEOF
59561 #define HAVE_AT_QUICK_EXIT 1
59562 _ACEOF
59565 done
59570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59571 $as_echo_n "checking for quick_exit declaration... " >&6; }
59572 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59573 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59574 $as_echo_n "(cached) " >&6
59575 else
59578 ac_ext=cpp
59579 ac_cpp='$CXXCPP $CPPFLAGS'
59580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59585 /* end confdefs.h. */
59586 #include <stdlib.h>
59588 main ()
59590 quick_exit(0);
59592 return 0;
59594 _ACEOF
59595 if ac_fn_cxx_try_compile "$LINENO"; then :
59596 glibcxx_cv_func_quick_exit_use=yes
59597 else
59598 glibcxx_cv_func_quick_exit_use=no
59600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59601 ac_ext=c
59602 ac_cpp='$CPP $CPPFLAGS'
59603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59612 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59613 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59614 for ac_func in quick_exit
59615 do :
59616 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59617 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59618 cat >>confdefs.h <<_ACEOF
59619 #define HAVE_QUICK_EXIT 1
59620 _ACEOF
59623 done
59628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59629 $as_echo_n "checking for strtold declaration... " >&6; }
59630 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59631 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59632 $as_echo_n "(cached) " >&6
59633 else
59636 ac_ext=cpp
59637 ac_cpp='$CXXCPP $CPPFLAGS'
59638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59643 /* end confdefs.h. */
59644 #include <stdlib.h>
59646 main ()
59648 strtold(0, 0);
59650 return 0;
59652 _ACEOF
59653 if ac_fn_cxx_try_compile "$LINENO"; then :
59654 glibcxx_cv_func_strtold_use=yes
59655 else
59656 glibcxx_cv_func_strtold_use=no
59658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59659 ac_ext=c
59660 ac_cpp='$CPP $CPPFLAGS'
59661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59670 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59671 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59672 for ac_func in strtold
59673 do :
59674 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59675 if test "x$ac_cv_func_strtold" = x""yes; then :
59676 cat >>confdefs.h <<_ACEOF
59677 #define HAVE_STRTOLD 1
59678 _ACEOF
59681 done
59688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59689 $as_echo_n "checking for strtof declaration... " >&6; }
59690 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59691 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59692 $as_echo_n "(cached) " >&6
59693 else
59696 ac_ext=cpp
59697 ac_cpp='$CXXCPP $CPPFLAGS'
59698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h. */
59704 #include <stdlib.h>
59706 main ()
59708 strtof(0, 0);
59710 return 0;
59712 _ACEOF
59713 if ac_fn_cxx_try_compile "$LINENO"; then :
59714 glibcxx_cv_func_strtof_use=yes
59715 else
59716 glibcxx_cv_func_strtof_use=no
59718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59719 ac_ext=c
59720 ac_cpp='$CPP $CPPFLAGS'
59721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59730 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59731 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59732 for ac_func in strtof
59733 do :
59734 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59735 if test "x$ac_cv_func_strtof" = x""yes; then :
59736 cat >>confdefs.h <<_ACEOF
59737 #define HAVE_STRTOF 1
59738 _ACEOF
59741 done
59748 CXXFLAGS="$ac_save_CXXFLAGS"
59750 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59754 # Check whether --enable-tls was given.
59755 if test "${enable_tls+set}" = set; then :
59756 enableval=$enable_tls;
59757 case "$enableval" in
59758 yes|no) ;;
59759 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59760 esac
59762 else
59763 enable_tls=yes
59767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59768 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59769 if test "${gcc_cv_have_tls+set}" = set; then :
59770 $as_echo_n "(cached) " >&6
59771 else
59773 if test "$cross_compiling" = yes; then :
59774 if test x$gcc_no_link = xyes; then
59775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59778 /* end confdefs.h. */
59779 __thread int a; int b; int main() { return a = b; }
59780 _ACEOF
59781 if ac_fn_c_try_link "$LINENO"; then :
59782 chktls_save_LDFLAGS="$LDFLAGS"
59783 case $host in
59784 *-*-linux*)
59785 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59787 esac
59788 chktls_save_CFLAGS="$CFLAGS"
59789 CFLAGS="-fPIC $CFLAGS"
59790 if test x$gcc_no_link = xyes; then
59791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59794 /* end confdefs.h. */
59795 int f() { return 0; }
59796 _ACEOF
59797 if ac_fn_c_try_link "$LINENO"; then :
59798 if test x$gcc_no_link = xyes; then
59799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59802 /* end confdefs.h. */
59803 __thread int a; int b; int f() { return a = b; }
59804 _ACEOF
59805 if ac_fn_c_try_link "$LINENO"; then :
59806 gcc_cv_have_tls=yes
59807 else
59808 gcc_cv_have_tls=no
59810 rm -f core conftest.err conftest.$ac_objext \
59811 conftest$ac_exeext conftest.$ac_ext
59812 else
59813 gcc_cv_have_tls=yes
59815 rm -f core conftest.err conftest.$ac_objext \
59816 conftest$ac_exeext conftest.$ac_ext
59817 CFLAGS="$chktls_save_CFLAGS"
59818 LDFLAGS="$chktls_save_LDFLAGS"
59819 else
59820 gcc_cv_have_tls=no
59822 rm -f core conftest.err conftest.$ac_objext \
59823 conftest$ac_exeext conftest.$ac_ext
59826 else
59827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59828 /* end confdefs.h. */
59829 __thread int a; int b; int main() { return a = b; }
59830 _ACEOF
59831 if ac_fn_c_try_run "$LINENO"; then :
59832 chktls_save_LDFLAGS="$LDFLAGS"
59833 LDFLAGS="-static $LDFLAGS"
59834 if test x$gcc_no_link = xyes; then
59835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59838 /* end confdefs.h. */
59839 int main() { return 0; }
59840 _ACEOF
59841 if ac_fn_c_try_link "$LINENO"; then :
59842 if test "$cross_compiling" = yes; then :
59843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59845 as_fn_error "cannot run test program while cross compiling
59846 See \`config.log' for more details." "$LINENO" 5; }
59847 else
59848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59849 /* end confdefs.h. */
59850 __thread int a; int b; int main() { return a = b; }
59851 _ACEOF
59852 if ac_fn_c_try_run "$LINENO"; then :
59853 gcc_cv_have_tls=yes
59854 else
59855 gcc_cv_have_tls=no
59857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59858 conftest.$ac_objext conftest.beam conftest.$ac_ext
59861 else
59862 gcc_cv_have_tls=yes
59864 rm -f core conftest.err conftest.$ac_objext \
59865 conftest$ac_exeext conftest.$ac_ext
59866 LDFLAGS="$chktls_save_LDFLAGS"
59867 if test $gcc_cv_have_tls = yes; then
59868 chktls_save_CFLAGS="$CFLAGS"
59869 thread_CFLAGS=failed
59870 for flag in '' '-pthread' '-lpthread'; do
59871 CFLAGS="$flag $chktls_save_CFLAGS"
59872 if test x$gcc_no_link = xyes; then
59873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59876 /* end confdefs.h. */
59877 #include <pthread.h>
59878 void *g(void *d) { return NULL; }
59880 main ()
59882 pthread_t t; pthread_create(&t,NULL,g,NULL);
59884 return 0;
59886 _ACEOF
59887 if ac_fn_c_try_link "$LINENO"; then :
59888 thread_CFLAGS="$flag"
59890 rm -f core conftest.err conftest.$ac_objext \
59891 conftest$ac_exeext conftest.$ac_ext
59892 if test "X$thread_CFLAGS" != Xfailed; then
59893 break
59895 done
59896 CFLAGS="$chktls_save_CFLAGS"
59897 if test "X$thread_CFLAGS" != Xfailed; then
59898 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59899 if test "$cross_compiling" = yes; then :
59900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59902 as_fn_error "cannot run test program while cross compiling
59903 See \`config.log' for more details." "$LINENO" 5; }
59904 else
59905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59906 /* end confdefs.h. */
59907 #include <pthread.h>
59908 __thread int a;
59909 static int *volatile a_in_other_thread;
59910 static void *
59911 thread_func (void *arg)
59913 a_in_other_thread = &a;
59914 return (void *)0;
59917 main ()
59919 pthread_t thread;
59920 void *thread_retval;
59921 int *volatile a_in_main_thread;
59922 a_in_main_thread = &a;
59923 if (pthread_create (&thread, (pthread_attr_t *)0,
59924 thread_func, (void *)0))
59925 return 0;
59926 if (pthread_join (thread, &thread_retval))
59927 return 0;
59928 return (a_in_other_thread == a_in_main_thread);
59930 return 0;
59932 _ACEOF
59933 if ac_fn_c_try_run "$LINENO"; then :
59934 gcc_cv_have_tls=yes
59935 else
59936 gcc_cv_have_tls=no
59938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59939 conftest.$ac_objext conftest.beam conftest.$ac_ext
59942 CFLAGS="$chktls_save_CFLAGS"
59945 else
59946 gcc_cv_have_tls=no
59948 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59949 conftest.$ac_objext conftest.beam conftest.$ac_ext
59953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59954 $as_echo "$gcc_cv_have_tls" >&6; }
59955 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59957 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59960 for ac_func in __cxa_thread_atexit_impl
59961 do :
59962 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59963 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59964 cat >>confdefs.h <<_ACEOF
59965 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59966 _ACEOF
59969 done
59971 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59972 do :
59973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59975 eval as_val=\$$as_ac_var
59976 if test "x$as_val" = x""yes; then :
59977 cat >>confdefs.h <<_ACEOF
59978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59979 _ACEOF
59982 done
59989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59990 $as_echo_n "checking for iconv... " >&6; }
59991 if test "${am_cv_func_iconv+set}" = set; then :
59992 $as_echo_n "(cached) " >&6
59993 else
59995 am_cv_func_iconv="no, consider installing GNU libiconv"
59996 am_cv_lib_iconv=no
59997 am_save_CPPFLAGS="$CPPFLAGS"
59998 CPPFLAGS="$CPPFLAGS $INCICONV"
59999 if test x$gcc_no_link = xyes; then
60000 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60003 /* end confdefs.h. */
60004 #include <stdlib.h>
60005 #include <iconv.h>
60007 main ()
60009 iconv_t cd = iconv_open("","");
60010 iconv(cd,NULL,NULL,NULL,NULL);
60011 iconv_close(cd);
60013 return 0;
60015 _ACEOF
60016 if ac_fn_c_try_link "$LINENO"; then :
60017 am_cv_func_iconv=yes
60019 rm -f core conftest.err conftest.$ac_objext \
60020 conftest$ac_exeext conftest.$ac_ext
60021 CPPFLAGS="$am_save_CPPFLAGS"
60023 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60024 for _libs in .libs _libs; do
60025 am_save_CPPFLAGS="$CPPFLAGS"
60026 am_save_LIBS="$LIBS"
60027 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60028 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60029 if test x$gcc_no_link = xyes; then
60030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60033 /* end confdefs.h. */
60034 #include <stdlib.h>
60035 #include <iconv.h>
60037 main ()
60039 iconv_t cd = iconv_open("","");
60040 iconv(cd,NULL,NULL,NULL,NULL);
60041 iconv_close(cd);
60043 return 0;
60045 _ACEOF
60046 if ac_fn_c_try_link "$LINENO"; then :
60047 INCICONV="-I../libiconv/include"
60048 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60049 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60050 am_cv_lib_iconv=yes
60051 am_cv_func_iconv=yes
60053 rm -f core conftest.err conftest.$ac_objext \
60054 conftest$ac_exeext conftest.$ac_ext
60055 CPPFLAGS="$am_save_CPPFLAGS"
60056 LIBS="$am_save_LIBS"
60057 if test "$am_cv_func_iconv" = "yes"; then
60058 break
60060 done
60063 if test "$am_cv_func_iconv" != yes; then
60064 am_save_CPPFLAGS="$CPPFLAGS"
60065 am_save_LIBS="$LIBS"
60066 CPPFLAGS="$LIBS $INCICONV"
60067 LIBS="$LIBS $LIBICONV"
60068 if test x$gcc_no_link = xyes; then
60069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60072 /* end confdefs.h. */
60073 #include <stdlib.h>
60074 #include <iconv.h>
60076 main ()
60078 iconv_t cd = iconv_open("","");
60079 iconv(cd,NULL,NULL,NULL,NULL);
60080 iconv_close(cd);
60082 return 0;
60084 _ACEOF
60085 if ac_fn_c_try_link "$LINENO"; then :
60086 am_cv_lib_iconv=yes
60087 am_cv_func_iconv=yes
60089 rm -f core conftest.err conftest.$ac_objext \
60090 conftest$ac_exeext conftest.$ac_ext
60091 CPPFLAGS="$am_save_CPPFLAGS"
60092 LIBS="$am_save_LIBS"
60096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60097 $as_echo "$am_cv_func_iconv" >&6; }
60098 if test "$am_cv_func_iconv" = yes; then
60100 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60103 if test "$am_cv_lib_iconv" = yes; then
60105 for element in $INCICONV; do
60106 haveit=
60107 for x in $CPPFLAGS; do
60109 acl_save_prefix="$prefix"
60110 prefix="$acl_final_prefix"
60111 acl_save_exec_prefix="$exec_prefix"
60112 exec_prefix="$acl_final_exec_prefix"
60113 eval x=\"$x\"
60114 exec_prefix="$acl_save_exec_prefix"
60115 prefix="$acl_save_prefix"
60117 if test "X$x" = "X$element"; then
60118 haveit=yes
60119 break
60121 done
60122 if test -z "$haveit"; then
60123 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60125 done
60127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60128 $as_echo_n "checking how to link with libiconv... " >&6; }
60129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60130 $as_echo "$LIBICONV" >&6; }
60131 else
60132 LIBICONV=
60133 LTLIBICONV=
60138 if test "$am_cv_func_iconv" = yes; then
60139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60140 $as_echo_n "checking for iconv declaration... " >&6; }
60141 if test "${am_cv_proto_iconv+set}" = set; then :
60142 $as_echo_n "(cached) " >&6
60143 else
60145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60146 /* end confdefs.h. */
60148 #include <stdlib.h>
60149 #include <iconv.h>
60150 extern
60151 #ifdef __cplusplus
60153 #endif
60154 #if defined(__STDC__) || defined(__cplusplus)
60155 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60156 #else
60157 size_t iconv();
60158 #endif
60161 main ()
60165 return 0;
60167 _ACEOF
60168 if ac_fn_c_try_compile "$LINENO"; then :
60169 am_cv_proto_iconv_arg1=""
60170 else
60171 am_cv_proto_iconv_arg1="const"
60173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60174 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);"
60177 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60179 }$am_cv_proto_iconv" >&5
60180 $as_echo "${ac_t:-
60181 }$am_cv_proto_iconv" >&6; }
60183 cat >>confdefs.h <<_ACEOF
60184 #define ICONV_CONST $am_cv_proto_iconv_arg1
60185 _ACEOF
60190 *-mingw32*)
60192 # If we're not using GNU ld, then there's no point in even trying these
60193 # tests. Check for that first. We should have already tested for gld
60194 # by now (in libtool), but require it now just to be safe...
60195 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60196 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60200 # The name set by libtool depends on the version of libtool. Shame on us
60201 # for depending on an impl detail, but c'est la vie. Older versions used
60202 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60203 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60204 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60205 # set (hence we're using an older libtool), then set it.
60206 if test x${with_gnu_ld+set} != xset; then
60207 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60208 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60209 with_gnu_ld=no
60210 else
60211 with_gnu_ld=$ac_cv_prog_gnu_ld
60215 # Start by getting the version number. I think the libtool test already
60216 # does some of this, but throws away the result.
60217 glibcxx_ld_is_gold=no
60218 if test x"$with_gnu_ld" = x"yes"; then
60219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60220 $as_echo_n "checking for ld version... " >&6; }
60222 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60223 glibcxx_ld_is_gold=yes
60225 ldver=`$LD --version 2>/dev/null |
60226 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'`
60228 glibcxx_gnu_ld_version=`echo $ldver | \
60229 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60231 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60234 # Set --gc-sections.
60235 glibcxx_have_gc_sections=no
60236 if test "$glibcxx_ld_is_gold" = "yes"; then
60237 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60238 glibcxx_have_gc_sections=yes
60240 else
60241 glibcxx_gcsections_min_ld=21602
60242 if test x"$with_gnu_ld" = x"yes" &&
60243 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60244 glibcxx_have_gc_sections=yes
60247 if test "$glibcxx_have_gc_sections" = "yes"; then
60248 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60249 # NB: This flag only works reliably after 2.16.1. Configure tests
60250 # for this are difficult, so hard wire a value that should work.
60252 ac_test_CFLAGS="${CFLAGS+set}"
60253 ac_save_CFLAGS="$CFLAGS"
60254 CFLAGS='-Wl,--gc-sections'
60256 # Check for -Wl,--gc-sections
60257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60258 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60259 if test x$gcc_no_link = xyes; then
60260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60263 /* end confdefs.h. */
60264 int one(void) { return 1; }
60265 int two(void) { return 2; }
60268 main ()
60270 two();
60272 return 0;
60274 _ACEOF
60275 if ac_fn_c_try_link "$LINENO"; then :
60276 ac_gcsections=yes
60277 else
60278 ac_gcsections=no
60280 rm -f core conftest.err conftest.$ac_objext \
60281 conftest$ac_exeext conftest.$ac_ext
60282 if test "$ac_gcsections" = "yes"; then
60283 rm -f conftest.c
60284 touch conftest.c
60285 if $CC -c conftest.c; then
60286 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60287 grep "Warning: gc-sections option ignored" > /dev/null; then
60288 ac_gcsections=no
60291 rm -f conftest.c conftest.o conftest
60293 if test "$ac_gcsections" = "yes"; then
60294 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60297 $as_echo "$ac_gcsections" >&6; }
60299 if test "$ac_test_CFLAGS" = set; then
60300 CFLAGS="$ac_save_CFLAGS"
60301 else
60302 # this is the suspicious part
60303 CFLAGS=''
60307 # Set -z,relro.
60308 # Note this is only for shared objects.
60309 ac_ld_relro=no
60310 if test x"$with_gnu_ld" = x"yes"; then
60311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60312 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60313 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60314 if test -n "$cxx_z_relo"; then
60315 OPT_LDFLAGS="-Wl,-z,relro"
60316 ac_ld_relro=yes
60318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60319 $as_echo "$ac_ld_relro" >&6; }
60322 # Set linker optimization flags.
60323 if test x"$with_gnu_ld" = x"yes"; then
60324 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60331 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60332 ac_save_CXXFLAGS="$CXXFLAGS"
60333 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60336 $as_echo_n "checking for sin in -lm... " >&6; }
60337 if test "${ac_cv_lib_m_sin+set}" = set; then :
60338 $as_echo_n "(cached) " >&6
60339 else
60340 ac_check_lib_save_LIBS=$LIBS
60341 LIBS="-lm $LIBS"
60342 if test x$gcc_no_link = xyes; then
60343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60346 /* end confdefs.h. */
60348 /* Override any GCC internal prototype to avoid an error.
60349 Use char because int might match the return type of a GCC
60350 builtin and then its argument prototype would still apply. */
60351 #ifdef __cplusplus
60352 extern "C"
60353 #endif
60354 char sin ();
60356 main ()
60358 return sin ();
60360 return 0;
60362 _ACEOF
60363 if ac_fn_c_try_link "$LINENO"; then :
60364 ac_cv_lib_m_sin=yes
60365 else
60366 ac_cv_lib_m_sin=no
60368 rm -f core conftest.err conftest.$ac_objext \
60369 conftest$ac_exeext conftest.$ac_ext
60370 LIBS=$ac_check_lib_save_LIBS
60372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60373 $as_echo "$ac_cv_lib_m_sin" >&6; }
60374 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60375 libm="-lm"
60378 ac_save_LIBS="$LIBS"
60379 LIBS="$LIBS $libm"
60383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60384 $as_echo_n "checking for isinf declaration... " >&6; }
60385 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60386 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60387 $as_echo_n "(cached) " >&6
60388 else
60391 ac_ext=cpp
60392 ac_cpp='$CXXCPP $CPPFLAGS'
60393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60398 /* end confdefs.h. */
60399 #include <math.h>
60400 #ifdef HAVE_IEEEFP_H
60401 #include <ieeefp.h>
60402 #endif
60405 main ()
60407 isinf(0);
60409 return 0;
60411 _ACEOF
60412 if ac_fn_cxx_try_compile "$LINENO"; then :
60413 glibcxx_cv_func_isinf_use=yes
60414 else
60415 glibcxx_cv_func_isinf_use=no
60417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60418 ac_ext=c
60419 ac_cpp='$CPP $CPPFLAGS'
60420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60429 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60431 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60432 for ac_func in isinf
60433 do :
60434 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60435 if test "x$ac_cv_func_isinf" = x""yes; then :
60436 cat >>confdefs.h <<_ACEOF
60437 #define HAVE_ISINF 1
60438 _ACEOF
60441 done
60443 else
60445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60446 $as_echo_n "checking for _isinf declaration... " >&6; }
60447 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60448 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60449 $as_echo_n "(cached) " >&6
60450 else
60453 ac_ext=cpp
60454 ac_cpp='$CXXCPP $CPPFLAGS'
60455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60460 /* end confdefs.h. */
60461 #include <math.h>
60462 #ifdef HAVE_IEEEFP_H
60463 #include <ieeefp.h>
60464 #endif
60467 main ()
60469 _isinf(0);
60471 return 0;
60473 _ACEOF
60474 if ac_fn_cxx_try_compile "$LINENO"; then :
60475 glibcxx_cv_func__isinf_use=yes
60476 else
60477 glibcxx_cv_func__isinf_use=no
60479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60480 ac_ext=c
60481 ac_cpp='$CPP $CPPFLAGS'
60482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60491 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60493 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60494 for ac_func in _isinf
60495 do :
60496 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60497 if test "x$ac_cv_func__isinf" = x""yes; then :
60498 cat >>confdefs.h <<_ACEOF
60499 #define HAVE__ISINF 1
60500 _ACEOF
60503 done
60512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60513 $as_echo_n "checking for isnan declaration... " >&6; }
60514 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60515 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60516 $as_echo_n "(cached) " >&6
60517 else
60520 ac_ext=cpp
60521 ac_cpp='$CXXCPP $CPPFLAGS'
60522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60527 /* end confdefs.h. */
60528 #include <math.h>
60529 #ifdef HAVE_IEEEFP_H
60530 #include <ieeefp.h>
60531 #endif
60534 main ()
60536 isnan(0);
60538 return 0;
60540 _ACEOF
60541 if ac_fn_cxx_try_compile "$LINENO"; then :
60542 glibcxx_cv_func_isnan_use=yes
60543 else
60544 glibcxx_cv_func_isnan_use=no
60546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60547 ac_ext=c
60548 ac_cpp='$CPP $CPPFLAGS'
60549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60558 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60560 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60561 for ac_func in isnan
60562 do :
60563 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60564 if test "x$ac_cv_func_isnan" = x""yes; then :
60565 cat >>confdefs.h <<_ACEOF
60566 #define HAVE_ISNAN 1
60567 _ACEOF
60570 done
60572 else
60574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60575 $as_echo_n "checking for _isnan declaration... " >&6; }
60576 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60577 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60578 $as_echo_n "(cached) " >&6
60579 else
60582 ac_ext=cpp
60583 ac_cpp='$CXXCPP $CPPFLAGS'
60584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60589 /* end confdefs.h. */
60590 #include <math.h>
60591 #ifdef HAVE_IEEEFP_H
60592 #include <ieeefp.h>
60593 #endif
60596 main ()
60598 _isnan(0);
60600 return 0;
60602 _ACEOF
60603 if ac_fn_cxx_try_compile "$LINENO"; then :
60604 glibcxx_cv_func__isnan_use=yes
60605 else
60606 glibcxx_cv_func__isnan_use=no
60608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60609 ac_ext=c
60610 ac_cpp='$CPP $CPPFLAGS'
60611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60620 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60622 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60623 for ac_func in _isnan
60624 do :
60625 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60626 if test "x$ac_cv_func__isnan" = x""yes; then :
60627 cat >>confdefs.h <<_ACEOF
60628 #define HAVE__ISNAN 1
60629 _ACEOF
60632 done
60641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60642 $as_echo_n "checking for finite declaration... " >&6; }
60643 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60644 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60645 $as_echo_n "(cached) " >&6
60646 else
60649 ac_ext=cpp
60650 ac_cpp='$CXXCPP $CPPFLAGS'
60651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60656 /* end confdefs.h. */
60657 #include <math.h>
60658 #ifdef HAVE_IEEEFP_H
60659 #include <ieeefp.h>
60660 #endif
60663 main ()
60665 finite(0);
60667 return 0;
60669 _ACEOF
60670 if ac_fn_cxx_try_compile "$LINENO"; then :
60671 glibcxx_cv_func_finite_use=yes
60672 else
60673 glibcxx_cv_func_finite_use=no
60675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60676 ac_ext=c
60677 ac_cpp='$CPP $CPPFLAGS'
60678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60687 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60689 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60690 for ac_func in finite
60691 do :
60692 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60693 if test "x$ac_cv_func_finite" = x""yes; then :
60694 cat >>confdefs.h <<_ACEOF
60695 #define HAVE_FINITE 1
60696 _ACEOF
60699 done
60701 else
60703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60704 $as_echo_n "checking for _finite declaration... " >&6; }
60705 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60706 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60707 $as_echo_n "(cached) " >&6
60708 else
60711 ac_ext=cpp
60712 ac_cpp='$CXXCPP $CPPFLAGS'
60713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60718 /* end confdefs.h. */
60719 #include <math.h>
60720 #ifdef HAVE_IEEEFP_H
60721 #include <ieeefp.h>
60722 #endif
60725 main ()
60727 _finite(0);
60729 return 0;
60731 _ACEOF
60732 if ac_fn_cxx_try_compile "$LINENO"; then :
60733 glibcxx_cv_func__finite_use=yes
60734 else
60735 glibcxx_cv_func__finite_use=no
60737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60738 ac_ext=c
60739 ac_cpp='$CPP $CPPFLAGS'
60740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60749 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60751 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60752 for ac_func in _finite
60753 do :
60754 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60755 if test "x$ac_cv_func__finite" = x""yes; then :
60756 cat >>confdefs.h <<_ACEOF
60757 #define HAVE__FINITE 1
60758 _ACEOF
60761 done
60770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60771 $as_echo_n "checking for sincos declaration... " >&6; }
60772 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60773 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60774 $as_echo_n "(cached) " >&6
60775 else
60778 ac_ext=cpp
60779 ac_cpp='$CXXCPP $CPPFLAGS'
60780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60785 /* end confdefs.h. */
60786 #include <math.h>
60788 main ()
60790 sincos(0, 0, 0);
60792 return 0;
60794 _ACEOF
60795 if ac_fn_cxx_try_compile "$LINENO"; then :
60796 glibcxx_cv_func_sincos_use=yes
60797 else
60798 glibcxx_cv_func_sincos_use=no
60800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60801 ac_ext=c
60802 ac_cpp='$CPP $CPPFLAGS'
60803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60812 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60814 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60815 for ac_func in sincos
60816 do :
60817 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60818 if test "x$ac_cv_func_sincos" = x""yes; then :
60819 cat >>confdefs.h <<_ACEOF
60820 #define HAVE_SINCOS 1
60821 _ACEOF
60824 done
60826 else
60828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60829 $as_echo_n "checking for _sincos declaration... " >&6; }
60830 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60831 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60832 $as_echo_n "(cached) " >&6
60833 else
60836 ac_ext=cpp
60837 ac_cpp='$CXXCPP $CPPFLAGS'
60838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60843 /* end confdefs.h. */
60844 #include <math.h>
60846 main ()
60848 _sincos(0, 0, 0);
60850 return 0;
60852 _ACEOF
60853 if ac_fn_cxx_try_compile "$LINENO"; then :
60854 glibcxx_cv_func__sincos_use=yes
60855 else
60856 glibcxx_cv_func__sincos_use=no
60858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60859 ac_ext=c
60860 ac_cpp='$CPP $CPPFLAGS'
60861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60870 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60872 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60873 for ac_func in _sincos
60874 do :
60875 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60876 if test "x$ac_cv_func__sincos" = x""yes; then :
60877 cat >>confdefs.h <<_ACEOF
60878 #define HAVE__SINCOS 1
60879 _ACEOF
60882 done
60891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60892 $as_echo_n "checking for fpclass declaration... " >&6; }
60893 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60894 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60895 $as_echo_n "(cached) " >&6
60896 else
60899 ac_ext=cpp
60900 ac_cpp='$CXXCPP $CPPFLAGS'
60901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60906 /* end confdefs.h. */
60907 #include <math.h>
60908 #ifdef HAVE_IEEEFP_H
60909 #include <ieeefp.h>
60910 #endif
60913 main ()
60915 fpclass(0);
60917 return 0;
60919 _ACEOF
60920 if ac_fn_cxx_try_compile "$LINENO"; then :
60921 glibcxx_cv_func_fpclass_use=yes
60922 else
60923 glibcxx_cv_func_fpclass_use=no
60925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60926 ac_ext=c
60927 ac_cpp='$CPP $CPPFLAGS'
60928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60937 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60939 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60940 for ac_func in fpclass
60941 do :
60942 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60943 if test "x$ac_cv_func_fpclass" = x""yes; then :
60944 cat >>confdefs.h <<_ACEOF
60945 #define HAVE_FPCLASS 1
60946 _ACEOF
60949 done
60951 else
60953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60954 $as_echo_n "checking for _fpclass declaration... " >&6; }
60955 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60956 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60957 $as_echo_n "(cached) " >&6
60958 else
60961 ac_ext=cpp
60962 ac_cpp='$CXXCPP $CPPFLAGS'
60963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60968 /* end confdefs.h. */
60969 #include <math.h>
60970 #ifdef HAVE_IEEEFP_H
60971 #include <ieeefp.h>
60972 #endif
60975 main ()
60977 _fpclass(0);
60979 return 0;
60981 _ACEOF
60982 if ac_fn_cxx_try_compile "$LINENO"; then :
60983 glibcxx_cv_func__fpclass_use=yes
60984 else
60985 glibcxx_cv_func__fpclass_use=no
60987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60988 ac_ext=c
60989 ac_cpp='$CPP $CPPFLAGS'
60990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60999 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61001 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61002 for ac_func in _fpclass
61003 do :
61004 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61005 if test "x$ac_cv_func__fpclass" = x""yes; then :
61006 cat >>confdefs.h <<_ACEOF
61007 #define HAVE__FPCLASS 1
61008 _ACEOF
61011 done
61020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61021 $as_echo_n "checking for qfpclass declaration... " >&6; }
61022 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61023 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61024 $as_echo_n "(cached) " >&6
61025 else
61028 ac_ext=cpp
61029 ac_cpp='$CXXCPP $CPPFLAGS'
61030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61035 /* end confdefs.h. */
61036 #include <math.h>
61037 #ifdef HAVE_IEEEFP_H
61038 #include <ieeefp.h>
61039 #endif
61042 main ()
61044 qfpclass(0);
61046 return 0;
61048 _ACEOF
61049 if ac_fn_cxx_try_compile "$LINENO"; then :
61050 glibcxx_cv_func_qfpclass_use=yes
61051 else
61052 glibcxx_cv_func_qfpclass_use=no
61054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61055 ac_ext=c
61056 ac_cpp='$CPP $CPPFLAGS'
61057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61066 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61068 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61069 for ac_func in qfpclass
61070 do :
61071 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61072 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61073 cat >>confdefs.h <<_ACEOF
61074 #define HAVE_QFPCLASS 1
61075 _ACEOF
61078 done
61080 else
61082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61083 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61084 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61085 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61086 $as_echo_n "(cached) " >&6
61087 else
61090 ac_ext=cpp
61091 ac_cpp='$CXXCPP $CPPFLAGS'
61092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61097 /* end confdefs.h. */
61098 #include <math.h>
61099 #ifdef HAVE_IEEEFP_H
61100 #include <ieeefp.h>
61101 #endif
61104 main ()
61106 _qfpclass(0);
61108 return 0;
61110 _ACEOF
61111 if ac_fn_cxx_try_compile "$LINENO"; then :
61112 glibcxx_cv_func__qfpclass_use=yes
61113 else
61114 glibcxx_cv_func__qfpclass_use=no
61116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61117 ac_ext=c
61118 ac_cpp='$CPP $CPPFLAGS'
61119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61128 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61130 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61131 for ac_func in _qfpclass
61132 do :
61133 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61134 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61135 cat >>confdefs.h <<_ACEOF
61136 #define HAVE__QFPCLASS 1
61137 _ACEOF
61140 done
61149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61150 $as_echo_n "checking for hypot declaration... " >&6; }
61151 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61152 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61153 $as_echo_n "(cached) " >&6
61154 else
61157 ac_ext=cpp
61158 ac_cpp='$CXXCPP $CPPFLAGS'
61159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61164 /* end confdefs.h. */
61165 #include <math.h>
61167 main ()
61169 hypot(0, 0);
61171 return 0;
61173 _ACEOF
61174 if ac_fn_cxx_try_compile "$LINENO"; then :
61175 glibcxx_cv_func_hypot_use=yes
61176 else
61177 glibcxx_cv_func_hypot_use=no
61179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61180 ac_ext=c
61181 ac_cpp='$CPP $CPPFLAGS'
61182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61191 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61193 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61194 for ac_func in hypot
61195 do :
61196 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61197 if test "x$ac_cv_func_hypot" = x""yes; then :
61198 cat >>confdefs.h <<_ACEOF
61199 #define HAVE_HYPOT 1
61200 _ACEOF
61203 done
61205 else
61207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61208 $as_echo_n "checking for _hypot declaration... " >&6; }
61209 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61210 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61211 $as_echo_n "(cached) " >&6
61212 else
61215 ac_ext=cpp
61216 ac_cpp='$CXXCPP $CPPFLAGS'
61217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61222 /* end confdefs.h. */
61223 #include <math.h>
61225 main ()
61227 _hypot(0, 0);
61229 return 0;
61231 _ACEOF
61232 if ac_fn_cxx_try_compile "$LINENO"; then :
61233 glibcxx_cv_func__hypot_use=yes
61234 else
61235 glibcxx_cv_func__hypot_use=no
61237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61238 ac_ext=c
61239 ac_cpp='$CPP $CPPFLAGS'
61240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61249 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61251 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61252 for ac_func in _hypot
61253 do :
61254 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61255 if test "x$ac_cv_func__hypot" = x""yes; then :
61256 cat >>confdefs.h <<_ACEOF
61257 #define HAVE__HYPOT 1
61258 _ACEOF
61261 done
61270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61271 $as_echo_n "checking for float trig functions... " >&6; }
61272 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61273 $as_echo_n "(cached) " >&6
61274 else
61277 ac_ext=cpp
61278 ac_cpp='$CXXCPP $CPPFLAGS'
61279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61284 /* end confdefs.h. */
61285 #include <math.h>
61287 main ()
61289 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61291 return 0;
61293 _ACEOF
61294 if ac_fn_cxx_try_compile "$LINENO"; then :
61295 glibcxx_cv_func_float_trig_use=yes
61296 else
61297 glibcxx_cv_func_float_trig_use=no
61299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61300 ac_ext=c
61301 ac_cpp='$CPP $CPPFLAGS'
61302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61309 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61310 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61311 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61312 do :
61313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61315 eval as_val=\$$as_ac_var
61316 if test "x$as_val" = x""yes; then :
61317 cat >>confdefs.h <<_ACEOF
61318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61319 _ACEOF
61322 done
61324 else
61325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61326 $as_echo_n "checking for _float trig functions... " >&6; }
61327 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61328 $as_echo_n "(cached) " >&6
61329 else
61332 ac_ext=cpp
61333 ac_cpp='$CXXCPP $CPPFLAGS'
61334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61339 /* end confdefs.h. */
61340 #include <math.h>
61342 main ()
61344 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61346 return 0;
61348 _ACEOF
61349 if ac_fn_cxx_try_compile "$LINENO"; then :
61350 glibcxx_cv_func__float_trig_use=yes
61351 else
61352 glibcxx_cv_func__float_trig_use=no
61354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61355 ac_ext=c
61356 ac_cpp='$CPP $CPPFLAGS'
61357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61364 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61365 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61366 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61367 do :
61368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61370 eval as_val=\$$as_ac_var
61371 if test "x$as_val" = x""yes; then :
61372 cat >>confdefs.h <<_ACEOF
61373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61374 _ACEOF
61377 done
61386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61387 $as_echo_n "checking for float round functions... " >&6; }
61388 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61389 $as_echo_n "(cached) " >&6
61390 else
61393 ac_ext=cpp
61394 ac_cpp='$CXXCPP $CPPFLAGS'
61395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61400 /* end confdefs.h. */
61401 #include <math.h>
61403 main ()
61405 ceilf (0); floorf (0);
61407 return 0;
61409 _ACEOF
61410 if ac_fn_cxx_try_compile "$LINENO"; then :
61411 glibcxx_cv_func_float_round_use=yes
61412 else
61413 glibcxx_cv_func_float_round_use=no
61415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61416 ac_ext=c
61417 ac_cpp='$CPP $CPPFLAGS'
61418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61425 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61426 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61427 for ac_func in ceilf floorf
61428 do :
61429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61431 eval as_val=\$$as_ac_var
61432 if test "x$as_val" = x""yes; then :
61433 cat >>confdefs.h <<_ACEOF
61434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61435 _ACEOF
61438 done
61440 else
61441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61442 $as_echo_n "checking for _float round functions... " >&6; }
61443 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61444 $as_echo_n "(cached) " >&6
61445 else
61448 ac_ext=cpp
61449 ac_cpp='$CXXCPP $CPPFLAGS'
61450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61455 /* end confdefs.h. */
61456 #include <math.h>
61458 main ()
61460 _ceilf (0); _floorf (0);
61462 return 0;
61464 _ACEOF
61465 if ac_fn_cxx_try_compile "$LINENO"; then :
61466 glibcxx_cv_func__float_round_use=yes
61467 else
61468 glibcxx_cv_func__float_round_use=no
61470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61471 ac_ext=c
61472 ac_cpp='$CPP $CPPFLAGS'
61473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61480 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61481 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61482 for ac_func in _ceilf _floorf
61483 do :
61484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61486 eval as_val=\$$as_ac_var
61487 if test "x$as_val" = x""yes; then :
61488 cat >>confdefs.h <<_ACEOF
61489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61490 _ACEOF
61493 done
61503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61504 $as_echo_n "checking for expf declaration... " >&6; }
61505 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61506 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61507 $as_echo_n "(cached) " >&6
61508 else
61511 ac_ext=cpp
61512 ac_cpp='$CXXCPP $CPPFLAGS'
61513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61518 /* end confdefs.h. */
61519 #include <math.h>
61520 #ifdef HAVE_IEEEFP_H
61521 #include <ieeefp.h>
61522 #endif
61525 main ()
61527 expf(0);
61529 return 0;
61531 _ACEOF
61532 if ac_fn_cxx_try_compile "$LINENO"; then :
61533 glibcxx_cv_func_expf_use=yes
61534 else
61535 glibcxx_cv_func_expf_use=no
61537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61538 ac_ext=c
61539 ac_cpp='$CPP $CPPFLAGS'
61540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61549 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61551 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61552 for ac_func in expf
61553 do :
61554 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61555 if test "x$ac_cv_func_expf" = x""yes; then :
61556 cat >>confdefs.h <<_ACEOF
61557 #define HAVE_EXPF 1
61558 _ACEOF
61561 done
61563 else
61565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61566 $as_echo_n "checking for _expf declaration... " >&6; }
61567 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61568 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61569 $as_echo_n "(cached) " >&6
61570 else
61573 ac_ext=cpp
61574 ac_cpp='$CXXCPP $CPPFLAGS'
61575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61580 /* end confdefs.h. */
61581 #include <math.h>
61582 #ifdef HAVE_IEEEFP_H
61583 #include <ieeefp.h>
61584 #endif
61587 main ()
61589 _expf(0);
61591 return 0;
61593 _ACEOF
61594 if ac_fn_cxx_try_compile "$LINENO"; then :
61595 glibcxx_cv_func__expf_use=yes
61596 else
61597 glibcxx_cv_func__expf_use=no
61599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61600 ac_ext=c
61601 ac_cpp='$CPP $CPPFLAGS'
61602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61611 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61613 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61614 for ac_func in _expf
61615 do :
61616 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61617 if test "x$ac_cv_func__expf" = x""yes; then :
61618 cat >>confdefs.h <<_ACEOF
61619 #define HAVE__EXPF 1
61620 _ACEOF
61623 done
61632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61633 $as_echo_n "checking for isnanf declaration... " >&6; }
61634 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61635 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61636 $as_echo_n "(cached) " >&6
61637 else
61640 ac_ext=cpp
61641 ac_cpp='$CXXCPP $CPPFLAGS'
61642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61647 /* end confdefs.h. */
61648 #include <math.h>
61649 #ifdef HAVE_IEEEFP_H
61650 #include <ieeefp.h>
61651 #endif
61654 main ()
61656 isnanf(0);
61658 return 0;
61660 _ACEOF
61661 if ac_fn_cxx_try_compile "$LINENO"; then :
61662 glibcxx_cv_func_isnanf_use=yes
61663 else
61664 glibcxx_cv_func_isnanf_use=no
61666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61667 ac_ext=c
61668 ac_cpp='$CPP $CPPFLAGS'
61669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61678 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61680 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61681 for ac_func in isnanf
61682 do :
61683 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61684 if test "x$ac_cv_func_isnanf" = x""yes; then :
61685 cat >>confdefs.h <<_ACEOF
61686 #define HAVE_ISNANF 1
61687 _ACEOF
61690 done
61692 else
61694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61695 $as_echo_n "checking for _isnanf declaration... " >&6; }
61696 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61697 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61698 $as_echo_n "(cached) " >&6
61699 else
61702 ac_ext=cpp
61703 ac_cpp='$CXXCPP $CPPFLAGS'
61704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61709 /* end confdefs.h. */
61710 #include <math.h>
61711 #ifdef HAVE_IEEEFP_H
61712 #include <ieeefp.h>
61713 #endif
61716 main ()
61718 _isnanf(0);
61720 return 0;
61722 _ACEOF
61723 if ac_fn_cxx_try_compile "$LINENO"; then :
61724 glibcxx_cv_func__isnanf_use=yes
61725 else
61726 glibcxx_cv_func__isnanf_use=no
61728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61729 ac_ext=c
61730 ac_cpp='$CPP $CPPFLAGS'
61731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61740 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61742 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61743 for ac_func in _isnanf
61744 do :
61745 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61746 if test "x$ac_cv_func__isnanf" = x""yes; then :
61747 cat >>confdefs.h <<_ACEOF
61748 #define HAVE__ISNANF 1
61749 _ACEOF
61752 done
61761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61762 $as_echo_n "checking for isinff declaration... " >&6; }
61763 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61764 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61765 $as_echo_n "(cached) " >&6
61766 else
61769 ac_ext=cpp
61770 ac_cpp='$CXXCPP $CPPFLAGS'
61771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61776 /* end confdefs.h. */
61777 #include <math.h>
61778 #ifdef HAVE_IEEEFP_H
61779 #include <ieeefp.h>
61780 #endif
61783 main ()
61785 isinff(0);
61787 return 0;
61789 _ACEOF
61790 if ac_fn_cxx_try_compile "$LINENO"; then :
61791 glibcxx_cv_func_isinff_use=yes
61792 else
61793 glibcxx_cv_func_isinff_use=no
61795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61796 ac_ext=c
61797 ac_cpp='$CPP $CPPFLAGS'
61798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61807 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61809 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61810 for ac_func in isinff
61811 do :
61812 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61813 if test "x$ac_cv_func_isinff" = x""yes; then :
61814 cat >>confdefs.h <<_ACEOF
61815 #define HAVE_ISINFF 1
61816 _ACEOF
61819 done
61821 else
61823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61824 $as_echo_n "checking for _isinff declaration... " >&6; }
61825 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61826 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61827 $as_echo_n "(cached) " >&6
61828 else
61831 ac_ext=cpp
61832 ac_cpp='$CXXCPP $CPPFLAGS'
61833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61838 /* end confdefs.h. */
61839 #include <math.h>
61840 #ifdef HAVE_IEEEFP_H
61841 #include <ieeefp.h>
61842 #endif
61845 main ()
61847 _isinff(0);
61849 return 0;
61851 _ACEOF
61852 if ac_fn_cxx_try_compile "$LINENO"; then :
61853 glibcxx_cv_func__isinff_use=yes
61854 else
61855 glibcxx_cv_func__isinff_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__isinff_use" >&5
61869 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61871 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61872 for ac_func in _isinff
61873 do :
61874 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61875 if test "x$ac_cv_func__isinff" = x""yes; then :
61876 cat >>confdefs.h <<_ACEOF
61877 #define HAVE__ISINFF 1
61878 _ACEOF
61881 done
61890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61891 $as_echo_n "checking for atan2f declaration... " >&6; }
61892 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61893 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61894 $as_echo_n "(cached) " >&6
61895 else
61898 ac_ext=cpp
61899 ac_cpp='$CXXCPP $CPPFLAGS'
61900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61905 /* end confdefs.h. */
61906 #include <math.h>
61908 main ()
61910 atan2f(0, 0);
61912 return 0;
61914 _ACEOF
61915 if ac_fn_cxx_try_compile "$LINENO"; then :
61916 glibcxx_cv_func_atan2f_use=yes
61917 else
61918 glibcxx_cv_func_atan2f_use=no
61920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61921 ac_ext=c
61922 ac_cpp='$CPP $CPPFLAGS'
61923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61932 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61934 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61935 for ac_func in atan2f
61936 do :
61937 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61938 if test "x$ac_cv_func_atan2f" = x""yes; then :
61939 cat >>confdefs.h <<_ACEOF
61940 #define HAVE_ATAN2F 1
61941 _ACEOF
61944 done
61946 else
61948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61949 $as_echo_n "checking for _atan2f declaration... " >&6; }
61950 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61951 if test "${glibcxx_cv_func__atan2f_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>
61966 main ()
61968 _atan2f(0, 0);
61970 return 0;
61972 _ACEOF
61973 if ac_fn_cxx_try_compile "$LINENO"; then :
61974 glibcxx_cv_func__atan2f_use=yes
61975 else
61976 glibcxx_cv_func__atan2f_use=no
61978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61979 ac_ext=c
61980 ac_cpp='$CPP $CPPFLAGS'
61981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61990 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61992 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61993 for ac_func in _atan2f
61994 do :
61995 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61996 if test "x$ac_cv_func__atan2f" = x""yes; then :
61997 cat >>confdefs.h <<_ACEOF
61998 #define HAVE__ATAN2F 1
61999 _ACEOF
62002 done
62011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62012 $as_echo_n "checking for fabsf declaration... " >&6; }
62013 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62014 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62015 $as_echo_n "(cached) " >&6
62016 else
62019 ac_ext=cpp
62020 ac_cpp='$CXXCPP $CPPFLAGS'
62021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62026 /* end confdefs.h. */
62027 #include <math.h>
62028 #ifdef HAVE_IEEEFP_H
62029 #include <ieeefp.h>
62030 #endif
62033 main ()
62035 fabsf(0);
62037 return 0;
62039 _ACEOF
62040 if ac_fn_cxx_try_compile "$LINENO"; then :
62041 glibcxx_cv_func_fabsf_use=yes
62042 else
62043 glibcxx_cv_func_fabsf_use=no
62045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62046 ac_ext=c
62047 ac_cpp='$CPP $CPPFLAGS'
62048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62057 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62059 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62060 for ac_func in fabsf
62061 do :
62062 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62063 if test "x$ac_cv_func_fabsf" = x""yes; then :
62064 cat >>confdefs.h <<_ACEOF
62065 #define HAVE_FABSF 1
62066 _ACEOF
62069 done
62071 else
62073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62074 $as_echo_n "checking for _fabsf declaration... " >&6; }
62075 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62076 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62077 $as_echo_n "(cached) " >&6
62078 else
62081 ac_ext=cpp
62082 ac_cpp='$CXXCPP $CPPFLAGS'
62083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62088 /* end confdefs.h. */
62089 #include <math.h>
62090 #ifdef HAVE_IEEEFP_H
62091 #include <ieeefp.h>
62092 #endif
62095 main ()
62097 _fabsf(0);
62099 return 0;
62101 _ACEOF
62102 if ac_fn_cxx_try_compile "$LINENO"; then :
62103 glibcxx_cv_func__fabsf_use=yes
62104 else
62105 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
62119 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62121 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62122 for ac_func in _fabsf
62123 do :
62124 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62125 if test "x$ac_cv_func__fabsf" = x""yes; then :
62126 cat >>confdefs.h <<_ACEOF
62127 #define HAVE__FABSF 1
62128 _ACEOF
62131 done
62140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62141 $as_echo_n "checking for fmodf declaration... " >&6; }
62142 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62143 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62144 $as_echo_n "(cached) " >&6
62145 else
62148 ac_ext=cpp
62149 ac_cpp='$CXXCPP $CPPFLAGS'
62150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62155 /* end confdefs.h. */
62156 #include <math.h>
62158 main ()
62160 fmodf(0, 0);
62162 return 0;
62164 _ACEOF
62165 if ac_fn_cxx_try_compile "$LINENO"; then :
62166 glibcxx_cv_func_fmodf_use=yes
62167 else
62168 glibcxx_cv_func_fmodf_use=no
62170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62171 ac_ext=c
62172 ac_cpp='$CPP $CPPFLAGS'
62173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62182 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62184 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62185 for ac_func in fmodf
62186 do :
62187 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62188 if test "x$ac_cv_func_fmodf" = x""yes; then :
62189 cat >>confdefs.h <<_ACEOF
62190 #define HAVE_FMODF 1
62191 _ACEOF
62194 done
62196 else
62198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62199 $as_echo_n "checking for _fmodf declaration... " >&6; }
62200 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62201 if test "${glibcxx_cv_func__fmodf_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>
62216 main ()
62218 _fmodf(0, 0);
62220 return 0;
62222 _ACEOF
62223 if ac_fn_cxx_try_compile "$LINENO"; then :
62224 glibcxx_cv_func__fmodf_use=yes
62225 else
62226 glibcxx_cv_func__fmodf_use=no
62228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62229 ac_ext=c
62230 ac_cpp='$CPP $CPPFLAGS'
62231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62240 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62242 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62243 for ac_func in _fmodf
62244 do :
62245 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62246 if test "x$ac_cv_func__fmodf" = x""yes; then :
62247 cat >>confdefs.h <<_ACEOF
62248 #define HAVE__FMODF 1
62249 _ACEOF
62252 done
62261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62262 $as_echo_n "checking for frexpf declaration... " >&6; }
62263 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62264 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62265 $as_echo_n "(cached) " >&6
62266 else
62269 ac_ext=cpp
62270 ac_cpp='$CXXCPP $CPPFLAGS'
62271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62276 /* end confdefs.h. */
62277 #include <math.h>
62279 main ()
62281 frexpf(0, 0);
62283 return 0;
62285 _ACEOF
62286 if ac_fn_cxx_try_compile "$LINENO"; then :
62287 glibcxx_cv_func_frexpf_use=yes
62288 else
62289 glibcxx_cv_func_frexpf_use=no
62291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62292 ac_ext=c
62293 ac_cpp='$CPP $CPPFLAGS'
62294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62303 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62305 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62306 for ac_func in frexpf
62307 do :
62308 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62309 if test "x$ac_cv_func_frexpf" = x""yes; then :
62310 cat >>confdefs.h <<_ACEOF
62311 #define HAVE_FREXPF 1
62312 _ACEOF
62315 done
62317 else
62319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62320 $as_echo_n "checking for _frexpf declaration... " >&6; }
62321 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62322 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62323 $as_echo_n "(cached) " >&6
62324 else
62327 ac_ext=cpp
62328 ac_cpp='$CXXCPP $CPPFLAGS'
62329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62334 /* end confdefs.h. */
62335 #include <math.h>
62337 main ()
62339 _frexpf(0, 0);
62341 return 0;
62343 _ACEOF
62344 if ac_fn_cxx_try_compile "$LINENO"; then :
62345 glibcxx_cv_func__frexpf_use=yes
62346 else
62347 glibcxx_cv_func__frexpf_use=no
62349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62350 ac_ext=c
62351 ac_cpp='$CPP $CPPFLAGS'
62352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62361 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62363 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62364 for ac_func in _frexpf
62365 do :
62366 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62367 if test "x$ac_cv_func__frexpf" = x""yes; then :
62368 cat >>confdefs.h <<_ACEOF
62369 #define HAVE__FREXPF 1
62370 _ACEOF
62373 done
62382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62383 $as_echo_n "checking for hypotf declaration... " >&6; }
62384 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62385 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62386 $as_echo_n "(cached) " >&6
62387 else
62390 ac_ext=cpp
62391 ac_cpp='$CXXCPP $CPPFLAGS'
62392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62397 /* end confdefs.h. */
62398 #include <math.h>
62400 main ()
62402 hypotf(0, 0);
62404 return 0;
62406 _ACEOF
62407 if ac_fn_cxx_try_compile "$LINENO"; then :
62408 glibcxx_cv_func_hypotf_use=yes
62409 else
62410 glibcxx_cv_func_hypotf_use=no
62412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62413 ac_ext=c
62414 ac_cpp='$CPP $CPPFLAGS'
62415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62424 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62426 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62427 for ac_func in hypotf
62428 do :
62429 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62430 if test "x$ac_cv_func_hypotf" = x""yes; then :
62431 cat >>confdefs.h <<_ACEOF
62432 #define HAVE_HYPOTF 1
62433 _ACEOF
62436 done
62438 else
62440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62441 $as_echo_n "checking for _hypotf declaration... " >&6; }
62442 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62443 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62444 $as_echo_n "(cached) " >&6
62445 else
62448 ac_ext=cpp
62449 ac_cpp='$CXXCPP $CPPFLAGS'
62450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62455 /* end confdefs.h. */
62456 #include <math.h>
62458 main ()
62460 _hypotf(0, 0);
62462 return 0;
62464 _ACEOF
62465 if ac_fn_cxx_try_compile "$LINENO"; then :
62466 glibcxx_cv_func__hypotf_use=yes
62467 else
62468 glibcxx_cv_func__hypotf_use=no
62470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62471 ac_ext=c
62472 ac_cpp='$CPP $CPPFLAGS'
62473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62482 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62484 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62485 for ac_func in _hypotf
62486 do :
62487 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62488 if test "x$ac_cv_func__hypotf" = x""yes; then :
62489 cat >>confdefs.h <<_ACEOF
62490 #define HAVE__HYPOTF 1
62491 _ACEOF
62494 done
62503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62504 $as_echo_n "checking for ldexpf declaration... " >&6; }
62505 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62506 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62507 $as_echo_n "(cached) " >&6
62508 else
62511 ac_ext=cpp
62512 ac_cpp='$CXXCPP $CPPFLAGS'
62513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62518 /* end confdefs.h. */
62519 #include <math.h>
62521 main ()
62523 ldexpf(0, 0);
62525 return 0;
62527 _ACEOF
62528 if ac_fn_cxx_try_compile "$LINENO"; then :
62529 glibcxx_cv_func_ldexpf_use=yes
62530 else
62531 glibcxx_cv_func_ldexpf_use=no
62533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62534 ac_ext=c
62535 ac_cpp='$CPP $CPPFLAGS'
62536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62545 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62547 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62548 for ac_func in ldexpf
62549 do :
62550 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62551 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62552 cat >>confdefs.h <<_ACEOF
62553 #define HAVE_LDEXPF 1
62554 _ACEOF
62557 done
62559 else
62561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62562 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62563 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62564 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62565 $as_echo_n "(cached) " >&6
62566 else
62569 ac_ext=cpp
62570 ac_cpp='$CXXCPP $CPPFLAGS'
62571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62576 /* end confdefs.h. */
62577 #include <math.h>
62579 main ()
62581 _ldexpf(0, 0);
62583 return 0;
62585 _ACEOF
62586 if ac_fn_cxx_try_compile "$LINENO"; then :
62587 glibcxx_cv_func__ldexpf_use=yes
62588 else
62589 glibcxx_cv_func__ldexpf_use=no
62591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62592 ac_ext=c
62593 ac_cpp='$CPP $CPPFLAGS'
62594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62603 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62605 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62606 for ac_func in _ldexpf
62607 do :
62608 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62609 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62610 cat >>confdefs.h <<_ACEOF
62611 #define HAVE__LDEXPF 1
62612 _ACEOF
62615 done
62624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62625 $as_echo_n "checking for logf declaration... " >&6; }
62626 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62627 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62628 $as_echo_n "(cached) " >&6
62629 else
62632 ac_ext=cpp
62633 ac_cpp='$CXXCPP $CPPFLAGS'
62634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62639 /* end confdefs.h. */
62640 #include <math.h>
62641 #ifdef HAVE_IEEEFP_H
62642 #include <ieeefp.h>
62643 #endif
62646 main ()
62648 logf(0);
62650 return 0;
62652 _ACEOF
62653 if ac_fn_cxx_try_compile "$LINENO"; then :
62654 glibcxx_cv_func_logf_use=yes
62655 else
62656 glibcxx_cv_func_logf_use=no
62658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62659 ac_ext=c
62660 ac_cpp='$CPP $CPPFLAGS'
62661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62670 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62672 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62673 for ac_func in logf
62674 do :
62675 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62676 if test "x$ac_cv_func_logf" = x""yes; then :
62677 cat >>confdefs.h <<_ACEOF
62678 #define HAVE_LOGF 1
62679 _ACEOF
62682 done
62684 else
62686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62687 $as_echo_n "checking for _logf declaration... " >&6; }
62688 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62689 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62690 $as_echo_n "(cached) " >&6
62691 else
62694 ac_ext=cpp
62695 ac_cpp='$CXXCPP $CPPFLAGS'
62696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62701 /* end confdefs.h. */
62702 #include <math.h>
62703 #ifdef HAVE_IEEEFP_H
62704 #include <ieeefp.h>
62705 #endif
62708 main ()
62710 _logf(0);
62712 return 0;
62714 _ACEOF
62715 if ac_fn_cxx_try_compile "$LINENO"; then :
62716 glibcxx_cv_func__logf_use=yes
62717 else
62718 glibcxx_cv_func__logf_use=no
62720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62721 ac_ext=c
62722 ac_cpp='$CPP $CPPFLAGS'
62723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62732 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62734 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62735 for ac_func in _logf
62736 do :
62737 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62738 if test "x$ac_cv_func__logf" = x""yes; then :
62739 cat >>confdefs.h <<_ACEOF
62740 #define HAVE__LOGF 1
62741 _ACEOF
62744 done
62753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62754 $as_echo_n "checking for log10f declaration... " >&6; }
62755 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62756 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62757 $as_echo_n "(cached) " >&6
62758 else
62761 ac_ext=cpp
62762 ac_cpp='$CXXCPP $CPPFLAGS'
62763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62768 /* end confdefs.h. */
62769 #include <math.h>
62770 #ifdef HAVE_IEEEFP_H
62771 #include <ieeefp.h>
62772 #endif
62775 main ()
62777 log10f(0);
62779 return 0;
62781 _ACEOF
62782 if ac_fn_cxx_try_compile "$LINENO"; then :
62783 glibcxx_cv_func_log10f_use=yes
62784 else
62785 glibcxx_cv_func_log10f_use=no
62787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62788 ac_ext=c
62789 ac_cpp='$CPP $CPPFLAGS'
62790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62799 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62801 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62802 for ac_func in log10f
62803 do :
62804 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62805 if test "x$ac_cv_func_log10f" = x""yes; then :
62806 cat >>confdefs.h <<_ACEOF
62807 #define HAVE_LOG10F 1
62808 _ACEOF
62811 done
62813 else
62815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62816 $as_echo_n "checking for _log10f declaration... " >&6; }
62817 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62818 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62819 $as_echo_n "(cached) " >&6
62820 else
62823 ac_ext=cpp
62824 ac_cpp='$CXXCPP $CPPFLAGS'
62825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62830 /* end confdefs.h. */
62831 #include <math.h>
62832 #ifdef HAVE_IEEEFP_H
62833 #include <ieeefp.h>
62834 #endif
62837 main ()
62839 _log10f(0);
62841 return 0;
62843 _ACEOF
62844 if ac_fn_cxx_try_compile "$LINENO"; then :
62845 glibcxx_cv_func__log10f_use=yes
62846 else
62847 glibcxx_cv_func__log10f_use=no
62849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62850 ac_ext=c
62851 ac_cpp='$CPP $CPPFLAGS'
62852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62861 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62863 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62864 for ac_func in _log10f
62865 do :
62866 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62867 if test "x$ac_cv_func__log10f" = x""yes; then :
62868 cat >>confdefs.h <<_ACEOF
62869 #define HAVE__LOG10F 1
62870 _ACEOF
62873 done
62882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62883 $as_echo_n "checking for modff declaration... " >&6; }
62884 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62885 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62886 $as_echo_n "(cached) " >&6
62887 else
62890 ac_ext=cpp
62891 ac_cpp='$CXXCPP $CPPFLAGS'
62892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62897 /* end confdefs.h. */
62898 #include <math.h>
62900 main ()
62902 modff(0, 0);
62904 return 0;
62906 _ACEOF
62907 if ac_fn_cxx_try_compile "$LINENO"; then :
62908 glibcxx_cv_func_modff_use=yes
62909 else
62910 glibcxx_cv_func_modff_use=no
62912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62913 ac_ext=c
62914 ac_cpp='$CPP $CPPFLAGS'
62915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62924 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62926 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62927 for ac_func in modff
62928 do :
62929 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62930 if test "x$ac_cv_func_modff" = x""yes; then :
62931 cat >>confdefs.h <<_ACEOF
62932 #define HAVE_MODFF 1
62933 _ACEOF
62936 done
62938 else
62940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62941 $as_echo_n "checking for _modff declaration... " >&6; }
62942 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62943 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62944 $as_echo_n "(cached) " >&6
62945 else
62948 ac_ext=cpp
62949 ac_cpp='$CXXCPP $CPPFLAGS'
62950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62955 /* end confdefs.h. */
62956 #include <math.h>
62958 main ()
62960 _modff(0, 0);
62962 return 0;
62964 _ACEOF
62965 if ac_fn_cxx_try_compile "$LINENO"; then :
62966 glibcxx_cv_func__modff_use=yes
62967 else
62968 glibcxx_cv_func__modff_use=no
62970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62971 ac_ext=c
62972 ac_cpp='$CPP $CPPFLAGS'
62973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62982 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62984 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62985 for ac_func in _modff
62986 do :
62987 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62988 if test "x$ac_cv_func__modff" = x""yes; then :
62989 cat >>confdefs.h <<_ACEOF
62990 #define HAVE__MODFF 1
62991 _ACEOF
62994 done
63003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63004 $as_echo_n "checking for modf declaration... " >&6; }
63005 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63006 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63007 $as_echo_n "(cached) " >&6
63008 else
63011 ac_ext=cpp
63012 ac_cpp='$CXXCPP $CPPFLAGS'
63013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63018 /* end confdefs.h. */
63019 #include <math.h>
63021 main ()
63023 modf(0, 0);
63025 return 0;
63027 _ACEOF
63028 if ac_fn_cxx_try_compile "$LINENO"; then :
63029 glibcxx_cv_func_modf_use=yes
63030 else
63031 glibcxx_cv_func_modf_use=no
63033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63034 ac_ext=c
63035 ac_cpp='$CPP $CPPFLAGS'
63036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63045 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63047 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63048 for ac_func in modf
63049 do :
63050 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63051 if test "x$ac_cv_func_modf" = x""yes; then :
63052 cat >>confdefs.h <<_ACEOF
63053 #define HAVE_MODF 1
63054 _ACEOF
63057 done
63059 else
63061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63062 $as_echo_n "checking for _modf declaration... " >&6; }
63063 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63064 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63065 $as_echo_n "(cached) " >&6
63066 else
63069 ac_ext=cpp
63070 ac_cpp='$CXXCPP $CPPFLAGS'
63071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63076 /* end confdefs.h. */
63077 #include <math.h>
63079 main ()
63081 _modf(0, 0);
63083 return 0;
63085 _ACEOF
63086 if ac_fn_cxx_try_compile "$LINENO"; then :
63087 glibcxx_cv_func__modf_use=yes
63088 else
63089 glibcxx_cv_func__modf_use=no
63091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63092 ac_ext=c
63093 ac_cpp='$CPP $CPPFLAGS'
63094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63103 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63105 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63106 for ac_func in _modf
63107 do :
63108 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63109 if test "x$ac_cv_func__modf" = x""yes; then :
63110 cat >>confdefs.h <<_ACEOF
63111 #define HAVE__MODF 1
63112 _ACEOF
63115 done
63124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63125 $as_echo_n "checking for powf declaration... " >&6; }
63126 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63127 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63128 $as_echo_n "(cached) " >&6
63129 else
63132 ac_ext=cpp
63133 ac_cpp='$CXXCPP $CPPFLAGS'
63134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63139 /* end confdefs.h. */
63140 #include <math.h>
63142 main ()
63144 powf(0, 0);
63146 return 0;
63148 _ACEOF
63149 if ac_fn_cxx_try_compile "$LINENO"; then :
63150 glibcxx_cv_func_powf_use=yes
63151 else
63152 glibcxx_cv_func_powf_use=no
63154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63155 ac_ext=c
63156 ac_cpp='$CPP $CPPFLAGS'
63157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63166 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63168 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63169 for ac_func in powf
63170 do :
63171 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63172 if test "x$ac_cv_func_powf" = x""yes; then :
63173 cat >>confdefs.h <<_ACEOF
63174 #define HAVE_POWF 1
63175 _ACEOF
63178 done
63180 else
63182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63183 $as_echo_n "checking for _powf declaration... " >&6; }
63184 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63185 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63186 $as_echo_n "(cached) " >&6
63187 else
63190 ac_ext=cpp
63191 ac_cpp='$CXXCPP $CPPFLAGS'
63192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63197 /* end confdefs.h. */
63198 #include <math.h>
63200 main ()
63202 _powf(0, 0);
63204 return 0;
63206 _ACEOF
63207 if ac_fn_cxx_try_compile "$LINENO"; then :
63208 glibcxx_cv_func__powf_use=yes
63209 else
63210 glibcxx_cv_func__powf_use=no
63212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63213 ac_ext=c
63214 ac_cpp='$CPP $CPPFLAGS'
63215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63224 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63226 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63227 for ac_func in _powf
63228 do :
63229 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63230 if test "x$ac_cv_func__powf" = x""yes; then :
63231 cat >>confdefs.h <<_ACEOF
63232 #define HAVE__POWF 1
63233 _ACEOF
63236 done
63245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63246 $as_echo_n "checking for sqrtf declaration... " >&6; }
63247 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63248 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63249 $as_echo_n "(cached) " >&6
63250 else
63253 ac_ext=cpp
63254 ac_cpp='$CXXCPP $CPPFLAGS'
63255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63260 /* end confdefs.h. */
63261 #include <math.h>
63262 #ifdef HAVE_IEEEFP_H
63263 #include <ieeefp.h>
63264 #endif
63267 main ()
63269 sqrtf(0);
63271 return 0;
63273 _ACEOF
63274 if ac_fn_cxx_try_compile "$LINENO"; then :
63275 glibcxx_cv_func_sqrtf_use=yes
63276 else
63277 glibcxx_cv_func_sqrtf_use=no
63279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63280 ac_ext=c
63281 ac_cpp='$CPP $CPPFLAGS'
63282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63291 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63293 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63294 for ac_func in sqrtf
63295 do :
63296 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63297 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63298 cat >>confdefs.h <<_ACEOF
63299 #define HAVE_SQRTF 1
63300 _ACEOF
63303 done
63305 else
63307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63308 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63309 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63310 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63311 $as_echo_n "(cached) " >&6
63312 else
63315 ac_ext=cpp
63316 ac_cpp='$CXXCPP $CPPFLAGS'
63317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63322 /* end confdefs.h. */
63323 #include <math.h>
63324 #ifdef HAVE_IEEEFP_H
63325 #include <ieeefp.h>
63326 #endif
63329 main ()
63331 _sqrtf(0);
63333 return 0;
63335 _ACEOF
63336 if ac_fn_cxx_try_compile "$LINENO"; then :
63337 glibcxx_cv_func__sqrtf_use=yes
63338 else
63339 glibcxx_cv_func__sqrtf_use=no
63341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63342 ac_ext=c
63343 ac_cpp='$CPP $CPPFLAGS'
63344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63353 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63355 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63356 for ac_func in _sqrtf
63357 do :
63358 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63359 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63360 cat >>confdefs.h <<_ACEOF
63361 #define HAVE__SQRTF 1
63362 _ACEOF
63365 done
63374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63375 $as_echo_n "checking for sincosf declaration... " >&6; }
63376 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63377 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63378 $as_echo_n "(cached) " >&6
63379 else
63382 ac_ext=cpp
63383 ac_cpp='$CXXCPP $CPPFLAGS'
63384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63389 /* end confdefs.h. */
63390 #include <math.h>
63392 main ()
63394 sincosf(0, 0, 0);
63396 return 0;
63398 _ACEOF
63399 if ac_fn_cxx_try_compile "$LINENO"; then :
63400 glibcxx_cv_func_sincosf_use=yes
63401 else
63402 glibcxx_cv_func_sincosf_use=no
63404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63405 ac_ext=c
63406 ac_cpp='$CPP $CPPFLAGS'
63407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63416 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63418 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63419 for ac_func in sincosf
63420 do :
63421 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63422 if test "x$ac_cv_func_sincosf" = x""yes; then :
63423 cat >>confdefs.h <<_ACEOF
63424 #define HAVE_SINCOSF 1
63425 _ACEOF
63428 done
63430 else
63432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63433 $as_echo_n "checking for _sincosf declaration... " >&6; }
63434 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63435 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63436 $as_echo_n "(cached) " >&6
63437 else
63440 ac_ext=cpp
63441 ac_cpp='$CXXCPP $CPPFLAGS'
63442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63447 /* end confdefs.h. */
63448 #include <math.h>
63450 main ()
63452 _sincosf(0, 0, 0);
63454 return 0;
63456 _ACEOF
63457 if ac_fn_cxx_try_compile "$LINENO"; then :
63458 glibcxx_cv_func__sincosf_use=yes
63459 else
63460 glibcxx_cv_func__sincosf_use=no
63462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63463 ac_ext=c
63464 ac_cpp='$CPP $CPPFLAGS'
63465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63474 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63476 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63477 for ac_func in _sincosf
63478 do :
63479 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63480 if test "x$ac_cv_func__sincosf" = x""yes; then :
63481 cat >>confdefs.h <<_ACEOF
63482 #define HAVE__SINCOSF 1
63483 _ACEOF
63486 done
63495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63496 $as_echo_n "checking for finitef declaration... " >&6; }
63497 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63498 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63499 $as_echo_n "(cached) " >&6
63500 else
63503 ac_ext=cpp
63504 ac_cpp='$CXXCPP $CPPFLAGS'
63505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63510 /* end confdefs.h. */
63511 #include <math.h>
63512 #ifdef HAVE_IEEEFP_H
63513 #include <ieeefp.h>
63514 #endif
63517 main ()
63519 finitef(0);
63521 return 0;
63523 _ACEOF
63524 if ac_fn_cxx_try_compile "$LINENO"; then :
63525 glibcxx_cv_func_finitef_use=yes
63526 else
63527 glibcxx_cv_func_finitef_use=no
63529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63530 ac_ext=c
63531 ac_cpp='$CPP $CPPFLAGS'
63532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63541 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63543 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63544 for ac_func in finitef
63545 do :
63546 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63547 if test "x$ac_cv_func_finitef" = x""yes; then :
63548 cat >>confdefs.h <<_ACEOF
63549 #define HAVE_FINITEF 1
63550 _ACEOF
63553 done
63555 else
63557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63558 $as_echo_n "checking for _finitef declaration... " >&6; }
63559 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63560 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63561 $as_echo_n "(cached) " >&6
63562 else
63565 ac_ext=cpp
63566 ac_cpp='$CXXCPP $CPPFLAGS'
63567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63572 /* end confdefs.h. */
63573 #include <math.h>
63574 #ifdef HAVE_IEEEFP_H
63575 #include <ieeefp.h>
63576 #endif
63579 main ()
63581 _finitef(0);
63583 return 0;
63585 _ACEOF
63586 if ac_fn_cxx_try_compile "$LINENO"; then :
63587 glibcxx_cv_func__finitef_use=yes
63588 else
63589 glibcxx_cv_func__finitef_use=no
63591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63592 ac_ext=c
63593 ac_cpp='$CPP $CPPFLAGS'
63594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63603 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63605 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63606 for ac_func in _finitef
63607 do :
63608 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63609 if test "x$ac_cv_func__finitef" = x""yes; then :
63610 cat >>confdefs.h <<_ACEOF
63611 #define HAVE__FINITEF 1
63612 _ACEOF
63615 done
63624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63625 $as_echo_n "checking for long double trig functions... " >&6; }
63626 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63627 $as_echo_n "(cached) " >&6
63628 else
63631 ac_ext=cpp
63632 ac_cpp='$CXXCPP $CPPFLAGS'
63633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63638 /* end confdefs.h. */
63639 #include <math.h>
63641 main ()
63643 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63645 return 0;
63647 _ACEOF
63648 if ac_fn_cxx_try_compile "$LINENO"; then :
63649 glibcxx_cv_func_long_double_trig_use=yes
63650 else
63651 glibcxx_cv_func_long_double_trig_use=no
63653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63654 ac_ext=c
63655 ac_cpp='$CPP $CPPFLAGS'
63656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63663 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63664 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63665 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63666 do :
63667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63669 eval as_val=\$$as_ac_var
63670 if test "x$as_val" = x""yes; then :
63671 cat >>confdefs.h <<_ACEOF
63672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63673 _ACEOF
63676 done
63678 else
63679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63680 $as_echo_n "checking for _long double trig functions... " >&6; }
63681 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63682 $as_echo_n "(cached) " >&6
63683 else
63686 ac_ext=cpp
63687 ac_cpp='$CXXCPP $CPPFLAGS'
63688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63693 /* end confdefs.h. */
63694 #include <math.h>
63696 main ()
63698 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63700 return 0;
63702 _ACEOF
63703 if ac_fn_cxx_try_compile "$LINENO"; then :
63704 glibcxx_cv_func__long_double_trig_use=yes
63705 else
63706 glibcxx_cv_func__long_double_trig_use=no
63708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63709 ac_ext=c
63710 ac_cpp='$CPP $CPPFLAGS'
63711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63718 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63719 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63720 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63721 do :
63722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63724 eval as_val=\$$as_ac_var
63725 if test "x$as_val" = x""yes; then :
63726 cat >>confdefs.h <<_ACEOF
63727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63728 _ACEOF
63731 done
63740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63741 $as_echo_n "checking for long double round functions... " >&6; }
63742 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63743 $as_echo_n "(cached) " >&6
63744 else
63747 ac_ext=cpp
63748 ac_cpp='$CXXCPP $CPPFLAGS'
63749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63754 /* end confdefs.h. */
63755 #include <math.h>
63757 main ()
63759 ceill (0); floorl (0);
63761 return 0;
63763 _ACEOF
63764 if ac_fn_cxx_try_compile "$LINENO"; then :
63765 glibcxx_cv_func_long_double_round_use=yes
63766 else
63767 glibcxx_cv_func_long_double_round_use=no
63769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63770 ac_ext=c
63771 ac_cpp='$CPP $CPPFLAGS'
63772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63779 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63780 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63781 for ac_func in ceill floorl
63782 do :
63783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63785 eval as_val=\$$as_ac_var
63786 if test "x$as_val" = x""yes; then :
63787 cat >>confdefs.h <<_ACEOF
63788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63789 _ACEOF
63792 done
63794 else
63795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63796 $as_echo_n "checking for _long double round functions... " >&6; }
63797 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63798 $as_echo_n "(cached) " >&6
63799 else
63802 ac_ext=cpp
63803 ac_cpp='$CXXCPP $CPPFLAGS'
63804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63809 /* end confdefs.h. */
63810 #include <math.h>
63812 main ()
63814 _ceill (0); _floorl (0);
63816 return 0;
63818 _ACEOF
63819 if ac_fn_cxx_try_compile "$LINENO"; then :
63820 glibcxx_cv_func__long_double_round_use=yes
63821 else
63822 glibcxx_cv_func__long_double_round_use=no
63824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63825 ac_ext=c
63826 ac_cpp='$CPP $CPPFLAGS'
63827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63834 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63835 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63836 for ac_func in _ceill _floorl
63837 do :
63838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63840 eval as_val=\$$as_ac_var
63841 if test "x$as_val" = x""yes; then :
63842 cat >>confdefs.h <<_ACEOF
63843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63844 _ACEOF
63847 done
63857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63858 $as_echo_n "checking for isnanl declaration... " >&6; }
63859 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63860 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63861 $as_echo_n "(cached) " >&6
63862 else
63865 ac_ext=cpp
63866 ac_cpp='$CXXCPP $CPPFLAGS'
63867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63872 /* end confdefs.h. */
63873 #include <math.h>
63874 #ifdef HAVE_IEEEFP_H
63875 #include <ieeefp.h>
63876 #endif
63879 main ()
63881 isnanl(0);
63883 return 0;
63885 _ACEOF
63886 if ac_fn_cxx_try_compile "$LINENO"; then :
63887 glibcxx_cv_func_isnanl_use=yes
63888 else
63889 glibcxx_cv_func_isnanl_use=no
63891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63892 ac_ext=c
63893 ac_cpp='$CPP $CPPFLAGS'
63894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63903 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63905 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63906 for ac_func in isnanl
63907 do :
63908 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63909 if test "x$ac_cv_func_isnanl" = x""yes; then :
63910 cat >>confdefs.h <<_ACEOF
63911 #define HAVE_ISNANL 1
63912 _ACEOF
63915 done
63917 else
63919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63920 $as_echo_n "checking for _isnanl declaration... " >&6; }
63921 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63922 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63923 $as_echo_n "(cached) " >&6
63924 else
63927 ac_ext=cpp
63928 ac_cpp='$CXXCPP $CPPFLAGS'
63929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63934 /* end confdefs.h. */
63935 #include <math.h>
63936 #ifdef HAVE_IEEEFP_H
63937 #include <ieeefp.h>
63938 #endif
63941 main ()
63943 _isnanl(0);
63945 return 0;
63947 _ACEOF
63948 if ac_fn_cxx_try_compile "$LINENO"; then :
63949 glibcxx_cv_func__isnanl_use=yes
63950 else
63951 glibcxx_cv_func__isnanl_use=no
63953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63954 ac_ext=c
63955 ac_cpp='$CPP $CPPFLAGS'
63956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63965 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63967 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63968 for ac_func in _isnanl
63969 do :
63970 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63971 if test "x$ac_cv_func__isnanl" = x""yes; then :
63972 cat >>confdefs.h <<_ACEOF
63973 #define HAVE__ISNANL 1
63974 _ACEOF
63977 done
63986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63987 $as_echo_n "checking for isinfl declaration... " >&6; }
63988 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63989 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63990 $as_echo_n "(cached) " >&6
63991 else
63994 ac_ext=cpp
63995 ac_cpp='$CXXCPP $CPPFLAGS'
63996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64001 /* end confdefs.h. */
64002 #include <math.h>
64003 #ifdef HAVE_IEEEFP_H
64004 #include <ieeefp.h>
64005 #endif
64008 main ()
64010 isinfl(0);
64012 return 0;
64014 _ACEOF
64015 if ac_fn_cxx_try_compile "$LINENO"; then :
64016 glibcxx_cv_func_isinfl_use=yes
64017 else
64018 glibcxx_cv_func_isinfl_use=no
64020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64021 ac_ext=c
64022 ac_cpp='$CPP $CPPFLAGS'
64023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64032 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64034 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64035 for ac_func in isinfl
64036 do :
64037 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64038 if test "x$ac_cv_func_isinfl" = x""yes; then :
64039 cat >>confdefs.h <<_ACEOF
64040 #define HAVE_ISINFL 1
64041 _ACEOF
64044 done
64046 else
64048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64049 $as_echo_n "checking for _isinfl declaration... " >&6; }
64050 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64051 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64052 $as_echo_n "(cached) " >&6
64053 else
64056 ac_ext=cpp
64057 ac_cpp='$CXXCPP $CPPFLAGS'
64058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64063 /* end confdefs.h. */
64064 #include <math.h>
64065 #ifdef HAVE_IEEEFP_H
64066 #include <ieeefp.h>
64067 #endif
64070 main ()
64072 _isinfl(0);
64074 return 0;
64076 _ACEOF
64077 if ac_fn_cxx_try_compile "$LINENO"; then :
64078 glibcxx_cv_func__isinfl_use=yes
64079 else
64080 glibcxx_cv_func__isinfl_use=no
64082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64083 ac_ext=c
64084 ac_cpp='$CPP $CPPFLAGS'
64085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64094 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64096 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64097 for ac_func in _isinfl
64098 do :
64099 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64100 if test "x$ac_cv_func__isinfl" = x""yes; then :
64101 cat >>confdefs.h <<_ACEOF
64102 #define HAVE__ISINFL 1
64103 _ACEOF
64106 done
64115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64116 $as_echo_n "checking for atan2l declaration... " >&6; }
64117 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64118 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64119 $as_echo_n "(cached) " >&6
64120 else
64123 ac_ext=cpp
64124 ac_cpp='$CXXCPP $CPPFLAGS'
64125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64130 /* end confdefs.h. */
64131 #include <math.h>
64133 main ()
64135 atan2l(0, 0);
64137 return 0;
64139 _ACEOF
64140 if ac_fn_cxx_try_compile "$LINENO"; then :
64141 glibcxx_cv_func_atan2l_use=yes
64142 else
64143 glibcxx_cv_func_atan2l_use=no
64145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64146 ac_ext=c
64147 ac_cpp='$CPP $CPPFLAGS'
64148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64157 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64159 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64160 for ac_func in atan2l
64161 do :
64162 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64163 if test "x$ac_cv_func_atan2l" = x""yes; then :
64164 cat >>confdefs.h <<_ACEOF
64165 #define HAVE_ATAN2L 1
64166 _ACEOF
64169 done
64171 else
64173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64174 $as_echo_n "checking for _atan2l declaration... " >&6; }
64175 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64176 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64177 $as_echo_n "(cached) " >&6
64178 else
64181 ac_ext=cpp
64182 ac_cpp='$CXXCPP $CPPFLAGS'
64183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64188 /* end confdefs.h. */
64189 #include <math.h>
64191 main ()
64193 _atan2l(0, 0);
64195 return 0;
64197 _ACEOF
64198 if ac_fn_cxx_try_compile "$LINENO"; then :
64199 glibcxx_cv_func__atan2l_use=yes
64200 else
64201 glibcxx_cv_func__atan2l_use=no
64203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64204 ac_ext=c
64205 ac_cpp='$CPP $CPPFLAGS'
64206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64215 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64217 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64218 for ac_func in _atan2l
64219 do :
64220 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64221 if test "x$ac_cv_func__atan2l" = x""yes; then :
64222 cat >>confdefs.h <<_ACEOF
64223 #define HAVE__ATAN2L 1
64224 _ACEOF
64227 done
64236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64237 $as_echo_n "checking for expl declaration... " >&6; }
64238 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64239 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64240 $as_echo_n "(cached) " >&6
64241 else
64244 ac_ext=cpp
64245 ac_cpp='$CXXCPP $CPPFLAGS'
64246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64251 /* end confdefs.h. */
64252 #include <math.h>
64253 #ifdef HAVE_IEEEFP_H
64254 #include <ieeefp.h>
64255 #endif
64258 main ()
64260 expl(0);
64262 return 0;
64264 _ACEOF
64265 if ac_fn_cxx_try_compile "$LINENO"; then :
64266 glibcxx_cv_func_expl_use=yes
64267 else
64268 glibcxx_cv_func_expl_use=no
64270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64271 ac_ext=c
64272 ac_cpp='$CPP $CPPFLAGS'
64273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64282 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64284 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64285 for ac_func in expl
64286 do :
64287 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64288 if test "x$ac_cv_func_expl" = x""yes; then :
64289 cat >>confdefs.h <<_ACEOF
64290 #define HAVE_EXPL 1
64291 _ACEOF
64294 done
64296 else
64298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64299 $as_echo_n "checking for _expl declaration... " >&6; }
64300 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64301 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64302 $as_echo_n "(cached) " >&6
64303 else
64306 ac_ext=cpp
64307 ac_cpp='$CXXCPP $CPPFLAGS'
64308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64313 /* end confdefs.h. */
64314 #include <math.h>
64315 #ifdef HAVE_IEEEFP_H
64316 #include <ieeefp.h>
64317 #endif
64320 main ()
64322 _expl(0);
64324 return 0;
64326 _ACEOF
64327 if ac_fn_cxx_try_compile "$LINENO"; then :
64328 glibcxx_cv_func__expl_use=yes
64329 else
64330 glibcxx_cv_func__expl_use=no
64332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64333 ac_ext=c
64334 ac_cpp='$CPP $CPPFLAGS'
64335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64344 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64346 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64347 for ac_func in _expl
64348 do :
64349 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64350 if test "x$ac_cv_func__expl" = x""yes; then :
64351 cat >>confdefs.h <<_ACEOF
64352 #define HAVE__EXPL 1
64353 _ACEOF
64356 done
64365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64366 $as_echo_n "checking for fabsl declaration... " >&6; }
64367 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64368 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64369 $as_echo_n "(cached) " >&6
64370 else
64373 ac_ext=cpp
64374 ac_cpp='$CXXCPP $CPPFLAGS'
64375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64380 /* end confdefs.h. */
64381 #include <math.h>
64382 #ifdef HAVE_IEEEFP_H
64383 #include <ieeefp.h>
64384 #endif
64387 main ()
64389 fabsl(0);
64391 return 0;
64393 _ACEOF
64394 if ac_fn_cxx_try_compile "$LINENO"; then :
64395 glibcxx_cv_func_fabsl_use=yes
64396 else
64397 glibcxx_cv_func_fabsl_use=no
64399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64400 ac_ext=c
64401 ac_cpp='$CPP $CPPFLAGS'
64402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64411 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64413 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64414 for ac_func in fabsl
64415 do :
64416 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64417 if test "x$ac_cv_func_fabsl" = x""yes; then :
64418 cat >>confdefs.h <<_ACEOF
64419 #define HAVE_FABSL 1
64420 _ACEOF
64423 done
64425 else
64427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64428 $as_echo_n "checking for _fabsl declaration... " >&6; }
64429 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64430 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64431 $as_echo_n "(cached) " >&6
64432 else
64435 ac_ext=cpp
64436 ac_cpp='$CXXCPP $CPPFLAGS'
64437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64442 /* end confdefs.h. */
64443 #include <math.h>
64444 #ifdef HAVE_IEEEFP_H
64445 #include <ieeefp.h>
64446 #endif
64449 main ()
64451 _fabsl(0);
64453 return 0;
64455 _ACEOF
64456 if ac_fn_cxx_try_compile "$LINENO"; then :
64457 glibcxx_cv_func__fabsl_use=yes
64458 else
64459 glibcxx_cv_func__fabsl_use=no
64461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64462 ac_ext=c
64463 ac_cpp='$CPP $CPPFLAGS'
64464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64473 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64475 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64476 for ac_func in _fabsl
64477 do :
64478 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64479 if test "x$ac_cv_func__fabsl" = x""yes; then :
64480 cat >>confdefs.h <<_ACEOF
64481 #define HAVE__FABSL 1
64482 _ACEOF
64485 done
64494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64495 $as_echo_n "checking for fmodl declaration... " >&6; }
64496 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64497 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64498 $as_echo_n "(cached) " >&6
64499 else
64502 ac_ext=cpp
64503 ac_cpp='$CXXCPP $CPPFLAGS'
64504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64509 /* end confdefs.h. */
64510 #include <math.h>
64512 main ()
64514 fmodl(0, 0);
64516 return 0;
64518 _ACEOF
64519 if ac_fn_cxx_try_compile "$LINENO"; then :
64520 glibcxx_cv_func_fmodl_use=yes
64521 else
64522 glibcxx_cv_func_fmodl_use=no
64524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64525 ac_ext=c
64526 ac_cpp='$CPP $CPPFLAGS'
64527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64536 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64538 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64539 for ac_func in fmodl
64540 do :
64541 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64542 if test "x$ac_cv_func_fmodl" = x""yes; then :
64543 cat >>confdefs.h <<_ACEOF
64544 #define HAVE_FMODL 1
64545 _ACEOF
64548 done
64550 else
64552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64553 $as_echo_n "checking for _fmodl declaration... " >&6; }
64554 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64555 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64556 $as_echo_n "(cached) " >&6
64557 else
64560 ac_ext=cpp
64561 ac_cpp='$CXXCPP $CPPFLAGS'
64562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64567 /* end confdefs.h. */
64568 #include <math.h>
64570 main ()
64572 _fmodl(0, 0);
64574 return 0;
64576 _ACEOF
64577 if ac_fn_cxx_try_compile "$LINENO"; then :
64578 glibcxx_cv_func__fmodl_use=yes
64579 else
64580 glibcxx_cv_func__fmodl_use=no
64582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64583 ac_ext=c
64584 ac_cpp='$CPP $CPPFLAGS'
64585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64594 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64596 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64597 for ac_func in _fmodl
64598 do :
64599 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64600 if test "x$ac_cv_func__fmodl" = x""yes; then :
64601 cat >>confdefs.h <<_ACEOF
64602 #define HAVE__FMODL 1
64603 _ACEOF
64606 done
64615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64616 $as_echo_n "checking for frexpl declaration... " >&6; }
64617 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64618 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64619 $as_echo_n "(cached) " >&6
64620 else
64623 ac_ext=cpp
64624 ac_cpp='$CXXCPP $CPPFLAGS'
64625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64630 /* end confdefs.h. */
64631 #include <math.h>
64633 main ()
64635 frexpl(0, 0);
64637 return 0;
64639 _ACEOF
64640 if ac_fn_cxx_try_compile "$LINENO"; then :
64641 glibcxx_cv_func_frexpl_use=yes
64642 else
64643 glibcxx_cv_func_frexpl_use=no
64645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64646 ac_ext=c
64647 ac_cpp='$CPP $CPPFLAGS'
64648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64657 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64659 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64660 for ac_func in frexpl
64661 do :
64662 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64663 if test "x$ac_cv_func_frexpl" = x""yes; then :
64664 cat >>confdefs.h <<_ACEOF
64665 #define HAVE_FREXPL 1
64666 _ACEOF
64669 done
64671 else
64673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64674 $as_echo_n "checking for _frexpl declaration... " >&6; }
64675 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64676 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64677 $as_echo_n "(cached) " >&6
64678 else
64681 ac_ext=cpp
64682 ac_cpp='$CXXCPP $CPPFLAGS'
64683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64688 /* end confdefs.h. */
64689 #include <math.h>
64691 main ()
64693 _frexpl(0, 0);
64695 return 0;
64697 _ACEOF
64698 if ac_fn_cxx_try_compile "$LINENO"; then :
64699 glibcxx_cv_func__frexpl_use=yes
64700 else
64701 glibcxx_cv_func__frexpl_use=no
64703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64704 ac_ext=c
64705 ac_cpp='$CPP $CPPFLAGS'
64706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64715 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64717 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64718 for ac_func in _frexpl
64719 do :
64720 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64721 if test "x$ac_cv_func__frexpl" = x""yes; then :
64722 cat >>confdefs.h <<_ACEOF
64723 #define HAVE__FREXPL 1
64724 _ACEOF
64727 done
64736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64737 $as_echo_n "checking for hypotl declaration... " >&6; }
64738 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64739 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64740 $as_echo_n "(cached) " >&6
64741 else
64744 ac_ext=cpp
64745 ac_cpp='$CXXCPP $CPPFLAGS'
64746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64751 /* end confdefs.h. */
64752 #include <math.h>
64754 main ()
64756 hypotl(0, 0);
64758 return 0;
64760 _ACEOF
64761 if ac_fn_cxx_try_compile "$LINENO"; then :
64762 glibcxx_cv_func_hypotl_use=yes
64763 else
64764 glibcxx_cv_func_hypotl_use=no
64766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64767 ac_ext=c
64768 ac_cpp='$CPP $CPPFLAGS'
64769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64778 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64780 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64781 for ac_func in hypotl
64782 do :
64783 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64784 if test "x$ac_cv_func_hypotl" = x""yes; then :
64785 cat >>confdefs.h <<_ACEOF
64786 #define HAVE_HYPOTL 1
64787 _ACEOF
64790 done
64792 else
64794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64795 $as_echo_n "checking for _hypotl declaration... " >&6; }
64796 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64797 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64798 $as_echo_n "(cached) " >&6
64799 else
64802 ac_ext=cpp
64803 ac_cpp='$CXXCPP $CPPFLAGS'
64804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64809 /* end confdefs.h. */
64810 #include <math.h>
64812 main ()
64814 _hypotl(0, 0);
64816 return 0;
64818 _ACEOF
64819 if ac_fn_cxx_try_compile "$LINENO"; then :
64820 glibcxx_cv_func__hypotl_use=yes
64821 else
64822 glibcxx_cv_func__hypotl_use=no
64824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64825 ac_ext=c
64826 ac_cpp='$CPP $CPPFLAGS'
64827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64836 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64838 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64839 for ac_func in _hypotl
64840 do :
64841 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64842 if test "x$ac_cv_func__hypotl" = x""yes; then :
64843 cat >>confdefs.h <<_ACEOF
64844 #define HAVE__HYPOTL 1
64845 _ACEOF
64848 done
64857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64858 $as_echo_n "checking for ldexpl declaration... " >&6; }
64859 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64860 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64861 $as_echo_n "(cached) " >&6
64862 else
64865 ac_ext=cpp
64866 ac_cpp='$CXXCPP $CPPFLAGS'
64867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64872 /* end confdefs.h. */
64873 #include <math.h>
64875 main ()
64877 ldexpl(0, 0);
64879 return 0;
64881 _ACEOF
64882 if ac_fn_cxx_try_compile "$LINENO"; then :
64883 glibcxx_cv_func_ldexpl_use=yes
64884 else
64885 glibcxx_cv_func_ldexpl_use=no
64887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64888 ac_ext=c
64889 ac_cpp='$CPP $CPPFLAGS'
64890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64899 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64901 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64902 for ac_func in ldexpl
64903 do :
64904 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64905 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64906 cat >>confdefs.h <<_ACEOF
64907 #define HAVE_LDEXPL 1
64908 _ACEOF
64911 done
64913 else
64915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64916 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64917 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64918 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64919 $as_echo_n "(cached) " >&6
64920 else
64923 ac_ext=cpp
64924 ac_cpp='$CXXCPP $CPPFLAGS'
64925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64930 /* end confdefs.h. */
64931 #include <math.h>
64933 main ()
64935 _ldexpl(0, 0);
64937 return 0;
64939 _ACEOF
64940 if ac_fn_cxx_try_compile "$LINENO"; then :
64941 glibcxx_cv_func__ldexpl_use=yes
64942 else
64943 glibcxx_cv_func__ldexpl_use=no
64945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64946 ac_ext=c
64947 ac_cpp='$CPP $CPPFLAGS'
64948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64957 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64959 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64960 for ac_func in _ldexpl
64961 do :
64962 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64963 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64964 cat >>confdefs.h <<_ACEOF
64965 #define HAVE__LDEXPL 1
64966 _ACEOF
64969 done
64978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64979 $as_echo_n "checking for logl declaration... " >&6; }
64980 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64981 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64982 $as_echo_n "(cached) " >&6
64983 else
64986 ac_ext=cpp
64987 ac_cpp='$CXXCPP $CPPFLAGS'
64988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64993 /* end confdefs.h. */
64994 #include <math.h>
64995 #ifdef HAVE_IEEEFP_H
64996 #include <ieeefp.h>
64997 #endif
65000 main ()
65002 logl(0);
65004 return 0;
65006 _ACEOF
65007 if ac_fn_cxx_try_compile "$LINENO"; then :
65008 glibcxx_cv_func_logl_use=yes
65009 else
65010 glibcxx_cv_func_logl_use=no
65012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65013 ac_ext=c
65014 ac_cpp='$CPP $CPPFLAGS'
65015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65024 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65026 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65027 for ac_func in logl
65028 do :
65029 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65030 if test "x$ac_cv_func_logl" = x""yes; then :
65031 cat >>confdefs.h <<_ACEOF
65032 #define HAVE_LOGL 1
65033 _ACEOF
65036 done
65038 else
65040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65041 $as_echo_n "checking for _logl declaration... " >&6; }
65042 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65043 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65044 $as_echo_n "(cached) " >&6
65045 else
65048 ac_ext=cpp
65049 ac_cpp='$CXXCPP $CPPFLAGS'
65050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65055 /* end confdefs.h. */
65056 #include <math.h>
65057 #ifdef HAVE_IEEEFP_H
65058 #include <ieeefp.h>
65059 #endif
65062 main ()
65064 _logl(0);
65066 return 0;
65068 _ACEOF
65069 if ac_fn_cxx_try_compile "$LINENO"; then :
65070 glibcxx_cv_func__logl_use=yes
65071 else
65072 glibcxx_cv_func__logl_use=no
65074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65075 ac_ext=c
65076 ac_cpp='$CPP $CPPFLAGS'
65077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65086 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65088 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65089 for ac_func in _logl
65090 do :
65091 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65092 if test "x$ac_cv_func__logl" = x""yes; then :
65093 cat >>confdefs.h <<_ACEOF
65094 #define HAVE__LOGL 1
65095 _ACEOF
65098 done
65107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65108 $as_echo_n "checking for log10l declaration... " >&6; }
65109 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65110 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65111 $as_echo_n "(cached) " >&6
65112 else
65115 ac_ext=cpp
65116 ac_cpp='$CXXCPP $CPPFLAGS'
65117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65122 /* end confdefs.h. */
65123 #include <math.h>
65124 #ifdef HAVE_IEEEFP_H
65125 #include <ieeefp.h>
65126 #endif
65129 main ()
65131 log10l(0);
65133 return 0;
65135 _ACEOF
65136 if ac_fn_cxx_try_compile "$LINENO"; then :
65137 glibcxx_cv_func_log10l_use=yes
65138 else
65139 glibcxx_cv_func_log10l_use=no
65141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65142 ac_ext=c
65143 ac_cpp='$CPP $CPPFLAGS'
65144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65153 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65155 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65156 for ac_func in log10l
65157 do :
65158 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65159 if test "x$ac_cv_func_log10l" = x""yes; then :
65160 cat >>confdefs.h <<_ACEOF
65161 #define HAVE_LOG10L 1
65162 _ACEOF
65165 done
65167 else
65169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65170 $as_echo_n "checking for _log10l declaration... " >&6; }
65171 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65172 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65173 $as_echo_n "(cached) " >&6
65174 else
65177 ac_ext=cpp
65178 ac_cpp='$CXXCPP $CPPFLAGS'
65179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65184 /* end confdefs.h. */
65185 #include <math.h>
65186 #ifdef HAVE_IEEEFP_H
65187 #include <ieeefp.h>
65188 #endif
65191 main ()
65193 _log10l(0);
65195 return 0;
65197 _ACEOF
65198 if ac_fn_cxx_try_compile "$LINENO"; then :
65199 glibcxx_cv_func__log10l_use=yes
65200 else
65201 glibcxx_cv_func__log10l_use=no
65203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65204 ac_ext=c
65205 ac_cpp='$CPP $CPPFLAGS'
65206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65215 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65217 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65218 for ac_func in _log10l
65219 do :
65220 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65221 if test "x$ac_cv_func__log10l" = x""yes; then :
65222 cat >>confdefs.h <<_ACEOF
65223 #define HAVE__LOG10L 1
65224 _ACEOF
65227 done
65236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65237 $as_echo_n "checking for modfl declaration... " >&6; }
65238 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65239 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65240 $as_echo_n "(cached) " >&6
65241 else
65244 ac_ext=cpp
65245 ac_cpp='$CXXCPP $CPPFLAGS'
65246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65251 /* end confdefs.h. */
65252 #include <math.h>
65254 main ()
65256 modfl(0, 0);
65258 return 0;
65260 _ACEOF
65261 if ac_fn_cxx_try_compile "$LINENO"; then :
65262 glibcxx_cv_func_modfl_use=yes
65263 else
65264 glibcxx_cv_func_modfl_use=no
65266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65267 ac_ext=c
65268 ac_cpp='$CPP $CPPFLAGS'
65269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65278 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65280 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65281 for ac_func in modfl
65282 do :
65283 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65284 if test "x$ac_cv_func_modfl" = x""yes; then :
65285 cat >>confdefs.h <<_ACEOF
65286 #define HAVE_MODFL 1
65287 _ACEOF
65290 done
65292 else
65294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65295 $as_echo_n "checking for _modfl declaration... " >&6; }
65296 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65297 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65298 $as_echo_n "(cached) " >&6
65299 else
65302 ac_ext=cpp
65303 ac_cpp='$CXXCPP $CPPFLAGS'
65304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65309 /* end confdefs.h. */
65310 #include <math.h>
65312 main ()
65314 _modfl(0, 0);
65316 return 0;
65318 _ACEOF
65319 if ac_fn_cxx_try_compile "$LINENO"; then :
65320 glibcxx_cv_func__modfl_use=yes
65321 else
65322 glibcxx_cv_func__modfl_use=no
65324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65325 ac_ext=c
65326 ac_cpp='$CPP $CPPFLAGS'
65327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65336 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65338 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65339 for ac_func in _modfl
65340 do :
65341 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65342 if test "x$ac_cv_func__modfl" = x""yes; then :
65343 cat >>confdefs.h <<_ACEOF
65344 #define HAVE__MODFL 1
65345 _ACEOF
65348 done
65357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65358 $as_echo_n "checking for powl declaration... " >&6; }
65359 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65360 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65361 $as_echo_n "(cached) " >&6
65362 else
65365 ac_ext=cpp
65366 ac_cpp='$CXXCPP $CPPFLAGS'
65367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65372 /* end confdefs.h. */
65373 #include <math.h>
65375 main ()
65377 powl(0, 0);
65379 return 0;
65381 _ACEOF
65382 if ac_fn_cxx_try_compile "$LINENO"; then :
65383 glibcxx_cv_func_powl_use=yes
65384 else
65385 glibcxx_cv_func_powl_use=no
65387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65388 ac_ext=c
65389 ac_cpp='$CPP $CPPFLAGS'
65390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65399 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65401 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65402 for ac_func in powl
65403 do :
65404 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65405 if test "x$ac_cv_func_powl" = x""yes; then :
65406 cat >>confdefs.h <<_ACEOF
65407 #define HAVE_POWL 1
65408 _ACEOF
65411 done
65413 else
65415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65416 $as_echo_n "checking for _powl declaration... " >&6; }
65417 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65418 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65419 $as_echo_n "(cached) " >&6
65420 else
65423 ac_ext=cpp
65424 ac_cpp='$CXXCPP $CPPFLAGS'
65425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65430 /* end confdefs.h. */
65431 #include <math.h>
65433 main ()
65435 _powl(0, 0);
65437 return 0;
65439 _ACEOF
65440 if ac_fn_cxx_try_compile "$LINENO"; then :
65441 glibcxx_cv_func__powl_use=yes
65442 else
65443 glibcxx_cv_func__powl_use=no
65445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65446 ac_ext=c
65447 ac_cpp='$CPP $CPPFLAGS'
65448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65457 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65459 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65460 for ac_func in _powl
65461 do :
65462 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65463 if test "x$ac_cv_func__powl" = x""yes; then :
65464 cat >>confdefs.h <<_ACEOF
65465 #define HAVE__POWL 1
65466 _ACEOF
65469 done
65478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65479 $as_echo_n "checking for sqrtl declaration... " >&6; }
65480 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65481 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65482 $as_echo_n "(cached) " >&6
65483 else
65486 ac_ext=cpp
65487 ac_cpp='$CXXCPP $CPPFLAGS'
65488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65493 /* end confdefs.h. */
65494 #include <math.h>
65495 #ifdef HAVE_IEEEFP_H
65496 #include <ieeefp.h>
65497 #endif
65500 main ()
65502 sqrtl(0);
65504 return 0;
65506 _ACEOF
65507 if ac_fn_cxx_try_compile "$LINENO"; then :
65508 glibcxx_cv_func_sqrtl_use=yes
65509 else
65510 glibcxx_cv_func_sqrtl_use=no
65512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65513 ac_ext=c
65514 ac_cpp='$CPP $CPPFLAGS'
65515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65524 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65526 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65527 for ac_func in sqrtl
65528 do :
65529 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65530 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65531 cat >>confdefs.h <<_ACEOF
65532 #define HAVE_SQRTL 1
65533 _ACEOF
65536 done
65538 else
65540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65541 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65542 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65543 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65544 $as_echo_n "(cached) " >&6
65545 else
65548 ac_ext=cpp
65549 ac_cpp='$CXXCPP $CPPFLAGS'
65550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65555 /* end confdefs.h. */
65556 #include <math.h>
65557 #ifdef HAVE_IEEEFP_H
65558 #include <ieeefp.h>
65559 #endif
65562 main ()
65564 _sqrtl(0);
65566 return 0;
65568 _ACEOF
65569 if ac_fn_cxx_try_compile "$LINENO"; then :
65570 glibcxx_cv_func__sqrtl_use=yes
65571 else
65572 glibcxx_cv_func__sqrtl_use=no
65574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65575 ac_ext=c
65576 ac_cpp='$CPP $CPPFLAGS'
65577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65586 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65588 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65589 for ac_func in _sqrtl
65590 do :
65591 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65592 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65593 cat >>confdefs.h <<_ACEOF
65594 #define HAVE__SQRTL 1
65595 _ACEOF
65598 done
65607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65608 $as_echo_n "checking for sincosl declaration... " >&6; }
65609 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65610 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65611 $as_echo_n "(cached) " >&6
65612 else
65615 ac_ext=cpp
65616 ac_cpp='$CXXCPP $CPPFLAGS'
65617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65622 /* end confdefs.h. */
65623 #include <math.h>
65625 main ()
65627 sincosl(0, 0, 0);
65629 return 0;
65631 _ACEOF
65632 if ac_fn_cxx_try_compile "$LINENO"; then :
65633 glibcxx_cv_func_sincosl_use=yes
65634 else
65635 glibcxx_cv_func_sincosl_use=no
65637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65638 ac_ext=c
65639 ac_cpp='$CPP $CPPFLAGS'
65640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65649 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65651 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65652 for ac_func in sincosl
65653 do :
65654 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65655 if test "x$ac_cv_func_sincosl" = x""yes; then :
65656 cat >>confdefs.h <<_ACEOF
65657 #define HAVE_SINCOSL 1
65658 _ACEOF
65661 done
65663 else
65665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65666 $as_echo_n "checking for _sincosl declaration... " >&6; }
65667 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65668 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65669 $as_echo_n "(cached) " >&6
65670 else
65673 ac_ext=cpp
65674 ac_cpp='$CXXCPP $CPPFLAGS'
65675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65680 /* end confdefs.h. */
65681 #include <math.h>
65683 main ()
65685 _sincosl(0, 0, 0);
65687 return 0;
65689 _ACEOF
65690 if ac_fn_cxx_try_compile "$LINENO"; then :
65691 glibcxx_cv_func__sincosl_use=yes
65692 else
65693 glibcxx_cv_func__sincosl_use=no
65695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65696 ac_ext=c
65697 ac_cpp='$CPP $CPPFLAGS'
65698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65707 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65709 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65710 for ac_func in _sincosl
65711 do :
65712 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65713 if test "x$ac_cv_func__sincosl" = x""yes; then :
65714 cat >>confdefs.h <<_ACEOF
65715 #define HAVE__SINCOSL 1
65716 _ACEOF
65719 done
65728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65729 $as_echo_n "checking for finitel declaration... " >&6; }
65730 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65731 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65732 $as_echo_n "(cached) " >&6
65733 else
65736 ac_ext=cpp
65737 ac_cpp='$CXXCPP $CPPFLAGS'
65738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65743 /* end confdefs.h. */
65744 #include <math.h>
65745 #ifdef HAVE_IEEEFP_H
65746 #include <ieeefp.h>
65747 #endif
65750 main ()
65752 finitel(0);
65754 return 0;
65756 _ACEOF
65757 if ac_fn_cxx_try_compile "$LINENO"; then :
65758 glibcxx_cv_func_finitel_use=yes
65759 else
65760 glibcxx_cv_func_finitel_use=no
65762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65763 ac_ext=c
65764 ac_cpp='$CPP $CPPFLAGS'
65765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65774 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65776 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65777 for ac_func in finitel
65778 do :
65779 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65780 if test "x$ac_cv_func_finitel" = x""yes; then :
65781 cat >>confdefs.h <<_ACEOF
65782 #define HAVE_FINITEL 1
65783 _ACEOF
65786 done
65788 else
65790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65791 $as_echo_n "checking for _finitel declaration... " >&6; }
65792 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65793 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65794 $as_echo_n "(cached) " >&6
65795 else
65798 ac_ext=cpp
65799 ac_cpp='$CXXCPP $CPPFLAGS'
65800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65805 /* end confdefs.h. */
65806 #include <math.h>
65807 #ifdef HAVE_IEEEFP_H
65808 #include <ieeefp.h>
65809 #endif
65812 main ()
65814 _finitel(0);
65816 return 0;
65818 _ACEOF
65819 if ac_fn_cxx_try_compile "$LINENO"; then :
65820 glibcxx_cv_func__finitel_use=yes
65821 else
65822 glibcxx_cv_func__finitel_use=no
65824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65825 ac_ext=c
65826 ac_cpp='$CPP $CPPFLAGS'
65827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65836 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65838 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65839 for ac_func in _finitel
65840 do :
65841 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65842 if test "x$ac_cv_func__finitel" = x""yes; then :
65843 cat >>confdefs.h <<_ACEOF
65844 #define HAVE__FINITEL 1
65845 _ACEOF
65848 done
65856 LIBS="$ac_save_LIBS"
65857 CXXFLAGS="$ac_save_CXXFLAGS"
65860 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65861 ac_save_CXXFLAGS="$CXXFLAGS"
65862 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65866 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65867 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65868 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65869 $as_echo_n "(cached) " >&6
65870 else
65873 ac_ext=cpp
65874 ac_cpp='$CXXCPP $CPPFLAGS'
65875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65880 /* end confdefs.h. */
65881 #include <stdlib.h>
65883 main ()
65885 at_quick_exit(0);
65887 return 0;
65889 _ACEOF
65890 if ac_fn_cxx_try_compile "$LINENO"; then :
65891 glibcxx_cv_func_at_quick_exit_use=yes
65892 else
65893 glibcxx_cv_func_at_quick_exit_use=no
65895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65896 ac_ext=c
65897 ac_cpp='$CPP $CPPFLAGS'
65898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65907 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65908 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65909 for ac_func in at_quick_exit
65910 do :
65911 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65912 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65913 cat >>confdefs.h <<_ACEOF
65914 #define HAVE_AT_QUICK_EXIT 1
65915 _ACEOF
65918 done
65923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65924 $as_echo_n "checking for quick_exit declaration... " >&6; }
65925 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65926 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65927 $as_echo_n "(cached) " >&6
65928 else
65931 ac_ext=cpp
65932 ac_cpp='$CXXCPP $CPPFLAGS'
65933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65938 /* end confdefs.h. */
65939 #include <stdlib.h>
65941 main ()
65943 quick_exit(0);
65945 return 0;
65947 _ACEOF
65948 if ac_fn_cxx_try_compile "$LINENO"; then :
65949 glibcxx_cv_func_quick_exit_use=yes
65950 else
65951 glibcxx_cv_func_quick_exit_use=no
65953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65954 ac_ext=c
65955 ac_cpp='$CPP $CPPFLAGS'
65956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65965 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65966 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65967 for ac_func in quick_exit
65968 do :
65969 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65970 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65971 cat >>confdefs.h <<_ACEOF
65972 #define HAVE_QUICK_EXIT 1
65973 _ACEOF
65976 done
65981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65982 $as_echo_n "checking for strtold declaration... " >&6; }
65983 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65984 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65985 $as_echo_n "(cached) " >&6
65986 else
65989 ac_ext=cpp
65990 ac_cpp='$CXXCPP $CPPFLAGS'
65991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65996 /* end confdefs.h. */
65997 #include <stdlib.h>
65999 main ()
66001 strtold(0, 0);
66003 return 0;
66005 _ACEOF
66006 if ac_fn_cxx_try_compile "$LINENO"; then :
66007 glibcxx_cv_func_strtold_use=yes
66008 else
66009 glibcxx_cv_func_strtold_use=no
66011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66012 ac_ext=c
66013 ac_cpp='$CPP $CPPFLAGS'
66014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66023 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66024 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66025 for ac_func in strtold
66026 do :
66027 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66028 if test "x$ac_cv_func_strtold" = x""yes; then :
66029 cat >>confdefs.h <<_ACEOF
66030 #define HAVE_STRTOLD 1
66031 _ACEOF
66034 done
66041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66042 $as_echo_n "checking for strtof declaration... " >&6; }
66043 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66044 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66045 $as_echo_n "(cached) " >&6
66046 else
66049 ac_ext=cpp
66050 ac_cpp='$CXXCPP $CPPFLAGS'
66051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66056 /* end confdefs.h. */
66057 #include <stdlib.h>
66059 main ()
66061 strtof(0, 0);
66063 return 0;
66065 _ACEOF
66066 if ac_fn_cxx_try_compile "$LINENO"; then :
66067 glibcxx_cv_func_strtof_use=yes
66068 else
66069 glibcxx_cv_func_strtof_use=no
66071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66072 ac_ext=c
66073 ac_cpp='$CPP $CPPFLAGS'
66074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66083 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66084 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66085 for ac_func in strtof
66086 do :
66087 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66088 if test "x$ac_cv_func_strtof" = x""yes; then :
66089 cat >>confdefs.h <<_ACEOF
66090 #define HAVE_STRTOF 1
66091 _ACEOF
66094 done
66101 CXXFLAGS="$ac_save_CXXFLAGS"
66104 *-netbsd*)
66105 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66108 # If we're not using GNU ld, then there's no point in even trying these
66109 # tests. Check for that first. We should have already tested for gld
66110 # by now (in libtool), but require it now just to be safe...
66111 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66112 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66116 # The name set by libtool depends on the version of libtool. Shame on us
66117 # for depending on an impl detail, but c'est la vie. Older versions used
66118 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66119 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66120 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66121 # set (hence we're using an older libtool), then set it.
66122 if test x${with_gnu_ld+set} != xset; then
66123 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66124 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66125 with_gnu_ld=no
66126 else
66127 with_gnu_ld=$ac_cv_prog_gnu_ld
66131 # Start by getting the version number. I think the libtool test already
66132 # does some of this, but throws away the result.
66133 glibcxx_ld_is_gold=no
66134 if test x"$with_gnu_ld" = x"yes"; then
66135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66136 $as_echo_n "checking for ld version... " >&6; }
66138 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66139 glibcxx_ld_is_gold=yes
66141 ldver=`$LD --version 2>/dev/null |
66142 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'`
66144 glibcxx_gnu_ld_version=`echo $ldver | \
66145 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66147 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66150 # Set --gc-sections.
66151 glibcxx_have_gc_sections=no
66152 if test "$glibcxx_ld_is_gold" = "yes"; then
66153 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66154 glibcxx_have_gc_sections=yes
66156 else
66157 glibcxx_gcsections_min_ld=21602
66158 if test x"$with_gnu_ld" = x"yes" &&
66159 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66160 glibcxx_have_gc_sections=yes
66163 if test "$glibcxx_have_gc_sections" = "yes"; then
66164 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66165 # NB: This flag only works reliably after 2.16.1. Configure tests
66166 # for this are difficult, so hard wire a value that should work.
66168 ac_test_CFLAGS="${CFLAGS+set}"
66169 ac_save_CFLAGS="$CFLAGS"
66170 CFLAGS='-Wl,--gc-sections'
66172 # Check for -Wl,--gc-sections
66173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66174 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66175 if test x$gcc_no_link = xyes; then
66176 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66179 /* end confdefs.h. */
66180 int one(void) { return 1; }
66181 int two(void) { return 2; }
66184 main ()
66186 two();
66188 return 0;
66190 _ACEOF
66191 if ac_fn_c_try_link "$LINENO"; then :
66192 ac_gcsections=yes
66193 else
66194 ac_gcsections=no
66196 rm -f core conftest.err conftest.$ac_objext \
66197 conftest$ac_exeext conftest.$ac_ext
66198 if test "$ac_gcsections" = "yes"; then
66199 rm -f conftest.c
66200 touch conftest.c
66201 if $CC -c conftest.c; then
66202 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66203 grep "Warning: gc-sections option ignored" > /dev/null; then
66204 ac_gcsections=no
66207 rm -f conftest.c conftest.o conftest
66209 if test "$ac_gcsections" = "yes"; then
66210 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66213 $as_echo "$ac_gcsections" >&6; }
66215 if test "$ac_test_CFLAGS" = set; then
66216 CFLAGS="$ac_save_CFLAGS"
66217 else
66218 # this is the suspicious part
66219 CFLAGS=''
66223 # Set -z,relro.
66224 # Note this is only for shared objects.
66225 ac_ld_relro=no
66226 if test x"$with_gnu_ld" = x"yes"; then
66227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66228 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66229 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66230 if test -n "$cxx_z_relo"; then
66231 OPT_LDFLAGS="-Wl,-z,relro"
66232 ac_ld_relro=yes
66234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66235 $as_echo "$ac_ld_relro" >&6; }
66238 # Set linker optimization flags.
66239 if test x"$with_gnu_ld" = x"yes"; then
66240 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66246 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66248 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66250 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66252 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66254 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66256 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66258 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66260 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66262 if test x"long_double_math_on_this_cpu" = x"yes"; then
66263 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66265 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66267 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66271 *-qnx6.1* | *-qnx6.2*)
66272 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66275 # If we're not using GNU ld, then there's no point in even trying these
66276 # tests. Check for that first. We should have already tested for gld
66277 # by now (in libtool), but require it now just to be safe...
66278 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66279 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66283 # The name set by libtool depends on the version of libtool. Shame on us
66284 # for depending on an impl detail, but c'est la vie. Older versions used
66285 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66286 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66287 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66288 # set (hence we're using an older libtool), then set it.
66289 if test x${with_gnu_ld+set} != xset; then
66290 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66291 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66292 with_gnu_ld=no
66293 else
66294 with_gnu_ld=$ac_cv_prog_gnu_ld
66298 # Start by getting the version number. I think the libtool test already
66299 # does some of this, but throws away the result.
66300 glibcxx_ld_is_gold=no
66301 if test x"$with_gnu_ld" = x"yes"; then
66302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66303 $as_echo_n "checking for ld version... " >&6; }
66305 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66306 glibcxx_ld_is_gold=yes
66308 ldver=`$LD --version 2>/dev/null |
66309 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'`
66311 glibcxx_gnu_ld_version=`echo $ldver | \
66312 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66314 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66317 # Set --gc-sections.
66318 glibcxx_have_gc_sections=no
66319 if test "$glibcxx_ld_is_gold" = "yes"; then
66320 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66321 glibcxx_have_gc_sections=yes
66323 else
66324 glibcxx_gcsections_min_ld=21602
66325 if test x"$with_gnu_ld" = x"yes" &&
66326 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66327 glibcxx_have_gc_sections=yes
66330 if test "$glibcxx_have_gc_sections" = "yes"; then
66331 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66332 # NB: This flag only works reliably after 2.16.1. Configure tests
66333 # for this are difficult, so hard wire a value that should work.
66335 ac_test_CFLAGS="${CFLAGS+set}"
66336 ac_save_CFLAGS="$CFLAGS"
66337 CFLAGS='-Wl,--gc-sections'
66339 # Check for -Wl,--gc-sections
66340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66341 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66342 if test x$gcc_no_link = xyes; then
66343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66346 /* end confdefs.h. */
66347 int one(void) { return 1; }
66348 int two(void) { return 2; }
66351 main ()
66353 two();
66355 return 0;
66357 _ACEOF
66358 if ac_fn_c_try_link "$LINENO"; then :
66359 ac_gcsections=yes
66360 else
66361 ac_gcsections=no
66363 rm -f core conftest.err conftest.$ac_objext \
66364 conftest$ac_exeext conftest.$ac_ext
66365 if test "$ac_gcsections" = "yes"; then
66366 rm -f conftest.c
66367 touch conftest.c
66368 if $CC -c conftest.c; then
66369 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66370 grep "Warning: gc-sections option ignored" > /dev/null; then
66371 ac_gcsections=no
66374 rm -f conftest.c conftest.o conftest
66376 if test "$ac_gcsections" = "yes"; then
66377 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66380 $as_echo "$ac_gcsections" >&6; }
66382 if test "$ac_test_CFLAGS" = set; then
66383 CFLAGS="$ac_save_CFLAGS"
66384 else
66385 # this is the suspicious part
66386 CFLAGS=''
66390 # Set -z,relro.
66391 # Note this is only for shared objects.
66392 ac_ld_relro=no
66393 if test x"$with_gnu_ld" = x"yes"; then
66394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66395 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66396 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66397 if test -n "$cxx_z_relo"; then
66398 OPT_LDFLAGS="-Wl,-z,relro"
66399 ac_ld_relro=yes
66401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66402 $as_echo "$ac_ld_relro" >&6; }
66405 # Set linker optimization flags.
66406 if test x"$with_gnu_ld" = x"yes"; then
66407 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66413 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66415 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66417 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66419 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66421 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66423 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66425 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66427 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66429 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66431 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66433 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66435 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66438 *-rtems*)
66440 # All these tests are for C++; save the language and the compiler flags.
66441 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66442 # found in GLIBCXX_CONFIGURE.
66444 ac_ext=cpp
66445 ac_cpp='$CXXCPP $CPPFLAGS'
66446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66450 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66451 ac_save_CXXFLAGS="$CXXFLAGS"
66453 # Check for maintainer-mode bits.
66454 if test x"$USE_MAINTAINER_MODE" = xno; then
66455 WERROR=''
66456 else
66457 WERROR='-Werror'
66460 # Check for -ffunction-sections -fdata-sections
66461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66462 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66463 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66465 /* end confdefs.h. */
66466 int foo; void bar() { };
66468 main ()
66472 return 0;
66474 _ACEOF
66475 if ac_fn_cxx_try_compile "$LINENO"; then :
66476 ac_fdsections=yes
66477 else
66478 ac_fdsections=no
66480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66481 if test "$ac_test_CXXFLAGS" = set; then
66482 CXXFLAGS="$ac_save_CXXFLAGS"
66483 else
66484 # this is the suspicious part
66485 CXXFLAGS=''
66487 if test x"$ac_fdsections" = x"yes"; then
66488 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66491 $as_echo "$ac_fdsections" >&6; }
66493 ac_ext=c
66494 ac_cpp='$CPP $CPPFLAGS'
66495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66503 # If we're not using GNU ld, then there's no point in even trying these
66504 # tests. Check for that first. We should have already tested for gld
66505 # by now (in libtool), but require it now just to be safe...
66506 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66507 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66511 # The name set by libtool depends on the version of libtool. Shame on us
66512 # for depending on an impl detail, but c'est la vie. Older versions used
66513 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66514 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66515 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66516 # set (hence we're using an older libtool), then set it.
66517 if test x${with_gnu_ld+set} != xset; then
66518 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66519 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66520 with_gnu_ld=no
66521 else
66522 with_gnu_ld=$ac_cv_prog_gnu_ld
66526 # Start by getting the version number. I think the libtool test already
66527 # does some of this, but throws away the result.
66528 glibcxx_ld_is_gold=no
66529 if test x"$with_gnu_ld" = x"yes"; then
66530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66531 $as_echo_n "checking for ld version... " >&6; }
66533 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66534 glibcxx_ld_is_gold=yes
66536 ldver=`$LD --version 2>/dev/null |
66537 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'`
66539 glibcxx_gnu_ld_version=`echo $ldver | \
66540 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66542 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66545 # Set --gc-sections.
66546 glibcxx_have_gc_sections=no
66547 if test "$glibcxx_ld_is_gold" = "yes"; then
66548 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66549 glibcxx_have_gc_sections=yes
66551 else
66552 glibcxx_gcsections_min_ld=21602
66553 if test x"$with_gnu_ld" = x"yes" &&
66554 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66555 glibcxx_have_gc_sections=yes
66558 if test "$glibcxx_have_gc_sections" = "yes"; then
66559 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66560 # NB: This flag only works reliably after 2.16.1. Configure tests
66561 # for this are difficult, so hard wire a value that should work.
66563 ac_test_CFLAGS="${CFLAGS+set}"
66564 ac_save_CFLAGS="$CFLAGS"
66565 CFLAGS='-Wl,--gc-sections'
66567 # Check for -Wl,--gc-sections
66568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66569 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66570 if test x$gcc_no_link = xyes; then
66571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66574 /* end confdefs.h. */
66575 int one(void) { return 1; }
66576 int two(void) { return 2; }
66579 main ()
66581 two();
66583 return 0;
66585 _ACEOF
66586 if ac_fn_c_try_link "$LINENO"; then :
66587 ac_gcsections=yes
66588 else
66589 ac_gcsections=no
66591 rm -f core conftest.err conftest.$ac_objext \
66592 conftest$ac_exeext conftest.$ac_ext
66593 if test "$ac_gcsections" = "yes"; then
66594 rm -f conftest.c
66595 touch conftest.c
66596 if $CC -c conftest.c; then
66597 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66598 grep "Warning: gc-sections option ignored" > /dev/null; then
66599 ac_gcsections=no
66602 rm -f conftest.c conftest.o conftest
66604 if test "$ac_gcsections" = "yes"; then
66605 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66608 $as_echo "$ac_gcsections" >&6; }
66610 if test "$ac_test_CFLAGS" = set; then
66611 CFLAGS="$ac_save_CFLAGS"
66612 else
66613 # this is the suspicious part
66614 CFLAGS=''
66618 # Set -z,relro.
66619 # Note this is only for shared objects.
66620 ac_ld_relro=no
66621 if test x"$with_gnu_ld" = x"yes"; then
66622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66623 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66624 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66625 if test -n "$cxx_z_relo"; then
66626 OPT_LDFLAGS="-Wl,-z,relro"
66627 ac_ld_relro=yes
66629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66630 $as_echo "$ac_ld_relro" >&6; }
66633 # Set linker optimization flags.
66634 if test x"$with_gnu_ld" = x"yes"; then
66635 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66642 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66643 ac_save_CXXFLAGS="$CXXFLAGS"
66644 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66647 $as_echo_n "checking for sin in -lm... " >&6; }
66648 if test "${ac_cv_lib_m_sin+set}" = set; then :
66649 $as_echo_n "(cached) " >&6
66650 else
66651 ac_check_lib_save_LIBS=$LIBS
66652 LIBS="-lm $LIBS"
66653 if test x$gcc_no_link = xyes; then
66654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66657 /* end confdefs.h. */
66659 /* Override any GCC internal prototype to avoid an error.
66660 Use char because int might match the return type of a GCC
66661 builtin and then its argument prototype would still apply. */
66662 #ifdef __cplusplus
66663 extern "C"
66664 #endif
66665 char sin ();
66667 main ()
66669 return sin ();
66671 return 0;
66673 _ACEOF
66674 if ac_fn_c_try_link "$LINENO"; then :
66675 ac_cv_lib_m_sin=yes
66676 else
66677 ac_cv_lib_m_sin=no
66679 rm -f core conftest.err conftest.$ac_objext \
66680 conftest$ac_exeext conftest.$ac_ext
66681 LIBS=$ac_check_lib_save_LIBS
66683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66684 $as_echo "$ac_cv_lib_m_sin" >&6; }
66685 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66686 libm="-lm"
66689 ac_save_LIBS="$LIBS"
66690 LIBS="$LIBS $libm"
66694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66695 $as_echo_n "checking for isinf declaration... " >&6; }
66696 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66697 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66698 $as_echo_n "(cached) " >&6
66699 else
66702 ac_ext=cpp
66703 ac_cpp='$CXXCPP $CPPFLAGS'
66704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66709 /* end confdefs.h. */
66710 #include <math.h>
66711 #ifdef HAVE_IEEEFP_H
66712 #include <ieeefp.h>
66713 #endif
66716 main ()
66718 isinf(0);
66720 return 0;
66722 _ACEOF
66723 if ac_fn_cxx_try_compile "$LINENO"; then :
66724 glibcxx_cv_func_isinf_use=yes
66725 else
66726 glibcxx_cv_func_isinf_use=no
66728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66729 ac_ext=c
66730 ac_cpp='$CPP $CPPFLAGS'
66731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66740 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66742 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66743 for ac_func in isinf
66744 do :
66745 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66746 if test "x$ac_cv_func_isinf" = x""yes; then :
66747 cat >>confdefs.h <<_ACEOF
66748 #define HAVE_ISINF 1
66749 _ACEOF
66752 done
66754 else
66756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66757 $as_echo_n "checking for _isinf declaration... " >&6; }
66758 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66759 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66760 $as_echo_n "(cached) " >&6
66761 else
66764 ac_ext=cpp
66765 ac_cpp='$CXXCPP $CPPFLAGS'
66766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66771 /* end confdefs.h. */
66772 #include <math.h>
66773 #ifdef HAVE_IEEEFP_H
66774 #include <ieeefp.h>
66775 #endif
66778 main ()
66780 _isinf(0);
66782 return 0;
66784 _ACEOF
66785 if ac_fn_cxx_try_compile "$LINENO"; then :
66786 glibcxx_cv_func__isinf_use=yes
66787 else
66788 glibcxx_cv_func__isinf_use=no
66790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66791 ac_ext=c
66792 ac_cpp='$CPP $CPPFLAGS'
66793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66802 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66804 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66805 for ac_func in _isinf
66806 do :
66807 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66808 if test "x$ac_cv_func__isinf" = x""yes; then :
66809 cat >>confdefs.h <<_ACEOF
66810 #define HAVE__ISINF 1
66811 _ACEOF
66814 done
66823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66824 $as_echo_n "checking for isnan declaration... " >&6; }
66825 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66826 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66827 $as_echo_n "(cached) " >&6
66828 else
66831 ac_ext=cpp
66832 ac_cpp='$CXXCPP $CPPFLAGS'
66833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66838 /* end confdefs.h. */
66839 #include <math.h>
66840 #ifdef HAVE_IEEEFP_H
66841 #include <ieeefp.h>
66842 #endif
66845 main ()
66847 isnan(0);
66849 return 0;
66851 _ACEOF
66852 if ac_fn_cxx_try_compile "$LINENO"; then :
66853 glibcxx_cv_func_isnan_use=yes
66854 else
66855 glibcxx_cv_func_isnan_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_isnan_use" >&5
66869 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66871 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66872 for ac_func in isnan
66873 do :
66874 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66875 if test "x$ac_cv_func_isnan" = x""yes; then :
66876 cat >>confdefs.h <<_ACEOF
66877 #define HAVE_ISNAN 1
66878 _ACEOF
66881 done
66883 else
66885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66886 $as_echo_n "checking for _isnan declaration... " >&6; }
66887 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66888 if test "${glibcxx_cv_func__isnan_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>
66902 #ifdef HAVE_IEEEFP_H
66903 #include <ieeefp.h>
66904 #endif
66907 main ()
66909 _isnan(0);
66911 return 0;
66913 _ACEOF
66914 if ac_fn_cxx_try_compile "$LINENO"; then :
66915 glibcxx_cv_func__isnan_use=yes
66916 else
66917 glibcxx_cv_func__isnan_use=no
66919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66920 ac_ext=c
66921 ac_cpp='$CPP $CPPFLAGS'
66922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66931 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66933 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66934 for ac_func in _isnan
66935 do :
66936 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66937 if test "x$ac_cv_func__isnan" = x""yes; then :
66938 cat >>confdefs.h <<_ACEOF
66939 #define HAVE__ISNAN 1
66940 _ACEOF
66943 done
66952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66953 $as_echo_n "checking for finite declaration... " >&6; }
66954 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66955 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66956 $as_echo_n "(cached) " >&6
66957 else
66960 ac_ext=cpp
66961 ac_cpp='$CXXCPP $CPPFLAGS'
66962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66967 /* end confdefs.h. */
66968 #include <math.h>
66969 #ifdef HAVE_IEEEFP_H
66970 #include <ieeefp.h>
66971 #endif
66974 main ()
66976 finite(0);
66978 return 0;
66980 _ACEOF
66981 if ac_fn_cxx_try_compile "$LINENO"; then :
66982 glibcxx_cv_func_finite_use=yes
66983 else
66984 glibcxx_cv_func_finite_use=no
66986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66987 ac_ext=c
66988 ac_cpp='$CPP $CPPFLAGS'
66989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66998 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67000 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67001 for ac_func in finite
67002 do :
67003 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67004 if test "x$ac_cv_func_finite" = x""yes; then :
67005 cat >>confdefs.h <<_ACEOF
67006 #define HAVE_FINITE 1
67007 _ACEOF
67010 done
67012 else
67014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67015 $as_echo_n "checking for _finite declaration... " >&6; }
67016 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67017 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67018 $as_echo_n "(cached) " >&6
67019 else
67022 ac_ext=cpp
67023 ac_cpp='$CXXCPP $CPPFLAGS'
67024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67029 /* end confdefs.h. */
67030 #include <math.h>
67031 #ifdef HAVE_IEEEFP_H
67032 #include <ieeefp.h>
67033 #endif
67036 main ()
67038 _finite(0);
67040 return 0;
67042 _ACEOF
67043 if ac_fn_cxx_try_compile "$LINENO"; then :
67044 glibcxx_cv_func__finite_use=yes
67045 else
67046 glibcxx_cv_func__finite_use=no
67048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67049 ac_ext=c
67050 ac_cpp='$CPP $CPPFLAGS'
67051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67060 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67062 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67063 for ac_func in _finite
67064 do :
67065 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67066 if test "x$ac_cv_func__finite" = x""yes; then :
67067 cat >>confdefs.h <<_ACEOF
67068 #define HAVE__FINITE 1
67069 _ACEOF
67072 done
67081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67082 $as_echo_n "checking for sincos declaration... " >&6; }
67083 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67084 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67085 $as_echo_n "(cached) " >&6
67086 else
67089 ac_ext=cpp
67090 ac_cpp='$CXXCPP $CPPFLAGS'
67091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67096 /* end confdefs.h. */
67097 #include <math.h>
67099 main ()
67101 sincos(0, 0, 0);
67103 return 0;
67105 _ACEOF
67106 if ac_fn_cxx_try_compile "$LINENO"; then :
67107 glibcxx_cv_func_sincos_use=yes
67108 else
67109 glibcxx_cv_func_sincos_use=no
67111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67112 ac_ext=c
67113 ac_cpp='$CPP $CPPFLAGS'
67114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67123 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67125 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67126 for ac_func in sincos
67127 do :
67128 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67129 if test "x$ac_cv_func_sincos" = x""yes; then :
67130 cat >>confdefs.h <<_ACEOF
67131 #define HAVE_SINCOS 1
67132 _ACEOF
67135 done
67137 else
67139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67140 $as_echo_n "checking for _sincos declaration... " >&6; }
67141 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67142 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67143 $as_echo_n "(cached) " >&6
67144 else
67147 ac_ext=cpp
67148 ac_cpp='$CXXCPP $CPPFLAGS'
67149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67154 /* end confdefs.h. */
67155 #include <math.h>
67157 main ()
67159 _sincos(0, 0, 0);
67161 return 0;
67163 _ACEOF
67164 if ac_fn_cxx_try_compile "$LINENO"; then :
67165 glibcxx_cv_func__sincos_use=yes
67166 else
67167 glibcxx_cv_func__sincos_use=no
67169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67170 ac_ext=c
67171 ac_cpp='$CPP $CPPFLAGS'
67172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67181 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67183 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67184 for ac_func in _sincos
67185 do :
67186 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67187 if test "x$ac_cv_func__sincos" = x""yes; then :
67188 cat >>confdefs.h <<_ACEOF
67189 #define HAVE__SINCOS 1
67190 _ACEOF
67193 done
67202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67203 $as_echo_n "checking for fpclass declaration... " >&6; }
67204 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67205 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67206 $as_echo_n "(cached) " >&6
67207 else
67210 ac_ext=cpp
67211 ac_cpp='$CXXCPP $CPPFLAGS'
67212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67217 /* end confdefs.h. */
67218 #include <math.h>
67219 #ifdef HAVE_IEEEFP_H
67220 #include <ieeefp.h>
67221 #endif
67224 main ()
67226 fpclass(0);
67228 return 0;
67230 _ACEOF
67231 if ac_fn_cxx_try_compile "$LINENO"; then :
67232 glibcxx_cv_func_fpclass_use=yes
67233 else
67234 glibcxx_cv_func_fpclass_use=no
67236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67237 ac_ext=c
67238 ac_cpp='$CPP $CPPFLAGS'
67239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67248 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67250 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67251 for ac_func in fpclass
67252 do :
67253 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67254 if test "x$ac_cv_func_fpclass" = x""yes; then :
67255 cat >>confdefs.h <<_ACEOF
67256 #define HAVE_FPCLASS 1
67257 _ACEOF
67260 done
67262 else
67264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67265 $as_echo_n "checking for _fpclass declaration... " >&6; }
67266 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67267 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67268 $as_echo_n "(cached) " >&6
67269 else
67272 ac_ext=cpp
67273 ac_cpp='$CXXCPP $CPPFLAGS'
67274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67279 /* end confdefs.h. */
67280 #include <math.h>
67281 #ifdef HAVE_IEEEFP_H
67282 #include <ieeefp.h>
67283 #endif
67286 main ()
67288 _fpclass(0);
67290 return 0;
67292 _ACEOF
67293 if ac_fn_cxx_try_compile "$LINENO"; then :
67294 glibcxx_cv_func__fpclass_use=yes
67295 else
67296 glibcxx_cv_func__fpclass_use=no
67298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67299 ac_ext=c
67300 ac_cpp='$CPP $CPPFLAGS'
67301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67310 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67312 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67313 for ac_func in _fpclass
67314 do :
67315 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67316 if test "x$ac_cv_func__fpclass" = x""yes; then :
67317 cat >>confdefs.h <<_ACEOF
67318 #define HAVE__FPCLASS 1
67319 _ACEOF
67322 done
67331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67332 $as_echo_n "checking for qfpclass declaration... " >&6; }
67333 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67334 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67335 $as_echo_n "(cached) " >&6
67336 else
67339 ac_ext=cpp
67340 ac_cpp='$CXXCPP $CPPFLAGS'
67341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67346 /* end confdefs.h. */
67347 #include <math.h>
67348 #ifdef HAVE_IEEEFP_H
67349 #include <ieeefp.h>
67350 #endif
67353 main ()
67355 qfpclass(0);
67357 return 0;
67359 _ACEOF
67360 if ac_fn_cxx_try_compile "$LINENO"; then :
67361 glibcxx_cv_func_qfpclass_use=yes
67362 else
67363 glibcxx_cv_func_qfpclass_use=no
67365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67366 ac_ext=c
67367 ac_cpp='$CPP $CPPFLAGS'
67368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67377 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67379 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67380 for ac_func in qfpclass
67381 do :
67382 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67383 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67384 cat >>confdefs.h <<_ACEOF
67385 #define HAVE_QFPCLASS 1
67386 _ACEOF
67389 done
67391 else
67393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67394 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67395 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67396 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67397 $as_echo_n "(cached) " >&6
67398 else
67401 ac_ext=cpp
67402 ac_cpp='$CXXCPP $CPPFLAGS'
67403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67408 /* end confdefs.h. */
67409 #include <math.h>
67410 #ifdef HAVE_IEEEFP_H
67411 #include <ieeefp.h>
67412 #endif
67415 main ()
67417 _qfpclass(0);
67419 return 0;
67421 _ACEOF
67422 if ac_fn_cxx_try_compile "$LINENO"; then :
67423 glibcxx_cv_func__qfpclass_use=yes
67424 else
67425 glibcxx_cv_func__qfpclass_use=no
67427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67428 ac_ext=c
67429 ac_cpp='$CPP $CPPFLAGS'
67430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67439 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67441 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67442 for ac_func in _qfpclass
67443 do :
67444 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67445 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67446 cat >>confdefs.h <<_ACEOF
67447 #define HAVE__QFPCLASS 1
67448 _ACEOF
67451 done
67460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67461 $as_echo_n "checking for hypot declaration... " >&6; }
67462 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67463 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67464 $as_echo_n "(cached) " >&6
67465 else
67468 ac_ext=cpp
67469 ac_cpp='$CXXCPP $CPPFLAGS'
67470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67475 /* end confdefs.h. */
67476 #include <math.h>
67478 main ()
67480 hypot(0, 0);
67482 return 0;
67484 _ACEOF
67485 if ac_fn_cxx_try_compile "$LINENO"; then :
67486 glibcxx_cv_func_hypot_use=yes
67487 else
67488 glibcxx_cv_func_hypot_use=no
67490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67491 ac_ext=c
67492 ac_cpp='$CPP $CPPFLAGS'
67493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67502 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67504 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67505 for ac_func in hypot
67506 do :
67507 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67508 if test "x$ac_cv_func_hypot" = x""yes; then :
67509 cat >>confdefs.h <<_ACEOF
67510 #define HAVE_HYPOT 1
67511 _ACEOF
67514 done
67516 else
67518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67519 $as_echo_n "checking for _hypot declaration... " >&6; }
67520 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67521 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67522 $as_echo_n "(cached) " >&6
67523 else
67526 ac_ext=cpp
67527 ac_cpp='$CXXCPP $CPPFLAGS'
67528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67533 /* end confdefs.h. */
67534 #include <math.h>
67536 main ()
67538 _hypot(0, 0);
67540 return 0;
67542 _ACEOF
67543 if ac_fn_cxx_try_compile "$LINENO"; then :
67544 glibcxx_cv_func__hypot_use=yes
67545 else
67546 glibcxx_cv_func__hypot_use=no
67548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67549 ac_ext=c
67550 ac_cpp='$CPP $CPPFLAGS'
67551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67560 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67562 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67563 for ac_func in _hypot
67564 do :
67565 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67566 if test "x$ac_cv_func__hypot" = x""yes; then :
67567 cat >>confdefs.h <<_ACEOF
67568 #define HAVE__HYPOT 1
67569 _ACEOF
67572 done
67581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67582 $as_echo_n "checking for float trig functions... " >&6; }
67583 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67584 $as_echo_n "(cached) " >&6
67585 else
67588 ac_ext=cpp
67589 ac_cpp='$CXXCPP $CPPFLAGS'
67590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67595 /* end confdefs.h. */
67596 #include <math.h>
67598 main ()
67600 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67602 return 0;
67604 _ACEOF
67605 if ac_fn_cxx_try_compile "$LINENO"; then :
67606 glibcxx_cv_func_float_trig_use=yes
67607 else
67608 glibcxx_cv_func_float_trig_use=no
67610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67611 ac_ext=c
67612 ac_cpp='$CPP $CPPFLAGS'
67613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67620 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67621 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67622 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67623 do :
67624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67626 eval as_val=\$$as_ac_var
67627 if test "x$as_val" = x""yes; then :
67628 cat >>confdefs.h <<_ACEOF
67629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67630 _ACEOF
67633 done
67635 else
67636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67637 $as_echo_n "checking for _float trig functions... " >&6; }
67638 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67639 $as_echo_n "(cached) " >&6
67640 else
67643 ac_ext=cpp
67644 ac_cpp='$CXXCPP $CPPFLAGS'
67645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67650 /* end confdefs.h. */
67651 #include <math.h>
67653 main ()
67655 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67657 return 0;
67659 _ACEOF
67660 if ac_fn_cxx_try_compile "$LINENO"; then :
67661 glibcxx_cv_func__float_trig_use=yes
67662 else
67663 glibcxx_cv_func__float_trig_use=no
67665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67666 ac_ext=c
67667 ac_cpp='$CPP $CPPFLAGS'
67668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67675 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67676 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67677 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67678 do :
67679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67681 eval as_val=\$$as_ac_var
67682 if test "x$as_val" = x""yes; then :
67683 cat >>confdefs.h <<_ACEOF
67684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67685 _ACEOF
67688 done
67697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67698 $as_echo_n "checking for float round functions... " >&6; }
67699 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67700 $as_echo_n "(cached) " >&6
67701 else
67704 ac_ext=cpp
67705 ac_cpp='$CXXCPP $CPPFLAGS'
67706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67711 /* end confdefs.h. */
67712 #include <math.h>
67714 main ()
67716 ceilf (0); floorf (0);
67718 return 0;
67720 _ACEOF
67721 if ac_fn_cxx_try_compile "$LINENO"; then :
67722 glibcxx_cv_func_float_round_use=yes
67723 else
67724 glibcxx_cv_func_float_round_use=no
67726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67727 ac_ext=c
67728 ac_cpp='$CPP $CPPFLAGS'
67729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67736 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67737 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67738 for ac_func in ceilf floorf
67739 do :
67740 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67742 eval as_val=\$$as_ac_var
67743 if test "x$as_val" = x""yes; then :
67744 cat >>confdefs.h <<_ACEOF
67745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67746 _ACEOF
67749 done
67751 else
67752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67753 $as_echo_n "checking for _float round functions... " >&6; }
67754 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67755 $as_echo_n "(cached) " >&6
67756 else
67759 ac_ext=cpp
67760 ac_cpp='$CXXCPP $CPPFLAGS'
67761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67766 /* end confdefs.h. */
67767 #include <math.h>
67769 main ()
67771 _ceilf (0); _floorf (0);
67773 return 0;
67775 _ACEOF
67776 if ac_fn_cxx_try_compile "$LINENO"; then :
67777 glibcxx_cv_func__float_round_use=yes
67778 else
67779 glibcxx_cv_func__float_round_use=no
67781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67782 ac_ext=c
67783 ac_cpp='$CPP $CPPFLAGS'
67784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67791 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67792 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67793 for ac_func in _ceilf _floorf
67794 do :
67795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67797 eval as_val=\$$as_ac_var
67798 if test "x$as_val" = x""yes; then :
67799 cat >>confdefs.h <<_ACEOF
67800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67801 _ACEOF
67804 done
67814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67815 $as_echo_n "checking for expf declaration... " >&6; }
67816 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67817 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67818 $as_echo_n "(cached) " >&6
67819 else
67822 ac_ext=cpp
67823 ac_cpp='$CXXCPP $CPPFLAGS'
67824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67829 /* end confdefs.h. */
67830 #include <math.h>
67831 #ifdef HAVE_IEEEFP_H
67832 #include <ieeefp.h>
67833 #endif
67836 main ()
67838 expf(0);
67840 return 0;
67842 _ACEOF
67843 if ac_fn_cxx_try_compile "$LINENO"; then :
67844 glibcxx_cv_func_expf_use=yes
67845 else
67846 glibcxx_cv_func_expf_use=no
67848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67849 ac_ext=c
67850 ac_cpp='$CPP $CPPFLAGS'
67851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67860 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67862 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67863 for ac_func in expf
67864 do :
67865 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67866 if test "x$ac_cv_func_expf" = x""yes; then :
67867 cat >>confdefs.h <<_ACEOF
67868 #define HAVE_EXPF 1
67869 _ACEOF
67872 done
67874 else
67876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67877 $as_echo_n "checking for _expf declaration... " >&6; }
67878 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67879 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67880 $as_echo_n "(cached) " >&6
67881 else
67884 ac_ext=cpp
67885 ac_cpp='$CXXCPP $CPPFLAGS'
67886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67891 /* end confdefs.h. */
67892 #include <math.h>
67893 #ifdef HAVE_IEEEFP_H
67894 #include <ieeefp.h>
67895 #endif
67898 main ()
67900 _expf(0);
67902 return 0;
67904 _ACEOF
67905 if ac_fn_cxx_try_compile "$LINENO"; then :
67906 glibcxx_cv_func__expf_use=yes
67907 else
67908 glibcxx_cv_func__expf_use=no
67910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67911 ac_ext=c
67912 ac_cpp='$CPP $CPPFLAGS'
67913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67922 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67924 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67925 for ac_func in _expf
67926 do :
67927 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67928 if test "x$ac_cv_func__expf" = x""yes; then :
67929 cat >>confdefs.h <<_ACEOF
67930 #define HAVE__EXPF 1
67931 _ACEOF
67934 done
67943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67944 $as_echo_n "checking for isnanf declaration... " >&6; }
67945 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67946 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67947 $as_echo_n "(cached) " >&6
67948 else
67951 ac_ext=cpp
67952 ac_cpp='$CXXCPP $CPPFLAGS'
67953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67958 /* end confdefs.h. */
67959 #include <math.h>
67960 #ifdef HAVE_IEEEFP_H
67961 #include <ieeefp.h>
67962 #endif
67965 main ()
67967 isnanf(0);
67969 return 0;
67971 _ACEOF
67972 if ac_fn_cxx_try_compile "$LINENO"; then :
67973 glibcxx_cv_func_isnanf_use=yes
67974 else
67975 glibcxx_cv_func_isnanf_use=no
67977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67978 ac_ext=c
67979 ac_cpp='$CPP $CPPFLAGS'
67980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67989 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67991 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67992 for ac_func in isnanf
67993 do :
67994 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67995 if test "x$ac_cv_func_isnanf" = x""yes; then :
67996 cat >>confdefs.h <<_ACEOF
67997 #define HAVE_ISNANF 1
67998 _ACEOF
68001 done
68003 else
68005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68006 $as_echo_n "checking for _isnanf declaration... " >&6; }
68007 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68008 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68009 $as_echo_n "(cached) " >&6
68010 else
68013 ac_ext=cpp
68014 ac_cpp='$CXXCPP $CPPFLAGS'
68015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68020 /* end confdefs.h. */
68021 #include <math.h>
68022 #ifdef HAVE_IEEEFP_H
68023 #include <ieeefp.h>
68024 #endif
68027 main ()
68029 _isnanf(0);
68031 return 0;
68033 _ACEOF
68034 if ac_fn_cxx_try_compile "$LINENO"; then :
68035 glibcxx_cv_func__isnanf_use=yes
68036 else
68037 glibcxx_cv_func__isnanf_use=no
68039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68040 ac_ext=c
68041 ac_cpp='$CPP $CPPFLAGS'
68042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68051 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68053 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68054 for ac_func in _isnanf
68055 do :
68056 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68057 if test "x$ac_cv_func__isnanf" = x""yes; then :
68058 cat >>confdefs.h <<_ACEOF
68059 #define HAVE__ISNANF 1
68060 _ACEOF
68063 done
68072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68073 $as_echo_n "checking for isinff declaration... " >&6; }
68074 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68075 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68076 $as_echo_n "(cached) " >&6
68077 else
68080 ac_ext=cpp
68081 ac_cpp='$CXXCPP $CPPFLAGS'
68082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68087 /* end confdefs.h. */
68088 #include <math.h>
68089 #ifdef HAVE_IEEEFP_H
68090 #include <ieeefp.h>
68091 #endif
68094 main ()
68096 isinff(0);
68098 return 0;
68100 _ACEOF
68101 if ac_fn_cxx_try_compile "$LINENO"; then :
68102 glibcxx_cv_func_isinff_use=yes
68103 else
68104 glibcxx_cv_func_isinff_use=no
68106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68107 ac_ext=c
68108 ac_cpp='$CPP $CPPFLAGS'
68109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68118 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68120 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68121 for ac_func in isinff
68122 do :
68123 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68124 if test "x$ac_cv_func_isinff" = x""yes; then :
68125 cat >>confdefs.h <<_ACEOF
68126 #define HAVE_ISINFF 1
68127 _ACEOF
68130 done
68132 else
68134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68135 $as_echo_n "checking for _isinff declaration... " >&6; }
68136 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68137 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68138 $as_echo_n "(cached) " >&6
68139 else
68142 ac_ext=cpp
68143 ac_cpp='$CXXCPP $CPPFLAGS'
68144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68149 /* end confdefs.h. */
68150 #include <math.h>
68151 #ifdef HAVE_IEEEFP_H
68152 #include <ieeefp.h>
68153 #endif
68156 main ()
68158 _isinff(0);
68160 return 0;
68162 _ACEOF
68163 if ac_fn_cxx_try_compile "$LINENO"; then :
68164 glibcxx_cv_func__isinff_use=yes
68165 else
68166 glibcxx_cv_func__isinff_use=no
68168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68169 ac_ext=c
68170 ac_cpp='$CPP $CPPFLAGS'
68171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68180 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68182 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68183 for ac_func in _isinff
68184 do :
68185 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68186 if test "x$ac_cv_func__isinff" = x""yes; then :
68187 cat >>confdefs.h <<_ACEOF
68188 #define HAVE__ISINFF 1
68189 _ACEOF
68192 done
68201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68202 $as_echo_n "checking for atan2f declaration... " >&6; }
68203 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68204 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68205 $as_echo_n "(cached) " >&6
68206 else
68209 ac_ext=cpp
68210 ac_cpp='$CXXCPP $CPPFLAGS'
68211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68216 /* end confdefs.h. */
68217 #include <math.h>
68219 main ()
68221 atan2f(0, 0);
68223 return 0;
68225 _ACEOF
68226 if ac_fn_cxx_try_compile "$LINENO"; then :
68227 glibcxx_cv_func_atan2f_use=yes
68228 else
68229 glibcxx_cv_func_atan2f_use=no
68231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68232 ac_ext=c
68233 ac_cpp='$CPP $CPPFLAGS'
68234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68243 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68245 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68246 for ac_func in atan2f
68247 do :
68248 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68249 if test "x$ac_cv_func_atan2f" = x""yes; then :
68250 cat >>confdefs.h <<_ACEOF
68251 #define HAVE_ATAN2F 1
68252 _ACEOF
68255 done
68257 else
68259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68260 $as_echo_n "checking for _atan2f declaration... " >&6; }
68261 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68262 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68263 $as_echo_n "(cached) " >&6
68264 else
68267 ac_ext=cpp
68268 ac_cpp='$CXXCPP $CPPFLAGS'
68269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68274 /* end confdefs.h. */
68275 #include <math.h>
68277 main ()
68279 _atan2f(0, 0);
68281 return 0;
68283 _ACEOF
68284 if ac_fn_cxx_try_compile "$LINENO"; then :
68285 glibcxx_cv_func__atan2f_use=yes
68286 else
68287 glibcxx_cv_func__atan2f_use=no
68289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68290 ac_ext=c
68291 ac_cpp='$CPP $CPPFLAGS'
68292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68301 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68303 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68304 for ac_func in _atan2f
68305 do :
68306 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68307 if test "x$ac_cv_func__atan2f" = x""yes; then :
68308 cat >>confdefs.h <<_ACEOF
68309 #define HAVE__ATAN2F 1
68310 _ACEOF
68313 done
68322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68323 $as_echo_n "checking for fabsf declaration... " >&6; }
68324 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68325 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68326 $as_echo_n "(cached) " >&6
68327 else
68330 ac_ext=cpp
68331 ac_cpp='$CXXCPP $CPPFLAGS'
68332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68337 /* end confdefs.h. */
68338 #include <math.h>
68339 #ifdef HAVE_IEEEFP_H
68340 #include <ieeefp.h>
68341 #endif
68344 main ()
68346 fabsf(0);
68348 return 0;
68350 _ACEOF
68351 if ac_fn_cxx_try_compile "$LINENO"; then :
68352 glibcxx_cv_func_fabsf_use=yes
68353 else
68354 glibcxx_cv_func_fabsf_use=no
68356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68357 ac_ext=c
68358 ac_cpp='$CPP $CPPFLAGS'
68359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68368 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68370 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68371 for ac_func in fabsf
68372 do :
68373 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68374 if test "x$ac_cv_func_fabsf" = x""yes; then :
68375 cat >>confdefs.h <<_ACEOF
68376 #define HAVE_FABSF 1
68377 _ACEOF
68380 done
68382 else
68384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68385 $as_echo_n "checking for _fabsf declaration... " >&6; }
68386 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68387 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68388 $as_echo_n "(cached) " >&6
68389 else
68392 ac_ext=cpp
68393 ac_cpp='$CXXCPP $CPPFLAGS'
68394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68399 /* end confdefs.h. */
68400 #include <math.h>
68401 #ifdef HAVE_IEEEFP_H
68402 #include <ieeefp.h>
68403 #endif
68406 main ()
68408 _fabsf(0);
68410 return 0;
68412 _ACEOF
68413 if ac_fn_cxx_try_compile "$LINENO"; then :
68414 glibcxx_cv_func__fabsf_use=yes
68415 else
68416 glibcxx_cv_func__fabsf_use=no
68418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68419 ac_ext=c
68420 ac_cpp='$CPP $CPPFLAGS'
68421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68430 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68432 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68433 for ac_func in _fabsf
68434 do :
68435 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68436 if test "x$ac_cv_func__fabsf" = x""yes; then :
68437 cat >>confdefs.h <<_ACEOF
68438 #define HAVE__FABSF 1
68439 _ACEOF
68442 done
68451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68452 $as_echo_n "checking for fmodf declaration... " >&6; }
68453 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68454 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68455 $as_echo_n "(cached) " >&6
68456 else
68459 ac_ext=cpp
68460 ac_cpp='$CXXCPP $CPPFLAGS'
68461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68466 /* end confdefs.h. */
68467 #include <math.h>
68469 main ()
68471 fmodf(0, 0);
68473 return 0;
68475 _ACEOF
68476 if ac_fn_cxx_try_compile "$LINENO"; then :
68477 glibcxx_cv_func_fmodf_use=yes
68478 else
68479 glibcxx_cv_func_fmodf_use=no
68481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68482 ac_ext=c
68483 ac_cpp='$CPP $CPPFLAGS'
68484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68493 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68495 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68496 for ac_func in fmodf
68497 do :
68498 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68499 if test "x$ac_cv_func_fmodf" = x""yes; then :
68500 cat >>confdefs.h <<_ACEOF
68501 #define HAVE_FMODF 1
68502 _ACEOF
68505 done
68507 else
68509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68510 $as_echo_n "checking for _fmodf declaration... " >&6; }
68511 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68512 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68513 $as_echo_n "(cached) " >&6
68514 else
68517 ac_ext=cpp
68518 ac_cpp='$CXXCPP $CPPFLAGS'
68519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68524 /* end confdefs.h. */
68525 #include <math.h>
68527 main ()
68529 _fmodf(0, 0);
68531 return 0;
68533 _ACEOF
68534 if ac_fn_cxx_try_compile "$LINENO"; then :
68535 glibcxx_cv_func__fmodf_use=yes
68536 else
68537 glibcxx_cv_func__fmodf_use=no
68539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68540 ac_ext=c
68541 ac_cpp='$CPP $CPPFLAGS'
68542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68551 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68553 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68554 for ac_func in _fmodf
68555 do :
68556 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68557 if test "x$ac_cv_func__fmodf" = x""yes; then :
68558 cat >>confdefs.h <<_ACEOF
68559 #define HAVE__FMODF 1
68560 _ACEOF
68563 done
68572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68573 $as_echo_n "checking for frexpf declaration... " >&6; }
68574 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68575 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68576 $as_echo_n "(cached) " >&6
68577 else
68580 ac_ext=cpp
68581 ac_cpp='$CXXCPP $CPPFLAGS'
68582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68587 /* end confdefs.h. */
68588 #include <math.h>
68590 main ()
68592 frexpf(0, 0);
68594 return 0;
68596 _ACEOF
68597 if ac_fn_cxx_try_compile "$LINENO"; then :
68598 glibcxx_cv_func_frexpf_use=yes
68599 else
68600 glibcxx_cv_func_frexpf_use=no
68602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68603 ac_ext=c
68604 ac_cpp='$CPP $CPPFLAGS'
68605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68614 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68616 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68617 for ac_func in frexpf
68618 do :
68619 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68620 if test "x$ac_cv_func_frexpf" = x""yes; then :
68621 cat >>confdefs.h <<_ACEOF
68622 #define HAVE_FREXPF 1
68623 _ACEOF
68626 done
68628 else
68630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68631 $as_echo_n "checking for _frexpf declaration... " >&6; }
68632 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68633 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68634 $as_echo_n "(cached) " >&6
68635 else
68638 ac_ext=cpp
68639 ac_cpp='$CXXCPP $CPPFLAGS'
68640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68645 /* end confdefs.h. */
68646 #include <math.h>
68648 main ()
68650 _frexpf(0, 0);
68652 return 0;
68654 _ACEOF
68655 if ac_fn_cxx_try_compile "$LINENO"; then :
68656 glibcxx_cv_func__frexpf_use=yes
68657 else
68658 glibcxx_cv_func__frexpf_use=no
68660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68661 ac_ext=c
68662 ac_cpp='$CPP $CPPFLAGS'
68663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68672 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68674 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68675 for ac_func in _frexpf
68676 do :
68677 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68678 if test "x$ac_cv_func__frexpf" = x""yes; then :
68679 cat >>confdefs.h <<_ACEOF
68680 #define HAVE__FREXPF 1
68681 _ACEOF
68684 done
68693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68694 $as_echo_n "checking for hypotf declaration... " >&6; }
68695 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68696 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68697 $as_echo_n "(cached) " >&6
68698 else
68701 ac_ext=cpp
68702 ac_cpp='$CXXCPP $CPPFLAGS'
68703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68708 /* end confdefs.h. */
68709 #include <math.h>
68711 main ()
68713 hypotf(0, 0);
68715 return 0;
68717 _ACEOF
68718 if ac_fn_cxx_try_compile "$LINENO"; then :
68719 glibcxx_cv_func_hypotf_use=yes
68720 else
68721 glibcxx_cv_func_hypotf_use=no
68723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68724 ac_ext=c
68725 ac_cpp='$CPP $CPPFLAGS'
68726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68735 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68737 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68738 for ac_func in hypotf
68739 do :
68740 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68741 if test "x$ac_cv_func_hypotf" = x""yes; then :
68742 cat >>confdefs.h <<_ACEOF
68743 #define HAVE_HYPOTF 1
68744 _ACEOF
68747 done
68749 else
68751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68752 $as_echo_n "checking for _hypotf declaration... " >&6; }
68753 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68754 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68755 $as_echo_n "(cached) " >&6
68756 else
68759 ac_ext=cpp
68760 ac_cpp='$CXXCPP $CPPFLAGS'
68761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68766 /* end confdefs.h. */
68767 #include <math.h>
68769 main ()
68771 _hypotf(0, 0);
68773 return 0;
68775 _ACEOF
68776 if ac_fn_cxx_try_compile "$LINENO"; then :
68777 glibcxx_cv_func__hypotf_use=yes
68778 else
68779 glibcxx_cv_func__hypotf_use=no
68781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68782 ac_ext=c
68783 ac_cpp='$CPP $CPPFLAGS'
68784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68793 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68795 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68796 for ac_func in _hypotf
68797 do :
68798 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68799 if test "x$ac_cv_func__hypotf" = x""yes; then :
68800 cat >>confdefs.h <<_ACEOF
68801 #define HAVE__HYPOTF 1
68802 _ACEOF
68805 done
68814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68815 $as_echo_n "checking for ldexpf declaration... " >&6; }
68816 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68817 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68818 $as_echo_n "(cached) " >&6
68819 else
68822 ac_ext=cpp
68823 ac_cpp='$CXXCPP $CPPFLAGS'
68824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68829 /* end confdefs.h. */
68830 #include <math.h>
68832 main ()
68834 ldexpf(0, 0);
68836 return 0;
68838 _ACEOF
68839 if ac_fn_cxx_try_compile "$LINENO"; then :
68840 glibcxx_cv_func_ldexpf_use=yes
68841 else
68842 glibcxx_cv_func_ldexpf_use=no
68844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68845 ac_ext=c
68846 ac_cpp='$CPP $CPPFLAGS'
68847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68856 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68858 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68859 for ac_func in ldexpf
68860 do :
68861 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68862 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68863 cat >>confdefs.h <<_ACEOF
68864 #define HAVE_LDEXPF 1
68865 _ACEOF
68868 done
68870 else
68872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68873 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68874 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68875 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68876 $as_echo_n "(cached) " >&6
68877 else
68880 ac_ext=cpp
68881 ac_cpp='$CXXCPP $CPPFLAGS'
68882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68887 /* end confdefs.h. */
68888 #include <math.h>
68890 main ()
68892 _ldexpf(0, 0);
68894 return 0;
68896 _ACEOF
68897 if ac_fn_cxx_try_compile "$LINENO"; then :
68898 glibcxx_cv_func__ldexpf_use=yes
68899 else
68900 glibcxx_cv_func__ldexpf_use=no
68902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68903 ac_ext=c
68904 ac_cpp='$CPP $CPPFLAGS'
68905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68914 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68916 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68917 for ac_func in _ldexpf
68918 do :
68919 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68920 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68921 cat >>confdefs.h <<_ACEOF
68922 #define HAVE__LDEXPF 1
68923 _ACEOF
68926 done
68935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68936 $as_echo_n "checking for logf declaration... " >&6; }
68937 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68938 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68939 $as_echo_n "(cached) " >&6
68940 else
68943 ac_ext=cpp
68944 ac_cpp='$CXXCPP $CPPFLAGS'
68945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68950 /* end confdefs.h. */
68951 #include <math.h>
68952 #ifdef HAVE_IEEEFP_H
68953 #include <ieeefp.h>
68954 #endif
68957 main ()
68959 logf(0);
68961 return 0;
68963 _ACEOF
68964 if ac_fn_cxx_try_compile "$LINENO"; then :
68965 glibcxx_cv_func_logf_use=yes
68966 else
68967 glibcxx_cv_func_logf_use=no
68969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68970 ac_ext=c
68971 ac_cpp='$CPP $CPPFLAGS'
68972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68981 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68983 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68984 for ac_func in logf
68985 do :
68986 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68987 if test "x$ac_cv_func_logf" = x""yes; then :
68988 cat >>confdefs.h <<_ACEOF
68989 #define HAVE_LOGF 1
68990 _ACEOF
68993 done
68995 else
68997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68998 $as_echo_n "checking for _logf declaration... " >&6; }
68999 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69000 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69001 $as_echo_n "(cached) " >&6
69002 else
69005 ac_ext=cpp
69006 ac_cpp='$CXXCPP $CPPFLAGS'
69007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69012 /* end confdefs.h. */
69013 #include <math.h>
69014 #ifdef HAVE_IEEEFP_H
69015 #include <ieeefp.h>
69016 #endif
69019 main ()
69021 _logf(0);
69023 return 0;
69025 _ACEOF
69026 if ac_fn_cxx_try_compile "$LINENO"; then :
69027 glibcxx_cv_func__logf_use=yes
69028 else
69029 glibcxx_cv_func__logf_use=no
69031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69032 ac_ext=c
69033 ac_cpp='$CPP $CPPFLAGS'
69034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69043 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69045 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69046 for ac_func in _logf
69047 do :
69048 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69049 if test "x$ac_cv_func__logf" = x""yes; then :
69050 cat >>confdefs.h <<_ACEOF
69051 #define HAVE__LOGF 1
69052 _ACEOF
69055 done
69064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69065 $as_echo_n "checking for log10f declaration... " >&6; }
69066 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69067 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69068 $as_echo_n "(cached) " >&6
69069 else
69072 ac_ext=cpp
69073 ac_cpp='$CXXCPP $CPPFLAGS'
69074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69079 /* end confdefs.h. */
69080 #include <math.h>
69081 #ifdef HAVE_IEEEFP_H
69082 #include <ieeefp.h>
69083 #endif
69086 main ()
69088 log10f(0);
69090 return 0;
69092 _ACEOF
69093 if ac_fn_cxx_try_compile "$LINENO"; then :
69094 glibcxx_cv_func_log10f_use=yes
69095 else
69096 glibcxx_cv_func_log10f_use=no
69098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69099 ac_ext=c
69100 ac_cpp='$CPP $CPPFLAGS'
69101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69110 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69112 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69113 for ac_func in log10f
69114 do :
69115 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69116 if test "x$ac_cv_func_log10f" = x""yes; then :
69117 cat >>confdefs.h <<_ACEOF
69118 #define HAVE_LOG10F 1
69119 _ACEOF
69122 done
69124 else
69126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69127 $as_echo_n "checking for _log10f declaration... " >&6; }
69128 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69129 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69130 $as_echo_n "(cached) " >&6
69131 else
69134 ac_ext=cpp
69135 ac_cpp='$CXXCPP $CPPFLAGS'
69136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69141 /* end confdefs.h. */
69142 #include <math.h>
69143 #ifdef HAVE_IEEEFP_H
69144 #include <ieeefp.h>
69145 #endif
69148 main ()
69150 _log10f(0);
69152 return 0;
69154 _ACEOF
69155 if ac_fn_cxx_try_compile "$LINENO"; then :
69156 glibcxx_cv_func__log10f_use=yes
69157 else
69158 glibcxx_cv_func__log10f_use=no
69160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69161 ac_ext=c
69162 ac_cpp='$CPP $CPPFLAGS'
69163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69172 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69174 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69175 for ac_func in _log10f
69176 do :
69177 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69178 if test "x$ac_cv_func__log10f" = x""yes; then :
69179 cat >>confdefs.h <<_ACEOF
69180 #define HAVE__LOG10F 1
69181 _ACEOF
69184 done
69193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69194 $as_echo_n "checking for modff declaration... " >&6; }
69195 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69196 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69197 $as_echo_n "(cached) " >&6
69198 else
69201 ac_ext=cpp
69202 ac_cpp='$CXXCPP $CPPFLAGS'
69203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69208 /* end confdefs.h. */
69209 #include <math.h>
69211 main ()
69213 modff(0, 0);
69215 return 0;
69217 _ACEOF
69218 if ac_fn_cxx_try_compile "$LINENO"; then :
69219 glibcxx_cv_func_modff_use=yes
69220 else
69221 glibcxx_cv_func_modff_use=no
69223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69224 ac_ext=c
69225 ac_cpp='$CPP $CPPFLAGS'
69226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69235 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69237 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69238 for ac_func in modff
69239 do :
69240 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69241 if test "x$ac_cv_func_modff" = x""yes; then :
69242 cat >>confdefs.h <<_ACEOF
69243 #define HAVE_MODFF 1
69244 _ACEOF
69247 done
69249 else
69251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69252 $as_echo_n "checking for _modff declaration... " >&6; }
69253 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69254 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69255 $as_echo_n "(cached) " >&6
69256 else
69259 ac_ext=cpp
69260 ac_cpp='$CXXCPP $CPPFLAGS'
69261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69266 /* end confdefs.h. */
69267 #include <math.h>
69269 main ()
69271 _modff(0, 0);
69273 return 0;
69275 _ACEOF
69276 if ac_fn_cxx_try_compile "$LINENO"; then :
69277 glibcxx_cv_func__modff_use=yes
69278 else
69279 glibcxx_cv_func__modff_use=no
69281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69282 ac_ext=c
69283 ac_cpp='$CPP $CPPFLAGS'
69284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69293 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69295 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69296 for ac_func in _modff
69297 do :
69298 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69299 if test "x$ac_cv_func__modff" = x""yes; then :
69300 cat >>confdefs.h <<_ACEOF
69301 #define HAVE__MODFF 1
69302 _ACEOF
69305 done
69314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69315 $as_echo_n "checking for modf declaration... " >&6; }
69316 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69317 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69318 $as_echo_n "(cached) " >&6
69319 else
69322 ac_ext=cpp
69323 ac_cpp='$CXXCPP $CPPFLAGS'
69324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69329 /* end confdefs.h. */
69330 #include <math.h>
69332 main ()
69334 modf(0, 0);
69336 return 0;
69338 _ACEOF
69339 if ac_fn_cxx_try_compile "$LINENO"; then :
69340 glibcxx_cv_func_modf_use=yes
69341 else
69342 glibcxx_cv_func_modf_use=no
69344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69345 ac_ext=c
69346 ac_cpp='$CPP $CPPFLAGS'
69347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69356 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69358 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69359 for ac_func in modf
69360 do :
69361 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69362 if test "x$ac_cv_func_modf" = x""yes; then :
69363 cat >>confdefs.h <<_ACEOF
69364 #define HAVE_MODF 1
69365 _ACEOF
69368 done
69370 else
69372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69373 $as_echo_n "checking for _modf declaration... " >&6; }
69374 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69375 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69376 $as_echo_n "(cached) " >&6
69377 else
69380 ac_ext=cpp
69381 ac_cpp='$CXXCPP $CPPFLAGS'
69382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69387 /* end confdefs.h. */
69388 #include <math.h>
69390 main ()
69392 _modf(0, 0);
69394 return 0;
69396 _ACEOF
69397 if ac_fn_cxx_try_compile "$LINENO"; then :
69398 glibcxx_cv_func__modf_use=yes
69399 else
69400 glibcxx_cv_func__modf_use=no
69402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69403 ac_ext=c
69404 ac_cpp='$CPP $CPPFLAGS'
69405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69414 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69416 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69417 for ac_func in _modf
69418 do :
69419 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69420 if test "x$ac_cv_func__modf" = x""yes; then :
69421 cat >>confdefs.h <<_ACEOF
69422 #define HAVE__MODF 1
69423 _ACEOF
69426 done
69435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69436 $as_echo_n "checking for powf declaration... " >&6; }
69437 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69438 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69439 $as_echo_n "(cached) " >&6
69440 else
69443 ac_ext=cpp
69444 ac_cpp='$CXXCPP $CPPFLAGS'
69445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69450 /* end confdefs.h. */
69451 #include <math.h>
69453 main ()
69455 powf(0, 0);
69457 return 0;
69459 _ACEOF
69460 if ac_fn_cxx_try_compile "$LINENO"; then :
69461 glibcxx_cv_func_powf_use=yes
69462 else
69463 glibcxx_cv_func_powf_use=no
69465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69466 ac_ext=c
69467 ac_cpp='$CPP $CPPFLAGS'
69468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69477 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69479 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69480 for ac_func in powf
69481 do :
69482 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69483 if test "x$ac_cv_func_powf" = x""yes; then :
69484 cat >>confdefs.h <<_ACEOF
69485 #define HAVE_POWF 1
69486 _ACEOF
69489 done
69491 else
69493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69494 $as_echo_n "checking for _powf declaration... " >&6; }
69495 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69496 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69497 $as_echo_n "(cached) " >&6
69498 else
69501 ac_ext=cpp
69502 ac_cpp='$CXXCPP $CPPFLAGS'
69503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69508 /* end confdefs.h. */
69509 #include <math.h>
69511 main ()
69513 _powf(0, 0);
69515 return 0;
69517 _ACEOF
69518 if ac_fn_cxx_try_compile "$LINENO"; then :
69519 glibcxx_cv_func__powf_use=yes
69520 else
69521 glibcxx_cv_func__powf_use=no
69523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69524 ac_ext=c
69525 ac_cpp='$CPP $CPPFLAGS'
69526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69535 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69537 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69538 for ac_func in _powf
69539 do :
69540 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69541 if test "x$ac_cv_func__powf" = x""yes; then :
69542 cat >>confdefs.h <<_ACEOF
69543 #define HAVE__POWF 1
69544 _ACEOF
69547 done
69556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69557 $as_echo_n "checking for sqrtf declaration... " >&6; }
69558 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69559 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69560 $as_echo_n "(cached) " >&6
69561 else
69564 ac_ext=cpp
69565 ac_cpp='$CXXCPP $CPPFLAGS'
69566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69571 /* end confdefs.h. */
69572 #include <math.h>
69573 #ifdef HAVE_IEEEFP_H
69574 #include <ieeefp.h>
69575 #endif
69578 main ()
69580 sqrtf(0);
69582 return 0;
69584 _ACEOF
69585 if ac_fn_cxx_try_compile "$LINENO"; then :
69586 glibcxx_cv_func_sqrtf_use=yes
69587 else
69588 glibcxx_cv_func_sqrtf_use=no
69590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69591 ac_ext=c
69592 ac_cpp='$CPP $CPPFLAGS'
69593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69602 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69604 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69605 for ac_func in sqrtf
69606 do :
69607 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69608 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69609 cat >>confdefs.h <<_ACEOF
69610 #define HAVE_SQRTF 1
69611 _ACEOF
69614 done
69616 else
69618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69619 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69620 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69621 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69622 $as_echo_n "(cached) " >&6
69623 else
69626 ac_ext=cpp
69627 ac_cpp='$CXXCPP $CPPFLAGS'
69628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69633 /* end confdefs.h. */
69634 #include <math.h>
69635 #ifdef HAVE_IEEEFP_H
69636 #include <ieeefp.h>
69637 #endif
69640 main ()
69642 _sqrtf(0);
69644 return 0;
69646 _ACEOF
69647 if ac_fn_cxx_try_compile "$LINENO"; then :
69648 glibcxx_cv_func__sqrtf_use=yes
69649 else
69650 glibcxx_cv_func__sqrtf_use=no
69652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69653 ac_ext=c
69654 ac_cpp='$CPP $CPPFLAGS'
69655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69664 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69666 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69667 for ac_func in _sqrtf
69668 do :
69669 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69670 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69671 cat >>confdefs.h <<_ACEOF
69672 #define HAVE__SQRTF 1
69673 _ACEOF
69676 done
69685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69686 $as_echo_n "checking for sincosf declaration... " >&6; }
69687 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69688 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69689 $as_echo_n "(cached) " >&6
69690 else
69693 ac_ext=cpp
69694 ac_cpp='$CXXCPP $CPPFLAGS'
69695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69700 /* end confdefs.h. */
69701 #include <math.h>
69703 main ()
69705 sincosf(0, 0, 0);
69707 return 0;
69709 _ACEOF
69710 if ac_fn_cxx_try_compile "$LINENO"; then :
69711 glibcxx_cv_func_sincosf_use=yes
69712 else
69713 glibcxx_cv_func_sincosf_use=no
69715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69716 ac_ext=c
69717 ac_cpp='$CPP $CPPFLAGS'
69718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69727 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69729 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69730 for ac_func in sincosf
69731 do :
69732 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69733 if test "x$ac_cv_func_sincosf" = x""yes; then :
69734 cat >>confdefs.h <<_ACEOF
69735 #define HAVE_SINCOSF 1
69736 _ACEOF
69739 done
69741 else
69743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69744 $as_echo_n "checking for _sincosf declaration... " >&6; }
69745 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69746 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69747 $as_echo_n "(cached) " >&6
69748 else
69751 ac_ext=cpp
69752 ac_cpp='$CXXCPP $CPPFLAGS'
69753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69758 /* end confdefs.h. */
69759 #include <math.h>
69761 main ()
69763 _sincosf(0, 0, 0);
69765 return 0;
69767 _ACEOF
69768 if ac_fn_cxx_try_compile "$LINENO"; then :
69769 glibcxx_cv_func__sincosf_use=yes
69770 else
69771 glibcxx_cv_func__sincosf_use=no
69773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69774 ac_ext=c
69775 ac_cpp='$CPP $CPPFLAGS'
69776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69785 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69787 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69788 for ac_func in _sincosf
69789 do :
69790 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69791 if test "x$ac_cv_func__sincosf" = x""yes; then :
69792 cat >>confdefs.h <<_ACEOF
69793 #define HAVE__SINCOSF 1
69794 _ACEOF
69797 done
69806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69807 $as_echo_n "checking for finitef declaration... " >&6; }
69808 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69809 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69810 $as_echo_n "(cached) " >&6
69811 else
69814 ac_ext=cpp
69815 ac_cpp='$CXXCPP $CPPFLAGS'
69816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69821 /* end confdefs.h. */
69822 #include <math.h>
69823 #ifdef HAVE_IEEEFP_H
69824 #include <ieeefp.h>
69825 #endif
69828 main ()
69830 finitef(0);
69832 return 0;
69834 _ACEOF
69835 if ac_fn_cxx_try_compile "$LINENO"; then :
69836 glibcxx_cv_func_finitef_use=yes
69837 else
69838 glibcxx_cv_func_finitef_use=no
69840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69841 ac_ext=c
69842 ac_cpp='$CPP $CPPFLAGS'
69843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69852 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69854 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69855 for ac_func in finitef
69856 do :
69857 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69858 if test "x$ac_cv_func_finitef" = x""yes; then :
69859 cat >>confdefs.h <<_ACEOF
69860 #define HAVE_FINITEF 1
69861 _ACEOF
69864 done
69866 else
69868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69869 $as_echo_n "checking for _finitef declaration... " >&6; }
69870 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69871 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69872 $as_echo_n "(cached) " >&6
69873 else
69876 ac_ext=cpp
69877 ac_cpp='$CXXCPP $CPPFLAGS'
69878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69883 /* end confdefs.h. */
69884 #include <math.h>
69885 #ifdef HAVE_IEEEFP_H
69886 #include <ieeefp.h>
69887 #endif
69890 main ()
69892 _finitef(0);
69894 return 0;
69896 _ACEOF
69897 if ac_fn_cxx_try_compile "$LINENO"; then :
69898 glibcxx_cv_func__finitef_use=yes
69899 else
69900 glibcxx_cv_func__finitef_use=no
69902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69903 ac_ext=c
69904 ac_cpp='$CPP $CPPFLAGS'
69905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69914 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69916 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69917 for ac_func in _finitef
69918 do :
69919 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69920 if test "x$ac_cv_func__finitef" = x""yes; then :
69921 cat >>confdefs.h <<_ACEOF
69922 #define HAVE__FINITEF 1
69923 _ACEOF
69926 done
69935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69936 $as_echo_n "checking for long double trig functions... " >&6; }
69937 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69938 $as_echo_n "(cached) " >&6
69939 else
69942 ac_ext=cpp
69943 ac_cpp='$CXXCPP $CPPFLAGS'
69944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69949 /* end confdefs.h. */
69950 #include <math.h>
69952 main ()
69954 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69956 return 0;
69958 _ACEOF
69959 if ac_fn_cxx_try_compile "$LINENO"; then :
69960 glibcxx_cv_func_long_double_trig_use=yes
69961 else
69962 glibcxx_cv_func_long_double_trig_use=no
69964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69965 ac_ext=c
69966 ac_cpp='$CPP $CPPFLAGS'
69967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69974 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69975 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69976 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69977 do :
69978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69980 eval as_val=\$$as_ac_var
69981 if test "x$as_val" = x""yes; then :
69982 cat >>confdefs.h <<_ACEOF
69983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69984 _ACEOF
69987 done
69989 else
69990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69991 $as_echo_n "checking for _long double trig functions... " >&6; }
69992 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69993 $as_echo_n "(cached) " >&6
69994 else
69997 ac_ext=cpp
69998 ac_cpp='$CXXCPP $CPPFLAGS'
69999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70004 /* end confdefs.h. */
70005 #include <math.h>
70007 main ()
70009 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70011 return 0;
70013 _ACEOF
70014 if ac_fn_cxx_try_compile "$LINENO"; then :
70015 glibcxx_cv_func__long_double_trig_use=yes
70016 else
70017 glibcxx_cv_func__long_double_trig_use=no
70019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70020 ac_ext=c
70021 ac_cpp='$CPP $CPPFLAGS'
70022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70029 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70030 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70031 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70032 do :
70033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70035 eval as_val=\$$as_ac_var
70036 if test "x$as_val" = x""yes; then :
70037 cat >>confdefs.h <<_ACEOF
70038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70039 _ACEOF
70042 done
70051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70052 $as_echo_n "checking for long double round functions... " >&6; }
70053 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70054 $as_echo_n "(cached) " >&6
70055 else
70058 ac_ext=cpp
70059 ac_cpp='$CXXCPP $CPPFLAGS'
70060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70065 /* end confdefs.h. */
70066 #include <math.h>
70068 main ()
70070 ceill (0); floorl (0);
70072 return 0;
70074 _ACEOF
70075 if ac_fn_cxx_try_compile "$LINENO"; then :
70076 glibcxx_cv_func_long_double_round_use=yes
70077 else
70078 glibcxx_cv_func_long_double_round_use=no
70080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70081 ac_ext=c
70082 ac_cpp='$CPP $CPPFLAGS'
70083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70090 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70091 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70092 for ac_func in ceill floorl
70093 do :
70094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70096 eval as_val=\$$as_ac_var
70097 if test "x$as_val" = x""yes; then :
70098 cat >>confdefs.h <<_ACEOF
70099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70100 _ACEOF
70103 done
70105 else
70106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70107 $as_echo_n "checking for _long double round functions... " >&6; }
70108 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70109 $as_echo_n "(cached) " >&6
70110 else
70113 ac_ext=cpp
70114 ac_cpp='$CXXCPP $CPPFLAGS'
70115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70120 /* end confdefs.h. */
70121 #include <math.h>
70123 main ()
70125 _ceill (0); _floorl (0);
70127 return 0;
70129 _ACEOF
70130 if ac_fn_cxx_try_compile "$LINENO"; then :
70131 glibcxx_cv_func__long_double_round_use=yes
70132 else
70133 glibcxx_cv_func__long_double_round_use=no
70135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70136 ac_ext=c
70137 ac_cpp='$CPP $CPPFLAGS'
70138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70145 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70146 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70147 for ac_func in _ceill _floorl
70148 do :
70149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70151 eval as_val=\$$as_ac_var
70152 if test "x$as_val" = x""yes; then :
70153 cat >>confdefs.h <<_ACEOF
70154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70155 _ACEOF
70158 done
70168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70169 $as_echo_n "checking for isnanl declaration... " >&6; }
70170 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70171 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70172 $as_echo_n "(cached) " >&6
70173 else
70176 ac_ext=cpp
70177 ac_cpp='$CXXCPP $CPPFLAGS'
70178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70183 /* end confdefs.h. */
70184 #include <math.h>
70185 #ifdef HAVE_IEEEFP_H
70186 #include <ieeefp.h>
70187 #endif
70190 main ()
70192 isnanl(0);
70194 return 0;
70196 _ACEOF
70197 if ac_fn_cxx_try_compile "$LINENO"; then :
70198 glibcxx_cv_func_isnanl_use=yes
70199 else
70200 glibcxx_cv_func_isnanl_use=no
70202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70203 ac_ext=c
70204 ac_cpp='$CPP $CPPFLAGS'
70205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70214 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70216 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70217 for ac_func in isnanl
70218 do :
70219 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70220 if test "x$ac_cv_func_isnanl" = x""yes; then :
70221 cat >>confdefs.h <<_ACEOF
70222 #define HAVE_ISNANL 1
70223 _ACEOF
70226 done
70228 else
70230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70231 $as_echo_n "checking for _isnanl declaration... " >&6; }
70232 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70233 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70234 $as_echo_n "(cached) " >&6
70235 else
70238 ac_ext=cpp
70239 ac_cpp='$CXXCPP $CPPFLAGS'
70240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70245 /* end confdefs.h. */
70246 #include <math.h>
70247 #ifdef HAVE_IEEEFP_H
70248 #include <ieeefp.h>
70249 #endif
70252 main ()
70254 _isnanl(0);
70256 return 0;
70258 _ACEOF
70259 if ac_fn_cxx_try_compile "$LINENO"; then :
70260 glibcxx_cv_func__isnanl_use=yes
70261 else
70262 glibcxx_cv_func__isnanl_use=no
70264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70265 ac_ext=c
70266 ac_cpp='$CPP $CPPFLAGS'
70267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70276 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70278 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70279 for ac_func in _isnanl
70280 do :
70281 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70282 if test "x$ac_cv_func__isnanl" = x""yes; then :
70283 cat >>confdefs.h <<_ACEOF
70284 #define HAVE__ISNANL 1
70285 _ACEOF
70288 done
70297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70298 $as_echo_n "checking for isinfl declaration... " >&6; }
70299 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70300 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70301 $as_echo_n "(cached) " >&6
70302 else
70305 ac_ext=cpp
70306 ac_cpp='$CXXCPP $CPPFLAGS'
70307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70312 /* end confdefs.h. */
70313 #include <math.h>
70314 #ifdef HAVE_IEEEFP_H
70315 #include <ieeefp.h>
70316 #endif
70319 main ()
70321 isinfl(0);
70323 return 0;
70325 _ACEOF
70326 if ac_fn_cxx_try_compile "$LINENO"; then :
70327 glibcxx_cv_func_isinfl_use=yes
70328 else
70329 glibcxx_cv_func_isinfl_use=no
70331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70332 ac_ext=c
70333 ac_cpp='$CPP $CPPFLAGS'
70334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70343 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70345 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70346 for ac_func in isinfl
70347 do :
70348 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70349 if test "x$ac_cv_func_isinfl" = x""yes; then :
70350 cat >>confdefs.h <<_ACEOF
70351 #define HAVE_ISINFL 1
70352 _ACEOF
70355 done
70357 else
70359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70360 $as_echo_n "checking for _isinfl declaration... " >&6; }
70361 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70362 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70363 $as_echo_n "(cached) " >&6
70364 else
70367 ac_ext=cpp
70368 ac_cpp='$CXXCPP $CPPFLAGS'
70369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70374 /* end confdefs.h. */
70375 #include <math.h>
70376 #ifdef HAVE_IEEEFP_H
70377 #include <ieeefp.h>
70378 #endif
70381 main ()
70383 _isinfl(0);
70385 return 0;
70387 _ACEOF
70388 if ac_fn_cxx_try_compile "$LINENO"; then :
70389 glibcxx_cv_func__isinfl_use=yes
70390 else
70391 glibcxx_cv_func__isinfl_use=no
70393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70394 ac_ext=c
70395 ac_cpp='$CPP $CPPFLAGS'
70396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70405 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70407 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70408 for ac_func in _isinfl
70409 do :
70410 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70411 if test "x$ac_cv_func__isinfl" = x""yes; then :
70412 cat >>confdefs.h <<_ACEOF
70413 #define HAVE__ISINFL 1
70414 _ACEOF
70417 done
70426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70427 $as_echo_n "checking for atan2l declaration... " >&6; }
70428 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70429 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70430 $as_echo_n "(cached) " >&6
70431 else
70434 ac_ext=cpp
70435 ac_cpp='$CXXCPP $CPPFLAGS'
70436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70441 /* end confdefs.h. */
70442 #include <math.h>
70444 main ()
70446 atan2l(0, 0);
70448 return 0;
70450 _ACEOF
70451 if ac_fn_cxx_try_compile "$LINENO"; then :
70452 glibcxx_cv_func_atan2l_use=yes
70453 else
70454 glibcxx_cv_func_atan2l_use=no
70456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70457 ac_ext=c
70458 ac_cpp='$CPP $CPPFLAGS'
70459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70468 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70470 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70471 for ac_func in atan2l
70472 do :
70473 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70474 if test "x$ac_cv_func_atan2l" = x""yes; then :
70475 cat >>confdefs.h <<_ACEOF
70476 #define HAVE_ATAN2L 1
70477 _ACEOF
70480 done
70482 else
70484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70485 $as_echo_n "checking for _atan2l declaration... " >&6; }
70486 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70487 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70488 $as_echo_n "(cached) " >&6
70489 else
70492 ac_ext=cpp
70493 ac_cpp='$CXXCPP $CPPFLAGS'
70494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70499 /* end confdefs.h. */
70500 #include <math.h>
70502 main ()
70504 _atan2l(0, 0);
70506 return 0;
70508 _ACEOF
70509 if ac_fn_cxx_try_compile "$LINENO"; then :
70510 glibcxx_cv_func__atan2l_use=yes
70511 else
70512 glibcxx_cv_func__atan2l_use=no
70514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70515 ac_ext=c
70516 ac_cpp='$CPP $CPPFLAGS'
70517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70526 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70528 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70529 for ac_func in _atan2l
70530 do :
70531 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70532 if test "x$ac_cv_func__atan2l" = x""yes; then :
70533 cat >>confdefs.h <<_ACEOF
70534 #define HAVE__ATAN2L 1
70535 _ACEOF
70538 done
70547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70548 $as_echo_n "checking for expl declaration... " >&6; }
70549 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70550 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70551 $as_echo_n "(cached) " >&6
70552 else
70555 ac_ext=cpp
70556 ac_cpp='$CXXCPP $CPPFLAGS'
70557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70562 /* end confdefs.h. */
70563 #include <math.h>
70564 #ifdef HAVE_IEEEFP_H
70565 #include <ieeefp.h>
70566 #endif
70569 main ()
70571 expl(0);
70573 return 0;
70575 _ACEOF
70576 if ac_fn_cxx_try_compile "$LINENO"; then :
70577 glibcxx_cv_func_expl_use=yes
70578 else
70579 glibcxx_cv_func_expl_use=no
70581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70582 ac_ext=c
70583 ac_cpp='$CPP $CPPFLAGS'
70584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70593 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70595 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70596 for ac_func in expl
70597 do :
70598 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70599 if test "x$ac_cv_func_expl" = x""yes; then :
70600 cat >>confdefs.h <<_ACEOF
70601 #define HAVE_EXPL 1
70602 _ACEOF
70605 done
70607 else
70609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70610 $as_echo_n "checking for _expl declaration... " >&6; }
70611 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70612 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70613 $as_echo_n "(cached) " >&6
70614 else
70617 ac_ext=cpp
70618 ac_cpp='$CXXCPP $CPPFLAGS'
70619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70624 /* end confdefs.h. */
70625 #include <math.h>
70626 #ifdef HAVE_IEEEFP_H
70627 #include <ieeefp.h>
70628 #endif
70631 main ()
70633 _expl(0);
70635 return 0;
70637 _ACEOF
70638 if ac_fn_cxx_try_compile "$LINENO"; then :
70639 glibcxx_cv_func__expl_use=yes
70640 else
70641 glibcxx_cv_func__expl_use=no
70643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70644 ac_ext=c
70645 ac_cpp='$CPP $CPPFLAGS'
70646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70655 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70657 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70658 for ac_func in _expl
70659 do :
70660 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70661 if test "x$ac_cv_func__expl" = x""yes; then :
70662 cat >>confdefs.h <<_ACEOF
70663 #define HAVE__EXPL 1
70664 _ACEOF
70667 done
70676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70677 $as_echo_n "checking for fabsl declaration... " >&6; }
70678 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70679 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70680 $as_echo_n "(cached) " >&6
70681 else
70684 ac_ext=cpp
70685 ac_cpp='$CXXCPP $CPPFLAGS'
70686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70691 /* end confdefs.h. */
70692 #include <math.h>
70693 #ifdef HAVE_IEEEFP_H
70694 #include <ieeefp.h>
70695 #endif
70698 main ()
70700 fabsl(0);
70702 return 0;
70704 _ACEOF
70705 if ac_fn_cxx_try_compile "$LINENO"; then :
70706 glibcxx_cv_func_fabsl_use=yes
70707 else
70708 glibcxx_cv_func_fabsl_use=no
70710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70711 ac_ext=c
70712 ac_cpp='$CPP $CPPFLAGS'
70713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70722 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70724 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70725 for ac_func in fabsl
70726 do :
70727 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70728 if test "x$ac_cv_func_fabsl" = x""yes; then :
70729 cat >>confdefs.h <<_ACEOF
70730 #define HAVE_FABSL 1
70731 _ACEOF
70734 done
70736 else
70738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70739 $as_echo_n "checking for _fabsl declaration... " >&6; }
70740 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70741 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70742 $as_echo_n "(cached) " >&6
70743 else
70746 ac_ext=cpp
70747 ac_cpp='$CXXCPP $CPPFLAGS'
70748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70753 /* end confdefs.h. */
70754 #include <math.h>
70755 #ifdef HAVE_IEEEFP_H
70756 #include <ieeefp.h>
70757 #endif
70760 main ()
70762 _fabsl(0);
70764 return 0;
70766 _ACEOF
70767 if ac_fn_cxx_try_compile "$LINENO"; then :
70768 glibcxx_cv_func__fabsl_use=yes
70769 else
70770 glibcxx_cv_func__fabsl_use=no
70772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70773 ac_ext=c
70774 ac_cpp='$CPP $CPPFLAGS'
70775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70784 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70786 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70787 for ac_func in _fabsl
70788 do :
70789 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70790 if test "x$ac_cv_func__fabsl" = x""yes; then :
70791 cat >>confdefs.h <<_ACEOF
70792 #define HAVE__FABSL 1
70793 _ACEOF
70796 done
70805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70806 $as_echo_n "checking for fmodl declaration... " >&6; }
70807 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70808 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70809 $as_echo_n "(cached) " >&6
70810 else
70813 ac_ext=cpp
70814 ac_cpp='$CXXCPP $CPPFLAGS'
70815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70820 /* end confdefs.h. */
70821 #include <math.h>
70823 main ()
70825 fmodl(0, 0);
70827 return 0;
70829 _ACEOF
70830 if ac_fn_cxx_try_compile "$LINENO"; then :
70831 glibcxx_cv_func_fmodl_use=yes
70832 else
70833 glibcxx_cv_func_fmodl_use=no
70835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70836 ac_ext=c
70837 ac_cpp='$CPP $CPPFLAGS'
70838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70847 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70849 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70850 for ac_func in fmodl
70851 do :
70852 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70853 if test "x$ac_cv_func_fmodl" = x""yes; then :
70854 cat >>confdefs.h <<_ACEOF
70855 #define HAVE_FMODL 1
70856 _ACEOF
70859 done
70861 else
70863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70864 $as_echo_n "checking for _fmodl declaration... " >&6; }
70865 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70866 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70867 $as_echo_n "(cached) " >&6
70868 else
70871 ac_ext=cpp
70872 ac_cpp='$CXXCPP $CPPFLAGS'
70873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70878 /* end confdefs.h. */
70879 #include <math.h>
70881 main ()
70883 _fmodl(0, 0);
70885 return 0;
70887 _ACEOF
70888 if ac_fn_cxx_try_compile "$LINENO"; then :
70889 glibcxx_cv_func__fmodl_use=yes
70890 else
70891 glibcxx_cv_func__fmodl_use=no
70893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70894 ac_ext=c
70895 ac_cpp='$CPP $CPPFLAGS'
70896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70905 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70907 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70908 for ac_func in _fmodl
70909 do :
70910 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70911 if test "x$ac_cv_func__fmodl" = x""yes; then :
70912 cat >>confdefs.h <<_ACEOF
70913 #define HAVE__FMODL 1
70914 _ACEOF
70917 done
70926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70927 $as_echo_n "checking for frexpl declaration... " >&6; }
70928 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70929 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70930 $as_echo_n "(cached) " >&6
70931 else
70934 ac_ext=cpp
70935 ac_cpp='$CXXCPP $CPPFLAGS'
70936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70941 /* end confdefs.h. */
70942 #include <math.h>
70944 main ()
70946 frexpl(0, 0);
70948 return 0;
70950 _ACEOF
70951 if ac_fn_cxx_try_compile "$LINENO"; then :
70952 glibcxx_cv_func_frexpl_use=yes
70953 else
70954 glibcxx_cv_func_frexpl_use=no
70956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70957 ac_ext=c
70958 ac_cpp='$CPP $CPPFLAGS'
70959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70968 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70970 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70971 for ac_func in frexpl
70972 do :
70973 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70974 if test "x$ac_cv_func_frexpl" = x""yes; then :
70975 cat >>confdefs.h <<_ACEOF
70976 #define HAVE_FREXPL 1
70977 _ACEOF
70980 done
70982 else
70984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70985 $as_echo_n "checking for _frexpl declaration... " >&6; }
70986 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70987 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70988 $as_echo_n "(cached) " >&6
70989 else
70992 ac_ext=cpp
70993 ac_cpp='$CXXCPP $CPPFLAGS'
70994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70999 /* end confdefs.h. */
71000 #include <math.h>
71002 main ()
71004 _frexpl(0, 0);
71006 return 0;
71008 _ACEOF
71009 if ac_fn_cxx_try_compile "$LINENO"; then :
71010 glibcxx_cv_func__frexpl_use=yes
71011 else
71012 glibcxx_cv_func__frexpl_use=no
71014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71015 ac_ext=c
71016 ac_cpp='$CPP $CPPFLAGS'
71017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71026 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71028 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71029 for ac_func in _frexpl
71030 do :
71031 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71032 if test "x$ac_cv_func__frexpl" = x""yes; then :
71033 cat >>confdefs.h <<_ACEOF
71034 #define HAVE__FREXPL 1
71035 _ACEOF
71038 done
71047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71048 $as_echo_n "checking for hypotl declaration... " >&6; }
71049 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71050 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71051 $as_echo_n "(cached) " >&6
71052 else
71055 ac_ext=cpp
71056 ac_cpp='$CXXCPP $CPPFLAGS'
71057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71062 /* end confdefs.h. */
71063 #include <math.h>
71065 main ()
71067 hypotl(0, 0);
71069 return 0;
71071 _ACEOF
71072 if ac_fn_cxx_try_compile "$LINENO"; then :
71073 glibcxx_cv_func_hypotl_use=yes
71074 else
71075 glibcxx_cv_func_hypotl_use=no
71077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71078 ac_ext=c
71079 ac_cpp='$CPP $CPPFLAGS'
71080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71089 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71091 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71092 for ac_func in hypotl
71093 do :
71094 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71095 if test "x$ac_cv_func_hypotl" = x""yes; then :
71096 cat >>confdefs.h <<_ACEOF
71097 #define HAVE_HYPOTL 1
71098 _ACEOF
71101 done
71103 else
71105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71106 $as_echo_n "checking for _hypotl declaration... " >&6; }
71107 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71108 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71109 $as_echo_n "(cached) " >&6
71110 else
71113 ac_ext=cpp
71114 ac_cpp='$CXXCPP $CPPFLAGS'
71115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71120 /* end confdefs.h. */
71121 #include <math.h>
71123 main ()
71125 _hypotl(0, 0);
71127 return 0;
71129 _ACEOF
71130 if ac_fn_cxx_try_compile "$LINENO"; then :
71131 glibcxx_cv_func__hypotl_use=yes
71132 else
71133 glibcxx_cv_func__hypotl_use=no
71135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71136 ac_ext=c
71137 ac_cpp='$CPP $CPPFLAGS'
71138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71147 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71149 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71150 for ac_func in _hypotl
71151 do :
71152 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71153 if test "x$ac_cv_func__hypotl" = x""yes; then :
71154 cat >>confdefs.h <<_ACEOF
71155 #define HAVE__HYPOTL 1
71156 _ACEOF
71159 done
71168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71169 $as_echo_n "checking for ldexpl declaration... " >&6; }
71170 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71171 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71172 $as_echo_n "(cached) " >&6
71173 else
71176 ac_ext=cpp
71177 ac_cpp='$CXXCPP $CPPFLAGS'
71178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71183 /* end confdefs.h. */
71184 #include <math.h>
71186 main ()
71188 ldexpl(0, 0);
71190 return 0;
71192 _ACEOF
71193 if ac_fn_cxx_try_compile "$LINENO"; then :
71194 glibcxx_cv_func_ldexpl_use=yes
71195 else
71196 glibcxx_cv_func_ldexpl_use=no
71198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71199 ac_ext=c
71200 ac_cpp='$CPP $CPPFLAGS'
71201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71210 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71212 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71213 for ac_func in ldexpl
71214 do :
71215 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71216 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71217 cat >>confdefs.h <<_ACEOF
71218 #define HAVE_LDEXPL 1
71219 _ACEOF
71222 done
71224 else
71226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71227 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71228 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71229 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71230 $as_echo_n "(cached) " >&6
71231 else
71234 ac_ext=cpp
71235 ac_cpp='$CXXCPP $CPPFLAGS'
71236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71241 /* end confdefs.h. */
71242 #include <math.h>
71244 main ()
71246 _ldexpl(0, 0);
71248 return 0;
71250 _ACEOF
71251 if ac_fn_cxx_try_compile "$LINENO"; then :
71252 glibcxx_cv_func__ldexpl_use=yes
71253 else
71254 glibcxx_cv_func__ldexpl_use=no
71256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71257 ac_ext=c
71258 ac_cpp='$CPP $CPPFLAGS'
71259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71268 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71270 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71271 for ac_func in _ldexpl
71272 do :
71273 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71274 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71275 cat >>confdefs.h <<_ACEOF
71276 #define HAVE__LDEXPL 1
71277 _ACEOF
71280 done
71289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71290 $as_echo_n "checking for logl declaration... " >&6; }
71291 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71292 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71293 $as_echo_n "(cached) " >&6
71294 else
71297 ac_ext=cpp
71298 ac_cpp='$CXXCPP $CPPFLAGS'
71299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71304 /* end confdefs.h. */
71305 #include <math.h>
71306 #ifdef HAVE_IEEEFP_H
71307 #include <ieeefp.h>
71308 #endif
71311 main ()
71313 logl(0);
71315 return 0;
71317 _ACEOF
71318 if ac_fn_cxx_try_compile "$LINENO"; then :
71319 glibcxx_cv_func_logl_use=yes
71320 else
71321 glibcxx_cv_func_logl_use=no
71323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71324 ac_ext=c
71325 ac_cpp='$CPP $CPPFLAGS'
71326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71335 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71337 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71338 for ac_func in logl
71339 do :
71340 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71341 if test "x$ac_cv_func_logl" = x""yes; then :
71342 cat >>confdefs.h <<_ACEOF
71343 #define HAVE_LOGL 1
71344 _ACEOF
71347 done
71349 else
71351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71352 $as_echo_n "checking for _logl declaration... " >&6; }
71353 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71354 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71355 $as_echo_n "(cached) " >&6
71356 else
71359 ac_ext=cpp
71360 ac_cpp='$CXXCPP $CPPFLAGS'
71361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71366 /* end confdefs.h. */
71367 #include <math.h>
71368 #ifdef HAVE_IEEEFP_H
71369 #include <ieeefp.h>
71370 #endif
71373 main ()
71375 _logl(0);
71377 return 0;
71379 _ACEOF
71380 if ac_fn_cxx_try_compile "$LINENO"; then :
71381 glibcxx_cv_func__logl_use=yes
71382 else
71383 glibcxx_cv_func__logl_use=no
71385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71386 ac_ext=c
71387 ac_cpp='$CPP $CPPFLAGS'
71388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71397 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71399 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71400 for ac_func in _logl
71401 do :
71402 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71403 if test "x$ac_cv_func__logl" = x""yes; then :
71404 cat >>confdefs.h <<_ACEOF
71405 #define HAVE__LOGL 1
71406 _ACEOF
71409 done
71418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71419 $as_echo_n "checking for log10l declaration... " >&6; }
71420 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71421 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71422 $as_echo_n "(cached) " >&6
71423 else
71426 ac_ext=cpp
71427 ac_cpp='$CXXCPP $CPPFLAGS'
71428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71433 /* end confdefs.h. */
71434 #include <math.h>
71435 #ifdef HAVE_IEEEFP_H
71436 #include <ieeefp.h>
71437 #endif
71440 main ()
71442 log10l(0);
71444 return 0;
71446 _ACEOF
71447 if ac_fn_cxx_try_compile "$LINENO"; then :
71448 glibcxx_cv_func_log10l_use=yes
71449 else
71450 glibcxx_cv_func_log10l_use=no
71452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71453 ac_ext=c
71454 ac_cpp='$CPP $CPPFLAGS'
71455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71464 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71466 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71467 for ac_func in log10l
71468 do :
71469 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71470 if test "x$ac_cv_func_log10l" = x""yes; then :
71471 cat >>confdefs.h <<_ACEOF
71472 #define HAVE_LOG10L 1
71473 _ACEOF
71476 done
71478 else
71480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71481 $as_echo_n "checking for _log10l declaration... " >&6; }
71482 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71483 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71484 $as_echo_n "(cached) " >&6
71485 else
71488 ac_ext=cpp
71489 ac_cpp='$CXXCPP $CPPFLAGS'
71490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71495 /* end confdefs.h. */
71496 #include <math.h>
71497 #ifdef HAVE_IEEEFP_H
71498 #include <ieeefp.h>
71499 #endif
71502 main ()
71504 _log10l(0);
71506 return 0;
71508 _ACEOF
71509 if ac_fn_cxx_try_compile "$LINENO"; then :
71510 glibcxx_cv_func__log10l_use=yes
71511 else
71512 glibcxx_cv_func__log10l_use=no
71514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71515 ac_ext=c
71516 ac_cpp='$CPP $CPPFLAGS'
71517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71526 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71528 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71529 for ac_func in _log10l
71530 do :
71531 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71532 if test "x$ac_cv_func__log10l" = x""yes; then :
71533 cat >>confdefs.h <<_ACEOF
71534 #define HAVE__LOG10L 1
71535 _ACEOF
71538 done
71547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71548 $as_echo_n "checking for modfl declaration... " >&6; }
71549 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71550 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71551 $as_echo_n "(cached) " >&6
71552 else
71555 ac_ext=cpp
71556 ac_cpp='$CXXCPP $CPPFLAGS'
71557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71562 /* end confdefs.h. */
71563 #include <math.h>
71565 main ()
71567 modfl(0, 0);
71569 return 0;
71571 _ACEOF
71572 if ac_fn_cxx_try_compile "$LINENO"; then :
71573 glibcxx_cv_func_modfl_use=yes
71574 else
71575 glibcxx_cv_func_modfl_use=no
71577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71578 ac_ext=c
71579 ac_cpp='$CPP $CPPFLAGS'
71580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71589 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71591 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71592 for ac_func in modfl
71593 do :
71594 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71595 if test "x$ac_cv_func_modfl" = x""yes; then :
71596 cat >>confdefs.h <<_ACEOF
71597 #define HAVE_MODFL 1
71598 _ACEOF
71601 done
71603 else
71605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71606 $as_echo_n "checking for _modfl declaration... " >&6; }
71607 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71608 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71609 $as_echo_n "(cached) " >&6
71610 else
71613 ac_ext=cpp
71614 ac_cpp='$CXXCPP $CPPFLAGS'
71615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71620 /* end confdefs.h. */
71621 #include <math.h>
71623 main ()
71625 _modfl(0, 0);
71627 return 0;
71629 _ACEOF
71630 if ac_fn_cxx_try_compile "$LINENO"; then :
71631 glibcxx_cv_func__modfl_use=yes
71632 else
71633 glibcxx_cv_func__modfl_use=no
71635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71636 ac_ext=c
71637 ac_cpp='$CPP $CPPFLAGS'
71638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71647 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71649 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71650 for ac_func in _modfl
71651 do :
71652 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71653 if test "x$ac_cv_func__modfl" = x""yes; then :
71654 cat >>confdefs.h <<_ACEOF
71655 #define HAVE__MODFL 1
71656 _ACEOF
71659 done
71668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71669 $as_echo_n "checking for powl declaration... " >&6; }
71670 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71671 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71672 $as_echo_n "(cached) " >&6
71673 else
71676 ac_ext=cpp
71677 ac_cpp='$CXXCPP $CPPFLAGS'
71678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71683 /* end confdefs.h. */
71684 #include <math.h>
71686 main ()
71688 powl(0, 0);
71690 return 0;
71692 _ACEOF
71693 if ac_fn_cxx_try_compile "$LINENO"; then :
71694 glibcxx_cv_func_powl_use=yes
71695 else
71696 glibcxx_cv_func_powl_use=no
71698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71699 ac_ext=c
71700 ac_cpp='$CPP $CPPFLAGS'
71701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71710 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71712 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71713 for ac_func in powl
71714 do :
71715 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71716 if test "x$ac_cv_func_powl" = x""yes; then :
71717 cat >>confdefs.h <<_ACEOF
71718 #define HAVE_POWL 1
71719 _ACEOF
71722 done
71724 else
71726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71727 $as_echo_n "checking for _powl declaration... " >&6; }
71728 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71729 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71730 $as_echo_n "(cached) " >&6
71731 else
71734 ac_ext=cpp
71735 ac_cpp='$CXXCPP $CPPFLAGS'
71736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71741 /* end confdefs.h. */
71742 #include <math.h>
71744 main ()
71746 _powl(0, 0);
71748 return 0;
71750 _ACEOF
71751 if ac_fn_cxx_try_compile "$LINENO"; then :
71752 glibcxx_cv_func__powl_use=yes
71753 else
71754 glibcxx_cv_func__powl_use=no
71756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71757 ac_ext=c
71758 ac_cpp='$CPP $CPPFLAGS'
71759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71768 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71770 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71771 for ac_func in _powl
71772 do :
71773 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71774 if test "x$ac_cv_func__powl" = x""yes; then :
71775 cat >>confdefs.h <<_ACEOF
71776 #define HAVE__POWL 1
71777 _ACEOF
71780 done
71789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71790 $as_echo_n "checking for sqrtl declaration... " >&6; }
71791 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71792 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71793 $as_echo_n "(cached) " >&6
71794 else
71797 ac_ext=cpp
71798 ac_cpp='$CXXCPP $CPPFLAGS'
71799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71804 /* end confdefs.h. */
71805 #include <math.h>
71806 #ifdef HAVE_IEEEFP_H
71807 #include <ieeefp.h>
71808 #endif
71811 main ()
71813 sqrtl(0);
71815 return 0;
71817 _ACEOF
71818 if ac_fn_cxx_try_compile "$LINENO"; then :
71819 glibcxx_cv_func_sqrtl_use=yes
71820 else
71821 glibcxx_cv_func_sqrtl_use=no
71823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71824 ac_ext=c
71825 ac_cpp='$CPP $CPPFLAGS'
71826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71835 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71837 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71838 for ac_func in sqrtl
71839 do :
71840 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71841 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71842 cat >>confdefs.h <<_ACEOF
71843 #define HAVE_SQRTL 1
71844 _ACEOF
71847 done
71849 else
71851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71852 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71853 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71854 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71855 $as_echo_n "(cached) " >&6
71856 else
71859 ac_ext=cpp
71860 ac_cpp='$CXXCPP $CPPFLAGS'
71861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71866 /* end confdefs.h. */
71867 #include <math.h>
71868 #ifdef HAVE_IEEEFP_H
71869 #include <ieeefp.h>
71870 #endif
71873 main ()
71875 _sqrtl(0);
71877 return 0;
71879 _ACEOF
71880 if ac_fn_cxx_try_compile "$LINENO"; then :
71881 glibcxx_cv_func__sqrtl_use=yes
71882 else
71883 glibcxx_cv_func__sqrtl_use=no
71885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71886 ac_ext=c
71887 ac_cpp='$CPP $CPPFLAGS'
71888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71897 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71899 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71900 for ac_func in _sqrtl
71901 do :
71902 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71903 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71904 cat >>confdefs.h <<_ACEOF
71905 #define HAVE__SQRTL 1
71906 _ACEOF
71909 done
71918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71919 $as_echo_n "checking for sincosl declaration... " >&6; }
71920 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71921 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71922 $as_echo_n "(cached) " >&6
71923 else
71926 ac_ext=cpp
71927 ac_cpp='$CXXCPP $CPPFLAGS'
71928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71933 /* end confdefs.h. */
71934 #include <math.h>
71936 main ()
71938 sincosl(0, 0, 0);
71940 return 0;
71942 _ACEOF
71943 if ac_fn_cxx_try_compile "$LINENO"; then :
71944 glibcxx_cv_func_sincosl_use=yes
71945 else
71946 glibcxx_cv_func_sincosl_use=no
71948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71949 ac_ext=c
71950 ac_cpp='$CPP $CPPFLAGS'
71951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71960 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71962 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71963 for ac_func in sincosl
71964 do :
71965 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71966 if test "x$ac_cv_func_sincosl" = x""yes; then :
71967 cat >>confdefs.h <<_ACEOF
71968 #define HAVE_SINCOSL 1
71969 _ACEOF
71972 done
71974 else
71976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71977 $as_echo_n "checking for _sincosl declaration... " >&6; }
71978 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71979 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71980 $as_echo_n "(cached) " >&6
71981 else
71984 ac_ext=cpp
71985 ac_cpp='$CXXCPP $CPPFLAGS'
71986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71991 /* end confdefs.h. */
71992 #include <math.h>
71994 main ()
71996 _sincosl(0, 0, 0);
71998 return 0;
72000 _ACEOF
72001 if ac_fn_cxx_try_compile "$LINENO"; then :
72002 glibcxx_cv_func__sincosl_use=yes
72003 else
72004 glibcxx_cv_func__sincosl_use=no
72006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72007 ac_ext=c
72008 ac_cpp='$CPP $CPPFLAGS'
72009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72018 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72020 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72021 for ac_func in _sincosl
72022 do :
72023 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72024 if test "x$ac_cv_func__sincosl" = x""yes; then :
72025 cat >>confdefs.h <<_ACEOF
72026 #define HAVE__SINCOSL 1
72027 _ACEOF
72030 done
72039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72040 $as_echo_n "checking for finitel declaration... " >&6; }
72041 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72042 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72043 $as_echo_n "(cached) " >&6
72044 else
72047 ac_ext=cpp
72048 ac_cpp='$CXXCPP $CPPFLAGS'
72049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72054 /* end confdefs.h. */
72055 #include <math.h>
72056 #ifdef HAVE_IEEEFP_H
72057 #include <ieeefp.h>
72058 #endif
72061 main ()
72063 finitel(0);
72065 return 0;
72067 _ACEOF
72068 if ac_fn_cxx_try_compile "$LINENO"; then :
72069 glibcxx_cv_func_finitel_use=yes
72070 else
72071 glibcxx_cv_func_finitel_use=no
72073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72074 ac_ext=c
72075 ac_cpp='$CPP $CPPFLAGS'
72076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72085 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72087 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72088 for ac_func in finitel
72089 do :
72090 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72091 if test "x$ac_cv_func_finitel" = x""yes; then :
72092 cat >>confdefs.h <<_ACEOF
72093 #define HAVE_FINITEL 1
72094 _ACEOF
72097 done
72099 else
72101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72102 $as_echo_n "checking for _finitel declaration... " >&6; }
72103 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72104 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72105 $as_echo_n "(cached) " >&6
72106 else
72109 ac_ext=cpp
72110 ac_cpp='$CXXCPP $CPPFLAGS'
72111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72116 /* end confdefs.h. */
72117 #include <math.h>
72118 #ifdef HAVE_IEEEFP_H
72119 #include <ieeefp.h>
72120 #endif
72123 main ()
72125 _finitel(0);
72127 return 0;
72129 _ACEOF
72130 if ac_fn_cxx_try_compile "$LINENO"; then :
72131 glibcxx_cv_func__finitel_use=yes
72132 else
72133 glibcxx_cv_func__finitel_use=no
72135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72136 ac_ext=c
72137 ac_cpp='$CPP $CPPFLAGS'
72138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72147 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72149 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72150 for ac_func in _finitel
72151 do :
72152 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72153 if test "x$ac_cv_func__finitel" = x""yes; then :
72154 cat >>confdefs.h <<_ACEOF
72155 #define HAVE__FINITEL 1
72156 _ACEOF
72159 done
72167 LIBS="$ac_save_LIBS"
72168 CXXFLAGS="$ac_save_CXXFLAGS"
72171 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72172 ac_save_CXXFLAGS="$CXXFLAGS"
72173 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72177 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72178 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72179 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72180 $as_echo_n "(cached) " >&6
72181 else
72184 ac_ext=cpp
72185 ac_cpp='$CXXCPP $CPPFLAGS'
72186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72191 /* end confdefs.h. */
72192 #include <stdlib.h>
72194 main ()
72196 at_quick_exit(0);
72198 return 0;
72200 _ACEOF
72201 if ac_fn_cxx_try_compile "$LINENO"; then :
72202 glibcxx_cv_func_at_quick_exit_use=yes
72203 else
72204 glibcxx_cv_func_at_quick_exit_use=no
72206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72207 ac_ext=c
72208 ac_cpp='$CPP $CPPFLAGS'
72209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72218 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72219 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72220 for ac_func in at_quick_exit
72221 do :
72222 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72223 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72224 cat >>confdefs.h <<_ACEOF
72225 #define HAVE_AT_QUICK_EXIT 1
72226 _ACEOF
72229 done
72234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72235 $as_echo_n "checking for quick_exit declaration... " >&6; }
72236 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72237 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72238 $as_echo_n "(cached) " >&6
72239 else
72242 ac_ext=cpp
72243 ac_cpp='$CXXCPP $CPPFLAGS'
72244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72249 /* end confdefs.h. */
72250 #include <stdlib.h>
72252 main ()
72254 quick_exit(0);
72256 return 0;
72258 _ACEOF
72259 if ac_fn_cxx_try_compile "$LINENO"; then :
72260 glibcxx_cv_func_quick_exit_use=yes
72261 else
72262 glibcxx_cv_func_quick_exit_use=no
72264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72265 ac_ext=c
72266 ac_cpp='$CPP $CPPFLAGS'
72267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72276 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72277 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72278 for ac_func in quick_exit
72279 do :
72280 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72281 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72282 cat >>confdefs.h <<_ACEOF
72283 #define HAVE_QUICK_EXIT 1
72284 _ACEOF
72287 done
72292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72293 $as_echo_n "checking for strtold declaration... " >&6; }
72294 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72295 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72296 $as_echo_n "(cached) " >&6
72297 else
72300 ac_ext=cpp
72301 ac_cpp='$CXXCPP $CPPFLAGS'
72302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72307 /* end confdefs.h. */
72308 #include <stdlib.h>
72310 main ()
72312 strtold(0, 0);
72314 return 0;
72316 _ACEOF
72317 if ac_fn_cxx_try_compile "$LINENO"; then :
72318 glibcxx_cv_func_strtold_use=yes
72319 else
72320 glibcxx_cv_func_strtold_use=no
72322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72323 ac_ext=c
72324 ac_cpp='$CPP $CPPFLAGS'
72325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72334 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72335 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72336 for ac_func in strtold
72337 do :
72338 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72339 if test "x$ac_cv_func_strtold" = x""yes; then :
72340 cat >>confdefs.h <<_ACEOF
72341 #define HAVE_STRTOLD 1
72342 _ACEOF
72345 done
72352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72353 $as_echo_n "checking for strtof declaration... " >&6; }
72354 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72355 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72356 $as_echo_n "(cached) " >&6
72357 else
72360 ac_ext=cpp
72361 ac_cpp='$CXXCPP $CPPFLAGS'
72362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72367 /* end confdefs.h. */
72368 #include <stdlib.h>
72370 main ()
72372 strtof(0, 0);
72374 return 0;
72376 _ACEOF
72377 if ac_fn_cxx_try_compile "$LINENO"; then :
72378 glibcxx_cv_func_strtof_use=yes
72379 else
72380 glibcxx_cv_func_strtof_use=no
72382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72383 ac_ext=c
72384 ac_cpp='$CPP $CPPFLAGS'
72385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72394 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72395 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72396 for ac_func in strtof
72397 do :
72398 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72399 if test "x$ac_cv_func_strtof" = x""yes; then :
72400 cat >>confdefs.h <<_ACEOF
72401 #define HAVE_STRTOF 1
72402 _ACEOF
72405 done
72412 CXXFLAGS="$ac_save_CXXFLAGS"
72415 *-tpf)
72416 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72417 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72419 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72421 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72423 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72425 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72427 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72429 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72431 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72433 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72435 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72437 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72439 if test x"long_double_math_on_this_cpu" = x"yes"; then
72440 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72442 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72444 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72446 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72450 *-*vms*)
72451 # Check for available headers.
72452 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72454 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72455 ac_save_CXXFLAGS="$CXXFLAGS"
72456 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72459 $as_echo_n "checking for sin in -lm... " >&6; }
72460 if test "${ac_cv_lib_m_sin+set}" = set; then :
72461 $as_echo_n "(cached) " >&6
72462 else
72463 ac_check_lib_save_LIBS=$LIBS
72464 LIBS="-lm $LIBS"
72465 if test x$gcc_no_link = xyes; then
72466 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72469 /* end confdefs.h. */
72471 /* Override any GCC internal prototype to avoid an error.
72472 Use char because int might match the return type of a GCC
72473 builtin and then its argument prototype would still apply. */
72474 #ifdef __cplusplus
72475 extern "C"
72476 #endif
72477 char sin ();
72479 main ()
72481 return sin ();
72483 return 0;
72485 _ACEOF
72486 if ac_fn_c_try_link "$LINENO"; then :
72487 ac_cv_lib_m_sin=yes
72488 else
72489 ac_cv_lib_m_sin=no
72491 rm -f core conftest.err conftest.$ac_objext \
72492 conftest$ac_exeext conftest.$ac_ext
72493 LIBS=$ac_check_lib_save_LIBS
72495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72496 $as_echo "$ac_cv_lib_m_sin" >&6; }
72497 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72498 libm="-lm"
72501 ac_save_LIBS="$LIBS"
72502 LIBS="$LIBS $libm"
72506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72507 $as_echo_n "checking for isinf declaration... " >&6; }
72508 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72509 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72510 $as_echo_n "(cached) " >&6
72511 else
72514 ac_ext=cpp
72515 ac_cpp='$CXXCPP $CPPFLAGS'
72516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72521 /* end confdefs.h. */
72522 #include <math.h>
72523 #ifdef HAVE_IEEEFP_H
72524 #include <ieeefp.h>
72525 #endif
72528 main ()
72530 isinf(0);
72532 return 0;
72534 _ACEOF
72535 if ac_fn_cxx_try_compile "$LINENO"; then :
72536 glibcxx_cv_func_isinf_use=yes
72537 else
72538 glibcxx_cv_func_isinf_use=no
72540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72541 ac_ext=c
72542 ac_cpp='$CPP $CPPFLAGS'
72543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72552 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72554 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72555 for ac_func in isinf
72556 do :
72557 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72558 if test "x$ac_cv_func_isinf" = x""yes; then :
72559 cat >>confdefs.h <<_ACEOF
72560 #define HAVE_ISINF 1
72561 _ACEOF
72564 done
72566 else
72568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72569 $as_echo_n "checking for _isinf declaration... " >&6; }
72570 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72571 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72572 $as_echo_n "(cached) " >&6
72573 else
72576 ac_ext=cpp
72577 ac_cpp='$CXXCPP $CPPFLAGS'
72578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72583 /* end confdefs.h. */
72584 #include <math.h>
72585 #ifdef HAVE_IEEEFP_H
72586 #include <ieeefp.h>
72587 #endif
72590 main ()
72592 _isinf(0);
72594 return 0;
72596 _ACEOF
72597 if ac_fn_cxx_try_compile "$LINENO"; then :
72598 glibcxx_cv_func__isinf_use=yes
72599 else
72600 glibcxx_cv_func__isinf_use=no
72602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72603 ac_ext=c
72604 ac_cpp='$CPP $CPPFLAGS'
72605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72614 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72616 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72617 for ac_func in _isinf
72618 do :
72619 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72620 if test "x$ac_cv_func__isinf" = x""yes; then :
72621 cat >>confdefs.h <<_ACEOF
72622 #define HAVE__ISINF 1
72623 _ACEOF
72626 done
72635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72636 $as_echo_n "checking for isnan declaration... " >&6; }
72637 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72638 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72639 $as_echo_n "(cached) " >&6
72640 else
72643 ac_ext=cpp
72644 ac_cpp='$CXXCPP $CPPFLAGS'
72645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72650 /* end confdefs.h. */
72651 #include <math.h>
72652 #ifdef HAVE_IEEEFP_H
72653 #include <ieeefp.h>
72654 #endif
72657 main ()
72659 isnan(0);
72661 return 0;
72663 _ACEOF
72664 if ac_fn_cxx_try_compile "$LINENO"; then :
72665 glibcxx_cv_func_isnan_use=yes
72666 else
72667 glibcxx_cv_func_isnan_use=no
72669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72670 ac_ext=c
72671 ac_cpp='$CPP $CPPFLAGS'
72672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72681 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72683 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72684 for ac_func in isnan
72685 do :
72686 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72687 if test "x$ac_cv_func_isnan" = x""yes; then :
72688 cat >>confdefs.h <<_ACEOF
72689 #define HAVE_ISNAN 1
72690 _ACEOF
72693 done
72695 else
72697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72698 $as_echo_n "checking for _isnan declaration... " >&6; }
72699 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72700 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72701 $as_echo_n "(cached) " >&6
72702 else
72705 ac_ext=cpp
72706 ac_cpp='$CXXCPP $CPPFLAGS'
72707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72712 /* end confdefs.h. */
72713 #include <math.h>
72714 #ifdef HAVE_IEEEFP_H
72715 #include <ieeefp.h>
72716 #endif
72719 main ()
72721 _isnan(0);
72723 return 0;
72725 _ACEOF
72726 if ac_fn_cxx_try_compile "$LINENO"; then :
72727 glibcxx_cv_func__isnan_use=yes
72728 else
72729 glibcxx_cv_func__isnan_use=no
72731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72732 ac_ext=c
72733 ac_cpp='$CPP $CPPFLAGS'
72734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72743 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72745 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72746 for ac_func in _isnan
72747 do :
72748 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72749 if test "x$ac_cv_func__isnan" = x""yes; then :
72750 cat >>confdefs.h <<_ACEOF
72751 #define HAVE__ISNAN 1
72752 _ACEOF
72755 done
72764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72765 $as_echo_n "checking for finite declaration... " >&6; }
72766 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72767 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72768 $as_echo_n "(cached) " >&6
72769 else
72772 ac_ext=cpp
72773 ac_cpp='$CXXCPP $CPPFLAGS'
72774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72779 /* end confdefs.h. */
72780 #include <math.h>
72781 #ifdef HAVE_IEEEFP_H
72782 #include <ieeefp.h>
72783 #endif
72786 main ()
72788 finite(0);
72790 return 0;
72792 _ACEOF
72793 if ac_fn_cxx_try_compile "$LINENO"; then :
72794 glibcxx_cv_func_finite_use=yes
72795 else
72796 glibcxx_cv_func_finite_use=no
72798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72799 ac_ext=c
72800 ac_cpp='$CPP $CPPFLAGS'
72801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72810 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72812 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72813 for ac_func in finite
72814 do :
72815 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72816 if test "x$ac_cv_func_finite" = x""yes; then :
72817 cat >>confdefs.h <<_ACEOF
72818 #define HAVE_FINITE 1
72819 _ACEOF
72822 done
72824 else
72826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72827 $as_echo_n "checking for _finite declaration... " >&6; }
72828 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72829 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72830 $as_echo_n "(cached) " >&6
72831 else
72834 ac_ext=cpp
72835 ac_cpp='$CXXCPP $CPPFLAGS'
72836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72841 /* end confdefs.h. */
72842 #include <math.h>
72843 #ifdef HAVE_IEEEFP_H
72844 #include <ieeefp.h>
72845 #endif
72848 main ()
72850 _finite(0);
72852 return 0;
72854 _ACEOF
72855 if ac_fn_cxx_try_compile "$LINENO"; then :
72856 glibcxx_cv_func__finite_use=yes
72857 else
72858 glibcxx_cv_func__finite_use=no
72860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72861 ac_ext=c
72862 ac_cpp='$CPP $CPPFLAGS'
72863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72872 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72874 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72875 for ac_func in _finite
72876 do :
72877 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72878 if test "x$ac_cv_func__finite" = x""yes; then :
72879 cat >>confdefs.h <<_ACEOF
72880 #define HAVE__FINITE 1
72881 _ACEOF
72884 done
72893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72894 $as_echo_n "checking for sincos declaration... " >&6; }
72895 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72896 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72897 $as_echo_n "(cached) " >&6
72898 else
72901 ac_ext=cpp
72902 ac_cpp='$CXXCPP $CPPFLAGS'
72903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72908 /* end confdefs.h. */
72909 #include <math.h>
72911 main ()
72913 sincos(0, 0, 0);
72915 return 0;
72917 _ACEOF
72918 if ac_fn_cxx_try_compile "$LINENO"; then :
72919 glibcxx_cv_func_sincos_use=yes
72920 else
72921 glibcxx_cv_func_sincos_use=no
72923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72924 ac_ext=c
72925 ac_cpp='$CPP $CPPFLAGS'
72926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72935 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72937 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72938 for ac_func in sincos
72939 do :
72940 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72941 if test "x$ac_cv_func_sincos" = x""yes; then :
72942 cat >>confdefs.h <<_ACEOF
72943 #define HAVE_SINCOS 1
72944 _ACEOF
72947 done
72949 else
72951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72952 $as_echo_n "checking for _sincos declaration... " >&6; }
72953 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72954 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72955 $as_echo_n "(cached) " >&6
72956 else
72959 ac_ext=cpp
72960 ac_cpp='$CXXCPP $CPPFLAGS'
72961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72966 /* end confdefs.h. */
72967 #include <math.h>
72969 main ()
72971 _sincos(0, 0, 0);
72973 return 0;
72975 _ACEOF
72976 if ac_fn_cxx_try_compile "$LINENO"; then :
72977 glibcxx_cv_func__sincos_use=yes
72978 else
72979 glibcxx_cv_func__sincos_use=no
72981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72982 ac_ext=c
72983 ac_cpp='$CPP $CPPFLAGS'
72984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72993 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72995 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72996 for ac_func in _sincos
72997 do :
72998 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72999 if test "x$ac_cv_func__sincos" = x""yes; then :
73000 cat >>confdefs.h <<_ACEOF
73001 #define HAVE__SINCOS 1
73002 _ACEOF
73005 done
73014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73015 $as_echo_n "checking for fpclass declaration... " >&6; }
73016 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73017 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73018 $as_echo_n "(cached) " >&6
73019 else
73022 ac_ext=cpp
73023 ac_cpp='$CXXCPP $CPPFLAGS'
73024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73029 /* end confdefs.h. */
73030 #include <math.h>
73031 #ifdef HAVE_IEEEFP_H
73032 #include <ieeefp.h>
73033 #endif
73036 main ()
73038 fpclass(0);
73040 return 0;
73042 _ACEOF
73043 if ac_fn_cxx_try_compile "$LINENO"; then :
73044 glibcxx_cv_func_fpclass_use=yes
73045 else
73046 glibcxx_cv_func_fpclass_use=no
73048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73049 ac_ext=c
73050 ac_cpp='$CPP $CPPFLAGS'
73051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73060 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73062 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73063 for ac_func in fpclass
73064 do :
73065 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73066 if test "x$ac_cv_func_fpclass" = x""yes; then :
73067 cat >>confdefs.h <<_ACEOF
73068 #define HAVE_FPCLASS 1
73069 _ACEOF
73072 done
73074 else
73076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73077 $as_echo_n "checking for _fpclass declaration... " >&6; }
73078 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73079 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73080 $as_echo_n "(cached) " >&6
73081 else
73084 ac_ext=cpp
73085 ac_cpp='$CXXCPP $CPPFLAGS'
73086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73091 /* end confdefs.h. */
73092 #include <math.h>
73093 #ifdef HAVE_IEEEFP_H
73094 #include <ieeefp.h>
73095 #endif
73098 main ()
73100 _fpclass(0);
73102 return 0;
73104 _ACEOF
73105 if ac_fn_cxx_try_compile "$LINENO"; then :
73106 glibcxx_cv_func__fpclass_use=yes
73107 else
73108 glibcxx_cv_func__fpclass_use=no
73110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73111 ac_ext=c
73112 ac_cpp='$CPP $CPPFLAGS'
73113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73122 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73124 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73125 for ac_func in _fpclass
73126 do :
73127 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73128 if test "x$ac_cv_func__fpclass" = x""yes; then :
73129 cat >>confdefs.h <<_ACEOF
73130 #define HAVE__FPCLASS 1
73131 _ACEOF
73134 done
73143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73144 $as_echo_n "checking for qfpclass declaration... " >&6; }
73145 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73146 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73147 $as_echo_n "(cached) " >&6
73148 else
73151 ac_ext=cpp
73152 ac_cpp='$CXXCPP $CPPFLAGS'
73153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73158 /* end confdefs.h. */
73159 #include <math.h>
73160 #ifdef HAVE_IEEEFP_H
73161 #include <ieeefp.h>
73162 #endif
73165 main ()
73167 qfpclass(0);
73169 return 0;
73171 _ACEOF
73172 if ac_fn_cxx_try_compile "$LINENO"; then :
73173 glibcxx_cv_func_qfpclass_use=yes
73174 else
73175 glibcxx_cv_func_qfpclass_use=no
73177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73178 ac_ext=c
73179 ac_cpp='$CPP $CPPFLAGS'
73180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73189 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73191 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73192 for ac_func in qfpclass
73193 do :
73194 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73195 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73196 cat >>confdefs.h <<_ACEOF
73197 #define HAVE_QFPCLASS 1
73198 _ACEOF
73201 done
73203 else
73205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73206 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73207 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73208 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73209 $as_echo_n "(cached) " >&6
73210 else
73213 ac_ext=cpp
73214 ac_cpp='$CXXCPP $CPPFLAGS'
73215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73220 /* end confdefs.h. */
73221 #include <math.h>
73222 #ifdef HAVE_IEEEFP_H
73223 #include <ieeefp.h>
73224 #endif
73227 main ()
73229 _qfpclass(0);
73231 return 0;
73233 _ACEOF
73234 if ac_fn_cxx_try_compile "$LINENO"; then :
73235 glibcxx_cv_func__qfpclass_use=yes
73236 else
73237 glibcxx_cv_func__qfpclass_use=no
73239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73240 ac_ext=c
73241 ac_cpp='$CPP $CPPFLAGS'
73242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73251 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73253 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73254 for ac_func in _qfpclass
73255 do :
73256 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73257 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73258 cat >>confdefs.h <<_ACEOF
73259 #define HAVE__QFPCLASS 1
73260 _ACEOF
73263 done
73272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73273 $as_echo_n "checking for hypot declaration... " >&6; }
73274 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73275 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73276 $as_echo_n "(cached) " >&6
73277 else
73280 ac_ext=cpp
73281 ac_cpp='$CXXCPP $CPPFLAGS'
73282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73287 /* end confdefs.h. */
73288 #include <math.h>
73290 main ()
73292 hypot(0, 0);
73294 return 0;
73296 _ACEOF
73297 if ac_fn_cxx_try_compile "$LINENO"; then :
73298 glibcxx_cv_func_hypot_use=yes
73299 else
73300 glibcxx_cv_func_hypot_use=no
73302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73303 ac_ext=c
73304 ac_cpp='$CPP $CPPFLAGS'
73305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73314 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73316 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73317 for ac_func in hypot
73318 do :
73319 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73320 if test "x$ac_cv_func_hypot" = x""yes; then :
73321 cat >>confdefs.h <<_ACEOF
73322 #define HAVE_HYPOT 1
73323 _ACEOF
73326 done
73328 else
73330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73331 $as_echo_n "checking for _hypot declaration... " >&6; }
73332 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73333 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73334 $as_echo_n "(cached) " >&6
73335 else
73338 ac_ext=cpp
73339 ac_cpp='$CXXCPP $CPPFLAGS'
73340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73345 /* end confdefs.h. */
73346 #include <math.h>
73348 main ()
73350 _hypot(0, 0);
73352 return 0;
73354 _ACEOF
73355 if ac_fn_cxx_try_compile "$LINENO"; then :
73356 glibcxx_cv_func__hypot_use=yes
73357 else
73358 glibcxx_cv_func__hypot_use=no
73360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73361 ac_ext=c
73362 ac_cpp='$CPP $CPPFLAGS'
73363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73372 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73374 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73375 for ac_func in _hypot
73376 do :
73377 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73378 if test "x$ac_cv_func__hypot" = x""yes; then :
73379 cat >>confdefs.h <<_ACEOF
73380 #define HAVE__HYPOT 1
73381 _ACEOF
73384 done
73393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73394 $as_echo_n "checking for float trig functions... " >&6; }
73395 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73396 $as_echo_n "(cached) " >&6
73397 else
73400 ac_ext=cpp
73401 ac_cpp='$CXXCPP $CPPFLAGS'
73402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73407 /* end confdefs.h. */
73408 #include <math.h>
73410 main ()
73412 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73414 return 0;
73416 _ACEOF
73417 if ac_fn_cxx_try_compile "$LINENO"; then :
73418 glibcxx_cv_func_float_trig_use=yes
73419 else
73420 glibcxx_cv_func_float_trig_use=no
73422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73423 ac_ext=c
73424 ac_cpp='$CPP $CPPFLAGS'
73425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73432 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73433 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73434 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73435 do :
73436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73438 eval as_val=\$$as_ac_var
73439 if test "x$as_val" = x""yes; then :
73440 cat >>confdefs.h <<_ACEOF
73441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73442 _ACEOF
73445 done
73447 else
73448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73449 $as_echo_n "checking for _float trig functions... " >&6; }
73450 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73451 $as_echo_n "(cached) " >&6
73452 else
73455 ac_ext=cpp
73456 ac_cpp='$CXXCPP $CPPFLAGS'
73457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73462 /* end confdefs.h. */
73463 #include <math.h>
73465 main ()
73467 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73469 return 0;
73471 _ACEOF
73472 if ac_fn_cxx_try_compile "$LINENO"; then :
73473 glibcxx_cv_func__float_trig_use=yes
73474 else
73475 glibcxx_cv_func__float_trig_use=no
73477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73478 ac_ext=c
73479 ac_cpp='$CPP $CPPFLAGS'
73480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73487 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73488 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73489 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73490 do :
73491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73493 eval as_val=\$$as_ac_var
73494 if test "x$as_val" = x""yes; then :
73495 cat >>confdefs.h <<_ACEOF
73496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73497 _ACEOF
73500 done
73509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73510 $as_echo_n "checking for float round functions... " >&6; }
73511 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73512 $as_echo_n "(cached) " >&6
73513 else
73516 ac_ext=cpp
73517 ac_cpp='$CXXCPP $CPPFLAGS'
73518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73523 /* end confdefs.h. */
73524 #include <math.h>
73526 main ()
73528 ceilf (0); floorf (0);
73530 return 0;
73532 _ACEOF
73533 if ac_fn_cxx_try_compile "$LINENO"; then :
73534 glibcxx_cv_func_float_round_use=yes
73535 else
73536 glibcxx_cv_func_float_round_use=no
73538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73539 ac_ext=c
73540 ac_cpp='$CPP $CPPFLAGS'
73541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73548 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73549 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73550 for ac_func in ceilf floorf
73551 do :
73552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73554 eval as_val=\$$as_ac_var
73555 if test "x$as_val" = x""yes; then :
73556 cat >>confdefs.h <<_ACEOF
73557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73558 _ACEOF
73561 done
73563 else
73564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73565 $as_echo_n "checking for _float round functions... " >&6; }
73566 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73567 $as_echo_n "(cached) " >&6
73568 else
73571 ac_ext=cpp
73572 ac_cpp='$CXXCPP $CPPFLAGS'
73573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73578 /* end confdefs.h. */
73579 #include <math.h>
73581 main ()
73583 _ceilf (0); _floorf (0);
73585 return 0;
73587 _ACEOF
73588 if ac_fn_cxx_try_compile "$LINENO"; then :
73589 glibcxx_cv_func__float_round_use=yes
73590 else
73591 glibcxx_cv_func__float_round_use=no
73593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73594 ac_ext=c
73595 ac_cpp='$CPP $CPPFLAGS'
73596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73603 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73604 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73605 for ac_func in _ceilf _floorf
73606 do :
73607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73609 eval as_val=\$$as_ac_var
73610 if test "x$as_val" = x""yes; then :
73611 cat >>confdefs.h <<_ACEOF
73612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73613 _ACEOF
73616 done
73626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73627 $as_echo_n "checking for expf declaration... " >&6; }
73628 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73629 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73630 $as_echo_n "(cached) " >&6
73631 else
73634 ac_ext=cpp
73635 ac_cpp='$CXXCPP $CPPFLAGS'
73636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73641 /* end confdefs.h. */
73642 #include <math.h>
73643 #ifdef HAVE_IEEEFP_H
73644 #include <ieeefp.h>
73645 #endif
73648 main ()
73650 expf(0);
73652 return 0;
73654 _ACEOF
73655 if ac_fn_cxx_try_compile "$LINENO"; then :
73656 glibcxx_cv_func_expf_use=yes
73657 else
73658 glibcxx_cv_func_expf_use=no
73660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73661 ac_ext=c
73662 ac_cpp='$CPP $CPPFLAGS'
73663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73672 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73674 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73675 for ac_func in expf
73676 do :
73677 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73678 if test "x$ac_cv_func_expf" = x""yes; then :
73679 cat >>confdefs.h <<_ACEOF
73680 #define HAVE_EXPF 1
73681 _ACEOF
73684 done
73686 else
73688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73689 $as_echo_n "checking for _expf declaration... " >&6; }
73690 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73691 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73692 $as_echo_n "(cached) " >&6
73693 else
73696 ac_ext=cpp
73697 ac_cpp='$CXXCPP $CPPFLAGS'
73698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73703 /* end confdefs.h. */
73704 #include <math.h>
73705 #ifdef HAVE_IEEEFP_H
73706 #include <ieeefp.h>
73707 #endif
73710 main ()
73712 _expf(0);
73714 return 0;
73716 _ACEOF
73717 if ac_fn_cxx_try_compile "$LINENO"; then :
73718 glibcxx_cv_func__expf_use=yes
73719 else
73720 glibcxx_cv_func__expf_use=no
73722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73723 ac_ext=c
73724 ac_cpp='$CPP $CPPFLAGS'
73725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73734 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73736 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73737 for ac_func in _expf
73738 do :
73739 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73740 if test "x$ac_cv_func__expf" = x""yes; then :
73741 cat >>confdefs.h <<_ACEOF
73742 #define HAVE__EXPF 1
73743 _ACEOF
73746 done
73755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73756 $as_echo_n "checking for isnanf declaration... " >&6; }
73757 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73758 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73759 $as_echo_n "(cached) " >&6
73760 else
73763 ac_ext=cpp
73764 ac_cpp='$CXXCPP $CPPFLAGS'
73765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73770 /* end confdefs.h. */
73771 #include <math.h>
73772 #ifdef HAVE_IEEEFP_H
73773 #include <ieeefp.h>
73774 #endif
73777 main ()
73779 isnanf(0);
73781 return 0;
73783 _ACEOF
73784 if ac_fn_cxx_try_compile "$LINENO"; then :
73785 glibcxx_cv_func_isnanf_use=yes
73786 else
73787 glibcxx_cv_func_isnanf_use=no
73789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73790 ac_ext=c
73791 ac_cpp='$CPP $CPPFLAGS'
73792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73801 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73803 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73804 for ac_func in isnanf
73805 do :
73806 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73807 if test "x$ac_cv_func_isnanf" = x""yes; then :
73808 cat >>confdefs.h <<_ACEOF
73809 #define HAVE_ISNANF 1
73810 _ACEOF
73813 done
73815 else
73817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73818 $as_echo_n "checking for _isnanf declaration... " >&6; }
73819 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73820 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73821 $as_echo_n "(cached) " >&6
73822 else
73825 ac_ext=cpp
73826 ac_cpp='$CXXCPP $CPPFLAGS'
73827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73832 /* end confdefs.h. */
73833 #include <math.h>
73834 #ifdef HAVE_IEEEFP_H
73835 #include <ieeefp.h>
73836 #endif
73839 main ()
73841 _isnanf(0);
73843 return 0;
73845 _ACEOF
73846 if ac_fn_cxx_try_compile "$LINENO"; then :
73847 glibcxx_cv_func__isnanf_use=yes
73848 else
73849 glibcxx_cv_func__isnanf_use=no
73851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73852 ac_ext=c
73853 ac_cpp='$CPP $CPPFLAGS'
73854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73863 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73865 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73866 for ac_func in _isnanf
73867 do :
73868 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73869 if test "x$ac_cv_func__isnanf" = x""yes; then :
73870 cat >>confdefs.h <<_ACEOF
73871 #define HAVE__ISNANF 1
73872 _ACEOF
73875 done
73884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73885 $as_echo_n "checking for isinff declaration... " >&6; }
73886 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73887 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73888 $as_echo_n "(cached) " >&6
73889 else
73892 ac_ext=cpp
73893 ac_cpp='$CXXCPP $CPPFLAGS'
73894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73899 /* end confdefs.h. */
73900 #include <math.h>
73901 #ifdef HAVE_IEEEFP_H
73902 #include <ieeefp.h>
73903 #endif
73906 main ()
73908 isinff(0);
73910 return 0;
73912 _ACEOF
73913 if ac_fn_cxx_try_compile "$LINENO"; then :
73914 glibcxx_cv_func_isinff_use=yes
73915 else
73916 glibcxx_cv_func_isinff_use=no
73918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73919 ac_ext=c
73920 ac_cpp='$CPP $CPPFLAGS'
73921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73930 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73932 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73933 for ac_func in isinff
73934 do :
73935 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73936 if test "x$ac_cv_func_isinff" = x""yes; then :
73937 cat >>confdefs.h <<_ACEOF
73938 #define HAVE_ISINFF 1
73939 _ACEOF
73942 done
73944 else
73946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73947 $as_echo_n "checking for _isinff declaration... " >&6; }
73948 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73949 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73950 $as_echo_n "(cached) " >&6
73951 else
73954 ac_ext=cpp
73955 ac_cpp='$CXXCPP $CPPFLAGS'
73956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73961 /* end confdefs.h. */
73962 #include <math.h>
73963 #ifdef HAVE_IEEEFP_H
73964 #include <ieeefp.h>
73965 #endif
73968 main ()
73970 _isinff(0);
73972 return 0;
73974 _ACEOF
73975 if ac_fn_cxx_try_compile "$LINENO"; then :
73976 glibcxx_cv_func__isinff_use=yes
73977 else
73978 glibcxx_cv_func__isinff_use=no
73980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73981 ac_ext=c
73982 ac_cpp='$CPP $CPPFLAGS'
73983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73992 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73994 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73995 for ac_func in _isinff
73996 do :
73997 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73998 if test "x$ac_cv_func__isinff" = x""yes; then :
73999 cat >>confdefs.h <<_ACEOF
74000 #define HAVE__ISINFF 1
74001 _ACEOF
74004 done
74013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74014 $as_echo_n "checking for atan2f declaration... " >&6; }
74015 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74016 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74017 $as_echo_n "(cached) " >&6
74018 else
74021 ac_ext=cpp
74022 ac_cpp='$CXXCPP $CPPFLAGS'
74023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74028 /* end confdefs.h. */
74029 #include <math.h>
74031 main ()
74033 atan2f(0, 0);
74035 return 0;
74037 _ACEOF
74038 if ac_fn_cxx_try_compile "$LINENO"; then :
74039 glibcxx_cv_func_atan2f_use=yes
74040 else
74041 glibcxx_cv_func_atan2f_use=no
74043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74044 ac_ext=c
74045 ac_cpp='$CPP $CPPFLAGS'
74046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74055 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74057 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74058 for ac_func in atan2f
74059 do :
74060 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74061 if test "x$ac_cv_func_atan2f" = x""yes; then :
74062 cat >>confdefs.h <<_ACEOF
74063 #define HAVE_ATAN2F 1
74064 _ACEOF
74067 done
74069 else
74071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74072 $as_echo_n "checking for _atan2f declaration... " >&6; }
74073 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74074 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74075 $as_echo_n "(cached) " >&6
74076 else
74079 ac_ext=cpp
74080 ac_cpp='$CXXCPP $CPPFLAGS'
74081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74086 /* end confdefs.h. */
74087 #include <math.h>
74089 main ()
74091 _atan2f(0, 0);
74093 return 0;
74095 _ACEOF
74096 if ac_fn_cxx_try_compile "$LINENO"; then :
74097 glibcxx_cv_func__atan2f_use=yes
74098 else
74099 glibcxx_cv_func__atan2f_use=no
74101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74102 ac_ext=c
74103 ac_cpp='$CPP $CPPFLAGS'
74104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74113 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74115 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74116 for ac_func in _atan2f
74117 do :
74118 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74119 if test "x$ac_cv_func__atan2f" = x""yes; then :
74120 cat >>confdefs.h <<_ACEOF
74121 #define HAVE__ATAN2F 1
74122 _ACEOF
74125 done
74134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74135 $as_echo_n "checking for fabsf declaration... " >&6; }
74136 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74137 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74138 $as_echo_n "(cached) " >&6
74139 else
74142 ac_ext=cpp
74143 ac_cpp='$CXXCPP $CPPFLAGS'
74144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74149 /* end confdefs.h. */
74150 #include <math.h>
74151 #ifdef HAVE_IEEEFP_H
74152 #include <ieeefp.h>
74153 #endif
74156 main ()
74158 fabsf(0);
74160 return 0;
74162 _ACEOF
74163 if ac_fn_cxx_try_compile "$LINENO"; then :
74164 glibcxx_cv_func_fabsf_use=yes
74165 else
74166 glibcxx_cv_func_fabsf_use=no
74168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74169 ac_ext=c
74170 ac_cpp='$CPP $CPPFLAGS'
74171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74180 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74182 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74183 for ac_func in fabsf
74184 do :
74185 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74186 if test "x$ac_cv_func_fabsf" = x""yes; then :
74187 cat >>confdefs.h <<_ACEOF
74188 #define HAVE_FABSF 1
74189 _ACEOF
74192 done
74194 else
74196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74197 $as_echo_n "checking for _fabsf declaration... " >&6; }
74198 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74199 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74200 $as_echo_n "(cached) " >&6
74201 else
74204 ac_ext=cpp
74205 ac_cpp='$CXXCPP $CPPFLAGS'
74206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74211 /* end confdefs.h. */
74212 #include <math.h>
74213 #ifdef HAVE_IEEEFP_H
74214 #include <ieeefp.h>
74215 #endif
74218 main ()
74220 _fabsf(0);
74222 return 0;
74224 _ACEOF
74225 if ac_fn_cxx_try_compile "$LINENO"; then :
74226 glibcxx_cv_func__fabsf_use=yes
74227 else
74228 glibcxx_cv_func__fabsf_use=no
74230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74231 ac_ext=c
74232 ac_cpp='$CPP $CPPFLAGS'
74233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74242 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74244 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74245 for ac_func in _fabsf
74246 do :
74247 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74248 if test "x$ac_cv_func__fabsf" = x""yes; then :
74249 cat >>confdefs.h <<_ACEOF
74250 #define HAVE__FABSF 1
74251 _ACEOF
74254 done
74263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74264 $as_echo_n "checking for fmodf declaration... " >&6; }
74265 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74266 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74267 $as_echo_n "(cached) " >&6
74268 else
74271 ac_ext=cpp
74272 ac_cpp='$CXXCPP $CPPFLAGS'
74273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74278 /* end confdefs.h. */
74279 #include <math.h>
74281 main ()
74283 fmodf(0, 0);
74285 return 0;
74287 _ACEOF
74288 if ac_fn_cxx_try_compile "$LINENO"; then :
74289 glibcxx_cv_func_fmodf_use=yes
74290 else
74291 glibcxx_cv_func_fmodf_use=no
74293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74294 ac_ext=c
74295 ac_cpp='$CPP $CPPFLAGS'
74296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74305 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74307 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74308 for ac_func in fmodf
74309 do :
74310 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74311 if test "x$ac_cv_func_fmodf" = x""yes; then :
74312 cat >>confdefs.h <<_ACEOF
74313 #define HAVE_FMODF 1
74314 _ACEOF
74317 done
74319 else
74321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74322 $as_echo_n "checking for _fmodf declaration... " >&6; }
74323 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74324 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74325 $as_echo_n "(cached) " >&6
74326 else
74329 ac_ext=cpp
74330 ac_cpp='$CXXCPP $CPPFLAGS'
74331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74336 /* end confdefs.h. */
74337 #include <math.h>
74339 main ()
74341 _fmodf(0, 0);
74343 return 0;
74345 _ACEOF
74346 if ac_fn_cxx_try_compile "$LINENO"; then :
74347 glibcxx_cv_func__fmodf_use=yes
74348 else
74349 glibcxx_cv_func__fmodf_use=no
74351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74352 ac_ext=c
74353 ac_cpp='$CPP $CPPFLAGS'
74354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74363 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74365 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74366 for ac_func in _fmodf
74367 do :
74368 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74369 if test "x$ac_cv_func__fmodf" = x""yes; then :
74370 cat >>confdefs.h <<_ACEOF
74371 #define HAVE__FMODF 1
74372 _ACEOF
74375 done
74384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74385 $as_echo_n "checking for frexpf declaration... " >&6; }
74386 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74387 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74388 $as_echo_n "(cached) " >&6
74389 else
74392 ac_ext=cpp
74393 ac_cpp='$CXXCPP $CPPFLAGS'
74394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74399 /* end confdefs.h. */
74400 #include <math.h>
74402 main ()
74404 frexpf(0, 0);
74406 return 0;
74408 _ACEOF
74409 if ac_fn_cxx_try_compile "$LINENO"; then :
74410 glibcxx_cv_func_frexpf_use=yes
74411 else
74412 glibcxx_cv_func_frexpf_use=no
74414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74415 ac_ext=c
74416 ac_cpp='$CPP $CPPFLAGS'
74417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74426 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74428 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74429 for ac_func in frexpf
74430 do :
74431 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74432 if test "x$ac_cv_func_frexpf" = x""yes; then :
74433 cat >>confdefs.h <<_ACEOF
74434 #define HAVE_FREXPF 1
74435 _ACEOF
74438 done
74440 else
74442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74443 $as_echo_n "checking for _frexpf declaration... " >&6; }
74444 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74445 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74446 $as_echo_n "(cached) " >&6
74447 else
74450 ac_ext=cpp
74451 ac_cpp='$CXXCPP $CPPFLAGS'
74452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74457 /* end confdefs.h. */
74458 #include <math.h>
74460 main ()
74462 _frexpf(0, 0);
74464 return 0;
74466 _ACEOF
74467 if ac_fn_cxx_try_compile "$LINENO"; then :
74468 glibcxx_cv_func__frexpf_use=yes
74469 else
74470 glibcxx_cv_func__frexpf_use=no
74472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74473 ac_ext=c
74474 ac_cpp='$CPP $CPPFLAGS'
74475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74484 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74486 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74487 for ac_func in _frexpf
74488 do :
74489 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74490 if test "x$ac_cv_func__frexpf" = x""yes; then :
74491 cat >>confdefs.h <<_ACEOF
74492 #define HAVE__FREXPF 1
74493 _ACEOF
74496 done
74505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74506 $as_echo_n "checking for hypotf declaration... " >&6; }
74507 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74508 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74509 $as_echo_n "(cached) " >&6
74510 else
74513 ac_ext=cpp
74514 ac_cpp='$CXXCPP $CPPFLAGS'
74515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74520 /* end confdefs.h. */
74521 #include <math.h>
74523 main ()
74525 hypotf(0, 0);
74527 return 0;
74529 _ACEOF
74530 if ac_fn_cxx_try_compile "$LINENO"; then :
74531 glibcxx_cv_func_hypotf_use=yes
74532 else
74533 glibcxx_cv_func_hypotf_use=no
74535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74536 ac_ext=c
74537 ac_cpp='$CPP $CPPFLAGS'
74538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74547 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74549 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74550 for ac_func in hypotf
74551 do :
74552 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74553 if test "x$ac_cv_func_hypotf" = x""yes; then :
74554 cat >>confdefs.h <<_ACEOF
74555 #define HAVE_HYPOTF 1
74556 _ACEOF
74559 done
74561 else
74563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74564 $as_echo_n "checking for _hypotf declaration... " >&6; }
74565 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74566 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74567 $as_echo_n "(cached) " >&6
74568 else
74571 ac_ext=cpp
74572 ac_cpp='$CXXCPP $CPPFLAGS'
74573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74578 /* end confdefs.h. */
74579 #include <math.h>
74581 main ()
74583 _hypotf(0, 0);
74585 return 0;
74587 _ACEOF
74588 if ac_fn_cxx_try_compile "$LINENO"; then :
74589 glibcxx_cv_func__hypotf_use=yes
74590 else
74591 glibcxx_cv_func__hypotf_use=no
74593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74594 ac_ext=c
74595 ac_cpp='$CPP $CPPFLAGS'
74596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74605 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74607 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74608 for ac_func in _hypotf
74609 do :
74610 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74611 if test "x$ac_cv_func__hypotf" = x""yes; then :
74612 cat >>confdefs.h <<_ACEOF
74613 #define HAVE__HYPOTF 1
74614 _ACEOF
74617 done
74626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74627 $as_echo_n "checking for ldexpf declaration... " >&6; }
74628 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74629 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74630 $as_echo_n "(cached) " >&6
74631 else
74634 ac_ext=cpp
74635 ac_cpp='$CXXCPP $CPPFLAGS'
74636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74641 /* end confdefs.h. */
74642 #include <math.h>
74644 main ()
74646 ldexpf(0, 0);
74648 return 0;
74650 _ACEOF
74651 if ac_fn_cxx_try_compile "$LINENO"; then :
74652 glibcxx_cv_func_ldexpf_use=yes
74653 else
74654 glibcxx_cv_func_ldexpf_use=no
74656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74657 ac_ext=c
74658 ac_cpp='$CPP $CPPFLAGS'
74659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74668 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74670 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74671 for ac_func in ldexpf
74672 do :
74673 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74674 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74675 cat >>confdefs.h <<_ACEOF
74676 #define HAVE_LDEXPF 1
74677 _ACEOF
74680 done
74682 else
74684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74685 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74686 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74687 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74688 $as_echo_n "(cached) " >&6
74689 else
74692 ac_ext=cpp
74693 ac_cpp='$CXXCPP $CPPFLAGS'
74694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74699 /* end confdefs.h. */
74700 #include <math.h>
74702 main ()
74704 _ldexpf(0, 0);
74706 return 0;
74708 _ACEOF
74709 if ac_fn_cxx_try_compile "$LINENO"; then :
74710 glibcxx_cv_func__ldexpf_use=yes
74711 else
74712 glibcxx_cv_func__ldexpf_use=no
74714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74715 ac_ext=c
74716 ac_cpp='$CPP $CPPFLAGS'
74717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74726 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74728 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74729 for ac_func in _ldexpf
74730 do :
74731 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74732 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74733 cat >>confdefs.h <<_ACEOF
74734 #define HAVE__LDEXPF 1
74735 _ACEOF
74738 done
74747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74748 $as_echo_n "checking for logf declaration... " >&6; }
74749 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74750 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74751 $as_echo_n "(cached) " >&6
74752 else
74755 ac_ext=cpp
74756 ac_cpp='$CXXCPP $CPPFLAGS'
74757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74762 /* end confdefs.h. */
74763 #include <math.h>
74764 #ifdef HAVE_IEEEFP_H
74765 #include <ieeefp.h>
74766 #endif
74769 main ()
74771 logf(0);
74773 return 0;
74775 _ACEOF
74776 if ac_fn_cxx_try_compile "$LINENO"; then :
74777 glibcxx_cv_func_logf_use=yes
74778 else
74779 glibcxx_cv_func_logf_use=no
74781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74782 ac_ext=c
74783 ac_cpp='$CPP $CPPFLAGS'
74784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74793 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74795 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74796 for ac_func in logf
74797 do :
74798 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74799 if test "x$ac_cv_func_logf" = x""yes; then :
74800 cat >>confdefs.h <<_ACEOF
74801 #define HAVE_LOGF 1
74802 _ACEOF
74805 done
74807 else
74809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74810 $as_echo_n "checking for _logf declaration... " >&6; }
74811 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74812 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74813 $as_echo_n "(cached) " >&6
74814 else
74817 ac_ext=cpp
74818 ac_cpp='$CXXCPP $CPPFLAGS'
74819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74824 /* end confdefs.h. */
74825 #include <math.h>
74826 #ifdef HAVE_IEEEFP_H
74827 #include <ieeefp.h>
74828 #endif
74831 main ()
74833 _logf(0);
74835 return 0;
74837 _ACEOF
74838 if ac_fn_cxx_try_compile "$LINENO"; then :
74839 glibcxx_cv_func__logf_use=yes
74840 else
74841 glibcxx_cv_func__logf_use=no
74843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74844 ac_ext=c
74845 ac_cpp='$CPP $CPPFLAGS'
74846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74855 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74857 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74858 for ac_func in _logf
74859 do :
74860 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74861 if test "x$ac_cv_func__logf" = x""yes; then :
74862 cat >>confdefs.h <<_ACEOF
74863 #define HAVE__LOGF 1
74864 _ACEOF
74867 done
74876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74877 $as_echo_n "checking for log10f declaration... " >&6; }
74878 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74879 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74880 $as_echo_n "(cached) " >&6
74881 else
74884 ac_ext=cpp
74885 ac_cpp='$CXXCPP $CPPFLAGS'
74886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74891 /* end confdefs.h. */
74892 #include <math.h>
74893 #ifdef HAVE_IEEEFP_H
74894 #include <ieeefp.h>
74895 #endif
74898 main ()
74900 log10f(0);
74902 return 0;
74904 _ACEOF
74905 if ac_fn_cxx_try_compile "$LINENO"; then :
74906 glibcxx_cv_func_log10f_use=yes
74907 else
74908 glibcxx_cv_func_log10f_use=no
74910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74911 ac_ext=c
74912 ac_cpp='$CPP $CPPFLAGS'
74913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74922 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74924 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74925 for ac_func in log10f
74926 do :
74927 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74928 if test "x$ac_cv_func_log10f" = x""yes; then :
74929 cat >>confdefs.h <<_ACEOF
74930 #define HAVE_LOG10F 1
74931 _ACEOF
74934 done
74936 else
74938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74939 $as_echo_n "checking for _log10f declaration... " >&6; }
74940 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74941 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74942 $as_echo_n "(cached) " >&6
74943 else
74946 ac_ext=cpp
74947 ac_cpp='$CXXCPP $CPPFLAGS'
74948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74953 /* end confdefs.h. */
74954 #include <math.h>
74955 #ifdef HAVE_IEEEFP_H
74956 #include <ieeefp.h>
74957 #endif
74960 main ()
74962 _log10f(0);
74964 return 0;
74966 _ACEOF
74967 if ac_fn_cxx_try_compile "$LINENO"; then :
74968 glibcxx_cv_func__log10f_use=yes
74969 else
74970 glibcxx_cv_func__log10f_use=no
74972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74973 ac_ext=c
74974 ac_cpp='$CPP $CPPFLAGS'
74975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74984 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74986 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74987 for ac_func in _log10f
74988 do :
74989 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74990 if test "x$ac_cv_func__log10f" = x""yes; then :
74991 cat >>confdefs.h <<_ACEOF
74992 #define HAVE__LOG10F 1
74993 _ACEOF
74996 done
75005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75006 $as_echo_n "checking for modff declaration... " >&6; }
75007 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75008 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75009 $as_echo_n "(cached) " >&6
75010 else
75013 ac_ext=cpp
75014 ac_cpp='$CXXCPP $CPPFLAGS'
75015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75020 /* end confdefs.h. */
75021 #include <math.h>
75023 main ()
75025 modff(0, 0);
75027 return 0;
75029 _ACEOF
75030 if ac_fn_cxx_try_compile "$LINENO"; then :
75031 glibcxx_cv_func_modff_use=yes
75032 else
75033 glibcxx_cv_func_modff_use=no
75035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75036 ac_ext=c
75037 ac_cpp='$CPP $CPPFLAGS'
75038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75047 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75049 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75050 for ac_func in modff
75051 do :
75052 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75053 if test "x$ac_cv_func_modff" = x""yes; then :
75054 cat >>confdefs.h <<_ACEOF
75055 #define HAVE_MODFF 1
75056 _ACEOF
75059 done
75061 else
75063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75064 $as_echo_n "checking for _modff declaration... " >&6; }
75065 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75066 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75067 $as_echo_n "(cached) " >&6
75068 else
75071 ac_ext=cpp
75072 ac_cpp='$CXXCPP $CPPFLAGS'
75073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75078 /* end confdefs.h. */
75079 #include <math.h>
75081 main ()
75083 _modff(0, 0);
75085 return 0;
75087 _ACEOF
75088 if ac_fn_cxx_try_compile "$LINENO"; then :
75089 glibcxx_cv_func__modff_use=yes
75090 else
75091 glibcxx_cv_func__modff_use=no
75093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75094 ac_ext=c
75095 ac_cpp='$CPP $CPPFLAGS'
75096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75105 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75107 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75108 for ac_func in _modff
75109 do :
75110 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75111 if test "x$ac_cv_func__modff" = x""yes; then :
75112 cat >>confdefs.h <<_ACEOF
75113 #define HAVE__MODFF 1
75114 _ACEOF
75117 done
75126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75127 $as_echo_n "checking for modf declaration... " >&6; }
75128 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75129 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75130 $as_echo_n "(cached) " >&6
75131 else
75134 ac_ext=cpp
75135 ac_cpp='$CXXCPP $CPPFLAGS'
75136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75141 /* end confdefs.h. */
75142 #include <math.h>
75144 main ()
75146 modf(0, 0);
75148 return 0;
75150 _ACEOF
75151 if ac_fn_cxx_try_compile "$LINENO"; then :
75152 glibcxx_cv_func_modf_use=yes
75153 else
75154 glibcxx_cv_func_modf_use=no
75156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75157 ac_ext=c
75158 ac_cpp='$CPP $CPPFLAGS'
75159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75168 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75170 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75171 for ac_func in modf
75172 do :
75173 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75174 if test "x$ac_cv_func_modf" = x""yes; then :
75175 cat >>confdefs.h <<_ACEOF
75176 #define HAVE_MODF 1
75177 _ACEOF
75180 done
75182 else
75184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75185 $as_echo_n "checking for _modf declaration... " >&6; }
75186 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75187 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75188 $as_echo_n "(cached) " >&6
75189 else
75192 ac_ext=cpp
75193 ac_cpp='$CXXCPP $CPPFLAGS'
75194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75199 /* end confdefs.h. */
75200 #include <math.h>
75202 main ()
75204 _modf(0, 0);
75206 return 0;
75208 _ACEOF
75209 if ac_fn_cxx_try_compile "$LINENO"; then :
75210 glibcxx_cv_func__modf_use=yes
75211 else
75212 glibcxx_cv_func__modf_use=no
75214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75215 ac_ext=c
75216 ac_cpp='$CPP $CPPFLAGS'
75217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75226 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75228 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75229 for ac_func in _modf
75230 do :
75231 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75232 if test "x$ac_cv_func__modf" = x""yes; then :
75233 cat >>confdefs.h <<_ACEOF
75234 #define HAVE__MODF 1
75235 _ACEOF
75238 done
75247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75248 $as_echo_n "checking for powf declaration... " >&6; }
75249 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75250 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75251 $as_echo_n "(cached) " >&6
75252 else
75255 ac_ext=cpp
75256 ac_cpp='$CXXCPP $CPPFLAGS'
75257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75262 /* end confdefs.h. */
75263 #include <math.h>
75265 main ()
75267 powf(0, 0);
75269 return 0;
75271 _ACEOF
75272 if ac_fn_cxx_try_compile "$LINENO"; then :
75273 glibcxx_cv_func_powf_use=yes
75274 else
75275 glibcxx_cv_func_powf_use=no
75277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75278 ac_ext=c
75279 ac_cpp='$CPP $CPPFLAGS'
75280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75289 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75291 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75292 for ac_func in powf
75293 do :
75294 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75295 if test "x$ac_cv_func_powf" = x""yes; then :
75296 cat >>confdefs.h <<_ACEOF
75297 #define HAVE_POWF 1
75298 _ACEOF
75301 done
75303 else
75305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75306 $as_echo_n "checking for _powf declaration... " >&6; }
75307 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75308 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75309 $as_echo_n "(cached) " >&6
75310 else
75313 ac_ext=cpp
75314 ac_cpp='$CXXCPP $CPPFLAGS'
75315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75320 /* end confdefs.h. */
75321 #include <math.h>
75323 main ()
75325 _powf(0, 0);
75327 return 0;
75329 _ACEOF
75330 if ac_fn_cxx_try_compile "$LINENO"; then :
75331 glibcxx_cv_func__powf_use=yes
75332 else
75333 glibcxx_cv_func__powf_use=no
75335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75336 ac_ext=c
75337 ac_cpp='$CPP $CPPFLAGS'
75338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75347 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75349 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75350 for ac_func in _powf
75351 do :
75352 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75353 if test "x$ac_cv_func__powf" = x""yes; then :
75354 cat >>confdefs.h <<_ACEOF
75355 #define HAVE__POWF 1
75356 _ACEOF
75359 done
75368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75369 $as_echo_n "checking for sqrtf declaration... " >&6; }
75370 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75371 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75372 $as_echo_n "(cached) " >&6
75373 else
75376 ac_ext=cpp
75377 ac_cpp='$CXXCPP $CPPFLAGS'
75378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75383 /* end confdefs.h. */
75384 #include <math.h>
75385 #ifdef HAVE_IEEEFP_H
75386 #include <ieeefp.h>
75387 #endif
75390 main ()
75392 sqrtf(0);
75394 return 0;
75396 _ACEOF
75397 if ac_fn_cxx_try_compile "$LINENO"; then :
75398 glibcxx_cv_func_sqrtf_use=yes
75399 else
75400 glibcxx_cv_func_sqrtf_use=no
75402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75403 ac_ext=c
75404 ac_cpp='$CPP $CPPFLAGS'
75405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75414 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75416 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75417 for ac_func in sqrtf
75418 do :
75419 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75420 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75421 cat >>confdefs.h <<_ACEOF
75422 #define HAVE_SQRTF 1
75423 _ACEOF
75426 done
75428 else
75430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75431 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75432 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75433 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75434 $as_echo_n "(cached) " >&6
75435 else
75438 ac_ext=cpp
75439 ac_cpp='$CXXCPP $CPPFLAGS'
75440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75445 /* end confdefs.h. */
75446 #include <math.h>
75447 #ifdef HAVE_IEEEFP_H
75448 #include <ieeefp.h>
75449 #endif
75452 main ()
75454 _sqrtf(0);
75456 return 0;
75458 _ACEOF
75459 if ac_fn_cxx_try_compile "$LINENO"; then :
75460 glibcxx_cv_func__sqrtf_use=yes
75461 else
75462 glibcxx_cv_func__sqrtf_use=no
75464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75465 ac_ext=c
75466 ac_cpp='$CPP $CPPFLAGS'
75467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75476 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75478 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75479 for ac_func in _sqrtf
75480 do :
75481 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75482 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75483 cat >>confdefs.h <<_ACEOF
75484 #define HAVE__SQRTF 1
75485 _ACEOF
75488 done
75497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75498 $as_echo_n "checking for sincosf declaration... " >&6; }
75499 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75500 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75501 $as_echo_n "(cached) " >&6
75502 else
75505 ac_ext=cpp
75506 ac_cpp='$CXXCPP $CPPFLAGS'
75507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75512 /* end confdefs.h. */
75513 #include <math.h>
75515 main ()
75517 sincosf(0, 0, 0);
75519 return 0;
75521 _ACEOF
75522 if ac_fn_cxx_try_compile "$LINENO"; then :
75523 glibcxx_cv_func_sincosf_use=yes
75524 else
75525 glibcxx_cv_func_sincosf_use=no
75527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75528 ac_ext=c
75529 ac_cpp='$CPP $CPPFLAGS'
75530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75539 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75541 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75542 for ac_func in sincosf
75543 do :
75544 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75545 if test "x$ac_cv_func_sincosf" = x""yes; then :
75546 cat >>confdefs.h <<_ACEOF
75547 #define HAVE_SINCOSF 1
75548 _ACEOF
75551 done
75553 else
75555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75556 $as_echo_n "checking for _sincosf declaration... " >&6; }
75557 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75558 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75559 $as_echo_n "(cached) " >&6
75560 else
75563 ac_ext=cpp
75564 ac_cpp='$CXXCPP $CPPFLAGS'
75565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75570 /* end confdefs.h. */
75571 #include <math.h>
75573 main ()
75575 _sincosf(0, 0, 0);
75577 return 0;
75579 _ACEOF
75580 if ac_fn_cxx_try_compile "$LINENO"; then :
75581 glibcxx_cv_func__sincosf_use=yes
75582 else
75583 glibcxx_cv_func__sincosf_use=no
75585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75586 ac_ext=c
75587 ac_cpp='$CPP $CPPFLAGS'
75588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75597 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75599 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75600 for ac_func in _sincosf
75601 do :
75602 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75603 if test "x$ac_cv_func__sincosf" = x""yes; then :
75604 cat >>confdefs.h <<_ACEOF
75605 #define HAVE__SINCOSF 1
75606 _ACEOF
75609 done
75618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75619 $as_echo_n "checking for finitef declaration... " >&6; }
75620 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75621 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75622 $as_echo_n "(cached) " >&6
75623 else
75626 ac_ext=cpp
75627 ac_cpp='$CXXCPP $CPPFLAGS'
75628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75633 /* end confdefs.h. */
75634 #include <math.h>
75635 #ifdef HAVE_IEEEFP_H
75636 #include <ieeefp.h>
75637 #endif
75640 main ()
75642 finitef(0);
75644 return 0;
75646 _ACEOF
75647 if ac_fn_cxx_try_compile "$LINENO"; then :
75648 glibcxx_cv_func_finitef_use=yes
75649 else
75650 glibcxx_cv_func_finitef_use=no
75652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75653 ac_ext=c
75654 ac_cpp='$CPP $CPPFLAGS'
75655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75664 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75666 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75667 for ac_func in finitef
75668 do :
75669 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75670 if test "x$ac_cv_func_finitef" = x""yes; then :
75671 cat >>confdefs.h <<_ACEOF
75672 #define HAVE_FINITEF 1
75673 _ACEOF
75676 done
75678 else
75680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75681 $as_echo_n "checking for _finitef declaration... " >&6; }
75682 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75683 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75684 $as_echo_n "(cached) " >&6
75685 else
75688 ac_ext=cpp
75689 ac_cpp='$CXXCPP $CPPFLAGS'
75690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75695 /* end confdefs.h. */
75696 #include <math.h>
75697 #ifdef HAVE_IEEEFP_H
75698 #include <ieeefp.h>
75699 #endif
75702 main ()
75704 _finitef(0);
75706 return 0;
75708 _ACEOF
75709 if ac_fn_cxx_try_compile "$LINENO"; then :
75710 glibcxx_cv_func__finitef_use=yes
75711 else
75712 glibcxx_cv_func__finitef_use=no
75714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75715 ac_ext=c
75716 ac_cpp='$CPP $CPPFLAGS'
75717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75726 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75728 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75729 for ac_func in _finitef
75730 do :
75731 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75732 if test "x$ac_cv_func__finitef" = x""yes; then :
75733 cat >>confdefs.h <<_ACEOF
75734 #define HAVE__FINITEF 1
75735 _ACEOF
75738 done
75747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75748 $as_echo_n "checking for long double trig functions... " >&6; }
75749 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75750 $as_echo_n "(cached) " >&6
75751 else
75754 ac_ext=cpp
75755 ac_cpp='$CXXCPP $CPPFLAGS'
75756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75761 /* end confdefs.h. */
75762 #include <math.h>
75764 main ()
75766 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75768 return 0;
75770 _ACEOF
75771 if ac_fn_cxx_try_compile "$LINENO"; then :
75772 glibcxx_cv_func_long_double_trig_use=yes
75773 else
75774 glibcxx_cv_func_long_double_trig_use=no
75776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75777 ac_ext=c
75778 ac_cpp='$CPP $CPPFLAGS'
75779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75786 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75787 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75788 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75789 do :
75790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75792 eval as_val=\$$as_ac_var
75793 if test "x$as_val" = x""yes; then :
75794 cat >>confdefs.h <<_ACEOF
75795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75796 _ACEOF
75799 done
75801 else
75802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75803 $as_echo_n "checking for _long double trig functions... " >&6; }
75804 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75805 $as_echo_n "(cached) " >&6
75806 else
75809 ac_ext=cpp
75810 ac_cpp='$CXXCPP $CPPFLAGS'
75811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75816 /* end confdefs.h. */
75817 #include <math.h>
75819 main ()
75821 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75823 return 0;
75825 _ACEOF
75826 if ac_fn_cxx_try_compile "$LINENO"; then :
75827 glibcxx_cv_func__long_double_trig_use=yes
75828 else
75829 glibcxx_cv_func__long_double_trig_use=no
75831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75832 ac_ext=c
75833 ac_cpp='$CPP $CPPFLAGS'
75834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75841 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75842 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75843 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75844 do :
75845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75847 eval as_val=\$$as_ac_var
75848 if test "x$as_val" = x""yes; then :
75849 cat >>confdefs.h <<_ACEOF
75850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75851 _ACEOF
75854 done
75863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75864 $as_echo_n "checking for long double round functions... " >&6; }
75865 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75866 $as_echo_n "(cached) " >&6
75867 else
75870 ac_ext=cpp
75871 ac_cpp='$CXXCPP $CPPFLAGS'
75872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75877 /* end confdefs.h. */
75878 #include <math.h>
75880 main ()
75882 ceill (0); floorl (0);
75884 return 0;
75886 _ACEOF
75887 if ac_fn_cxx_try_compile "$LINENO"; then :
75888 glibcxx_cv_func_long_double_round_use=yes
75889 else
75890 glibcxx_cv_func_long_double_round_use=no
75892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75893 ac_ext=c
75894 ac_cpp='$CPP $CPPFLAGS'
75895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75902 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75903 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75904 for ac_func in ceill floorl
75905 do :
75906 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75908 eval as_val=\$$as_ac_var
75909 if test "x$as_val" = x""yes; then :
75910 cat >>confdefs.h <<_ACEOF
75911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75912 _ACEOF
75915 done
75917 else
75918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75919 $as_echo_n "checking for _long double round functions... " >&6; }
75920 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75921 $as_echo_n "(cached) " >&6
75922 else
75925 ac_ext=cpp
75926 ac_cpp='$CXXCPP $CPPFLAGS'
75927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75932 /* end confdefs.h. */
75933 #include <math.h>
75935 main ()
75937 _ceill (0); _floorl (0);
75939 return 0;
75941 _ACEOF
75942 if ac_fn_cxx_try_compile "$LINENO"; then :
75943 glibcxx_cv_func__long_double_round_use=yes
75944 else
75945 glibcxx_cv_func__long_double_round_use=no
75947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75948 ac_ext=c
75949 ac_cpp='$CPP $CPPFLAGS'
75950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75957 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75958 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75959 for ac_func in _ceill _floorl
75960 do :
75961 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75963 eval as_val=\$$as_ac_var
75964 if test "x$as_val" = x""yes; then :
75965 cat >>confdefs.h <<_ACEOF
75966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75967 _ACEOF
75970 done
75980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75981 $as_echo_n "checking for isnanl declaration... " >&6; }
75982 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75983 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75984 $as_echo_n "(cached) " >&6
75985 else
75988 ac_ext=cpp
75989 ac_cpp='$CXXCPP $CPPFLAGS'
75990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75995 /* end confdefs.h. */
75996 #include <math.h>
75997 #ifdef HAVE_IEEEFP_H
75998 #include <ieeefp.h>
75999 #endif
76002 main ()
76004 isnanl(0);
76006 return 0;
76008 _ACEOF
76009 if ac_fn_cxx_try_compile "$LINENO"; then :
76010 glibcxx_cv_func_isnanl_use=yes
76011 else
76012 glibcxx_cv_func_isnanl_use=no
76014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76015 ac_ext=c
76016 ac_cpp='$CPP $CPPFLAGS'
76017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76026 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76028 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76029 for ac_func in isnanl
76030 do :
76031 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76032 if test "x$ac_cv_func_isnanl" = x""yes; then :
76033 cat >>confdefs.h <<_ACEOF
76034 #define HAVE_ISNANL 1
76035 _ACEOF
76038 done
76040 else
76042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76043 $as_echo_n "checking for _isnanl declaration... " >&6; }
76044 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76045 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76046 $as_echo_n "(cached) " >&6
76047 else
76050 ac_ext=cpp
76051 ac_cpp='$CXXCPP $CPPFLAGS'
76052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76057 /* end confdefs.h. */
76058 #include <math.h>
76059 #ifdef HAVE_IEEEFP_H
76060 #include <ieeefp.h>
76061 #endif
76064 main ()
76066 _isnanl(0);
76068 return 0;
76070 _ACEOF
76071 if ac_fn_cxx_try_compile "$LINENO"; then :
76072 glibcxx_cv_func__isnanl_use=yes
76073 else
76074 glibcxx_cv_func__isnanl_use=no
76076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76077 ac_ext=c
76078 ac_cpp='$CPP $CPPFLAGS'
76079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76088 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76090 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76091 for ac_func in _isnanl
76092 do :
76093 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76094 if test "x$ac_cv_func__isnanl" = x""yes; then :
76095 cat >>confdefs.h <<_ACEOF
76096 #define HAVE__ISNANL 1
76097 _ACEOF
76100 done
76109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76110 $as_echo_n "checking for isinfl declaration... " >&6; }
76111 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76112 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76113 $as_echo_n "(cached) " >&6
76114 else
76117 ac_ext=cpp
76118 ac_cpp='$CXXCPP $CPPFLAGS'
76119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76124 /* end confdefs.h. */
76125 #include <math.h>
76126 #ifdef HAVE_IEEEFP_H
76127 #include <ieeefp.h>
76128 #endif
76131 main ()
76133 isinfl(0);
76135 return 0;
76137 _ACEOF
76138 if ac_fn_cxx_try_compile "$LINENO"; then :
76139 glibcxx_cv_func_isinfl_use=yes
76140 else
76141 glibcxx_cv_func_isinfl_use=no
76143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76144 ac_ext=c
76145 ac_cpp='$CPP $CPPFLAGS'
76146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76155 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76157 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76158 for ac_func in isinfl
76159 do :
76160 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76161 if test "x$ac_cv_func_isinfl" = x""yes; then :
76162 cat >>confdefs.h <<_ACEOF
76163 #define HAVE_ISINFL 1
76164 _ACEOF
76167 done
76169 else
76171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76172 $as_echo_n "checking for _isinfl declaration... " >&6; }
76173 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76174 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76175 $as_echo_n "(cached) " >&6
76176 else
76179 ac_ext=cpp
76180 ac_cpp='$CXXCPP $CPPFLAGS'
76181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76186 /* end confdefs.h. */
76187 #include <math.h>
76188 #ifdef HAVE_IEEEFP_H
76189 #include <ieeefp.h>
76190 #endif
76193 main ()
76195 _isinfl(0);
76197 return 0;
76199 _ACEOF
76200 if ac_fn_cxx_try_compile "$LINENO"; then :
76201 glibcxx_cv_func__isinfl_use=yes
76202 else
76203 glibcxx_cv_func__isinfl_use=no
76205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76206 ac_ext=c
76207 ac_cpp='$CPP $CPPFLAGS'
76208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76217 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76219 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76220 for ac_func in _isinfl
76221 do :
76222 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76223 if test "x$ac_cv_func__isinfl" = x""yes; then :
76224 cat >>confdefs.h <<_ACEOF
76225 #define HAVE__ISINFL 1
76226 _ACEOF
76229 done
76238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76239 $as_echo_n "checking for atan2l declaration... " >&6; }
76240 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76241 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76242 $as_echo_n "(cached) " >&6
76243 else
76246 ac_ext=cpp
76247 ac_cpp='$CXXCPP $CPPFLAGS'
76248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76253 /* end confdefs.h. */
76254 #include <math.h>
76256 main ()
76258 atan2l(0, 0);
76260 return 0;
76262 _ACEOF
76263 if ac_fn_cxx_try_compile "$LINENO"; then :
76264 glibcxx_cv_func_atan2l_use=yes
76265 else
76266 glibcxx_cv_func_atan2l_use=no
76268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76269 ac_ext=c
76270 ac_cpp='$CPP $CPPFLAGS'
76271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76280 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76282 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76283 for ac_func in atan2l
76284 do :
76285 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76286 if test "x$ac_cv_func_atan2l" = x""yes; then :
76287 cat >>confdefs.h <<_ACEOF
76288 #define HAVE_ATAN2L 1
76289 _ACEOF
76292 done
76294 else
76296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76297 $as_echo_n "checking for _atan2l declaration... " >&6; }
76298 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76299 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76300 $as_echo_n "(cached) " >&6
76301 else
76304 ac_ext=cpp
76305 ac_cpp='$CXXCPP $CPPFLAGS'
76306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76311 /* end confdefs.h. */
76312 #include <math.h>
76314 main ()
76316 _atan2l(0, 0);
76318 return 0;
76320 _ACEOF
76321 if ac_fn_cxx_try_compile "$LINENO"; then :
76322 glibcxx_cv_func__atan2l_use=yes
76323 else
76324 glibcxx_cv_func__atan2l_use=no
76326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76327 ac_ext=c
76328 ac_cpp='$CPP $CPPFLAGS'
76329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76338 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76340 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76341 for ac_func in _atan2l
76342 do :
76343 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76344 if test "x$ac_cv_func__atan2l" = x""yes; then :
76345 cat >>confdefs.h <<_ACEOF
76346 #define HAVE__ATAN2L 1
76347 _ACEOF
76350 done
76359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76360 $as_echo_n "checking for expl declaration... " >&6; }
76361 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76362 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76363 $as_echo_n "(cached) " >&6
76364 else
76367 ac_ext=cpp
76368 ac_cpp='$CXXCPP $CPPFLAGS'
76369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76374 /* end confdefs.h. */
76375 #include <math.h>
76376 #ifdef HAVE_IEEEFP_H
76377 #include <ieeefp.h>
76378 #endif
76381 main ()
76383 expl(0);
76385 return 0;
76387 _ACEOF
76388 if ac_fn_cxx_try_compile "$LINENO"; then :
76389 glibcxx_cv_func_expl_use=yes
76390 else
76391 glibcxx_cv_func_expl_use=no
76393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76394 ac_ext=c
76395 ac_cpp='$CPP $CPPFLAGS'
76396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76405 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76407 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76408 for ac_func in expl
76409 do :
76410 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76411 if test "x$ac_cv_func_expl" = x""yes; then :
76412 cat >>confdefs.h <<_ACEOF
76413 #define HAVE_EXPL 1
76414 _ACEOF
76417 done
76419 else
76421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76422 $as_echo_n "checking for _expl declaration... " >&6; }
76423 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76424 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76425 $as_echo_n "(cached) " >&6
76426 else
76429 ac_ext=cpp
76430 ac_cpp='$CXXCPP $CPPFLAGS'
76431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76436 /* end confdefs.h. */
76437 #include <math.h>
76438 #ifdef HAVE_IEEEFP_H
76439 #include <ieeefp.h>
76440 #endif
76443 main ()
76445 _expl(0);
76447 return 0;
76449 _ACEOF
76450 if ac_fn_cxx_try_compile "$LINENO"; then :
76451 glibcxx_cv_func__expl_use=yes
76452 else
76453 glibcxx_cv_func__expl_use=no
76455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76456 ac_ext=c
76457 ac_cpp='$CPP $CPPFLAGS'
76458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76467 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76469 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76470 for ac_func in _expl
76471 do :
76472 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76473 if test "x$ac_cv_func__expl" = x""yes; then :
76474 cat >>confdefs.h <<_ACEOF
76475 #define HAVE__EXPL 1
76476 _ACEOF
76479 done
76488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76489 $as_echo_n "checking for fabsl declaration... " >&6; }
76490 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76491 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76492 $as_echo_n "(cached) " >&6
76493 else
76496 ac_ext=cpp
76497 ac_cpp='$CXXCPP $CPPFLAGS'
76498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76503 /* end confdefs.h. */
76504 #include <math.h>
76505 #ifdef HAVE_IEEEFP_H
76506 #include <ieeefp.h>
76507 #endif
76510 main ()
76512 fabsl(0);
76514 return 0;
76516 _ACEOF
76517 if ac_fn_cxx_try_compile "$LINENO"; then :
76518 glibcxx_cv_func_fabsl_use=yes
76519 else
76520 glibcxx_cv_func_fabsl_use=no
76522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76523 ac_ext=c
76524 ac_cpp='$CPP $CPPFLAGS'
76525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76534 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76536 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76537 for ac_func in fabsl
76538 do :
76539 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76540 if test "x$ac_cv_func_fabsl" = x""yes; then :
76541 cat >>confdefs.h <<_ACEOF
76542 #define HAVE_FABSL 1
76543 _ACEOF
76546 done
76548 else
76550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76551 $as_echo_n "checking for _fabsl declaration... " >&6; }
76552 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76553 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76554 $as_echo_n "(cached) " >&6
76555 else
76558 ac_ext=cpp
76559 ac_cpp='$CXXCPP $CPPFLAGS'
76560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76565 /* end confdefs.h. */
76566 #include <math.h>
76567 #ifdef HAVE_IEEEFP_H
76568 #include <ieeefp.h>
76569 #endif
76572 main ()
76574 _fabsl(0);
76576 return 0;
76578 _ACEOF
76579 if ac_fn_cxx_try_compile "$LINENO"; then :
76580 glibcxx_cv_func__fabsl_use=yes
76581 else
76582 glibcxx_cv_func__fabsl_use=no
76584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76585 ac_ext=c
76586 ac_cpp='$CPP $CPPFLAGS'
76587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76596 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76598 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76599 for ac_func in _fabsl
76600 do :
76601 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76602 if test "x$ac_cv_func__fabsl" = x""yes; then :
76603 cat >>confdefs.h <<_ACEOF
76604 #define HAVE__FABSL 1
76605 _ACEOF
76608 done
76617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76618 $as_echo_n "checking for fmodl declaration... " >&6; }
76619 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76620 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76621 $as_echo_n "(cached) " >&6
76622 else
76625 ac_ext=cpp
76626 ac_cpp='$CXXCPP $CPPFLAGS'
76627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76632 /* end confdefs.h. */
76633 #include <math.h>
76635 main ()
76637 fmodl(0, 0);
76639 return 0;
76641 _ACEOF
76642 if ac_fn_cxx_try_compile "$LINENO"; then :
76643 glibcxx_cv_func_fmodl_use=yes
76644 else
76645 glibcxx_cv_func_fmodl_use=no
76647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76648 ac_ext=c
76649 ac_cpp='$CPP $CPPFLAGS'
76650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76659 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76661 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76662 for ac_func in fmodl
76663 do :
76664 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76665 if test "x$ac_cv_func_fmodl" = x""yes; then :
76666 cat >>confdefs.h <<_ACEOF
76667 #define HAVE_FMODL 1
76668 _ACEOF
76671 done
76673 else
76675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76676 $as_echo_n "checking for _fmodl declaration... " >&6; }
76677 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76678 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76679 $as_echo_n "(cached) " >&6
76680 else
76683 ac_ext=cpp
76684 ac_cpp='$CXXCPP $CPPFLAGS'
76685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76690 /* end confdefs.h. */
76691 #include <math.h>
76693 main ()
76695 _fmodl(0, 0);
76697 return 0;
76699 _ACEOF
76700 if ac_fn_cxx_try_compile "$LINENO"; then :
76701 glibcxx_cv_func__fmodl_use=yes
76702 else
76703 glibcxx_cv_func__fmodl_use=no
76705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76706 ac_ext=c
76707 ac_cpp='$CPP $CPPFLAGS'
76708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76717 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76719 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76720 for ac_func in _fmodl
76721 do :
76722 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76723 if test "x$ac_cv_func__fmodl" = x""yes; then :
76724 cat >>confdefs.h <<_ACEOF
76725 #define HAVE__FMODL 1
76726 _ACEOF
76729 done
76738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76739 $as_echo_n "checking for frexpl declaration... " >&6; }
76740 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76741 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76742 $as_echo_n "(cached) " >&6
76743 else
76746 ac_ext=cpp
76747 ac_cpp='$CXXCPP $CPPFLAGS'
76748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76753 /* end confdefs.h. */
76754 #include <math.h>
76756 main ()
76758 frexpl(0, 0);
76760 return 0;
76762 _ACEOF
76763 if ac_fn_cxx_try_compile "$LINENO"; then :
76764 glibcxx_cv_func_frexpl_use=yes
76765 else
76766 glibcxx_cv_func_frexpl_use=no
76768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76769 ac_ext=c
76770 ac_cpp='$CPP $CPPFLAGS'
76771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76780 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76782 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76783 for ac_func in frexpl
76784 do :
76785 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76786 if test "x$ac_cv_func_frexpl" = x""yes; then :
76787 cat >>confdefs.h <<_ACEOF
76788 #define HAVE_FREXPL 1
76789 _ACEOF
76792 done
76794 else
76796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76797 $as_echo_n "checking for _frexpl declaration... " >&6; }
76798 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76799 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76800 $as_echo_n "(cached) " >&6
76801 else
76804 ac_ext=cpp
76805 ac_cpp='$CXXCPP $CPPFLAGS'
76806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76811 /* end confdefs.h. */
76812 #include <math.h>
76814 main ()
76816 _frexpl(0, 0);
76818 return 0;
76820 _ACEOF
76821 if ac_fn_cxx_try_compile "$LINENO"; then :
76822 glibcxx_cv_func__frexpl_use=yes
76823 else
76824 glibcxx_cv_func__frexpl_use=no
76826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76827 ac_ext=c
76828 ac_cpp='$CPP $CPPFLAGS'
76829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76838 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76840 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76841 for ac_func in _frexpl
76842 do :
76843 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76844 if test "x$ac_cv_func__frexpl" = x""yes; then :
76845 cat >>confdefs.h <<_ACEOF
76846 #define HAVE__FREXPL 1
76847 _ACEOF
76850 done
76859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76860 $as_echo_n "checking for hypotl declaration... " >&6; }
76861 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76862 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76863 $as_echo_n "(cached) " >&6
76864 else
76867 ac_ext=cpp
76868 ac_cpp='$CXXCPP $CPPFLAGS'
76869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76874 /* end confdefs.h. */
76875 #include <math.h>
76877 main ()
76879 hypotl(0, 0);
76881 return 0;
76883 _ACEOF
76884 if ac_fn_cxx_try_compile "$LINENO"; then :
76885 glibcxx_cv_func_hypotl_use=yes
76886 else
76887 glibcxx_cv_func_hypotl_use=no
76889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76890 ac_ext=c
76891 ac_cpp='$CPP $CPPFLAGS'
76892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76901 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76903 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76904 for ac_func in hypotl
76905 do :
76906 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76907 if test "x$ac_cv_func_hypotl" = x""yes; then :
76908 cat >>confdefs.h <<_ACEOF
76909 #define HAVE_HYPOTL 1
76910 _ACEOF
76913 done
76915 else
76917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76918 $as_echo_n "checking for _hypotl declaration... " >&6; }
76919 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76920 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76921 $as_echo_n "(cached) " >&6
76922 else
76925 ac_ext=cpp
76926 ac_cpp='$CXXCPP $CPPFLAGS'
76927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76932 /* end confdefs.h. */
76933 #include <math.h>
76935 main ()
76937 _hypotl(0, 0);
76939 return 0;
76941 _ACEOF
76942 if ac_fn_cxx_try_compile "$LINENO"; then :
76943 glibcxx_cv_func__hypotl_use=yes
76944 else
76945 glibcxx_cv_func__hypotl_use=no
76947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76948 ac_ext=c
76949 ac_cpp='$CPP $CPPFLAGS'
76950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76959 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76961 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76962 for ac_func in _hypotl
76963 do :
76964 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76965 if test "x$ac_cv_func__hypotl" = x""yes; then :
76966 cat >>confdefs.h <<_ACEOF
76967 #define HAVE__HYPOTL 1
76968 _ACEOF
76971 done
76980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76981 $as_echo_n "checking for ldexpl declaration... " >&6; }
76982 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76983 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76984 $as_echo_n "(cached) " >&6
76985 else
76988 ac_ext=cpp
76989 ac_cpp='$CXXCPP $CPPFLAGS'
76990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76995 /* end confdefs.h. */
76996 #include <math.h>
76998 main ()
77000 ldexpl(0, 0);
77002 return 0;
77004 _ACEOF
77005 if ac_fn_cxx_try_compile "$LINENO"; then :
77006 glibcxx_cv_func_ldexpl_use=yes
77007 else
77008 glibcxx_cv_func_ldexpl_use=no
77010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77011 ac_ext=c
77012 ac_cpp='$CPP $CPPFLAGS'
77013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77022 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77024 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77025 for ac_func in ldexpl
77026 do :
77027 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77028 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77029 cat >>confdefs.h <<_ACEOF
77030 #define HAVE_LDEXPL 1
77031 _ACEOF
77034 done
77036 else
77038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77039 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77040 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77041 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77042 $as_echo_n "(cached) " >&6
77043 else
77046 ac_ext=cpp
77047 ac_cpp='$CXXCPP $CPPFLAGS'
77048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77053 /* end confdefs.h. */
77054 #include <math.h>
77056 main ()
77058 _ldexpl(0, 0);
77060 return 0;
77062 _ACEOF
77063 if ac_fn_cxx_try_compile "$LINENO"; then :
77064 glibcxx_cv_func__ldexpl_use=yes
77065 else
77066 glibcxx_cv_func__ldexpl_use=no
77068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77069 ac_ext=c
77070 ac_cpp='$CPP $CPPFLAGS'
77071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77080 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77082 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77083 for ac_func in _ldexpl
77084 do :
77085 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77086 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77087 cat >>confdefs.h <<_ACEOF
77088 #define HAVE__LDEXPL 1
77089 _ACEOF
77092 done
77101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77102 $as_echo_n "checking for logl declaration... " >&6; }
77103 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77104 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77105 $as_echo_n "(cached) " >&6
77106 else
77109 ac_ext=cpp
77110 ac_cpp='$CXXCPP $CPPFLAGS'
77111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77116 /* end confdefs.h. */
77117 #include <math.h>
77118 #ifdef HAVE_IEEEFP_H
77119 #include <ieeefp.h>
77120 #endif
77123 main ()
77125 logl(0);
77127 return 0;
77129 _ACEOF
77130 if ac_fn_cxx_try_compile "$LINENO"; then :
77131 glibcxx_cv_func_logl_use=yes
77132 else
77133 glibcxx_cv_func_logl_use=no
77135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77136 ac_ext=c
77137 ac_cpp='$CPP $CPPFLAGS'
77138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77147 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77149 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77150 for ac_func in logl
77151 do :
77152 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77153 if test "x$ac_cv_func_logl" = x""yes; then :
77154 cat >>confdefs.h <<_ACEOF
77155 #define HAVE_LOGL 1
77156 _ACEOF
77159 done
77161 else
77163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77164 $as_echo_n "checking for _logl declaration... " >&6; }
77165 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77166 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77167 $as_echo_n "(cached) " >&6
77168 else
77171 ac_ext=cpp
77172 ac_cpp='$CXXCPP $CPPFLAGS'
77173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77178 /* end confdefs.h. */
77179 #include <math.h>
77180 #ifdef HAVE_IEEEFP_H
77181 #include <ieeefp.h>
77182 #endif
77185 main ()
77187 _logl(0);
77189 return 0;
77191 _ACEOF
77192 if ac_fn_cxx_try_compile "$LINENO"; then :
77193 glibcxx_cv_func__logl_use=yes
77194 else
77195 glibcxx_cv_func__logl_use=no
77197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77198 ac_ext=c
77199 ac_cpp='$CPP $CPPFLAGS'
77200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77209 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77211 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77212 for ac_func in _logl
77213 do :
77214 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77215 if test "x$ac_cv_func__logl" = x""yes; then :
77216 cat >>confdefs.h <<_ACEOF
77217 #define HAVE__LOGL 1
77218 _ACEOF
77221 done
77230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77231 $as_echo_n "checking for log10l declaration... " >&6; }
77232 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77233 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77234 $as_echo_n "(cached) " >&6
77235 else
77238 ac_ext=cpp
77239 ac_cpp='$CXXCPP $CPPFLAGS'
77240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77245 /* end confdefs.h. */
77246 #include <math.h>
77247 #ifdef HAVE_IEEEFP_H
77248 #include <ieeefp.h>
77249 #endif
77252 main ()
77254 log10l(0);
77256 return 0;
77258 _ACEOF
77259 if ac_fn_cxx_try_compile "$LINENO"; then :
77260 glibcxx_cv_func_log10l_use=yes
77261 else
77262 glibcxx_cv_func_log10l_use=no
77264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77265 ac_ext=c
77266 ac_cpp='$CPP $CPPFLAGS'
77267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77276 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77278 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77279 for ac_func in log10l
77280 do :
77281 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77282 if test "x$ac_cv_func_log10l" = x""yes; then :
77283 cat >>confdefs.h <<_ACEOF
77284 #define HAVE_LOG10L 1
77285 _ACEOF
77288 done
77290 else
77292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77293 $as_echo_n "checking for _log10l declaration... " >&6; }
77294 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77295 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77296 $as_echo_n "(cached) " >&6
77297 else
77300 ac_ext=cpp
77301 ac_cpp='$CXXCPP $CPPFLAGS'
77302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77307 /* end confdefs.h. */
77308 #include <math.h>
77309 #ifdef HAVE_IEEEFP_H
77310 #include <ieeefp.h>
77311 #endif
77314 main ()
77316 _log10l(0);
77318 return 0;
77320 _ACEOF
77321 if ac_fn_cxx_try_compile "$LINENO"; then :
77322 glibcxx_cv_func__log10l_use=yes
77323 else
77324 glibcxx_cv_func__log10l_use=no
77326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77327 ac_ext=c
77328 ac_cpp='$CPP $CPPFLAGS'
77329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77338 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77340 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77341 for ac_func in _log10l
77342 do :
77343 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77344 if test "x$ac_cv_func__log10l" = x""yes; then :
77345 cat >>confdefs.h <<_ACEOF
77346 #define HAVE__LOG10L 1
77347 _ACEOF
77350 done
77359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77360 $as_echo_n "checking for modfl declaration... " >&6; }
77361 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77362 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77363 $as_echo_n "(cached) " >&6
77364 else
77367 ac_ext=cpp
77368 ac_cpp='$CXXCPP $CPPFLAGS'
77369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77374 /* end confdefs.h. */
77375 #include <math.h>
77377 main ()
77379 modfl(0, 0);
77381 return 0;
77383 _ACEOF
77384 if ac_fn_cxx_try_compile "$LINENO"; then :
77385 glibcxx_cv_func_modfl_use=yes
77386 else
77387 glibcxx_cv_func_modfl_use=no
77389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77390 ac_ext=c
77391 ac_cpp='$CPP $CPPFLAGS'
77392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77401 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77403 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77404 for ac_func in modfl
77405 do :
77406 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77407 if test "x$ac_cv_func_modfl" = x""yes; then :
77408 cat >>confdefs.h <<_ACEOF
77409 #define HAVE_MODFL 1
77410 _ACEOF
77413 done
77415 else
77417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77418 $as_echo_n "checking for _modfl declaration... " >&6; }
77419 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77420 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77421 $as_echo_n "(cached) " >&6
77422 else
77425 ac_ext=cpp
77426 ac_cpp='$CXXCPP $CPPFLAGS'
77427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77432 /* end confdefs.h. */
77433 #include <math.h>
77435 main ()
77437 _modfl(0, 0);
77439 return 0;
77441 _ACEOF
77442 if ac_fn_cxx_try_compile "$LINENO"; then :
77443 glibcxx_cv_func__modfl_use=yes
77444 else
77445 glibcxx_cv_func__modfl_use=no
77447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77448 ac_ext=c
77449 ac_cpp='$CPP $CPPFLAGS'
77450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77459 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77461 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77462 for ac_func in _modfl
77463 do :
77464 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77465 if test "x$ac_cv_func__modfl" = x""yes; then :
77466 cat >>confdefs.h <<_ACEOF
77467 #define HAVE__MODFL 1
77468 _ACEOF
77471 done
77480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77481 $as_echo_n "checking for powl declaration... " >&6; }
77482 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77483 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77484 $as_echo_n "(cached) " >&6
77485 else
77488 ac_ext=cpp
77489 ac_cpp='$CXXCPP $CPPFLAGS'
77490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77495 /* end confdefs.h. */
77496 #include <math.h>
77498 main ()
77500 powl(0, 0);
77502 return 0;
77504 _ACEOF
77505 if ac_fn_cxx_try_compile "$LINENO"; then :
77506 glibcxx_cv_func_powl_use=yes
77507 else
77508 glibcxx_cv_func_powl_use=no
77510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77511 ac_ext=c
77512 ac_cpp='$CPP $CPPFLAGS'
77513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77522 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77524 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77525 for ac_func in powl
77526 do :
77527 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77528 if test "x$ac_cv_func_powl" = x""yes; then :
77529 cat >>confdefs.h <<_ACEOF
77530 #define HAVE_POWL 1
77531 _ACEOF
77534 done
77536 else
77538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77539 $as_echo_n "checking for _powl declaration... " >&6; }
77540 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77541 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77542 $as_echo_n "(cached) " >&6
77543 else
77546 ac_ext=cpp
77547 ac_cpp='$CXXCPP $CPPFLAGS'
77548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77553 /* end confdefs.h. */
77554 #include <math.h>
77556 main ()
77558 _powl(0, 0);
77560 return 0;
77562 _ACEOF
77563 if ac_fn_cxx_try_compile "$LINENO"; then :
77564 glibcxx_cv_func__powl_use=yes
77565 else
77566 glibcxx_cv_func__powl_use=no
77568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77569 ac_ext=c
77570 ac_cpp='$CPP $CPPFLAGS'
77571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77580 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77582 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77583 for ac_func in _powl
77584 do :
77585 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77586 if test "x$ac_cv_func__powl" = x""yes; then :
77587 cat >>confdefs.h <<_ACEOF
77588 #define HAVE__POWL 1
77589 _ACEOF
77592 done
77601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77602 $as_echo_n "checking for sqrtl declaration... " >&6; }
77603 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77604 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77605 $as_echo_n "(cached) " >&6
77606 else
77609 ac_ext=cpp
77610 ac_cpp='$CXXCPP $CPPFLAGS'
77611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77616 /* end confdefs.h. */
77617 #include <math.h>
77618 #ifdef HAVE_IEEEFP_H
77619 #include <ieeefp.h>
77620 #endif
77623 main ()
77625 sqrtl(0);
77627 return 0;
77629 _ACEOF
77630 if ac_fn_cxx_try_compile "$LINENO"; then :
77631 glibcxx_cv_func_sqrtl_use=yes
77632 else
77633 glibcxx_cv_func_sqrtl_use=no
77635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77636 ac_ext=c
77637 ac_cpp='$CPP $CPPFLAGS'
77638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77647 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77649 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77650 for ac_func in sqrtl
77651 do :
77652 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77653 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77654 cat >>confdefs.h <<_ACEOF
77655 #define HAVE_SQRTL 1
77656 _ACEOF
77659 done
77661 else
77663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77664 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77665 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77666 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77667 $as_echo_n "(cached) " >&6
77668 else
77671 ac_ext=cpp
77672 ac_cpp='$CXXCPP $CPPFLAGS'
77673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77678 /* end confdefs.h. */
77679 #include <math.h>
77680 #ifdef HAVE_IEEEFP_H
77681 #include <ieeefp.h>
77682 #endif
77685 main ()
77687 _sqrtl(0);
77689 return 0;
77691 _ACEOF
77692 if ac_fn_cxx_try_compile "$LINENO"; then :
77693 glibcxx_cv_func__sqrtl_use=yes
77694 else
77695 glibcxx_cv_func__sqrtl_use=no
77697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77698 ac_ext=c
77699 ac_cpp='$CPP $CPPFLAGS'
77700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77709 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77711 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77712 for ac_func in _sqrtl
77713 do :
77714 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77715 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77716 cat >>confdefs.h <<_ACEOF
77717 #define HAVE__SQRTL 1
77718 _ACEOF
77721 done
77730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77731 $as_echo_n "checking for sincosl declaration... " >&6; }
77732 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77733 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77734 $as_echo_n "(cached) " >&6
77735 else
77738 ac_ext=cpp
77739 ac_cpp='$CXXCPP $CPPFLAGS'
77740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77745 /* end confdefs.h. */
77746 #include <math.h>
77748 main ()
77750 sincosl(0, 0, 0);
77752 return 0;
77754 _ACEOF
77755 if ac_fn_cxx_try_compile "$LINENO"; then :
77756 glibcxx_cv_func_sincosl_use=yes
77757 else
77758 glibcxx_cv_func_sincosl_use=no
77760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77761 ac_ext=c
77762 ac_cpp='$CPP $CPPFLAGS'
77763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77772 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77774 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77775 for ac_func in sincosl
77776 do :
77777 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77778 if test "x$ac_cv_func_sincosl" = x""yes; then :
77779 cat >>confdefs.h <<_ACEOF
77780 #define HAVE_SINCOSL 1
77781 _ACEOF
77784 done
77786 else
77788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77789 $as_echo_n "checking for _sincosl declaration... " >&6; }
77790 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77791 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77792 $as_echo_n "(cached) " >&6
77793 else
77796 ac_ext=cpp
77797 ac_cpp='$CXXCPP $CPPFLAGS'
77798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77803 /* end confdefs.h. */
77804 #include <math.h>
77806 main ()
77808 _sincosl(0, 0, 0);
77810 return 0;
77812 _ACEOF
77813 if ac_fn_cxx_try_compile "$LINENO"; then :
77814 glibcxx_cv_func__sincosl_use=yes
77815 else
77816 glibcxx_cv_func__sincosl_use=no
77818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77819 ac_ext=c
77820 ac_cpp='$CPP $CPPFLAGS'
77821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77830 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77832 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77833 for ac_func in _sincosl
77834 do :
77835 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77836 if test "x$ac_cv_func__sincosl" = x""yes; then :
77837 cat >>confdefs.h <<_ACEOF
77838 #define HAVE__SINCOSL 1
77839 _ACEOF
77842 done
77851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77852 $as_echo_n "checking for finitel declaration... " >&6; }
77853 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77854 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77855 $as_echo_n "(cached) " >&6
77856 else
77859 ac_ext=cpp
77860 ac_cpp='$CXXCPP $CPPFLAGS'
77861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77866 /* end confdefs.h. */
77867 #include <math.h>
77868 #ifdef HAVE_IEEEFP_H
77869 #include <ieeefp.h>
77870 #endif
77873 main ()
77875 finitel(0);
77877 return 0;
77879 _ACEOF
77880 if ac_fn_cxx_try_compile "$LINENO"; then :
77881 glibcxx_cv_func_finitel_use=yes
77882 else
77883 glibcxx_cv_func_finitel_use=no
77885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77886 ac_ext=c
77887 ac_cpp='$CPP $CPPFLAGS'
77888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77897 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77899 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77900 for ac_func in finitel
77901 do :
77902 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77903 if test "x$ac_cv_func_finitel" = x""yes; then :
77904 cat >>confdefs.h <<_ACEOF
77905 #define HAVE_FINITEL 1
77906 _ACEOF
77909 done
77911 else
77913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77914 $as_echo_n "checking for _finitel declaration... " >&6; }
77915 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77916 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77917 $as_echo_n "(cached) " >&6
77918 else
77921 ac_ext=cpp
77922 ac_cpp='$CXXCPP $CPPFLAGS'
77923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77928 /* end confdefs.h. */
77929 #include <math.h>
77930 #ifdef HAVE_IEEEFP_H
77931 #include <ieeefp.h>
77932 #endif
77935 main ()
77937 _finitel(0);
77939 return 0;
77941 _ACEOF
77942 if ac_fn_cxx_try_compile "$LINENO"; then :
77943 glibcxx_cv_func__finitel_use=yes
77944 else
77945 glibcxx_cv_func__finitel_use=no
77947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77948 ac_ext=c
77949 ac_cpp='$CPP $CPPFLAGS'
77950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77959 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77961 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77962 for ac_func in _finitel
77963 do :
77964 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77965 if test "x$ac_cv_func__finitel" = x""yes; then :
77966 cat >>confdefs.h <<_ACEOF
77967 #define HAVE__FINITEL 1
77968 _ACEOF
77971 done
77979 LIBS="$ac_save_LIBS"
77980 CXXFLAGS="$ac_save_CXXFLAGS"
77983 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77984 ac_save_CXXFLAGS="$CXXFLAGS"
77985 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77989 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77990 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77991 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77992 $as_echo_n "(cached) " >&6
77993 else
77996 ac_ext=cpp
77997 ac_cpp='$CXXCPP $CPPFLAGS'
77998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78003 /* end confdefs.h. */
78004 #include <stdlib.h>
78006 main ()
78008 at_quick_exit(0);
78010 return 0;
78012 _ACEOF
78013 if ac_fn_cxx_try_compile "$LINENO"; then :
78014 glibcxx_cv_func_at_quick_exit_use=yes
78015 else
78016 glibcxx_cv_func_at_quick_exit_use=no
78018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78019 ac_ext=c
78020 ac_cpp='$CPP $CPPFLAGS'
78021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78030 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78031 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78032 for ac_func in at_quick_exit
78033 do :
78034 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78035 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78036 cat >>confdefs.h <<_ACEOF
78037 #define HAVE_AT_QUICK_EXIT 1
78038 _ACEOF
78041 done
78046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78047 $as_echo_n "checking for quick_exit declaration... " >&6; }
78048 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78049 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78050 $as_echo_n "(cached) " >&6
78051 else
78054 ac_ext=cpp
78055 ac_cpp='$CXXCPP $CPPFLAGS'
78056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78061 /* end confdefs.h. */
78062 #include <stdlib.h>
78064 main ()
78066 quick_exit(0);
78068 return 0;
78070 _ACEOF
78071 if ac_fn_cxx_try_compile "$LINENO"; then :
78072 glibcxx_cv_func_quick_exit_use=yes
78073 else
78074 glibcxx_cv_func_quick_exit_use=no
78076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78077 ac_ext=c
78078 ac_cpp='$CPP $CPPFLAGS'
78079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78088 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78089 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78090 for ac_func in quick_exit
78091 do :
78092 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78093 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78094 cat >>confdefs.h <<_ACEOF
78095 #define HAVE_QUICK_EXIT 1
78096 _ACEOF
78099 done
78104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78105 $as_echo_n "checking for strtold declaration... " >&6; }
78106 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78107 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78108 $as_echo_n "(cached) " >&6
78109 else
78112 ac_ext=cpp
78113 ac_cpp='$CXXCPP $CPPFLAGS'
78114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78119 /* end confdefs.h. */
78120 #include <stdlib.h>
78122 main ()
78124 strtold(0, 0);
78126 return 0;
78128 _ACEOF
78129 if ac_fn_cxx_try_compile "$LINENO"; then :
78130 glibcxx_cv_func_strtold_use=yes
78131 else
78132 glibcxx_cv_func_strtold_use=no
78134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78135 ac_ext=c
78136 ac_cpp='$CPP $CPPFLAGS'
78137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78146 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78147 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78148 for ac_func in strtold
78149 do :
78150 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78151 if test "x$ac_cv_func_strtold" = x""yes; then :
78152 cat >>confdefs.h <<_ACEOF
78153 #define HAVE_STRTOLD 1
78154 _ACEOF
78157 done
78164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78165 $as_echo_n "checking for strtof declaration... " >&6; }
78166 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78167 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78168 $as_echo_n "(cached) " >&6
78169 else
78172 ac_ext=cpp
78173 ac_cpp='$CXXCPP $CPPFLAGS'
78174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78179 /* end confdefs.h. */
78180 #include <stdlib.h>
78182 main ()
78184 strtof(0, 0);
78186 return 0;
78188 _ACEOF
78189 if ac_fn_cxx_try_compile "$LINENO"; then :
78190 glibcxx_cv_func_strtof_use=yes
78191 else
78192 glibcxx_cv_func_strtof_use=no
78194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78195 ac_ext=c
78196 ac_cpp='$CPP $CPPFLAGS'
78197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78206 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78207 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78208 for ac_func in strtof
78209 do :
78210 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78211 if test "x$ac_cv_func_strtof" = x""yes; then :
78212 cat >>confdefs.h <<_ACEOF
78213 #define HAVE_STRTOF 1
78214 _ACEOF
78217 done
78224 CXXFLAGS="$ac_save_CXXFLAGS"
78227 *-vxworks)
78228 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78230 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78232 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78234 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78236 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78238 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78240 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78242 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78244 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78246 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78248 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78250 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78252 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78254 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78256 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78258 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78260 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78262 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78264 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78266 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78270 as_fn_error "No support for this host/target combination." "$LINENO" 5
78272 esac
78276 # At some point, we should differentiate between architectures
78277 # like x86, which have long double versions, and alpha/powerpc/etc.,
78278 # which don't. For the time being, punt.
78279 if test x"long_double_math_on_this_cpu" = x"yes"; then
78280 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78282 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78284 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78286 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78288 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78290 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78292 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78294 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78296 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78298 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78300 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78302 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78304 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78306 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78308 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78310 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78312 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78314 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78316 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78318 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78320 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78322 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78324 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78329 # Check for _Unwind_GetIPInfo.
78332 # Check whether --with-system-libunwind was given.
78333 if test "${with_system_libunwind+set}" = set; then :
78334 withval=$with_system_libunwind;
78337 # If system-libunwind was not specifically set, pick a default setting.
78338 if test x$with_system_libunwind = x; then
78339 case ${target} in
78340 ia64-*-hpux*) with_system_libunwind=yes ;;
78341 *) with_system_libunwind=no ;;
78342 esac
78344 # Based on system-libunwind and target, do we have ipinfo?
78345 if test x$with_system_libunwind = xyes; then
78346 case ${target} in
78347 ia64-*-*) have_unwind_getipinfo=no ;;
78348 *) have_unwind_getipinfo=yes ;;
78349 esac
78350 else
78351 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78353 case ${target} in
78354 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78355 *) have_unwind_getipinfo=yes ;;
78356 esac
78360 if test x$have_unwind_getipinfo = xyes; then
78362 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78367 # Check whether --enable-linux-futex was given.
78368 if test "${enable_linux_futex+set}" = set; then :
78369 enableval=$enable_linux_futex;
78370 case "$enableval" in
78371 yes|no|default) ;;
78372 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78373 esac
78375 else
78376 enable_linux_futex=default
78380 case "$target" in
78381 *-linux*)
78382 case "$enable_linux_futex" in
78383 default)
78384 # If headers don't have gettid/futex syscalls definition, then
78385 # default to no, otherwise there will be compile time failures.
78386 # Otherwise, default to yes. If we don't detect we are
78387 # compiled/linked against NPTL and not cross-compiling, check
78388 # if programs are run by default against NPTL and if not, issue
78389 # a warning.
78390 enable_linux_futex=no
78391 if test x$gcc_no_link = xyes; then
78392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78395 /* end confdefs.h. */
78396 #include <sys/syscall.h>
78397 int lk;
78399 main ()
78401 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78403 return 0;
78405 _ACEOF
78406 if ac_fn_c_try_link "$LINENO"; then :
78407 save_LIBS="$LIBS"
78408 LIBS="-lpthread $LIBS"
78409 if test x$gcc_no_link = xyes; then
78410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78413 /* end confdefs.h. */
78414 #ifndef _GNU_SOURCE
78415 #define _GNU_SOURCE 1
78416 #endif
78417 #include <pthread.h>
78418 pthread_t th; void *status;
78420 main ()
78422 pthread_tryjoin_np (th, &status);
78424 return 0;
78426 _ACEOF
78427 if ac_fn_c_try_link "$LINENO"; then :
78428 enable_linux_futex=yes
78429 else
78430 if test x$cross_compiling = xno; then
78431 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78432 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78434 If so, please configure with --disable-linux-futex" >&5
78435 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78436 If so, please configure with --disable-linux-futex" >&2;}
78439 enable_linux_futex=yes
78441 rm -f core conftest.err conftest.$ac_objext \
78442 conftest$ac_exeext conftest.$ac_ext
78443 LIBS="$save_LIBS"
78445 rm -f core conftest.err conftest.$ac_objext \
78446 conftest$ac_exeext conftest.$ac_ext
78448 yes)
78449 if test x$gcc_no_link = xyes; then
78450 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78453 /* end confdefs.h. */
78454 #include <sys/syscall.h>
78455 int lk;
78457 main ()
78459 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78461 return 0;
78463 _ACEOF
78464 if ac_fn_c_try_link "$LINENO"; then :
78466 else
78467 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78469 rm -f core conftest.err conftest.$ac_objext \
78470 conftest$ac_exeext conftest.$ac_ext
78472 esac
78475 enable_linux_futex=no
78477 esac
78478 if test x$enable_linux_futex = xyes; then
78480 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78487 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78489 acx_cv_header_stdint=stddef.h
78490 acx_cv_header_stdint_kind="(already complete)"
78491 for i in stdint.h $inttype_headers; do
78492 unset ac_cv_type_uintptr_t
78493 unset ac_cv_type_uintmax_t
78494 unset ac_cv_type_int_least32_t
78495 unset ac_cv_type_int_fast32_t
78496 unset ac_cv_type_uint64_t
78497 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78498 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78499 #include <$i>
78501 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78502 acx_cv_header_stdint=$i
78503 else
78504 continue
78507 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78508 #include <$i>
78510 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78512 else
78513 acx_cv_header_stdint_kind="(mostly complete)"
78516 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78517 #include <$i>
78519 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78521 else
78522 acx_cv_header_stdint_kind="(mostly complete)"
78525 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78526 #include <$i>
78528 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78530 else
78531 acx_cv_header_stdint_kind="(mostly complete)"
78534 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78535 #include <$i>
78537 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78539 else
78540 acx_cv_header_stdint_kind="(lacks uint64_t)"
78543 break
78544 done
78545 if test "$acx_cv_header_stdint" = stddef.h; then
78546 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78547 for i in stdint.h $inttype_headers; do
78548 unset ac_cv_type_uintptr_t
78549 unset ac_cv_type_uint32_t
78550 unset ac_cv_type_uint64_t
78551 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78552 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78553 #include <$i>
78555 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78556 acx_cv_header_stdint=$i
78557 else
78558 continue
78561 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78562 #include <$i>
78564 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78568 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78569 #include <$i>
78571 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78575 break
78576 done
78578 if test "$acx_cv_header_stdint" = stddef.h; then
78579 acx_cv_header_stdint_kind="(u_intXX_t style)"
78580 for i in sys/types.h $inttype_headers; do
78581 unset ac_cv_type_u_int32_t
78582 unset ac_cv_type_u_int64_t
78583 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78584 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78585 #include <$i>
78587 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78588 acx_cv_header_stdint=$i
78589 else
78590 continue
78593 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78594 #include <$i>
78596 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78600 break
78601 done
78603 if test "$acx_cv_header_stdint" = stddef.h; then
78604 acx_cv_header_stdint_kind="(using manual detection)"
78607 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78608 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78609 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78610 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78611 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78613 # ----------------- Summarize what we found so far
78615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78616 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78618 case `$as_basename -- include/gstdint.h ||
78619 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78620 Xinclude/gstdint.h : 'X\(//\)$' \| \
78621 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78622 $as_echo X/include/gstdint.h |
78623 sed '/^.*\/\([^/][^/]*\)\/*$/{
78624 s//\1/
78627 /^X\/\(\/\/\)$/{
78628 s//\1/
78631 /^X\/\(\/\).*/{
78632 s//\1/
78635 s/.*/./; q'` in
78636 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78637 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78638 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78639 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78640 *) ;;
78641 esac
78643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78644 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78646 # ----------------- done included file, check C basic types --------
78648 # Lacking an uintptr_t? Test size of void *
78649 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78650 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78652 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78653 # This bug is HP SR number 8606223364.
78654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78655 $as_echo_n "checking size of void *... " >&6; }
78656 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78657 $as_echo_n "(cached) " >&6
78658 else
78659 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78661 else
78662 if test "$ac_cv_type_void_p" = yes; then
78663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78665 { as_fn_set_status 77
78666 as_fn_error "cannot compute sizeof (void *)
78667 See \`config.log' for more details." "$LINENO" 5; }; }
78668 else
78669 ac_cv_sizeof_void_p=0
78674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78675 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78679 cat >>confdefs.h <<_ACEOF
78680 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78681 _ACEOF
78684 esac
78686 # Lacking an uint64_t? Test size of long
78687 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78688 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78690 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78691 # This bug is HP SR number 8606223364.
78692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78693 $as_echo_n "checking size of long... " >&6; }
78694 if test "${ac_cv_sizeof_long+set}" = set; then :
78695 $as_echo_n "(cached) " >&6
78696 else
78697 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78699 else
78700 if test "$ac_cv_type_long" = yes; then
78701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78703 { as_fn_set_status 77
78704 as_fn_error "cannot compute sizeof (long)
78705 See \`config.log' for more details." "$LINENO" 5; }; }
78706 else
78707 ac_cv_sizeof_long=0
78712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78713 $as_echo "$ac_cv_sizeof_long" >&6; }
78717 cat >>confdefs.h <<_ACEOF
78718 #define SIZEOF_LONG $ac_cv_sizeof_long
78719 _ACEOF
78722 esac
78724 if test $acx_cv_header_stdint = stddef.h; then
78725 # Lacking a good header? Test size of everything and deduce all types.
78726 # The cast to long int works around a bug in the HP C Compiler
78727 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78728 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78729 # This bug is HP SR number 8606223364.
78730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78731 $as_echo_n "checking size of int... " >&6; }
78732 if test "${ac_cv_sizeof_int+set}" = set; then :
78733 $as_echo_n "(cached) " >&6
78734 else
78735 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78737 else
78738 if test "$ac_cv_type_int" = yes; then
78739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78741 { as_fn_set_status 77
78742 as_fn_error "cannot compute sizeof (int)
78743 See \`config.log' for more details." "$LINENO" 5; }; }
78744 else
78745 ac_cv_sizeof_int=0
78750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78751 $as_echo "$ac_cv_sizeof_int" >&6; }
78755 cat >>confdefs.h <<_ACEOF
78756 #define SIZEOF_INT $ac_cv_sizeof_int
78757 _ACEOF
78760 # The cast to long int works around a bug in the HP C Compiler
78761 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78762 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78763 # This bug is HP SR number 8606223364.
78764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78765 $as_echo_n "checking size of short... " >&6; }
78766 if test "${ac_cv_sizeof_short+set}" = set; then :
78767 $as_echo_n "(cached) " >&6
78768 else
78769 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78771 else
78772 if test "$ac_cv_type_short" = yes; then
78773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78775 { as_fn_set_status 77
78776 as_fn_error "cannot compute sizeof (short)
78777 See \`config.log' for more details." "$LINENO" 5; }; }
78778 else
78779 ac_cv_sizeof_short=0
78784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78785 $as_echo "$ac_cv_sizeof_short" >&6; }
78789 cat >>confdefs.h <<_ACEOF
78790 #define SIZEOF_SHORT $ac_cv_sizeof_short
78791 _ACEOF
78794 # The cast to long int works around a bug in the HP C Compiler
78795 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78796 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78797 # This bug is HP SR number 8606223364.
78798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78799 $as_echo_n "checking size of char... " >&6; }
78800 if test "${ac_cv_sizeof_char+set}" = set; then :
78801 $as_echo_n "(cached) " >&6
78802 else
78803 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78805 else
78806 if test "$ac_cv_type_char" = yes; then
78807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78809 { as_fn_set_status 77
78810 as_fn_error "cannot compute sizeof (char)
78811 See \`config.log' for more details." "$LINENO" 5; }; }
78812 else
78813 ac_cv_sizeof_char=0
78818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78819 $as_echo "$ac_cv_sizeof_char" >&6; }
78823 cat >>confdefs.h <<_ACEOF
78824 #define SIZEOF_CHAR $ac_cv_sizeof_char
78825 _ACEOF
78829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78830 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78831 case "$ac_cv_sizeof_char" in
78832 1) acx_cv_type_int8_t=char ;;
78833 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78834 esac
78835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78836 $as_echo "$acx_cv_type_int8_t" >&6; }
78838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78839 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78840 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78841 2:*) acx_cv_type_int16_t=int ;;
78842 *:2) acx_cv_type_int16_t=short ;;
78843 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78844 esac
78845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78846 $as_echo "$acx_cv_type_int16_t" >&6; }
78848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78849 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78850 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78851 4:*) acx_cv_type_int32_t=int ;;
78852 *:4) acx_cv_type_int32_t=long ;;
78853 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78854 esac
78855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78856 $as_echo "$acx_cv_type_int32_t" >&6; }
78859 # These tests are here to make the output prettier
78861 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78862 case "$ac_cv_sizeof_long" in
78863 8) acx_cv_type_int64_t=long ;;
78864 esac
78865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78866 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78868 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78871 # Now we can use the above types
78873 if test "$ac_cv_type_uintptr_t" != yes; then
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78875 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78876 case $ac_cv_sizeof_void_p in
78877 2) acx_cv_type_intptr_t=int16_t ;;
78878 4) acx_cv_type_intptr_t=int32_t ;;
78879 8) acx_cv_type_intptr_t=int64_t ;;
78880 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78881 esac
78882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78883 $as_echo "$acx_cv_type_intptr_t" >&6; }
78886 # ----------------- done all checks, emit header -------------
78887 ac_config_commands="$ac_config_commands include/gstdint.h"
78893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78894 $as_echo_n "checking for GNU c++filt... " >&6; }
78895 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78896 $as_echo_n "(cached) " >&6
78897 else
78898 if test -z "$CXXFILT"; then
78899 ac_path_CXXFILT_found=false
78900 # Loop through the user's path and test for each of PROGNAME-LIST
78901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78902 for as_dir in $PATH
78904 IFS=$as_save_IFS
78905 test -z "$as_dir" && as_dir=.
78906 for ac_prog in c++filt gc++filt; do
78907 for ac_exec_ext in '' $ac_executable_extensions; do
78908 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78909 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78910 # Check for GNU $ac_path_CXXFILT
78911 case `"$ac_path_CXXFILT" --version 2>&1` in
78912 *GNU*)
78913 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78914 esac
78916 $ac_path_CXXFILT_found && break 3
78917 done
78918 done
78919 done
78920 IFS=$as_save_IFS
78921 if test -z "$ac_cv_path_CXXFILT"; then
78924 else
78925 ac_cv_path_CXXFILT=$CXXFILT
78929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78930 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78931 CXXFILT=$ac_cv_path_CXXFILT
78935 # Check whether --enable-symvers was given.
78936 if test "${enable_symvers+set}" = set; then :
78937 enableval=$enable_symvers;
78938 case "$enableval" in
78939 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78940 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78941 esac
78943 else
78944 enable_symvers=yes
78949 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78950 # don't know enough about $LD to do tricks...
78952 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78953 # with extern "C++" in version scripts.
78956 # Turn a 'yes' into a suitable default.
78957 if test x$enable_symvers = xyes ; then
78958 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78959 enable_symvers=no
78960 else
78961 if test $with_gnu_ld = yes ; then
78962 case ${target_os} in
78963 hpux*)
78964 enable_symvers=no ;;
78966 enable_symvers=gnu ;;
78967 esac
78968 else
78969 case ${target_os} in
78970 darwin*)
78971 enable_symvers=darwin ;;
78972 # Sun symbol versioning exists since Solaris 2.5.
78973 solaris2.[5-9]* | solaris2.1[0-9]*)
78974 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78975 # version scripts, so disable symbol versioning if none can be
78976 # found.
78977 if test -z "$ac_cv_path_CXXFILT"; then
78978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78979 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78981 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78983 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78984 enable_symvers=no
78985 else
78986 enable_symvers=sun
78990 enable_symvers=no ;;
78991 esac
78996 # Check to see if 'darwin' or 'darwin-export' can win.
78997 if test x$enable_symvers = xdarwin-export ; then
78998 enable_symvers=darwin
79001 # Check if 'sun' was requested on non-Solaris 2 platforms.
79002 if test x$enable_symvers = xsun ; then
79003 case ${target_os} in
79004 solaris2*)
79005 # All fine.
79008 # Unlikely to work.
79009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79010 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79012 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79014 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79015 enable_symvers=no
79017 esac
79020 # Check to see if 'gnu' can win.
79021 if test $enable_symvers = gnu ||
79022 test $enable_symvers = gnu-versioned-namespace ||
79023 test $enable_symvers = sun; then
79024 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79026 $as_echo_n "checking for shared libgcc... " >&6; }
79027 ac_save_CFLAGS="$CFLAGS"
79028 CFLAGS=' -lgcc_s'
79029 if test x$gcc_no_link = xyes; then
79030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79033 /* end confdefs.h. */
79036 main ()
79038 return 0;
79040 return 0;
79042 _ACEOF
79043 if ac_fn_c_try_link "$LINENO"; then :
79044 glibcxx_shared_libgcc=yes
79045 else
79046 glibcxx_shared_libgcc=no
79048 rm -f core conftest.err conftest.$ac_objext \
79049 conftest$ac_exeext conftest.$ac_ext
79050 CFLAGS="$ac_save_CFLAGS"
79051 if test $glibcxx_shared_libgcc = no; then
79052 cat > conftest.c <<EOF
79053 int main (void) { return 0; }
79055 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79056 -shared -shared-libgcc -o conftest.so \
79057 conftest.c -v 2>&1 >/dev/null \
79058 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79059 rm -f conftest.c conftest.so
79060 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79061 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79062 if test x$gcc_no_link = xyes; then
79063 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79066 /* end confdefs.h. */
79069 main ()
79071 return 0;
79073 return 0;
79075 _ACEOF
79076 if ac_fn_c_try_link "$LINENO"; then :
79077 glibcxx_shared_libgcc=yes
79079 rm -f core conftest.err conftest.$ac_objext \
79080 conftest$ac_exeext conftest.$ac_ext
79081 CFLAGS="$ac_save_CFLAGS"
79084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79085 $as_echo "$glibcxx_shared_libgcc" >&6; }
79087 # For GNU ld, we need at least this version. The format is described in
79088 # GLIBCXX_CHECK_LINKER_FEATURES above.
79089 glibcxx_min_gnu_ld_version=21400
79091 # If no shared libgcc, can't win.
79092 if test $glibcxx_shared_libgcc != yes; then
79093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79094 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79096 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79098 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79099 enable_symvers=no
79100 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79101 : All interesting versions of Sun ld support sun style symbol versioning.
79102 elif test $with_gnu_ld != yes ; then
79103 # just fail for now
79104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79105 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79107 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79109 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79110 enable_symvers=no
79111 elif test $glibcxx_ld_is_gold = yes ; then
79112 : All versions of gold support symbol versioning.
79113 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79114 # The right tools, the right setup, but too old. Fallbacks?
79115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79116 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79118 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79120 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79122 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79124 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79125 enable_symvers=no
79129 # For libtool versioning info, format is CURRENT:REVISION:AGE
79130 libtool_VERSION=6:25:0
79132 # Everything parsed; figure out what files and settings to use.
79133 case $enable_symvers in
79135 SYMVER_FILE=config/abi/pre/none.ver
79137 gnu)
79138 SYMVER_FILE=config/abi/pre/gnu.ver
79140 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79143 gnu-versioned-namespace)
79144 libtool_VERSION=8:0:0
79145 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79147 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79150 darwin)
79151 SYMVER_FILE=config/abi/pre/gnu.ver
79153 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79156 sun)
79157 SYMVER_FILE=config/abi/pre/gnu.ver
79159 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79162 esac
79164 if test x$enable_symvers != xno ; then
79166 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79171 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79172 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79173 $as_echo_n "(cached) " >&6
79174 else
79176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79177 /* end confdefs.h. */
79178 void foo (void); __asm (".symver foo, bar@SYMVER");
79180 main ()
79184 return 0;
79186 _ACEOF
79187 if ac_fn_c_try_compile "$LINENO"; then :
79188 glibcxx_cv_have_as_symver_directive=yes
79189 else
79190 glibcxx_cv_have_as_symver_directive=no
79192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79195 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79196 if test $glibcxx_cv_have_as_symver_directive = yes; then
79198 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79209 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79210 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79212 if test $enable_symvers != no ; then
79213 case ${target_os} in
79214 # The Solaris 2 runtime linker doesn't support the GNU extension of
79215 # binding the same symbol to different versions
79216 solaris2*)
79218 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79221 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79224 esac
79227 # Now, set up compatibility support, if any.
79228 # In addition, need this to deal with std::size_t mangling in
79229 # src/compatibility.cc. In a perfect world, could use
79230 # typeid(std::size_t).name()[0] to do direct substitution.
79231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79232 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79233 ac_save_CFLAGS="$CFLAGS"
79234 CFLAGS="-Werror"
79235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79236 /* end confdefs.h. */
79239 main ()
79241 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79243 return 0;
79245 _ACEOF
79246 if ac_fn_c_try_compile "$LINENO"; then :
79247 glibcxx_size_t_is_i=yes
79248 else
79249 glibcxx_size_t_is_i=no
79251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79252 CFLAGS=$ac_save_CFLAGS
79253 if test "$glibcxx_size_t_is_i" = yes; then
79255 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79259 $as_echo "$glibcxx_size_t_is_i" >&6; }
79261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79262 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79263 ac_save_CFLAGS="$CFLAGS"
79264 CFLAGS="-Werror"
79265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79266 /* end confdefs.h. */
79269 main ()
79271 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79273 return 0;
79275 _ACEOF
79276 if ac_fn_c_try_compile "$LINENO"; then :
79277 glibcxx_ptrdiff_t_is_i=yes
79278 else
79279 glibcxx_ptrdiff_t_is_i=no
79281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79282 CFLAGS=$ac_save_CFLAGS
79283 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79285 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79289 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79294 # Check whether --enable-libstdcxx-visibility was given.
79295 if test "${enable_libstdcxx_visibility+set}" = set; then :
79296 enableval=$enable_libstdcxx_visibility;
79297 case "$enableval" in
79298 yes|no) ;;
79299 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79300 esac
79302 else
79303 enable_libstdcxx_visibility=yes
79308 if test x$enable_libstdcxx_visibility = xyes ; then
79309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79310 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79311 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79312 $as_echo_n "(cached) " >&6
79313 else
79315 save_CFLAGS="$CFLAGS"
79316 CFLAGS="$CFLAGS -Werror"
79317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79318 /* end confdefs.h. */
79319 void __attribute__((visibility("hidden"))) foo(void) { }
79321 main ()
79325 return 0;
79327 _ACEOF
79328 if ac_fn_c_try_compile "$LINENO"; then :
79329 glibcxx_cv_have_attribute_visibility=yes
79330 else
79331 glibcxx_cv_have_attribute_visibility=no
79333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79334 CFLAGS="$save_CFLAGS"
79336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79337 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79338 if test $glibcxx_cv_have_attribute_visibility = no; then
79339 enable_libstdcxx_visibility=no
79344 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79345 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79349 # Check whether --enable-libstdcxx-dual-abi was given.
79350 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79351 enableval=$enable_libstdcxx_dual_abi;
79352 case "$enableval" in
79353 yes|no) ;;
79354 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79355 esac
79357 else
79358 enable_libstdcxx_dual_abi=yes
79362 if test x$enable_symvers = xgnu-versioned-namespace; then
79363 # gnu-versioned-namespace is incompatible with the dual ABI.
79364 enable_libstdcxx_dual_abi="no"
79366 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79367 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79368 $as_echo "$as_me: dual ABI is disabled" >&6;}
79369 default_libstdcxx_abi="gcc4-compatible"
79374 if test x$enable_libstdcxx_dual_abi = xyes; then
79375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79376 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79378 # Check whether --with-default-libstdcxx-abi was given.
79379 if test "${with_default_libstdcxx_abi+set}" = set; then :
79380 withval=$with_default_libstdcxx_abi; case "$withval" in
79381 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79382 new|cxx11) default_libstdcxx_abi="new" ;;
79383 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79384 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79385 esac
79387 else
79388 default_libstdcxx_abi="new"
79391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79392 $as_echo "${default_libstdcxx_abi}" >&6; }
79394 if test $default_libstdcxx_abi = "new"; then
79395 glibcxx_cxx11_abi=1
79396 glibcxx_cxx98_abi=0
79397 else
79398 glibcxx_cxx11_abi=0
79399 glibcxx_cxx98_abi=1
79405 ac_ldbl_compat=no
79406 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79407 case "$target" in
79408 powerpc*-*-linux* | \
79409 sparc*-*-linux* | \
79410 s390*-*-linux* | \
79411 alpha*-*-linux*)
79412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79413 /* end confdefs.h. */
79416 main ()
79419 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79420 #error no need for long double compatibility
79421 #endif
79424 return 0;
79426 _ACEOF
79427 if ac_fn_c_try_compile "$LINENO"; then :
79428 ac_ldbl_compat=yes
79429 else
79430 ac_ldbl_compat=no
79432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79433 if test "$ac_ldbl_compat" = yes; then
79435 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79437 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79438 case "$target" in
79439 powerpc*-*-linux*)
79440 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79441 esac
79443 esac
79447 # Check if assembler supports disabling hardware capability support.
79449 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79451 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79452 # with a different meaning.
79453 case ${target_os} in
79454 solaris2*)
79455 ac_save_CFLAGS="$CFLAGS"
79456 CFLAGS="$CFLAGS -Wa,-nH"
79458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79459 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79461 /* end confdefs.h. */
79464 main ()
79466 return 0;
79468 return 0;
79470 _ACEOF
79471 if ac_fn_c_try_compile "$LINENO"; then :
79472 ac_hwcap_flags=yes
79473 else
79474 ac_hwcap_flags=no
79476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79477 if test "$ac_hwcap_flags" = "yes"; then
79478 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79481 $as_echo "$ac_hwcap_flags" >&6; }
79483 CFLAGS="$ac_save_CFLAGS"
79485 esac
79490 # Check if assembler supports rdrand opcode.
79492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79493 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79494 if test "${ac_cv_x86_rdrand+set}" = set; then :
79495 $as_echo_n "(cached) " >&6
79496 else
79498 ac_cv_x86_rdrand=no
79499 case "$target" in
79500 i?86-*-* | \
79501 x86_64-*-*)
79502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79503 /* end confdefs.h. */
79506 main ()
79508 asm("rdrand %eax");
79510 return 0;
79512 _ACEOF
79513 if ac_fn_c_try_compile "$LINENO"; then :
79514 ac_cv_x86_rdrand=yes
79515 else
79516 ac_cv_x86_rdrand=no
79518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79519 esac
79523 if test $ac_cv_x86_rdrand = yes; then
79525 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79529 $as_echo "$ac_cv_x86_rdrand" >&6; }
79532 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79534 # Do checks for resource limit functions.
79536 setrlimit_have_headers=yes
79537 for ac_header in unistd.h sys/time.h sys/resource.h
79538 do :
79539 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79540 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79541 eval as_val=\$$as_ac_Header
79542 if test "x$as_val" = x""yes; then :
79543 cat >>confdefs.h <<_ACEOF
79544 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79545 _ACEOF
79547 else
79548 setrlimit_have_headers=no
79551 done
79553 # If don't have the headers, then we can't run the tests now, and we
79554 # won't be seeing any of these during testsuite compilation.
79555 if test $setrlimit_have_headers = yes; then
79556 # Can't do these in a loop, else the resulting syntax is wrong.
79558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79559 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79561 /* end confdefs.h. */
79562 #include <unistd.h>
79563 #include <sys/time.h>
79564 #include <sys/resource.h>
79567 main ()
79569 int f = RLIMIT_DATA ;
79571 return 0;
79573 _ACEOF
79574 if ac_fn_c_try_compile "$LINENO"; then :
79575 glibcxx_mresult=1
79576 else
79577 glibcxx_mresult=0
79579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79581 cat >>confdefs.h <<_ACEOF
79582 #define HAVE_LIMIT_DATA $glibcxx_mresult
79583 _ACEOF
79585 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79587 $as_echo "$res" >&6; }
79590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79591 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79593 /* end confdefs.h. */
79594 #include <unistd.h>
79595 #include <sys/time.h>
79596 #include <sys/resource.h>
79599 main ()
79601 int f = RLIMIT_RSS ;
79603 return 0;
79605 _ACEOF
79606 if ac_fn_c_try_compile "$LINENO"; then :
79607 glibcxx_mresult=1
79608 else
79609 glibcxx_mresult=0
79611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79613 cat >>confdefs.h <<_ACEOF
79614 #define HAVE_LIMIT_RSS $glibcxx_mresult
79615 _ACEOF
79617 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79619 $as_echo "$res" >&6; }
79622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79623 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79625 /* end confdefs.h. */
79626 #include <unistd.h>
79627 #include <sys/time.h>
79628 #include <sys/resource.h>
79631 main ()
79633 int f = RLIMIT_VMEM ;
79635 return 0;
79637 _ACEOF
79638 if ac_fn_c_try_compile "$LINENO"; then :
79639 glibcxx_mresult=1
79640 else
79641 glibcxx_mresult=0
79643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79645 cat >>confdefs.h <<_ACEOF
79646 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79647 _ACEOF
79649 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79651 $as_echo "$res" >&6; }
79654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79655 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79657 /* end confdefs.h. */
79658 #include <unistd.h>
79659 #include <sys/time.h>
79660 #include <sys/resource.h>
79663 main ()
79665 int f = RLIMIT_AS ;
79667 return 0;
79669 _ACEOF
79670 if ac_fn_c_try_compile "$LINENO"; then :
79671 glibcxx_mresult=1
79672 else
79673 glibcxx_mresult=0
79675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79677 cat >>confdefs.h <<_ACEOF
79678 #define HAVE_LIMIT_AS $glibcxx_mresult
79679 _ACEOF
79681 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79683 $as_echo "$res" >&6; }
79686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79687 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79689 /* end confdefs.h. */
79690 #include <unistd.h>
79691 #include <sys/time.h>
79692 #include <sys/resource.h>
79695 main ()
79697 int f = RLIMIT_FSIZE ;
79699 return 0;
79701 _ACEOF
79702 if ac_fn_c_try_compile "$LINENO"; then :
79703 glibcxx_mresult=1
79704 else
79705 glibcxx_mresult=0
79707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79709 cat >>confdefs.h <<_ACEOF
79710 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79711 _ACEOF
79713 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79715 $as_echo "$res" >&6; }
79718 # Check for rlimit, setrlimit.
79719 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79720 $as_echo_n "(cached) " >&6
79721 else
79723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79724 /* end confdefs.h. */
79725 #include <unistd.h>
79726 #include <sys/time.h>
79727 #include <sys/resource.h>
79730 main ()
79732 struct rlimit r;
79733 setrlimit(0, &r);
79735 return 0;
79737 _ACEOF
79738 if ac_fn_c_try_compile "$LINENO"; then :
79739 glibcxx_cv_setrlimit=yes
79740 else
79741 glibcxx_cv_setrlimit=no
79743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79750 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79751 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79752 ac_res_limits=yes
79754 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79756 else
79757 ac_res_limits=no
79759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79760 $as_echo "$ac_res_limits" >&6; }
79763 if $GLIBCXX_IS_NATIVE ; then
79764 # Look for setenv, so that extended locale tests can be performed.
79766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79767 $as_echo_n "checking for setenv declaration... " >&6; }
79768 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79769 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79770 $as_echo_n "(cached) " >&6
79771 else
79774 ac_ext=cpp
79775 ac_cpp='$CXXCPP $CPPFLAGS'
79776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79781 /* end confdefs.h. */
79782 #include <stdlib.h>
79784 main ()
79786 setenv(0, 0, 0);
79788 return 0;
79790 _ACEOF
79791 if ac_fn_cxx_try_compile "$LINENO"; then :
79792 glibcxx_cv_func_setenv_use=yes
79793 else
79794 glibcxx_cv_func_setenv_use=no
79796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79797 ac_ext=c
79798 ac_cpp='$CPP $CPPFLAGS'
79799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79808 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79809 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79810 for ac_func in setenv
79811 do :
79812 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79813 if test "x$ac_cv_func_setenv" = x""yes; then :
79814 cat >>confdefs.h <<_ACEOF
79815 #define HAVE_SETENV 1
79816 _ACEOF
79819 done
79825 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79826 test $enable_symvers != no; then
79827 case "$host" in
79828 *-*-cygwin*)
79829 enable_abi_check=no ;;
79831 enable_abi_check=yes ;;
79832 esac
79833 else
79834 # Only build this as native, since automake does not understand
79835 # CXX_FOR_BUILD.
79836 enable_abi_check=no
79839 # Export file names for ABI checking.
79840 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79842 baseline_subdir_switch="$abi_baseline_subdir_switch"
79846 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79848 # Check whether --enable-libstdcxx-threads was given.
79849 if test "${enable_libstdcxx_threads+set}" = set; then :
79850 enableval=$enable_libstdcxx_threads;
79851 case "$enableval" in
79852 yes|no) ;;
79853 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79854 esac
79856 else
79857 enable_libstdcxx_threads=auto
79862 if test x$enable_libstdcxx_threads = xauto ||
79863 test x$enable_libstdcxx_threads = xyes; then
79866 ac_ext=cpp
79867 ac_cpp='$CXXCPP $CPPFLAGS'
79868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79873 ac_save_CXXFLAGS="$CXXFLAGS"
79874 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79875 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79877 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79878 case $target_thread_file in
79879 posix)
79880 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79881 esac
79883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79884 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79887 /* end confdefs.h. */
79888 #include <unistd.h>
79890 main ()
79893 // In case of POSIX threads check _POSIX_TIMEOUTS.
79894 #if (defined(_PTHREADS) \
79895 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79896 #error
79897 #endif
79900 return 0;
79902 _ACEOF
79903 if ac_fn_cxx_try_compile "$LINENO"; then :
79904 ac_gthread_use_mutex_timedlock=1
79905 else
79906 ac_gthread_use_mutex_timedlock=0
79908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79911 cat >>confdefs.h <<_ACEOF
79912 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79913 _ACEOF
79916 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79917 else res_mutex_timedlock=no ; fi
79918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79919 $as_echo "$res_mutex_timedlock" >&6; }
79921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79922 $as_echo_n "checking for gthreads library... " >&6; }
79924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79925 /* end confdefs.h. */
79926 #include "gthr.h"
79928 main ()
79931 #ifndef __GTHREADS_CXX0X
79932 #error
79933 #endif
79936 return 0;
79938 _ACEOF
79939 if ac_fn_cxx_try_compile "$LINENO"; then :
79940 ac_has_gthreads=yes
79941 else
79942 ac_has_gthreads=no
79944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79945 else
79946 ac_has_gthreads=no
79949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79950 $as_echo "$ac_has_gthreads" >&6; }
79952 if test x"$ac_has_gthreads" = x"yes"; then
79954 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79957 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79958 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79960 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79962 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79968 CXXFLAGS="$ac_save_CXXFLAGS"
79969 ac_ext=c
79970 ac_cpp='$CPP $CPPFLAGS'
79971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79977 # For Filesystem TS.
79978 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79979 do :
79980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79981 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79982 eval as_val=\$$as_ac_Header
79983 if test "x$as_val" = x""yes; then :
79984 cat >>confdefs.h <<_ACEOF
79985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79986 _ACEOF
79990 done
79993 # Check whether --enable-libstdcxx-filesystem-ts was given.
79994 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79995 enableval=$enable_libstdcxx_filesystem_ts;
79996 case "$enableval" in
79997 yes|no|auto) ;;
79998 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79999 esac
80001 else
80002 enable_libstdcxx_filesystem_ts=auto
80007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80008 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80009 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80010 enable_libstdcxx_filesystem_ts=no
80012 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80013 case "${target_os}" in
80014 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80015 enable_libstdcxx_filesystem_ts=yes
80017 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80018 enable_libstdcxx_filesystem_ts=yes
80020 rtems*)
80021 enable_libstdcxx_filesystem_ts=yes
80023 solaris*)
80024 enable_libstdcxx_filesystem_ts=yes
80027 enable_libstdcxx_filesystem_ts=no
80029 esac
80031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80032 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80036 ac_ext=cpp
80037 ac_cpp='$CXXCPP $CPPFLAGS'
80038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80042 ac_save_CXXFLAGS="$CXXFLAGS"
80043 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80045 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80046 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80047 $as_echo_n "(cached) " >&6
80048 else
80049 if test x$gcc_no_link = xyes; then
80050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80051 /* end confdefs.h. */
80052 #include <dirent.h>
80054 main ()
80057 struct dirent d;
80058 if (sizeof d.d_type) return 0;
80061 return 0;
80063 _ACEOF
80064 if ac_fn_cxx_try_compile "$LINENO"; then :
80065 glibcxx_cv_dirent_d_type=yes
80066 else
80067 glibcxx_cv_dirent_d_type=no
80069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80070 else
80071 if test x$gcc_no_link = xyes; then
80072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80075 /* end confdefs.h. */
80076 #include <dirent.h>
80078 main ()
80081 struct dirent d;
80082 if (sizeof d.d_type) return 0;
80085 return 0;
80087 _ACEOF
80088 if ac_fn_cxx_try_link "$LINENO"; then :
80089 glibcxx_cv_dirent_d_type=yes
80090 else
80091 glibcxx_cv_dirent_d_type=no
80093 rm -f core conftest.err conftest.$ac_objext \
80094 conftest$ac_exeext conftest.$ac_ext
80099 if test $glibcxx_cv_dirent_d_type = yes; then
80101 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80105 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80107 $as_echo_n "checking for realpath... " >&6; }
80108 if test "${glibcxx_cv_realpath+set}" = set; then :
80109 $as_echo_n "(cached) " >&6
80110 else
80111 if test x$gcc_no_link = xyes; then
80112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80113 /* end confdefs.h. */
80115 #include <limits.h>
80116 #include <stdlib.h>
80117 #include <unistd.h>
80120 main ()
80123 #if _XOPEN_VERSION < 500
80124 #error
80125 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80126 char *tmp = realpath((const char*)NULL, (char*)NULL);
80127 #else
80128 #error
80129 #endif
80132 return 0;
80134 _ACEOF
80135 if ac_fn_cxx_try_compile "$LINENO"; then :
80136 glibcxx_cv_realpath=yes
80137 else
80138 glibcxx_cv_realpath=no
80140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80141 else
80142 if test x$gcc_no_link = xyes; then
80143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80146 /* end confdefs.h. */
80148 #include <limits.h>
80149 #include <stdlib.h>
80150 #include <unistd.h>
80153 main ()
80156 #if _XOPEN_VERSION < 500
80157 #error
80158 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80159 char *tmp = realpath((const char*)NULL, (char*)NULL);
80160 #else
80161 #error
80162 #endif
80165 return 0;
80167 _ACEOF
80168 if ac_fn_cxx_try_link "$LINENO"; then :
80169 glibcxx_cv_realpath=yes
80170 else
80171 glibcxx_cv_realpath=no
80173 rm -f core conftest.err conftest.$ac_objext \
80174 conftest$ac_exeext conftest.$ac_ext
80179 if test $glibcxx_cv_realpath = yes; then
80181 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80185 $as_echo "$glibcxx_cv_realpath" >&6; }
80186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80187 $as_echo_n "checking for utimensat... " >&6; }
80188 if test "${glibcxx_cv_utimensat+set}" = set; then :
80189 $as_echo_n "(cached) " >&6
80190 else
80191 if test x$gcc_no_link = xyes; then
80192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80193 /* end confdefs.h. */
80195 #include <fcntl.h>
80196 #include <sys/stat.h>
80199 main ()
80202 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80203 int i = utimensat(AT_FDCWD, "path", ts, 0);
80206 return 0;
80208 _ACEOF
80209 if ac_fn_cxx_try_compile "$LINENO"; then :
80210 glibcxx_cv_utimensat=yes
80211 else
80212 glibcxx_cv_utimensat=no
80214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80215 else
80216 if test x$gcc_no_link = xyes; then
80217 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80220 /* end confdefs.h. */
80222 #include <fcntl.h>
80223 #include <sys/stat.h>
80226 main ()
80229 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80230 int i = utimensat(AT_FDCWD, "path", ts, 0);
80233 return 0;
80235 _ACEOF
80236 if ac_fn_cxx_try_link "$LINENO"; then :
80237 glibcxx_cv_utimensat=yes
80238 else
80239 glibcxx_cv_utimensat=no
80241 rm -f core conftest.err conftest.$ac_objext \
80242 conftest$ac_exeext conftest.$ac_ext
80247 if test $glibcxx_cv_utimensat = yes; then
80249 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80253 $as_echo "$glibcxx_cv_utimensat" >&6; }
80254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80255 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80256 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80257 $as_echo_n "(cached) " >&6
80258 else
80259 if test x$gcc_no_link = xyes; then
80260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80261 /* end confdefs.h. */
80262 #include <sys/stat.h>
80264 main ()
80267 struct stat st;
80268 return st.st_mtim.tv_nsec;
80271 return 0;
80273 _ACEOF
80274 if ac_fn_cxx_try_compile "$LINENO"; then :
80275 glibcxx_cv_st_mtim=yes
80276 else
80277 glibcxx_cv_st_mtim=no
80279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80280 else
80281 if test x$gcc_no_link = xyes; then
80282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80285 /* end confdefs.h. */
80286 #include <sys/stat.h>
80288 main ()
80291 struct stat st;
80292 return st.st_mtim.tv_nsec;
80295 return 0;
80297 _ACEOF
80298 if ac_fn_cxx_try_link "$LINENO"; then :
80299 glibcxx_cv_st_mtim=yes
80300 else
80301 glibcxx_cv_st_mtim=no
80303 rm -f core conftest.err conftest.$ac_objext \
80304 conftest$ac_exeext conftest.$ac_ext
80309 if test $glibcxx_cv_st_mtim = yes; then
80311 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80315 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80317 $as_echo_n "checking for fchmod... " >&6; }
80318 if test "${glibcxx_cv_fchmod+set}" = set; then :
80319 $as_echo_n "(cached) " >&6
80320 else
80321 if test x$gcc_no_link = xyes; then
80322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80323 /* end confdefs.h. */
80324 #include <sys/stat.h>
80326 main ()
80328 fchmod(1, S_IWUSR);
80330 return 0;
80332 _ACEOF
80333 if ac_fn_cxx_try_compile "$LINENO"; then :
80334 glibcxx_cv_fchmod=yes
80335 else
80336 glibcxx_cv_fchmod=no
80338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80339 else
80340 if test x$gcc_no_link = xyes; then
80341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80344 /* end confdefs.h. */
80345 #include <sys/stat.h>
80347 main ()
80349 fchmod(1, S_IWUSR);
80351 return 0;
80353 _ACEOF
80354 if ac_fn_cxx_try_link "$LINENO"; then :
80355 glibcxx_cv_fchmod=yes
80356 else
80357 glibcxx_cv_fchmod=no
80359 rm -f core conftest.err conftest.$ac_objext \
80360 conftest$ac_exeext conftest.$ac_ext
80365 if test $glibcxx_cv_fchmod = yes; then
80367 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80371 $as_echo "$glibcxx_cv_fchmod" >&6; }
80372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80373 $as_echo_n "checking for fchmodat... " >&6; }
80374 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80375 $as_echo_n "(cached) " >&6
80376 else
80377 if test x$gcc_no_link = xyes; then
80378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80379 /* end confdefs.h. */
80381 #include <fcntl.h>
80382 #include <sys/stat.h>
80385 main ()
80387 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80389 return 0;
80391 _ACEOF
80392 if ac_fn_cxx_try_compile "$LINENO"; then :
80393 glibcxx_cv_fchmodat=yes
80394 else
80395 glibcxx_cv_fchmodat=no
80397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80398 else
80399 if test x$gcc_no_link = xyes; then
80400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80403 /* end confdefs.h. */
80405 #include <fcntl.h>
80406 #include <sys/stat.h>
80409 main ()
80411 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80413 return 0;
80415 _ACEOF
80416 if ac_fn_cxx_try_link "$LINENO"; then :
80417 glibcxx_cv_fchmodat=yes
80418 else
80419 glibcxx_cv_fchmodat=no
80421 rm -f core conftest.err conftest.$ac_objext \
80422 conftest$ac_exeext conftest.$ac_ext
80427 if test $glibcxx_cv_fchmodat = yes; then
80429 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80433 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80435 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80436 if test "${glibcxx_cv_sendfile+set}" = set; then :
80437 $as_echo_n "(cached) " >&6
80438 else
80439 case "${target_os}" in
80440 gnu* | linux* | solaris*)
80441 if test x$gcc_no_link = xyes; then
80442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80443 /* end confdefs.h. */
80444 #include <sys/sendfile.h>
80446 main ()
80448 sendfile(1, 2, (off_t*)0, sizeof 1);
80450 return 0;
80452 _ACEOF
80453 if ac_fn_cxx_try_compile "$LINENO"; then :
80454 glibcxx_cv_sendfile=yes
80455 else
80456 glibcxx_cv_sendfile=no
80458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80459 else
80460 if test x$gcc_no_link = xyes; then
80461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80464 /* end confdefs.h. */
80465 #include <sys/sendfile.h>
80467 main ()
80469 sendfile(1, 2, (off_t*)0, sizeof 1);
80471 return 0;
80473 _ACEOF
80474 if ac_fn_cxx_try_link "$LINENO"; then :
80475 glibcxx_cv_sendfile=yes
80476 else
80477 glibcxx_cv_sendfile=no
80479 rm -f core conftest.err conftest.$ac_objext \
80480 conftest$ac_exeext conftest.$ac_ext
80484 glibcxx_cv_sendfile=no
80486 esac
80490 if test $glibcxx_cv_sendfile = yes; then
80492 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80496 $as_echo "$glibcxx_cv_sendfile" >&6; }
80497 CXXFLAGS="$ac_save_CXXFLAGS"
80498 ac_ext=c
80499 ac_cpp='$CPP $CPPFLAGS'
80500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80506 # For Transactional Memory TS
80508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80509 $as_echo_n "checking how size_t is mangled... " >&6; }
80510 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80511 $as_echo_n "(cached) " >&6
80512 else
80514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80515 /* end confdefs.h. */
80518 main ()
80520 extern __SIZE_TYPE__ x; extern unsigned long x;
80522 return 0;
80524 _ACEOF
80525 if ac_fn_c_try_compile "$LINENO"; then :
80526 glibcxx_cv_size_t_mangling=m
80527 else
80529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80530 /* end confdefs.h. */
80533 main ()
80535 extern __SIZE_TYPE__ x; extern unsigned int x;
80537 return 0;
80539 _ACEOF
80540 if ac_fn_c_try_compile "$LINENO"; then :
80541 glibcxx_cv_size_t_mangling=j
80542 else
80544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80545 /* end confdefs.h. */
80548 main ()
80550 extern __SIZE_TYPE__ x; extern unsigned long long x;
80552 return 0;
80554 _ACEOF
80555 if ac_fn_c_try_compile "$LINENO"; then :
80556 glibcxx_cv_size_t_mangling=y
80557 else
80559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80560 /* end confdefs.h. */
80563 main ()
80565 extern __SIZE_TYPE__ x; extern unsigned short x;
80567 return 0;
80569 _ACEOF
80570 if ac_fn_c_try_compile "$LINENO"; then :
80571 glibcxx_cv_size_t_mangling=t
80572 else
80574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80575 /* end confdefs.h. */
80578 main ()
80580 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80582 return 0;
80584 _ACEOF
80585 if ac_fn_c_try_compile "$LINENO"; then :
80586 glibcxx_cv_size_t_mangling=u6uint20
80587 else
80588 glibcxx_cv_size_t_mangling=x
80590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80606 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80607 if test $glibcxx_cv_size_t_mangling = x; then
80608 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80611 cat >>confdefs.h <<_ACEOF
80612 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80613 _ACEOF
80617 # Check which release added std::exception_ptr for the target
80619 if test $enable_symvers != no; then
80620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80621 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80622 case ${target} in
80623 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80624 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80625 ac_exception_ptr_since_gcc46=yes
80628 # If the value of this macro changes then we will need to hardcode
80629 # yes/no here for additional targets based on the original value.
80630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80631 /* end confdefs.h. */
80634 main ()
80637 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80638 # error atomic int not always lock free
80639 #endif
80642 return 0;
80644 _ACEOF
80645 if ac_fn_c_try_compile "$LINENO"; then :
80646 ac_exception_ptr_since_gcc46=yes
80647 else
80648 ac_exception_ptr_since_gcc46=no
80650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80652 esac
80653 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80655 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80658 $as_echo "4.6.0" >&6; }
80659 else
80660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80661 $as_echo "7.1.0" >&6; }
80666 # Define documentation rules conditionally.
80668 # See if makeinfo has been installed and is modern enough
80669 # that we can use it.
80671 # Extract the first word of "makeinfo", so it can be a program name with args.
80672 set dummy makeinfo; ac_word=$2
80673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80674 $as_echo_n "checking for $ac_word... " >&6; }
80675 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80676 $as_echo_n "(cached) " >&6
80677 else
80678 if test -n "$MAKEINFO"; then
80679 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80680 else
80681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80682 for as_dir in $PATH
80684 IFS=$as_save_IFS
80685 test -z "$as_dir" && as_dir=.
80686 for ac_exec_ext in '' $ac_executable_extensions; do
80687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80688 ac_cv_prog_MAKEINFO="makeinfo"
80689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80690 break 2
80692 done
80693 done
80694 IFS=$as_save_IFS
80698 MAKEINFO=$ac_cv_prog_MAKEINFO
80699 if test -n "$MAKEINFO"; then
80700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80701 $as_echo "$MAKEINFO" >&6; }
80702 else
80703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80704 $as_echo "no" >&6; }
80708 if test -n "$MAKEINFO"; then
80709 # Found it, now check the version.
80710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80711 $as_echo_n "checking for modern makeinfo... " >&6; }
80712 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80713 $as_echo_n "(cached) " >&6
80714 else
80715 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80716 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80718 case $ac_prog_version in
80719 '') gcc_cv_prog_makeinfo_modern=no;;
80720 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80721 *) gcc_cv_prog_makeinfo_modern=no;;
80722 esac
80725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80726 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80727 else
80728 gcc_cv_prog_makeinfo_modern=no
80730 if test $gcc_cv_prog_makeinfo_modern = no; then
80731 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80734 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80735 BUILD_INFO_TRUE=
80736 BUILD_INFO_FALSE='#'
80737 else
80738 BUILD_INFO_TRUE='#'
80739 BUILD_INFO_FALSE=
80743 # Check for doxygen
80744 # Extract the first word of "doxygen", so it can be a program name with args.
80745 set dummy doxygen; ac_word=$2
80746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80747 $as_echo_n "checking for $ac_word... " >&6; }
80748 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80749 $as_echo_n "(cached) " >&6
80750 else
80751 if test -n "$DOXYGEN"; then
80752 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80753 else
80754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80755 for as_dir in $PATH
80757 IFS=$as_save_IFS
80758 test -z "$as_dir" && as_dir=.
80759 for ac_exec_ext in '' $ac_executable_extensions; do
80760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80761 ac_cv_prog_DOXYGEN="yes"
80762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80763 break 2
80765 done
80766 done
80767 IFS=$as_save_IFS
80769 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80772 DOXYGEN=$ac_cv_prog_DOXYGEN
80773 if test -n "$DOXYGEN"; then
80774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80775 $as_echo "$DOXYGEN" >&6; }
80776 else
80777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80778 $as_echo "no" >&6; }
80782 # Extract the first word of "dot", so it can be a program name with args.
80783 set dummy dot; ac_word=$2
80784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80785 $as_echo_n "checking for $ac_word... " >&6; }
80786 if test "${ac_cv_prog_DOT+set}" = set; then :
80787 $as_echo_n "(cached) " >&6
80788 else
80789 if test -n "$DOT"; then
80790 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80791 else
80792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80793 for as_dir in $PATH
80795 IFS=$as_save_IFS
80796 test -z "$as_dir" && as_dir=.
80797 for ac_exec_ext in '' $ac_executable_extensions; do
80798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80799 ac_cv_prog_DOT="yes"
80800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80801 break 2
80803 done
80804 done
80805 IFS=$as_save_IFS
80807 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80810 DOT=$ac_cv_prog_DOT
80811 if test -n "$DOT"; then
80812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80813 $as_echo "$DOT" >&6; }
80814 else
80815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80816 $as_echo "no" >&6; }
80821 # Check for docbook
80822 # Extract the first word of "xsltproc", so it can be a program name with args.
80823 set dummy xsltproc; ac_word=$2
80824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80825 $as_echo_n "checking for $ac_word... " >&6; }
80826 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80827 $as_echo_n "(cached) " >&6
80828 else
80829 if test -n "$XSLTPROC"; then
80830 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80831 else
80832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80833 for as_dir in $PATH
80835 IFS=$as_save_IFS
80836 test -z "$as_dir" && as_dir=.
80837 for ac_exec_ext in '' $ac_executable_extensions; do
80838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80839 ac_cv_prog_XSLTPROC="yes"
80840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80841 break 2
80843 done
80844 done
80845 IFS=$as_save_IFS
80847 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80850 XSLTPROC=$ac_cv_prog_XSLTPROC
80851 if test -n "$XSLTPROC"; then
80852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80853 $as_echo "$XSLTPROC" >&6; }
80854 else
80855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80856 $as_echo "no" >&6; }
80860 # Extract the first word of "xmllint", so it can be a program name with args.
80861 set dummy xmllint; ac_word=$2
80862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80863 $as_echo_n "checking for $ac_word... " >&6; }
80864 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80865 $as_echo_n "(cached) " >&6
80866 else
80867 if test -n "$XMLLINT"; then
80868 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80869 else
80870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80871 for as_dir in $PATH
80873 IFS=$as_save_IFS
80874 test -z "$as_dir" && as_dir=.
80875 for ac_exec_ext in '' $ac_executable_extensions; do
80876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80877 ac_cv_prog_XMLLINT="yes"
80878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80879 break 2
80881 done
80882 done
80883 IFS=$as_save_IFS
80885 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80888 XMLLINT=$ac_cv_prog_XMLLINT
80889 if test -n "$XMLLINT"; then
80890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80891 $as_echo "$XMLLINT" >&6; }
80892 else
80893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80894 $as_echo "no" >&6; }
80900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80901 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80902 glibcxx_stylesheets=no
80903 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
80904 glibcxx_stylesheets=yes
80906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80907 $as_echo "$glibcxx_stylesheets" >&6; }
80909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80910 $as_echo_n "checking for local stylesheet directory... " >&6; }
80911 glibcxx_local_stylesheets=no
80912 if test x"$glibcxx_stylesheets" = x"yes"; then
80913 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80914 glibcxx_local_stylesheets=yes
80915 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80917 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80918 glibcxx_local_stylesheets=yes
80919 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80921 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80922 glibcxx_local_stylesheets=yes
80923 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80927 $as_echo "$glibcxx_local_stylesheets" >&6; }
80929 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80931 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80932 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80933 else
80934 glibcxx_stylesheets=no
80937 # Check for epub3 dependencies.
80938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80939 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80940 glibcxx_epub_stylesheets=no
80941 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80942 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80943 glibcxx_epub_stylesheets=yes
80946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80947 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80948 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80949 BUILD_EPUB_TRUE=
80950 BUILD_EPUB_FALSE='#'
80951 else
80952 BUILD_EPUB_TRUE='#'
80953 BUILD_EPUB_FALSE=
80959 # Check for xml/html dependencies.
80960 if test $ac_cv_prog_DOXYGEN = "yes" &&
80961 test $ac_cv_prog_DOT = "yes" &&
80962 test $ac_cv_prog_XSLTPROC = "yes" &&
80963 test $ac_cv_prog_XMLLINT = "yes" &&
80964 test $glibcxx_stylesheets = "yes"; then
80965 BUILD_XML_TRUE=
80966 BUILD_XML_FALSE='#'
80967 else
80968 BUILD_XML_TRUE='#'
80969 BUILD_XML_FALSE=
80973 if test $ac_cv_prog_DOXYGEN = "yes" &&
80974 test $ac_cv_prog_DOT = "yes" &&
80975 test $ac_cv_prog_XSLTPROC = "yes" &&
80976 test $ac_cv_prog_XMLLINT = "yes" &&
80977 test $glibcxx_stylesheets = "yes"; then
80978 BUILD_HTML_TRUE=
80979 BUILD_HTML_FALSE='#'
80980 else
80981 BUILD_HTML_TRUE='#'
80982 BUILD_HTML_FALSE=
80986 # Check for man dependencies.
80987 if test $ac_cv_prog_DOXYGEN = "yes" &&
80988 test $ac_cv_prog_DOT = "yes"; then
80989 BUILD_MAN_TRUE=
80990 BUILD_MAN_FALSE='#'
80991 else
80992 BUILD_MAN_TRUE='#'
80993 BUILD_MAN_FALSE=
80997 # Check for pdf dependencies.
80998 # Extract the first word of "dblatex", so it can be a program name with args.
80999 set dummy dblatex; ac_word=$2
81000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81001 $as_echo_n "checking for $ac_word... " >&6; }
81002 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81003 $as_echo_n "(cached) " >&6
81004 else
81005 if test -n "$DBLATEX"; then
81006 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81007 else
81008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81009 for as_dir in $PATH
81011 IFS=$as_save_IFS
81012 test -z "$as_dir" && as_dir=.
81013 for ac_exec_ext in '' $ac_executable_extensions; do
81014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81015 ac_cv_prog_DBLATEX="yes"
81016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81017 break 2
81019 done
81020 done
81021 IFS=$as_save_IFS
81023 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81026 DBLATEX=$ac_cv_prog_DBLATEX
81027 if test -n "$DBLATEX"; then
81028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81029 $as_echo "$DBLATEX" >&6; }
81030 else
81031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81032 $as_echo "no" >&6; }
81036 # Extract the first word of "pdflatex", so it can be a program name with args.
81037 set dummy pdflatex; ac_word=$2
81038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81039 $as_echo_n "checking for $ac_word... " >&6; }
81040 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81041 $as_echo_n "(cached) " >&6
81042 else
81043 if test -n "$PDFLATEX"; then
81044 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81045 else
81046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81047 for as_dir in $PATH
81049 IFS=$as_save_IFS
81050 test -z "$as_dir" && as_dir=.
81051 for ac_exec_ext in '' $ac_executable_extensions; do
81052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81053 ac_cv_prog_PDFLATEX="yes"
81054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81055 break 2
81057 done
81058 done
81059 IFS=$as_save_IFS
81061 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81064 PDFLATEX=$ac_cv_prog_PDFLATEX
81065 if test -n "$PDFLATEX"; then
81066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81067 $as_echo "$PDFLATEX" >&6; }
81068 else
81069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81070 $as_echo "no" >&6; }
81074 if test $ac_cv_prog_DBLATEX = "yes" &&
81075 test $ac_cv_prog_PDFLATEX = "yes"; then
81076 BUILD_PDF_TRUE=
81077 BUILD_PDF_FALSE='#'
81078 else
81079 BUILD_PDF_TRUE='#'
81080 BUILD_PDF_FALSE=
81084 case "$build" in
81085 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81086 * ) glibcxx_include_dir_notparallel=no ;;
81087 esac
81088 if test $glibcxx_include_dir_notparallel = "yes"; then
81089 INCLUDE_DIR_NOTPARALLEL_TRUE=
81090 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81091 else
81092 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81093 INCLUDE_DIR_NOTPARALLEL_FALSE=
81097 # Propagate the target-specific source directories through the build chain.
81098 ATOMICITY_SRCDIR=config/${atomicity_dir}
81099 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81100 ATOMIC_FLAGS=${atomic_flags}
81101 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81102 OS_INC_SRCDIR=config/${os_include_dir}
81103 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81104 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81105 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81106 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81118 # Add CET specific flags if Intel CET is enabled.
81119 # Check whether --enable-cet was given.
81120 if test "${enable_cet+set}" = set; then :
81121 enableval=$enable_cet;
81122 case "$enableval" in
81123 yes|no|default) ;;
81124 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81125 esac
81127 else
81128 enable_cet=default
81132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81133 $as_echo_n "checking for CET support... " >&6; }
81135 case "$host" in
81136 i[34567]86-*-linux* | x86_64-*-linux*)
81137 case "$enable_cet" in
81138 default)
81139 # Check if target supports multi-byte NOPs
81140 # and if assembler supports CET insn.
81141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81142 /* end confdefs.h. */
81145 main ()
81148 #if !defined(__SSE2__)
81149 #error target does not support multi-byte NOPs
81150 #else
81151 asm ("setssbsy");
81152 #endif
81155 return 0;
81157 _ACEOF
81158 if ac_fn_c_try_compile "$LINENO"; then :
81159 enable_cet=yes
81160 else
81161 enable_cet=no
81163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81165 yes)
81166 # Check if assembler supports CET.
81167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81168 /* end confdefs.h. */
81171 main ()
81173 asm ("setssbsy");
81175 return 0;
81177 _ACEOF
81178 if ac_fn_c_try_compile "$LINENO"; then :
81180 else
81181 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81185 esac
81188 enable_cet=no
81190 esac
81191 if test x$enable_cet = xyes; then
81192 CET_FLAGS="-fcf-protection -mcet"
81193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81194 $as_echo "yes" >&6; }
81195 else
81196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81197 $as_echo "no" >&6; }
81200 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81201 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81205 # Determine cross-compile flags and AM_CONDITIONALs.
81206 #AC_SUBST(GLIBCXX_IS_NATIVE)
81207 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81208 if test $is_hosted = yes; then
81209 GLIBCXX_HOSTED_TRUE=
81210 GLIBCXX_HOSTED_FALSE='#'
81211 else
81212 GLIBCXX_HOSTED_TRUE='#'
81213 GLIBCXX_HOSTED_FALSE=
81217 if test $enable_libstdcxx_pch = yes; then
81218 GLIBCXX_BUILD_PCH_TRUE=
81219 GLIBCXX_BUILD_PCH_FALSE='#'
81220 else
81221 GLIBCXX_BUILD_PCH_TRUE='#'
81222 GLIBCXX_BUILD_PCH_FALSE=
81226 if test $enable_libstdcxx_allocator_flag = new; then
81227 ENABLE_ALLOCATOR_NEW_TRUE=
81228 ENABLE_ALLOCATOR_NEW_FALSE='#'
81229 else
81230 ENABLE_ALLOCATOR_NEW_TRUE='#'
81231 ENABLE_ALLOCATOR_NEW_FALSE=
81235 if test $enable_cheaders = c; then
81236 GLIBCXX_C_HEADERS_C_TRUE=
81237 GLIBCXX_C_HEADERS_C_FALSE='#'
81238 else
81239 GLIBCXX_C_HEADERS_C_TRUE='#'
81240 GLIBCXX_C_HEADERS_C_FALSE=
81244 if test $enable_cheaders = c_std; then
81245 GLIBCXX_C_HEADERS_C_STD_TRUE=
81246 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81247 else
81248 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81249 GLIBCXX_C_HEADERS_C_STD_FALSE=
81253 if test $enable_cheaders = c_global; then
81254 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81255 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81256 else
81257 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81258 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81262 if test $c_compatibility = yes; then
81263 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81264 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81265 else
81266 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81267 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81271 if test $enable_libstdcxx_debug = yes; then
81272 GLIBCXX_BUILD_DEBUG_TRUE=
81273 GLIBCXX_BUILD_DEBUG_FALSE='#'
81274 else
81275 GLIBCXX_BUILD_DEBUG_TRUE='#'
81276 GLIBCXX_BUILD_DEBUG_FALSE=
81280 if test $enable_extern_template = yes; then
81281 ENABLE_EXTERN_TEMPLATE_TRUE=
81282 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81283 else
81284 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81285 ENABLE_EXTERN_TEMPLATE_FALSE=
81289 if test $python_mod_dir != no; then
81290 ENABLE_PYTHONDIR_TRUE=
81291 ENABLE_PYTHONDIR_FALSE='#'
81292 else
81293 ENABLE_PYTHONDIR_TRUE='#'
81294 ENABLE_PYTHONDIR_FALSE=
81298 if test $enable_werror = yes; then
81299 ENABLE_WERROR_TRUE=
81300 ENABLE_WERROR_FALSE='#'
81301 else
81302 ENABLE_WERROR_TRUE='#'
81303 ENABLE_WERROR_FALSE=
81307 if test $enable_vtable_verify = yes; then
81308 ENABLE_VTABLE_VERIFY_TRUE=
81309 ENABLE_VTABLE_VERIFY_FALSE='#'
81310 else
81311 ENABLE_VTABLE_VERIFY_TRUE='#'
81312 ENABLE_VTABLE_VERIFY_FALSE=
81316 if test $enable_symvers != no; then
81317 ENABLE_SYMVERS_TRUE=
81318 ENABLE_SYMVERS_FALSE='#'
81319 else
81320 ENABLE_SYMVERS_TRUE='#'
81321 ENABLE_SYMVERS_FALSE=
81325 if test $enable_symvers = gnu; then
81326 ENABLE_SYMVERS_GNU_TRUE=
81327 ENABLE_SYMVERS_GNU_FALSE='#'
81328 else
81329 ENABLE_SYMVERS_GNU_TRUE='#'
81330 ENABLE_SYMVERS_GNU_FALSE=
81334 if test $enable_symvers = gnu-versioned-namespace; then
81335 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81336 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81337 else
81338 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81339 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81343 if test $enable_symvers = darwin; then
81344 ENABLE_SYMVERS_DARWIN_TRUE=
81345 ENABLE_SYMVERS_DARWIN_FALSE='#'
81346 else
81347 ENABLE_SYMVERS_DARWIN_TRUE='#'
81348 ENABLE_SYMVERS_DARWIN_FALSE=
81352 if test $enable_symvers = sun; then
81353 ENABLE_SYMVERS_SUN_TRUE=
81354 ENABLE_SYMVERS_SUN_FALSE='#'
81355 else
81356 ENABLE_SYMVERS_SUN_TRUE='#'
81357 ENABLE_SYMVERS_SUN_FALSE=
81361 if test $enable_libstdcxx_visibility = yes; then
81362 ENABLE_VISIBILITY_TRUE=
81363 ENABLE_VISIBILITY_FALSE='#'
81364 else
81365 ENABLE_VISIBILITY_TRUE='#'
81366 ENABLE_VISIBILITY_FALSE=
81370 if test $enable_libstdcxx_dual_abi = yes; then
81371 ENABLE_DUAL_ABI_TRUE=
81372 ENABLE_DUAL_ABI_FALSE='#'
81373 else
81374 ENABLE_DUAL_ABI_TRUE='#'
81375 ENABLE_DUAL_ABI_FALSE=
81379 if test $glibcxx_cxx11_abi = 1; then
81380 ENABLE_CXX11_ABI_TRUE=
81381 ENABLE_CXX11_ABI_FALSE='#'
81382 else
81383 ENABLE_CXX11_ABI_TRUE='#'
81384 ENABLE_CXX11_ABI_FALSE=
81388 if test $ac_ldbl_compat = yes; then
81389 GLIBCXX_LDBL_COMPAT_TRUE=
81390 GLIBCXX_LDBL_COMPAT_FALSE='#'
81391 else
81392 GLIBCXX_LDBL_COMPAT_TRUE='#'
81393 GLIBCXX_LDBL_COMPAT_FALSE=
81397 if test $enable_libstdcxx_filesystem_ts = yes; then
81398 ENABLE_FILESYSTEM_TS_TRUE=
81399 ENABLE_FILESYSTEM_TS_FALSE='#'
81400 else
81401 ENABLE_FILESYSTEM_TS_TRUE='#'
81402 ENABLE_FILESYSTEM_TS_FALSE=
81408 cat >confcache <<\_ACEOF
81409 # This file is a shell script that caches the results of configure
81410 # tests run on this system so they can be shared between configure
81411 # scripts and configure runs, see configure's option --config-cache.
81412 # It is not useful on other systems. If it contains results you don't
81413 # want to keep, you may remove or edit it.
81415 # config.status only pays attention to the cache file if you give it
81416 # the --recheck option to rerun configure.
81418 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81419 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81420 # following values.
81422 _ACEOF
81424 # The following way of writing the cache mishandles newlines in values,
81425 # but we know of no workaround that is simple, portable, and efficient.
81426 # So, we kill variables containing newlines.
81427 # Ultrix sh set writes to stderr and can't be redirected directly,
81428 # and sets the high bit in the cache file unless we assign to the vars.
81430 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81431 eval ac_val=\$$ac_var
81432 case $ac_val in #(
81433 *${as_nl}*)
81434 case $ac_var in #(
81435 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81436 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81437 esac
81438 case $ac_var in #(
81439 _ | IFS | as_nl) ;; #(
81440 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81441 *) { eval $ac_var=; unset $ac_var;} ;;
81442 esac ;;
81443 esac
81444 done
81446 (set) 2>&1 |
81447 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81448 *${as_nl}ac_space=\ *)
81449 # `set' does not quote correctly, so add quotes: double-quote
81450 # substitution turns \\\\ into \\, and sed turns \\ into \.
81451 sed -n \
81452 "s/'/'\\\\''/g;
81453 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81454 ;; #(
81456 # `set' quotes correctly as required by POSIX, so do not add quotes.
81457 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81459 esac |
81460 sort
81462 sed '
81463 /^ac_cv_env_/b end
81464 t clear
81465 :clear
81466 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81467 t end
81468 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81469 :end' >>confcache
81470 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81471 if test -w "$cache_file"; then
81472 test "x$cache_file" != "x/dev/null" &&
81473 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81474 $as_echo "$as_me: updating cache $cache_file" >&6;}
81475 cat confcache >$cache_file
81476 else
81477 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81478 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81481 rm -f confcache
81483 if test ${multilib} = yes; then
81484 multilib_arg="--enable-multilib"
81485 else
81486 multilib_arg=
81489 # Export all the install information.
81491 glibcxx_toolexecdir=no
81492 glibcxx_toolexeclibdir=no
81493 glibcxx_prefixdir=$prefix
81495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81496 $as_echo_n "checking for gxx-include-dir... " >&6; }
81498 # Check whether --with-gxx-include-dir was given.
81499 if test "${with_gxx_include_dir+set}" = set; then :
81500 withval=$with_gxx_include_dir; case "$withval" in
81501 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81502 no) gxx_include_dir=no ;;
81503 *) gxx_include_dir=$withval ;;
81504 esac
81505 else
81506 gxx_include_dir=no
81509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81510 $as_echo "$gxx_include_dir" >&6; }
81512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81513 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81514 # Check whether --enable-version-specific-runtime-libs was given.
81515 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81516 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81517 yes) version_specific_libs=yes ;;
81518 no) version_specific_libs=no ;;
81519 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81520 esac
81521 else
81522 version_specific_libs=no
81525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81526 $as_echo "$version_specific_libs" >&6; }
81528 # Default case for install directory for include files.
81529 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81530 gxx_include_dir='include/c++/${gcc_version}'
81531 if test -n "$with_cross_host" &&
81532 test x"$with_cross_host" != x"no"; then
81533 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81534 else
81535 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81539 # Version-specific runtime libs processing.
81540 if test $version_specific_libs = yes; then
81541 # Need the gcc compiler version to know where to install libraries
81542 # and header files if --enable-version-specific-runtime-libs option
81543 # is selected. FIXME: these variables are misnamed, there are
81544 # no executables installed in _toolexecdir or _toolexeclibdir.
81545 if test x"$gxx_include_dir" = x"no"; then
81546 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81548 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81549 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81552 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81553 # Install a library built with a cross compiler in tooldir, not libdir.
81554 if test x"$glibcxx_toolexecdir" = x"no"; then
81555 if test -n "$with_cross_host" &&
81556 test x"$with_cross_host" != x"no"; then
81557 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81558 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81559 else
81560 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81561 glibcxx_toolexeclibdir='${libdir}'
81563 multi_os_directory=`$CXX -print-multi-os-directory`
81564 case $multi_os_directory in
81565 .) ;; # Avoid trailing /.
81566 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81567 esac
81570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81571 $as_echo_n "checking for install location... " >&6; }
81572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81573 $as_echo "$gxx_include_dir" >&6; }
81581 # Export all the include and flag information to Makefiles.
81583 # Used for every C++ compile we perform.
81584 GLIBCXX_INCLUDES="\
81585 -I$glibcxx_builddir/include/$host_alias \
81586 -I$glibcxx_builddir/include \
81587 -I$glibcxx_srcdir/libsupc++"
81589 # For Canadian crosses, pick this up too.
81590 if test $CANADIAN = yes; then
81591 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81594 # Stuff in the actual top level. Currently only used by libsupc++ to
81595 # get unwind* headers from the libgcc dir.
81596 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81597 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81599 # Now, export this to all the little Makefiles....
81604 # Optimization flags that are probably a good idea for thrill-seekers. Just
81605 # uncomment the lines below and make, everything else is ready to go...
81606 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81607 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81610 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81614 # Determine what GCC version number to use in filesystem paths.
81616 get_gcc_base_ver="cat"
81618 # Check whether --with-gcc-major-version-only was given.
81619 if test "${with_gcc_major_version_only+set}" = set; then :
81620 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81621 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
81629 ac_config_files="$ac_config_files Makefile"
81631 ac_config_files="$ac_config_files scripts/testsuite_flags"
81633 ac_config_files="$ac_config_files scripts/extract_symvers"
81635 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81638 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81639 # that multilib installs will end up installed in the correct place.
81640 # The testsuite needs it for multilib-aware ABI baseline files.
81641 # To work around this not being passed down from config-ml.in ->
81642 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81643 # append it here. Only modify Makefiles that have just been created.
81645 # Also, get rid of this simulated-VPATH thing that automake does.
81646 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81649 ac_config_commands="$ac_config_commands generate-headers"
81652 cat >confcache <<\_ACEOF
81653 # This file is a shell script that caches the results of configure
81654 # tests run on this system so they can be shared between configure
81655 # scripts and configure runs, see configure's option --config-cache.
81656 # It is not useful on other systems. If it contains results you don't
81657 # want to keep, you may remove or edit it.
81659 # config.status only pays attention to the cache file if you give it
81660 # the --recheck option to rerun configure.
81662 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81663 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81664 # following values.
81666 _ACEOF
81668 # The following way of writing the cache mishandles newlines in values,
81669 # but we know of no workaround that is simple, portable, and efficient.
81670 # So, we kill variables containing newlines.
81671 # Ultrix sh set writes to stderr and can't be redirected directly,
81672 # and sets the high bit in the cache file unless we assign to the vars.
81674 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81675 eval ac_val=\$$ac_var
81676 case $ac_val in #(
81677 *${as_nl}*)
81678 case $ac_var in #(
81679 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81680 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81681 esac
81682 case $ac_var in #(
81683 _ | IFS | as_nl) ;; #(
81684 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81685 *) { eval $ac_var=; unset $ac_var;} ;;
81686 esac ;;
81687 esac
81688 done
81690 (set) 2>&1 |
81691 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81692 *${as_nl}ac_space=\ *)
81693 # `set' does not quote correctly, so add quotes: double-quote
81694 # substitution turns \\\\ into \\, and sed turns \\ into \.
81695 sed -n \
81696 "s/'/'\\\\''/g;
81697 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81698 ;; #(
81700 # `set' quotes correctly as required by POSIX, so do not add quotes.
81701 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81703 esac |
81704 sort
81706 sed '
81707 /^ac_cv_env_/b end
81708 t clear
81709 :clear
81710 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81711 t end
81712 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81713 :end' >>confcache
81714 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81715 if test -w "$cache_file"; then
81716 test "x$cache_file" != "x/dev/null" &&
81717 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81718 $as_echo "$as_me: updating cache $cache_file" >&6;}
81719 cat confcache >$cache_file
81720 else
81721 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81722 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81725 rm -f confcache
81727 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81728 # Let make expand exec_prefix.
81729 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81731 DEFS=-DHAVE_CONFIG_H
81733 ac_libobjs=
81734 ac_ltlibobjs=
81735 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81736 # 1. Remove the extension, and $U if already installed.
81737 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81738 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81739 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81740 # will be set to the directory where LIBOBJS objects are built.
81741 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81742 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81743 done
81744 LIBOBJS=$ac_libobjs
81746 LTLIBOBJS=$ac_ltlibobjs
81749 if test -n "$EXEEXT"; then
81750 am__EXEEXT_TRUE=
81751 am__EXEEXT_FALSE='#'
81752 else
81753 am__EXEEXT_TRUE='#'
81754 am__EXEEXT_FALSE=
81757 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81758 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81761 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81762 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81765 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81766 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81769 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81770 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81773 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81774 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81777 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81778 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81781 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81782 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81785 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81786 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81789 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81790 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81793 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81794 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81797 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81798 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81801 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81802 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81805 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81806 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81809 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81810 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81813 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81814 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81817 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81818 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81821 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81822 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81825 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81826 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81829 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81830 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81833 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81834 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81837 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81838 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81841 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81842 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81845 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81846 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81849 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81850 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81853 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81854 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81857 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81858 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81861 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81862 as_fn_error "conditional \"BUILD_XML\" was never defined.
81863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81865 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81866 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81869 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81870 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81873 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81874 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81877 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
81878 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
81879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81882 : ${CONFIG_STATUS=./config.status}
81883 ac_write_fail=0
81884 ac_clean_files_save=$ac_clean_files
81885 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81886 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81887 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81888 as_write_fail=0
81889 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81890 #! $SHELL
81891 # Generated by $as_me.
81892 # Run this file to recreate the current configuration.
81893 # Compiler output produced by configure, useful for debugging
81894 # configure, is in config.log if it exists.
81896 debug=false
81897 ac_cs_recheck=false
81898 ac_cs_silent=false
81900 SHELL=\${CONFIG_SHELL-$SHELL}
81901 export SHELL
81902 _ASEOF
81903 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81904 ## -------------------- ##
81905 ## M4sh Initialization. ##
81906 ## -------------------- ##
81908 # Be more Bourne compatible
81909 DUALCASE=1; export DUALCASE # for MKS sh
81910 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81911 emulate sh
81912 NULLCMD=:
81913 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81914 # is contrary to our usage. Disable this feature.
81915 alias -g '${1+"$@"}'='"$@"'
81916 setopt NO_GLOB_SUBST
81917 else
81918 case `(set -o) 2>/dev/null` in #(
81919 *posix*) :
81920 set -o posix ;; #(
81921 *) :
81923 esac
81927 as_nl='
81929 export as_nl
81930 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81931 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81932 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81933 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81934 # Prefer a ksh shell builtin over an external printf program on Solaris,
81935 # but without wasting forks for bash or zsh.
81936 if test -z "$BASH_VERSION$ZSH_VERSION" \
81937 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81938 as_echo='print -r --'
81939 as_echo_n='print -rn --'
81940 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81941 as_echo='printf %s\n'
81942 as_echo_n='printf %s'
81943 else
81944 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81945 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81946 as_echo_n='/usr/ucb/echo -n'
81947 else
81948 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81949 as_echo_n_body='eval
81950 arg=$1;
81951 case $arg in #(
81952 *"$as_nl"*)
81953 expr "X$arg" : "X\\(.*\\)$as_nl";
81954 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81955 esac;
81956 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81958 export as_echo_n_body
81959 as_echo_n='sh -c $as_echo_n_body as_echo'
81961 export as_echo_body
81962 as_echo='sh -c $as_echo_body as_echo'
81965 # The user is always right.
81966 if test "${PATH_SEPARATOR+set}" != set; then
81967 PATH_SEPARATOR=:
81968 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81969 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81970 PATH_SEPARATOR=';'
81975 # IFS
81976 # We need space, tab and new line, in precisely that order. Quoting is
81977 # there to prevent editors from complaining about space-tab.
81978 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81979 # splitting by setting IFS to empty value.)
81980 IFS=" "" $as_nl"
81982 # Find who we are. Look in the path if we contain no directory separator.
81983 case $0 in #((
81984 *[\\/]* ) as_myself=$0 ;;
81985 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81986 for as_dir in $PATH
81988 IFS=$as_save_IFS
81989 test -z "$as_dir" && as_dir=.
81990 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81991 done
81992 IFS=$as_save_IFS
81995 esac
81996 # We did not find ourselves, most probably we were run as `sh COMMAND'
81997 # in which case we are not to be found in the path.
81998 if test "x$as_myself" = x; then
81999 as_myself=$0
82001 if test ! -f "$as_myself"; then
82002 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82003 exit 1
82006 # Unset variables that we do not need and which cause bugs (e.g. in
82007 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82008 # suppresses any "Segmentation fault" message there. '((' could
82009 # trigger a bug in pdksh 5.2.14.
82010 for as_var in BASH_ENV ENV MAIL MAILPATH
82011 do eval test x\${$as_var+set} = xset \
82012 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82013 done
82014 PS1='$ '
82015 PS2='> '
82016 PS4='+ '
82018 # NLS nuisances.
82019 LC_ALL=C
82020 export LC_ALL
82021 LANGUAGE=C
82022 export LANGUAGE
82024 # CDPATH.
82025 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82028 # as_fn_error ERROR [LINENO LOG_FD]
82029 # ---------------------------------
82030 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82031 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82032 # script with status $?, using 1 if that was 0.
82033 as_fn_error ()
82035 as_status=$?; test $as_status -eq 0 && as_status=1
82036 if test "$3"; then
82037 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82038 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82040 $as_echo "$as_me: error: $1" >&2
82041 as_fn_exit $as_status
82042 } # as_fn_error
82045 # as_fn_set_status STATUS
82046 # -----------------------
82047 # Set $? to STATUS, without forking.
82048 as_fn_set_status ()
82050 return $1
82051 } # as_fn_set_status
82053 # as_fn_exit STATUS
82054 # -----------------
82055 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82056 as_fn_exit ()
82058 set +e
82059 as_fn_set_status $1
82060 exit $1
82061 } # as_fn_exit
82063 # as_fn_unset VAR
82064 # ---------------
82065 # Portably unset VAR.
82066 as_fn_unset ()
82068 { eval $1=; unset $1;}
82070 as_unset=as_fn_unset
82071 # as_fn_append VAR VALUE
82072 # ----------------------
82073 # Append the text in VALUE to the end of the definition contained in VAR. Take
82074 # advantage of any shell optimizations that allow amortized linear growth over
82075 # repeated appends, instead of the typical quadratic growth present in naive
82076 # implementations.
82077 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82078 eval 'as_fn_append ()
82080 eval $1+=\$2
82082 else
82083 as_fn_append ()
82085 eval $1=\$$1\$2
82087 fi # as_fn_append
82089 # as_fn_arith ARG...
82090 # ------------------
82091 # Perform arithmetic evaluation on the ARGs, and store the result in the
82092 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82093 # must be portable across $(()) and expr.
82094 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82095 eval 'as_fn_arith ()
82097 as_val=$(( $* ))
82099 else
82100 as_fn_arith ()
82102 as_val=`expr "$@" || test $? -eq 1`
82104 fi # as_fn_arith
82107 if expr a : '\(a\)' >/dev/null 2>&1 &&
82108 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82109 as_expr=expr
82110 else
82111 as_expr=false
82114 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82115 as_basename=basename
82116 else
82117 as_basename=false
82120 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82121 as_dirname=dirname
82122 else
82123 as_dirname=false
82126 as_me=`$as_basename -- "$0" ||
82127 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82128 X"$0" : 'X\(//\)$' \| \
82129 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82130 $as_echo X/"$0" |
82131 sed '/^.*\/\([^/][^/]*\)\/*$/{
82132 s//\1/
82135 /^X\/\(\/\/\)$/{
82136 s//\1/
82139 /^X\/\(\/\).*/{
82140 s//\1/
82143 s/.*/./; q'`
82145 # Avoid depending upon Character Ranges.
82146 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82147 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82148 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82149 as_cr_digits='0123456789'
82150 as_cr_alnum=$as_cr_Letters$as_cr_digits
82152 ECHO_C= ECHO_N= ECHO_T=
82153 case `echo -n x` in #(((((
82154 -n*)
82155 case `echo 'xy\c'` in
82156 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82157 xy) ECHO_C='\c';;
82158 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82159 ECHO_T=' ';;
82160 esac;;
82162 ECHO_N='-n';;
82163 esac
82165 rm -f conf$$ conf$$.exe conf$$.file
82166 if test -d conf$$.dir; then
82167 rm -f conf$$.dir/conf$$.file
82168 else
82169 rm -f conf$$.dir
82170 mkdir conf$$.dir 2>/dev/null
82172 if (echo >conf$$.file) 2>/dev/null; then
82173 if ln -s conf$$.file conf$$ 2>/dev/null; then
82174 as_ln_s='ln -s'
82175 # ... but there are two gotchas:
82176 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82177 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82178 # In both cases, we have to default to `cp -p'.
82179 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82180 as_ln_s='cp -p'
82181 elif ln conf$$.file conf$$ 2>/dev/null; then
82182 as_ln_s=ln
82183 else
82184 as_ln_s='cp -p'
82186 else
82187 as_ln_s='cp -p'
82189 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82190 rmdir conf$$.dir 2>/dev/null
82193 # as_fn_mkdir_p
82194 # -------------
82195 # Create "$as_dir" as a directory, including parents if necessary.
82196 as_fn_mkdir_p ()
82199 case $as_dir in #(
82200 -*) as_dir=./$as_dir;;
82201 esac
82202 test -d "$as_dir" || eval $as_mkdir_p || {
82203 as_dirs=
82204 while :; do
82205 case $as_dir in #(
82206 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82207 *) as_qdir=$as_dir;;
82208 esac
82209 as_dirs="'$as_qdir' $as_dirs"
82210 as_dir=`$as_dirname -- "$as_dir" ||
82211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82212 X"$as_dir" : 'X\(//\)[^/]' \| \
82213 X"$as_dir" : 'X\(//\)$' \| \
82214 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82215 $as_echo X"$as_dir" |
82216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82217 s//\1/
82220 /^X\(\/\/\)[^/].*/{
82221 s//\1/
82224 /^X\(\/\/\)$/{
82225 s//\1/
82228 /^X\(\/\).*/{
82229 s//\1/
82232 s/.*/./; q'`
82233 test -d "$as_dir" && break
82234 done
82235 test -z "$as_dirs" || eval "mkdir $as_dirs"
82236 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82239 } # as_fn_mkdir_p
82240 if mkdir -p . 2>/dev/null; then
82241 as_mkdir_p='mkdir -p "$as_dir"'
82242 else
82243 test -d ./-p && rmdir ./-p
82244 as_mkdir_p=false
82247 if test -x / >/dev/null 2>&1; then
82248 as_test_x='test -x'
82249 else
82250 if ls -dL / >/dev/null 2>&1; then
82251 as_ls_L_option=L
82252 else
82253 as_ls_L_option=
82255 as_test_x='
82256 eval sh -c '\''
82257 if test -d "$1"; then
82258 test -d "$1/.";
82259 else
82260 case $1 in #(
82261 -*)set "./$1";;
82262 esac;
82263 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82264 ???[sx]*):;;*)false;;esac;fi
82265 '\'' sh
82268 as_executable_p=$as_test_x
82270 # Sed expression to map a string onto a valid CPP name.
82271 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82273 # Sed expression to map a string onto a valid variable name.
82274 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82277 exec 6>&1
82278 ## ----------------------------------- ##
82279 ## Main body of $CONFIG_STATUS script. ##
82280 ## ----------------------------------- ##
82281 _ASEOF
82282 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82285 # Save the log message, to keep $0 and so on meaningful, and to
82286 # report actual input values of CONFIG_FILES etc. instead of their
82287 # values after options handling.
82288 ac_log="
82289 This file was extended by package-unused $as_me version-unused, which was
82290 generated by GNU Autoconf 2.64. Invocation command line was
82292 CONFIG_FILES = $CONFIG_FILES
82293 CONFIG_HEADERS = $CONFIG_HEADERS
82294 CONFIG_LINKS = $CONFIG_LINKS
82295 CONFIG_COMMANDS = $CONFIG_COMMANDS
82296 $ $0 $@
82298 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82301 _ACEOF
82303 case $ac_config_files in *"
82304 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82305 esac
82307 case $ac_config_headers in *"
82308 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82309 esac
82312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82313 # Files that config.status was made for.
82314 config_files="$ac_config_files"
82315 config_headers="$ac_config_headers"
82316 config_commands="$ac_config_commands"
82318 _ACEOF
82320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82321 ac_cs_usage="\
82322 \`$as_me' instantiates files and other configuration actions
82323 from templates according to the current configuration. Unless the files
82324 and actions are specified as TAGs, all are instantiated by default.
82326 Usage: $0 [OPTION]... [TAG]...
82328 -h, --help print this help, then exit
82329 -V, --version print version number and configuration settings, then exit
82330 -q, --quiet, --silent
82331 do not print progress messages
82332 -d, --debug don't remove temporary files
82333 --recheck update $as_me by reconfiguring in the same conditions
82334 --file=FILE[:TEMPLATE]
82335 instantiate the configuration file FILE
82336 --header=FILE[:TEMPLATE]
82337 instantiate the configuration header FILE
82339 Configuration files:
82340 $config_files
82342 Configuration headers:
82343 $config_headers
82345 Configuration commands:
82346 $config_commands
82348 Report bugs to the package provider."
82350 _ACEOF
82351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82352 ac_cs_version="\\
82353 package-unused config.status version-unused
82354 configured by $0, generated by GNU Autoconf 2.64,
82355 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82357 Copyright (C) 2009 Free Software Foundation, Inc.
82358 This config.status script is free software; the Free Software Foundation
82359 gives unlimited permission to copy, distribute and modify it."
82361 ac_pwd='$ac_pwd'
82362 srcdir='$srcdir'
82363 INSTALL='$INSTALL'
82364 MKDIR_P='$MKDIR_P'
82365 AWK='$AWK'
82366 test -n "\$AWK" || AWK=awk
82367 _ACEOF
82369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82370 # The default lists apply if the user does not specify any file.
82371 ac_need_defaults=:
82372 while test $# != 0
82374 case $1 in
82375 --*=*)
82376 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82377 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82378 ac_shift=:
82381 ac_option=$1
82382 ac_optarg=$2
82383 ac_shift=shift
82385 esac
82387 case $ac_option in
82388 # Handling of the options.
82389 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82390 ac_cs_recheck=: ;;
82391 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82392 $as_echo "$ac_cs_version"; exit ;;
82393 --debug | --debu | --deb | --de | --d | -d )
82394 debug=: ;;
82395 --file | --fil | --fi | --f )
82396 $ac_shift
82397 case $ac_optarg in
82398 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82399 esac
82400 as_fn_append CONFIG_FILES " '$ac_optarg'"
82401 ac_need_defaults=false;;
82402 --header | --heade | --head | --hea )
82403 $ac_shift
82404 case $ac_optarg in
82405 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82406 esac
82407 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82408 ac_need_defaults=false;;
82409 --he | --h)
82410 # Conflict between --help and --header
82411 as_fn_error "ambiguous option: \`$1'
82412 Try \`$0 --help' for more information.";;
82413 --help | --hel | -h )
82414 $as_echo "$ac_cs_usage"; exit ;;
82415 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82416 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82417 ac_cs_silent=: ;;
82419 # This is an error.
82420 -*) as_fn_error "unrecognized option: \`$1'
82421 Try \`$0 --help' for more information." ;;
82423 *) as_fn_append ac_config_targets " $1"
82424 ac_need_defaults=false ;;
82426 esac
82427 shift
82428 done
82430 ac_configure_extra_args=
82432 if $ac_cs_silent; then
82433 exec 6>/dev/null
82434 ac_configure_extra_args="$ac_configure_extra_args --silent"
82437 _ACEOF
82438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82439 if \$ac_cs_recheck; then
82440 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82441 shift
82442 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82443 CONFIG_SHELL='$SHELL'
82444 export CONFIG_SHELL
82445 exec "\$@"
82448 _ACEOF
82449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82450 exec 5>>config.log
82452 echo
82453 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82454 ## Running $as_me. ##
82455 _ASBOX
82456 $as_echo "$ac_log"
82457 } >&5
82459 _ACEOF
82460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82462 # INIT-COMMANDS
82465 srcdir="$srcdir"
82466 host="$host"
82467 target="$target"
82468 with_multisubdir="$with_multisubdir"
82469 with_multisrctop="$with_multisrctop"
82470 with_target_subdir="$with_target_subdir"
82471 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82472 multi_basedir="$multi_basedir"
82473 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82474 CC="$CC"
82475 CXX="$CXX"
82476 GFORTRAN="$GFORTRAN"
82479 # The HP-UX ksh and POSIX shell print the target directory to stdout
82480 # if CDPATH is set.
82481 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82483 sed_quote_subst='$sed_quote_subst'
82484 double_quote_subst='$double_quote_subst'
82485 delay_variable_subst='$delay_variable_subst'
82486 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82487 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82488 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82489 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82490 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82491 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82492 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82493 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82494 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82495 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82496 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82497 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82498 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82499 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82500 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82501 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82502 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82503 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82504 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82505 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82506 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82507 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82508 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82509 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82510 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82511 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82512 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82513 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82514 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82515 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82516 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82517 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82518 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82519 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82520 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82521 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82522 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82523 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82524 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82525 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82526 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82527 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82528 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82529 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82530 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82531 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82532 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82533 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82534 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"`'
82535 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82536 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82537 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82538 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82539 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82540 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82541 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82542 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82543 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82544 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82545 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82546 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82547 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82548 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82549 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82550 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82551 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82552 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82553 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82554 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82555 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82556 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82557 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82558 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82559 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82560 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82561 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82562 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82563 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82564 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82565 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82566 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82567 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82568 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82569 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82570 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82571 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82572 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82573 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82574 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82575 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82576 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82577 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82578 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82579 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82580 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82581 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82582 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82583 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82584 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82585 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82586 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82587 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82588 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82589 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82590 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82591 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82592 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82593 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82594 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82595 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82596 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82597 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82598 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82599 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82600 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82601 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82602 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82603 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82604 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82605 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82606 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82607 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82608 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82609 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82610 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82611 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82612 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82613 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82614 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82615 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82616 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82617 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82618 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82619 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82620 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82621 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82622 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82623 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82624 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82625 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82626 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82627 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82628 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82629 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82630 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82631 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82632 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82633 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82634 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82635 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82636 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82637 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82638 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82639 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82640 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82641 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82642 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82643 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82644 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82645 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82646 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82647 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82648 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82649 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82650 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82651 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82652 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82653 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82654 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82655 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82656 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82657 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82658 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82659 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82660 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82662 LTCC='$LTCC'
82663 LTCFLAGS='$LTCFLAGS'
82664 compiler='$compiler_DEFAULT'
82666 # A function that is used when there is no print builtin or printf.
82667 func_fallback_echo ()
82669 eval 'cat <<_LTECHO_EOF
82671 _LTECHO_EOF'
82674 # Quote evaled strings.
82675 for var in SHELL \
82676 ECHO \
82677 SED \
82678 GREP \
82679 EGREP \
82680 FGREP \
82681 LD \
82682 NM \
82683 LN_S \
82684 lt_SP2NL \
82685 lt_NL2SP \
82686 reload_flag \
82687 OBJDUMP \
82688 deplibs_check_method \
82689 file_magic_cmd \
82690 AR \
82691 AR_FLAGS \
82692 STRIP \
82693 RANLIB \
82694 CC \
82695 CFLAGS \
82696 compiler \
82697 lt_cv_sys_global_symbol_pipe \
82698 lt_cv_sys_global_symbol_to_cdecl \
82699 lt_cv_sys_global_symbol_to_c_name_address \
82700 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82701 lt_prog_compiler_no_builtin_flag \
82702 lt_prog_compiler_wl \
82703 lt_prog_compiler_pic \
82704 lt_prog_compiler_static \
82705 lt_cv_prog_compiler_c_o \
82706 need_locks \
82707 DSYMUTIL \
82708 NMEDIT \
82709 LIPO \
82710 OTOOL \
82711 OTOOL64 \
82712 shrext_cmds \
82713 export_dynamic_flag_spec \
82714 whole_archive_flag_spec \
82715 compiler_needs_object \
82716 with_gnu_ld \
82717 allow_undefined_flag \
82718 no_undefined_flag \
82719 hardcode_libdir_flag_spec \
82720 hardcode_libdir_flag_spec_ld \
82721 hardcode_libdir_separator \
82722 fix_srcfile_path \
82723 exclude_expsyms \
82724 include_expsyms \
82725 file_list_spec \
82726 variables_saved_for_relink \
82727 libname_spec \
82728 library_names_spec \
82729 soname_spec \
82730 install_override_mode \
82731 finish_eval \
82732 old_striplib \
82733 striplib \
82734 compiler_lib_search_dirs \
82735 predep_objects \
82736 postdep_objects \
82737 predeps \
82738 postdeps \
82739 compiler_lib_search_path \
82740 LD_CXX \
82741 reload_flag_CXX \
82742 compiler_CXX \
82743 lt_prog_compiler_no_builtin_flag_CXX \
82744 lt_prog_compiler_wl_CXX \
82745 lt_prog_compiler_pic_CXX \
82746 lt_prog_compiler_static_CXX \
82747 lt_cv_prog_compiler_c_o_CXX \
82748 export_dynamic_flag_spec_CXX \
82749 whole_archive_flag_spec_CXX \
82750 compiler_needs_object_CXX \
82751 with_gnu_ld_CXX \
82752 allow_undefined_flag_CXX \
82753 no_undefined_flag_CXX \
82754 hardcode_libdir_flag_spec_CXX \
82755 hardcode_libdir_flag_spec_ld_CXX \
82756 hardcode_libdir_separator_CXX \
82757 fix_srcfile_path_CXX \
82758 exclude_expsyms_CXX \
82759 include_expsyms_CXX \
82760 file_list_spec_CXX \
82761 compiler_lib_search_dirs_CXX \
82762 predep_objects_CXX \
82763 postdep_objects_CXX \
82764 predeps_CXX \
82765 postdeps_CXX \
82766 compiler_lib_search_path_CXX; do
82767 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82768 *[\\\\\\\`\\"\\\$]*)
82769 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82772 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82774 esac
82775 done
82777 # Double-quote double-evaled strings.
82778 for var in reload_cmds \
82779 old_postinstall_cmds \
82780 old_postuninstall_cmds \
82781 old_archive_cmds \
82782 extract_expsyms_cmds \
82783 old_archive_from_new_cmds \
82784 old_archive_from_expsyms_cmds \
82785 archive_cmds \
82786 archive_expsym_cmds \
82787 module_cmds \
82788 module_expsym_cmds \
82789 export_symbols_cmds \
82790 prelink_cmds \
82791 postinstall_cmds \
82792 postuninstall_cmds \
82793 finish_cmds \
82794 sys_lib_search_path_spec \
82795 sys_lib_dlsearch_path_spec \
82796 reload_cmds_CXX \
82797 old_archive_cmds_CXX \
82798 old_archive_from_new_cmds_CXX \
82799 old_archive_from_expsyms_cmds_CXX \
82800 archive_cmds_CXX \
82801 archive_expsym_cmds_CXX \
82802 module_cmds_CXX \
82803 module_expsym_cmds_CXX \
82804 export_symbols_cmds_CXX \
82805 prelink_cmds_CXX; do
82806 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82807 *[\\\\\\\`\\"\\\$]*)
82808 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82811 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82813 esac
82814 done
82816 ac_aux_dir='$ac_aux_dir'
82817 xsi_shell='$xsi_shell'
82818 lt_shell_append='$lt_shell_append'
82820 # See if we are running on zsh, and set the options which allow our
82821 # commands through without removal of \ escapes INIT.
82822 if test -n "\${ZSH_VERSION+set}" ; then
82823 setopt NO_GLOB_SUBST
82827 PACKAGE='$PACKAGE'
82828 VERSION='$VERSION'
82829 TIMESTAMP='$TIMESTAMP'
82830 RM='$RM'
82831 ofile='$ofile'
82838 GCC="$GCC"
82839 CC="$CC"
82840 acx_cv_header_stdint="$acx_cv_header_stdint"
82841 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82842 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82843 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82844 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82845 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82846 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82847 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82848 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82849 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82850 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82851 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82852 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82853 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82856 _ACEOF
82858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82860 # Handling of arguments.
82861 for ac_config_target in $ac_config_targets
82863 case $ac_config_target in
82864 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82865 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82866 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82867 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82868 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82869 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82870 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82871 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82872 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82873 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82874 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82875 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82876 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82877 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82878 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82879 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82880 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82881 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82882 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82884 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82885 esac
82886 done
82889 # If the user did not use the arguments to specify the items to instantiate,
82890 # then the envvar interface is used. Set only those that are not.
82891 # We use the long form for the default assignment because of an extremely
82892 # bizarre bug on SunOS 4.1.3.
82893 if $ac_need_defaults; then
82894 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82895 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82896 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82899 # Have a temporary directory for convenience. Make it in the build tree
82900 # simply because there is no reason against having it here, and in addition,
82901 # creating and moving files from /tmp can sometimes cause problems.
82902 # Hook for its removal unless debugging.
82903 # Note that there is a small window in which the directory will not be cleaned:
82904 # after its creation but before its name has been assigned to `$tmp'.
82905 $debug ||
82907 tmp=
82908 trap 'exit_status=$?
82909 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82911 trap 'as_fn_exit 1' 1 2 13 15
82913 # Create a (secure) tmp directory for tmp files.
82916 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82917 test -n "$tmp" && test -d "$tmp"
82918 } ||
82920 tmp=./conf$$-$RANDOM
82921 (umask 077 && mkdir "$tmp")
82922 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82924 # Set up the scripts for CONFIG_FILES section.
82925 # No need to generate them if there are no CONFIG_FILES.
82926 # This happens for instance with `./config.status config.h'.
82927 if test -n "$CONFIG_FILES"; then
82930 ac_cr=`echo X | tr X '\015'`
82931 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82932 # But we know of no other shell where ac_cr would be empty at this
82933 # point, so we can use a bashism as a fallback.
82934 if test "x$ac_cr" = x; then
82935 eval ac_cr=\$\'\\r\'
82937 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82938 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82939 ac_cs_awk_cr='\r'
82940 else
82941 ac_cs_awk_cr=$ac_cr
82944 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82945 _ACEOF
82949 echo "cat >conf$$subs.awk <<_ACEOF" &&
82950 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82951 echo "_ACEOF"
82952 } >conf$$subs.sh ||
82953 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82954 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82955 ac_delim='%!_!# '
82956 for ac_last_try in false false false false false :; do
82957 . ./conf$$subs.sh ||
82958 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82960 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82961 if test $ac_delim_n = $ac_delim_num; then
82962 break
82963 elif $ac_last_try; then
82964 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82965 else
82966 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82968 done
82969 rm -f conf$$subs.sh
82971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82972 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82973 _ACEOF
82974 sed -n '
82976 s/^/S["/; s/!.*/"]=/
82979 s/^[^!]*!//
82980 :repl
82981 t repl
82982 s/'"$ac_delim"'$//
82983 t delim
82986 s/\(.\{148\}\).*/\1/
82987 t more1
82988 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82991 b repl
82992 :more1
82993 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82996 s/.\{148\}//
82997 t nl
82998 :delim
83000 s/\(.\{148\}\).*/\1/
83001 t more2
83002 s/["\\]/\\&/g; s/^/"/; s/$/"/
83005 :more2
83006 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83009 s/.\{148\}//
83010 t delim
83011 ' <conf$$subs.awk | sed '
83012 /^[^""]/{
83014 s/\n//
83016 ' >>$CONFIG_STATUS || ac_write_fail=1
83017 rm -f conf$$subs.awk
83018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83019 _ACAWK
83020 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83021 for (key in S) S_is_set[key] = 1
83022 FS = "\a"
83026 line = $ 0
83027 nfields = split(line, field, "@")
83028 substed = 0
83029 len = length(field[1])
83030 for (i = 2; i < nfields; i++) {
83031 key = field[i]
83032 keylen = length(key)
83033 if (S_is_set[key]) {
83034 value = S[key]
83035 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83036 len += length(value) + length(field[++i])
83037 substed = 1
83038 } else
83039 len += 1 + keylen
83042 print line
83045 _ACAWK
83046 _ACEOF
83047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83048 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83049 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83050 else
83052 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83053 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83054 _ACEOF
83056 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83057 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83058 # trailing colons and then remove the whole line if VPATH becomes empty
83059 # (actually we leave an empty line to preserve line numbers).
83060 if test "x$srcdir" = x.; then
83061 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83062 s/:*\$(srcdir):*/:/
83063 s/:*\${srcdir}:*/:/
83064 s/:*@srcdir@:*/:/
83065 s/^\([^=]*=[ ]*\):*/\1/
83066 s/:*$//
83067 s/^[^=]*=[ ]*$//
83071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83072 fi # test -n "$CONFIG_FILES"
83074 # Set up the scripts for CONFIG_HEADERS section.
83075 # No need to generate them if there are no CONFIG_HEADERS.
83076 # This happens for instance with `./config.status Makefile'.
83077 if test -n "$CONFIG_HEADERS"; then
83078 cat >"$tmp/defines.awk" <<\_ACAWK ||
83079 BEGIN {
83080 _ACEOF
83082 # Transform confdefs.h into an awk script `defines.awk', embedded as
83083 # here-document in config.status, that substitutes the proper values into
83084 # config.h.in to produce config.h.
83086 # Create a delimiter string that does not exist in confdefs.h, to ease
83087 # handling of long lines.
83088 ac_delim='%!_!# '
83089 for ac_last_try in false false :; do
83090 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83091 if test -z "$ac_t"; then
83092 break
83093 elif $ac_last_try; then
83094 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83095 else
83096 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83098 done
83100 # For the awk script, D is an array of macro values keyed by name,
83101 # likewise P contains macro parameters if any. Preserve backslash
83102 # newline sequences.
83104 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83105 sed -n '
83106 s/.\{148\}/&'"$ac_delim"'/g
83107 t rset
83108 :rset
83109 s/^[ ]*#[ ]*define[ ][ ]*/ /
83110 t def
83112 :def
83113 s/\\$//
83114 t bsnl
83115 s/["\\]/\\&/g
83116 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83117 D["\1"]=" \3"/p
83118 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83120 :bsnl
83121 s/["\\]/\\&/g
83122 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83123 D["\1"]=" \3\\\\\\n"\\/p
83124 t cont
83125 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83126 t cont
83128 :cont
83130 s/.\{148\}/&'"$ac_delim"'/g
83131 t clear
83132 :clear
83133 s/\\$//
83134 t bsnlc
83135 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83137 :bsnlc
83138 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83139 b cont
83140 ' <confdefs.h | sed '
83141 s/'"$ac_delim"'/"\\\
83142 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83145 for (key in D) D_is_set[key] = 1
83146 FS = "\a"
83148 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83149 line = \$ 0
83150 split(line, arg, " ")
83151 if (arg[1] == "#") {
83152 defundef = arg[2]
83153 mac1 = arg[3]
83154 } else {
83155 defundef = substr(arg[1], 2)
83156 mac1 = arg[2]
83158 split(mac1, mac2, "(") #)
83159 macro = mac2[1]
83160 prefix = substr(line, 1, index(line, defundef) - 1)
83161 if (D_is_set[macro]) {
83162 # Preserve the white space surrounding the "#".
83163 print prefix "define", macro P[macro] D[macro]
83164 next
83165 } else {
83166 # Replace #undef with comments. This is necessary, for example,
83167 # in the case of _POSIX_SOURCE, which is predefined and required
83168 # on some systems where configure will not decide to define it.
83169 if (defundef == "undef") {
83170 print "/*", prefix defundef, macro, "*/"
83171 next
83175 { print }
83176 _ACAWK
83177 _ACEOF
83178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83179 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83180 fi # test -n "$CONFIG_HEADERS"
83183 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83184 shift
83185 for ac_tag
83187 case $ac_tag in
83188 :[FHLC]) ac_mode=$ac_tag; continue;;
83189 esac
83190 case $ac_mode$ac_tag in
83191 :[FHL]*:*);;
83192 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83193 :[FH]-) ac_tag=-:-;;
83194 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83195 esac
83196 ac_save_IFS=$IFS
83197 IFS=:
83198 set x $ac_tag
83199 IFS=$ac_save_IFS
83200 shift
83201 ac_file=$1
83202 shift
83204 case $ac_mode in
83205 :L) ac_source=$1;;
83206 :[FH])
83207 ac_file_inputs=
83208 for ac_f
83210 case $ac_f in
83211 -) ac_f="$tmp/stdin";;
83212 *) # Look for the file first in the build tree, then in the source tree
83213 # (if the path is not absolute). The absolute path cannot be DOS-style,
83214 # because $ac_f cannot contain `:'.
83215 test -f "$ac_f" ||
83216 case $ac_f in
83217 [\\/$]*) false;;
83218 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83219 esac ||
83220 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83221 esac
83222 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83223 as_fn_append ac_file_inputs " '$ac_f'"
83224 done
83226 # Let's still pretend it is `configure' which instantiates (i.e., don't
83227 # use $as_me), people would be surprised to read:
83228 # /* config.h. Generated by config.status. */
83229 configure_input='Generated from '`
83230 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83231 `' by configure.'
83232 if test x"$ac_file" != x-; then
83233 configure_input="$ac_file. $configure_input"
83234 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83235 $as_echo "$as_me: creating $ac_file" >&6;}
83237 # Neutralize special characters interpreted by sed in replacement strings.
83238 case $configure_input in #(
83239 *\&* | *\|* | *\\* )
83240 ac_sed_conf_input=`$as_echo "$configure_input" |
83241 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83242 *) ac_sed_conf_input=$configure_input;;
83243 esac
83245 case $ac_tag in
83246 *:-:* | *:-) cat >"$tmp/stdin" \
83247 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83248 esac
83250 esac
83252 ac_dir=`$as_dirname -- "$ac_file" ||
83253 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83254 X"$ac_file" : 'X\(//\)[^/]' \| \
83255 X"$ac_file" : 'X\(//\)$' \| \
83256 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83257 $as_echo X"$ac_file" |
83258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83259 s//\1/
83262 /^X\(\/\/\)[^/].*/{
83263 s//\1/
83266 /^X\(\/\/\)$/{
83267 s//\1/
83270 /^X\(\/\).*/{
83271 s//\1/
83274 s/.*/./; q'`
83275 as_dir="$ac_dir"; as_fn_mkdir_p
83276 ac_builddir=.
83278 case "$ac_dir" in
83279 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83281 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83282 # A ".." for each directory in $ac_dir_suffix.
83283 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83284 case $ac_top_builddir_sub in
83285 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83286 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83287 esac ;;
83288 esac
83289 ac_abs_top_builddir=$ac_pwd
83290 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83291 # for backward compatibility:
83292 ac_top_builddir=$ac_top_build_prefix
83294 case $srcdir in
83295 .) # We are building in place.
83296 ac_srcdir=.
83297 ac_top_srcdir=$ac_top_builddir_sub
83298 ac_abs_top_srcdir=$ac_pwd ;;
83299 [\\/]* | ?:[\\/]* ) # Absolute name.
83300 ac_srcdir=$srcdir$ac_dir_suffix;
83301 ac_top_srcdir=$srcdir
83302 ac_abs_top_srcdir=$srcdir ;;
83303 *) # Relative name.
83304 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83305 ac_top_srcdir=$ac_top_build_prefix$srcdir
83306 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83307 esac
83308 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83311 case $ac_mode in
83314 # CONFIG_FILE
83317 case $INSTALL in
83318 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83319 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83320 esac
83321 ac_MKDIR_P=$MKDIR_P
83322 case $MKDIR_P in
83323 [\\/$]* | ?:[\\/]* ) ;;
83324 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83325 esac
83326 _ACEOF
83328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83329 # If the template does not know about datarootdir, expand it.
83330 # FIXME: This hack should be removed a few years after 2.60.
83331 ac_datarootdir_hack=; ac_datarootdir_seen=
83332 ac_sed_dataroot='
83333 /datarootdir/ {
83337 /@datadir@/p
83338 /@docdir@/p
83339 /@infodir@/p
83340 /@localedir@/p
83341 /@mandir@/p'
83342 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83343 *datarootdir*) ac_datarootdir_seen=yes;;
83344 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83346 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83347 _ACEOF
83348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83349 ac_datarootdir_hack='
83350 s&@datadir@&$datadir&g
83351 s&@docdir@&$docdir&g
83352 s&@infodir@&$infodir&g
83353 s&@localedir@&$localedir&g
83354 s&@mandir@&$mandir&g
83355 s&\\\${datarootdir}&$datarootdir&g' ;;
83356 esac
83357 _ACEOF
83359 # Neutralize VPATH when `$srcdir' = `.'.
83360 # Shell code in configure.ac might set extrasub.
83361 # FIXME: do we really want to maintain this feature?
83362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83363 ac_sed_extra="$ac_vpsub
83364 $extrasub
83365 _ACEOF
83366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83368 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83369 s|@configure_input@|$ac_sed_conf_input|;t t
83370 s&@top_builddir@&$ac_top_builddir_sub&;t t
83371 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83372 s&@srcdir@&$ac_srcdir&;t t
83373 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83374 s&@top_srcdir@&$ac_top_srcdir&;t t
83375 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83376 s&@builddir@&$ac_builddir&;t t
83377 s&@abs_builddir@&$ac_abs_builddir&;t t
83378 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83379 s&@INSTALL@&$ac_INSTALL&;t t
83380 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83381 $ac_datarootdir_hack
83383 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83384 || as_fn_error "could not create $ac_file" "$LINENO" 5
83386 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83387 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83388 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83390 which seems to be undefined. Please make sure it is defined." >&5
83391 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83392 which seems to be undefined. Please make sure it is defined." >&2;}
83394 rm -f "$tmp/stdin"
83395 case $ac_file in
83396 -) cat "$tmp/out" && rm -f "$tmp/out";;
83397 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83398 esac \
83399 || as_fn_error "could not create $ac_file" "$LINENO" 5
83403 # CONFIG_HEADER
83405 if test x"$ac_file" != x-; then
83407 $as_echo "/* $configure_input */" \
83408 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83409 } >"$tmp/config.h" \
83410 || as_fn_error "could not create $ac_file" "$LINENO" 5
83411 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83412 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83413 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83414 else
83415 rm -f "$ac_file"
83416 mv "$tmp/config.h" "$ac_file" \
83417 || as_fn_error "could not create $ac_file" "$LINENO" 5
83419 else
83420 $as_echo "/* $configure_input */" \
83421 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83422 || as_fn_error "could not create -" "$LINENO" 5
83424 # Compute "$ac_file"'s index in $config_headers.
83425 _am_arg="$ac_file"
83426 _am_stamp_count=1
83427 for _am_header in $config_headers :; do
83428 case $_am_header in
83429 $_am_arg | $_am_arg:* )
83430 break ;;
83432 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83433 esac
83434 done
83435 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83436 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83437 X"$_am_arg" : 'X\(//\)[^/]' \| \
83438 X"$_am_arg" : 'X\(//\)$' \| \
83439 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83440 $as_echo X"$_am_arg" |
83441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83442 s//\1/
83445 /^X\(\/\/\)[^/].*/{
83446 s//\1/
83449 /^X\(\/\/\)$/{
83450 s//\1/
83453 /^X\(\/\).*/{
83454 s//\1/
83457 s/.*/./; q'`/stamp-h$_am_stamp_count
83460 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83461 $as_echo "$as_me: executing $ac_file commands" >&6;}
83463 esac
83466 case $ac_file$ac_mode in
83467 "default-1":C)
83468 # Only add multilib support code if we just rebuilt the top-level
83469 # Makefile.
83470 case " $CONFIG_FILES " in
83471 *" Makefile "*)
83472 ac_file=Makefile . ${multi_basedir}/config-ml.in
83474 esac ;;
83475 "libtool":C)
83477 # See if we are running on zsh, and set the options which allow our
83478 # commands through without removal of \ escapes.
83479 if test -n "${ZSH_VERSION+set}" ; then
83480 setopt NO_GLOB_SUBST
83483 cfgfile="${ofile}T"
83484 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83485 $RM "$cfgfile"
83487 cat <<_LT_EOF >> "$cfgfile"
83488 #! $SHELL
83490 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83491 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83492 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83493 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83495 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83496 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83497 # Written by Gordon Matzigkeit, 1996
83499 # This file is part of GNU Libtool.
83501 # GNU Libtool is free software; you can redistribute it and/or
83502 # modify it under the terms of the GNU General Public License as
83503 # published by the Free Software Foundation; either version 2 of
83504 # the License, or (at your option) any later version.
83506 # As a special exception to the GNU General Public License,
83507 # if you distribute this file as part of a program or library that
83508 # is built using GNU Libtool, you may include this file under the
83509 # same distribution terms that you use for the rest of that program.
83511 # GNU Libtool is distributed in the hope that it will be useful,
83512 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83513 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83514 # GNU General Public License for more details.
83516 # You should have received a copy of the GNU General Public License
83517 # along with GNU Libtool; see the file COPYING. If not, a copy
83518 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83519 # obtained by writing to the Free Software Foundation, Inc.,
83520 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83523 # The names of the tagged configurations supported by this script.
83524 available_tags="CXX "
83526 # ### BEGIN LIBTOOL CONFIG
83528 # Which release of libtool.m4 was used?
83529 macro_version=$macro_version
83530 macro_revision=$macro_revision
83532 # Whether or not to build shared libraries.
83533 build_libtool_libs=$enable_shared
83535 # Whether or not to build static libraries.
83536 build_old_libs=$enable_static
83538 # What type of objects to build.
83539 pic_mode=$pic_mode
83541 # Whether or not to optimize for fast installation.
83542 fast_install=$enable_fast_install
83544 # Shell to use when invoking shell scripts.
83545 SHELL=$lt_SHELL
83547 # An echo program that protects backslashes.
83548 ECHO=$lt_ECHO
83550 # The host system.
83551 host_alias=$host_alias
83552 host=$host
83553 host_os=$host_os
83555 # The build system.
83556 build_alias=$build_alias
83557 build=$build
83558 build_os=$build_os
83560 # A sed program that does not truncate output.
83561 SED=$lt_SED
83563 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83564 Xsed="\$SED -e 1s/^X//"
83566 # A grep program that handles long lines.
83567 GREP=$lt_GREP
83569 # An ERE matcher.
83570 EGREP=$lt_EGREP
83572 # A literal string matcher.
83573 FGREP=$lt_FGREP
83575 # A BSD- or MS-compatible name lister.
83576 NM=$lt_NM
83578 # Whether we need soft or hard links.
83579 LN_S=$lt_LN_S
83581 # What is the maximum length of a command?
83582 max_cmd_len=$max_cmd_len
83584 # Object file suffix (normally "o").
83585 objext=$ac_objext
83587 # Executable file suffix (normally "").
83588 exeext=$exeext
83590 # whether the shell understands "unset".
83591 lt_unset=$lt_unset
83593 # turn spaces into newlines.
83594 SP2NL=$lt_lt_SP2NL
83596 # turn newlines into spaces.
83597 NL2SP=$lt_lt_NL2SP
83599 # An object symbol dumper.
83600 OBJDUMP=$lt_OBJDUMP
83602 # Method to check whether dependent libraries are shared objects.
83603 deplibs_check_method=$lt_deplibs_check_method
83605 # Command to use when deplibs_check_method == "file_magic".
83606 file_magic_cmd=$lt_file_magic_cmd
83608 # The archiver.
83609 AR=$lt_AR
83610 AR_FLAGS=$lt_AR_FLAGS
83612 # A symbol stripping program.
83613 STRIP=$lt_STRIP
83615 # Commands used to install an old-style archive.
83616 RANLIB=$lt_RANLIB
83617 old_postinstall_cmds=$lt_old_postinstall_cmds
83618 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83620 # Whether to use a lock for old archive extraction.
83621 lock_old_archive_extraction=$lock_old_archive_extraction
83623 # A C compiler.
83624 LTCC=$lt_CC
83626 # LTCC compiler flags.
83627 LTCFLAGS=$lt_CFLAGS
83629 # Take the output of nm and produce a listing of raw symbols and C names.
83630 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83632 # Transform the output of nm in a proper C declaration.
83633 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83635 # Transform the output of nm in a C name address pair.
83636 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83638 # Transform the output of nm in a C name address pair when lib prefix is needed.
83639 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83641 # The name of the directory that contains temporary libtool files.
83642 objdir=$objdir
83644 # Used to examine libraries when file_magic_cmd begins with "file".
83645 MAGIC_CMD=$MAGIC_CMD
83647 # Must we lock files when doing compilation?
83648 need_locks=$lt_need_locks
83650 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83651 DSYMUTIL=$lt_DSYMUTIL
83653 # Tool to change global to local symbols on Mac OS X.
83654 NMEDIT=$lt_NMEDIT
83656 # Tool to manipulate fat objects and archives on Mac OS X.
83657 LIPO=$lt_LIPO
83659 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83660 OTOOL=$lt_OTOOL
83662 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83663 OTOOL64=$lt_OTOOL64
83665 # Old archive suffix (normally "a").
83666 libext=$libext
83668 # Shared library suffix (normally ".so").
83669 shrext_cmds=$lt_shrext_cmds
83671 # The commands to extract the exported symbol list from a shared archive.
83672 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83674 # Variables whose values should be saved in libtool wrapper scripts and
83675 # restored at link time.
83676 variables_saved_for_relink=$lt_variables_saved_for_relink
83678 # Do we need the "lib" prefix for modules?
83679 need_lib_prefix=$need_lib_prefix
83681 # Do we need a version for libraries?
83682 need_version=$need_version
83684 # Library versioning type.
83685 version_type=$version_type
83687 # Shared library runtime path variable.
83688 runpath_var=$runpath_var
83690 # Shared library path variable.
83691 shlibpath_var=$shlibpath_var
83693 # Is shlibpath searched before the hard-coded library search path?
83694 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83696 # Format of library name prefix.
83697 libname_spec=$lt_libname_spec
83699 # List of archive names. First name is the real one, the rest are links.
83700 # The last name is the one that the linker finds with -lNAME
83701 library_names_spec=$lt_library_names_spec
83703 # The coded name of the library, if different from the real name.
83704 soname_spec=$lt_soname_spec
83706 # Permission mode override for installation of shared libraries.
83707 install_override_mode=$lt_install_override_mode
83709 # Command to use after installation of a shared archive.
83710 postinstall_cmds=$lt_postinstall_cmds
83712 # Command to use after uninstallation of a shared archive.
83713 postuninstall_cmds=$lt_postuninstall_cmds
83715 # Commands used to finish a libtool library installation in a directory.
83716 finish_cmds=$lt_finish_cmds
83718 # As "finish_cmds", except a single script fragment to be evaled but
83719 # not shown.
83720 finish_eval=$lt_finish_eval
83722 # Whether we should hardcode library paths into libraries.
83723 hardcode_into_libs=$hardcode_into_libs
83725 # Compile-time system search path for libraries.
83726 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83728 # Run-time system search path for libraries.
83729 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83731 # Whether dlopen is supported.
83732 dlopen_support=$enable_dlopen
83734 # Whether dlopen of programs is supported.
83735 dlopen_self=$enable_dlopen_self
83737 # Whether dlopen of statically linked programs is supported.
83738 dlopen_self_static=$enable_dlopen_self_static
83740 # Commands to strip libraries.
83741 old_striplib=$lt_old_striplib
83742 striplib=$lt_striplib
83745 # The linker used to build libraries.
83746 LD=$lt_LD
83748 # How to create reloadable object files.
83749 reload_flag=$lt_reload_flag
83750 reload_cmds=$lt_reload_cmds
83752 # Commands used to build an old-style archive.
83753 old_archive_cmds=$lt_old_archive_cmds
83755 # A language specific compiler.
83756 CC=$lt_compiler
83758 # Is the compiler the GNU compiler?
83759 with_gcc=$GCC
83761 # Compiler flag to turn off builtin functions.
83762 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83764 # How to pass a linker flag through the compiler.
83765 wl=$lt_lt_prog_compiler_wl
83767 # Additional compiler flags for building library objects.
83768 pic_flag=$lt_lt_prog_compiler_pic
83770 # Compiler flag to prevent dynamic linking.
83771 link_static_flag=$lt_lt_prog_compiler_static
83773 # Does compiler simultaneously support -c and -o options?
83774 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83776 # Whether or not to add -lc for building shared libraries.
83777 build_libtool_need_lc=$archive_cmds_need_lc
83779 # Whether or not to disallow shared libs when runtime libs are static.
83780 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83782 # Compiler flag to allow reflexive dlopens.
83783 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83785 # Compiler flag to generate shared objects directly from archives.
83786 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83788 # Whether the compiler copes with passing no objects directly.
83789 compiler_needs_object=$lt_compiler_needs_object
83791 # Create an old-style archive from a shared archive.
83792 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83794 # Create a temporary old-style archive to link instead of a shared archive.
83795 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83797 # Commands used to build a shared archive.
83798 archive_cmds=$lt_archive_cmds
83799 archive_expsym_cmds=$lt_archive_expsym_cmds
83801 # Commands used to build a loadable module if different from building
83802 # a shared archive.
83803 module_cmds=$lt_module_cmds
83804 module_expsym_cmds=$lt_module_expsym_cmds
83806 # Whether we are building with GNU ld or not.
83807 with_gnu_ld=$lt_with_gnu_ld
83809 # Flag that allows shared libraries with undefined symbols to be built.
83810 allow_undefined_flag=$lt_allow_undefined_flag
83812 # Flag that enforces no undefined symbols.
83813 no_undefined_flag=$lt_no_undefined_flag
83815 # Flag to hardcode \$libdir into a binary during linking.
83816 # This must work even if \$libdir does not exist
83817 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83819 # If ld is used when linking, flag to hardcode \$libdir into a binary
83820 # during linking. This must work even if \$libdir does not exist.
83821 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83823 # Whether we need a single "-rpath" flag with a separated argument.
83824 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83826 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83827 # DIR into the resulting binary.
83828 hardcode_direct=$hardcode_direct
83830 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83831 # DIR into the resulting binary and the resulting library dependency is
83832 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83833 # library is relocated.
83834 hardcode_direct_absolute=$hardcode_direct_absolute
83836 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83837 # into the resulting binary.
83838 hardcode_minus_L=$hardcode_minus_L
83840 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83841 # into the resulting binary.
83842 hardcode_shlibpath_var=$hardcode_shlibpath_var
83844 # Set to "yes" if building a shared library automatically hardcodes DIR
83845 # into the library and all subsequent libraries and executables linked
83846 # against it.
83847 hardcode_automatic=$hardcode_automatic
83849 # Set to yes if linker adds runtime paths of dependent libraries
83850 # to runtime path list.
83851 inherit_rpath=$inherit_rpath
83853 # Whether libtool must link a program against all its dependency libraries.
83854 link_all_deplibs=$link_all_deplibs
83856 # Fix the shell variable \$srcfile for the compiler.
83857 fix_srcfile_path=$lt_fix_srcfile_path
83859 # Set to "yes" if exported symbols are required.
83860 always_export_symbols=$always_export_symbols
83862 # The commands to list exported symbols.
83863 export_symbols_cmds=$lt_export_symbols_cmds
83865 # Symbols that should not be listed in the preloaded symbols.
83866 exclude_expsyms=$lt_exclude_expsyms
83868 # Symbols that must always be exported.
83869 include_expsyms=$lt_include_expsyms
83871 # Commands necessary for linking programs (against libraries) with templates.
83872 prelink_cmds=$lt_prelink_cmds
83874 # Specify filename containing input files.
83875 file_list_spec=$lt_file_list_spec
83877 # How to hardcode a shared library path into an executable.
83878 hardcode_action=$hardcode_action
83880 # The directories searched by this compiler when creating a shared library.
83881 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83883 # Dependencies to place before and after the objects being linked to
83884 # create a shared library.
83885 predep_objects=$lt_predep_objects
83886 postdep_objects=$lt_postdep_objects
83887 predeps=$lt_predeps
83888 postdeps=$lt_postdeps
83890 # The library search path used internally by the compiler when linking
83891 # a shared library.
83892 compiler_lib_search_path=$lt_compiler_lib_search_path
83894 # ### END LIBTOOL CONFIG
83896 _LT_EOF
83898 case $host_os in
83899 aix3*)
83900 cat <<\_LT_EOF >> "$cfgfile"
83901 # AIX sometimes has problems with the GCC collect2 program. For some
83902 # reason, if we set the COLLECT_NAMES environment variable, the problems
83903 # vanish in a puff of smoke.
83904 if test "X${COLLECT_NAMES+set}" != Xset; then
83905 COLLECT_NAMES=
83906 export COLLECT_NAMES
83908 _LT_EOF
83910 esac
83913 ltmain="$ac_aux_dir/ltmain.sh"
83916 # We use sed instead of cat because bash on DJGPP gets confused if
83917 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83918 # text mode, it properly converts lines to CR/LF. This bash problem
83919 # is reportedly fixed, but why not run on old versions too?
83920 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83921 || (rm -f "$cfgfile"; exit 1)
83923 case $xsi_shell in
83924 yes)
83925 cat << \_LT_EOF >> "$cfgfile"
83927 # func_dirname file append nondir_replacement
83928 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83929 # otherwise set result to NONDIR_REPLACEMENT.
83930 func_dirname ()
83932 case ${1} in
83933 */*) func_dirname_result="${1%/*}${2}" ;;
83934 * ) func_dirname_result="${3}" ;;
83935 esac
83938 # func_basename file
83939 func_basename ()
83941 func_basename_result="${1##*/}"
83944 # func_dirname_and_basename file append nondir_replacement
83945 # perform func_basename and func_dirname in a single function
83946 # call:
83947 # dirname: Compute the dirname of FILE. If nonempty,
83948 # add APPEND to the result, otherwise set result
83949 # to NONDIR_REPLACEMENT.
83950 # value returned in "$func_dirname_result"
83951 # basename: Compute filename of FILE.
83952 # value retuned in "$func_basename_result"
83953 # Implementation must be kept synchronized with func_dirname
83954 # and func_basename. For efficiency, we do not delegate to
83955 # those functions but instead duplicate the functionality here.
83956 func_dirname_and_basename ()
83958 case ${1} in
83959 */*) func_dirname_result="${1%/*}${2}" ;;
83960 * ) func_dirname_result="${3}" ;;
83961 esac
83962 func_basename_result="${1##*/}"
83965 # func_stripname prefix suffix name
83966 # strip PREFIX and SUFFIX off of NAME.
83967 # PREFIX and SUFFIX must not contain globbing or regex special
83968 # characters, hashes, percent signs, but SUFFIX may contain a leading
83969 # dot (in which case that matches only a dot).
83970 func_stripname ()
83972 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83973 # positional parameters, so assign one to ordinary parameter first.
83974 func_stripname_result=${3}
83975 func_stripname_result=${func_stripname_result#"${1}"}
83976 func_stripname_result=${func_stripname_result%"${2}"}
83979 # func_opt_split
83980 func_opt_split ()
83982 func_opt_split_opt=${1%%=*}
83983 func_opt_split_arg=${1#*=}
83986 # func_lo2o object
83987 func_lo2o ()
83989 case ${1} in
83990 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83991 *) func_lo2o_result=${1} ;;
83992 esac
83995 # func_xform libobj-or-source
83996 func_xform ()
83998 func_xform_result=${1%.*}.lo
84001 # func_arith arithmetic-term...
84002 func_arith ()
84004 func_arith_result=$(( $* ))
84007 # func_len string
84008 # STRING may not start with a hyphen.
84009 func_len ()
84011 func_len_result=${#1}
84014 _LT_EOF
84016 *) # Bourne compatible functions.
84017 cat << \_LT_EOF >> "$cfgfile"
84019 # func_dirname file append nondir_replacement
84020 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84021 # otherwise set result to NONDIR_REPLACEMENT.
84022 func_dirname ()
84024 # Extract subdirectory from the argument.
84025 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84026 if test "X$func_dirname_result" = "X${1}"; then
84027 func_dirname_result="${3}"
84028 else
84029 func_dirname_result="$func_dirname_result${2}"
84033 # func_basename file
84034 func_basename ()
84036 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84040 # func_stripname prefix suffix name
84041 # strip PREFIX and SUFFIX off of NAME.
84042 # PREFIX and SUFFIX must not contain globbing or regex special
84043 # characters, hashes, percent signs, but SUFFIX may contain a leading
84044 # dot (in which case that matches only a dot).
84045 # func_strip_suffix prefix name
84046 func_stripname ()
84048 case ${2} in
84049 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84050 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84051 esac
84054 # sed scripts:
84055 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84056 my_sed_long_arg='1s/^-[^=]*=//'
84058 # func_opt_split
84059 func_opt_split ()
84061 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84062 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84065 # func_lo2o object
84066 func_lo2o ()
84068 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84071 # func_xform libobj-or-source
84072 func_xform ()
84074 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84077 # func_arith arithmetic-term...
84078 func_arith ()
84080 func_arith_result=`expr "$@"`
84083 # func_len string
84084 # STRING may not start with a hyphen.
84085 func_len ()
84087 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84090 _LT_EOF
84091 esac
84093 case $lt_shell_append in
84094 yes)
84095 cat << \_LT_EOF >> "$cfgfile"
84097 # func_append var value
84098 # Append VALUE to the end of shell variable VAR.
84099 func_append ()
84101 eval "$1+=\$2"
84103 _LT_EOF
84106 cat << \_LT_EOF >> "$cfgfile"
84108 # func_append var value
84109 # Append VALUE to the end of shell variable VAR.
84110 func_append ()
84112 eval "$1=\$$1\$2"
84115 _LT_EOF
84117 esac
84120 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84121 || (rm -f "$cfgfile"; exit 1)
84123 mv -f "$cfgfile" "$ofile" ||
84124 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84125 chmod +x "$ofile"
84128 cat <<_LT_EOF >> "$ofile"
84130 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84132 # The linker used to build libraries.
84133 LD=$lt_LD_CXX
84135 # How to create reloadable object files.
84136 reload_flag=$lt_reload_flag_CXX
84137 reload_cmds=$lt_reload_cmds_CXX
84139 # Commands used to build an old-style archive.
84140 old_archive_cmds=$lt_old_archive_cmds_CXX
84142 # A language specific compiler.
84143 CC=$lt_compiler_CXX
84145 # Is the compiler the GNU compiler?
84146 with_gcc=$GCC_CXX
84148 # Compiler flag to turn off builtin functions.
84149 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84151 # How to pass a linker flag through the compiler.
84152 wl=$lt_lt_prog_compiler_wl_CXX
84154 # Additional compiler flags for building library objects.
84155 pic_flag=$lt_lt_prog_compiler_pic_CXX
84157 # Compiler flag to prevent dynamic linking.
84158 link_static_flag=$lt_lt_prog_compiler_static_CXX
84160 # Does compiler simultaneously support -c and -o options?
84161 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84163 # Whether or not to add -lc for building shared libraries.
84164 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84166 # Whether or not to disallow shared libs when runtime libs are static.
84167 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84169 # Compiler flag to allow reflexive dlopens.
84170 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84172 # Compiler flag to generate shared objects directly from archives.
84173 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84175 # Whether the compiler copes with passing no objects directly.
84176 compiler_needs_object=$lt_compiler_needs_object_CXX
84178 # Create an old-style archive from a shared archive.
84179 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84181 # Create a temporary old-style archive to link instead of a shared archive.
84182 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84184 # Commands used to build a shared archive.
84185 archive_cmds=$lt_archive_cmds_CXX
84186 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84188 # Commands used to build a loadable module if different from building
84189 # a shared archive.
84190 module_cmds=$lt_module_cmds_CXX
84191 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84193 # Whether we are building with GNU ld or not.
84194 with_gnu_ld=$lt_with_gnu_ld_CXX
84196 # Flag that allows shared libraries with undefined symbols to be built.
84197 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84199 # Flag that enforces no undefined symbols.
84200 no_undefined_flag=$lt_no_undefined_flag_CXX
84202 # Flag to hardcode \$libdir into a binary during linking.
84203 # This must work even if \$libdir does not exist
84204 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84206 # If ld is used when linking, flag to hardcode \$libdir into a binary
84207 # during linking. This must work even if \$libdir does not exist.
84208 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84210 # Whether we need a single "-rpath" flag with a separated argument.
84211 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84213 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84214 # DIR into the resulting binary.
84215 hardcode_direct=$hardcode_direct_CXX
84217 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84218 # DIR into the resulting binary and the resulting library dependency is
84219 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84220 # library is relocated.
84221 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84223 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84224 # into the resulting binary.
84225 hardcode_minus_L=$hardcode_minus_L_CXX
84227 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84228 # into the resulting binary.
84229 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84231 # Set to "yes" if building a shared library automatically hardcodes DIR
84232 # into the library and all subsequent libraries and executables linked
84233 # against it.
84234 hardcode_automatic=$hardcode_automatic_CXX
84236 # Set to yes if linker adds runtime paths of dependent libraries
84237 # to runtime path list.
84238 inherit_rpath=$inherit_rpath_CXX
84240 # Whether libtool must link a program against all its dependency libraries.
84241 link_all_deplibs=$link_all_deplibs_CXX
84243 # Fix the shell variable \$srcfile for the compiler.
84244 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84246 # Set to "yes" if exported symbols are required.
84247 always_export_symbols=$always_export_symbols_CXX
84249 # The commands to list exported symbols.
84250 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84252 # Symbols that should not be listed in the preloaded symbols.
84253 exclude_expsyms=$lt_exclude_expsyms_CXX
84255 # Symbols that must always be exported.
84256 include_expsyms=$lt_include_expsyms_CXX
84258 # Commands necessary for linking programs (against libraries) with templates.
84259 prelink_cmds=$lt_prelink_cmds_CXX
84261 # Specify filename containing input files.
84262 file_list_spec=$lt_file_list_spec_CXX
84264 # How to hardcode a shared library path into an executable.
84265 hardcode_action=$hardcode_action_CXX
84267 # The directories searched by this compiler when creating a shared library.
84268 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84270 # Dependencies to place before and after the objects being linked to
84271 # create a shared library.
84272 predep_objects=$lt_predep_objects_CXX
84273 postdep_objects=$lt_postdep_objects_CXX
84274 predeps=$lt_predeps_CXX
84275 postdeps=$lt_postdeps_CXX
84277 # The library search path used internally by the compiler when linking
84278 # a shared library.
84279 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84281 # ### END LIBTOOL TAG CONFIG: CXX
84282 _LT_EOF
84285 "include/gstdint.h":C)
84286 if test "$GCC" = yes; then
84287 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84288 else
84289 echo "/* generated for $CC */" > tmp-stdint.h
84292 sed 's/^ *//' >> tmp-stdint.h <<EOF
84294 #ifndef GCC_GENERATED_STDINT_H
84295 #define GCC_GENERATED_STDINT_H 1
84297 #include <sys/types.h>
84300 if test "$acx_cv_header_stdint" != stdint.h; then
84301 echo "#include <stddef.h>" >> tmp-stdint.h
84303 if test "$acx_cv_header_stdint" != stddef.h; then
84304 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84307 sed 's/^ *//' >> tmp-stdint.h <<EOF
84308 /* glibc uses these symbols as guards to prevent redefinitions. */
84309 #ifdef __int8_t_defined
84310 #define _INT8_T
84311 #define _INT16_T
84312 #define _INT32_T
84313 #endif
84314 #ifdef __uint32_t_defined
84315 #define _UINT32_T
84316 #endif
84320 # ----------------- done header, emit basic int types -------------
84321 if test "$acx_cv_header_stdint" = stddef.h; then
84322 sed 's/^ *//' >> tmp-stdint.h <<EOF
84324 #ifndef _UINT8_T
84325 #define _UINT8_T
84326 #ifndef __uint8_t_defined
84327 #define __uint8_t_defined
84328 #ifndef uint8_t
84329 typedef unsigned $acx_cv_type_int8_t uint8_t;
84330 #endif
84331 #endif
84332 #endif
84334 #ifndef _UINT16_T
84335 #define _UINT16_T
84336 #ifndef __uint16_t_defined
84337 #define __uint16_t_defined
84338 #ifndef uint16_t
84339 typedef unsigned $acx_cv_type_int16_t uint16_t;
84340 #endif
84341 #endif
84342 #endif
84344 #ifndef _UINT32_T
84345 #define _UINT32_T
84346 #ifndef __uint32_t_defined
84347 #define __uint32_t_defined
84348 #ifndef uint32_t
84349 typedef unsigned $acx_cv_type_int32_t uint32_t;
84350 #endif
84351 #endif
84352 #endif
84354 #ifndef _INT8_T
84355 #define _INT8_T
84356 #ifndef __int8_t_defined
84357 #define __int8_t_defined
84358 #ifndef int8_t
84359 typedef $acx_cv_type_int8_t int8_t;
84360 #endif
84361 #endif
84362 #endif
84364 #ifndef _INT16_T
84365 #define _INT16_T
84366 #ifndef __int16_t_defined
84367 #define __int16_t_defined
84368 #ifndef int16_t
84369 typedef $acx_cv_type_int16_t int16_t;
84370 #endif
84371 #endif
84372 #endif
84374 #ifndef _INT32_T
84375 #define _INT32_T
84376 #ifndef __int32_t_defined
84377 #define __int32_t_defined
84378 #ifndef int32_t
84379 typedef $acx_cv_type_int32_t int32_t;
84380 #endif
84381 #endif
84382 #endif
84384 elif test "$ac_cv_type_u_int32_t" = yes; then
84385 sed 's/^ *//' >> tmp-stdint.h <<EOF
84387 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84388 #ifndef _INT8_T
84389 #define _INT8_T
84390 #endif
84391 #ifndef _INT16_T
84392 #define _INT16_T
84393 #endif
84394 #ifndef _INT32_T
84395 #define _INT32_T
84396 #endif
84398 #ifndef _UINT8_T
84399 #define _UINT8_T
84400 #ifndef __uint8_t_defined
84401 #define __uint8_t_defined
84402 #ifndef uint8_t
84403 typedef u_int8_t uint8_t;
84404 #endif
84405 #endif
84406 #endif
84408 #ifndef _UINT16_T
84409 #define _UINT16_T
84410 #ifndef __uint16_t_defined
84411 #define __uint16_t_defined
84412 #ifndef uint16_t
84413 typedef u_int16_t uint16_t;
84414 #endif
84415 #endif
84416 #endif
84418 #ifndef _UINT32_T
84419 #define _UINT32_T
84420 #ifndef __uint32_t_defined
84421 #define __uint32_t_defined
84422 #ifndef uint32_t
84423 typedef u_int32_t uint32_t;
84424 #endif
84425 #endif
84426 #endif
84428 else
84429 sed 's/^ *//' >> tmp-stdint.h <<EOF
84431 /* Some systems have guard macros to prevent redefinitions, define them. */
84432 #ifndef _INT8_T
84433 #define _INT8_T
84434 #endif
84435 #ifndef _INT16_T
84436 #define _INT16_T
84437 #endif
84438 #ifndef _INT32_T
84439 #define _INT32_T
84440 #endif
84441 #ifndef _UINT8_T
84442 #define _UINT8_T
84443 #endif
84444 #ifndef _UINT16_T
84445 #define _UINT16_T
84446 #endif
84447 #ifndef _UINT32_T
84448 #define _UINT32_T
84449 #endif
84453 # ------------- done basic int types, emit int64_t types ------------
84454 if test "$ac_cv_type_uint64_t" = yes; then
84455 sed 's/^ *//' >> tmp-stdint.h <<EOF
84457 /* system headers have good uint64_t and int64_t */
84458 #ifndef _INT64_T
84459 #define _INT64_T
84460 #endif
84461 #ifndef _UINT64_T
84462 #define _UINT64_T
84463 #endif
84465 elif test "$ac_cv_type_u_int64_t" = yes; then
84466 sed 's/^ *//' >> tmp-stdint.h <<EOF
84468 /* system headers have an u_int64_t (and int64_t) */
84469 #ifndef _INT64_T
84470 #define _INT64_T
84471 #endif
84472 #ifndef _UINT64_T
84473 #define _UINT64_T
84474 #ifndef __uint64_t_defined
84475 #define __uint64_t_defined
84476 #ifndef uint64_t
84477 typedef u_int64_t uint64_t;
84478 #endif
84479 #endif
84480 #endif
84482 elif test -n "$acx_cv_type_int64_t"; then
84483 sed 's/^ *//' >> tmp-stdint.h <<EOF
84485 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84486 #ifndef _INT64_T
84487 #define _INT64_T
84488 #ifndef int64_t
84489 typedef $acx_cv_type_int64_t int64_t;
84490 #endif
84491 #endif
84492 #ifndef _UINT64_T
84493 #define _UINT64_T
84494 #ifndef __uint64_t_defined
84495 #define __uint64_t_defined
84496 #ifndef uint64_t
84497 typedef unsigned $acx_cv_type_int64_t uint64_t;
84498 #endif
84499 #endif
84500 #endif
84502 else
84503 sed 's/^ *//' >> tmp-stdint.h <<EOF
84505 /* some common heuristics for int64_t, using compiler-specific tests */
84506 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84507 #ifndef _INT64_T
84508 #define _INT64_T
84509 #ifndef __int64_t_defined
84510 #ifndef int64_t
84511 typedef long long int64_t;
84512 #endif
84513 #endif
84514 #endif
84515 #ifndef _UINT64_T
84516 #define _UINT64_T
84517 #ifndef uint64_t
84518 typedef unsigned long long uint64_t;
84519 #endif
84520 #endif
84522 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84523 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84524 does not implement __extension__. But that compiler doesn't define
84525 __GNUC_MINOR__. */
84526 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84527 # define __extension__
84528 # endif
84530 # ifndef _INT64_T
84531 # define _INT64_T
84532 # ifndef int64_t
84533 __extension__ typedef long long int64_t;
84534 # endif
84535 # endif
84536 # ifndef _UINT64_T
84537 # define _UINT64_T
84538 # ifndef uint64_t
84539 __extension__ typedef unsigned long long uint64_t;
84540 # endif
84541 # endif
84543 #elif !defined __STRICT_ANSI__
84544 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84546 # ifndef _INT64_T
84547 # define _INT64_T
84548 # ifndef int64_t
84549 typedef __int64 int64_t;
84550 # endif
84551 # endif
84552 # ifndef _UINT64_T
84553 # define _UINT64_T
84554 # ifndef uint64_t
84555 typedef unsigned __int64 uint64_t;
84556 # endif
84557 # endif
84558 # endif /* compiler */
84560 #endif /* ANSI version */
84564 # ------------- done int64_t types, emit intptr types ------------
84565 if test "$ac_cv_type_uintptr_t" != yes; then
84566 sed 's/^ *//' >> tmp-stdint.h <<EOF
84568 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84569 #ifndef __uintptr_t_defined
84570 #ifndef uintptr_t
84571 typedef u$acx_cv_type_intptr_t uintptr_t;
84572 #endif
84573 #endif
84574 #ifndef __intptr_t_defined
84575 #ifndef intptr_t
84576 typedef $acx_cv_type_intptr_t intptr_t;
84577 #endif
84578 #endif
84582 # ------------- done intptr types, emit int_least types ------------
84583 if test "$ac_cv_type_int_least32_t" != yes; then
84584 sed 's/^ *//' >> tmp-stdint.h <<EOF
84586 /* Define int_least types */
84587 typedef int8_t int_least8_t;
84588 typedef int16_t int_least16_t;
84589 typedef int32_t int_least32_t;
84590 #ifdef _INT64_T
84591 typedef int64_t int_least64_t;
84592 #endif
84594 typedef uint8_t uint_least8_t;
84595 typedef uint16_t uint_least16_t;
84596 typedef uint32_t uint_least32_t;
84597 #ifdef _UINT64_T
84598 typedef uint64_t uint_least64_t;
84599 #endif
84603 # ------------- done intptr types, emit int_fast types ------------
84604 if test "$ac_cv_type_int_fast32_t" != yes; then
84605 sed 's/^ *//' >> tmp-stdint.h <<EOF
84607 /* Define int_fast types. short is often slow */
84608 typedef int8_t int_fast8_t;
84609 typedef int int_fast16_t;
84610 typedef int32_t int_fast32_t;
84611 #ifdef _INT64_T
84612 typedef int64_t int_fast64_t;
84613 #endif
84615 typedef uint8_t uint_fast8_t;
84616 typedef unsigned int uint_fast16_t;
84617 typedef uint32_t uint_fast32_t;
84618 #ifdef _UINT64_T
84619 typedef uint64_t uint_fast64_t;
84620 #endif
84624 if test "$ac_cv_type_uintmax_t" != yes; then
84625 sed 's/^ *//' >> tmp-stdint.h <<EOF
84627 /* Define intmax based on what we found */
84628 #ifndef intmax_t
84629 #ifdef _INT64_T
84630 typedef int64_t intmax_t;
84631 #else
84632 typedef long intmax_t;
84633 #endif
84634 #endif
84635 #ifndef uintmax_t
84636 #ifdef _UINT64_T
84637 typedef uint64_t uintmax_t;
84638 #else
84639 typedef unsigned long uintmax_t;
84640 #endif
84641 #endif
84645 sed 's/^ *//' >> tmp-stdint.h <<EOF
84647 #endif /* GCC_GENERATED_STDINT_H */
84650 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84651 rm -f tmp-stdint.h
84652 else
84653 mv -f tmp-stdint.h include/gstdint.h
84657 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84658 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84659 "include/Makefile":F) cat > vpsed$$ << \_EOF
84660 s!`test -f '$<' || echo '$(srcdir)/'`!!
84661 _EOF
84662 sed -f vpsed$$ $ac_file > tmp$$
84663 mv tmp$$ $ac_file
84664 rm vpsed$$
84665 echo 'MULTISUBDIR =' >> $ac_file
84666 ml_norecursion=yes
84667 . ${multi_basedir}/config-ml.in
84668 { ml_norecursion=; unset ml_norecursion;}
84670 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84671 s!`test -f '$<' || echo '$(srcdir)/'`!!
84672 _EOF
84673 sed -f vpsed$$ $ac_file > tmp$$
84674 mv tmp$$ $ac_file
84675 rm vpsed$$
84676 echo 'MULTISUBDIR =' >> $ac_file
84677 ml_norecursion=yes
84678 . ${multi_basedir}/config-ml.in
84679 { ml_norecursion=; unset ml_norecursion;}
84681 "src/Makefile":F) cat > vpsed$$ << \_EOF
84682 s!`test -f '$<' || echo '$(srcdir)/'`!!
84683 _EOF
84684 sed -f vpsed$$ $ac_file > tmp$$
84685 mv tmp$$ $ac_file
84686 rm vpsed$$
84687 echo 'MULTISUBDIR =' >> $ac_file
84688 ml_norecursion=yes
84689 . ${multi_basedir}/config-ml.in
84690 { ml_norecursion=; unset ml_norecursion;}
84692 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84693 s!`test -f '$<' || echo '$(srcdir)/'`!!
84694 _EOF
84695 sed -f vpsed$$ $ac_file > tmp$$
84696 mv tmp$$ $ac_file
84697 rm vpsed$$
84698 echo 'MULTISUBDIR =' >> $ac_file
84699 ml_norecursion=yes
84700 . ${multi_basedir}/config-ml.in
84701 { ml_norecursion=; unset ml_norecursion;}
84703 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84704 s!`test -f '$<' || echo '$(srcdir)/'`!!
84705 _EOF
84706 sed -f vpsed$$ $ac_file > tmp$$
84707 mv tmp$$ $ac_file
84708 rm vpsed$$
84709 echo 'MULTISUBDIR =' >> $ac_file
84710 ml_norecursion=yes
84711 . ${multi_basedir}/config-ml.in
84712 { ml_norecursion=; unset ml_norecursion;}
84714 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84715 s!`test -f '$<' || echo '$(srcdir)/'`!!
84716 _EOF
84717 sed -f vpsed$$ $ac_file > tmp$$
84718 mv tmp$$ $ac_file
84719 rm vpsed$$
84720 echo 'MULTISUBDIR =' >> $ac_file
84721 ml_norecursion=yes
84722 . ${multi_basedir}/config-ml.in
84723 { ml_norecursion=; unset ml_norecursion;}
84725 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84726 s!`test -f '$<' || echo '$(srcdir)/'`!!
84727 _EOF
84728 sed -f vpsed$$ $ac_file > tmp$$
84729 mv tmp$$ $ac_file
84730 rm vpsed$$
84731 echo 'MULTISUBDIR =' >> $ac_file
84732 ml_norecursion=yes
84733 . ${multi_basedir}/config-ml.in
84734 { ml_norecursion=; unset ml_norecursion;}
84736 "po/Makefile":F) cat > vpsed$$ << \_EOF
84737 s!`test -f '$<' || echo '$(srcdir)/'`!!
84738 _EOF
84739 sed -f vpsed$$ $ac_file > tmp$$
84740 mv tmp$$ $ac_file
84741 rm vpsed$$
84742 echo 'MULTISUBDIR =' >> $ac_file
84743 ml_norecursion=yes
84744 . ${multi_basedir}/config-ml.in
84745 { ml_norecursion=; unset ml_norecursion;}
84747 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84748 s!`test -f '$<' || echo '$(srcdir)/'`!!
84749 _EOF
84750 sed -f vpsed$$ $ac_file > tmp$$
84751 mv tmp$$ $ac_file
84752 rm vpsed$$
84753 echo 'MULTISUBDIR =' >> $ac_file
84754 ml_norecursion=yes
84755 . ${multi_basedir}/config-ml.in
84756 { ml_norecursion=; unset ml_norecursion;}
84758 "python/Makefile":F) cat > vpsed$$ << \_EOF
84759 s!`test -f '$<' || echo '$(srcdir)/'`!!
84760 _EOF
84761 sed -f vpsed$$ $ac_file > tmp$$
84762 mv tmp$$ $ac_file
84763 rm vpsed$$
84764 echo 'MULTISUBDIR =' >> $ac_file
84765 ml_norecursion=yes
84766 . ${multi_basedir}/config-ml.in
84767 { ml_norecursion=; unset ml_norecursion;}
84769 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84771 esac
84772 done # for ac_tag
84775 as_fn_exit 0
84776 _ACEOF
84777 ac_clean_files=$ac_clean_files_save
84779 test $ac_write_fail = 0 ||
84780 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84783 # configure is writing to config.log, and then calls config.status.
84784 # config.status does its own redirection, appending to config.log.
84785 # Unfortunately, on DOS this fails, as config.log is still kept open
84786 # by configure, so config.status won't be able to write to it; its
84787 # output is simply discarded. So we exec the FD to /dev/null,
84788 # effectively closing config.log, so it can be properly (re)opened and
84789 # appended to by config.status. When coming back to configure, we
84790 # need to make the FD available again.
84791 if test "$no_create" != yes; then
84792 ac_cs_success=:
84793 ac_config_status_args=
84794 test "$silent" = yes &&
84795 ac_config_status_args="$ac_config_status_args --quiet"
84796 exec 5>/dev/null
84797 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84798 exec 5>>config.log
84799 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84800 # would make configure fail if this is the last instruction.
84801 $ac_cs_success || as_fn_exit $?
84803 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84805 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}