Avoid is_constant calls in vectorizable_bswap
[official-gcc.git] / libstdc++-v3 / configure
blobd33081d544ca12d86931a544d0ed048af2177803
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 ENABLE_FLOAT128_FALSE
732 ENABLE_FLOAT128_TRUE
733 thread_header
734 glibcxx_PCHFLAGS
735 GLIBCXX_BUILD_PCH_FALSE
736 GLIBCXX_BUILD_PCH_TRUE
737 GLIBCXX_HOSTED_FALSE
738 GLIBCXX_HOSTED_TRUE
739 glibcxx_compiler_shared_flag
740 glibcxx_compiler_pic_flag
741 glibcxx_lt_pic_flag
742 enable_static
743 enable_shared
744 lt_host_flags
745 CXXCPP
746 OTOOL64
747 OTOOL
748 LIPO
749 NMEDIT
750 DSYMUTIL
751 OBJDUMP
753 ac_ct_DUMPBIN
754 DUMPBIN
756 FGREP
758 LIBTOOL
759 EGREP
760 GREP
762 MAINT
763 MAINTAINER_MODE_FALSE
764 MAINTAINER_MODE_TRUE
765 RANLIB
768 LN_S
769 toplevel_srcdir
770 toplevel_builddir
771 glibcxx_srcdir
772 glibcxx_builddir
773 ac_ct_CXX
774 CXXFLAGS
776 OBJEXT
777 EXEEXT
778 ac_ct_CC
779 CPPFLAGS
780 LDFLAGS
781 CFLAGS
783 am__untar
784 am__tar
785 AMTAR
786 am__leading_dot
787 SET_MAKE
789 mkdir_p
790 MKDIR_P
791 INSTALL_STRIP_PROGRAM
792 STRIP
793 install_sh
794 MAKEINFO
795 AUTOHEADER
796 AUTOMAKE
797 AUTOCONF
798 ACLOCAL
799 VERSION
800 PACKAGE
801 CYGPATH_W
802 am__isrc
803 INSTALL_DATA
804 INSTALL_SCRIPT
805 INSTALL_PROGRAM
806 target_os
807 target_vendor
808 target_cpu
809 target
810 host_os
811 host_vendor
812 host_cpu
813 host
814 build_os
815 build_vendor
816 build_cpu
817 build
818 multi_basedir
819 target_alias
820 host_alias
821 build_alias
822 LIBS
823 ECHO_T
824 ECHO_N
825 ECHO_C
826 DEFS
827 mandir
828 localedir
829 libdir
830 psdir
831 pdfdir
832 dvidir
833 htmldir
834 infodir
835 docdir
836 oldincludedir
837 includedir
838 localstatedir
839 sharedstatedir
840 sysconfdir
841 datadir
842 datarootdir
843 libexecdir
844 sbindir
845 bindir
846 program_transform_name
847 prefix
848 exec_prefix
849 PACKAGE_URL
850 PACKAGE_BUGREPORT
851 PACKAGE_STRING
852 PACKAGE_VERSION
853 PACKAGE_TARNAME
854 PACKAGE_NAME
855 PATH_SEPARATOR
856 SHELL'
857 ac_subst_files=''
858 ac_user_opts='
859 enable_option_checking
860 enable_multilib
861 with_target_subdir
862 with_cross_host
863 with_newlib
864 enable_maintainer_mode
865 enable_shared
866 enable_static
867 with_pic
868 enable_fast_install
869 with_gnu_ld
870 enable_libtool_lock
871 enable_hosted_libstdcxx
872 enable_libstdcxx_verbose
873 enable_libstdcxx_pch
874 enable_cstdio
875 enable_clocale
876 enable_nls
877 enable_libstdcxx_allocator
878 enable_cheaders
879 enable_long_long
880 enable_wchar_t
881 enable_c99
882 enable_concept_checks
883 enable_libstdcxx_debug_flags
884 enable_libstdcxx_debug
885 enable_cxx_flags
886 enable_fully_dynamic_string
887 enable_extern_template
888 with_python_dir
889 enable_werror
890 enable_vtable_verify
891 enable_libstdcxx_time
892 enable_tls
893 enable_rpath
894 with_libiconv_prefix
895 with_system_libunwind
896 enable_linux_futex
897 enable_symvers
898 enable_libstdcxx_visibility
899 enable_libstdcxx_dual_abi
900 with_default_libstdcxx_abi
901 enable_libstdcxx_threads
902 enable_libstdcxx_filesystem_ts
903 enable_cet
904 with_gxx_include_dir
905 enable_version_specific_runtime_libs
906 with_gcc_major_version_only
908 ac_precious_vars='build_alias
909 host_alias
910 target_alias
912 CFLAGS
913 LDFLAGS
914 LIBS
915 CPPFLAGS
917 CXXFLAGS
920 CXXCPP
921 CXXFILT'
924 # Initialize some variables set by options.
925 ac_init_help=
926 ac_init_version=false
927 ac_unrecognized_opts=
928 ac_unrecognized_sep=
929 # The variables have the same names as the options, with
930 # dashes changed to underlines.
931 cache_file=/dev/null
932 exec_prefix=NONE
933 no_create=
934 no_recursion=
935 prefix=NONE
936 program_prefix=NONE
937 program_suffix=NONE
938 program_transform_name=s,x,x,
939 silent=
940 site=
941 srcdir=
942 verbose=
943 x_includes=NONE
944 x_libraries=NONE
946 # Installation directory options.
947 # These are left unexpanded so users can "make install exec_prefix=/foo"
948 # and all the variables that are supposed to be based on exec_prefix
949 # by default will actually change.
950 # Use braces instead of parens because sh, perl, etc. also accept them.
951 # (The list follows the same order as the GNU Coding Standards.)
952 bindir='${exec_prefix}/bin'
953 sbindir='${exec_prefix}/sbin'
954 libexecdir='${exec_prefix}/libexec'
955 datarootdir='${prefix}/share'
956 datadir='${datarootdir}'
957 sysconfdir='${prefix}/etc'
958 sharedstatedir='${prefix}/com'
959 localstatedir='${prefix}/var'
960 includedir='${prefix}/include'
961 oldincludedir='/usr/include'
962 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
963 infodir='${datarootdir}/info'
964 htmldir='${docdir}'
965 dvidir='${docdir}'
966 pdfdir='${docdir}'
967 psdir='${docdir}'
968 libdir='${exec_prefix}/lib'
969 localedir='${datarootdir}/locale'
970 mandir='${datarootdir}/man'
972 ac_prev=
973 ac_dashdash=
974 for ac_option
976 # If the previous option needs an argument, assign it.
977 if test -n "$ac_prev"; then
978 eval $ac_prev=\$ac_option
979 ac_prev=
980 continue
983 case $ac_option in
984 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
985 *) ac_optarg=yes ;;
986 esac
988 # Accept the important Cygnus configure options, so we can diagnose typos.
990 case $ac_dashdash$ac_option in
992 ac_dashdash=yes ;;
994 -bindir | --bindir | --bindi | --bind | --bin | --bi)
995 ac_prev=bindir ;;
996 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
997 bindir=$ac_optarg ;;
999 -build | --build | --buil | --bui | --bu)
1000 ac_prev=build_alias ;;
1001 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1002 build_alias=$ac_optarg ;;
1004 -cache-file | --cache-file | --cache-fil | --cache-fi \
1005 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1006 ac_prev=cache_file ;;
1007 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1008 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1009 cache_file=$ac_optarg ;;
1011 --config-cache | -C)
1012 cache_file=config.cache ;;
1014 -datadir | --datadir | --datadi | --datad)
1015 ac_prev=datadir ;;
1016 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1017 datadir=$ac_optarg ;;
1019 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1020 | --dataroo | --dataro | --datar)
1021 ac_prev=datarootdir ;;
1022 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1023 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1024 datarootdir=$ac_optarg ;;
1026 -disable-* | --disable-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error "invalid feature name: $ac_useropt"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1035 "enable_$ac_useropt"
1036 "*) ;;
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1039 esac
1040 eval enable_$ac_useropt=no ;;
1042 -docdir | --docdir | --docdi | --doc | --do)
1043 ac_prev=docdir ;;
1044 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1045 docdir=$ac_optarg ;;
1047 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1048 ac_prev=dvidir ;;
1049 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1050 dvidir=$ac_optarg ;;
1052 -enable-* | --enable-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error "invalid feature name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval enable_$ac_useropt=\$ac_optarg ;;
1068 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1069 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1070 | --exec | --exe | --ex)
1071 ac_prev=exec_prefix ;;
1072 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1073 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1074 | --exec=* | --exe=* | --ex=*)
1075 exec_prefix=$ac_optarg ;;
1077 -gas | --gas | --ga | --g)
1078 # Obsolete; use --with-gas.
1079 with_gas=yes ;;
1081 -help | --help | --hel | --he | -h)
1082 ac_init_help=long ;;
1083 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1084 ac_init_help=recursive ;;
1085 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1086 ac_init_help=short ;;
1088 -host | --host | --hos | --ho)
1089 ac_prev=host_alias ;;
1090 -host=* | --host=* | --hos=* | --ho=*)
1091 host_alias=$ac_optarg ;;
1093 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1094 ac_prev=htmldir ;;
1095 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1096 | --ht=*)
1097 htmldir=$ac_optarg ;;
1099 -includedir | --includedir | --includedi | --included | --include \
1100 | --includ | --inclu | --incl | --inc)
1101 ac_prev=includedir ;;
1102 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1103 | --includ=* | --inclu=* | --incl=* | --inc=*)
1104 includedir=$ac_optarg ;;
1106 -infodir | --infodir | --infodi | --infod | --info | --inf)
1107 ac_prev=infodir ;;
1108 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1109 infodir=$ac_optarg ;;
1111 -libdir | --libdir | --libdi | --libd)
1112 ac_prev=libdir ;;
1113 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1114 libdir=$ac_optarg ;;
1116 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1117 | --libexe | --libex | --libe)
1118 ac_prev=libexecdir ;;
1119 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1120 | --libexe=* | --libex=* | --libe=*)
1121 libexecdir=$ac_optarg ;;
1123 -localedir | --localedir | --localedi | --localed | --locale)
1124 ac_prev=localedir ;;
1125 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1126 localedir=$ac_optarg ;;
1128 -localstatedir | --localstatedir | --localstatedi | --localstated \
1129 | --localstate | --localstat | --localsta | --localst | --locals)
1130 ac_prev=localstatedir ;;
1131 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1132 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1133 localstatedir=$ac_optarg ;;
1135 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1136 ac_prev=mandir ;;
1137 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1138 mandir=$ac_optarg ;;
1140 -nfp | --nfp | --nf)
1141 # Obsolete; use --without-fp.
1142 with_fp=no ;;
1144 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1145 | --no-cr | --no-c | -n)
1146 no_create=yes ;;
1148 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1149 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1150 no_recursion=yes ;;
1152 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1153 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1154 | --oldin | --oldi | --old | --ol | --o)
1155 ac_prev=oldincludedir ;;
1156 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1157 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1158 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1159 oldincludedir=$ac_optarg ;;
1161 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1162 ac_prev=prefix ;;
1163 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1164 prefix=$ac_optarg ;;
1166 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1167 | --program-pre | --program-pr | --program-p)
1168 ac_prev=program_prefix ;;
1169 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1170 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1171 program_prefix=$ac_optarg ;;
1173 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1174 | --program-suf | --program-su | --program-s)
1175 ac_prev=program_suffix ;;
1176 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1177 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1178 program_suffix=$ac_optarg ;;
1180 -program-transform-name | --program-transform-name \
1181 | --program-transform-nam | --program-transform-na \
1182 | --program-transform-n | --program-transform- \
1183 | --program-transform | --program-transfor \
1184 | --program-transfo | --program-transf \
1185 | --program-trans | --program-tran \
1186 | --progr-tra | --program-tr | --program-t)
1187 ac_prev=program_transform_name ;;
1188 -program-transform-name=* | --program-transform-name=* \
1189 | --program-transform-nam=* | --program-transform-na=* \
1190 | --program-transform-n=* | --program-transform-=* \
1191 | --program-transform=* | --program-transfor=* \
1192 | --program-transfo=* | --program-transf=* \
1193 | --program-trans=* | --program-tran=* \
1194 | --progr-tra=* | --program-tr=* | --program-t=*)
1195 program_transform_name=$ac_optarg ;;
1197 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1198 ac_prev=pdfdir ;;
1199 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1200 pdfdir=$ac_optarg ;;
1202 -psdir | --psdir | --psdi | --psd | --ps)
1203 ac_prev=psdir ;;
1204 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1205 psdir=$ac_optarg ;;
1207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1208 | -silent | --silent | --silen | --sile | --sil)
1209 silent=yes ;;
1211 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1212 ac_prev=sbindir ;;
1213 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1214 | --sbi=* | --sb=*)
1215 sbindir=$ac_optarg ;;
1217 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1218 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1219 | --sharedst | --shareds | --shared | --share | --shar \
1220 | --sha | --sh)
1221 ac_prev=sharedstatedir ;;
1222 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1223 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1224 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1225 | --sha=* | --sh=*)
1226 sharedstatedir=$ac_optarg ;;
1228 -site | --site | --sit)
1229 ac_prev=site ;;
1230 -site=* | --site=* | --sit=*)
1231 site=$ac_optarg ;;
1233 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1234 ac_prev=srcdir ;;
1235 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1236 srcdir=$ac_optarg ;;
1238 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1239 | --syscon | --sysco | --sysc | --sys | --sy)
1240 ac_prev=sysconfdir ;;
1241 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1242 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1243 sysconfdir=$ac_optarg ;;
1245 -target | --target | --targe | --targ | --tar | --ta | --t)
1246 ac_prev=target_alias ;;
1247 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1248 target_alias=$ac_optarg ;;
1250 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1251 verbose=yes ;;
1253 -version | --version | --versio | --versi | --vers | -V)
1254 ac_init_version=: ;;
1256 -with-* | --with-*)
1257 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1260 as_fn_error "invalid package name: $ac_useropt"
1261 ac_useropt_orig=$ac_useropt
1262 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1263 case $ac_user_opts in
1265 "with_$ac_useropt"
1266 "*) ;;
1267 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1268 ac_unrecognized_sep=', ';;
1269 esac
1270 eval with_$ac_useropt=\$ac_optarg ;;
1272 -without-* | --without-*)
1273 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276 as_fn_error "invalid package name: $ac_useropt"
1277 ac_useropt_orig=$ac_useropt
1278 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279 case $ac_user_opts in
1281 "with_$ac_useropt"
1282 "*) ;;
1283 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1284 ac_unrecognized_sep=', ';;
1285 esac
1286 eval with_$ac_useropt=no ;;
1288 --x)
1289 # Obsolete; use --with-x.
1290 with_x=yes ;;
1292 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1293 | --x-incl | --x-inc | --x-in | --x-i)
1294 ac_prev=x_includes ;;
1295 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1296 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1297 x_includes=$ac_optarg ;;
1299 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1300 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1301 ac_prev=x_libraries ;;
1302 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1303 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1304 x_libraries=$ac_optarg ;;
1306 -*) as_fn_error "unrecognized option: \`$ac_option'
1307 Try \`$0 --help' for more information."
1310 *=*)
1311 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1312 # Reject names that are not valid shell variable names.
1313 case $ac_envvar in #(
1314 '' | [0-9]* | *[!_$as_cr_alnum]* )
1315 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1316 esac
1317 eval $ac_envvar=\$ac_optarg
1318 export $ac_envvar ;;
1321 # FIXME: should be removed in autoconf 3.0.
1322 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1323 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1324 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1325 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1328 esac
1329 done
1331 if test -n "$ac_prev"; then
1332 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1333 as_fn_error "missing argument to $ac_option"
1336 if test -n "$ac_unrecognized_opts"; then
1337 case $enable_option_checking in
1338 no) ;;
1339 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1340 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1341 esac
1344 # Check all directory arguments for consistency.
1345 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1346 datadir sysconfdir sharedstatedir localstatedir includedir \
1347 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1348 libdir localedir mandir
1350 eval ac_val=\$$ac_var
1351 # Remove trailing slashes.
1352 case $ac_val in
1353 */ )
1354 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1355 eval $ac_var=\$ac_val;;
1356 esac
1357 # Be sure to have absolute directory names.
1358 case $ac_val in
1359 [\\/$]* | ?:[\\/]* ) continue;;
1360 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1361 esac
1362 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1363 done
1365 # There might be people who depend on the old broken behavior: `$host'
1366 # used to hold the argument of --host etc.
1367 # FIXME: To remove some day.
1368 build=$build_alias
1369 host=$host_alias
1370 target=$target_alias
1372 # FIXME: To remove some day.
1373 if test "x$host_alias" != x; then
1374 if test "x$build_alias" = x; then
1375 cross_compiling=maybe
1376 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1377 If a cross compiler is detected then cross compile mode will be used." >&2
1378 elif test "x$build_alias" != "x$host_alias"; then
1379 cross_compiling=yes
1383 ac_tool_prefix=
1384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1386 test "$silent" = yes && exec 6>/dev/null
1389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1390 ac_ls_di=`ls -di .` &&
1391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1392 as_fn_error "working directory cannot be determined"
1393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394 as_fn_error "pwd does not report name of working directory"
1397 # Find the source files, if location was not specified.
1398 if test -z "$srcdir"; then
1399 ac_srcdir_defaulted=yes
1400 # Try the directory containing this script, then the parent directory.
1401 ac_confdir=`$as_dirname -- "$as_myself" ||
1402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1403 X"$as_myself" : 'X\(//\)[^/]' \| \
1404 X"$as_myself" : 'X\(//\)$' \| \
1405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1406 $as_echo X"$as_myself" |
1407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1408 s//\1/
1411 /^X\(\/\/\)[^/].*/{
1412 s//\1/
1415 /^X\(\/\/\)$/{
1416 s//\1/
1419 /^X\(\/\).*/{
1420 s//\1/
1423 s/.*/./; q'`
1424 srcdir=$ac_confdir
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 srcdir=..
1428 else
1429 ac_srcdir_defaulted=no
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1433 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1436 ac_abs_confdir=`(
1437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1438 pwd)`
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 srcdir=.
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1446 case $srcdir in
1447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1448 esac
1449 for ac_var in $ac_precious_vars; do
1450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_${ac_var}_value=\$${ac_var}
1452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1454 done
1457 # Report the --help message.
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1462 cat <<_ACEOF
1463 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1470 Defaults for the options are specified in brackets.
1472 Configuration:
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 [PREFIX]
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1494 For better control, use the options below.
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --libdir=DIR object code libraries [EPREFIX/lib]
1504 --includedir=DIR C header files [PREFIX/include]
1505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 --infodir=DIR info documentation [DATAROOTDIR/info]
1509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 --mandir=DIR man documentation [DATAROOTDIR/man]
1511 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1512 --htmldir=DIR html documentation [DOCDIR]
1513 --dvidir=DIR dvi documentation [DOCDIR]
1514 --pdfdir=DIR pdf documentation [DOCDIR]
1515 --psdir=DIR ps documentation [DOCDIR]
1516 _ACEOF
1518 cat <<\_ACEOF
1520 Program names:
1521 --program-prefix=PREFIX prepend PREFIX to installed program names
1522 --program-suffix=SUFFIX append SUFFIX to installed program names
1523 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1525 System types:
1526 --build=BUILD configure for building on BUILD [guessed]
1527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1528 --target=TARGET configure for building compilers for TARGET [HOST]
1529 _ACEOF
1532 if test -n "$ac_init_help"; then
1533 case $ac_init_help in
1534 short | recursive ) echo "Configuration of package-unused version-unused:";;
1535 esac
1536 cat <<\_ACEOF
1538 Optional Features:
1539 --disable-option-checking ignore unrecognized --enable/--with options
1540 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1541 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1542 --enable-multilib build many library versions (default)
1543 --enable-maintainer-mode enable make rules and dependencies not useful
1544 (and sometimes confusing) to the casual installer
1545 --enable-shared[=PKGS] build shared libraries [default=yes]
1546 --enable-static[=PKGS] build static libraries [default=yes]
1547 --enable-fast-install[=PKGS]
1548 optimize for fast installation [default=yes]
1549 --disable-libtool-lock avoid locking (might break parallel builds)
1550 --disable-hosted-libstdcxx
1551 only build freestanding C++ runtime support
1552 --disable-libstdcxx-verbose
1553 disable termination messages to standard error
1554 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1555 [default=$is_hosted]
1556 --enable-cstdio[=PACKAGE]
1557 use target-specific I/O package [default=stdio]
1558 --enable-clocale[=MODEL]
1559 use MODEL for target locale package [default=auto]
1560 --enable-nls use Native Language Support (default)
1561 --enable-libstdcxx-allocator[=KIND]
1562 use KIND for target std::allocator base
1563 [default=auto]
1564 --enable-cheaders[=KIND]
1565 construct "C" headers for g++ [default=$c_model]
1566 --enable-long-long enable template specializations for 'long long'
1567 [default=yes]
1568 --enable-wchar_t enable template specializations for 'wchar_t'
1569 [default=yes]
1570 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1571 --enable-concept-checks use Boost-derived template checks [default=no]
1572 --enable-libstdcxx-debug-flags=FLAGS
1573 pass compiler FLAGS when building debug library
1574 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1575 --enable-libstdcxx-debug
1576 build extra debug library [default=no]
1577 --enable-cxx-flags=FLAGS
1578 pass compiler FLAGS when building library [default=]
1579 --enable-fully-dynamic-string
1580 do not put empty strings in per-process static
1581 memory [default=no]
1582 --enable-extern-template
1583 enable extern template [default=yes]
1584 --enable-werror turns on -Werror [default=no]
1585 --enable-vtable-verify enable vtable verify [default=no]
1586 --enable-libstdcxx-time[=KIND]
1587 use KIND for check type [default=auto]
1588 --enable-tls Use thread-local storage [default=yes]
1589 --disable-rpath do not hardcode runtime library paths
1590 --enable-linux-futex use the Linux futex system call [default=default]
1591 --enable-symvers[=STYLE]
1592 enables symbol versioning of the shared library
1593 [default=yes]
1594 --enable-libstdcxx-visibility
1595 enables visibility safe usage [default=yes]
1596 --enable-libstdcxx-dual-abi
1597 support two versions of std::string [default=yes]
1598 --enable-libstdcxx-threads
1599 enable C++11 threads support [default=auto]
1600 --enable-libstdcxx-filesystem-ts
1601 turns on ISO/IEC TS 18822 support [default=auto]
1602 --enable-cet enable Intel CET in target libraries [default=no]
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/c++17 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 | sort | $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 | sort | $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 | sort | $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 | sort | $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
15687 enable_float128=yes
15688 else
15689 enable_float128=no
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15692 $as_echo "$enable_float128" >&6; }
15694 rm -f conftest*
15696 ac_ext=c
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15703 if test "$enable_float128" = yes; then
15704 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15707 # Checks for compiler support that doesn't require linking.
15709 # All these tests are for C++; save the language and the compiler flags.
15710 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15711 # found in GLIBCXX_CONFIGURE.
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15720 ac_save_CXXFLAGS="$CXXFLAGS"
15722 # Check for -ffunction-sections -fdata-sections
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15724 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15725 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15727 /* end confdefs.h. */
15728 int foo; void bar() { };
15730 main ()
15734 return 0;
15736 _ACEOF
15737 if ac_fn_cxx_try_compile "$LINENO"; then :
15738 ac_fdsections=yes
15739 else
15740 ac_fdsections=no
15742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15743 if test "$ac_test_CXXFLAGS" = set; then
15744 CXXFLAGS="$ac_save_CXXFLAGS"
15745 else
15746 # this is the suspicious part
15747 CXXFLAGS=''
15749 if test x"$ac_fdsections" = x"yes"; then
15750 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15753 $as_echo "$ac_fdsections" >&6; }
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15764 # Enable all the variable C++ runtime options that don't require linking.
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15767 $as_echo_n "checking for underlying I/O to use... " >&6; }
15768 # Check whether --enable-cstdio was given.
15769 if test "${enable_cstdio+set}" = set; then :
15770 enableval=$enable_cstdio;
15771 case "$enableval" in
15772 stdio) ;;
15773 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15774 esac
15776 else
15777 enable_cstdio=stdio
15782 # Now that libio has been removed, you can have any color you want as long
15783 # as it's black. This is one big no-op until other packages are added, but
15784 # showing the framework never hurts.
15785 case ${enable_cstdio} in
15786 stdio)
15787 CSTDIO_H=config/io/c_io_stdio.h
15788 BASIC_FILE_H=config/io/basic_file_stdio.h
15789 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15791 $as_echo "stdio" >&6; }
15793 esac
15800 # Check whether --enable-clocale was given.
15801 if test "${enable_clocale+set}" = set; then :
15802 enableval=$enable_clocale;
15803 case "$enableval" in
15804 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15805 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15806 esac
15808 else
15809 enable_clocale=auto
15814 # Deal with gettext issues. Default to not using it (=no) until we detect
15815 # support for it later. Let the user turn it off via --e/d, but let that
15816 # default to on for easier handling.
15817 USE_NLS=no
15818 # Check whether --enable-nls was given.
15819 if test "${enable_nls+set}" = set; then :
15820 enableval=$enable_nls;
15821 else
15822 enable_nls=yes
15826 # Either a known package, or "auto"
15827 if test $enable_clocale = no || test $enable_clocale = yes; then
15828 enable_clocale=auto
15830 enable_clocale_flag=$enable_clocale
15832 # Probe for locale model to use if none specified.
15833 # Default to "generic".
15834 if test $enable_clocale_flag = auto; then
15835 case ${target_os} in
15836 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15837 enable_clocale_flag=gnu
15839 darwin*)
15840 enable_clocale_flag=darwin
15842 dragonfly* | freebsd*)
15843 enable_clocale_flag=dragonfly
15845 openbsd*)
15846 enable_clocale_flag=newlib
15849 if test x"$with_newlib" = x"yes"; then
15850 enable_clocale_flag=newlib
15851 else
15852 enable_clocale_flag=generic
15855 esac
15858 # Sanity check model, and test for special functionality.
15859 if test $enable_clocale_flag = gnu; then
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15863 #include <features.h>
15864 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15865 _GLIBCXX_ok
15866 #endif
15868 _ACEOF
15869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15870 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15871 enable_clocale_flag=gnu
15872 else
15873 enable_clocale_flag=generic
15875 rm -f conftest*
15878 # Set it to scream when it hurts.
15879 ac_save_CFLAGS="$CFLAGS"
15880 CFLAGS="-Wimplicit-function-declaration -Werror"
15882 # Use strxfrm_l if available.
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 #define _GNU_SOURCE 1
15886 #include <string.h>
15887 #include <locale.h>
15889 main ()
15891 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15893 return 0;
15895 _ACEOF
15896 if ac_fn_c_try_compile "$LINENO"; then :
15898 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903 # Use strerror_l if available.
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #define _GNU_SOURCE 1
15907 #include <string.h>
15908 #include <locale.h>
15910 main ()
15912 __locale_t loc; strerror_l(5, loc);
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_compile "$LINENO"; then :
15919 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15924 CFLAGS="$ac_save_CFLAGS"
15927 # Perhaps use strerror_r if available, and strerror_l isn't.
15928 ac_save_CFLAGS="$CFLAGS"
15929 CFLAGS="-Wimplicit-function-declaration -Werror"
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15936 main ()
15938 char s[128]; strerror_r(5, s, 128);
15940 return 0;
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15945 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15949 CFLAGS="$ac_save_CFLAGS"
15951 # Set configure bits for specified locale package
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15953 $as_echo_n "checking for C locale to use... " >&6; }
15954 case ${enable_clocale_flag} in
15955 generic)
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15957 $as_echo "generic" >&6; }
15959 CLOCALE_H=config/locale/generic/c_locale.h
15960 CLOCALE_CC=config/locale/generic/c_locale.cc
15961 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15962 CCOLLATE_CC=config/locale/generic/collate_members.cc
15963 CCTYPE_CC=config/locale/generic/ctype_members.cc
15964 CMESSAGES_H=config/locale/generic/messages_members.h
15965 CMESSAGES_CC=config/locale/generic/messages_members.cc
15966 CMONEY_CC=config/locale/generic/monetary_members.cc
15967 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15968 CTIME_H=config/locale/generic/time_members.h
15969 CTIME_CC=config/locale/generic/time_members.cc
15970 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15972 darwin)
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15974 $as_echo "darwin" >&6; }
15976 CLOCALE_H=config/locale/generic/c_locale.h
15977 CLOCALE_CC=config/locale/generic/c_locale.cc
15978 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15979 CCOLLATE_CC=config/locale/generic/collate_members.cc
15980 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15981 CMESSAGES_H=config/locale/generic/messages_members.h
15982 CMESSAGES_CC=config/locale/generic/messages_members.cc
15983 CMONEY_CC=config/locale/generic/monetary_members.cc
15984 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15985 CTIME_H=config/locale/generic/time_members.h
15986 CTIME_CC=config/locale/generic/time_members.cc
15987 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15990 dragonfly)
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15992 $as_echo "dragonfly or freebsd" >&6; }
15994 CLOCALE_H=config/locale/dragonfly/c_locale.h
15995 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15996 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15997 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15998 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15999 CMESSAGES_H=config/locale/generic/messages_members.h
16000 CMESSAGES_CC=config/locale/generic/messages_members.cc
16001 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16002 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16003 CTIME_H=config/locale/dragonfly/time_members.h
16004 CTIME_CC=config/locale/dragonfly/time_members.cc
16005 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16008 gnu)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16010 $as_echo "gnu" >&6; }
16012 # Declare intention to use gettext, and add support for specific
16013 # languages.
16014 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16015 ALL_LINGUAS="de fr"
16017 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16018 # Extract the first word of "msgfmt", so it can be a program name with args.
16019 set dummy msgfmt; ac_word=$2
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16021 $as_echo_n "checking for $ac_word... " >&6; }
16022 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 if test -n "$check_msgfmt"; then
16026 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16027 else
16028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16029 for as_dir in $PATH
16031 IFS=$as_save_IFS
16032 test -z "$as_dir" && as_dir=.
16033 for ac_exec_ext in '' $ac_executable_extensions; do
16034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16035 ac_cv_prog_check_msgfmt="yes"
16036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16037 break 2
16039 done
16040 done
16041 IFS=$as_save_IFS
16043 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16046 check_msgfmt=$ac_cv_prog_check_msgfmt
16047 if test -n "$check_msgfmt"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16049 $as_echo "$check_msgfmt" >&6; }
16050 else
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16056 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16057 USE_NLS=yes
16059 # Export the build objects.
16060 for ling in $ALL_LINGUAS; do \
16061 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16062 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16063 done
16067 CLOCALE_H=config/locale/gnu/c_locale.h
16068 CLOCALE_CC=config/locale/gnu/c_locale.cc
16069 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16070 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16071 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16072 CMESSAGES_H=config/locale/gnu/messages_members.h
16073 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16074 CMONEY_CC=config/locale/gnu/monetary_members.cc
16075 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16076 CTIME_H=config/locale/gnu/time_members.h
16077 CTIME_CC=config/locale/gnu/time_members.cc
16078 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16080 ieee_1003.1-2001)
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16082 $as_echo "IEEE 1003.1" >&6; }
16084 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16085 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16086 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16087 CCOLLATE_CC=config/locale/generic/collate_members.cc
16088 CCTYPE_CC=config/locale/generic/ctype_members.cc
16089 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16090 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16091 CMONEY_CC=config/locale/generic/monetary_members.cc
16092 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16093 CTIME_H=config/locale/generic/time_members.h
16094 CTIME_CC=config/locale/generic/time_members.cc
16095 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16097 newlib)
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16099 $as_echo "newlib" >&6; }
16101 CLOCALE_H=config/locale/generic/c_locale.h
16102 CLOCALE_CC=config/locale/generic/c_locale.cc
16103 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16104 CCOLLATE_CC=config/locale/generic/collate_members.cc
16105 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16106 CMESSAGES_H=config/locale/generic/messages_members.h
16107 CMESSAGES_CC=config/locale/generic/messages_members.cc
16108 CMONEY_CC=config/locale/generic/monetary_members.cc
16109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16110 CTIME_H=config/locale/generic/time_members.h
16111 CTIME_CC=config/locale/generic/time_members.cc
16112 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16114 esac
16116 # This is where the testsuite looks for locale catalogs, using the
16117 # -DLOCALEDIR define during testsuite compilation.
16118 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16121 # A standalone libintl (e.g., GNU libintl) may be in use.
16122 if test $USE_NLS = yes; then
16123 for ac_header in libintl.h
16124 do :
16125 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_LIBINTL_H 1
16129 _ACEOF
16131 else
16132 USE_NLS=no
16135 done
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16138 $as_echo_n "checking for library containing gettext... " >&6; }
16139 if test "${ac_cv_search_gettext+set}" = set; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 ac_func_search_save_LIBS=$LIBS
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char gettext ();
16154 main ()
16156 return gettext ();
16158 return 0;
16160 _ACEOF
16161 for ac_lib in '' intl; do
16162 if test -z "$ac_lib"; then
16163 ac_res="none required"
16164 else
16165 ac_res=-l$ac_lib
16166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16168 if test x$gcc_no_link = xyes; then
16169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_search_gettext=$ac_res
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext
16176 if test "${ac_cv_search_gettext+set}" = set; then :
16177 break
16179 done
16180 if test "${ac_cv_search_gettext+set}" = set; then :
16182 else
16183 ac_cv_search_gettext=no
16185 rm conftest.$ac_ext
16186 LIBS=$ac_func_search_save_LIBS
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16189 $as_echo "$ac_cv_search_gettext" >&6; }
16190 ac_res=$ac_cv_search_gettext
16191 if test "$ac_res" != no; then :
16192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16194 else
16195 USE_NLS=no
16199 if test $USE_NLS = yes; then
16201 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16221 $as_echo_n "checking for std::allocator base class... " >&6; }
16222 # Check whether --enable-libstdcxx-allocator was given.
16223 if test "${enable_libstdcxx_allocator+set}" = set; then :
16224 enableval=$enable_libstdcxx_allocator;
16225 case "$enableval" in
16226 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16227 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16228 esac
16230 else
16231 enable_libstdcxx_allocator=auto
16236 # If they didn't use this option switch, or if they specified --enable
16237 # with no specific model, we'll have to look for one. If they
16238 # specified --disable (???), do likewise.
16239 if test $enable_libstdcxx_allocator = no ||
16240 test $enable_libstdcxx_allocator = yes;
16241 then
16242 enable_libstdcxx_allocator=auto
16245 # Either a known package, or "auto". Auto implies the default choice
16246 # for a particular platform.
16247 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16249 # Probe for host-specific support if no specific model is specified.
16250 # Default to "new".
16251 if test $enable_libstdcxx_allocator_flag = auto; then
16252 case ${target_os} in
16253 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16254 enable_libstdcxx_allocator_flag=new
16257 enable_libstdcxx_allocator_flag=new
16259 esac
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16262 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16265 # Set configure bits for specified locale package
16266 case ${enable_libstdcxx_allocator_flag} in
16267 bitmap)
16268 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16269 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16271 malloc)
16272 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16273 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16276 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16279 new)
16280 ALLOCATOR_H=config/allocator/new_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16283 pool)
16284 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16287 esac
16294 # Check whether --enable-cheaders was given.
16295 if test "${enable_cheaders+set}" = set; then :
16296 enableval=$enable_cheaders;
16297 case "$enableval" in
16298 c|c_std|c_global) ;;
16299 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16300 esac
16302 else
16303 enable_cheaders=$c_model
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16308 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16310 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16312 # Allow overrides to configure.host here.
16313 if test $enable_cheaders = c_global; then
16314 c_compatibility=yes
16323 # Check whether --enable-long-long was given.
16324 if test "${enable_long_long+set}" = set; then :
16325 enableval=$enable_long_long;
16326 case "$enableval" in
16327 yes|no) ;;
16328 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16329 esac
16331 else
16332 enable_long_long=yes
16336 if test $enable_long_long = yes; then
16338 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16342 $as_echo_n "checking for enabled long long specializations... " >&6; }
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16344 $as_echo "$enable_long_long" >&6; }
16347 # Check whether --enable-wchar_t was given.
16348 if test "${enable_wchar_t+set}" = set; then :
16349 enableval=$enable_wchar_t;
16350 case "$enableval" in
16351 yes|no) ;;
16352 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16353 esac
16355 else
16356 enable_wchar_t=yes
16361 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16362 for ac_header in wchar.h
16363 do :
16364 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16365 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_WCHAR_H 1
16368 _ACEOF
16369 ac_has_wchar_h=yes
16370 else
16371 ac_has_wchar_h=no
16374 done
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16377 $as_echo_n "checking for mbstate_t... " >&6; }
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 #include <wchar.h>
16382 main ()
16384 mbstate_t teststate;
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_compile "$LINENO"; then :
16390 have_mbstate_t=yes
16391 else
16392 have_mbstate_t=no
16394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16396 $as_echo "$have_mbstate_t" >&6; }
16397 if test x"$have_mbstate_t" = xyes; then
16399 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16403 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16404 # ac_has_wchar_h.
16405 for ac_header in wctype.h
16406 do :
16407 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16408 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_WCTYPE_H 1
16411 _ACEOF
16412 ac_has_wctype_h=yes
16413 else
16414 ac_has_wctype_h=no
16417 done
16420 if test x"$enable_wchar_t" = x"yes"; then
16423 ac_ext=cpp
16424 ac_cpp='$CXXCPP $CPPFLAGS'
16425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16430 if test x"$ac_has_wchar_h" = xyes &&
16431 test x"$ac_has_wctype_h" = xyes; then
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #include <wchar.h>
16435 #include <stddef.h>
16436 wint_t i;
16437 long l = WEOF;
16438 long j = WCHAR_MIN;
16439 long k = WCHAR_MAX;
16440 namespace test
16442 using ::btowc;
16443 using ::fgetwc;
16444 using ::fgetws;
16445 using ::fputwc;
16446 using ::fputws;
16447 using ::fwide;
16448 using ::fwprintf;
16449 using ::fwscanf;
16450 using ::getwc;
16451 using ::getwchar;
16452 using ::mbrlen;
16453 using ::mbrtowc;
16454 using ::mbsinit;
16455 using ::mbsrtowcs;
16456 using ::putwc;
16457 using ::putwchar;
16458 using ::swprintf;
16459 using ::swscanf;
16460 using ::ungetwc;
16461 using ::vfwprintf;
16462 using ::vswprintf;
16463 using ::vwprintf;
16464 using ::wcrtomb;
16465 using ::wcscat;
16466 using ::wcschr;
16467 using ::wcscmp;
16468 using ::wcscoll;
16469 using ::wcscpy;
16470 using ::wcscspn;
16471 using ::wcsftime;
16472 using ::wcslen;
16473 using ::wcsncat;
16474 using ::wcsncmp;
16475 using ::wcsncpy;
16476 using ::wcspbrk;
16477 using ::wcsrchr;
16478 using ::wcsrtombs;
16479 using ::wcsspn;
16480 using ::wcsstr;
16481 using ::wcstod;
16482 using ::wcstok;
16483 using ::wcstol;
16484 using ::wcstoul;
16485 using ::wcsxfrm;
16486 using ::wctob;
16487 using ::wmemchr;
16488 using ::wmemcmp;
16489 using ::wmemcpy;
16490 using ::wmemmove;
16491 using ::wmemset;
16492 using ::wprintf;
16493 using ::wscanf;
16497 main ()
16501 return 0;
16503 _ACEOF
16504 if ac_fn_cxx_try_compile "$LINENO"; then :
16506 else
16507 enable_wchar_t=no
16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16510 else
16511 enable_wchar_t=no
16514 ac_ext=c
16515 ac_cpp='$CPP $CPPFLAGS'
16516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16522 if test x"$enable_wchar_t" = x"yes"; then
16524 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16529 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16531 $as_echo "$enable_wchar_t" >&6; }
16535 # Check whether --enable-c99 was given.
16536 if test "${enable_c99+set}" = set; then :
16537 enableval=$enable_c99;
16538 case "$enableval" in
16539 yes|no) ;;
16540 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16541 esac
16543 else
16544 enable_c99=yes
16549 if test x"$enable_c99" = x"yes"; then
16551 ac_ext=cpp
16552 ac_cpp='$CXXCPP $CPPFLAGS'
16553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16558 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16559 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16560 # to be spuriously enabled.
16561 ac_save_CXXFLAGS="$CXXFLAGS"
16562 CXXFLAGS="$CXXFLAGS -std=c++98"
16563 ac_save_LIBS="$LIBS"
16564 ac_save_gcc_no_link="$gcc_no_link"
16566 if test x$gcc_no_link != xyes; then
16567 # Use -fno-exceptions to that the C driver can link these tests without
16568 # hitting undefined references to personality routines.
16569 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16571 $as_echo_n "checking for sin in -lm... " >&6; }
16572 if test "${ac_cv_lib_m_sin+set}" = set; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 ac_check_lib_save_LIBS=$LIBS
16576 LIBS="-lm $LIBS"
16577 if test x$gcc_no_link = xyes; then
16578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16583 /* Override any GCC internal prototype to avoid an error.
16584 Use char because int might match the return type of a GCC
16585 builtin and then its argument prototype would still apply. */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 char sin ();
16591 main ()
16593 return sin ();
16595 return 0;
16597 _ACEOF
16598 if ac_fn_cxx_try_link "$LINENO"; then :
16599 ac_cv_lib_m_sin=yes
16600 else
16601 ac_cv_lib_m_sin=no
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_lib_save_LIBS
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16608 $as_echo "$ac_cv_lib_m_sin" >&6; }
16609 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16610 LIBS="$LIBS -lm"
16611 else
16613 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16614 gcc_no_link=yes
16620 # Check for the existence of <math.h> functions used if C99 is enabled.
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16622 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16623 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16627 if test x$gcc_no_link = xyes; then
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 #include <math.h>
16631 volatile double d1, d2;
16632 volatile int i;
16634 main ()
16636 i = fpclassify(d1);
16637 i = isfinite(d1);
16638 i = isinf(d1);
16639 i = isnan(d1);
16640 i = isnormal(d1);
16641 i = signbit(d1);
16642 i = isgreater(d1, d2);
16643 i = isgreaterequal(d1, d2);
16644 i = isless(d1, d2);
16645 i = islessequal(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = islessgreater(d1, d2);
16648 i = isunordered(d1, d2);
16651 return 0;
16653 _ACEOF
16654 if ac_fn_cxx_try_compile "$LINENO"; then :
16655 glibcxx_cv_c99_math_cxx98=yes
16656 else
16657 glibcxx_cv_c99_math_cxx98=no
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 else
16661 if test x$gcc_no_link = xyes; then
16662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <math.h>
16667 volatile double d1, d2;
16668 volatile int i;
16670 main ()
16672 i = fpclassify(d1);
16673 i = isfinite(d1);
16674 i = isinf(d1);
16675 i = isnan(d1);
16676 i = isnormal(d1);
16677 i = signbit(d1);
16678 i = isgreater(d1, d2);
16679 i = isgreaterequal(d1, d2);
16680 i = isless(d1, d2);
16681 i = islessequal(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = islessgreater(d1, d2);
16684 i = isunordered(d1, d2);
16687 return 0;
16689 _ACEOF
16690 if ac_fn_cxx_try_link "$LINENO"; then :
16691 glibcxx_cv_c99_math_cxx98=yes
16692 else
16693 glibcxx_cv_c99_math_cxx98=no
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16702 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16703 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16705 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16709 # Check for the existence of <complex.h> complex math functions.
16710 # This is necessary even though libstdc++ uses the builtin versions
16711 # of these functions, because if the builtin cannot be used, a reference
16712 # to the library function is emitted.
16713 for ac_header in tgmath.h
16714 do :
16715 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16716 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_TGMATH_H 1
16719 _ACEOF
16720 ac_has_tgmath_h=yes
16721 else
16722 ac_has_tgmath_h=no
16725 done
16727 for ac_header in complex.h
16728 do :
16729 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16730 if test "x$ac_cv_header_complex_h" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_COMPLEX_H 1
16733 _ACEOF
16734 ac_has_complex_h=yes
16735 else
16736 ac_has_complex_h=no
16739 done
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16744 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16748 if test x$gcc_no_link = xyes; then
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <complex.h>
16752 typedef __complex__ float float_type;
16753 typedef __complex__ double double_type;
16754 typedef __complex__ long double ld_type;
16755 volatile float_type tmpf;
16756 volatile double_type tmpd;
16757 volatile ld_type tmpld;
16758 volatile float f;
16759 volatile double d;
16760 volatile long double ld;
16762 main ()
16764 f = cabsf(tmpf);
16765 f = cargf(tmpf);
16766 tmpf = ccosf(tmpf);
16767 tmpf = ccoshf(tmpf);
16768 tmpf = cexpf(tmpf);
16769 tmpf = clogf(tmpf);
16770 tmpf = csinf(tmpf);
16771 tmpf = csinhf(tmpf);
16772 tmpf = csqrtf(tmpf);
16773 tmpf = ctanf(tmpf);
16774 tmpf = ctanhf(tmpf);
16775 tmpf = cpowf(tmpf, tmpf);
16776 tmpf = cprojf(tmpf);
16777 d = cabs(tmpd);
16778 d = carg(tmpd);
16779 tmpd = ccos(tmpd);
16780 tmpd = ccosh(tmpd);
16781 tmpd = cexp(tmpd);
16782 tmpd = clog(tmpd);
16783 tmpd = csin(tmpd);
16784 tmpd = csinh(tmpd);
16785 tmpd = csqrt(tmpd);
16786 tmpd = ctan(tmpd);
16787 tmpd = ctanh(tmpd);
16788 tmpd = cpow(tmpd, tmpd);
16789 tmpd = cproj(tmpd);
16790 ld = cabsl(tmpld);
16791 ld = cargl(tmpld);
16792 tmpld = ccosl(tmpld);
16793 tmpld = ccoshl(tmpld);
16794 tmpld = cexpl(tmpld);
16795 tmpld = clogl(tmpld);
16796 tmpld = csinl(tmpld);
16797 tmpld = csinhl(tmpld);
16798 tmpld = csqrtl(tmpld);
16799 tmpld = ctanl(tmpld);
16800 tmpld = ctanhl(tmpld);
16801 tmpld = cpowl(tmpld, tmpld);
16802 tmpld = cprojl(tmpld);
16805 return 0;
16807 _ACEOF
16808 if ac_fn_cxx_try_compile "$LINENO"; then :
16809 glibcxx_cv_c99_complex_cxx98=yes
16810 else
16811 glibcxx_cv_c99_complex_cxx98=no
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814 else
16815 if test x$gcc_no_link = xyes; then
16816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16820 #include <complex.h>
16821 typedef __complex__ float float_type;
16822 typedef __complex__ double double_type;
16823 typedef __complex__ long double ld_type;
16824 volatile float_type tmpf;
16825 volatile double_type tmpd;
16826 volatile ld_type tmpld;
16827 volatile float f;
16828 volatile double d;
16829 volatile long double ld;
16831 main ()
16833 f = cabsf(tmpf);
16834 f = cargf(tmpf);
16835 tmpf = ccosf(tmpf);
16836 tmpf = ccoshf(tmpf);
16837 tmpf = cexpf(tmpf);
16838 tmpf = clogf(tmpf);
16839 tmpf = csinf(tmpf);
16840 tmpf = csinhf(tmpf);
16841 tmpf = csqrtf(tmpf);
16842 tmpf = ctanf(tmpf);
16843 tmpf = ctanhf(tmpf);
16844 tmpf = cpowf(tmpf, tmpf);
16845 tmpf = cprojf(tmpf);
16846 d = cabs(tmpd);
16847 d = carg(tmpd);
16848 tmpd = ccos(tmpd);
16849 tmpd = ccosh(tmpd);
16850 tmpd = cexp(tmpd);
16851 tmpd = clog(tmpd);
16852 tmpd = csin(tmpd);
16853 tmpd = csinh(tmpd);
16854 tmpd = csqrt(tmpd);
16855 tmpd = ctan(tmpd);
16856 tmpd = ctanh(tmpd);
16857 tmpd = cpow(tmpd, tmpd);
16858 tmpd = cproj(tmpd);
16859 ld = cabsl(tmpld);
16860 ld = cargl(tmpld);
16861 tmpld = ccosl(tmpld);
16862 tmpld = ccoshl(tmpld);
16863 tmpld = cexpl(tmpld);
16864 tmpld = clogl(tmpld);
16865 tmpld = csinl(tmpld);
16866 tmpld = csinhl(tmpld);
16867 tmpld = csqrtl(tmpld);
16868 tmpld = ctanl(tmpld);
16869 tmpld = ctanhl(tmpld);
16870 tmpld = cpowl(tmpld, tmpld);
16871 tmpld = cprojl(tmpld);
16874 return 0;
16876 _ACEOF
16877 if ac_fn_cxx_try_link "$LINENO"; then :
16878 glibcxx_cv_c99_complex_cxx98=yes
16879 else
16880 glibcxx_cv_c99_complex_cxx98=no
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16890 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16891 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16893 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16897 # Check for the existence in <stdio.h> of vscanf, et. al.
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16899 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16900 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16904 if test x$gcc_no_link = xyes; then
16905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16906 /* end confdefs.h. */
16907 #include <stdio.h>
16908 #include <stdarg.h>
16909 void foo(char* fmt, ...)
16911 va_list args; va_start(args, fmt);
16912 vfscanf(stderr, "%i", args);
16913 vscanf("%i", args);
16914 vsnprintf(fmt, 0, "%i", args);
16915 vsscanf(fmt, "%i", args);
16916 snprintf(fmt, 0, "%i");
16919 main ()
16923 return 0;
16925 _ACEOF
16926 if ac_fn_cxx_try_compile "$LINENO"; then :
16927 glibcxx_cv_c99_stdio_cxx98=yes
16928 else
16929 glibcxx_cv_c99_stdio_cxx98=no
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #include <stdio.h>
16939 #include <stdarg.h>
16940 void foo(char* fmt, ...)
16942 va_list args; va_start(args, fmt);
16943 vfscanf(stderr, "%i", args);
16944 vscanf("%i", args);
16945 vsnprintf(fmt, 0, "%i", args);
16946 vsscanf(fmt, "%i", args);
16947 snprintf(fmt, 0, "%i");
16950 main ()
16954 return 0;
16956 _ACEOF
16957 if ac_fn_cxx_try_link "$LINENO"; then :
16958 glibcxx_cv_c99_stdio_cxx98=yes
16959 else
16960 glibcxx_cv_c99_stdio_cxx98=no
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16969 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16970 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16972 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16976 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16978 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16979 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16983 if test x$gcc_no_link = xyes; then
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <stdlib.h>
16987 volatile float f;
16988 volatile long double ld;
16989 volatile unsigned long long ll;
16990 lldiv_t mydivt;
16992 main ()
16994 char* tmp;
16995 f = strtof("gnu", &tmp);
16996 ld = strtold("gnu", &tmp);
16997 ll = strtoll("gnu", &tmp, 10);
16998 ll = strtoull("gnu", &tmp, 10);
16999 ll = llabs(10);
17000 mydivt = lldiv(10,1);
17001 ll = mydivt.quot;
17002 ll = mydivt.rem;
17003 ll = atoll("10");
17004 _Exit(0);
17007 return 0;
17009 _ACEOF
17010 if ac_fn_cxx_try_compile "$LINENO"; then :
17011 glibcxx_cv_c99_stdlib_cxx98=yes
17012 else
17013 glibcxx_cv_c99_stdlib_cxx98=no
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 else
17017 if test x$gcc_no_link = xyes; then
17018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #include <stdlib.h>
17023 volatile float f;
17024 volatile long double ld;
17025 volatile unsigned long long ll;
17026 lldiv_t mydivt;
17028 main ()
17030 char* tmp;
17031 f = strtof("gnu", &tmp);
17032 ld = strtold("gnu", &tmp);
17033 ll = strtoll("gnu", &tmp, 10);
17034 ll = strtoull("gnu", &tmp, 10);
17035 ll = llabs(10);
17036 mydivt = lldiv(10,1);
17037 ll = mydivt.quot;
17038 ll = mydivt.rem;
17039 ll = atoll("10");
17040 _Exit(0);
17043 return 0;
17045 _ACEOF
17046 if ac_fn_cxx_try_link "$LINENO"; then :
17047 glibcxx_cv_c99_stdlib_cxx98=yes
17048 else
17049 glibcxx_cv_c99_stdlib_cxx98=no
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17058 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17059 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17061 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17065 # Check for the existence in <wchar.h> of wcstold, etc.
17066 if test x"$ac_has_wchar_h" = xyes &&
17067 test x"$ac_has_wctype_h" = xyes; then
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17069 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17070 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test
17079 using ::wcstold;
17080 using ::wcstoll;
17081 using ::wcstoull;
17085 main ()
17089 return 0;
17091 _ACEOF
17092 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 glibcxx_cv_c99_wchar_cxx98=yes
17094 else
17095 glibcxx_cv_c99_wchar_cxx98=no
17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102 # Checks for wide character functions that may not be present.
17103 # Injection of these is wrapped with guard macros.
17104 # NB: only put functions here, instead of immediately above, if
17105 # absolutely necessary.
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <wchar.h>
17109 namespace test { using ::vfwscanf; }
17111 main ()
17115 return 0;
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17120 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <wchar.h>
17128 namespace test { using ::vswscanf; }
17130 main ()
17134 return 0;
17136 _ACEOF
17137 if ac_fn_cxx_try_compile "$LINENO"; then :
17139 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <wchar.h>
17147 namespace test { using ::vwscanf; }
17149 main ()
17153 return 0;
17155 _ACEOF
17156 if ac_fn_cxx_try_compile "$LINENO"; then :
17158 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #include <wchar.h>
17166 namespace test { using ::wcstof; }
17168 main ()
17172 return 0;
17174 _ACEOF
17175 if ac_fn_cxx_try_compile "$LINENO"; then :
17177 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <wctype.h>
17186 main ()
17188 wint_t t; int i = iswblank(t);
17190 return 0;
17192 _ACEOF
17193 if ac_fn_cxx_try_compile "$LINENO"; then :
17195 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17201 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17202 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17204 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17209 # Option parsed, now set things appropriately.
17210 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17212 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17213 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17214 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17215 enable_c99=no;
17216 else
17218 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17222 gcc_no_link="$ac_save_gcc_no_link"
17223 LIBS="$ac_save_LIBS"
17224 CXXFLAGS="$ac_save_CXXFLAGS"
17225 ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17233 ac_ext=cpp
17234 ac_cpp='$CXXCPP $CPPFLAGS'
17235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17240 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17241 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17242 ac_save_CXXFLAGS="$CXXFLAGS"
17243 CXXFLAGS="$CXXFLAGS -std=c++11"
17244 ac_save_LIBS="$LIBS"
17245 ac_save_gcc_no_link="$gcc_no_link"
17247 if test x$gcc_no_link != xyes; then
17248 # Use -fno-exceptions to that the C driver can link these tests without
17249 # hitting undefined references to personality routines.
17250 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17252 $as_echo_n "checking for sin in -lm... " >&6; }
17253 if test "${ac_cv_lib_m_sin+set}" = set; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_check_lib_save_LIBS=$LIBS
17257 LIBS="-lm $LIBS"
17258 if test x$gcc_no_link = xyes; then
17259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 #ifdef __cplusplus
17268 extern "C"
17269 #endif
17270 char sin ();
17272 main ()
17274 return sin ();
17276 return 0;
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 ac_cv_lib_m_sin=yes
17281 else
17282 ac_cv_lib_m_sin=no
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17286 LIBS=$ac_check_lib_save_LIBS
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17289 $as_echo "$ac_cv_lib_m_sin" >&6; }
17290 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17291 LIBS="$LIBS -lm"
17292 else
17294 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17295 gcc_no_link=yes
17301 # Check for the existence of <math.h> functions used if C99 is enabled.
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17303 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17304 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17308 if test x$gcc_no_link = xyes; then
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #include <math.h>
17312 volatile double d1, d2;
17313 volatile int i;
17315 main ()
17317 i = fpclassify(d1);
17318 i = isfinite(d1);
17319 i = isinf(d1);
17320 i = isnan(d1);
17321 i = isnormal(d1);
17322 i = signbit(d1);
17323 i = isgreater(d1, d2);
17324 i = isgreaterequal(d1, d2);
17325 i = isless(d1, d2);
17326 i = islessequal(d1, d2);
17327 i = islessgreater(d1, d2);
17328 i = islessgreater(d1, d2);
17329 i = isunordered(d1, d2);
17332 return 0;
17334 _ACEOF
17335 if ac_fn_cxx_try_compile "$LINENO"; then :
17336 glibcxx_cv_c99_math_cxx11=yes
17337 else
17338 glibcxx_cv_c99_math_cxx11=no
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #include <math.h>
17348 volatile double d1, d2;
17349 volatile int i;
17351 main ()
17353 i = fpclassify(d1);
17354 i = isfinite(d1);
17355 i = isinf(d1);
17356 i = isnan(d1);
17357 i = isnormal(d1);
17358 i = signbit(d1);
17359 i = isgreater(d1, d2);
17360 i = isgreaterequal(d1, d2);
17361 i = isless(d1, d2);
17362 i = islessequal(d1, d2);
17363 i = islessgreater(d1, d2);
17364 i = islessgreater(d1, d2);
17365 i = isunordered(d1, d2);
17368 return 0;
17370 _ACEOF
17371 if ac_fn_cxx_try_link "$LINENO"; then :
17372 glibcxx_cv_c99_math_cxx11=yes
17373 else
17374 glibcxx_cv_c99_math_cxx11=no
17376 rm -f core conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17383 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17384 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17386 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17390 # Check for the existence of <complex.h> complex math functions.
17391 # This is necessary even though libstdc++ uses the builtin versions
17392 # of these functions, because if the builtin cannot be used, a reference
17393 # to the library function is emitted.
17394 for ac_header in tgmath.h
17395 do :
17396 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17397 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_TGMATH_H 1
17400 _ACEOF
17401 ac_has_tgmath_h=yes
17402 else
17403 ac_has_tgmath_h=no
17406 done
17408 for ac_header in complex.h
17409 do :
17410 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17411 if test "x$ac_cv_header_complex_h" = x""yes; then :
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_COMPLEX_H 1
17414 _ACEOF
17415 ac_has_complex_h=yes
17416 else
17417 ac_has_complex_h=no
17420 done
17422 if test x"$ac_has_complex_h" = x"yes"; then
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17424 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17425 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17429 if test x$gcc_no_link = xyes; then
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <complex.h>
17433 typedef __complex__ float float_type;
17434 typedef __complex__ double double_type;
17435 typedef __complex__ long double ld_type;
17436 volatile float_type tmpf;
17437 volatile double_type tmpd;
17438 volatile ld_type tmpld;
17439 volatile float f;
17440 volatile double d;
17441 volatile long double ld;
17443 main ()
17445 f = cabsf(tmpf);
17446 f = cargf(tmpf);
17447 tmpf = ccosf(tmpf);
17448 tmpf = ccoshf(tmpf);
17449 tmpf = cexpf(tmpf);
17450 tmpf = clogf(tmpf);
17451 tmpf = csinf(tmpf);
17452 tmpf = csinhf(tmpf);
17453 tmpf = csqrtf(tmpf);
17454 tmpf = ctanf(tmpf);
17455 tmpf = ctanhf(tmpf);
17456 tmpf = cpowf(tmpf, tmpf);
17457 tmpf = cprojf(tmpf);
17458 d = cabs(tmpd);
17459 d = carg(tmpd);
17460 tmpd = ccos(tmpd);
17461 tmpd = ccosh(tmpd);
17462 tmpd = cexp(tmpd);
17463 tmpd = clog(tmpd);
17464 tmpd = csin(tmpd);
17465 tmpd = csinh(tmpd);
17466 tmpd = csqrt(tmpd);
17467 tmpd = ctan(tmpd);
17468 tmpd = ctanh(tmpd);
17469 tmpd = cpow(tmpd, tmpd);
17470 tmpd = cproj(tmpd);
17471 ld = cabsl(tmpld);
17472 ld = cargl(tmpld);
17473 tmpld = ccosl(tmpld);
17474 tmpld = ccoshl(tmpld);
17475 tmpld = cexpl(tmpld);
17476 tmpld = clogl(tmpld);
17477 tmpld = csinl(tmpld);
17478 tmpld = csinhl(tmpld);
17479 tmpld = csqrtl(tmpld);
17480 tmpld = ctanl(tmpld);
17481 tmpld = ctanhl(tmpld);
17482 tmpld = cpowl(tmpld, tmpld);
17483 tmpld = cprojl(tmpld);
17486 return 0;
17488 _ACEOF
17489 if ac_fn_cxx_try_compile "$LINENO"; then :
17490 glibcxx_cv_c99_complex_cxx11=yes
17491 else
17492 glibcxx_cv_c99_complex_cxx11=no
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495 else
17496 if test x$gcc_no_link = xyes; then
17497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <complex.h>
17502 typedef __complex__ float float_type;
17503 typedef __complex__ double double_type;
17504 typedef __complex__ long double ld_type;
17505 volatile float_type tmpf;
17506 volatile double_type tmpd;
17507 volatile ld_type tmpld;
17508 volatile float f;
17509 volatile double d;
17510 volatile long double ld;
17512 main ()
17514 f = cabsf(tmpf);
17515 f = cargf(tmpf);
17516 tmpf = ccosf(tmpf);
17517 tmpf = ccoshf(tmpf);
17518 tmpf = cexpf(tmpf);
17519 tmpf = clogf(tmpf);
17520 tmpf = csinf(tmpf);
17521 tmpf = csinhf(tmpf);
17522 tmpf = csqrtf(tmpf);
17523 tmpf = ctanf(tmpf);
17524 tmpf = ctanhf(tmpf);
17525 tmpf = cpowf(tmpf, tmpf);
17526 tmpf = cprojf(tmpf);
17527 d = cabs(tmpd);
17528 d = carg(tmpd);
17529 tmpd = ccos(tmpd);
17530 tmpd = ccosh(tmpd);
17531 tmpd = cexp(tmpd);
17532 tmpd = clog(tmpd);
17533 tmpd = csin(tmpd);
17534 tmpd = csinh(tmpd);
17535 tmpd = csqrt(tmpd);
17536 tmpd = ctan(tmpd);
17537 tmpd = ctanh(tmpd);
17538 tmpd = cpow(tmpd, tmpd);
17539 tmpd = cproj(tmpd);
17540 ld = cabsl(tmpld);
17541 ld = cargl(tmpld);
17542 tmpld = ccosl(tmpld);
17543 tmpld = ccoshl(tmpld);
17544 tmpld = cexpl(tmpld);
17545 tmpld = clogl(tmpld);
17546 tmpld = csinl(tmpld);
17547 tmpld = csinhl(tmpld);
17548 tmpld = csqrtl(tmpld);
17549 tmpld = ctanl(tmpld);
17550 tmpld = ctanhl(tmpld);
17551 tmpld = cpowl(tmpld, tmpld);
17552 tmpld = cprojl(tmpld);
17555 return 0;
17557 _ACEOF
17558 if ac_fn_cxx_try_link "$LINENO"; then :
17559 glibcxx_cv_c99_complex_cxx11=yes
17560 else
17561 glibcxx_cv_c99_complex_cxx11=no
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17571 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17572 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17574 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17578 # Check for the existence in <stdio.h> of vscanf, et. al.
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17580 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17581 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17585 if test x$gcc_no_link = xyes; then
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <stdio.h>
17589 #include <stdarg.h>
17590 void foo(char* fmt, ...)
17592 va_list args; va_start(args, fmt);
17593 vfscanf(stderr, "%i", args);
17594 vscanf("%i", args);
17595 vsnprintf(fmt, 0, "%i", args);
17596 vsscanf(fmt, "%i", args);
17597 snprintf(fmt, 0, "%i");
17600 main ()
17604 return 0;
17606 _ACEOF
17607 if ac_fn_cxx_try_compile "$LINENO"; then :
17608 glibcxx_cv_c99_stdio_cxx11=yes
17609 else
17610 glibcxx_cv_c99_stdio_cxx11=no
17612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 else
17614 if test x$gcc_no_link = xyes; then
17615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #include <stdio.h>
17620 #include <stdarg.h>
17621 void foo(char* fmt, ...)
17623 va_list args; va_start(args, fmt);
17624 vfscanf(stderr, "%i", args);
17625 vscanf("%i", args);
17626 vsnprintf(fmt, 0, "%i", args);
17627 vsscanf(fmt, "%i", args);
17628 snprintf(fmt, 0, "%i");
17631 main ()
17635 return 0;
17637 _ACEOF
17638 if ac_fn_cxx_try_link "$LINENO"; then :
17639 glibcxx_cv_c99_stdio_cxx11=yes
17640 else
17641 glibcxx_cv_c99_stdio_cxx11=no
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17650 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17651 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17653 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17657 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17659 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17660 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17664 if test x$gcc_no_link = xyes; then
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <stdlib.h>
17668 volatile float f;
17669 volatile long double ld;
17670 volatile unsigned long long ll;
17671 lldiv_t mydivt;
17673 main ()
17675 char* tmp;
17676 f = strtof("gnu", &tmp);
17677 ld = strtold("gnu", &tmp);
17678 ll = strtoll("gnu", &tmp, 10);
17679 ll = strtoull("gnu", &tmp, 10);
17680 ll = llabs(10);
17681 mydivt = lldiv(10,1);
17682 ll = mydivt.quot;
17683 ll = mydivt.rem;
17684 ll = atoll("10");
17685 _Exit(0);
17688 return 0;
17690 _ACEOF
17691 if ac_fn_cxx_try_compile "$LINENO"; then :
17692 glibcxx_cv_c99_stdlib_cxx11=yes
17693 else
17694 glibcxx_cv_c99_stdlib_cxx11=no
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 #include <stdlib.h>
17704 volatile float f;
17705 volatile long double ld;
17706 volatile unsigned long long ll;
17707 lldiv_t mydivt;
17709 main ()
17711 char* tmp;
17712 f = strtof("gnu", &tmp);
17713 ld = strtold("gnu", &tmp);
17714 ll = strtoll("gnu", &tmp, 10);
17715 ll = strtoull("gnu", &tmp, 10);
17716 ll = llabs(10);
17717 mydivt = lldiv(10,1);
17718 ll = mydivt.quot;
17719 ll = mydivt.rem;
17720 ll = atoll("10");
17721 _Exit(0);
17724 return 0;
17726 _ACEOF
17727 if ac_fn_cxx_try_link "$LINENO"; then :
17728 glibcxx_cv_c99_stdlib_cxx11=yes
17729 else
17730 glibcxx_cv_c99_stdlib_cxx11=no
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17739 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17740 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17742 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17746 # Check for the existence in <wchar.h> of wcstold, etc.
17747 if test x"$ac_has_wchar_h" = xyes &&
17748 test x"$ac_has_wctype_h" = xyes; then
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17750 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17751 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <wchar.h>
17758 namespace test
17760 using ::wcstold;
17761 using ::wcstoll;
17762 using ::wcstoull;
17766 main ()
17770 return 0;
17772 _ACEOF
17773 if ac_fn_cxx_try_compile "$LINENO"; then :
17774 glibcxx_cv_c99_wchar_cxx11=yes
17775 else
17776 glibcxx_cv_c99_wchar_cxx11=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17783 # Checks for wide character functions that may not be present.
17784 # Injection of these is wrapped with guard macros.
17785 # NB: only put functions here, instead of immediately above, if
17786 # absolutely necessary.
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <wchar.h>
17790 namespace test { using ::vfwscanf; }
17792 main ()
17796 return 0;
17798 _ACEOF
17799 if ac_fn_cxx_try_compile "$LINENO"; then :
17801 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <wchar.h>
17809 namespace test { using ::vswscanf; }
17811 main ()
17815 return 0;
17817 _ACEOF
17818 if ac_fn_cxx_try_compile "$LINENO"; then :
17820 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <wchar.h>
17828 namespace test { using ::vwscanf; }
17830 main ()
17834 return 0;
17836 _ACEOF
17837 if ac_fn_cxx_try_compile "$LINENO"; then :
17839 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 #include <wchar.h>
17847 namespace test { using ::wcstof; }
17849 main ()
17853 return 0;
17855 _ACEOF
17856 if ac_fn_cxx_try_compile "$LINENO"; then :
17858 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #include <wctype.h>
17867 main ()
17869 wint_t t; int i = iswblank(t);
17871 return 0;
17873 _ACEOF
17874 if ac_fn_cxx_try_compile "$LINENO"; then :
17876 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17882 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17883 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17885 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17890 gcc_no_link="$ac_save_gcc_no_link"
17891 LIBS="$ac_save_LIBS"
17892 CXXFLAGS="$ac_save_CXXFLAGS"
17893 ac_ext=c
17894 ac_cpp='$CPP $CPPFLAGS'
17895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17902 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17904 $as_echo "$enable_c99" >&6; }
17907 # Check whether --enable-concept-checks was given.
17908 if test "${enable_concept_checks+set}" = set; then :
17909 enableval=$enable_concept_checks;
17910 case "$enableval" in
17911 yes|no) ;;
17912 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17913 esac
17915 else
17916 enable_concept_checks=no
17920 if test $enable_concept_checks = yes; then
17922 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17927 # Check whether --enable-libstdcxx-debug-flags was given.
17928 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17929 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17930 xno | x) enable_libstdcxx_debug_flags= ;;
17931 x-*) ;;
17932 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17933 esac
17934 else
17935 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
17940 # Option parsed, now set things appropriately
17941 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17945 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17949 $as_echo_n "checking for additional debug build... " >&6; }
17950 # Check whether --enable-libstdcxx-debug was given.
17951 if test "${enable_libstdcxx_debug+set}" = set; then :
17952 enableval=$enable_libstdcxx_debug;
17953 case "$enableval" in
17954 yes|no) ;;
17955 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17956 esac
17958 else
17959 enable_libstdcxx_debug=no
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17964 $as_echo "$enable_libstdcxx_debug" >&6; }
17969 enable_parallel=no;
17971 # See if configured libgomp/omp.h exists. (libgomp may be in
17972 # noconfigdirs but not explicitly disabled.)
17973 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17974 enable_parallel=yes;
17975 else
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17977 $as_echo "$as_me: target-libgomp not built" >&6;}
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17981 $as_echo_n "checking for parallel mode support... " >&6; }
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17983 $as_echo "$enable_parallel" >&6; }
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17986 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17987 # Check whether --enable-cxx-flags was given.
17988 if test "${enable_cxx_flags+set}" = set; then :
17989 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17990 xno | x) enable_cxx_flags= ;;
17991 x-*) ;;
17992 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17993 esac
17994 else
17995 enable_cxx_flags=
18000 # Run through flags (either default or command-line) and set anything
18001 # extra (e.g., #defines) that must accompany particular g++ options.
18002 if test -n "$enable_cxx_flags"; then
18003 for f in $enable_cxx_flags; do
18004 case "$f" in
18005 -fhonor-std) ;;
18006 -*) ;;
18007 *) # and we're trying to pass /what/ exactly?
18008 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18009 esac
18010 done
18013 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18015 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18019 # Check whether --enable-fully-dynamic-string was given.
18020 if test "${enable_fully_dynamic_string+set}" = set; then :
18021 enableval=$enable_fully_dynamic_string;
18022 case "$enableval" in
18023 yes|no) ;;
18024 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18025 esac
18027 else
18028 enable_fully_dynamic_string=no
18032 if test $enable_fully_dynamic_string = yes; then
18033 enable_fully_dynamic_string_def=1
18034 else
18035 enable_fully_dynamic_string_def=0
18038 cat >>confdefs.h <<_ACEOF
18039 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18040 _ACEOF
18045 # Check whether --enable-extern-template was given.
18046 if test "${enable_extern_template+set}" = set; then :
18047 enableval=$enable_extern_template;
18048 case "$enableval" in
18049 yes|no) ;;
18050 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18051 esac
18053 else
18054 enable_extern_template=yes
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18060 $as_echo_n "checking for extern template support... " >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18062 $as_echo "$enable_extern_template" >&6; }
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18069 $as_echo_n "checking for custom python install directory... " >&6; }
18071 # Check whether --with-python-dir was given.
18072 if test "${with_python_dir+set}" = set; then :
18073 withval=$with_python_dir; with_python_dir=$withval
18074 else
18075 with_python_dir="no"
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18079 $as_echo "${with_python_dir}" >&6; }
18081 # Needed for installing Python modules during make install.
18082 python_mod_dir="${with_python_dir}"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18088 $as_echo_n "checking for -Werror... " >&6; }
18089 # Check whether --enable-werror was given.
18090 if test "${enable_werror+set}" = set; then :
18091 enableval=$enable_werror;
18092 case "$enableval" in
18093 yes|no) ;;
18094 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18095 esac
18097 else
18098 enable_werror=no
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18103 $as_echo "$enable_werror" >&6; }
18108 # Check whether --enable-vtable-verify was given.
18109 if test "${enable_vtable_verify+set}" = set; then :
18110 enableval=$enable_vtable_verify;
18111 case "$enableval" in
18112 yes|no) ;;
18113 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18114 esac
18116 else
18117 enable_vtable_verify=no
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18123 $as_echo_n "checking for vtable verify support... " >&6; }
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18125 $as_echo "$enable_vtable_verify" >&6; }
18127 vtv_cygmin=no
18128 if test $enable_vtable_verify = yes; then
18129 case ${target_os} in
18130 cygwin*|mingw32*)
18131 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18132 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18133 vtv_cygmin=yes
18135 darwin*)
18136 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18137 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18139 solaris2*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18144 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18145 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18147 esac
18148 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18149 else
18150 VTV_CXXFLAGS=
18151 VTV_PCH_CXXFLAGS=
18152 VTV_CXXLINKFLAGS=
18158 if test x$vtv_cygmin = xyes; then
18159 VTV_CYGMIN_TRUE=
18160 VTV_CYGMIN_FALSE='#'
18161 else
18162 VTV_CYGMIN_TRUE='#'
18163 VTV_CYGMIN_FALSE=
18169 # Checks for operating systems support that doesn't require linking.
18173 ac_ext=cpp
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18179 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18180 # and we don't need a declaration for C++14 anyway.
18181 ac_save_CXXFLAGS="$CXXFLAGS"
18182 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18185 $as_echo_n "checking for gets declaration... " >&6; }
18186 if test "${glibcxx_cv_gets+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18188 else
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18192 #include <stdio.h>
18193 namespace test
18195 using ::gets;
18198 _ACEOF
18199 if ac_fn_cxx_try_compile "$LINENO"; then :
18200 glibcxx_cv_gets=yes
18201 else
18202 glibcxx_cv_gets=no
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 if test $glibcxx_cv_gets = yes; then
18211 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18215 $as_echo "$glibcxx_cv_gets" >&6; }
18217 CXXFLAGS="$ac_save_CXXFLAGS"
18218 ac_ext=c
18219 ac_cpp='$CPP $CPPFLAGS'
18220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18228 ac_ext=cpp
18229 ac_cpp='$CXXCPP $CPPFLAGS'
18230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18234 ac_save_CXXFLAGS="$CXXFLAGS"
18235 CXXFLAGS="$CXXFLAGS -std=c++11"
18237 case "$host" in
18238 *-*-solaris2.*)
18239 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18240 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18242 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18243 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18244 $as_echo_n "(cached) " >&6
18245 else
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <math.h>
18250 #undef isfinite
18251 namespace std {
18252 inline bool isfinite(float __x)
18253 { return __builtin_isfinite(__x); }
18256 _ACEOF
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258 glibcxx_cv_math11_fp_overload=no
18259 else
18260 glibcxx_cv_math11_fp_overload=yes
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18267 # autoheader cannot handle indented templates.
18270 if test $glibcxx_cv_math11_fp_overload = yes; then
18271 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18275 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18277 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18278 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18280 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18281 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #include <math.h>
18288 namespace std {
18289 template<typename _Tp>
18290 struct __is_integer;
18291 template<>
18292 struct __is_integer<int>
18294 enum { __value = 1 };
18297 namespace __gnu_cxx {
18298 template<bool, typename>
18299 struct __enable_if;
18300 template<typename _Tp>
18301 struct __enable_if<true, _Tp>
18302 { typedef _Tp __type; };
18304 namespace std {
18305 template<typename _Tp>
18306 constexpr typename __gnu_cxx::__enable_if
18307 <__is_integer<_Tp>::__value, double>::__type
18308 log2(_Tp __x)
18309 { return __builtin_log2(__x); }
18312 main (void)
18314 int i = 1000;
18315 return std::log2(i);
18318 _ACEOF
18319 if ac_fn_cxx_try_compile "$LINENO"; then :
18320 glibcxx_cv_math11_int_overload=no
18321 else
18322 glibcxx_cv_math11_int_overload=yes
18325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329 # autoheader cannot handle indented templates.
18332 if test $glibcxx_cv_math11_int_overload = yes; then
18333 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18337 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18340 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18341 # functions (instead of or as well as the C99 generic macros) then we
18342 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18343 # and must use the ones from <math.h> instead.
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18345 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18346 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18347 $as_echo_n "(cached) " >&6
18348 else
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18353 #include <math.h>
18354 #undef isinf
18355 namespace std {
18356 using ::isinf;
18357 bool isinf(float);
18358 bool isinf(long double);
18360 using std::isinf;
18361 bool b = isinf(0.0);
18363 _ACEOF
18364 if ac_fn_cxx_try_compile "$LINENO"; then :
18365 glibcxx_cv_obsolete_isinf=yes
18366 else
18367 glibcxx_cv_obsolete_isinf=no
18370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18374 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18375 if test $glibcxx_cv_obsolete_isinf = yes; then
18377 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18382 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18383 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18384 $as_echo_n "(cached) " >&6
18385 else
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18390 #include <math.h>
18391 #undef isnan
18392 namespace std {
18393 using ::isnan;
18394 bool isnan(float);
18395 bool isnan(long double);
18397 using std::isnan;
18398 bool b = isnan(0.0);
18400 _ACEOF
18401 if ac_fn_cxx_try_compile "$LINENO"; then :
18402 glibcxx_cv_obsolete_isnan=yes
18403 else
18404 glibcxx_cv_obsolete_isnan=no
18407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18411 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18412 if test $glibcxx_cv_obsolete_isnan = yes; then
18414 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18418 esac
18420 CXXFLAGS="$ac_save_CXXFLAGS"
18421 ac_ext=c
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18431 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18432 if test "${glibcxx_cv_system_error1+set}" = set; then :
18433 $as_echo_n "(cached) " >&6
18434 else
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18438 #include <errno.h>
18440 main ()
18442 int i = EOWNERDEAD;
18444 return 0;
18446 _ACEOF
18447 if ac_fn_c_try_compile "$LINENO"; then :
18448 glibcxx_cv_system_error1=yes
18449 else
18450 glibcxx_cv_system_error1=no
18452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18457 $as_echo "$glibcxx_cv_system_error1" >&6; }
18458 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18460 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18464 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18465 if test "${glibcxx_cv_system_error2+set}" = set; then :
18466 $as_echo_n "(cached) " >&6
18467 else
18469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18471 #include <errno.h>
18473 main ()
18475 int i = ENOTRECOVERABLE;
18477 return 0;
18479 _ACEOF
18480 if ac_fn_c_try_compile "$LINENO"; then :
18481 glibcxx_cv_system_error2=yes
18482 else
18483 glibcxx_cv_system_error2=no
18485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18490 $as_echo "$glibcxx_cv_system_error2" >&6; }
18491 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18493 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18497 $as_echo_n "checking for ENOLINK... " >&6; }
18498 if test "${glibcxx_cv_system_error3+set}" = set; then :
18499 $as_echo_n "(cached) " >&6
18500 else
18502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18504 #include <errno.h>
18506 main ()
18508 int i = ENOLINK;
18510 return 0;
18512 _ACEOF
18513 if ac_fn_c_try_compile "$LINENO"; then :
18514 glibcxx_cv_system_error3=yes
18515 else
18516 glibcxx_cv_system_error3=no
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18523 $as_echo "$glibcxx_cv_system_error3" >&6; }
18524 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18526 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18530 $as_echo_n "checking for EPROTO... " >&6; }
18531 if test "${glibcxx_cv_system_error4+set}" = set; then :
18532 $as_echo_n "(cached) " >&6
18533 else
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 #include <errno.h>
18539 main ()
18541 int i = EPROTO;
18543 return 0;
18545 _ACEOF
18546 if ac_fn_c_try_compile "$LINENO"; then :
18547 glibcxx_cv_system_error4=yes
18548 else
18549 glibcxx_cv_system_error4=no
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18556 $as_echo "$glibcxx_cv_system_error4" >&6; }
18557 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18559 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18563 $as_echo_n "checking for ENODATA... " >&6; }
18564 if test "${glibcxx_cv_system_error5+set}" = set; then :
18565 $as_echo_n "(cached) " >&6
18566 else
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 #include <errno.h>
18572 main ()
18574 int i = ENODATA;
18576 return 0;
18578 _ACEOF
18579 if ac_fn_c_try_compile "$LINENO"; then :
18580 glibcxx_cv_system_error5=yes
18581 else
18582 glibcxx_cv_system_error5=no
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18589 $as_echo "$glibcxx_cv_system_error5" >&6; }
18590 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18592 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18596 $as_echo_n "checking for ENOSR... " >&6; }
18597 if test "${glibcxx_cv_system_error6+set}" = set; then :
18598 $as_echo_n "(cached) " >&6
18599 else
18601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18602 /* end confdefs.h. */
18603 #include <errno.h>
18605 main ()
18607 int i = ENOSR;
18609 return 0;
18611 _ACEOF
18612 if ac_fn_c_try_compile "$LINENO"; then :
18613 glibcxx_cv_system_error6=yes
18614 else
18615 glibcxx_cv_system_error6=no
18617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18622 $as_echo "$glibcxx_cv_system_error6" >&6; }
18623 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18625 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18629 $as_echo_n "checking for ENOSTR... " >&6; }
18630 if test "${glibcxx_cv_system_error7+set}" = set; then :
18631 $as_echo_n "(cached) " >&6
18632 else
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 #include <errno.h>
18638 main ()
18640 int i = ENOSTR;
18642 return 0;
18644 _ACEOF
18645 if ac_fn_c_try_compile "$LINENO"; then :
18646 glibcxx_cv_system_error7=yes
18647 else
18648 glibcxx_cv_system_error7=no
18650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18655 $as_echo "$glibcxx_cv_system_error7" >&6; }
18656 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18658 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18662 $as_echo_n "checking for ETIME... " >&6; }
18663 if test "${glibcxx_cv_system_error8+set}" = set; then :
18664 $as_echo_n "(cached) " >&6
18665 else
18667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18669 #include <errno.h>
18671 main ()
18673 int i = ETIME;
18675 return 0;
18677 _ACEOF
18678 if ac_fn_c_try_compile "$LINENO"; then :
18679 glibcxx_cv_system_error8=yes
18680 else
18681 glibcxx_cv_system_error8=no
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18688 $as_echo "$glibcxx_cv_system_error8" >&6; }
18689 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18691 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18695 $as_echo_n "checking for EBADMSG... " >&6; }
18696 if test "${glibcxx_cv_system_error9+set}" = set; then :
18697 $as_echo_n "(cached) " >&6
18698 else
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 #include <errno.h>
18704 main ()
18706 int i = EBADMSG;
18708 return 0;
18710 _ACEOF
18711 if ac_fn_c_try_compile "$LINENO"; then :
18712 glibcxx_cv_system_error9=yes
18713 else
18714 glibcxx_cv_system_error9=no
18716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18721 $as_echo "$glibcxx_cv_system_error9" >&6; }
18722 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18724 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18728 $as_echo_n "checking for ECANCELED... " >&6; }
18729 if test "${glibcxx_cv_system_error10+set}" = set; then :
18730 $as_echo_n "(cached) " >&6
18731 else
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h. */
18735 #include <errno.h>
18737 main ()
18739 int i = ECANCELED;
18741 return 0;
18743 _ACEOF
18744 if ac_fn_c_try_compile "$LINENO"; then :
18745 glibcxx_cv_system_error10=yes
18746 else
18747 glibcxx_cv_system_error10=no
18749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18754 $as_echo "$glibcxx_cv_system_error10" >&6; }
18755 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18757 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18761 $as_echo_n "checking for EOVERFLOW... " >&6; }
18762 if test "${glibcxx_cv_system_error11+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18764 else
18766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h. */
18768 #include <errno.h>
18770 main ()
18772 int i = EOVERFLOW;
18774 return 0;
18776 _ACEOF
18777 if ac_fn_c_try_compile "$LINENO"; then :
18778 glibcxx_cv_system_error11=yes
18779 else
18780 glibcxx_cv_system_error11=no
18782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18787 $as_echo "$glibcxx_cv_system_error11" >&6; }
18788 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18790 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18794 $as_echo_n "checking for ENOTSUP... " >&6; }
18795 if test "${glibcxx_cv_system_error12+set}" = set; then :
18796 $as_echo_n "(cached) " >&6
18797 else
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 #include <errno.h>
18803 main ()
18805 int i = ENOTSUP;
18807 return 0;
18809 _ACEOF
18810 if ac_fn_c_try_compile "$LINENO"; then :
18811 glibcxx_cv_system_error12=yes
18812 else
18813 glibcxx_cv_system_error12=no
18815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18820 $as_echo "$glibcxx_cv_system_error12" >&6; }
18821 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18823 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18827 $as_echo_n "checking for EIDRM... " >&6; }
18828 if test "${glibcxx_cv_system_error13+set}" = set; then :
18829 $as_echo_n "(cached) " >&6
18830 else
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 #include <errno.h>
18836 main ()
18838 int i = EIDRM;
18840 return 0;
18842 _ACEOF
18843 if ac_fn_c_try_compile "$LINENO"; then :
18844 glibcxx_cv_system_error13=yes
18845 else
18846 glibcxx_cv_system_error13=no
18848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18853 $as_echo "$glibcxx_cv_system_error13" >&6; }
18854 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18856 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18860 $as_echo_n "checking for ETXTBSY... " >&6; }
18861 if test "${glibcxx_cv_system_error14+set}" = set; then :
18862 $as_echo_n "(cached) " >&6
18863 else
18865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18867 #include <errno.h>
18869 main ()
18871 int i = ETXTBSY;
18873 return 0;
18875 _ACEOF
18876 if ac_fn_c_try_compile "$LINENO"; then :
18877 glibcxx_cv_system_error14=yes
18878 else
18879 glibcxx_cv_system_error14=no
18881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18886 $as_echo "$glibcxx_cv_system_error14" >&6; }
18887 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18889 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18893 $as_echo_n "checking for ECHILD... " >&6; }
18894 if test "${glibcxx_cv_system_error15+set}" = set; then :
18895 $as_echo_n "(cached) " >&6
18896 else
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 #include <errno.h>
18902 main ()
18904 int i = ECHILD;
18906 return 0;
18908 _ACEOF
18909 if ac_fn_c_try_compile "$LINENO"; then :
18910 glibcxx_cv_system_error15=yes
18911 else
18912 glibcxx_cv_system_error15=no
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18919 $as_echo "$glibcxx_cv_system_error15" >&6; }
18920 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18922 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18926 $as_echo_n "checking for ENOSPC... " >&6; }
18927 if test "${glibcxx_cv_system_error16+set}" = set; then :
18928 $as_echo_n "(cached) " >&6
18929 else
18931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18932 /* end confdefs.h. */
18933 #include <errno.h>
18935 main ()
18937 int i = ENOSPC;
18939 return 0;
18941 _ACEOF
18942 if ac_fn_c_try_compile "$LINENO"; then :
18943 glibcxx_cv_system_error16=yes
18944 else
18945 glibcxx_cv_system_error16=no
18947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18952 $as_echo "$glibcxx_cv_system_error16" >&6; }
18953 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18955 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18959 $as_echo_n "checking for EPERM... " >&6; }
18960 if test "${glibcxx_cv_system_error17+set}" = set; then :
18961 $as_echo_n "(cached) " >&6
18962 else
18964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18965 /* end confdefs.h. */
18966 #include <errno.h>
18968 main ()
18970 int i = EPERM;
18972 return 0;
18974 _ACEOF
18975 if ac_fn_c_try_compile "$LINENO"; then :
18976 glibcxx_cv_system_error17=yes
18977 else
18978 glibcxx_cv_system_error17=no
18980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18985 $as_echo "$glibcxx_cv_system_error17" >&6; }
18986 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18988 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18992 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18993 if test "${glibcxx_cv_system_error18+set}" = set; then :
18994 $as_echo_n "(cached) " >&6
18995 else
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
18999 #include <errno.h>
19001 main ()
19003 int i = ETIMEDOUT;
19005 return 0;
19007 _ACEOF
19008 if ac_fn_c_try_compile "$LINENO"; then :
19009 glibcxx_cv_system_error18=yes
19010 else
19011 glibcxx_cv_system_error18=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19018 $as_echo "$glibcxx_cv_system_error18" >&6; }
19019 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19021 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19025 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19026 if test "${glibcxx_cv_system_error19+set}" = set; then :
19027 $as_echo_n "(cached) " >&6
19028 else
19030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032 #include <errno.h>
19034 main ()
19036 int i = EWOULDBLOCK;
19038 return 0;
19040 _ACEOF
19041 if ac_fn_c_try_compile "$LINENO"; then :
19042 glibcxx_cv_system_error19=yes
19043 else
19044 glibcxx_cv_system_error19=no
19046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19051 $as_echo "$glibcxx_cv_system_error19" >&6; }
19052 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19054 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19061 # Test uchar.h.
19062 for ac_header in uchar.h
19063 do :
19064 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19065 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_UCHAR_H 1
19068 _ACEOF
19069 ac_has_uchar_h=yes
19070 else
19071 ac_has_uchar_h=no
19074 done
19078 ac_ext=cpp
19079 ac_cpp='$CXXCPP $CPPFLAGS'
19080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19084 ac_save_CXXFLAGS="$CXXFLAGS"
19085 CXXFLAGS="$CXXFLAGS -std=c++11"
19087 if test x"$ac_has_uchar_h" = x"yes"; then
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19089 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19091 /* end confdefs.h. */
19092 #include <uchar.h>
19093 #ifdef __STDC_UTF_16__
19094 long i = __STDC_UTF_16__;
19095 #endif
19096 #ifdef __STDC_UTF_32__
19097 long j = __STDC_UTF_32__;
19098 #endif
19099 namespace test
19101 using ::c16rtomb;
19102 using ::c32rtomb;
19103 using ::mbrtoc16;
19104 using ::mbrtoc32;
19108 main ()
19112 return 0;
19114 _ACEOF
19115 if ac_fn_cxx_try_compile "$LINENO"; then :
19116 ac_c11_uchar_cxx11=yes
19117 else
19118 ac_c11_uchar_cxx11=no
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19121 else
19122 ac_c11_uchar_cxx11=no
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19125 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19126 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19128 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19132 CXXFLAGS="$ac_save_CXXFLAGS"
19133 ac_ext=c
19134 ac_cpp='$CPP $CPPFLAGS'
19135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19141 # For the streamoff typedef.
19145 ac_ext=cpp
19146 ac_cpp='$CXXCPP $CPPFLAGS'
19147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19153 $as_echo_n "checking for int64_t... " >&6; }
19154 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19155 $as_echo_n "(cached) " >&6
19156 else
19158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19159 /* end confdefs.h. */
19160 #include <stdint.h>
19162 main ()
19164 int64_t var;
19166 return 0;
19168 _ACEOF
19169 if ac_fn_cxx_try_compile "$LINENO"; then :
19170 glibcxx_cv_INT64_T=yes
19171 else
19172 glibcxx_cv_INT64_T=no
19174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19179 if test $glibcxx_cv_INT64_T = yes; then
19181 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19184 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19187 $as_echo_n "checking for int64_t as long... " >&6; }
19188 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19189 $as_echo_n "(cached) " >&6
19190 else
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19194 #include <stdint.h>
19195 template<typename, typename> struct same { enum { value = -1 }; };
19196 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19197 int array[same<int64_t, long>::value];
19199 main ()
19203 return 0;
19205 _ACEOF
19206 if ac_fn_cxx_try_compile "$LINENO"; then :
19207 glibcxx_cv_int64_t_long=yes
19208 else
19209 glibcxx_cv_int64_t_long=no
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216 if test $glibcxx_cv_int64_t_long = yes; then
19218 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19221 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19225 $as_echo_n "checking for int64_t as long long... " >&6; }
19226 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19227 $as_echo_n "(cached) " >&6
19228 else
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <stdint.h>
19233 template<typename, typename> struct same { enum { value = -1 }; };
19234 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19235 int array[same<int64_t, long long>::value];
19237 main ()
19241 return 0;
19243 _ACEOF
19244 if ac_fn_cxx_try_compile "$LINENO"; then :
19245 glibcxx_cv_int64_t_long_long=yes
19246 else
19247 glibcxx_cv_int64_t_long_long=no
19249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 if test $glibcxx_cv_int64_t_long_long = yes; then
19256 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19259 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19263 ac_ext=c
19264 ac_cpp='$CPP $CPPFLAGS'
19265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19271 # For LFS support.
19274 ac_ext=cpp
19275 ac_cpp='$CXXCPP $CPPFLAGS'
19276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19280 ac_save_CXXFLAGS="$CXXFLAGS"
19281 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19283 $as_echo_n "checking for LFS support... " >&6; }
19284 if test "${glibcxx_cv_LFS+set}" = set; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19288 if test x$gcc_no_link = xyes; then
19289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19291 #include <unistd.h>
19292 #include <stdio.h>
19293 #include <sys/stat.h>
19296 main ()
19298 FILE* fp;
19299 fopen64("t", "w");
19300 fseeko64(fp, 0, SEEK_CUR);
19301 ftello64(fp);
19302 lseek64(1, 0, SEEK_CUR);
19303 struct stat64 buf;
19304 fstat64(1, &buf);
19306 return 0;
19308 _ACEOF
19309 if ac_fn_cxx_try_compile "$LINENO"; then :
19310 glibcxx_cv_LFS=yes
19311 else
19312 glibcxx_cv_LFS=no
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19315 else
19316 if test x$gcc_no_link = xyes; then
19317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19321 #include <unistd.h>
19322 #include <stdio.h>
19323 #include <sys/stat.h>
19326 main ()
19328 FILE* fp;
19329 fopen64("t", "w");
19330 fseeko64(fp, 0, SEEK_CUR);
19331 ftello64(fp);
19332 lseek64(1, 0, SEEK_CUR);
19333 struct stat64 buf;
19334 fstat64(1, &buf);
19336 return 0;
19338 _ACEOF
19339 if ac_fn_cxx_try_link "$LINENO"; then :
19340 glibcxx_cv_LFS=yes
19341 else
19342 glibcxx_cv_LFS=no
19344 rm -f core conftest.err conftest.$ac_objext \
19345 conftest$ac_exeext conftest.$ac_ext
19350 if test $glibcxx_cv_LFS = yes; then
19352 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19356 $as_echo "$glibcxx_cv_LFS" >&6; }
19357 CXXFLAGS="$ac_save_CXXFLAGS"
19358 ac_ext=c
19359 ac_cpp='$CPP $CPPFLAGS'
19360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19366 # For showmanyc_helper().
19367 for ac_header in sys/ioctl.h sys/filio.h
19368 do :
19369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19370 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19371 eval as_val=\$$as_ac_Header
19372 if test "x$as_val" = x""yes; then :
19373 cat >>confdefs.h <<_ACEOF
19374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19375 _ACEOF
19379 done
19384 ac_ext=cpp
19385 ac_cpp='$CXXCPP $CPPFLAGS'
19386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19390 ac_save_CXXFLAGS="$CXXFLAGS"
19391 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19394 $as_echo_n "checking for poll... " >&6; }
19395 if test "${glibcxx_cv_POLL+set}" = set; then :
19396 $as_echo_n "(cached) " >&6
19397 else
19399 if test x$gcc_no_link = xyes; then
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 #include <poll.h>
19404 main ()
19406 struct pollfd pfd[1];
19407 pfd[0].events = POLLIN;
19408 poll(pfd, 1, 0);
19410 return 0;
19412 _ACEOF
19413 if ac_fn_cxx_try_compile "$LINENO"; then :
19414 glibcxx_cv_POLL=yes
19415 else
19416 glibcxx_cv_POLL=no
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 else
19420 if test x$gcc_no_link = xyes; then
19421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19425 #include <poll.h>
19427 main ()
19429 struct pollfd pfd[1];
19430 pfd[0].events = POLLIN;
19431 poll(pfd, 1, 0);
19433 return 0;
19435 _ACEOF
19436 if ac_fn_cxx_try_link "$LINENO"; then :
19437 glibcxx_cv_POLL=yes
19438 else
19439 glibcxx_cv_POLL=no
19441 rm -f core conftest.err conftest.$ac_objext \
19442 conftest$ac_exeext conftest.$ac_ext
19447 if test $glibcxx_cv_POLL = yes; then
19449 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19453 $as_echo "$glibcxx_cv_POLL" >&6; }
19455 CXXFLAGS="$ac_save_CXXFLAGS"
19456 ac_ext=c
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19466 ac_ext=cpp
19467 ac_cpp='$CXXCPP $CPPFLAGS'
19468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19472 ac_save_CXXFLAGS="$CXXFLAGS"
19473 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19476 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19477 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19478 $as_echo_n "(cached) " >&6
19479 else
19481 if test x$gcc_no_link = xyes; then
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19484 #include <sys/stat.h>
19486 main ()
19488 struct stat buffer;
19489 fstat(0, &buffer);
19490 S_ISREG(buffer.st_mode);
19492 return 0;
19494 _ACEOF
19495 if ac_fn_cxx_try_compile "$LINENO"; then :
19496 glibcxx_cv_S_ISREG=yes
19497 else
19498 glibcxx_cv_S_ISREG=no
19500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19501 else
19502 if test x$gcc_no_link = xyes; then
19503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <sys/stat.h>
19509 main ()
19511 struct stat buffer;
19512 fstat(0, &buffer);
19513 S_ISREG(buffer.st_mode);
19515 return 0;
19517 _ACEOF
19518 if ac_fn_cxx_try_link "$LINENO"; then :
19519 glibcxx_cv_S_ISREG=yes
19520 else
19521 glibcxx_cv_S_ISREG=no
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19529 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19530 $as_echo_n "(cached) " >&6
19531 else
19533 if test x$gcc_no_link = xyes; then
19534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19536 #include <sys/stat.h>
19538 main ()
19540 struct stat buffer;
19541 fstat(0, &buffer);
19542 S_IFREG & buffer.st_mode;
19544 return 0;
19546 _ACEOF
19547 if ac_fn_cxx_try_compile "$LINENO"; then :
19548 glibcxx_cv_S_IFREG=yes
19549 else
19550 glibcxx_cv_S_IFREG=no
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 else
19554 if test x$gcc_no_link = xyes; then
19555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 #include <sys/stat.h>
19561 main ()
19563 struct stat buffer;
19564 fstat(0, &buffer);
19565 S_IFREG & buffer.st_mode;
19567 return 0;
19569 _ACEOF
19570 if ac_fn_cxx_try_link "$LINENO"; then :
19571 glibcxx_cv_S_IFREG=yes
19572 else
19573 glibcxx_cv_S_IFREG=no
19575 rm -f core conftest.err conftest.$ac_objext \
19576 conftest$ac_exeext conftest.$ac_ext
19581 res=no
19582 if test $glibcxx_cv_S_ISREG = yes; then
19584 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19586 res=S_ISREG
19587 elif test $glibcxx_cv_S_IFREG = yes; then
19589 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19591 res=S_IFREG
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19594 $as_echo "$res" >&6; }
19596 CXXFLAGS="$ac_save_CXXFLAGS"
19597 ac_ext=c
19598 ac_cpp='$CPP $CPPFLAGS'
19599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19605 # For xsputn_2().
19606 for ac_header in sys/uio.h
19607 do :
19608 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19609 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19610 cat >>confdefs.h <<_ACEOF
19611 #define HAVE_SYS_UIO_H 1
19612 _ACEOF
19616 done
19621 ac_ext=cpp
19622 ac_cpp='$CXXCPP $CPPFLAGS'
19623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19627 ac_save_CXXFLAGS="$CXXFLAGS"
19628 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19631 $as_echo_n "checking for writev... " >&6; }
19632 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19633 $as_echo_n "(cached) " >&6
19634 else
19636 if test x$gcc_no_link = xyes; then
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19639 #include <sys/uio.h>
19641 main ()
19643 struct iovec iov[2];
19644 writev(0, iov, 0);
19646 return 0;
19648 _ACEOF
19649 if ac_fn_cxx_try_compile "$LINENO"; then :
19650 glibcxx_cv_WRITEV=yes
19651 else
19652 glibcxx_cv_WRITEV=no
19654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19655 else
19656 if test x$gcc_no_link = xyes; then
19657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19660 /* end confdefs.h. */
19661 #include <sys/uio.h>
19663 main ()
19665 struct iovec iov[2];
19666 writev(0, iov, 0);
19668 return 0;
19670 _ACEOF
19671 if ac_fn_cxx_try_link "$LINENO"; then :
19672 glibcxx_cv_WRITEV=yes
19673 else
19674 glibcxx_cv_WRITEV=no
19676 rm -f core conftest.err conftest.$ac_objext \
19677 conftest$ac_exeext conftest.$ac_ext
19682 if test $glibcxx_cv_WRITEV = yes; then
19684 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19688 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19690 CXXFLAGS="$ac_save_CXXFLAGS"
19691 ac_ext=c
19692 ac_cpp='$CPP $CPPFLAGS'
19693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19699 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19700 # so that the check is done with the C compiler (not C++).
19701 # Checking with C++ can break a canadian cross build if either
19702 # file does not exist in C but does in C++.
19703 for ac_header in fenv.h complex.h
19704 do :
19705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19706 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19707 eval as_val=\$$as_ac_Header
19708 if test "x$as_val" = x""yes; then :
19709 cat >>confdefs.h <<_ACEOF
19710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19711 _ACEOF
19715 done
19718 # For C99 support to TR1.
19722 ac_ext=cpp
19723 ac_cpp='$CXXCPP $CPPFLAGS'
19724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19729 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19730 # undefined and fake C99 facilities may be spuriously enabled.
19731 ac_save_CXXFLAGS="$CXXFLAGS"
19732 CXXFLAGS="$CXXFLAGS -std=c++98"
19734 # Check for the existence of <complex.h> complex math functions used
19735 # by tr1/complex.
19736 for ac_header in complex.h
19737 do :
19738 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19739 if test "x$ac_cv_header_complex_h" = x""yes; then :
19740 cat >>confdefs.h <<_ACEOF
19741 #define HAVE_COMPLEX_H 1
19742 _ACEOF
19743 ac_has_complex_h=yes
19744 else
19745 ac_has_complex_h=no
19748 done
19750 ac_c99_complex_tr1=no;
19751 if test x"$ac_has_complex_h" = x"yes"; then
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19753 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19756 #include <complex.h>
19758 main ()
19760 typedef __complex__ float float_type; float_type tmpf;
19761 cacosf(tmpf);
19762 casinf(tmpf);
19763 catanf(tmpf);
19764 cacoshf(tmpf);
19765 casinhf(tmpf);
19766 catanhf(tmpf);
19767 typedef __complex__ double double_type; double_type tmpd;
19768 cacos(tmpd);
19769 casin(tmpd);
19770 catan(tmpd);
19771 cacosh(tmpd);
19772 casinh(tmpd);
19773 catanh(tmpd);
19774 typedef __complex__ long double ld_type; ld_type tmpld;
19775 cacosl(tmpld);
19776 casinl(tmpld);
19777 catanl(tmpld);
19778 cacoshl(tmpld);
19779 casinhl(tmpld);
19780 catanhl(tmpld);
19783 return 0;
19785 _ACEOF
19786 if ac_fn_cxx_try_compile "$LINENO"; then :
19787 ac_c99_complex_tr1=yes
19788 else
19789 ac_c99_complex_tr1=no
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19794 $as_echo "$ac_c99_complex_tr1" >&6; }
19795 if test x"$ac_c99_complex_tr1" = x"yes"; then
19797 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19801 # Check for the existence of <ctype.h> functions.
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19803 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19804 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19805 $as_echo_n "(cached) " >&6
19806 else
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19810 #include <ctype.h>
19812 main ()
19814 int ch;
19815 int ret;
19816 ret = isblank(ch);
19819 return 0;
19821 _ACEOF
19822 if ac_fn_cxx_try_compile "$LINENO"; then :
19823 glibcxx_cv_c99_ctype_tr1=yes
19824 else
19825 glibcxx_cv_c99_ctype_tr1=no
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19832 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19833 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19835 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19839 # Check for the existence of <fenv.h> functions.
19840 for ac_header in fenv.h
19841 do :
19842 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19843 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19844 cat >>confdefs.h <<_ACEOF
19845 #define HAVE_FENV_H 1
19846 _ACEOF
19847 ac_has_fenv_h=yes
19848 else
19849 ac_has_fenv_h=no
19852 done
19854 ac_c99_fenv_tr1=no;
19855 if test x"$ac_has_fenv_h" = x"yes"; then
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19857 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19860 #include <fenv.h>
19862 main ()
19864 int except, mode;
19865 fexcept_t* pflag;
19866 fenv_t* penv;
19867 int ret;
19868 ret = feclearexcept(except);
19869 ret = fegetexceptflag(pflag, except);
19870 ret = feraiseexcept(except);
19871 ret = fesetexceptflag(pflag, except);
19872 ret = fetestexcept(except);
19873 ret = fegetround();
19874 ret = fesetround(mode);
19875 ret = fegetenv(penv);
19876 ret = feholdexcept(penv);
19877 ret = fesetenv(penv);
19878 ret = feupdateenv(penv);
19881 return 0;
19883 _ACEOF
19884 if ac_fn_cxx_try_compile "$LINENO"; then :
19885 ac_c99_fenv_tr1=yes
19886 else
19887 ac_c99_fenv_tr1=no
19889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19892 $as_echo "$ac_c99_fenv_tr1" >&6; }
19893 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19895 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19899 # Check for the existence of <stdint.h> types.
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19901 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19902 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19903 $as_echo_n "(cached) " >&6
19904 else
19906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19908 #define __STDC_LIMIT_MACROS
19909 #define __STDC_CONSTANT_MACROS
19910 #include <stdint.h>
19912 main ()
19914 typedef int8_t my_int8_t;
19915 my_int8_t i8 = INT8_MIN;
19916 i8 = INT8_MAX;
19917 typedef int16_t my_int16_t;
19918 my_int16_t i16 = INT16_MIN;
19919 i16 = INT16_MAX;
19920 typedef int32_t my_int32_t;
19921 my_int32_t i32 = INT32_MIN;
19922 i32 = INT32_MAX;
19923 typedef int64_t my_int64_t;
19924 my_int64_t i64 = INT64_MIN;
19925 i64 = INT64_MAX;
19926 typedef int_fast8_t my_int_fast8_t;
19927 my_int_fast8_t if8 = INT_FAST8_MIN;
19928 if8 = INT_FAST8_MAX;
19929 typedef int_fast16_t my_int_fast16_t;
19930 my_int_fast16_t if16 = INT_FAST16_MIN;
19931 if16 = INT_FAST16_MAX;
19932 typedef int_fast32_t my_int_fast32_t;
19933 my_int_fast32_t if32 = INT_FAST32_MIN;
19934 if32 = INT_FAST32_MAX;
19935 typedef int_fast64_t my_int_fast64_t;
19936 my_int_fast64_t if64 = INT_FAST64_MIN;
19937 if64 = INT_FAST64_MAX;
19938 typedef int_least8_t my_int_least8_t;
19939 my_int_least8_t il8 = INT_LEAST8_MIN;
19940 il8 = INT_LEAST8_MAX;
19941 typedef int_least16_t my_int_least16_t;
19942 my_int_least16_t il16 = INT_LEAST16_MIN;
19943 il16 = INT_LEAST16_MAX;
19944 typedef int_least32_t my_int_least32_t;
19945 my_int_least32_t il32 = INT_LEAST32_MIN;
19946 il32 = INT_LEAST32_MAX;
19947 typedef int_least64_t my_int_least64_t;
19948 my_int_least64_t il64 = INT_LEAST64_MIN;
19949 il64 = INT_LEAST64_MAX;
19950 typedef intmax_t my_intmax_t;
19951 my_intmax_t im = INTMAX_MAX;
19952 im = INTMAX_MIN;
19953 typedef intptr_t my_intptr_t;
19954 my_intptr_t ip = INTPTR_MAX;
19955 ip = INTPTR_MIN;
19956 typedef uint8_t my_uint8_t;
19957 my_uint8_t ui8 = UINT8_MAX;
19958 ui8 = UINT8_MAX;
19959 typedef uint16_t my_uint16_t;
19960 my_uint16_t ui16 = UINT16_MAX;
19961 ui16 = UINT16_MAX;
19962 typedef uint32_t my_uint32_t;
19963 my_uint32_t ui32 = UINT32_MAX;
19964 ui32 = UINT32_MAX;
19965 typedef uint64_t my_uint64_t;
19966 my_uint64_t ui64 = UINT64_MAX;
19967 ui64 = UINT64_MAX;
19968 typedef uint_fast8_t my_uint_fast8_t;
19969 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19970 uif8 = UINT_FAST8_MAX;
19971 typedef uint_fast16_t my_uint_fast16_t;
19972 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19973 uif16 = UINT_FAST16_MAX;
19974 typedef uint_fast32_t my_uint_fast32_t;
19975 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19976 uif32 = UINT_FAST32_MAX;
19977 typedef uint_fast64_t my_uint_fast64_t;
19978 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19979 uif64 = UINT_FAST64_MAX;
19980 typedef uint_least8_t my_uint_least8_t;
19981 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19982 uil8 = UINT_LEAST8_MAX;
19983 typedef uint_least16_t my_uint_least16_t;
19984 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19985 uil16 = UINT_LEAST16_MAX;
19986 typedef uint_least32_t my_uint_least32_t;
19987 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19988 uil32 = UINT_LEAST32_MAX;
19989 typedef uint_least64_t my_uint_least64_t;
19990 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19991 uil64 = UINT_LEAST64_MAX;
19992 typedef uintmax_t my_uintmax_t;
19993 my_uintmax_t uim = UINTMAX_MAX;
19994 uim = UINTMAX_MAX;
19995 typedef uintptr_t my_uintptr_t;
19996 my_uintptr_t uip = UINTPTR_MAX;
19997 uip = UINTPTR_MAX;
20000 return 0;
20002 _ACEOF
20003 if ac_fn_cxx_try_compile "$LINENO"; then :
20004 glibcxx_cv_c99_stdint_tr1=yes
20005 else
20006 glibcxx_cv_c99_stdint_tr1=no
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20013 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20014 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20016 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20020 # Check for the existence of <math.h> functions.
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20022 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20023 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20024 $as_echo_n "(cached) " >&6
20025 else
20027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20028 /* end confdefs.h. */
20029 #include <math.h>
20031 main ()
20033 typedef double_t my_double_t;
20034 typedef float_t my_float_t;
20035 acosh(0.0);
20036 acoshf(0.0f);
20037 acoshl(0.0l);
20038 asinh(0.0);
20039 asinhf(0.0f);
20040 asinhl(0.0l);
20041 atanh(0.0);
20042 atanhf(0.0f);
20043 atanhl(0.0l);
20044 cbrt(0.0);
20045 cbrtf(0.0f);
20046 cbrtl(0.0l);
20047 copysign(0.0, 0.0);
20048 copysignf(0.0f, 0.0f);
20049 copysignl(0.0l, 0.0l);
20050 erf(0.0);
20051 erff(0.0f);
20052 erfl(0.0l);
20053 erfc(0.0);
20054 erfcf(0.0f);
20055 erfcl(0.0l);
20056 exp2(0.0);
20057 exp2f(0.0f);
20058 exp2l(0.0l);
20059 expm1(0.0);
20060 expm1f(0.0f);
20061 expm1l(0.0l);
20062 fdim(0.0, 0.0);
20063 fdimf(0.0f, 0.0f);
20064 fdiml(0.0l, 0.0l);
20065 fma(0.0, 0.0, 0.0);
20066 fmaf(0.0f, 0.0f, 0.0f);
20067 fmal(0.0l, 0.0l, 0.0l);
20068 fmax(0.0, 0.0);
20069 fmaxf(0.0f, 0.0f);
20070 fmaxl(0.0l, 0.0l);
20071 fmin(0.0, 0.0);
20072 fminf(0.0f, 0.0f);
20073 fminl(0.0l, 0.0l);
20074 hypot(0.0, 0.0);
20075 hypotf(0.0f, 0.0f);
20076 hypotl(0.0l, 0.0l);
20077 ilogb(0.0);
20078 ilogbf(0.0f);
20079 ilogbl(0.0l);
20080 lgamma(0.0);
20081 lgammaf(0.0f);
20082 lgammal(0.0l);
20083 #ifndef __APPLE__ /* see below */
20084 llrint(0.0);
20085 llrintf(0.0f);
20086 llrintl(0.0l);
20087 llround(0.0);
20088 llroundf(0.0f);
20089 llroundl(0.0l);
20090 #endif
20091 log1p(0.0);
20092 log1pf(0.0f);
20093 log1pl(0.0l);
20094 log2(0.0);
20095 log2f(0.0f);
20096 log2l(0.0l);
20097 logb(0.0);
20098 logbf(0.0f);
20099 logbl(0.0l);
20100 lrint(0.0);
20101 lrintf(0.0f);
20102 lrintl(0.0l);
20103 lround(0.0);
20104 lroundf(0.0f);
20105 lroundl(0.0l);
20106 nan(0);
20107 nanf(0);
20108 nanl(0);
20109 nearbyint(0.0);
20110 nearbyintf(0.0f);
20111 nearbyintl(0.0l);
20112 nextafter(0.0, 0.0);
20113 nextafterf(0.0f, 0.0f);
20114 nextafterl(0.0l, 0.0l);
20115 nexttoward(0.0, 0.0);
20116 nexttowardf(0.0f, 0.0f);
20117 nexttowardl(0.0l, 0.0l);
20118 remainder(0.0, 0.0);
20119 remainderf(0.0f, 0.0f);
20120 remainderl(0.0l, 0.0l);
20121 remquo(0.0, 0.0, 0);
20122 remquof(0.0f, 0.0f, 0);
20123 remquol(0.0l, 0.0l, 0);
20124 rint(0.0);
20125 rintf(0.0f);
20126 rintl(0.0l);
20127 round(0.0);
20128 roundf(0.0f);
20129 roundl(0.0l);
20130 scalbln(0.0, 0l);
20131 scalblnf(0.0f, 0l);
20132 scalblnl(0.0l, 0l);
20133 scalbn(0.0, 0);
20134 scalbnf(0.0f, 0);
20135 scalbnl(0.0l, 0);
20136 tgamma(0.0);
20137 tgammaf(0.0f);
20138 tgammal(0.0l);
20139 trunc(0.0);
20140 truncf(0.0f);
20141 truncl(0.0l);
20144 return 0;
20146 _ACEOF
20147 if ac_fn_cxx_try_compile "$LINENO"; then :
20148 glibcxx_cv_c99_math_tr1=yes
20149 else
20150 glibcxx_cv_c99_math_tr1=no
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20157 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20158 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20160 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20163 case "${target_os}" in
20164 darwin*)
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20166 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20167 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20168 $as_echo_n "(cached) " >&6
20169 else
20171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20172 /* end confdefs.h. */
20173 #include <math.h>
20175 main ()
20177 llrint(0.0);
20178 llrintf(0.0f);
20179 llrintl(0.0l);
20180 llround(0.0);
20181 llroundf(0.0f);
20182 llroundl(0.0l);
20185 return 0;
20187 _ACEOF
20188 if ac_fn_cxx_try_compile "$LINENO"; then :
20189 glibcxx_cv_c99_math_llround=yes
20190 else
20191 glibcxx_cv_c99_math_llround=no
20193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20198 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20200 esac
20201 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20203 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20208 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20209 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20210 ac_c99_inttypes_tr1=no;
20211 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20213 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20216 #include <inttypes.h>
20218 main ()
20220 intmax_t i, numer, denom, base;
20221 const char* s;
20222 char** endptr;
20223 intmax_t ret = imaxabs(i);
20224 imaxdiv_t dret = imaxdiv(numer, denom);
20225 ret = strtoimax(s, endptr, base);
20226 uintmax_t uret = strtoumax(s, endptr, base);
20229 return 0;
20231 _ACEOF
20232 if ac_fn_cxx_try_compile "$LINENO"; then :
20233 ac_c99_inttypes_tr1=yes
20234 else
20235 ac_c99_inttypes_tr1=no
20237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20240 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20241 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20243 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20247 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20248 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20249 ac_c99_inttypes_wchar_t_tr1=no;
20250 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20252 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h. */
20255 #include <inttypes.h>
20257 main ()
20259 intmax_t base;
20260 const wchar_t* s;
20261 wchar_t** endptr;
20262 intmax_t ret = wcstoimax(s, endptr, base);
20263 uintmax_t uret = wcstoumax(s, endptr, base);
20266 return 0;
20268 _ACEOF
20269 if ac_fn_cxx_try_compile "$LINENO"; then :
20270 ac_c99_inttypes_wchar_t_tr1=yes
20271 else
20272 ac_c99_inttypes_wchar_t_tr1=no
20274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20277 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20278 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20280 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20284 # Check for the existence of the <stdbool.h> header.
20285 for ac_header in stdbool.h
20286 do :
20287 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20288 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20289 cat >>confdefs.h <<_ACEOF
20290 #define HAVE_STDBOOL_H 1
20291 _ACEOF
20295 done
20298 # Check for the existence of the <stdalign.h> header.
20299 for ac_header in stdalign.h
20300 do :
20301 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20302 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20303 cat >>confdefs.h <<_ACEOF
20304 #define HAVE_STDALIGN_H 1
20305 _ACEOF
20309 done
20312 CXXFLAGS="$ac_save_CXXFLAGS"
20313 ac_ext=c
20314 ac_cpp='$CPP $CPPFLAGS'
20315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20321 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20325 $as_echo_n "checking for the value of EOF... " >&6; }
20326 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20327 $as_echo_n "(cached) " >&6
20328 else
20330 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20332 else
20333 as_fn_error "computing EOF failed" "$LINENO" 5
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20339 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20341 cat >>confdefs.h <<_ACEOF
20342 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20343 _ACEOF
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20347 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20348 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20349 $as_echo_n "(cached) " >&6
20350 else
20352 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20354 else
20355 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20361 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20363 cat >>confdefs.h <<_ACEOF
20364 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20365 _ACEOF
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20369 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20370 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20371 $as_echo_n "(cached) " >&6
20372 else
20374 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20376 else
20377 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20383 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20385 cat >>confdefs.h <<_ACEOF
20386 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20387 _ACEOF
20391 # For gettimeofday support.
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20395 $as_echo_n "checking for gettimeofday... " >&6; }
20398 ac_ext=cpp
20399 ac_cpp='$CXXCPP $CPPFLAGS'
20400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20404 ac_save_CXXFLAGS="$CXXFLAGS"
20405 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20407 ac_has_gettimeofday=no;
20408 for ac_header in sys/time.h
20409 do :
20410 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20411 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20412 cat >>confdefs.h <<_ACEOF
20413 #define HAVE_SYS_TIME_H 1
20414 _ACEOF
20415 ac_has_sys_time_h=yes
20416 else
20417 ac_has_sys_time_h=no
20420 done
20422 if test x"$ac_has_sys_time_h" = x"yes"; then
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20424 $as_echo_n "checking for gettimeofday... " >&6; }
20425 if test x$gcc_no_link = xyes; then
20426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20427 /* end confdefs.h. */
20428 #include <sys/time.h>
20430 main ()
20432 timeval tv; gettimeofday(&tv, 0);
20434 return 0;
20436 _ACEOF
20437 if ac_fn_cxx_try_compile "$LINENO"; then :
20438 ac_has_gettimeofday=yes
20439 else
20440 ac_has_gettimeofday=no
20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 else
20444 if test x$gcc_no_link = xyes; then
20445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20448 /* end confdefs.h. */
20449 #include <sys/time.h>
20451 main ()
20453 timeval tv; gettimeofday(&tv, 0);
20455 return 0;
20457 _ACEOF
20458 if ac_fn_cxx_try_link "$LINENO"; then :
20459 ac_has_gettimeofday=yes
20460 else
20461 ac_has_gettimeofday=no
20463 rm -f core conftest.err conftest.$ac_objext \
20464 conftest$ac_exeext conftest.$ac_ext
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20468 $as_echo "$ac_has_gettimeofday" >&6; }
20471 if test x"$ac_has_gettimeofday" = x"yes"; then
20473 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20477 CXXFLAGS="$ac_save_CXXFLAGS"
20478 ac_ext=c
20479 ac_cpp='$CPP $CPPFLAGS'
20480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20486 # For clock_gettime, nanosleep and sched_yield support.
20489 # Check whether --enable-libstdcxx-time was given.
20490 if test "${enable_libstdcxx_time+set}" = set; then :
20491 enableval=$enable_libstdcxx_time;
20492 case "$enableval" in
20493 yes|no|rt) ;;
20494 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20495 esac
20497 else
20498 enable_libstdcxx_time=auto
20504 ac_ext=cpp
20505 ac_cpp='$CXXCPP $CPPFLAGS'
20506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20510 ac_save_CXXFLAGS="$CXXFLAGS"
20511 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20512 ac_save_LIBS="$LIBS"
20514 ac_has_clock_monotonic=no
20515 ac_has_clock_realtime=no
20516 ac_has_nanosleep=no
20517 ac_has_sched_yield=no
20519 if test x"$enable_libstdcxx_time" = x"auto"; then
20521 case "${target_os}" in
20522 cygwin*)
20523 ac_has_nanosleep=yes
20525 darwin*)
20526 ac_has_nanosleep=yes
20527 ac_has_sched_yield=yes
20529 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20531 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20533 /* end confdefs.h. */
20534 #include <features.h>
20536 main ()
20539 #if ! __GLIBC_PREREQ(2, 17)
20540 #error
20541 #endif
20544 return 0;
20546 _ACEOF
20547 if ac_fn_cxx_try_compile "$LINENO"; then :
20548 glibcxx_glibc217=yes
20549 else
20550 glibcxx_glibc217=no
20552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20554 $as_echo "$glibcxx_glibc217" >&6; }
20556 if test x"$glibcxx_glibc217" = x"yes"; then
20557 ac_has_clock_monotonic=yes
20558 ac_has_clock_realtime=yes
20560 ac_has_nanosleep=yes
20561 ac_has_sched_yield=yes
20563 freebsd*|netbsd*|dragonfly*|rtems*)
20564 ac_has_clock_monotonic=yes
20565 ac_has_clock_realtime=yes
20566 ac_has_nanosleep=yes
20567 ac_has_sched_yield=yes
20569 openbsd*)
20570 ac_has_clock_monotonic=yes
20571 ac_has_clock_realtime=yes
20572 ac_has_nanosleep=yes
20574 solaris*)
20575 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20576 ac_has_clock_monotonic=yes
20577 ac_has_clock_realtime=yes
20578 ac_has_nanosleep=yes
20579 ac_has_sched_yield=yes
20581 esac
20583 elif test x"$enable_libstdcxx_time" != x"no"; then
20585 if test x"$enable_libstdcxx_time" = x"rt"; then
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20587 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20588 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20589 $as_echo_n "(cached) " >&6
20590 else
20591 ac_func_search_save_LIBS=$LIBS
20592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h. */
20595 /* Override any GCC internal prototype to avoid an error.
20596 Use char because int might match the return type of a GCC
20597 builtin and then its argument prototype would still apply. */
20598 #ifdef __cplusplus
20599 extern "C"
20600 #endif
20601 char clock_gettime ();
20603 main ()
20605 return clock_gettime ();
20607 return 0;
20609 _ACEOF
20610 for ac_lib in '' rt posix4; do
20611 if test -z "$ac_lib"; then
20612 ac_res="none required"
20613 else
20614 ac_res=-l$ac_lib
20615 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20617 if test x$gcc_no_link = xyes; then
20618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20620 if ac_fn_cxx_try_link "$LINENO"; then :
20621 ac_cv_search_clock_gettime=$ac_res
20623 rm -f core conftest.err conftest.$ac_objext \
20624 conftest$ac_exeext
20625 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20626 break
20628 done
20629 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20631 else
20632 ac_cv_search_clock_gettime=no
20634 rm conftest.$ac_ext
20635 LIBS=$ac_func_search_save_LIBS
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20638 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20639 ac_res=$ac_cv_search_clock_gettime
20640 if test "$ac_res" != no; then :
20641 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20646 $as_echo_n "checking for library containing nanosleep... " >&6; }
20647 if test "${ac_cv_search_nanosleep+set}" = set; then :
20648 $as_echo_n "(cached) " >&6
20649 else
20650 ac_func_search_save_LIBS=$LIBS
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20654 /* Override any GCC internal prototype to avoid an error.
20655 Use char because int might match the return type of a GCC
20656 builtin and then its argument prototype would still apply. */
20657 #ifdef __cplusplus
20658 extern "C"
20659 #endif
20660 char nanosleep ();
20662 main ()
20664 return nanosleep ();
20666 return 0;
20668 _ACEOF
20669 for ac_lib in '' rt posix4; do
20670 if test -z "$ac_lib"; then
20671 ac_res="none required"
20672 else
20673 ac_res=-l$ac_lib
20674 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20676 if test x$gcc_no_link = xyes; then
20677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20679 if ac_fn_cxx_try_link "$LINENO"; then :
20680 ac_cv_search_nanosleep=$ac_res
20682 rm -f core conftest.err conftest.$ac_objext \
20683 conftest$ac_exeext
20684 if test "${ac_cv_search_nanosleep+set}" = set; then :
20685 break
20687 done
20688 if test "${ac_cv_search_nanosleep+set}" = set; then :
20690 else
20691 ac_cv_search_nanosleep=no
20693 rm conftest.$ac_ext
20694 LIBS=$ac_func_search_save_LIBS
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20697 $as_echo "$ac_cv_search_nanosleep" >&6; }
20698 ac_res=$ac_cv_search_nanosleep
20699 if test "$ac_res" != no; then :
20700 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20704 else
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20706 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20707 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20710 ac_func_search_save_LIBS=$LIBS
20711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20714 /* Override any GCC internal prototype to avoid an error.
20715 Use char because int might match the return type of a GCC
20716 builtin and then its argument prototype would still apply. */
20717 #ifdef __cplusplus
20718 extern "C"
20719 #endif
20720 char clock_gettime ();
20722 main ()
20724 return clock_gettime ();
20726 return 0;
20728 _ACEOF
20729 for ac_lib in '' posix4; do
20730 if test -z "$ac_lib"; then
20731 ac_res="none required"
20732 else
20733 ac_res=-l$ac_lib
20734 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20736 if test x$gcc_no_link = xyes; then
20737 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20739 if ac_fn_cxx_try_link "$LINENO"; then :
20740 ac_cv_search_clock_gettime=$ac_res
20742 rm -f core conftest.err conftest.$ac_objext \
20743 conftest$ac_exeext
20744 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20745 break
20747 done
20748 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20750 else
20751 ac_cv_search_clock_gettime=no
20753 rm conftest.$ac_ext
20754 LIBS=$ac_func_search_save_LIBS
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20757 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20758 ac_res=$ac_cv_search_clock_gettime
20759 if test "$ac_res" != no; then :
20760 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20765 $as_echo_n "checking for library containing nanosleep... " >&6; }
20766 if test "${ac_cv_search_nanosleep+set}" = set; then :
20767 $as_echo_n "(cached) " >&6
20768 else
20769 ac_func_search_save_LIBS=$LIBS
20770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771 /* end confdefs.h. */
20773 /* Override any GCC internal prototype to avoid an error.
20774 Use char because int might match the return type of a GCC
20775 builtin and then its argument prototype would still apply. */
20776 #ifdef __cplusplus
20777 extern "C"
20778 #endif
20779 char nanosleep ();
20781 main ()
20783 return nanosleep ();
20785 return 0;
20787 _ACEOF
20788 for ac_lib in '' posix4; do
20789 if test -z "$ac_lib"; then
20790 ac_res="none required"
20791 else
20792 ac_res=-l$ac_lib
20793 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20795 if test x$gcc_no_link = xyes; then
20796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20798 if ac_fn_cxx_try_link "$LINENO"; then :
20799 ac_cv_search_nanosleep=$ac_res
20801 rm -f core conftest.err conftest.$ac_objext \
20802 conftest$ac_exeext
20803 if test "${ac_cv_search_nanosleep+set}" = set; then :
20804 break
20806 done
20807 if test "${ac_cv_search_nanosleep+set}" = set; then :
20809 else
20810 ac_cv_search_nanosleep=no
20812 rm conftest.$ac_ext
20813 LIBS=$ac_func_search_save_LIBS
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20816 $as_echo "$ac_cv_search_nanosleep" >&6; }
20817 ac_res=$ac_cv_search_nanosleep
20818 if test "$ac_res" != no; then :
20819 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20825 case "$ac_cv_search_clock_gettime" in
20826 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20828 esac
20829 case "$ac_cv_search_nanosleep" in
20830 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20832 esac
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20835 $as_echo_n "checking for library containing sched_yield... " >&6; }
20836 if test "${ac_cv_search_sched_yield+set}" = set; then :
20837 $as_echo_n "(cached) " >&6
20838 else
20839 ac_func_search_save_LIBS=$LIBS
20840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20841 /* end confdefs.h. */
20843 /* Override any GCC internal prototype to avoid an error.
20844 Use char because int might match the return type of a GCC
20845 builtin and then its argument prototype would still apply. */
20846 #ifdef __cplusplus
20847 extern "C"
20848 #endif
20849 char sched_yield ();
20851 main ()
20853 return sched_yield ();
20855 return 0;
20857 _ACEOF
20858 for ac_lib in '' rt posix4; do
20859 if test -z "$ac_lib"; then
20860 ac_res="none required"
20861 else
20862 ac_res=-l$ac_lib
20863 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20865 if test x$gcc_no_link = xyes; then
20866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20868 if ac_fn_cxx_try_link "$LINENO"; then :
20869 ac_cv_search_sched_yield=$ac_res
20871 rm -f core conftest.err conftest.$ac_objext \
20872 conftest$ac_exeext
20873 if test "${ac_cv_search_sched_yield+set}" = set; then :
20874 break
20876 done
20877 if test "${ac_cv_search_sched_yield+set}" = set; then :
20879 else
20880 ac_cv_search_sched_yield=no
20882 rm conftest.$ac_ext
20883 LIBS=$ac_func_search_save_LIBS
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20886 $as_echo "$ac_cv_search_sched_yield" >&6; }
20887 ac_res=$ac_cv_search_sched_yield
20888 if test "$ac_res" != no; then :
20889 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20894 case "$ac_cv_search_sched_yield" in
20895 -lposix4*)
20896 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20897 ac_has_sched_yield=yes
20899 -lrt*)
20900 if test x"$enable_libstdcxx_time" = x"rt"; then
20901 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20902 ac_has_sched_yield=yes
20906 ac_has_sched_yield=yes
20908 esac
20910 for ac_header in unistd.h
20911 do :
20912 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20913 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20914 cat >>confdefs.h <<_ACEOF
20915 #define HAVE_UNISTD_H 1
20916 _ACEOF
20917 ac_has_unistd_h=yes
20918 else
20919 ac_has_unistd_h=no
20922 done
20925 if test x"$ac_has_unistd_h" = x"yes"; then
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20927 $as_echo_n "checking for monotonic clock... " >&6; }
20928 if test x$gcc_no_link = xyes; then
20929 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #include <unistd.h>
20934 #include <time.h>
20937 main ()
20939 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20940 timespec tp;
20941 #endif
20942 clock_gettime(CLOCK_MONOTONIC, &tp);
20945 return 0;
20947 _ACEOF
20948 if ac_fn_cxx_try_link "$LINENO"; then :
20949 ac_has_clock_monotonic=yes
20950 else
20951 ac_has_clock_monotonic=no
20953 rm -f core conftest.err conftest.$ac_objext \
20954 conftest$ac_exeext conftest.$ac_ext
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20957 $as_echo "$ac_has_clock_monotonic" >&6; }
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20960 $as_echo_n "checking for realtime clock... " >&6; }
20961 if test x$gcc_no_link = xyes; then
20962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20965 /* end confdefs.h. */
20966 #include <unistd.h>
20967 #include <time.h>
20970 main ()
20972 #if _POSIX_TIMERS > 0
20973 timespec tp;
20974 #endif
20975 clock_gettime(CLOCK_REALTIME, &tp);
20978 return 0;
20980 _ACEOF
20981 if ac_fn_cxx_try_link "$LINENO"; then :
20982 ac_has_clock_realtime=yes
20983 else
20984 ac_has_clock_realtime=no
20986 rm -f core conftest.err conftest.$ac_objext \
20987 conftest$ac_exeext conftest.$ac_ext
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20990 $as_echo "$ac_has_clock_realtime" >&6; }
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20993 $as_echo_n "checking for nanosleep... " >&6; }
20994 if test x$gcc_no_link = xyes; then
20995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
20999 #include <unistd.h>
21000 #include <time.h>
21003 main ()
21005 #if _POSIX_TIMERS > 0
21006 timespec tp;
21007 #endif
21008 nanosleep(&tp, 0);
21011 return 0;
21013 _ACEOF
21014 if ac_fn_cxx_try_link "$LINENO"; then :
21015 ac_has_nanosleep=yes
21016 else
21017 ac_has_nanosleep=no
21019 rm -f core conftest.err conftest.$ac_objext \
21020 conftest$ac_exeext conftest.$ac_ext
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21023 $as_echo "$ac_has_nanosleep" >&6; }
21027 if test x"$ac_has_clock_monotonic" != x"yes"; then
21028 case ${target_os} in
21029 linux*)
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21031 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034 #include <unistd.h>
21035 #include <time.h>
21036 #include <sys/syscall.h>
21039 main ()
21041 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21042 timespec tp;
21043 #endif
21044 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21045 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21048 return 0;
21050 _ACEOF
21051 if ac_fn_cxx_try_compile "$LINENO"; then :
21052 ac_has_clock_monotonic_syscall=yes
21053 else
21054 ac_has_clock_monotonic_syscall=no
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21058 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21059 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21061 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21063 ac_has_clock_monotonic=yes
21064 ac_has_clock_realtime=yes
21065 fi;;
21066 esac
21069 if test x"$ac_has_clock_monotonic" = x"yes"; then
21071 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21075 if test x"$ac_has_clock_realtime" = x"yes"; then
21077 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21081 if test x"$ac_has_sched_yield" = x"yes"; then
21083 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21087 if test x"$ac_has_nanosleep" = x"yes"; then
21089 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21091 else
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21093 $as_echo_n "checking for sleep... " >&6; }
21094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h. */
21096 #include <unistd.h>
21098 main ()
21100 sleep(1)
21102 return 0;
21104 _ACEOF
21105 if ac_fn_cxx_try_compile "$LINENO"; then :
21106 ac_has_sleep=yes
21107 else
21108 ac_has_sleep=no
21110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21111 if test x"$ac_has_sleep" = x"yes"; then
21113 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21117 $as_echo "$ac_has_sleep" >&6; }
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21119 $as_echo_n "checking for usleep... " >&6; }
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21122 #include <unistd.h>
21124 main ()
21126 sleep(1);
21127 usleep(100);
21129 return 0;
21131 _ACEOF
21132 if ac_fn_cxx_try_compile "$LINENO"; then :
21133 ac_has_usleep=yes
21134 else
21135 ac_has_usleep=no
21137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21138 if test x"$ac_has_usleep" = x"yes"; then
21140 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21144 $as_echo "$ac_has_usleep" >&6; }
21147 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21149 $as_echo_n "checking for Sleep... " >&6; }
21150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21151 /* end confdefs.h. */
21152 #include <windows.h>
21154 main ()
21156 Sleep(1)
21158 return 0;
21160 _ACEOF
21161 if ac_fn_cxx_try_compile "$LINENO"; then :
21162 ac_has_win32_sleep=yes
21163 else
21164 ac_has_win32_sleep=no
21166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21167 if test x"$ac_has_win32_sleep" = x"yes"; then
21169 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21173 $as_echo "$ac_has_win32_sleep" >&6; }
21178 CXXFLAGS="$ac_save_CXXFLAGS"
21179 LIBS="$ac_save_LIBS"
21180 ac_ext=c
21181 ac_cpp='$CPP $CPPFLAGS'
21182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21188 # Check for tmpnam which is obsolescent in POSIX.1-2008
21190 ac_ext=cpp
21191 ac_cpp='$CXXCPP $CPPFLAGS'
21192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21196 ac_save_CXXFLAGS="$CXXFLAGS"
21197 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21199 $as_echo_n "checking for tmpnam... " >&6; }
21200 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21201 $as_echo_n "(cached) " >&6
21202 else
21203 if test x$gcc_no_link = xyes; then
21204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21205 /* end confdefs.h. */
21206 #include <stdio.h>
21208 main ()
21210 char *tmp = tmpnam(NULL);
21212 return 0;
21214 _ACEOF
21215 if ac_fn_cxx_try_compile "$LINENO"; then :
21216 glibcxx_cv_TMPNAM=yes
21217 else
21218 glibcxx_cv_TMPNAM=no
21220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21221 else
21222 if test x$gcc_no_link = xyes; then
21223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227 #include <stdio.h>
21229 main ()
21231 char *tmp = tmpnam(NULL);
21233 return 0;
21235 _ACEOF
21236 if ac_fn_cxx_try_link "$LINENO"; then :
21237 glibcxx_cv_TMPNAM=yes
21238 else
21239 glibcxx_cv_TMPNAM=no
21241 rm -f core conftest.err conftest.$ac_objext \
21242 conftest$ac_exeext conftest.$ac_ext
21247 if test $glibcxx_cv_TMPNAM = yes; then
21249 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21253 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21254 CXXFLAGS="$ac_save_CXXFLAGS"
21255 ac_ext=c
21256 ac_cpp='$CPP $CPPFLAGS'
21257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21264 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21265 if test "x$ac_cv_header_locale_h" = x""yes; then :
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21268 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21269 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21270 $as_echo_n "(cached) " >&6
21271 else
21272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21273 /* end confdefs.h. */
21274 #include <locale.h>
21276 main ()
21278 return LC_MESSAGES
21280 return 0;
21282 _ACEOF
21283 if ac_fn_c_try_compile "$LINENO"; then :
21284 ac_cv_val_LC_MESSAGES=yes
21285 else
21286 ac_cv_val_LC_MESSAGES=no
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21291 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21292 if test $ac_cv_val_LC_MESSAGES = yes; then
21294 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21303 # For hardware_concurrency
21304 for ac_header in sys/sysinfo.h
21305 do :
21306 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21307 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21308 cat >>confdefs.h <<_ACEOF
21309 #define HAVE_SYS_SYSINFO_H 1
21310 _ACEOF
21314 done
21319 ac_ext=cpp
21320 ac_cpp='$CXXCPP $CPPFLAGS'
21321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21325 ac_save_CXXFLAGS="$CXXFLAGS"
21326 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21329 $as_echo_n "checking for get_nprocs... " >&6; }
21330 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21331 $as_echo_n "(cached) " >&6
21332 else
21334 if test x$gcc_no_link = xyes; then
21335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21336 /* end confdefs.h. */
21337 #include <sys/sysinfo.h>
21339 main ()
21341 int n = get_nprocs();
21343 return 0;
21345 _ACEOF
21346 if ac_fn_cxx_try_compile "$LINENO"; then :
21347 glibcxx_cv_GET_NPROCS=yes
21348 else
21349 glibcxx_cv_GET_NPROCS=no
21351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21352 else
21353 if test x$gcc_no_link = xyes; then
21354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21357 /* end confdefs.h. */
21358 #include <sys/sysinfo.h>
21360 main ()
21362 int n = get_nprocs();
21364 return 0;
21366 _ACEOF
21367 if ac_fn_cxx_try_link "$LINENO"; then :
21368 glibcxx_cv_GET_NPROCS=yes
21369 else
21370 glibcxx_cv_GET_NPROCS=no
21372 rm -f core conftest.err conftest.$ac_objext \
21373 conftest$ac_exeext conftest.$ac_ext
21378 if test $glibcxx_cv_GET_NPROCS = yes; then
21380 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21384 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21386 CXXFLAGS="$ac_save_CXXFLAGS"
21387 ac_ext=c
21388 ac_cpp='$CPP $CPPFLAGS'
21389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21394 for ac_header in unistd.h
21395 do :
21396 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21397 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21398 cat >>confdefs.h <<_ACEOF
21399 #define HAVE_UNISTD_H 1
21400 _ACEOF
21404 done
21409 ac_ext=cpp
21410 ac_cpp='$CXXCPP $CPPFLAGS'
21411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21415 ac_save_CXXFLAGS="$CXXFLAGS"
21416 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21419 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21420 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21421 $as_echo_n "(cached) " >&6
21422 else
21424 if test x$gcc_no_link = xyes; then
21425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 /* end confdefs.h. */
21427 #include <unistd.h>
21429 main ()
21431 int n = sysconf(_SC_NPROCESSORS_ONLN);
21433 return 0;
21435 _ACEOF
21436 if ac_fn_cxx_try_compile "$LINENO"; then :
21437 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21438 else
21439 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21442 else
21443 if test x$gcc_no_link = xyes; then
21444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h. */
21448 #include <unistd.h>
21450 main ()
21452 int n = sysconf(_SC_NPROCESSORS_ONLN);
21454 return 0;
21456 _ACEOF
21457 if ac_fn_cxx_try_link "$LINENO"; then :
21458 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21459 else
21460 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21462 rm -f core conftest.err conftest.$ac_objext \
21463 conftest$ac_exeext conftest.$ac_ext
21468 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21470 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21474 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21476 CXXFLAGS="$ac_save_CXXFLAGS"
21477 ac_ext=c
21478 ac_cpp='$CPP $CPPFLAGS'
21479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21487 ac_ext=cpp
21488 ac_cpp='$CXXCPP $CPPFLAGS'
21489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21493 ac_save_CXXFLAGS="$CXXFLAGS"
21494 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21497 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21498 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21499 $as_echo_n "(cached) " >&6
21500 else
21502 if test x$gcc_no_link = xyes; then
21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21504 /* end confdefs.h. */
21505 #include <unistd.h>
21507 main ()
21509 int n = sysconf(_SC_NPROC_ONLN);
21511 return 0;
21513 _ACEOF
21514 if ac_fn_cxx_try_compile "$LINENO"; then :
21515 glibcxx_cv_SC_NPROC_ONLN=yes
21516 else
21517 glibcxx_cv_SC_NPROC_ONLN=no
21519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21520 else
21521 if test x$gcc_no_link = xyes; then
21522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21525 /* end confdefs.h. */
21526 #include <unistd.h>
21528 main ()
21530 int n = sysconf(_SC_NPROC_ONLN);
21532 return 0;
21534 _ACEOF
21535 if ac_fn_cxx_try_link "$LINENO"; then :
21536 glibcxx_cv_SC_NPROC_ONLN=yes
21537 else
21538 glibcxx_cv_SC_NPROC_ONLN=no
21540 rm -f core conftest.err conftest.$ac_objext \
21541 conftest$ac_exeext conftest.$ac_ext
21546 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21548 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21552 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21554 CXXFLAGS="$ac_save_CXXFLAGS"
21555 ac_ext=c
21556 ac_cpp='$CPP $CPPFLAGS'
21557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21565 ac_ext=cpp
21566 ac_cpp='$CXXCPP $CPPFLAGS'
21567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21571 ac_save_CXXFLAGS="$CXXFLAGS"
21572 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21575 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21576 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21577 $as_echo_n "(cached) " >&6
21578 else
21580 if test x$gcc_no_link = xyes; then
21581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21583 #include <pthread.h>
21585 main ()
21587 int n = pthread_num_processors_np();
21589 return 0;
21591 _ACEOF
21592 if ac_fn_cxx_try_compile "$LINENO"; then :
21593 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21594 else
21595 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21598 else
21599 if test x$gcc_no_link = xyes; then
21600 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21603 /* end confdefs.h. */
21604 #include <pthread.h>
21606 main ()
21608 int n = pthread_num_processors_np();
21610 return 0;
21612 _ACEOF
21613 if ac_fn_cxx_try_link "$LINENO"; then :
21614 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21615 else
21616 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21618 rm -f core conftest.err conftest.$ac_objext \
21619 conftest$ac_exeext conftest.$ac_ext
21624 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21626 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21630 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21632 CXXFLAGS="$ac_save_CXXFLAGS"
21633 ac_ext=c
21634 ac_cpp='$CPP $CPPFLAGS'
21635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21643 ac_ext=cpp
21644 ac_cpp='$CXXCPP $CPPFLAGS'
21645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21649 ac_save_CXXFLAGS="$CXXFLAGS"
21650 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21653 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21654 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21655 $as_echo_n "(cached) " >&6
21656 else
21658 if test x$gcc_no_link = xyes; then
21659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21660 /* end confdefs.h. */
21662 #include <stddef.h>
21663 #include <sys/sysctl.h>
21666 main ()
21669 int count;
21670 size_t size = sizeof(count);
21671 int mib[] = { CTL_HW, HW_NCPU };
21672 sysctl(mib, 2, &count, &size, NULL, 0);
21675 return 0;
21677 _ACEOF
21678 if ac_fn_cxx_try_compile "$LINENO"; then :
21679 glibcxx_cv_SYSCTL_HW_NCPU=yes
21680 else
21681 glibcxx_cv_SYSCTL_HW_NCPU=no
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21684 else
21685 if test x$gcc_no_link = xyes; then
21686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21691 #include <stddef.h>
21692 #include <sys/sysctl.h>
21695 main ()
21698 int count;
21699 size_t size = sizeof(count);
21700 int mib[] = { CTL_HW, HW_NCPU };
21701 sysctl(mib, 2, &count, &size, NULL, 0);
21704 return 0;
21706 _ACEOF
21707 if ac_fn_cxx_try_link "$LINENO"; then :
21708 glibcxx_cv_SYSCTL_HW_NCPU=yes
21709 else
21710 glibcxx_cv_SYSCTL_HW_NCPU=no
21712 rm -f core conftest.err conftest.$ac_objext \
21713 conftest$ac_exeext conftest.$ac_ext
21718 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21720 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21724 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21726 CXXFLAGS="$ac_save_CXXFLAGS"
21727 ac_ext=c
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21736 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21737 # Note that this test has to be run with the C language.
21738 # Otherwise, sdt.h will try to include some headers from
21739 # libstdc++ itself.
21741 ac_ext=c
21742 ac_cpp='$CPP $CPPFLAGS'
21743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21747 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21748 $as_echo_n "(cached) " >&6
21749 else
21751 # Because we have to run the test in C, we use grep rather
21752 # than the compiler to check for the bug. The bug is that
21753 # were strings without trailing whitespace, causing g++
21754 # to look for operator"". The pattern searches for the fixed
21755 # output.
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21759 #include <sys/sdt.h>
21760 int f() { STAP_PROBE(hi, bob); }
21762 _ACEOF
21763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21764 $EGREP " \",\" " >/dev/null 2>&1; then :
21765 glibcxx_cv_sys_sdt_h=yes
21766 else
21767 glibcxx_cv_sys_sdt_h=no
21769 rm -f conftest*
21774 ac_ext=c
21775 ac_cpp='$CPP $CPPFLAGS'
21776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21780 if test $glibcxx_cv_sys_sdt_h = yes; then
21782 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21786 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21789 # Check for available headers.
21790 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21791 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21792 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21793 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21794 wchar.h wctype.h linux/types.h
21795 do :
21796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21797 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21798 eval as_val=\$$as_ac_Header
21799 if test "x$as_val" = x""yes; then :
21800 cat >>confdefs.h <<_ACEOF
21801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21802 _ACEOF
21806 done
21809 for ac_header in linux/random.h
21810 do :
21811 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21812 # include <linux/types.h>
21813 #endif
21816 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21817 cat >>confdefs.h <<_ACEOF
21818 #define HAVE_LINUX_RANDOM_H 1
21819 _ACEOF
21823 done
21826 # Only do link tests if native. Else, hardcode.
21827 if $GLIBCXX_IS_NATIVE; then
21829 # We can do more elaborate tests that assume a working linker.
21830 CANADIAN=no
21834 # Check whether --with-gnu-ld was given.
21835 if test "${with_gnu_ld+set}" = set; then :
21836 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21837 else
21838 with_gnu_ld=no
21841 ac_prog=ld
21842 if test "$GCC" = yes; then
21843 # Check if gcc -print-prog-name=ld gives a path.
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21845 $as_echo_n "checking for ld used by $CC... " >&6; }
21846 case $host in
21847 *-*-mingw*)
21848 # gcc leaves a trailing carriage return which upsets mingw
21849 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21851 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21852 esac
21853 case $ac_prog in
21854 # Accept absolute paths.
21855 [\\/]* | ?:[\\/]*)
21856 re_direlt='/[^/][^/]*/\.\./'
21857 # Canonicalize the pathname of ld
21858 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21859 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21860 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21861 done
21862 test -z "$LD" && LD="$ac_prog"
21865 # If it fails, then pretend we aren't using GCC.
21866 ac_prog=ld
21869 # If it is relative, then search for the first ld in PATH.
21870 with_gnu_ld=unknown
21872 esac
21873 elif test "$with_gnu_ld" = yes; then
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21875 $as_echo_n "checking for GNU ld... " >&6; }
21876 else
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21878 $as_echo_n "checking for non-GNU ld... " >&6; }
21880 if test "${lt_cv_path_LD+set}" = set; then :
21881 $as_echo_n "(cached) " >&6
21882 else
21883 if test -z "$LD"; then
21884 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21885 for ac_dir in $PATH; do
21886 IFS="$lt_save_ifs"
21887 test -z "$ac_dir" && ac_dir=.
21888 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21889 lt_cv_path_LD="$ac_dir/$ac_prog"
21890 # Check to see if the program is GNU ld. I'd rather use --version,
21891 # but apparently some variants of GNU ld only accept -v.
21892 # Break only if it was the GNU/non-GNU ld that we prefer.
21893 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21894 *GNU* | *'with BFD'*)
21895 test "$with_gnu_ld" != no && break
21898 test "$with_gnu_ld" != yes && break
21900 esac
21902 done
21903 IFS="$lt_save_ifs"
21904 else
21905 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21909 LD="$lt_cv_path_LD"
21910 if test -n "$LD"; then
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21912 $as_echo "$LD" >&6; }
21913 else
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21915 $as_echo "no" >&6; }
21917 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21919 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21920 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21921 $as_echo_n "(cached) " >&6
21922 else
21923 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21924 case `$LD -v 2>&1 </dev/null` in
21925 *GNU* | *'with BFD'*)
21926 lt_cv_prog_gnu_ld=yes
21929 lt_cv_prog_gnu_ld=no
21931 esac
21933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21934 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21935 with_gnu_ld=$lt_cv_prog_gnu_ld
21943 # If we're not using GNU ld, then there's no point in even trying these
21944 # tests. Check for that first. We should have already tested for gld
21945 # by now (in libtool), but require it now just to be safe...
21946 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21947 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21951 # The name set by libtool depends on the version of libtool. Shame on us
21952 # for depending on an impl detail, but c'est la vie. Older versions used
21953 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21954 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21955 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21956 # set (hence we're using an older libtool), then set it.
21957 if test x${with_gnu_ld+set} != xset; then
21958 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21959 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21960 with_gnu_ld=no
21961 else
21962 with_gnu_ld=$ac_cv_prog_gnu_ld
21966 # Start by getting the version number. I think the libtool test already
21967 # does some of this, but throws away the result.
21968 glibcxx_ld_is_gold=no
21969 if test x"$with_gnu_ld" = x"yes"; then
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21971 $as_echo_n "checking for ld version... " >&6; }
21973 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21974 glibcxx_ld_is_gold=yes
21976 ldver=`$LD --version 2>/dev/null |
21977 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'`
21979 glibcxx_gnu_ld_version=`echo $ldver | \
21980 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21982 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21985 # Set --gc-sections.
21986 glibcxx_have_gc_sections=no
21987 if test "$glibcxx_ld_is_gold" = "yes"; then
21988 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21989 glibcxx_have_gc_sections=yes
21991 else
21992 glibcxx_gcsections_min_ld=21602
21993 if test x"$with_gnu_ld" = x"yes" &&
21994 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21995 glibcxx_have_gc_sections=yes
21998 if test "$glibcxx_have_gc_sections" = "yes"; then
21999 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22000 # NB: This flag only works reliably after 2.16.1. Configure tests
22001 # for this are difficult, so hard wire a value that should work.
22003 ac_test_CFLAGS="${CFLAGS+set}"
22004 ac_save_CFLAGS="$CFLAGS"
22005 CFLAGS='-Wl,--gc-sections'
22007 # Check for -Wl,--gc-sections
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22009 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22010 if test x$gcc_no_link = xyes; then
22011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22014 /* end confdefs.h. */
22015 int one(void) { return 1; }
22016 int two(void) { return 2; }
22019 main ()
22021 two();
22023 return 0;
22025 _ACEOF
22026 if ac_fn_c_try_link "$LINENO"; then :
22027 ac_gcsections=yes
22028 else
22029 ac_gcsections=no
22031 rm -f core conftest.err conftest.$ac_objext \
22032 conftest$ac_exeext conftest.$ac_ext
22033 if test "$ac_gcsections" = "yes"; then
22034 rm -f conftest.c
22035 touch conftest.c
22036 if $CC -c conftest.c; then
22037 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22038 grep "Warning: gc-sections option ignored" > /dev/null; then
22039 ac_gcsections=no
22042 rm -f conftest.c conftest.o conftest
22044 if test "$ac_gcsections" = "yes"; then
22045 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22048 $as_echo "$ac_gcsections" >&6; }
22050 if test "$ac_test_CFLAGS" = set; then
22051 CFLAGS="$ac_save_CFLAGS"
22052 else
22053 # this is the suspicious part
22054 CFLAGS=''
22058 # Set -z,relro.
22059 # Note this is only for shared objects.
22060 ac_ld_relro=no
22061 if test x"$with_gnu_ld" = x"yes"; then
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22063 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22064 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22065 if test -n "$cxx_z_relo"; then
22066 OPT_LDFLAGS="-Wl,-z,relro"
22067 ac_ld_relro=yes
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22070 $as_echo "$ac_ld_relro" >&6; }
22073 # Set linker optimization flags.
22074 if test x"$with_gnu_ld" = x"yes"; then
22075 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22082 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22083 ac_save_CXXFLAGS="$CXXFLAGS"
22084 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22087 $as_echo_n "checking for sin in -lm... " >&6; }
22088 if test "${ac_cv_lib_m_sin+set}" = set; then :
22089 $as_echo_n "(cached) " >&6
22090 else
22091 ac_check_lib_save_LIBS=$LIBS
22092 LIBS="-lm $LIBS"
22093 if test x$gcc_no_link = xyes; then
22094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097 /* end confdefs.h. */
22099 /* Override any GCC internal prototype to avoid an error.
22100 Use char because int might match the return type of a GCC
22101 builtin and then its argument prototype would still apply. */
22102 #ifdef __cplusplus
22103 extern "C"
22104 #endif
22105 char sin ();
22107 main ()
22109 return sin ();
22111 return 0;
22113 _ACEOF
22114 if ac_fn_c_try_link "$LINENO"; then :
22115 ac_cv_lib_m_sin=yes
22116 else
22117 ac_cv_lib_m_sin=no
22119 rm -f core conftest.err conftest.$ac_objext \
22120 conftest$ac_exeext conftest.$ac_ext
22121 LIBS=$ac_check_lib_save_LIBS
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22124 $as_echo "$ac_cv_lib_m_sin" >&6; }
22125 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22126 libm="-lm"
22129 ac_save_LIBS="$LIBS"
22130 LIBS="$LIBS $libm"
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22135 $as_echo_n "checking for isinf declaration... " >&6; }
22136 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22137 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22139 else
22142 ac_ext=cpp
22143 ac_cpp='$CXXCPP $CPPFLAGS'
22144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22149 /* end confdefs.h. */
22150 #include <math.h>
22151 #ifdef HAVE_IEEEFP_H
22152 #include <ieeefp.h>
22153 #endif
22156 main ()
22158 isinf(0);
22160 return 0;
22162 _ACEOF
22163 if ac_fn_cxx_try_compile "$LINENO"; then :
22164 glibcxx_cv_func_isinf_use=yes
22165 else
22166 glibcxx_cv_func_isinf_use=no
22168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169 ac_ext=c
22170 ac_cpp='$CPP $CPPFLAGS'
22171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22180 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22182 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22183 for ac_func in isinf
22184 do :
22185 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22186 if test "x$ac_cv_func_isinf" = x""yes; then :
22187 cat >>confdefs.h <<_ACEOF
22188 #define HAVE_ISINF 1
22189 _ACEOF
22192 done
22194 else
22196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22197 $as_echo_n "checking for _isinf declaration... " >&6; }
22198 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22199 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22200 $as_echo_n "(cached) " >&6
22201 else
22204 ac_ext=cpp
22205 ac_cpp='$CXXCPP $CPPFLAGS'
22206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22211 /* end confdefs.h. */
22212 #include <math.h>
22213 #ifdef HAVE_IEEEFP_H
22214 #include <ieeefp.h>
22215 #endif
22218 main ()
22220 _isinf(0);
22222 return 0;
22224 _ACEOF
22225 if ac_fn_cxx_try_compile "$LINENO"; then :
22226 glibcxx_cv_func__isinf_use=yes
22227 else
22228 glibcxx_cv_func__isinf_use=no
22230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22231 ac_ext=c
22232 ac_cpp='$CPP $CPPFLAGS'
22233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22242 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22244 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22245 for ac_func in _isinf
22246 do :
22247 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22248 if test "x$ac_cv_func__isinf" = x""yes; then :
22249 cat >>confdefs.h <<_ACEOF
22250 #define HAVE__ISINF 1
22251 _ACEOF
22254 done
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22264 $as_echo_n "checking for isnan declaration... " >&6; }
22265 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22266 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22268 else
22271 ac_ext=cpp
22272 ac_cpp='$CXXCPP $CPPFLAGS'
22273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22278 /* end confdefs.h. */
22279 #include <math.h>
22280 #ifdef HAVE_IEEEFP_H
22281 #include <ieeefp.h>
22282 #endif
22285 main ()
22287 isnan(0);
22289 return 0;
22291 _ACEOF
22292 if ac_fn_cxx_try_compile "$LINENO"; then :
22293 glibcxx_cv_func_isnan_use=yes
22294 else
22295 glibcxx_cv_func_isnan_use=no
22297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22298 ac_ext=c
22299 ac_cpp='$CPP $CPPFLAGS'
22300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22309 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22311 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22312 for ac_func in isnan
22313 do :
22314 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22315 if test "x$ac_cv_func_isnan" = x""yes; then :
22316 cat >>confdefs.h <<_ACEOF
22317 #define HAVE_ISNAN 1
22318 _ACEOF
22321 done
22323 else
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22326 $as_echo_n "checking for _isnan declaration... " >&6; }
22327 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22328 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22329 $as_echo_n "(cached) " >&6
22330 else
22333 ac_ext=cpp
22334 ac_cpp='$CXXCPP $CPPFLAGS'
22335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22340 /* end confdefs.h. */
22341 #include <math.h>
22342 #ifdef HAVE_IEEEFP_H
22343 #include <ieeefp.h>
22344 #endif
22347 main ()
22349 _isnan(0);
22351 return 0;
22353 _ACEOF
22354 if ac_fn_cxx_try_compile "$LINENO"; then :
22355 glibcxx_cv_func__isnan_use=yes
22356 else
22357 glibcxx_cv_func__isnan_use=no
22359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22360 ac_ext=c
22361 ac_cpp='$CPP $CPPFLAGS'
22362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22371 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22373 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22374 for ac_func in _isnan
22375 do :
22376 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22377 if test "x$ac_cv_func__isnan" = x""yes; then :
22378 cat >>confdefs.h <<_ACEOF
22379 #define HAVE__ISNAN 1
22380 _ACEOF
22383 done
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22393 $as_echo_n "checking for finite declaration... " >&6; }
22394 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22395 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22400 ac_ext=cpp
22401 ac_cpp='$CXXCPP $CPPFLAGS'
22402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22407 /* end confdefs.h. */
22408 #include <math.h>
22409 #ifdef HAVE_IEEEFP_H
22410 #include <ieeefp.h>
22411 #endif
22414 main ()
22416 finite(0);
22418 return 0;
22420 _ACEOF
22421 if ac_fn_cxx_try_compile "$LINENO"; then :
22422 glibcxx_cv_func_finite_use=yes
22423 else
22424 glibcxx_cv_func_finite_use=no
22426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22427 ac_ext=c
22428 ac_cpp='$CPP $CPPFLAGS'
22429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22438 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22440 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22441 for ac_func in finite
22442 do :
22443 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22444 if test "x$ac_cv_func_finite" = x""yes; then :
22445 cat >>confdefs.h <<_ACEOF
22446 #define HAVE_FINITE 1
22447 _ACEOF
22450 done
22452 else
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22455 $as_echo_n "checking for _finite declaration... " >&6; }
22456 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22457 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22458 $as_echo_n "(cached) " >&6
22459 else
22462 ac_ext=cpp
22463 ac_cpp='$CXXCPP $CPPFLAGS'
22464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22469 /* end confdefs.h. */
22470 #include <math.h>
22471 #ifdef HAVE_IEEEFP_H
22472 #include <ieeefp.h>
22473 #endif
22476 main ()
22478 _finite(0);
22480 return 0;
22482 _ACEOF
22483 if ac_fn_cxx_try_compile "$LINENO"; then :
22484 glibcxx_cv_func__finite_use=yes
22485 else
22486 glibcxx_cv_func__finite_use=no
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 ac_ext=c
22490 ac_cpp='$CPP $CPPFLAGS'
22491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22500 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22502 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22503 for ac_func in _finite
22504 do :
22505 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22506 if test "x$ac_cv_func__finite" = x""yes; then :
22507 cat >>confdefs.h <<_ACEOF
22508 #define HAVE__FINITE 1
22509 _ACEOF
22512 done
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22522 $as_echo_n "checking for sincos declaration... " >&6; }
22523 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22524 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22525 $as_echo_n "(cached) " >&6
22526 else
22529 ac_ext=cpp
22530 ac_cpp='$CXXCPP $CPPFLAGS'
22531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22536 /* end confdefs.h. */
22537 #include <math.h>
22539 main ()
22541 sincos(0, 0, 0);
22543 return 0;
22545 _ACEOF
22546 if ac_fn_cxx_try_compile "$LINENO"; then :
22547 glibcxx_cv_func_sincos_use=yes
22548 else
22549 glibcxx_cv_func_sincos_use=no
22551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22552 ac_ext=c
22553 ac_cpp='$CPP $CPPFLAGS'
22554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22563 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22565 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22566 for ac_func in sincos
22567 do :
22568 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22569 if test "x$ac_cv_func_sincos" = x""yes; then :
22570 cat >>confdefs.h <<_ACEOF
22571 #define HAVE_SINCOS 1
22572 _ACEOF
22575 done
22577 else
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22580 $as_echo_n "checking for _sincos declaration... " >&6; }
22581 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22582 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22583 $as_echo_n "(cached) " >&6
22584 else
22587 ac_ext=cpp
22588 ac_cpp='$CXXCPP $CPPFLAGS'
22589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22595 #include <math.h>
22597 main ()
22599 _sincos(0, 0, 0);
22601 return 0;
22603 _ACEOF
22604 if ac_fn_cxx_try_compile "$LINENO"; then :
22605 glibcxx_cv_func__sincos_use=yes
22606 else
22607 glibcxx_cv_func__sincos_use=no
22609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22610 ac_ext=c
22611 ac_cpp='$CPP $CPPFLAGS'
22612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22621 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22623 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22624 for ac_func in _sincos
22625 do :
22626 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22627 if test "x$ac_cv_func__sincos" = x""yes; then :
22628 cat >>confdefs.h <<_ACEOF
22629 #define HAVE__SINCOS 1
22630 _ACEOF
22633 done
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22643 $as_echo_n "checking for fpclass declaration... " >&6; }
22644 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22645 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22646 $as_echo_n "(cached) " >&6
22647 else
22650 ac_ext=cpp
22651 ac_cpp='$CXXCPP $CPPFLAGS'
22652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22657 /* end confdefs.h. */
22658 #include <math.h>
22659 #ifdef HAVE_IEEEFP_H
22660 #include <ieeefp.h>
22661 #endif
22664 main ()
22666 fpclass(0);
22668 return 0;
22670 _ACEOF
22671 if ac_fn_cxx_try_compile "$LINENO"; then :
22672 glibcxx_cv_func_fpclass_use=yes
22673 else
22674 glibcxx_cv_func_fpclass_use=no
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677 ac_ext=c
22678 ac_cpp='$CPP $CPPFLAGS'
22679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22688 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22690 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22691 for ac_func in fpclass
22692 do :
22693 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22694 if test "x$ac_cv_func_fpclass" = x""yes; then :
22695 cat >>confdefs.h <<_ACEOF
22696 #define HAVE_FPCLASS 1
22697 _ACEOF
22700 done
22702 else
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22705 $as_echo_n "checking for _fpclass declaration... " >&6; }
22706 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22707 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22708 $as_echo_n "(cached) " >&6
22709 else
22712 ac_ext=cpp
22713 ac_cpp='$CXXCPP $CPPFLAGS'
22714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22719 /* end confdefs.h. */
22720 #include <math.h>
22721 #ifdef HAVE_IEEEFP_H
22722 #include <ieeefp.h>
22723 #endif
22726 main ()
22728 _fpclass(0);
22730 return 0;
22732 _ACEOF
22733 if ac_fn_cxx_try_compile "$LINENO"; then :
22734 glibcxx_cv_func__fpclass_use=yes
22735 else
22736 glibcxx_cv_func__fpclass_use=no
22738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22739 ac_ext=c
22740 ac_cpp='$CPP $CPPFLAGS'
22741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22750 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22752 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22753 for ac_func in _fpclass
22754 do :
22755 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22756 if test "x$ac_cv_func__fpclass" = x""yes; then :
22757 cat >>confdefs.h <<_ACEOF
22758 #define HAVE__FPCLASS 1
22759 _ACEOF
22762 done
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22772 $as_echo_n "checking for qfpclass declaration... " >&6; }
22773 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22774 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22775 $as_echo_n "(cached) " >&6
22776 else
22779 ac_ext=cpp
22780 ac_cpp='$CXXCPP $CPPFLAGS'
22781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22787 #include <math.h>
22788 #ifdef HAVE_IEEEFP_H
22789 #include <ieeefp.h>
22790 #endif
22793 main ()
22795 qfpclass(0);
22797 return 0;
22799 _ACEOF
22800 if ac_fn_cxx_try_compile "$LINENO"; then :
22801 glibcxx_cv_func_qfpclass_use=yes
22802 else
22803 glibcxx_cv_func_qfpclass_use=no
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 ac_ext=c
22807 ac_cpp='$CPP $CPPFLAGS'
22808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22817 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22819 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22820 for ac_func in qfpclass
22821 do :
22822 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22823 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22824 cat >>confdefs.h <<_ACEOF
22825 #define HAVE_QFPCLASS 1
22826 _ACEOF
22829 done
22831 else
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22834 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22835 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22836 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22837 $as_echo_n "(cached) " >&6
22838 else
22841 ac_ext=cpp
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22848 /* end confdefs.h. */
22849 #include <math.h>
22850 #ifdef HAVE_IEEEFP_H
22851 #include <ieeefp.h>
22852 #endif
22855 main ()
22857 _qfpclass(0);
22859 return 0;
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func__qfpclass_use=yes
22864 else
22865 glibcxx_cv_func__qfpclass_use=no
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22879 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22881 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22882 for ac_func in _qfpclass
22883 do :
22884 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22885 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE__QFPCLASS 1
22888 _ACEOF
22891 done
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22901 $as_echo_n "checking for hypot declaration... " >&6; }
22902 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22903 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22904 $as_echo_n "(cached) " >&6
22905 else
22908 ac_ext=cpp
22909 ac_cpp='$CXXCPP $CPPFLAGS'
22910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22915 /* end confdefs.h. */
22916 #include <math.h>
22918 main ()
22920 hypot(0, 0);
22922 return 0;
22924 _ACEOF
22925 if ac_fn_cxx_try_compile "$LINENO"; then :
22926 glibcxx_cv_func_hypot_use=yes
22927 else
22928 glibcxx_cv_func_hypot_use=no
22930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22931 ac_ext=c
22932 ac_cpp='$CPP $CPPFLAGS'
22933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22942 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22944 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22945 for ac_func in hypot
22946 do :
22947 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22948 if test "x$ac_cv_func_hypot" = x""yes; then :
22949 cat >>confdefs.h <<_ACEOF
22950 #define HAVE_HYPOT 1
22951 _ACEOF
22954 done
22956 else
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22959 $as_echo_n "checking for _hypot declaration... " >&6; }
22960 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22961 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22962 $as_echo_n "(cached) " >&6
22963 else
22966 ac_ext=cpp
22967 ac_cpp='$CXXCPP $CPPFLAGS'
22968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22974 #include <math.h>
22976 main ()
22978 _hypot(0, 0);
22980 return 0;
22982 _ACEOF
22983 if ac_fn_cxx_try_compile "$LINENO"; then :
22984 glibcxx_cv_func__hypot_use=yes
22985 else
22986 glibcxx_cv_func__hypot_use=no
22988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22989 ac_ext=c
22990 ac_cpp='$CPP $CPPFLAGS'
22991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23000 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23002 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23003 for ac_func in _hypot
23004 do :
23005 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23006 if test "x$ac_cv_func__hypot" = x""yes; then :
23007 cat >>confdefs.h <<_ACEOF
23008 #define HAVE__HYPOT 1
23009 _ACEOF
23012 done
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23022 $as_echo_n "checking for float trig functions... " >&6; }
23023 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23024 $as_echo_n "(cached) " >&6
23025 else
23028 ac_ext=cpp
23029 ac_cpp='$CXXCPP $CPPFLAGS'
23030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23035 /* end confdefs.h. */
23036 #include <math.h>
23038 main ()
23040 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23042 return 0;
23044 _ACEOF
23045 if ac_fn_cxx_try_compile "$LINENO"; then :
23046 glibcxx_cv_func_float_trig_use=yes
23047 else
23048 glibcxx_cv_func_float_trig_use=no
23050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23051 ac_ext=c
23052 ac_cpp='$CPP $CPPFLAGS'
23053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23060 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23061 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23062 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23063 do :
23064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23066 eval as_val=\$$as_ac_var
23067 if test "x$as_val" = x""yes; then :
23068 cat >>confdefs.h <<_ACEOF
23069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23070 _ACEOF
23073 done
23075 else
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23077 $as_echo_n "checking for _float trig functions... " >&6; }
23078 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23079 $as_echo_n "(cached) " >&6
23080 else
23083 ac_ext=cpp
23084 ac_cpp='$CXXCPP $CPPFLAGS'
23085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23090 /* end confdefs.h. */
23091 #include <math.h>
23093 main ()
23095 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23097 return 0;
23099 _ACEOF
23100 if ac_fn_cxx_try_compile "$LINENO"; then :
23101 glibcxx_cv_func__float_trig_use=yes
23102 else
23103 glibcxx_cv_func__float_trig_use=no
23105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 ac_ext=c
23107 ac_cpp='$CPP $CPPFLAGS'
23108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23115 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23116 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23117 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23118 do :
23119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23121 eval as_val=\$$as_ac_var
23122 if test "x$as_val" = x""yes; then :
23123 cat >>confdefs.h <<_ACEOF
23124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23125 _ACEOF
23128 done
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23138 $as_echo_n "checking for float round functions... " >&6; }
23139 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23140 $as_echo_n "(cached) " >&6
23141 else
23144 ac_ext=cpp
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23151 /* end confdefs.h. */
23152 #include <math.h>
23154 main ()
23156 ceilf (0); floorf (0);
23158 return 0;
23160 _ACEOF
23161 if ac_fn_cxx_try_compile "$LINENO"; then :
23162 glibcxx_cv_func_float_round_use=yes
23163 else
23164 glibcxx_cv_func_float_round_use=no
23166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 ac_ext=c
23168 ac_cpp='$CPP $CPPFLAGS'
23169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23176 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23177 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23178 for ac_func in ceilf floorf
23179 do :
23180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23182 eval as_val=\$$as_ac_var
23183 if test "x$as_val" = x""yes; then :
23184 cat >>confdefs.h <<_ACEOF
23185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23186 _ACEOF
23189 done
23191 else
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23193 $as_echo_n "checking for _float round functions... " >&6; }
23194 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23195 $as_echo_n "(cached) " >&6
23196 else
23199 ac_ext=cpp
23200 ac_cpp='$CXXCPP $CPPFLAGS'
23201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23207 #include <math.h>
23209 main ()
23211 _ceilf (0); _floorf (0);
23213 return 0;
23215 _ACEOF
23216 if ac_fn_cxx_try_compile "$LINENO"; then :
23217 glibcxx_cv_func__float_round_use=yes
23218 else
23219 glibcxx_cv_func__float_round_use=no
23221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23222 ac_ext=c
23223 ac_cpp='$CPP $CPPFLAGS'
23224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23231 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23232 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23233 for ac_func in _ceilf _floorf
23234 do :
23235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23237 eval as_val=\$$as_ac_var
23238 if test "x$as_val" = x""yes; then :
23239 cat >>confdefs.h <<_ACEOF
23240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23241 _ACEOF
23244 done
23254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23255 $as_echo_n "checking for expf declaration... " >&6; }
23256 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23257 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23258 $as_echo_n "(cached) " >&6
23259 else
23262 ac_ext=cpp
23263 ac_cpp='$CXXCPP $CPPFLAGS'
23264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23269 /* end confdefs.h. */
23270 #include <math.h>
23271 #ifdef HAVE_IEEEFP_H
23272 #include <ieeefp.h>
23273 #endif
23276 main ()
23278 expf(0);
23280 return 0;
23282 _ACEOF
23283 if ac_fn_cxx_try_compile "$LINENO"; then :
23284 glibcxx_cv_func_expf_use=yes
23285 else
23286 glibcxx_cv_func_expf_use=no
23288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23289 ac_ext=c
23290 ac_cpp='$CPP $CPPFLAGS'
23291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23300 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23302 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23303 for ac_func in expf
23304 do :
23305 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23306 if test "x$ac_cv_func_expf" = x""yes; then :
23307 cat >>confdefs.h <<_ACEOF
23308 #define HAVE_EXPF 1
23309 _ACEOF
23312 done
23314 else
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23317 $as_echo_n "checking for _expf declaration... " >&6; }
23318 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23319 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23320 $as_echo_n "(cached) " >&6
23321 else
23324 ac_ext=cpp
23325 ac_cpp='$CXXCPP $CPPFLAGS'
23326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23332 #include <math.h>
23333 #ifdef HAVE_IEEEFP_H
23334 #include <ieeefp.h>
23335 #endif
23338 main ()
23340 _expf(0);
23342 return 0;
23344 _ACEOF
23345 if ac_fn_cxx_try_compile "$LINENO"; then :
23346 glibcxx_cv_func__expf_use=yes
23347 else
23348 glibcxx_cv_func__expf_use=no
23350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_ext=c
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23362 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23364 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23365 for ac_func in _expf
23366 do :
23367 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23368 if test "x$ac_cv_func__expf" = x""yes; then :
23369 cat >>confdefs.h <<_ACEOF
23370 #define HAVE__EXPF 1
23371 _ACEOF
23374 done
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23384 $as_echo_n "checking for isnanf declaration... " >&6; }
23385 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23386 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23387 $as_echo_n "(cached) " >&6
23388 else
23391 ac_ext=cpp
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23399 #include <math.h>
23400 #ifdef HAVE_IEEEFP_H
23401 #include <ieeefp.h>
23402 #endif
23405 main ()
23407 isnanf(0);
23409 return 0;
23411 _ACEOF
23412 if ac_fn_cxx_try_compile "$LINENO"; then :
23413 glibcxx_cv_func_isnanf_use=yes
23414 else
23415 glibcxx_cv_func_isnanf_use=no
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 ac_ext=c
23419 ac_cpp='$CPP $CPPFLAGS'
23420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23429 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23431 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23432 for ac_func in isnanf
23433 do :
23434 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23435 if test "x$ac_cv_func_isnanf" = x""yes; then :
23436 cat >>confdefs.h <<_ACEOF
23437 #define HAVE_ISNANF 1
23438 _ACEOF
23441 done
23443 else
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23446 $as_echo_n "checking for _isnanf declaration... " >&6; }
23447 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23448 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23449 $as_echo_n "(cached) " >&6
23450 else
23453 ac_ext=cpp
23454 ac_cpp='$CXXCPP $CPPFLAGS'
23455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h. */
23461 #include <math.h>
23462 #ifdef HAVE_IEEEFP_H
23463 #include <ieeefp.h>
23464 #endif
23467 main ()
23469 _isnanf(0);
23471 return 0;
23473 _ACEOF
23474 if ac_fn_cxx_try_compile "$LINENO"; then :
23475 glibcxx_cv_func__isnanf_use=yes
23476 else
23477 glibcxx_cv_func__isnanf_use=no
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 ac_ext=c
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23491 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23493 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23494 for ac_func in _isnanf
23495 do :
23496 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23497 if test "x$ac_cv_func__isnanf" = x""yes; then :
23498 cat >>confdefs.h <<_ACEOF
23499 #define HAVE__ISNANF 1
23500 _ACEOF
23503 done
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23513 $as_echo_n "checking for isinff declaration... " >&6; }
23514 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23515 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23516 $as_echo_n "(cached) " >&6
23517 else
23520 ac_ext=cpp
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23527 /* end confdefs.h. */
23528 #include <math.h>
23529 #ifdef HAVE_IEEEFP_H
23530 #include <ieeefp.h>
23531 #endif
23534 main ()
23536 isinff(0);
23538 return 0;
23540 _ACEOF
23541 if ac_fn_cxx_try_compile "$LINENO"; then :
23542 glibcxx_cv_func_isinff_use=yes
23543 else
23544 glibcxx_cv_func_isinff_use=no
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547 ac_ext=c
23548 ac_cpp='$CPP $CPPFLAGS'
23549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23558 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23560 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23561 for ac_func in isinff
23562 do :
23563 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23564 if test "x$ac_cv_func_isinff" = x""yes; then :
23565 cat >>confdefs.h <<_ACEOF
23566 #define HAVE_ISINFF 1
23567 _ACEOF
23570 done
23572 else
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23575 $as_echo_n "checking for _isinff declaration... " >&6; }
23576 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23577 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23578 $as_echo_n "(cached) " >&6
23579 else
23582 ac_ext=cpp
23583 ac_cpp='$CXXCPP $CPPFLAGS'
23584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23589 /* end confdefs.h. */
23590 #include <math.h>
23591 #ifdef HAVE_IEEEFP_H
23592 #include <ieeefp.h>
23593 #endif
23596 main ()
23598 _isinff(0);
23600 return 0;
23602 _ACEOF
23603 if ac_fn_cxx_try_compile "$LINENO"; then :
23604 glibcxx_cv_func__isinff_use=yes
23605 else
23606 glibcxx_cv_func__isinff_use=no
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609 ac_ext=c
23610 ac_cpp='$CPP $CPPFLAGS'
23611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23620 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23622 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23623 for ac_func in _isinff
23624 do :
23625 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23626 if test "x$ac_cv_func__isinff" = x""yes; then :
23627 cat >>confdefs.h <<_ACEOF
23628 #define HAVE__ISINFF 1
23629 _ACEOF
23632 done
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23642 $as_echo_n "checking for atan2f declaration... " >&6; }
23643 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23644 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23645 $as_echo_n "(cached) " >&6
23646 else
23649 ac_ext=cpp
23650 ac_cpp='$CXXCPP $CPPFLAGS'
23651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23656 /* end confdefs.h. */
23657 #include <math.h>
23659 main ()
23661 atan2f(0, 0);
23663 return 0;
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667 glibcxx_cv_func_atan2f_use=yes
23668 else
23669 glibcxx_cv_func_atan2f_use=no
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23683 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23685 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23686 for ac_func in atan2f
23687 do :
23688 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23689 if test "x$ac_cv_func_atan2f" = x""yes; then :
23690 cat >>confdefs.h <<_ACEOF
23691 #define HAVE_ATAN2F 1
23692 _ACEOF
23695 done
23697 else
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23700 $as_echo_n "checking for _atan2f declaration... " >&6; }
23701 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23702 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23703 $as_echo_n "(cached) " >&6
23704 else
23707 ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h. */
23715 #include <math.h>
23717 main ()
23719 _atan2f(0, 0);
23721 return 0;
23723 _ACEOF
23724 if ac_fn_cxx_try_compile "$LINENO"; then :
23725 glibcxx_cv_func__atan2f_use=yes
23726 else
23727 glibcxx_cv_func__atan2f_use=no
23729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23730 ac_ext=c
23731 ac_cpp='$CPP $CPPFLAGS'
23732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23741 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23743 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23744 for ac_func in _atan2f
23745 do :
23746 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23747 if test "x$ac_cv_func__atan2f" = x""yes; then :
23748 cat >>confdefs.h <<_ACEOF
23749 #define HAVE__ATAN2F 1
23750 _ACEOF
23753 done
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23763 $as_echo_n "checking for fabsf declaration... " >&6; }
23764 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23765 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23766 $as_echo_n "(cached) " >&6
23767 else
23770 ac_ext=cpp
23771 ac_cpp='$CXXCPP $CPPFLAGS'
23772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23777 /* end confdefs.h. */
23778 #include <math.h>
23779 #ifdef HAVE_IEEEFP_H
23780 #include <ieeefp.h>
23781 #endif
23784 main ()
23786 fabsf(0);
23788 return 0;
23790 _ACEOF
23791 if ac_fn_cxx_try_compile "$LINENO"; then :
23792 glibcxx_cv_func_fabsf_use=yes
23793 else
23794 glibcxx_cv_func_fabsf_use=no
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797 ac_ext=c
23798 ac_cpp='$CPP $CPPFLAGS'
23799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23808 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23810 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23811 for ac_func in fabsf
23812 do :
23813 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23814 if test "x$ac_cv_func_fabsf" = x""yes; then :
23815 cat >>confdefs.h <<_ACEOF
23816 #define HAVE_FABSF 1
23817 _ACEOF
23820 done
23822 else
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23825 $as_echo_n "checking for _fabsf declaration... " >&6; }
23826 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23827 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23828 $as_echo_n "(cached) " >&6
23829 else
23832 ac_ext=cpp
23833 ac_cpp='$CXXCPP $CPPFLAGS'
23834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23839 /* end confdefs.h. */
23840 #include <math.h>
23841 #ifdef HAVE_IEEEFP_H
23842 #include <ieeefp.h>
23843 #endif
23846 main ()
23848 _fabsf(0);
23850 return 0;
23852 _ACEOF
23853 if ac_fn_cxx_try_compile "$LINENO"; then :
23854 glibcxx_cv_func__fabsf_use=yes
23855 else
23856 glibcxx_cv_func__fabsf_use=no
23858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23859 ac_ext=c
23860 ac_cpp='$CPP $CPPFLAGS'
23861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23870 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23872 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23873 for ac_func in _fabsf
23874 do :
23875 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23876 if test "x$ac_cv_func__fabsf" = x""yes; then :
23877 cat >>confdefs.h <<_ACEOF
23878 #define HAVE__FABSF 1
23879 _ACEOF
23882 done
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23892 $as_echo_n "checking for fmodf declaration... " >&6; }
23893 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23894 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23895 $as_echo_n "(cached) " >&6
23896 else
23899 ac_ext=cpp
23900 ac_cpp='$CXXCPP $CPPFLAGS'
23901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23906 /* end confdefs.h. */
23907 #include <math.h>
23909 main ()
23911 fmodf(0, 0);
23913 return 0;
23915 _ACEOF
23916 if ac_fn_cxx_try_compile "$LINENO"; then :
23917 glibcxx_cv_func_fmodf_use=yes
23918 else
23919 glibcxx_cv_func_fmodf_use=no
23921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23922 ac_ext=c
23923 ac_cpp='$CPP $CPPFLAGS'
23924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23933 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23935 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23936 for ac_func in fmodf
23937 do :
23938 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23939 if test "x$ac_cv_func_fmodf" = x""yes; then :
23940 cat >>confdefs.h <<_ACEOF
23941 #define HAVE_FMODF 1
23942 _ACEOF
23945 done
23947 else
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23950 $as_echo_n "checking for _fmodf declaration... " >&6; }
23951 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23952 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23953 $as_echo_n "(cached) " >&6
23954 else
23957 ac_ext=cpp
23958 ac_cpp='$CXXCPP $CPPFLAGS'
23959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h. */
23965 #include <math.h>
23967 main ()
23969 _fmodf(0, 0);
23971 return 0;
23973 _ACEOF
23974 if ac_fn_cxx_try_compile "$LINENO"; then :
23975 glibcxx_cv_func__fmodf_use=yes
23976 else
23977 glibcxx_cv_func__fmodf_use=no
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23980 ac_ext=c
23981 ac_cpp='$CPP $CPPFLAGS'
23982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23991 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23993 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23994 for ac_func in _fmodf
23995 do :
23996 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23997 if test "x$ac_cv_func__fmodf" = x""yes; then :
23998 cat >>confdefs.h <<_ACEOF
23999 #define HAVE__FMODF 1
24000 _ACEOF
24003 done
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24013 $as_echo_n "checking for frexpf declaration... " >&6; }
24014 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24015 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24016 $as_echo_n "(cached) " >&6
24017 else
24020 ac_ext=cpp
24021 ac_cpp='$CXXCPP $CPPFLAGS'
24022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24027 /* end confdefs.h. */
24028 #include <math.h>
24030 main ()
24032 frexpf(0, 0);
24034 return 0;
24036 _ACEOF
24037 if ac_fn_cxx_try_compile "$LINENO"; then :
24038 glibcxx_cv_func_frexpf_use=yes
24039 else
24040 glibcxx_cv_func_frexpf_use=no
24042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24043 ac_ext=c
24044 ac_cpp='$CPP $CPPFLAGS'
24045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24054 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24056 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24057 for ac_func in frexpf
24058 do :
24059 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24060 if test "x$ac_cv_func_frexpf" = x""yes; then :
24061 cat >>confdefs.h <<_ACEOF
24062 #define HAVE_FREXPF 1
24063 _ACEOF
24066 done
24068 else
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24071 $as_echo_n "checking for _frexpf declaration... " >&6; }
24072 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24073 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24074 $as_echo_n "(cached) " >&6
24075 else
24078 ac_ext=cpp
24079 ac_cpp='$CXXCPP $CPPFLAGS'
24080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24085 /* end confdefs.h. */
24086 #include <math.h>
24088 main ()
24090 _frexpf(0, 0);
24092 return 0;
24094 _ACEOF
24095 if ac_fn_cxx_try_compile "$LINENO"; then :
24096 glibcxx_cv_func__frexpf_use=yes
24097 else
24098 glibcxx_cv_func__frexpf_use=no
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 ac_ext=c
24102 ac_cpp='$CPP $CPPFLAGS'
24103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24112 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24114 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24115 for ac_func in _frexpf
24116 do :
24117 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24118 if test "x$ac_cv_func__frexpf" = x""yes; then :
24119 cat >>confdefs.h <<_ACEOF
24120 #define HAVE__FREXPF 1
24121 _ACEOF
24124 done
24133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24134 $as_echo_n "checking for hypotf declaration... " >&6; }
24135 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24136 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24137 $as_echo_n "(cached) " >&6
24138 else
24141 ac_ext=cpp
24142 ac_cpp='$CXXCPP $CPPFLAGS'
24143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24148 /* end confdefs.h. */
24149 #include <math.h>
24151 main ()
24153 hypotf(0, 0);
24155 return 0;
24157 _ACEOF
24158 if ac_fn_cxx_try_compile "$LINENO"; then :
24159 glibcxx_cv_func_hypotf_use=yes
24160 else
24161 glibcxx_cv_func_hypotf_use=no
24163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24164 ac_ext=c
24165 ac_cpp='$CPP $CPPFLAGS'
24166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24175 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24177 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24178 for ac_func in hypotf
24179 do :
24180 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24181 if test "x$ac_cv_func_hypotf" = x""yes; then :
24182 cat >>confdefs.h <<_ACEOF
24183 #define HAVE_HYPOTF 1
24184 _ACEOF
24187 done
24189 else
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24192 $as_echo_n "checking for _hypotf declaration... " >&6; }
24193 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24194 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24195 $as_echo_n "(cached) " >&6
24196 else
24199 ac_ext=cpp
24200 ac_cpp='$CXXCPP $CPPFLAGS'
24201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24206 /* end confdefs.h. */
24207 #include <math.h>
24209 main ()
24211 _hypotf(0, 0);
24213 return 0;
24215 _ACEOF
24216 if ac_fn_cxx_try_compile "$LINENO"; then :
24217 glibcxx_cv_func__hypotf_use=yes
24218 else
24219 glibcxx_cv_func__hypotf_use=no
24221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24222 ac_ext=c
24223 ac_cpp='$CPP $CPPFLAGS'
24224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24233 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24235 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24236 for ac_func in _hypotf
24237 do :
24238 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24239 if test "x$ac_cv_func__hypotf" = x""yes; then :
24240 cat >>confdefs.h <<_ACEOF
24241 #define HAVE__HYPOTF 1
24242 _ACEOF
24245 done
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24255 $as_echo_n "checking for ldexpf declaration... " >&6; }
24256 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24257 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24258 $as_echo_n "(cached) " >&6
24259 else
24262 ac_ext=cpp
24263 ac_cpp='$CXXCPP $CPPFLAGS'
24264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24269 /* end confdefs.h. */
24270 #include <math.h>
24272 main ()
24274 ldexpf(0, 0);
24276 return 0;
24278 _ACEOF
24279 if ac_fn_cxx_try_compile "$LINENO"; then :
24280 glibcxx_cv_func_ldexpf_use=yes
24281 else
24282 glibcxx_cv_func_ldexpf_use=no
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285 ac_ext=c
24286 ac_cpp='$CPP $CPPFLAGS'
24287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24296 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24298 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24299 for ac_func in ldexpf
24300 do :
24301 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24302 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24303 cat >>confdefs.h <<_ACEOF
24304 #define HAVE_LDEXPF 1
24305 _ACEOF
24308 done
24310 else
24312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24313 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24314 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24315 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24316 $as_echo_n "(cached) " >&6
24317 else
24320 ac_ext=cpp
24321 ac_cpp='$CXXCPP $CPPFLAGS'
24322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24327 /* end confdefs.h. */
24328 #include <math.h>
24330 main ()
24332 _ldexpf(0, 0);
24334 return 0;
24336 _ACEOF
24337 if ac_fn_cxx_try_compile "$LINENO"; then :
24338 glibcxx_cv_func__ldexpf_use=yes
24339 else
24340 glibcxx_cv_func__ldexpf_use=no
24342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24343 ac_ext=c
24344 ac_cpp='$CPP $CPPFLAGS'
24345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24354 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24356 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24357 for ac_func in _ldexpf
24358 do :
24359 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24360 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24361 cat >>confdefs.h <<_ACEOF
24362 #define HAVE__LDEXPF 1
24363 _ACEOF
24366 done
24375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24376 $as_echo_n "checking for logf declaration... " >&6; }
24377 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24378 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24379 $as_echo_n "(cached) " >&6
24380 else
24383 ac_ext=cpp
24384 ac_cpp='$CXXCPP $CPPFLAGS'
24385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24390 /* end confdefs.h. */
24391 #include <math.h>
24392 #ifdef HAVE_IEEEFP_H
24393 #include <ieeefp.h>
24394 #endif
24397 main ()
24399 logf(0);
24401 return 0;
24403 _ACEOF
24404 if ac_fn_cxx_try_compile "$LINENO"; then :
24405 glibcxx_cv_func_logf_use=yes
24406 else
24407 glibcxx_cv_func_logf_use=no
24409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24410 ac_ext=c
24411 ac_cpp='$CPP $CPPFLAGS'
24412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24421 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24423 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24424 for ac_func in logf
24425 do :
24426 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24427 if test "x$ac_cv_func_logf" = x""yes; then :
24428 cat >>confdefs.h <<_ACEOF
24429 #define HAVE_LOGF 1
24430 _ACEOF
24433 done
24435 else
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24438 $as_echo_n "checking for _logf declaration... " >&6; }
24439 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24440 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24441 $as_echo_n "(cached) " >&6
24442 else
24445 ac_ext=cpp
24446 ac_cpp='$CXXCPP $CPPFLAGS'
24447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24452 /* end confdefs.h. */
24453 #include <math.h>
24454 #ifdef HAVE_IEEEFP_H
24455 #include <ieeefp.h>
24456 #endif
24459 main ()
24461 _logf(0);
24463 return 0;
24465 _ACEOF
24466 if ac_fn_cxx_try_compile "$LINENO"; then :
24467 glibcxx_cv_func__logf_use=yes
24468 else
24469 glibcxx_cv_func__logf_use=no
24471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24472 ac_ext=c
24473 ac_cpp='$CPP $CPPFLAGS'
24474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24483 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24485 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24486 for ac_func in _logf
24487 do :
24488 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24489 if test "x$ac_cv_func__logf" = x""yes; then :
24490 cat >>confdefs.h <<_ACEOF
24491 #define HAVE__LOGF 1
24492 _ACEOF
24495 done
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24505 $as_echo_n "checking for log10f declaration... " >&6; }
24506 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24507 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24508 $as_echo_n "(cached) " >&6
24509 else
24512 ac_ext=cpp
24513 ac_cpp='$CXXCPP $CPPFLAGS'
24514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24519 /* end confdefs.h. */
24520 #include <math.h>
24521 #ifdef HAVE_IEEEFP_H
24522 #include <ieeefp.h>
24523 #endif
24526 main ()
24528 log10f(0);
24530 return 0;
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534 glibcxx_cv_func_log10f_use=yes
24535 else
24536 glibcxx_cv_func_log10f_use=no
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 ac_ext=c
24540 ac_cpp='$CPP $CPPFLAGS'
24541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24550 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24552 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24553 for ac_func in log10f
24554 do :
24555 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24556 if test "x$ac_cv_func_log10f" = x""yes; then :
24557 cat >>confdefs.h <<_ACEOF
24558 #define HAVE_LOG10F 1
24559 _ACEOF
24562 done
24564 else
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24567 $as_echo_n "checking for _log10f declaration... " >&6; }
24568 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24569 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24570 $as_echo_n "(cached) " >&6
24571 else
24574 ac_ext=cpp
24575 ac_cpp='$CXXCPP $CPPFLAGS'
24576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h. */
24582 #include <math.h>
24583 #ifdef HAVE_IEEEFP_H
24584 #include <ieeefp.h>
24585 #endif
24588 main ()
24590 _log10f(0);
24592 return 0;
24594 _ACEOF
24595 if ac_fn_cxx_try_compile "$LINENO"; then :
24596 glibcxx_cv_func__log10f_use=yes
24597 else
24598 glibcxx_cv_func__log10f_use=no
24600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24601 ac_ext=c
24602 ac_cpp='$CPP $CPPFLAGS'
24603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24612 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24614 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24615 for ac_func in _log10f
24616 do :
24617 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24618 if test "x$ac_cv_func__log10f" = x""yes; then :
24619 cat >>confdefs.h <<_ACEOF
24620 #define HAVE__LOG10F 1
24621 _ACEOF
24624 done
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24634 $as_echo_n "checking for modff declaration... " >&6; }
24635 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24636 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24637 $as_echo_n "(cached) " >&6
24638 else
24641 ac_ext=cpp
24642 ac_cpp='$CXXCPP $CPPFLAGS'
24643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24648 /* end confdefs.h. */
24649 #include <math.h>
24651 main ()
24653 modff(0, 0);
24655 return 0;
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659 glibcxx_cv_func_modff_use=yes
24660 else
24661 glibcxx_cv_func_modff_use=no
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 ac_ext=c
24665 ac_cpp='$CPP $CPPFLAGS'
24666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24675 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24677 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24678 for ac_func in modff
24679 do :
24680 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24681 if test "x$ac_cv_func_modff" = x""yes; then :
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_MODFF 1
24684 _ACEOF
24687 done
24689 else
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24692 $as_echo_n "checking for _modff declaration... " >&6; }
24693 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24694 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24695 $as_echo_n "(cached) " >&6
24696 else
24699 ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24707 #include <math.h>
24709 main ()
24711 _modff(0, 0);
24713 return 0;
24715 _ACEOF
24716 if ac_fn_cxx_try_compile "$LINENO"; then :
24717 glibcxx_cv_func__modff_use=yes
24718 else
24719 glibcxx_cv_func__modff_use=no
24721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24722 ac_ext=c
24723 ac_cpp='$CPP $CPPFLAGS'
24724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24733 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24735 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24736 for ac_func in _modff
24737 do :
24738 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24739 if test "x$ac_cv_func__modff" = x""yes; then :
24740 cat >>confdefs.h <<_ACEOF
24741 #define HAVE__MODFF 1
24742 _ACEOF
24745 done
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24755 $as_echo_n "checking for modf declaration... " >&6; }
24756 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24757 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24758 $as_echo_n "(cached) " >&6
24759 else
24762 ac_ext=cpp
24763 ac_cpp='$CXXCPP $CPPFLAGS'
24764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24769 /* end confdefs.h. */
24770 #include <math.h>
24772 main ()
24774 modf(0, 0);
24776 return 0;
24778 _ACEOF
24779 if ac_fn_cxx_try_compile "$LINENO"; then :
24780 glibcxx_cv_func_modf_use=yes
24781 else
24782 glibcxx_cv_func_modf_use=no
24784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24785 ac_ext=c
24786 ac_cpp='$CPP $CPPFLAGS'
24787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24796 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24798 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24799 for ac_func in modf
24800 do :
24801 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24802 if test "x$ac_cv_func_modf" = x""yes; then :
24803 cat >>confdefs.h <<_ACEOF
24804 #define HAVE_MODF 1
24805 _ACEOF
24808 done
24810 else
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24813 $as_echo_n "checking for _modf declaration... " >&6; }
24814 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24815 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24816 $as_echo_n "(cached) " >&6
24817 else
24820 ac_ext=cpp
24821 ac_cpp='$CXXCPP $CPPFLAGS'
24822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24827 /* end confdefs.h. */
24828 #include <math.h>
24830 main ()
24832 _modf(0, 0);
24834 return 0;
24836 _ACEOF
24837 if ac_fn_cxx_try_compile "$LINENO"; then :
24838 glibcxx_cv_func__modf_use=yes
24839 else
24840 glibcxx_cv_func__modf_use=no
24842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24843 ac_ext=c
24844 ac_cpp='$CPP $CPPFLAGS'
24845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24854 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24856 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24857 for ac_func in _modf
24858 do :
24859 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24860 if test "x$ac_cv_func__modf" = x""yes; then :
24861 cat >>confdefs.h <<_ACEOF
24862 #define HAVE__MODF 1
24863 _ACEOF
24866 done
24875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24876 $as_echo_n "checking for powf declaration... " >&6; }
24877 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24878 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24879 $as_echo_n "(cached) " >&6
24880 else
24883 ac_ext=cpp
24884 ac_cpp='$CXXCPP $CPPFLAGS'
24885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24890 /* end confdefs.h. */
24891 #include <math.h>
24893 main ()
24895 powf(0, 0);
24897 return 0;
24899 _ACEOF
24900 if ac_fn_cxx_try_compile "$LINENO"; then :
24901 glibcxx_cv_func_powf_use=yes
24902 else
24903 glibcxx_cv_func_powf_use=no
24905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24906 ac_ext=c
24907 ac_cpp='$CPP $CPPFLAGS'
24908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24917 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24919 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24920 for ac_func in powf
24921 do :
24922 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24923 if test "x$ac_cv_func_powf" = x""yes; then :
24924 cat >>confdefs.h <<_ACEOF
24925 #define HAVE_POWF 1
24926 _ACEOF
24929 done
24931 else
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24934 $as_echo_n "checking for _powf declaration... " >&6; }
24935 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24936 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24937 $as_echo_n "(cached) " >&6
24938 else
24941 ac_ext=cpp
24942 ac_cpp='$CXXCPP $CPPFLAGS'
24943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24948 /* end confdefs.h. */
24949 #include <math.h>
24951 main ()
24953 _powf(0, 0);
24955 return 0;
24957 _ACEOF
24958 if ac_fn_cxx_try_compile "$LINENO"; then :
24959 glibcxx_cv_func__powf_use=yes
24960 else
24961 glibcxx_cv_func__powf_use=no
24963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24964 ac_ext=c
24965 ac_cpp='$CPP $CPPFLAGS'
24966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24975 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24977 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24978 for ac_func in _powf
24979 do :
24980 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24981 if test "x$ac_cv_func__powf" = x""yes; then :
24982 cat >>confdefs.h <<_ACEOF
24983 #define HAVE__POWF 1
24984 _ACEOF
24987 done
24996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24997 $as_echo_n "checking for sqrtf declaration... " >&6; }
24998 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24999 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25000 $as_echo_n "(cached) " >&6
25001 else
25004 ac_ext=cpp
25005 ac_cpp='$CXXCPP $CPPFLAGS'
25006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25011 /* end confdefs.h. */
25012 #include <math.h>
25013 #ifdef HAVE_IEEEFP_H
25014 #include <ieeefp.h>
25015 #endif
25018 main ()
25020 sqrtf(0);
25022 return 0;
25024 _ACEOF
25025 if ac_fn_cxx_try_compile "$LINENO"; then :
25026 glibcxx_cv_func_sqrtf_use=yes
25027 else
25028 glibcxx_cv_func_sqrtf_use=no
25030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25031 ac_ext=c
25032 ac_cpp='$CPP $CPPFLAGS'
25033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25042 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25044 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25045 for ac_func in sqrtf
25046 do :
25047 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25048 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25049 cat >>confdefs.h <<_ACEOF
25050 #define HAVE_SQRTF 1
25051 _ACEOF
25054 done
25056 else
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25059 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25060 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25061 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25062 $as_echo_n "(cached) " >&6
25063 else
25066 ac_ext=cpp
25067 ac_cpp='$CXXCPP $CPPFLAGS'
25068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25073 /* end confdefs.h. */
25074 #include <math.h>
25075 #ifdef HAVE_IEEEFP_H
25076 #include <ieeefp.h>
25077 #endif
25080 main ()
25082 _sqrtf(0);
25084 return 0;
25086 _ACEOF
25087 if ac_fn_cxx_try_compile "$LINENO"; then :
25088 glibcxx_cv_func__sqrtf_use=yes
25089 else
25090 glibcxx_cv_func__sqrtf_use=no
25092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25093 ac_ext=c
25094 ac_cpp='$CPP $CPPFLAGS'
25095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25104 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25106 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25107 for ac_func in _sqrtf
25108 do :
25109 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25110 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25111 cat >>confdefs.h <<_ACEOF
25112 #define HAVE__SQRTF 1
25113 _ACEOF
25116 done
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25126 $as_echo_n "checking for sincosf declaration... " >&6; }
25127 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25128 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25129 $as_echo_n "(cached) " >&6
25130 else
25133 ac_ext=cpp
25134 ac_cpp='$CXXCPP $CPPFLAGS'
25135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25141 #include <math.h>
25143 main ()
25145 sincosf(0, 0, 0);
25147 return 0;
25149 _ACEOF
25150 if ac_fn_cxx_try_compile "$LINENO"; then :
25151 glibcxx_cv_func_sincosf_use=yes
25152 else
25153 glibcxx_cv_func_sincosf_use=no
25155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25156 ac_ext=c
25157 ac_cpp='$CPP $CPPFLAGS'
25158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25167 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25169 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25170 for ac_func in sincosf
25171 do :
25172 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25173 if test "x$ac_cv_func_sincosf" = x""yes; then :
25174 cat >>confdefs.h <<_ACEOF
25175 #define HAVE_SINCOSF 1
25176 _ACEOF
25179 done
25181 else
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25184 $as_echo_n "checking for _sincosf declaration... " >&6; }
25185 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25186 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25187 $as_echo_n "(cached) " >&6
25188 else
25191 ac_ext=cpp
25192 ac_cpp='$CXXCPP $CPPFLAGS'
25193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25198 /* end confdefs.h. */
25199 #include <math.h>
25201 main ()
25203 _sincosf(0, 0, 0);
25205 return 0;
25207 _ACEOF
25208 if ac_fn_cxx_try_compile "$LINENO"; then :
25209 glibcxx_cv_func__sincosf_use=yes
25210 else
25211 glibcxx_cv_func__sincosf_use=no
25213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25214 ac_ext=c
25215 ac_cpp='$CPP $CPPFLAGS'
25216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25225 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25227 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25228 for ac_func in _sincosf
25229 do :
25230 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25231 if test "x$ac_cv_func__sincosf" = x""yes; then :
25232 cat >>confdefs.h <<_ACEOF
25233 #define HAVE__SINCOSF 1
25234 _ACEOF
25237 done
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25247 $as_echo_n "checking for finitef declaration... " >&6; }
25248 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25249 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25250 $as_echo_n "(cached) " >&6
25251 else
25254 ac_ext=cpp
25255 ac_cpp='$CXXCPP $CPPFLAGS'
25256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25262 #include <math.h>
25263 #ifdef HAVE_IEEEFP_H
25264 #include <ieeefp.h>
25265 #endif
25268 main ()
25270 finitef(0);
25272 return 0;
25274 _ACEOF
25275 if ac_fn_cxx_try_compile "$LINENO"; then :
25276 glibcxx_cv_func_finitef_use=yes
25277 else
25278 glibcxx_cv_func_finitef_use=no
25280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25281 ac_ext=c
25282 ac_cpp='$CPP $CPPFLAGS'
25283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25292 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25294 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25295 for ac_func in finitef
25296 do :
25297 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25298 if test "x$ac_cv_func_finitef" = x""yes; then :
25299 cat >>confdefs.h <<_ACEOF
25300 #define HAVE_FINITEF 1
25301 _ACEOF
25304 done
25306 else
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25309 $as_echo_n "checking for _finitef declaration... " >&6; }
25310 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25311 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25312 $as_echo_n "(cached) " >&6
25313 else
25316 ac_ext=cpp
25317 ac_cpp='$CXXCPP $CPPFLAGS'
25318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25323 /* end confdefs.h. */
25324 #include <math.h>
25325 #ifdef HAVE_IEEEFP_H
25326 #include <ieeefp.h>
25327 #endif
25330 main ()
25332 _finitef(0);
25334 return 0;
25336 _ACEOF
25337 if ac_fn_cxx_try_compile "$LINENO"; then :
25338 glibcxx_cv_func__finitef_use=yes
25339 else
25340 glibcxx_cv_func__finitef_use=no
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 ac_ext=c
25344 ac_cpp='$CPP $CPPFLAGS'
25345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25354 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25356 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25357 for ac_func in _finitef
25358 do :
25359 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25360 if test "x$ac_cv_func__finitef" = x""yes; then :
25361 cat >>confdefs.h <<_ACEOF
25362 #define HAVE__FINITEF 1
25363 _ACEOF
25366 done
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25376 $as_echo_n "checking for long double trig functions... " >&6; }
25377 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25378 $as_echo_n "(cached) " >&6
25379 else
25382 ac_ext=cpp
25383 ac_cpp='$CXXCPP $CPPFLAGS'
25384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25390 #include <math.h>
25392 main ()
25394 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25396 return 0;
25398 _ACEOF
25399 if ac_fn_cxx_try_compile "$LINENO"; then :
25400 glibcxx_cv_func_long_double_trig_use=yes
25401 else
25402 glibcxx_cv_func_long_double_trig_use=no
25404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405 ac_ext=c
25406 ac_cpp='$CPP $CPPFLAGS'
25407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25414 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25415 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25416 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25417 do :
25418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25420 eval as_val=\$$as_ac_var
25421 if test "x$as_val" = x""yes; then :
25422 cat >>confdefs.h <<_ACEOF
25423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25424 _ACEOF
25427 done
25429 else
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25431 $as_echo_n "checking for _long double trig functions... " >&6; }
25432 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25433 $as_echo_n "(cached) " >&6
25434 else
25437 ac_ext=cpp
25438 ac_cpp='$CXXCPP $CPPFLAGS'
25439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25444 /* end confdefs.h. */
25445 #include <math.h>
25447 main ()
25449 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25451 return 0;
25453 _ACEOF
25454 if ac_fn_cxx_try_compile "$LINENO"; then :
25455 glibcxx_cv_func__long_double_trig_use=yes
25456 else
25457 glibcxx_cv_func__long_double_trig_use=no
25459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25460 ac_ext=c
25461 ac_cpp='$CPP $CPPFLAGS'
25462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25469 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25470 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25471 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25472 do :
25473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25475 eval as_val=\$$as_ac_var
25476 if test "x$as_val" = x""yes; then :
25477 cat >>confdefs.h <<_ACEOF
25478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25479 _ACEOF
25482 done
25491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25492 $as_echo_n "checking for long double round functions... " >&6; }
25493 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25494 $as_echo_n "(cached) " >&6
25495 else
25498 ac_ext=cpp
25499 ac_cpp='$CXXCPP $CPPFLAGS'
25500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25506 #include <math.h>
25508 main ()
25510 ceill (0); floorl (0);
25512 return 0;
25514 _ACEOF
25515 if ac_fn_cxx_try_compile "$LINENO"; then :
25516 glibcxx_cv_func_long_double_round_use=yes
25517 else
25518 glibcxx_cv_func_long_double_round_use=no
25520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25521 ac_ext=c
25522 ac_cpp='$CPP $CPPFLAGS'
25523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25530 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25531 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25532 for ac_func in ceill floorl
25533 do :
25534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25536 eval as_val=\$$as_ac_var
25537 if test "x$as_val" = x""yes; then :
25538 cat >>confdefs.h <<_ACEOF
25539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25540 _ACEOF
25543 done
25545 else
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25547 $as_echo_n "checking for _long double round functions... " >&6; }
25548 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25549 $as_echo_n "(cached) " >&6
25550 else
25553 ac_ext=cpp
25554 ac_cpp='$CXXCPP $CPPFLAGS'
25555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h. */
25561 #include <math.h>
25563 main ()
25565 _ceill (0); _floorl (0);
25567 return 0;
25569 _ACEOF
25570 if ac_fn_cxx_try_compile "$LINENO"; then :
25571 glibcxx_cv_func__long_double_round_use=yes
25572 else
25573 glibcxx_cv_func__long_double_round_use=no
25575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25576 ac_ext=c
25577 ac_cpp='$CPP $CPPFLAGS'
25578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25585 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25586 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25587 for ac_func in _ceill _floorl
25588 do :
25589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25591 eval as_val=\$$as_ac_var
25592 if test "x$as_val" = x""yes; then :
25593 cat >>confdefs.h <<_ACEOF
25594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25595 _ACEOF
25598 done
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25609 $as_echo_n "checking for isnanl declaration... " >&6; }
25610 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25611 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25612 $as_echo_n "(cached) " >&6
25613 else
25616 ac_ext=cpp
25617 ac_cpp='$CXXCPP $CPPFLAGS'
25618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25623 /* end confdefs.h. */
25624 #include <math.h>
25625 #ifdef HAVE_IEEEFP_H
25626 #include <ieeefp.h>
25627 #endif
25630 main ()
25632 isnanl(0);
25634 return 0;
25636 _ACEOF
25637 if ac_fn_cxx_try_compile "$LINENO"; then :
25638 glibcxx_cv_func_isnanl_use=yes
25639 else
25640 glibcxx_cv_func_isnanl_use=no
25642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25643 ac_ext=c
25644 ac_cpp='$CPP $CPPFLAGS'
25645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25654 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25656 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25657 for ac_func in isnanl
25658 do :
25659 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25660 if test "x$ac_cv_func_isnanl" = x""yes; then :
25661 cat >>confdefs.h <<_ACEOF
25662 #define HAVE_ISNANL 1
25663 _ACEOF
25666 done
25668 else
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25671 $as_echo_n "checking for _isnanl declaration... " >&6; }
25672 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25673 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25674 $as_echo_n "(cached) " >&6
25675 else
25678 ac_ext=cpp
25679 ac_cpp='$CXXCPP $CPPFLAGS'
25680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25685 /* end confdefs.h. */
25686 #include <math.h>
25687 #ifdef HAVE_IEEEFP_H
25688 #include <ieeefp.h>
25689 #endif
25692 main ()
25694 _isnanl(0);
25696 return 0;
25698 _ACEOF
25699 if ac_fn_cxx_try_compile "$LINENO"; then :
25700 glibcxx_cv_func__isnanl_use=yes
25701 else
25702 glibcxx_cv_func__isnanl_use=no
25704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25705 ac_ext=c
25706 ac_cpp='$CPP $CPPFLAGS'
25707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25716 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25718 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25719 for ac_func in _isnanl
25720 do :
25721 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25722 if test "x$ac_cv_func__isnanl" = x""yes; then :
25723 cat >>confdefs.h <<_ACEOF
25724 #define HAVE__ISNANL 1
25725 _ACEOF
25728 done
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25738 $as_echo_n "checking for isinfl declaration... " >&6; }
25739 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25740 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25741 $as_echo_n "(cached) " >&6
25742 else
25745 ac_ext=cpp
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25753 #include <math.h>
25754 #ifdef HAVE_IEEEFP_H
25755 #include <ieeefp.h>
25756 #endif
25759 main ()
25761 isinfl(0);
25763 return 0;
25765 _ACEOF
25766 if ac_fn_cxx_try_compile "$LINENO"; then :
25767 glibcxx_cv_func_isinfl_use=yes
25768 else
25769 glibcxx_cv_func_isinfl_use=no
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25772 ac_ext=c
25773 ac_cpp='$CPP $CPPFLAGS'
25774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25783 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25785 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25786 for ac_func in isinfl
25787 do :
25788 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25789 if test "x$ac_cv_func_isinfl" = x""yes; then :
25790 cat >>confdefs.h <<_ACEOF
25791 #define HAVE_ISINFL 1
25792 _ACEOF
25795 done
25797 else
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25800 $as_echo_n "checking for _isinfl declaration... " >&6; }
25801 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25802 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25803 $as_echo_n "(cached) " >&6
25804 else
25807 ac_ext=cpp
25808 ac_cpp='$CXXCPP $CPPFLAGS'
25809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25814 /* end confdefs.h. */
25815 #include <math.h>
25816 #ifdef HAVE_IEEEFP_H
25817 #include <ieeefp.h>
25818 #endif
25821 main ()
25823 _isinfl(0);
25825 return 0;
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func__isinfl_use=yes
25830 else
25831 glibcxx_cv_func__isinfl_use=no
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25845 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25847 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25848 for ac_func in _isinfl
25849 do :
25850 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25851 if test "x$ac_cv_func__isinfl" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE__ISINFL 1
25854 _ACEOF
25857 done
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25867 $as_echo_n "checking for atan2l declaration... " >&6; }
25868 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25869 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25870 $as_echo_n "(cached) " >&6
25871 else
25874 ac_ext=cpp
25875 ac_cpp='$CXXCPP $CPPFLAGS'
25876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881 /* end confdefs.h. */
25882 #include <math.h>
25884 main ()
25886 atan2l(0, 0);
25888 return 0;
25890 _ACEOF
25891 if ac_fn_cxx_try_compile "$LINENO"; then :
25892 glibcxx_cv_func_atan2l_use=yes
25893 else
25894 glibcxx_cv_func_atan2l_use=no
25896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897 ac_ext=c
25898 ac_cpp='$CPP $CPPFLAGS'
25899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25908 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25910 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25911 for ac_func in atan2l
25912 do :
25913 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25914 if test "x$ac_cv_func_atan2l" = x""yes; then :
25915 cat >>confdefs.h <<_ACEOF
25916 #define HAVE_ATAN2L 1
25917 _ACEOF
25920 done
25922 else
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25925 $as_echo_n "checking for _atan2l declaration... " >&6; }
25926 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25927 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25928 $as_echo_n "(cached) " >&6
25929 else
25932 ac_ext=cpp
25933 ac_cpp='$CXXCPP $CPPFLAGS'
25934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h. */
25940 #include <math.h>
25942 main ()
25944 _atan2l(0, 0);
25946 return 0;
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func__atan2l_use=yes
25951 else
25952 glibcxx_cv_func__atan2l_use=no
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25966 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25968 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25969 for ac_func in _atan2l
25970 do :
25971 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25972 if test "x$ac_cv_func__atan2l" = x""yes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE__ATAN2L 1
25975 _ACEOF
25978 done
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25988 $as_echo_n "checking for expl declaration... " >&6; }
25989 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25990 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25991 $as_echo_n "(cached) " >&6
25992 else
25995 ac_ext=cpp
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26002 /* end confdefs.h. */
26003 #include <math.h>
26004 #ifdef HAVE_IEEEFP_H
26005 #include <ieeefp.h>
26006 #endif
26009 main ()
26011 expl(0);
26013 return 0;
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func_expl_use=yes
26018 else
26019 glibcxx_cv_func_expl_use=no
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26033 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26035 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26036 for ac_func in expl
26037 do :
26038 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26039 if test "x$ac_cv_func_expl" = x""yes; then :
26040 cat >>confdefs.h <<_ACEOF
26041 #define HAVE_EXPL 1
26042 _ACEOF
26045 done
26047 else
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26050 $as_echo_n "checking for _expl declaration... " >&6; }
26051 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26052 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26066 #ifdef HAVE_IEEEFP_H
26067 #include <ieeefp.h>
26068 #endif
26071 main ()
26073 _expl(0);
26075 return 0;
26077 _ACEOF
26078 if ac_fn_cxx_try_compile "$LINENO"; then :
26079 glibcxx_cv_func__expl_use=yes
26080 else
26081 glibcxx_cv_func__expl_use=no
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084 ac_ext=c
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26095 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26097 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26098 for ac_func in _expl
26099 do :
26100 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26101 if test "x$ac_cv_func__expl" = x""yes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE__EXPL 1
26104 _ACEOF
26107 done
26116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26117 $as_echo_n "checking for fabsl declaration... " >&6; }
26118 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26119 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26120 $as_echo_n "(cached) " >&6
26121 else
26124 ac_ext=cpp
26125 ac_cpp='$CXXCPP $CPPFLAGS'
26126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26131 /* end confdefs.h. */
26132 #include <math.h>
26133 #ifdef HAVE_IEEEFP_H
26134 #include <ieeefp.h>
26135 #endif
26138 main ()
26140 fabsl(0);
26142 return 0;
26144 _ACEOF
26145 if ac_fn_cxx_try_compile "$LINENO"; then :
26146 glibcxx_cv_func_fabsl_use=yes
26147 else
26148 glibcxx_cv_func_fabsl_use=no
26150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26151 ac_ext=c
26152 ac_cpp='$CPP $CPPFLAGS'
26153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26162 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26164 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26165 for ac_func in fabsl
26166 do :
26167 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26168 if test "x$ac_cv_func_fabsl" = x""yes; then :
26169 cat >>confdefs.h <<_ACEOF
26170 #define HAVE_FABSL 1
26171 _ACEOF
26174 done
26176 else
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26179 $as_echo_n "checking for _fabsl declaration... " >&6; }
26180 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26181 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26182 $as_echo_n "(cached) " >&6
26183 else
26186 ac_ext=cpp
26187 ac_cpp='$CXXCPP $CPPFLAGS'
26188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26194 #include <math.h>
26195 #ifdef HAVE_IEEEFP_H
26196 #include <ieeefp.h>
26197 #endif
26200 main ()
26202 _fabsl(0);
26204 return 0;
26206 _ACEOF
26207 if ac_fn_cxx_try_compile "$LINENO"; then :
26208 glibcxx_cv_func__fabsl_use=yes
26209 else
26210 glibcxx_cv_func__fabsl_use=no
26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26213 ac_ext=c
26214 ac_cpp='$CPP $CPPFLAGS'
26215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26224 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26226 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26227 for ac_func in _fabsl
26228 do :
26229 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26230 if test "x$ac_cv_func__fabsl" = x""yes; then :
26231 cat >>confdefs.h <<_ACEOF
26232 #define HAVE__FABSL 1
26233 _ACEOF
26236 done
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26246 $as_echo_n "checking for fmodl declaration... " >&6; }
26247 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26248 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26249 $as_echo_n "(cached) " >&6
26250 else
26253 ac_ext=cpp
26254 ac_cpp='$CXXCPP $CPPFLAGS'
26255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26260 /* end confdefs.h. */
26261 #include <math.h>
26263 main ()
26265 fmodl(0, 0);
26267 return 0;
26269 _ACEOF
26270 if ac_fn_cxx_try_compile "$LINENO"; then :
26271 glibcxx_cv_func_fmodl_use=yes
26272 else
26273 glibcxx_cv_func_fmodl_use=no
26275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26276 ac_ext=c
26277 ac_cpp='$CPP $CPPFLAGS'
26278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26287 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26289 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26290 for ac_func in fmodl
26291 do :
26292 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26293 if test "x$ac_cv_func_fmodl" = x""yes; then :
26294 cat >>confdefs.h <<_ACEOF
26295 #define HAVE_FMODL 1
26296 _ACEOF
26299 done
26301 else
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26304 $as_echo_n "checking for _fmodl declaration... " >&6; }
26305 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26306 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26307 $as_echo_n "(cached) " >&6
26308 else
26311 ac_ext=cpp
26312 ac_cpp='$CXXCPP $CPPFLAGS'
26313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26318 /* end confdefs.h. */
26319 #include <math.h>
26321 main ()
26323 _fmodl(0, 0);
26325 return 0;
26327 _ACEOF
26328 if ac_fn_cxx_try_compile "$LINENO"; then :
26329 glibcxx_cv_func__fmodl_use=yes
26330 else
26331 glibcxx_cv_func__fmodl_use=no
26333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26334 ac_ext=c
26335 ac_cpp='$CPP $CPPFLAGS'
26336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26345 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26347 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26348 for ac_func in _fmodl
26349 do :
26350 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26351 if test "x$ac_cv_func__fmodl" = x""yes; then :
26352 cat >>confdefs.h <<_ACEOF
26353 #define HAVE__FMODL 1
26354 _ACEOF
26357 done
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26367 $as_echo_n "checking for frexpl declaration... " >&6; }
26368 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26369 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26370 $as_echo_n "(cached) " >&6
26371 else
26374 ac_ext=cpp
26375 ac_cpp='$CXXCPP $CPPFLAGS'
26376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26381 /* end confdefs.h. */
26382 #include <math.h>
26384 main ()
26386 frexpl(0, 0);
26388 return 0;
26390 _ACEOF
26391 if ac_fn_cxx_try_compile "$LINENO"; then :
26392 glibcxx_cv_func_frexpl_use=yes
26393 else
26394 glibcxx_cv_func_frexpl_use=no
26396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26397 ac_ext=c
26398 ac_cpp='$CPP $CPPFLAGS'
26399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26408 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26410 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26411 for ac_func in frexpl
26412 do :
26413 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26414 if test "x$ac_cv_func_frexpl" = x""yes; then :
26415 cat >>confdefs.h <<_ACEOF
26416 #define HAVE_FREXPL 1
26417 _ACEOF
26420 done
26422 else
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26425 $as_echo_n "checking for _frexpl declaration... " >&6; }
26426 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26427 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26428 $as_echo_n "(cached) " >&6
26429 else
26432 ac_ext=cpp
26433 ac_cpp='$CXXCPP $CPPFLAGS'
26434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26439 /* end confdefs.h. */
26440 #include <math.h>
26442 main ()
26444 _frexpl(0, 0);
26446 return 0;
26448 _ACEOF
26449 if ac_fn_cxx_try_compile "$LINENO"; then :
26450 glibcxx_cv_func__frexpl_use=yes
26451 else
26452 glibcxx_cv_func__frexpl_use=no
26454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26455 ac_ext=c
26456 ac_cpp='$CPP $CPPFLAGS'
26457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26466 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26468 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26469 for ac_func in _frexpl
26470 do :
26471 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26472 if test "x$ac_cv_func__frexpl" = x""yes; then :
26473 cat >>confdefs.h <<_ACEOF
26474 #define HAVE__FREXPL 1
26475 _ACEOF
26478 done
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26488 $as_echo_n "checking for hypotl declaration... " >&6; }
26489 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26490 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26491 $as_echo_n "(cached) " >&6
26492 else
26495 ac_ext=cpp
26496 ac_cpp='$CXXCPP $CPPFLAGS'
26497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <math.h>
26505 main ()
26507 hypotl(0, 0);
26509 return 0;
26511 _ACEOF
26512 if ac_fn_cxx_try_compile "$LINENO"; then :
26513 glibcxx_cv_func_hypotl_use=yes
26514 else
26515 glibcxx_cv_func_hypotl_use=no
26517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26518 ac_ext=c
26519 ac_cpp='$CPP $CPPFLAGS'
26520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26529 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26531 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26532 for ac_func in hypotl
26533 do :
26534 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26535 if test "x$ac_cv_func_hypotl" = x""yes; then :
26536 cat >>confdefs.h <<_ACEOF
26537 #define HAVE_HYPOTL 1
26538 _ACEOF
26541 done
26543 else
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26546 $as_echo_n "checking for _hypotl declaration... " >&6; }
26547 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26548 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26549 $as_echo_n "(cached) " >&6
26550 else
26553 ac_ext=cpp
26554 ac_cpp='$CXXCPP $CPPFLAGS'
26555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26560 /* end confdefs.h. */
26561 #include <math.h>
26563 main ()
26565 _hypotl(0, 0);
26567 return 0;
26569 _ACEOF
26570 if ac_fn_cxx_try_compile "$LINENO"; then :
26571 glibcxx_cv_func__hypotl_use=yes
26572 else
26573 glibcxx_cv_func__hypotl_use=no
26575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26576 ac_ext=c
26577 ac_cpp='$CPP $CPPFLAGS'
26578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26587 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26589 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26590 for ac_func in _hypotl
26591 do :
26592 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26593 if test "x$ac_cv_func__hypotl" = x""yes; then :
26594 cat >>confdefs.h <<_ACEOF
26595 #define HAVE__HYPOTL 1
26596 _ACEOF
26599 done
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26609 $as_echo_n "checking for ldexpl declaration... " >&6; }
26610 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26611 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26612 $as_echo_n "(cached) " >&6
26613 else
26616 ac_ext=cpp
26617 ac_cpp='$CXXCPP $CPPFLAGS'
26618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26623 /* end confdefs.h. */
26624 #include <math.h>
26626 main ()
26628 ldexpl(0, 0);
26630 return 0;
26632 _ACEOF
26633 if ac_fn_cxx_try_compile "$LINENO"; then :
26634 glibcxx_cv_func_ldexpl_use=yes
26635 else
26636 glibcxx_cv_func_ldexpl_use=no
26638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26639 ac_ext=c
26640 ac_cpp='$CPP $CPPFLAGS'
26641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26650 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26652 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26653 for ac_func in ldexpl
26654 do :
26655 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26656 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26657 cat >>confdefs.h <<_ACEOF
26658 #define HAVE_LDEXPL 1
26659 _ACEOF
26662 done
26664 else
26666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26667 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26668 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26669 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26670 $as_echo_n "(cached) " >&6
26671 else
26674 ac_ext=cpp
26675 ac_cpp='$CXXCPP $CPPFLAGS'
26676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26681 /* end confdefs.h. */
26682 #include <math.h>
26684 main ()
26686 _ldexpl(0, 0);
26688 return 0;
26690 _ACEOF
26691 if ac_fn_cxx_try_compile "$LINENO"; then :
26692 glibcxx_cv_func__ldexpl_use=yes
26693 else
26694 glibcxx_cv_func__ldexpl_use=no
26696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26697 ac_ext=c
26698 ac_cpp='$CPP $CPPFLAGS'
26699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26708 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26710 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26711 for ac_func in _ldexpl
26712 do :
26713 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26714 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26715 cat >>confdefs.h <<_ACEOF
26716 #define HAVE__LDEXPL 1
26717 _ACEOF
26720 done
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26730 $as_echo_n "checking for logl declaration... " >&6; }
26731 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26732 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26733 $as_echo_n "(cached) " >&6
26734 else
26737 ac_ext=cpp
26738 ac_cpp='$CXXCPP $CPPFLAGS'
26739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26744 /* end confdefs.h. */
26745 #include <math.h>
26746 #ifdef HAVE_IEEEFP_H
26747 #include <ieeefp.h>
26748 #endif
26751 main ()
26753 logl(0);
26755 return 0;
26757 _ACEOF
26758 if ac_fn_cxx_try_compile "$LINENO"; then :
26759 glibcxx_cv_func_logl_use=yes
26760 else
26761 glibcxx_cv_func_logl_use=no
26763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26764 ac_ext=c
26765 ac_cpp='$CPP $CPPFLAGS'
26766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26775 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26777 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26778 for ac_func in logl
26779 do :
26780 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26781 if test "x$ac_cv_func_logl" = x""yes; then :
26782 cat >>confdefs.h <<_ACEOF
26783 #define HAVE_LOGL 1
26784 _ACEOF
26787 done
26789 else
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26792 $as_echo_n "checking for _logl declaration... " >&6; }
26793 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26794 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26795 $as_echo_n "(cached) " >&6
26796 else
26799 ac_ext=cpp
26800 ac_cpp='$CXXCPP $CPPFLAGS'
26801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26806 /* end confdefs.h. */
26807 #include <math.h>
26808 #ifdef HAVE_IEEEFP_H
26809 #include <ieeefp.h>
26810 #endif
26813 main ()
26815 _logl(0);
26817 return 0;
26819 _ACEOF
26820 if ac_fn_cxx_try_compile "$LINENO"; then :
26821 glibcxx_cv_func__logl_use=yes
26822 else
26823 glibcxx_cv_func__logl_use=no
26825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26826 ac_ext=c
26827 ac_cpp='$CPP $CPPFLAGS'
26828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26837 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26839 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26840 for ac_func in _logl
26841 do :
26842 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26843 if test "x$ac_cv_func__logl" = x""yes; then :
26844 cat >>confdefs.h <<_ACEOF
26845 #define HAVE__LOGL 1
26846 _ACEOF
26849 done
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26859 $as_echo_n "checking for log10l declaration... " >&6; }
26860 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26861 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26862 $as_echo_n "(cached) " >&6
26863 else
26866 ac_ext=cpp
26867 ac_cpp='$CXXCPP $CPPFLAGS'
26868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26873 /* end confdefs.h. */
26874 #include <math.h>
26875 #ifdef HAVE_IEEEFP_H
26876 #include <ieeefp.h>
26877 #endif
26880 main ()
26882 log10l(0);
26884 return 0;
26886 _ACEOF
26887 if ac_fn_cxx_try_compile "$LINENO"; then :
26888 glibcxx_cv_func_log10l_use=yes
26889 else
26890 glibcxx_cv_func_log10l_use=no
26892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26893 ac_ext=c
26894 ac_cpp='$CPP $CPPFLAGS'
26895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26904 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26906 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26907 for ac_func in log10l
26908 do :
26909 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26910 if test "x$ac_cv_func_log10l" = x""yes; then :
26911 cat >>confdefs.h <<_ACEOF
26912 #define HAVE_LOG10L 1
26913 _ACEOF
26916 done
26918 else
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26921 $as_echo_n "checking for _log10l declaration... " >&6; }
26922 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26923 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26924 $as_echo_n "(cached) " >&6
26925 else
26928 ac_ext=cpp
26929 ac_cpp='$CXXCPP $CPPFLAGS'
26930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26935 /* end confdefs.h. */
26936 #include <math.h>
26937 #ifdef HAVE_IEEEFP_H
26938 #include <ieeefp.h>
26939 #endif
26942 main ()
26944 _log10l(0);
26946 return 0;
26948 _ACEOF
26949 if ac_fn_cxx_try_compile "$LINENO"; then :
26950 glibcxx_cv_func__log10l_use=yes
26951 else
26952 glibcxx_cv_func__log10l_use=no
26954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26955 ac_ext=c
26956 ac_cpp='$CPP $CPPFLAGS'
26957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26966 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26968 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26969 for ac_func in _log10l
26970 do :
26971 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26972 if test "x$ac_cv_func__log10l" = x""yes; then :
26973 cat >>confdefs.h <<_ACEOF
26974 #define HAVE__LOG10L 1
26975 _ACEOF
26978 done
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26988 $as_echo_n "checking for modfl declaration... " >&6; }
26989 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26990 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26991 $as_echo_n "(cached) " >&6
26992 else
26995 ac_ext=cpp
26996 ac_cpp='$CXXCPP $CPPFLAGS'
26997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27002 /* end confdefs.h. */
27003 #include <math.h>
27005 main ()
27007 modfl(0, 0);
27009 return 0;
27011 _ACEOF
27012 if ac_fn_cxx_try_compile "$LINENO"; then :
27013 glibcxx_cv_func_modfl_use=yes
27014 else
27015 glibcxx_cv_func_modfl_use=no
27017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27018 ac_ext=c
27019 ac_cpp='$CPP $CPPFLAGS'
27020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27029 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27031 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27032 for ac_func in modfl
27033 do :
27034 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27035 if test "x$ac_cv_func_modfl" = x""yes; then :
27036 cat >>confdefs.h <<_ACEOF
27037 #define HAVE_MODFL 1
27038 _ACEOF
27041 done
27043 else
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27046 $as_echo_n "checking for _modfl declaration... " >&6; }
27047 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27048 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27049 $as_echo_n "(cached) " >&6
27050 else
27053 ac_ext=cpp
27054 ac_cpp='$CXXCPP $CPPFLAGS'
27055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27060 /* end confdefs.h. */
27061 #include <math.h>
27063 main ()
27065 _modfl(0, 0);
27067 return 0;
27069 _ACEOF
27070 if ac_fn_cxx_try_compile "$LINENO"; then :
27071 glibcxx_cv_func__modfl_use=yes
27072 else
27073 glibcxx_cv_func__modfl_use=no
27075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27076 ac_ext=c
27077 ac_cpp='$CPP $CPPFLAGS'
27078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27087 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27089 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27090 for ac_func in _modfl
27091 do :
27092 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27093 if test "x$ac_cv_func__modfl" = x""yes; then :
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE__MODFL 1
27096 _ACEOF
27099 done
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27109 $as_echo_n "checking for powl declaration... " >&6; }
27110 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27111 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27112 $as_echo_n "(cached) " >&6
27113 else
27116 ac_ext=cpp
27117 ac_cpp='$CXXCPP $CPPFLAGS'
27118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27123 /* end confdefs.h. */
27124 #include <math.h>
27126 main ()
27128 powl(0, 0);
27130 return 0;
27132 _ACEOF
27133 if ac_fn_cxx_try_compile "$LINENO"; then :
27134 glibcxx_cv_func_powl_use=yes
27135 else
27136 glibcxx_cv_func_powl_use=no
27138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27139 ac_ext=c
27140 ac_cpp='$CPP $CPPFLAGS'
27141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27150 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27152 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27153 for ac_func in powl
27154 do :
27155 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27156 if test "x$ac_cv_func_powl" = x""yes; then :
27157 cat >>confdefs.h <<_ACEOF
27158 #define HAVE_POWL 1
27159 _ACEOF
27162 done
27164 else
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27167 $as_echo_n "checking for _powl declaration... " >&6; }
27168 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27169 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27170 $as_echo_n "(cached) " >&6
27171 else
27174 ac_ext=cpp
27175 ac_cpp='$CXXCPP $CPPFLAGS'
27176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27181 /* end confdefs.h. */
27182 #include <math.h>
27184 main ()
27186 _powl(0, 0);
27188 return 0;
27190 _ACEOF
27191 if ac_fn_cxx_try_compile "$LINENO"; then :
27192 glibcxx_cv_func__powl_use=yes
27193 else
27194 glibcxx_cv_func__powl_use=no
27196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27197 ac_ext=c
27198 ac_cpp='$CPP $CPPFLAGS'
27199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27208 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27210 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27211 for ac_func in _powl
27212 do :
27213 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27214 if test "x$ac_cv_func__powl" = x""yes; then :
27215 cat >>confdefs.h <<_ACEOF
27216 #define HAVE__POWL 1
27217 _ACEOF
27220 done
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27230 $as_echo_n "checking for sqrtl declaration... " >&6; }
27231 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27232 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27233 $as_echo_n "(cached) " >&6
27234 else
27237 ac_ext=cpp
27238 ac_cpp='$CXXCPP $CPPFLAGS'
27239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27244 /* end confdefs.h. */
27245 #include <math.h>
27246 #ifdef HAVE_IEEEFP_H
27247 #include <ieeefp.h>
27248 #endif
27251 main ()
27253 sqrtl(0);
27255 return 0;
27257 _ACEOF
27258 if ac_fn_cxx_try_compile "$LINENO"; then :
27259 glibcxx_cv_func_sqrtl_use=yes
27260 else
27261 glibcxx_cv_func_sqrtl_use=no
27263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 ac_ext=c
27265 ac_cpp='$CPP $CPPFLAGS'
27266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27275 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27277 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27278 for ac_func in sqrtl
27279 do :
27280 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27281 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27282 cat >>confdefs.h <<_ACEOF
27283 #define HAVE_SQRTL 1
27284 _ACEOF
27287 done
27289 else
27291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27292 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27293 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27294 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27295 $as_echo_n "(cached) " >&6
27296 else
27299 ac_ext=cpp
27300 ac_cpp='$CXXCPP $CPPFLAGS'
27301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27306 /* end confdefs.h. */
27307 #include <math.h>
27308 #ifdef HAVE_IEEEFP_H
27309 #include <ieeefp.h>
27310 #endif
27313 main ()
27315 _sqrtl(0);
27317 return 0;
27319 _ACEOF
27320 if ac_fn_cxx_try_compile "$LINENO"; then :
27321 glibcxx_cv_func__sqrtl_use=yes
27322 else
27323 glibcxx_cv_func__sqrtl_use=no
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 ac_ext=c
27327 ac_cpp='$CPP $CPPFLAGS'
27328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27337 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27339 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27340 for ac_func in _sqrtl
27341 do :
27342 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27343 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27344 cat >>confdefs.h <<_ACEOF
27345 #define HAVE__SQRTL 1
27346 _ACEOF
27349 done
27358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27359 $as_echo_n "checking for sincosl declaration... " >&6; }
27360 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27361 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27362 $as_echo_n "(cached) " >&6
27363 else
27366 ac_ext=cpp
27367 ac_cpp='$CXXCPP $CPPFLAGS'
27368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27373 /* end confdefs.h. */
27374 #include <math.h>
27376 main ()
27378 sincosl(0, 0, 0);
27380 return 0;
27382 _ACEOF
27383 if ac_fn_cxx_try_compile "$LINENO"; then :
27384 glibcxx_cv_func_sincosl_use=yes
27385 else
27386 glibcxx_cv_func_sincosl_use=no
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27389 ac_ext=c
27390 ac_cpp='$CPP $CPPFLAGS'
27391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27400 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27402 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27403 for ac_func in sincosl
27404 do :
27405 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27406 if test "x$ac_cv_func_sincosl" = x""yes; then :
27407 cat >>confdefs.h <<_ACEOF
27408 #define HAVE_SINCOSL 1
27409 _ACEOF
27412 done
27414 else
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27417 $as_echo_n "checking for _sincosl declaration... " >&6; }
27418 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27419 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27420 $as_echo_n "(cached) " >&6
27421 else
27424 ac_ext=cpp
27425 ac_cpp='$CXXCPP $CPPFLAGS'
27426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431 /* end confdefs.h. */
27432 #include <math.h>
27434 main ()
27436 _sincosl(0, 0, 0);
27438 return 0;
27440 _ACEOF
27441 if ac_fn_cxx_try_compile "$LINENO"; then :
27442 glibcxx_cv_func__sincosl_use=yes
27443 else
27444 glibcxx_cv_func__sincosl_use=no
27446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27447 ac_ext=c
27448 ac_cpp='$CPP $CPPFLAGS'
27449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27458 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27460 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27461 for ac_func in _sincosl
27462 do :
27463 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27464 if test "x$ac_cv_func__sincosl" = x""yes; then :
27465 cat >>confdefs.h <<_ACEOF
27466 #define HAVE__SINCOSL 1
27467 _ACEOF
27470 done
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27480 $as_echo_n "checking for finitel declaration... " >&6; }
27481 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27482 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27483 $as_echo_n "(cached) " >&6
27484 else
27487 ac_ext=cpp
27488 ac_cpp='$CXXCPP $CPPFLAGS'
27489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27494 /* end confdefs.h. */
27495 #include <math.h>
27496 #ifdef HAVE_IEEEFP_H
27497 #include <ieeefp.h>
27498 #endif
27501 main ()
27503 finitel(0);
27505 return 0;
27507 _ACEOF
27508 if ac_fn_cxx_try_compile "$LINENO"; then :
27509 glibcxx_cv_func_finitel_use=yes
27510 else
27511 glibcxx_cv_func_finitel_use=no
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514 ac_ext=c
27515 ac_cpp='$CPP $CPPFLAGS'
27516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27525 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27527 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27528 for ac_func in finitel
27529 do :
27530 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27531 if test "x$ac_cv_func_finitel" = x""yes; then :
27532 cat >>confdefs.h <<_ACEOF
27533 #define HAVE_FINITEL 1
27534 _ACEOF
27537 done
27539 else
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27542 $as_echo_n "checking for _finitel declaration... " >&6; }
27543 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27544 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27545 $as_echo_n "(cached) " >&6
27546 else
27549 ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27557 #include <math.h>
27558 #ifdef HAVE_IEEEFP_H
27559 #include <ieeefp.h>
27560 #endif
27563 main ()
27565 _finitel(0);
27567 return 0;
27569 _ACEOF
27570 if ac_fn_cxx_try_compile "$LINENO"; then :
27571 glibcxx_cv_func__finitel_use=yes
27572 else
27573 glibcxx_cv_func__finitel_use=no
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 ac_ext=c
27577 ac_cpp='$CPP $CPPFLAGS'
27578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27587 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27589 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27590 for ac_func in _finitel
27591 do :
27592 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27593 if test "x$ac_cv_func__finitel" = x""yes; then :
27594 cat >>confdefs.h <<_ACEOF
27595 #define HAVE__FINITEL 1
27596 _ACEOF
27599 done
27607 LIBS="$ac_save_LIBS"
27608 CXXFLAGS="$ac_save_CXXFLAGS"
27611 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27612 ac_save_CXXFLAGS="$CXXFLAGS"
27613 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27617 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27618 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27619 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27620 $as_echo_n "(cached) " >&6
27621 else
27624 ac_ext=cpp
27625 ac_cpp='$CXXCPP $CPPFLAGS'
27626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27631 /* end confdefs.h. */
27632 #include <stdlib.h>
27634 main ()
27636 at_quick_exit(0);
27638 return 0;
27640 _ACEOF
27641 if ac_fn_cxx_try_compile "$LINENO"; then :
27642 glibcxx_cv_func_at_quick_exit_use=yes
27643 else
27644 glibcxx_cv_func_at_quick_exit_use=no
27646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27647 ac_ext=c
27648 ac_cpp='$CPP $CPPFLAGS'
27649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27658 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27659 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27660 for ac_func in at_quick_exit
27661 do :
27662 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27663 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27664 cat >>confdefs.h <<_ACEOF
27665 #define HAVE_AT_QUICK_EXIT 1
27666 _ACEOF
27669 done
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27675 $as_echo_n "checking for quick_exit declaration... " >&6; }
27676 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27677 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27678 $as_echo_n "(cached) " >&6
27679 else
27682 ac_ext=cpp
27683 ac_cpp='$CXXCPP $CPPFLAGS'
27684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27689 /* end confdefs.h. */
27690 #include <stdlib.h>
27692 main ()
27694 quick_exit(0);
27696 return 0;
27698 _ACEOF
27699 if ac_fn_cxx_try_compile "$LINENO"; then :
27700 glibcxx_cv_func_quick_exit_use=yes
27701 else
27702 glibcxx_cv_func_quick_exit_use=no
27704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27705 ac_ext=c
27706 ac_cpp='$CPP $CPPFLAGS'
27707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27716 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27717 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27718 for ac_func in quick_exit
27719 do :
27720 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27721 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27722 cat >>confdefs.h <<_ACEOF
27723 #define HAVE_QUICK_EXIT 1
27724 _ACEOF
27727 done
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27733 $as_echo_n "checking for strtold declaration... " >&6; }
27734 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27735 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27736 $as_echo_n "(cached) " >&6
27737 else
27740 ac_ext=cpp
27741 ac_cpp='$CXXCPP $CPPFLAGS'
27742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27747 /* end confdefs.h. */
27748 #include <stdlib.h>
27750 main ()
27752 strtold(0, 0);
27754 return 0;
27756 _ACEOF
27757 if ac_fn_cxx_try_compile "$LINENO"; then :
27758 glibcxx_cv_func_strtold_use=yes
27759 else
27760 glibcxx_cv_func_strtold_use=no
27762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27763 ac_ext=c
27764 ac_cpp='$CPP $CPPFLAGS'
27765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27774 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27775 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27776 for ac_func in strtold
27777 do :
27778 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27779 if test "x$ac_cv_func_strtold" = x""yes; then :
27780 cat >>confdefs.h <<_ACEOF
27781 #define HAVE_STRTOLD 1
27782 _ACEOF
27785 done
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27793 $as_echo_n "checking for strtof declaration... " >&6; }
27794 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27795 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27796 $as_echo_n "(cached) " >&6
27797 else
27800 ac_ext=cpp
27801 ac_cpp='$CXXCPP $CPPFLAGS'
27802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27807 /* end confdefs.h. */
27808 #include <stdlib.h>
27810 main ()
27812 strtof(0, 0);
27814 return 0;
27816 _ACEOF
27817 if ac_fn_cxx_try_compile "$LINENO"; then :
27818 glibcxx_cv_func_strtof_use=yes
27819 else
27820 glibcxx_cv_func_strtof_use=no
27822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27823 ac_ext=c
27824 ac_cpp='$CPP $CPPFLAGS'
27825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27834 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27835 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27836 for ac_func in strtof
27837 do :
27838 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27839 if test "x$ac_cv_func_strtof" = x""yes; then :
27840 cat >>confdefs.h <<_ACEOF
27841 #define HAVE_STRTOF 1
27842 _ACEOF
27845 done
27852 CXXFLAGS="$ac_save_CXXFLAGS"
27855 # For /dev/random and /dev/urandom for TR1.
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27859 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27860 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27861 $as_echo_n "(cached) " >&6
27862 else
27864 if test -r /dev/random && test -r /dev/urandom; then
27865 ## For MSys environment the test above is detect as false-positive
27866 ## on mingw-targets. So disable it explicit for them.
27867 case ${target_os} in
27868 *mingw*) glibcxx_cv_random_tr1=no ;;
27869 *) glibcxx_cv_random_tr1=yes ;;
27870 esac
27871 else
27872 glibcxx_cv_random_tr1=no;
27877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27878 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27880 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27882 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27888 # For TLS support.
27891 # Check whether --enable-tls was given.
27892 if test "${enable_tls+set}" = set; then :
27893 enableval=$enable_tls;
27894 case "$enableval" in
27895 yes|no) ;;
27896 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27897 esac
27899 else
27900 enable_tls=yes
27904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27905 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27906 if test "${gcc_cv_have_tls+set}" = set; then :
27907 $as_echo_n "(cached) " >&6
27908 else
27910 if test "$cross_compiling" = yes; then :
27911 if test x$gcc_no_link = xyes; then
27912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27915 /* end confdefs.h. */
27916 __thread int a; int b; int main() { return a = b; }
27917 _ACEOF
27918 if ac_fn_c_try_link "$LINENO"; then :
27919 chktls_save_LDFLAGS="$LDFLAGS"
27920 case $host in
27921 *-*-linux*)
27922 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27924 esac
27925 chktls_save_CFLAGS="$CFLAGS"
27926 CFLAGS="-fPIC $CFLAGS"
27927 if test x$gcc_no_link = xyes; then
27928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27931 /* end confdefs.h. */
27932 int f() { return 0; }
27933 _ACEOF
27934 if ac_fn_c_try_link "$LINENO"; then :
27935 if test x$gcc_no_link = xyes; then
27936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27939 /* end confdefs.h. */
27940 __thread int a; int b; int f() { return a = b; }
27941 _ACEOF
27942 if ac_fn_c_try_link "$LINENO"; then :
27943 gcc_cv_have_tls=yes
27944 else
27945 gcc_cv_have_tls=no
27947 rm -f core conftest.err conftest.$ac_objext \
27948 conftest$ac_exeext conftest.$ac_ext
27949 else
27950 gcc_cv_have_tls=yes
27952 rm -f core conftest.err conftest.$ac_objext \
27953 conftest$ac_exeext conftest.$ac_ext
27954 CFLAGS="$chktls_save_CFLAGS"
27955 LDFLAGS="$chktls_save_LDFLAGS"
27956 else
27957 gcc_cv_have_tls=no
27959 rm -f core conftest.err conftest.$ac_objext \
27960 conftest$ac_exeext conftest.$ac_ext
27963 else
27964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27965 /* end confdefs.h. */
27966 __thread int a; int b; int main() { return a = b; }
27967 _ACEOF
27968 if ac_fn_c_try_run "$LINENO"; then :
27969 chktls_save_LDFLAGS="$LDFLAGS"
27970 LDFLAGS="-static $LDFLAGS"
27971 if test x$gcc_no_link = xyes; then
27972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27975 /* end confdefs.h. */
27976 int main() { return 0; }
27977 _ACEOF
27978 if ac_fn_c_try_link "$LINENO"; then :
27979 if test "$cross_compiling" = yes; then :
27980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27982 as_fn_error "cannot run test program while cross compiling
27983 See \`config.log' for more details." "$LINENO" 5; }
27984 else
27985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27986 /* end confdefs.h. */
27987 __thread int a; int b; int main() { return a = b; }
27988 _ACEOF
27989 if ac_fn_c_try_run "$LINENO"; then :
27990 gcc_cv_have_tls=yes
27991 else
27992 gcc_cv_have_tls=no
27994 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27995 conftest.$ac_objext conftest.beam conftest.$ac_ext
27998 else
27999 gcc_cv_have_tls=yes
28001 rm -f core conftest.err conftest.$ac_objext \
28002 conftest$ac_exeext conftest.$ac_ext
28003 LDFLAGS="$chktls_save_LDFLAGS"
28004 if test $gcc_cv_have_tls = yes; then
28005 chktls_save_CFLAGS="$CFLAGS"
28006 thread_CFLAGS=failed
28007 for flag in '' '-pthread' '-lpthread'; do
28008 CFLAGS="$flag $chktls_save_CFLAGS"
28009 if test x$gcc_no_link = xyes; then
28010 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28014 #include <pthread.h>
28015 void *g(void *d) { return NULL; }
28017 main ()
28019 pthread_t t; pthread_create(&t,NULL,g,NULL);
28021 return 0;
28023 _ACEOF
28024 if ac_fn_c_try_link "$LINENO"; then :
28025 thread_CFLAGS="$flag"
28027 rm -f core conftest.err conftest.$ac_objext \
28028 conftest$ac_exeext conftest.$ac_ext
28029 if test "X$thread_CFLAGS" != Xfailed; then
28030 break
28032 done
28033 CFLAGS="$chktls_save_CFLAGS"
28034 if test "X$thread_CFLAGS" != Xfailed; then
28035 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28036 if test "$cross_compiling" = yes; then :
28037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28039 as_fn_error "cannot run test program while cross compiling
28040 See \`config.log' for more details." "$LINENO" 5; }
28041 else
28042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28043 /* end confdefs.h. */
28044 #include <pthread.h>
28045 __thread int a;
28046 static int *volatile a_in_other_thread;
28047 static void *
28048 thread_func (void *arg)
28050 a_in_other_thread = &a;
28051 return (void *)0;
28054 main ()
28056 pthread_t thread;
28057 void *thread_retval;
28058 int *volatile a_in_main_thread;
28059 a_in_main_thread = &a;
28060 if (pthread_create (&thread, (pthread_attr_t *)0,
28061 thread_func, (void *)0))
28062 return 0;
28063 if (pthread_join (thread, &thread_retval))
28064 return 0;
28065 return (a_in_other_thread == a_in_main_thread);
28067 return 0;
28069 _ACEOF
28070 if ac_fn_c_try_run "$LINENO"; then :
28071 gcc_cv_have_tls=yes
28072 else
28073 gcc_cv_have_tls=no
28075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28076 conftest.$ac_objext conftest.beam conftest.$ac_ext
28079 CFLAGS="$chktls_save_CFLAGS"
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
28090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28091 $as_echo "$gcc_cv_have_tls" >&6; }
28092 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28094 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28098 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28099 do :
28100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28102 eval as_val=\$$as_ac_var
28103 if test "x$as_val" = x""yes; then :
28104 cat >>confdefs.h <<_ACEOF
28105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28106 _ACEOF
28109 done
28111 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28112 do :
28113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28115 eval as_val=\$$as_ac_var
28116 if test "x$as_val" = x""yes; then :
28117 cat >>confdefs.h <<_ACEOF
28118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28119 _ACEOF
28122 done
28124 for ac_func in _wfopen
28125 do :
28126 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28127 if test "x$ac_cv_func__wfopen" = x""yes; then :
28128 cat >>confdefs.h <<_ACEOF
28129 #define HAVE__WFOPEN 1
28130 _ACEOF
28133 done
28136 # For iconv support.
28138 if test "X$prefix" = "XNONE"; then
28139 acl_final_prefix="$ac_default_prefix"
28140 else
28141 acl_final_prefix="$prefix"
28143 if test "X$exec_prefix" = "XNONE"; then
28144 acl_final_exec_prefix='${prefix}'
28145 else
28146 acl_final_exec_prefix="$exec_prefix"
28148 acl_save_prefix="$prefix"
28149 prefix="$acl_final_prefix"
28150 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28151 prefix="$acl_save_prefix"
28154 # Check whether --with-gnu-ld was given.
28155 if test "${with_gnu_ld+set}" = set; then :
28156 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28157 else
28158 with_gnu_ld=no
28161 # Prepare PATH_SEPARATOR.
28162 # The user is always right.
28163 if test "${PATH_SEPARATOR+set}" != set; then
28164 echo "#! /bin/sh" >conf$$.sh
28165 echo "exit 0" >>conf$$.sh
28166 chmod +x conf$$.sh
28167 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28168 PATH_SEPARATOR=';'
28169 else
28170 PATH_SEPARATOR=:
28172 rm -f conf$$.sh
28174 ac_prog=ld
28175 if test "$GCC" = yes; then
28176 # Check if gcc -print-prog-name=ld gives a path.
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28178 $as_echo_n "checking for ld used by GCC... " >&6; }
28179 case $host in
28180 *-*-mingw*)
28181 # gcc leaves a trailing carriage return which upsets mingw
28182 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28184 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28185 esac
28186 case $ac_prog in
28187 # Accept absolute paths.
28188 [\\/]* | [A-Za-z]:[\\/]*)
28189 re_direlt='/[^/][^/]*/\.\./'
28190 # Canonicalize the path of ld
28191 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28192 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28193 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28194 done
28195 test -z "$LD" && LD="$ac_prog"
28198 # If it fails, then pretend we aren't using GCC.
28199 ac_prog=ld
28202 # If it is relative, then search for the first ld in PATH.
28203 with_gnu_ld=unknown
28205 esac
28206 elif test "$with_gnu_ld" = yes; then
28207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28208 $as_echo_n "checking for GNU ld... " >&6; }
28209 else
28210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28211 $as_echo_n "checking for non-GNU ld... " >&6; }
28213 if test "${acl_cv_path_LD+set}" = set; then :
28214 $as_echo_n "(cached) " >&6
28215 else
28216 if test -z "$LD"; then
28217 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28218 for ac_dir in $PATH; do
28219 test -z "$ac_dir" && ac_dir=.
28220 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28221 acl_cv_path_LD="$ac_dir/$ac_prog"
28222 # Check to see if the program is GNU ld. I'd rather use --version,
28223 # but apparently some GNU ld's only accept -v.
28224 # Break only if it was the GNU/non-GNU ld that we prefer.
28225 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28226 test "$with_gnu_ld" != no && break
28227 else
28228 test "$with_gnu_ld" != yes && break
28231 done
28232 IFS="$ac_save_ifs"
28233 else
28234 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28238 LD="$acl_cv_path_LD"
28239 if test -n "$LD"; then
28240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28241 $as_echo "$LD" >&6; }
28242 else
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28244 $as_echo "no" >&6; }
28246 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28248 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28249 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28250 $as_echo_n "(cached) " >&6
28251 else
28252 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28253 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28254 acl_cv_prog_gnu_ld=yes
28255 else
28256 acl_cv_prog_gnu_ld=no
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28260 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28261 with_gnu_ld=$acl_cv_prog_gnu_ld
28265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28266 $as_echo_n "checking for shared library run path origin... " >&6; }
28267 if test "${acl_cv_rpath+set}" = set; then :
28268 $as_echo_n "(cached) " >&6
28269 else
28271 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28272 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28273 . ./conftest.sh
28274 rm -f ./conftest.sh
28275 acl_cv_rpath=done
28278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28279 $as_echo "$acl_cv_rpath" >&6; }
28280 wl="$acl_cv_wl"
28281 libext="$acl_cv_libext"
28282 shlibext="$acl_cv_shlibext"
28283 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28284 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28285 hardcode_direct="$acl_cv_hardcode_direct"
28286 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28287 # Check whether --enable-rpath was given.
28288 if test "${enable_rpath+set}" = set; then :
28289 enableval=$enable_rpath; :
28290 else
28291 enable_rpath=yes
28301 use_additional=yes
28303 acl_save_prefix="$prefix"
28304 prefix="$acl_final_prefix"
28305 acl_save_exec_prefix="$exec_prefix"
28306 exec_prefix="$acl_final_exec_prefix"
28308 eval additional_includedir=\"$includedir\"
28309 eval additional_libdir=\"$libdir\"
28311 exec_prefix="$acl_save_exec_prefix"
28312 prefix="$acl_save_prefix"
28315 # Check whether --with-libiconv-prefix was given.
28316 if test "${with_libiconv_prefix+set}" = set; then :
28317 withval=$with_libiconv_prefix;
28318 if test "X$withval" = "Xno"; then
28319 use_additional=no
28320 else
28321 if test "X$withval" = "X"; then
28323 acl_save_prefix="$prefix"
28324 prefix="$acl_final_prefix"
28325 acl_save_exec_prefix="$exec_prefix"
28326 exec_prefix="$acl_final_exec_prefix"
28328 eval additional_includedir=\"$includedir\"
28329 eval additional_libdir=\"$libdir\"
28331 exec_prefix="$acl_save_exec_prefix"
28332 prefix="$acl_save_prefix"
28334 else
28335 additional_includedir="$withval/include"
28336 additional_libdir="$withval/lib"
28342 LIBICONV=
28343 LTLIBICONV=
28344 INCICONV=
28345 rpathdirs=
28346 ltrpathdirs=
28347 names_already_handled=
28348 names_next_round='iconv '
28349 while test -n "$names_next_round"; do
28350 names_this_round="$names_next_round"
28351 names_next_round=
28352 for name in $names_this_round; do
28353 already_handled=
28354 for n in $names_already_handled; do
28355 if test "$n" = "$name"; then
28356 already_handled=yes
28357 break
28359 done
28360 if test -z "$already_handled"; then
28361 names_already_handled="$names_already_handled $name"
28362 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28363 eval value=\"\$HAVE_LIB$uppername\"
28364 if test -n "$value"; then
28365 if test "$value" = yes; then
28366 eval value=\"\$LIB$uppername\"
28367 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28368 eval value=\"\$LTLIB$uppername\"
28369 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28370 else
28373 else
28374 found_dir=
28375 found_la=
28376 found_so=
28377 found_a=
28378 if test $use_additional = yes; then
28379 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28380 found_dir="$additional_libdir"
28381 found_so="$additional_libdir/lib$name.$shlibext"
28382 if test -f "$additional_libdir/lib$name.la"; then
28383 found_la="$additional_libdir/lib$name.la"
28385 else
28386 if test -f "$additional_libdir/lib$name.$libext"; then
28387 found_dir="$additional_libdir"
28388 found_a="$additional_libdir/lib$name.$libext"
28389 if test -f "$additional_libdir/lib$name.la"; then
28390 found_la="$additional_libdir/lib$name.la"
28395 if test "X$found_dir" = "X"; then
28396 for x in $LDFLAGS $LTLIBICONV; do
28398 acl_save_prefix="$prefix"
28399 prefix="$acl_final_prefix"
28400 acl_save_exec_prefix="$exec_prefix"
28401 exec_prefix="$acl_final_exec_prefix"
28402 eval x=\"$x\"
28403 exec_prefix="$acl_save_exec_prefix"
28404 prefix="$acl_save_prefix"
28406 case "$x" in
28407 -L*)
28408 dir=`echo "X$x" | sed -e 's/^X-L//'`
28409 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28410 found_dir="$dir"
28411 found_so="$dir/lib$name.$shlibext"
28412 if test -f "$dir/lib$name.la"; then
28413 found_la="$dir/lib$name.la"
28415 else
28416 if test -f "$dir/lib$name.$libext"; then
28417 found_dir="$dir"
28418 found_a="$dir/lib$name.$libext"
28419 if test -f "$dir/lib$name.la"; then
28420 found_la="$dir/lib$name.la"
28425 esac
28426 if test "X$found_dir" != "X"; then
28427 break
28429 done
28431 if test "X$found_dir" != "X"; then
28432 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28433 if test "X$found_so" != "X"; then
28434 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28435 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28436 else
28437 haveit=
28438 for x in $ltrpathdirs; do
28439 if test "X$x" = "X$found_dir"; then
28440 haveit=yes
28441 break
28443 done
28444 if test -z "$haveit"; then
28445 ltrpathdirs="$ltrpathdirs $found_dir"
28447 if test "$hardcode_direct" = yes; then
28448 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28449 else
28450 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28451 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28452 haveit=
28453 for x in $rpathdirs; do
28454 if test "X$x" = "X$found_dir"; then
28455 haveit=yes
28456 break
28458 done
28459 if test -z "$haveit"; then
28460 rpathdirs="$rpathdirs $found_dir"
28462 else
28463 haveit=
28464 for x in $LDFLAGS $LIBICONV; do
28466 acl_save_prefix="$prefix"
28467 prefix="$acl_final_prefix"
28468 acl_save_exec_prefix="$exec_prefix"
28469 exec_prefix="$acl_final_exec_prefix"
28470 eval x=\"$x\"
28471 exec_prefix="$acl_save_exec_prefix"
28472 prefix="$acl_save_prefix"
28474 if test "X$x" = "X-L$found_dir"; then
28475 haveit=yes
28476 break
28478 done
28479 if test -z "$haveit"; then
28480 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28482 if test "$hardcode_minus_L" != no; then
28483 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28484 else
28485 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28490 else
28491 if test "X$found_a" != "X"; then
28492 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28493 else
28494 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28497 additional_includedir=
28498 case "$found_dir" in
28499 */lib | */lib/)
28500 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28501 additional_includedir="$basedir/include"
28503 esac
28504 if test "X$additional_includedir" != "X"; then
28505 if test "X$additional_includedir" != "X/usr/include"; then
28506 haveit=
28507 if test "X$additional_includedir" = "X/usr/local/include"; then
28508 if test -n "$GCC"; then
28509 case $host_os in
28510 linux*) haveit=yes;;
28511 esac
28514 if test -z "$haveit"; then
28515 for x in $CPPFLAGS $INCICONV; do
28517 acl_save_prefix="$prefix"
28518 prefix="$acl_final_prefix"
28519 acl_save_exec_prefix="$exec_prefix"
28520 exec_prefix="$acl_final_exec_prefix"
28521 eval x=\"$x\"
28522 exec_prefix="$acl_save_exec_prefix"
28523 prefix="$acl_save_prefix"
28525 if test "X$x" = "X-I$additional_includedir"; then
28526 haveit=yes
28527 break
28529 done
28530 if test -z "$haveit"; then
28531 if test -d "$additional_includedir"; then
28532 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28538 if test -n "$found_la"; then
28539 save_libdir="$libdir"
28540 case "$found_la" in
28541 */* | *\\*) . "$found_la" ;;
28542 *) . "./$found_la" ;;
28543 esac
28544 libdir="$save_libdir"
28545 for dep in $dependency_libs; do
28546 case "$dep" in
28547 -L*)
28548 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28549 if test "X$additional_libdir" != "X/usr/lib"; then
28550 haveit=
28551 if test "X$additional_libdir" = "X/usr/local/lib"; then
28552 if test -n "$GCC"; then
28553 case $host_os in
28554 linux*) haveit=yes;;
28555 esac
28558 if test -z "$haveit"; then
28559 haveit=
28560 for x in $LDFLAGS $LIBICONV; do
28562 acl_save_prefix="$prefix"
28563 prefix="$acl_final_prefix"
28564 acl_save_exec_prefix="$exec_prefix"
28565 exec_prefix="$acl_final_exec_prefix"
28566 eval x=\"$x\"
28567 exec_prefix="$acl_save_exec_prefix"
28568 prefix="$acl_save_prefix"
28570 if test "X$x" = "X-L$additional_libdir"; then
28571 haveit=yes
28572 break
28574 done
28575 if test -z "$haveit"; then
28576 if test -d "$additional_libdir"; then
28577 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28580 haveit=
28581 for x in $LDFLAGS $LTLIBICONV; do
28583 acl_save_prefix="$prefix"
28584 prefix="$acl_final_prefix"
28585 acl_save_exec_prefix="$exec_prefix"
28586 exec_prefix="$acl_final_exec_prefix"
28587 eval x=\"$x\"
28588 exec_prefix="$acl_save_exec_prefix"
28589 prefix="$acl_save_prefix"
28591 if test "X$x" = "X-L$additional_libdir"; then
28592 haveit=yes
28593 break
28595 done
28596 if test -z "$haveit"; then
28597 if test -d "$additional_libdir"; then
28598 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28604 -R*)
28605 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28606 if test "$enable_rpath" != no; then
28607 haveit=
28608 for x in $rpathdirs; do
28609 if test "X$x" = "X$dir"; then
28610 haveit=yes
28611 break
28613 done
28614 if test -z "$haveit"; then
28615 rpathdirs="$rpathdirs $dir"
28617 haveit=
28618 for x in $ltrpathdirs; do
28619 if test "X$x" = "X$dir"; then
28620 haveit=yes
28621 break
28623 done
28624 if test -z "$haveit"; then
28625 ltrpathdirs="$ltrpathdirs $dir"
28629 -l*)
28630 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28632 *.la)
28633 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28636 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28637 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28639 esac
28640 done
28642 else
28643 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28644 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28648 done
28649 done
28650 if test "X$rpathdirs" != "X"; then
28651 if test -n "$hardcode_libdir_separator"; then
28652 alldirs=
28653 for found_dir in $rpathdirs; do
28654 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28655 done
28656 acl_save_libdir="$libdir"
28657 libdir="$alldirs"
28658 eval flag=\"$hardcode_libdir_flag_spec\"
28659 libdir="$acl_save_libdir"
28660 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28661 else
28662 for found_dir in $rpathdirs; do
28663 acl_save_libdir="$libdir"
28664 libdir="$found_dir"
28665 eval flag=\"$hardcode_libdir_flag_spec\"
28666 libdir="$acl_save_libdir"
28667 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28668 done
28671 if test "X$ltrpathdirs" != "X"; then
28672 for found_dir in $ltrpathdirs; do
28673 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28674 done
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28684 $as_echo_n "checking for iconv... " >&6; }
28685 if test "${am_cv_func_iconv+set}" = set; then :
28686 $as_echo_n "(cached) " >&6
28687 else
28689 am_cv_func_iconv="no, consider installing GNU libiconv"
28690 am_cv_lib_iconv=no
28691 am_save_CPPFLAGS="$CPPFLAGS"
28692 CPPFLAGS="$CPPFLAGS $INCICONV"
28693 if test x$gcc_no_link = xyes; then
28694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28697 /* end confdefs.h. */
28698 #include <stdlib.h>
28699 #include <iconv.h>
28701 main ()
28703 iconv_t cd = iconv_open("","");
28704 iconv(cd,NULL,NULL,NULL,NULL);
28705 iconv_close(cd);
28707 return 0;
28709 _ACEOF
28710 if ac_fn_c_try_link "$LINENO"; then :
28711 am_cv_func_iconv=yes
28713 rm -f core conftest.err conftest.$ac_objext \
28714 conftest$ac_exeext conftest.$ac_ext
28715 CPPFLAGS="$am_save_CPPFLAGS"
28717 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28718 for _libs in .libs _libs; do
28719 am_save_CPPFLAGS="$CPPFLAGS"
28720 am_save_LIBS="$LIBS"
28721 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28722 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28723 if test x$gcc_no_link = xyes; then
28724 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28727 /* end confdefs.h. */
28728 #include <stdlib.h>
28729 #include <iconv.h>
28731 main ()
28733 iconv_t cd = iconv_open("","");
28734 iconv(cd,NULL,NULL,NULL,NULL);
28735 iconv_close(cd);
28737 return 0;
28739 _ACEOF
28740 if ac_fn_c_try_link "$LINENO"; then :
28741 INCICONV="-I../libiconv/include"
28742 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28743 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28744 am_cv_lib_iconv=yes
28745 am_cv_func_iconv=yes
28747 rm -f core conftest.err conftest.$ac_objext \
28748 conftest$ac_exeext conftest.$ac_ext
28749 CPPFLAGS="$am_save_CPPFLAGS"
28750 LIBS="$am_save_LIBS"
28751 if test "$am_cv_func_iconv" = "yes"; then
28752 break
28754 done
28757 if test "$am_cv_func_iconv" != yes; then
28758 am_save_CPPFLAGS="$CPPFLAGS"
28759 am_save_LIBS="$LIBS"
28760 CPPFLAGS="$LIBS $INCICONV"
28761 LIBS="$LIBS $LIBICONV"
28762 if test x$gcc_no_link = xyes; then
28763 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28766 /* end confdefs.h. */
28767 #include <stdlib.h>
28768 #include <iconv.h>
28770 main ()
28772 iconv_t cd = iconv_open("","");
28773 iconv(cd,NULL,NULL,NULL,NULL);
28774 iconv_close(cd);
28776 return 0;
28778 _ACEOF
28779 if ac_fn_c_try_link "$LINENO"; then :
28780 am_cv_lib_iconv=yes
28781 am_cv_func_iconv=yes
28783 rm -f core conftest.err conftest.$ac_objext \
28784 conftest$ac_exeext conftest.$ac_ext
28785 CPPFLAGS="$am_save_CPPFLAGS"
28786 LIBS="$am_save_LIBS"
28790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28791 $as_echo "$am_cv_func_iconv" >&6; }
28792 if test "$am_cv_func_iconv" = yes; then
28794 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28797 if test "$am_cv_lib_iconv" = yes; then
28799 for element in $INCICONV; do
28800 haveit=
28801 for x in $CPPFLAGS; do
28803 acl_save_prefix="$prefix"
28804 prefix="$acl_final_prefix"
28805 acl_save_exec_prefix="$exec_prefix"
28806 exec_prefix="$acl_final_exec_prefix"
28807 eval x=\"$x\"
28808 exec_prefix="$acl_save_exec_prefix"
28809 prefix="$acl_save_prefix"
28811 if test "X$x" = "X$element"; then
28812 haveit=yes
28813 break
28815 done
28816 if test -z "$haveit"; then
28817 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28819 done
28821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28822 $as_echo_n "checking how to link with libiconv... " >&6; }
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28824 $as_echo "$LIBICONV" >&6; }
28825 else
28826 LIBICONV=
28827 LTLIBICONV=
28832 if test "$am_cv_func_iconv" = yes; then
28833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28834 $as_echo_n "checking for iconv declaration... " >&6; }
28835 if test "${am_cv_proto_iconv+set}" = set; then :
28836 $as_echo_n "(cached) " >&6
28837 else
28839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28840 /* end confdefs.h. */
28842 #include <stdlib.h>
28843 #include <iconv.h>
28844 extern
28845 #ifdef __cplusplus
28847 #endif
28848 #if defined(__STDC__) || defined(__cplusplus)
28849 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28850 #else
28851 size_t iconv();
28852 #endif
28855 main ()
28859 return 0;
28861 _ACEOF
28862 if ac_fn_c_try_compile "$LINENO"; then :
28863 am_cv_proto_iconv_arg1=""
28864 else
28865 am_cv_proto_iconv_arg1="const"
28867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28868 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);"
28871 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28873 }$am_cv_proto_iconv" >&5
28874 $as_echo "${ac_t:-
28875 }$am_cv_proto_iconv" >&6; }
28877 cat >>confdefs.h <<_ACEOF
28878 #define ICONV_CONST $am_cv_proto_iconv_arg1
28879 _ACEOF
28884 else
28886 # This lets us hard-code the functionality we know we'll have in the cross
28887 # target environment. "Let" is a sugar-coated word placed on an especially
28888 # dull and tedious hack, actually.
28890 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28891 # that involve linking, can't be used:
28892 # "cannot open sim-crt0.o"
28893 # "cannot open crt0.o"
28894 # etc. All this is because there currently exists no unified, consistent
28895 # way for top level CC information to be passed down to target directories:
28896 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28897 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28898 # crosses can be removed.
28900 # If Canadian cross, then don't pick up tools from the build directory.
28901 # Used only in GLIBCXX_EXPORT_INCLUDES.
28902 if test -n "$with_cross_host" &&
28903 test x"$build_alias" != x"$with_cross_host" &&
28904 test x"$build" != x"$target";
28905 then
28906 CANADIAN=yes
28907 else
28908 CANADIAN=no
28911 # Construct crosses by hand, eliminating bits that need ld...
28912 # GLIBCXX_CHECK_MATH_SUPPORT
28914 # First, test for "known" system libraries. We may be using newlib even
28915 # on a hosted environment.
28916 if test "x${with_newlib}" = "xyes"; then
28917 os_include_dir="os/newlib"
28918 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28921 # GLIBCXX_CHECK_STDLIB_SUPPORT
28922 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28925 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28927 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28929 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28931 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28933 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28935 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28937 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28939 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28941 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28943 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28945 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28947 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28949 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28951 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28953 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28955 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28957 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28959 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28961 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28963 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28965 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28967 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28970 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28972 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28974 else
28976 # Base decisions on target environment.
28977 case "${host}" in
28978 arm*-*-symbianelf*)
28979 # This is a freestanding configuration; there is nothing to do here.
28982 avr*-*-*)
28983 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28985 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28987 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28989 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28991 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28993 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28995 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28997 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28999 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29001 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29003 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29005 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29007 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29009 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29011 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29013 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29015 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29017 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29019 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29021 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29023 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29025 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29027 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29031 mips*-sde-elf*)
29032 # These definitions are for the SDE C library rather than newlib.
29033 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29036 # All these tests are for C++; save the language and the compiler flags.
29037 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29038 # found in GLIBCXX_CONFIGURE.
29040 ac_ext=cpp
29041 ac_cpp='$CXXCPP $CPPFLAGS'
29042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29046 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29047 ac_save_CXXFLAGS="$CXXFLAGS"
29049 # Check for -ffunction-sections -fdata-sections
29050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29051 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29052 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29054 /* end confdefs.h. */
29055 int foo; void bar() { };
29057 main ()
29061 return 0;
29063 _ACEOF
29064 if ac_fn_cxx_try_compile "$LINENO"; then :
29065 ac_fdsections=yes
29066 else
29067 ac_fdsections=no
29069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29070 if test "$ac_test_CXXFLAGS" = set; then
29071 CXXFLAGS="$ac_save_CXXFLAGS"
29072 else
29073 # this is the suspicious part
29074 CXXFLAGS=''
29076 if test x"$ac_fdsections" = x"yes"; then
29077 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29080 $as_echo "$ac_fdsections" >&6; }
29082 ac_ext=c
29083 ac_cpp='$CPP $CPPFLAGS'
29084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29091 # If we're not using GNU ld, then there's no point in even trying these
29092 # tests. Check for that first. We should have already tested for gld
29093 # by now (in libtool), but require it now just to be safe...
29094 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29095 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29099 # The name set by libtool depends on the version of libtool. Shame on us
29100 # for depending on an impl detail, but c'est la vie. Older versions used
29101 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29102 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29103 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29104 # set (hence we're using an older libtool), then set it.
29105 if test x${with_gnu_ld+set} != xset; then
29106 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29107 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29108 with_gnu_ld=no
29109 else
29110 with_gnu_ld=$ac_cv_prog_gnu_ld
29114 # Start by getting the version number. I think the libtool test already
29115 # does some of this, but throws away the result.
29116 glibcxx_ld_is_gold=no
29117 if test x"$with_gnu_ld" = x"yes"; then
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29119 $as_echo_n "checking for ld version... " >&6; }
29121 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29122 glibcxx_ld_is_gold=yes
29124 ldver=`$LD --version 2>/dev/null |
29125 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'`
29127 glibcxx_gnu_ld_version=`echo $ldver | \
29128 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29130 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29133 # Set --gc-sections.
29134 glibcxx_have_gc_sections=no
29135 if test "$glibcxx_ld_is_gold" = "yes"; then
29136 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29137 glibcxx_have_gc_sections=yes
29139 else
29140 glibcxx_gcsections_min_ld=21602
29141 if test x"$with_gnu_ld" = x"yes" &&
29142 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29143 glibcxx_have_gc_sections=yes
29146 if test "$glibcxx_have_gc_sections" = "yes"; then
29147 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29148 # NB: This flag only works reliably after 2.16.1. Configure tests
29149 # for this are difficult, so hard wire a value that should work.
29151 ac_test_CFLAGS="${CFLAGS+set}"
29152 ac_save_CFLAGS="$CFLAGS"
29153 CFLAGS='-Wl,--gc-sections'
29155 # Check for -Wl,--gc-sections
29156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29157 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29158 if test x$gcc_no_link = xyes; then
29159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29162 /* end confdefs.h. */
29163 int one(void) { return 1; }
29164 int two(void) { return 2; }
29167 main ()
29169 two();
29171 return 0;
29173 _ACEOF
29174 if ac_fn_c_try_link "$LINENO"; then :
29175 ac_gcsections=yes
29176 else
29177 ac_gcsections=no
29179 rm -f core conftest.err conftest.$ac_objext \
29180 conftest$ac_exeext conftest.$ac_ext
29181 if test "$ac_gcsections" = "yes"; then
29182 rm -f conftest.c
29183 touch conftest.c
29184 if $CC -c conftest.c; then
29185 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29186 grep "Warning: gc-sections option ignored" > /dev/null; then
29187 ac_gcsections=no
29190 rm -f conftest.c conftest.o conftest
29192 if test "$ac_gcsections" = "yes"; then
29193 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29196 $as_echo "$ac_gcsections" >&6; }
29198 if test "$ac_test_CFLAGS" = set; then
29199 CFLAGS="$ac_save_CFLAGS"
29200 else
29201 # this is the suspicious part
29202 CFLAGS=''
29206 # Set -z,relro.
29207 # Note this is only for shared objects.
29208 ac_ld_relro=no
29209 if test x"$with_gnu_ld" = x"yes"; then
29210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29211 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29212 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29213 if test -n "$cxx_z_relo"; then
29214 OPT_LDFLAGS="-Wl,-z,relro"
29215 ac_ld_relro=yes
29217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29218 $as_echo "$ac_ld_relro" >&6; }
29221 # Set linker optimization flags.
29222 if test x"$with_gnu_ld" = x"yes"; then
29223 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29231 ac_save_CXXFLAGS="$CXXFLAGS"
29232 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29235 $as_echo_n "checking for sin in -lm... " >&6; }
29236 if test "${ac_cv_lib_m_sin+set}" = set; then :
29237 $as_echo_n "(cached) " >&6
29238 else
29239 ac_check_lib_save_LIBS=$LIBS
29240 LIBS="-lm $LIBS"
29241 if test x$gcc_no_link = xyes; then
29242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29245 /* end confdefs.h. */
29247 /* Override any GCC internal prototype to avoid an error.
29248 Use char because int might match the return type of a GCC
29249 builtin and then its argument prototype would still apply. */
29250 #ifdef __cplusplus
29251 extern "C"
29252 #endif
29253 char sin ();
29255 main ()
29257 return sin ();
29259 return 0;
29261 _ACEOF
29262 if ac_fn_c_try_link "$LINENO"; then :
29263 ac_cv_lib_m_sin=yes
29264 else
29265 ac_cv_lib_m_sin=no
29267 rm -f core conftest.err conftest.$ac_objext \
29268 conftest$ac_exeext conftest.$ac_ext
29269 LIBS=$ac_check_lib_save_LIBS
29271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29272 $as_echo "$ac_cv_lib_m_sin" >&6; }
29273 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29274 libm="-lm"
29277 ac_save_LIBS="$LIBS"
29278 LIBS="$LIBS $libm"
29282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29283 $as_echo_n "checking for isinf declaration... " >&6; }
29284 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29285 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29286 $as_echo_n "(cached) " >&6
29287 else
29290 ac_ext=cpp
29291 ac_cpp='$CXXCPP $CPPFLAGS'
29292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29297 /* end confdefs.h. */
29298 #include <math.h>
29299 #ifdef HAVE_IEEEFP_H
29300 #include <ieeefp.h>
29301 #endif
29304 main ()
29306 isinf(0);
29308 return 0;
29310 _ACEOF
29311 if ac_fn_cxx_try_compile "$LINENO"; then :
29312 glibcxx_cv_func_isinf_use=yes
29313 else
29314 glibcxx_cv_func_isinf_use=no
29316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29317 ac_ext=c
29318 ac_cpp='$CPP $CPPFLAGS'
29319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29328 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29330 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29331 for ac_func in isinf
29332 do :
29333 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29334 if test "x$ac_cv_func_isinf" = x""yes; then :
29335 cat >>confdefs.h <<_ACEOF
29336 #define HAVE_ISINF 1
29337 _ACEOF
29340 done
29342 else
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29345 $as_echo_n "checking for _isinf declaration... " >&6; }
29346 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29347 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29348 $as_echo_n "(cached) " >&6
29349 else
29352 ac_ext=cpp
29353 ac_cpp='$CXXCPP $CPPFLAGS'
29354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29359 /* end confdefs.h. */
29360 #include <math.h>
29361 #ifdef HAVE_IEEEFP_H
29362 #include <ieeefp.h>
29363 #endif
29366 main ()
29368 _isinf(0);
29370 return 0;
29372 _ACEOF
29373 if ac_fn_cxx_try_compile "$LINENO"; then :
29374 glibcxx_cv_func__isinf_use=yes
29375 else
29376 glibcxx_cv_func__isinf_use=no
29378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29379 ac_ext=c
29380 ac_cpp='$CPP $CPPFLAGS'
29381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29390 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29392 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29393 for ac_func in _isinf
29394 do :
29395 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29396 if test "x$ac_cv_func__isinf" = x""yes; then :
29397 cat >>confdefs.h <<_ACEOF
29398 #define HAVE__ISINF 1
29399 _ACEOF
29402 done
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29412 $as_echo_n "checking for isnan declaration... " >&6; }
29413 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29414 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29415 $as_echo_n "(cached) " >&6
29416 else
29419 ac_ext=cpp
29420 ac_cpp='$CXXCPP $CPPFLAGS'
29421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29426 /* end confdefs.h. */
29427 #include <math.h>
29428 #ifdef HAVE_IEEEFP_H
29429 #include <ieeefp.h>
29430 #endif
29433 main ()
29435 isnan(0);
29437 return 0;
29439 _ACEOF
29440 if ac_fn_cxx_try_compile "$LINENO"; then :
29441 glibcxx_cv_func_isnan_use=yes
29442 else
29443 glibcxx_cv_func_isnan_use=no
29445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29446 ac_ext=c
29447 ac_cpp='$CPP $CPPFLAGS'
29448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29457 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29459 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29460 for ac_func in isnan
29461 do :
29462 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29463 if test "x$ac_cv_func_isnan" = x""yes; then :
29464 cat >>confdefs.h <<_ACEOF
29465 #define HAVE_ISNAN 1
29466 _ACEOF
29469 done
29471 else
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29474 $as_echo_n "checking for _isnan declaration... " >&6; }
29475 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29476 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29477 $as_echo_n "(cached) " >&6
29478 else
29481 ac_ext=cpp
29482 ac_cpp='$CXXCPP $CPPFLAGS'
29483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29488 /* end confdefs.h. */
29489 #include <math.h>
29490 #ifdef HAVE_IEEEFP_H
29491 #include <ieeefp.h>
29492 #endif
29495 main ()
29497 _isnan(0);
29499 return 0;
29501 _ACEOF
29502 if ac_fn_cxx_try_compile "$LINENO"; then :
29503 glibcxx_cv_func__isnan_use=yes
29504 else
29505 glibcxx_cv_func__isnan_use=no
29507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29508 ac_ext=c
29509 ac_cpp='$CPP $CPPFLAGS'
29510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29519 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29521 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29522 for ac_func in _isnan
29523 do :
29524 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29525 if test "x$ac_cv_func__isnan" = x""yes; then :
29526 cat >>confdefs.h <<_ACEOF
29527 #define HAVE__ISNAN 1
29528 _ACEOF
29531 done
29540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29541 $as_echo_n "checking for finite declaration... " >&6; }
29542 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29543 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29544 $as_echo_n "(cached) " >&6
29545 else
29548 ac_ext=cpp
29549 ac_cpp='$CXXCPP $CPPFLAGS'
29550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29555 /* end confdefs.h. */
29556 #include <math.h>
29557 #ifdef HAVE_IEEEFP_H
29558 #include <ieeefp.h>
29559 #endif
29562 main ()
29564 finite(0);
29566 return 0;
29568 _ACEOF
29569 if ac_fn_cxx_try_compile "$LINENO"; then :
29570 glibcxx_cv_func_finite_use=yes
29571 else
29572 glibcxx_cv_func_finite_use=no
29574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29575 ac_ext=c
29576 ac_cpp='$CPP $CPPFLAGS'
29577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29586 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29588 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29589 for ac_func in finite
29590 do :
29591 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29592 if test "x$ac_cv_func_finite" = x""yes; then :
29593 cat >>confdefs.h <<_ACEOF
29594 #define HAVE_FINITE 1
29595 _ACEOF
29598 done
29600 else
29602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29603 $as_echo_n "checking for _finite declaration... " >&6; }
29604 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29605 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29606 $as_echo_n "(cached) " >&6
29607 else
29610 ac_ext=cpp
29611 ac_cpp='$CXXCPP $CPPFLAGS'
29612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29617 /* end confdefs.h. */
29618 #include <math.h>
29619 #ifdef HAVE_IEEEFP_H
29620 #include <ieeefp.h>
29621 #endif
29624 main ()
29626 _finite(0);
29628 return 0;
29630 _ACEOF
29631 if ac_fn_cxx_try_compile "$LINENO"; then :
29632 glibcxx_cv_func__finite_use=yes
29633 else
29634 glibcxx_cv_func__finite_use=no
29636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29637 ac_ext=c
29638 ac_cpp='$CPP $CPPFLAGS'
29639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29648 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29650 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29651 for ac_func in _finite
29652 do :
29653 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29654 if test "x$ac_cv_func__finite" = x""yes; then :
29655 cat >>confdefs.h <<_ACEOF
29656 #define HAVE__FINITE 1
29657 _ACEOF
29660 done
29669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29670 $as_echo_n "checking for sincos declaration... " >&6; }
29671 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29672 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29673 $as_echo_n "(cached) " >&6
29674 else
29677 ac_ext=cpp
29678 ac_cpp='$CXXCPP $CPPFLAGS'
29679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29684 /* end confdefs.h. */
29685 #include <math.h>
29687 main ()
29689 sincos(0, 0, 0);
29691 return 0;
29693 _ACEOF
29694 if ac_fn_cxx_try_compile "$LINENO"; then :
29695 glibcxx_cv_func_sincos_use=yes
29696 else
29697 glibcxx_cv_func_sincos_use=no
29699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29700 ac_ext=c
29701 ac_cpp='$CPP $CPPFLAGS'
29702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29711 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29713 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29714 for ac_func in sincos
29715 do :
29716 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29717 if test "x$ac_cv_func_sincos" = x""yes; then :
29718 cat >>confdefs.h <<_ACEOF
29719 #define HAVE_SINCOS 1
29720 _ACEOF
29723 done
29725 else
29727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29728 $as_echo_n "checking for _sincos declaration... " >&6; }
29729 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29730 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29731 $as_echo_n "(cached) " >&6
29732 else
29735 ac_ext=cpp
29736 ac_cpp='$CXXCPP $CPPFLAGS'
29737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29742 /* end confdefs.h. */
29743 #include <math.h>
29745 main ()
29747 _sincos(0, 0, 0);
29749 return 0;
29751 _ACEOF
29752 if ac_fn_cxx_try_compile "$LINENO"; then :
29753 glibcxx_cv_func__sincos_use=yes
29754 else
29755 glibcxx_cv_func__sincos_use=no
29757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29758 ac_ext=c
29759 ac_cpp='$CPP $CPPFLAGS'
29760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29769 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29771 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29772 for ac_func in _sincos
29773 do :
29774 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29775 if test "x$ac_cv_func__sincos" = x""yes; then :
29776 cat >>confdefs.h <<_ACEOF
29777 #define HAVE__SINCOS 1
29778 _ACEOF
29781 done
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29791 $as_echo_n "checking for fpclass declaration... " >&6; }
29792 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29793 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29794 $as_echo_n "(cached) " >&6
29795 else
29798 ac_ext=cpp
29799 ac_cpp='$CXXCPP $CPPFLAGS'
29800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29805 /* end confdefs.h. */
29806 #include <math.h>
29807 #ifdef HAVE_IEEEFP_H
29808 #include <ieeefp.h>
29809 #endif
29812 main ()
29814 fpclass(0);
29816 return 0;
29818 _ACEOF
29819 if ac_fn_cxx_try_compile "$LINENO"; then :
29820 glibcxx_cv_func_fpclass_use=yes
29821 else
29822 glibcxx_cv_func_fpclass_use=no
29824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29825 ac_ext=c
29826 ac_cpp='$CPP $CPPFLAGS'
29827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29836 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29838 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29839 for ac_func in fpclass
29840 do :
29841 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29842 if test "x$ac_cv_func_fpclass" = x""yes; then :
29843 cat >>confdefs.h <<_ACEOF
29844 #define HAVE_FPCLASS 1
29845 _ACEOF
29848 done
29850 else
29852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29853 $as_echo_n "checking for _fpclass declaration... " >&6; }
29854 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29855 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29856 $as_echo_n "(cached) " >&6
29857 else
29860 ac_ext=cpp
29861 ac_cpp='$CXXCPP $CPPFLAGS'
29862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29867 /* end confdefs.h. */
29868 #include <math.h>
29869 #ifdef HAVE_IEEEFP_H
29870 #include <ieeefp.h>
29871 #endif
29874 main ()
29876 _fpclass(0);
29878 return 0;
29880 _ACEOF
29881 if ac_fn_cxx_try_compile "$LINENO"; then :
29882 glibcxx_cv_func__fpclass_use=yes
29883 else
29884 glibcxx_cv_func__fpclass_use=no
29886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29887 ac_ext=c
29888 ac_cpp='$CPP $CPPFLAGS'
29889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29898 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29900 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29901 for ac_func in _fpclass
29902 do :
29903 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29904 if test "x$ac_cv_func__fpclass" = x""yes; then :
29905 cat >>confdefs.h <<_ACEOF
29906 #define HAVE__FPCLASS 1
29907 _ACEOF
29910 done
29919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29920 $as_echo_n "checking for qfpclass declaration... " >&6; }
29921 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29922 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29923 $as_echo_n "(cached) " >&6
29924 else
29927 ac_ext=cpp
29928 ac_cpp='$CXXCPP $CPPFLAGS'
29929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29934 /* end confdefs.h. */
29935 #include <math.h>
29936 #ifdef HAVE_IEEEFP_H
29937 #include <ieeefp.h>
29938 #endif
29941 main ()
29943 qfpclass(0);
29945 return 0;
29947 _ACEOF
29948 if ac_fn_cxx_try_compile "$LINENO"; then :
29949 glibcxx_cv_func_qfpclass_use=yes
29950 else
29951 glibcxx_cv_func_qfpclass_use=no
29953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29954 ac_ext=c
29955 ac_cpp='$CPP $CPPFLAGS'
29956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29965 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29967 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29968 for ac_func in qfpclass
29969 do :
29970 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29971 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29972 cat >>confdefs.h <<_ACEOF
29973 #define HAVE_QFPCLASS 1
29974 _ACEOF
29977 done
29979 else
29981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29982 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29983 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29984 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29985 $as_echo_n "(cached) " >&6
29986 else
29989 ac_ext=cpp
29990 ac_cpp='$CXXCPP $CPPFLAGS'
29991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29996 /* end confdefs.h. */
29997 #include <math.h>
29998 #ifdef HAVE_IEEEFP_H
29999 #include <ieeefp.h>
30000 #endif
30003 main ()
30005 _qfpclass(0);
30007 return 0;
30009 _ACEOF
30010 if ac_fn_cxx_try_compile "$LINENO"; then :
30011 glibcxx_cv_func__qfpclass_use=yes
30012 else
30013 glibcxx_cv_func__qfpclass_use=no
30015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30016 ac_ext=c
30017 ac_cpp='$CPP $CPPFLAGS'
30018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30027 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30029 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30030 for ac_func in _qfpclass
30031 do :
30032 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30033 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30034 cat >>confdefs.h <<_ACEOF
30035 #define HAVE__QFPCLASS 1
30036 _ACEOF
30039 done
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30049 $as_echo_n "checking for hypot declaration... " >&6; }
30050 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30051 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30052 $as_echo_n "(cached) " >&6
30053 else
30056 ac_ext=cpp
30057 ac_cpp='$CXXCPP $CPPFLAGS'
30058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30063 /* end confdefs.h. */
30064 #include <math.h>
30066 main ()
30068 hypot(0, 0);
30070 return 0;
30072 _ACEOF
30073 if ac_fn_cxx_try_compile "$LINENO"; then :
30074 glibcxx_cv_func_hypot_use=yes
30075 else
30076 glibcxx_cv_func_hypot_use=no
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30079 ac_ext=c
30080 ac_cpp='$CPP $CPPFLAGS'
30081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30090 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30092 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30093 for ac_func in hypot
30094 do :
30095 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30096 if test "x$ac_cv_func_hypot" = x""yes; then :
30097 cat >>confdefs.h <<_ACEOF
30098 #define HAVE_HYPOT 1
30099 _ACEOF
30102 done
30104 else
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30107 $as_echo_n "checking for _hypot declaration... " >&6; }
30108 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30109 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30110 $as_echo_n "(cached) " >&6
30111 else
30114 ac_ext=cpp
30115 ac_cpp='$CXXCPP $CPPFLAGS'
30116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30121 /* end confdefs.h. */
30122 #include <math.h>
30124 main ()
30126 _hypot(0, 0);
30128 return 0;
30130 _ACEOF
30131 if ac_fn_cxx_try_compile "$LINENO"; then :
30132 glibcxx_cv_func__hypot_use=yes
30133 else
30134 glibcxx_cv_func__hypot_use=no
30136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30137 ac_ext=c
30138 ac_cpp='$CPP $CPPFLAGS'
30139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30148 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30150 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30151 for ac_func in _hypot
30152 do :
30153 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30154 if test "x$ac_cv_func__hypot" = x""yes; then :
30155 cat >>confdefs.h <<_ACEOF
30156 #define HAVE__HYPOT 1
30157 _ACEOF
30160 done
30169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30170 $as_echo_n "checking for float trig functions... " >&6; }
30171 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30172 $as_echo_n "(cached) " >&6
30173 else
30176 ac_ext=cpp
30177 ac_cpp='$CXXCPP $CPPFLAGS'
30178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30183 /* end confdefs.h. */
30184 #include <math.h>
30186 main ()
30188 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30190 return 0;
30192 _ACEOF
30193 if ac_fn_cxx_try_compile "$LINENO"; then :
30194 glibcxx_cv_func_float_trig_use=yes
30195 else
30196 glibcxx_cv_func_float_trig_use=no
30198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30199 ac_ext=c
30200 ac_cpp='$CPP $CPPFLAGS'
30201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30208 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30209 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30210 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30211 do :
30212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30214 eval as_val=\$$as_ac_var
30215 if test "x$as_val" = x""yes; then :
30216 cat >>confdefs.h <<_ACEOF
30217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30218 _ACEOF
30221 done
30223 else
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30225 $as_echo_n "checking for _float trig functions... " >&6; }
30226 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30227 $as_echo_n "(cached) " >&6
30228 else
30231 ac_ext=cpp
30232 ac_cpp='$CXXCPP $CPPFLAGS'
30233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30238 /* end confdefs.h. */
30239 #include <math.h>
30241 main ()
30243 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30245 return 0;
30247 _ACEOF
30248 if ac_fn_cxx_try_compile "$LINENO"; then :
30249 glibcxx_cv_func__float_trig_use=yes
30250 else
30251 glibcxx_cv_func__float_trig_use=no
30253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30254 ac_ext=c
30255 ac_cpp='$CPP $CPPFLAGS'
30256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30263 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30264 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30265 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30266 do :
30267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30269 eval as_val=\$$as_ac_var
30270 if test "x$as_val" = x""yes; then :
30271 cat >>confdefs.h <<_ACEOF
30272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30273 _ACEOF
30276 done
30285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30286 $as_echo_n "checking for float round functions... " >&6; }
30287 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30288 $as_echo_n "(cached) " >&6
30289 else
30292 ac_ext=cpp
30293 ac_cpp='$CXXCPP $CPPFLAGS'
30294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30299 /* end confdefs.h. */
30300 #include <math.h>
30302 main ()
30304 ceilf (0); floorf (0);
30306 return 0;
30308 _ACEOF
30309 if ac_fn_cxx_try_compile "$LINENO"; then :
30310 glibcxx_cv_func_float_round_use=yes
30311 else
30312 glibcxx_cv_func_float_round_use=no
30314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30315 ac_ext=c
30316 ac_cpp='$CPP $CPPFLAGS'
30317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30324 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30325 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30326 for ac_func in ceilf floorf
30327 do :
30328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30330 eval as_val=\$$as_ac_var
30331 if test "x$as_val" = x""yes; then :
30332 cat >>confdefs.h <<_ACEOF
30333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30334 _ACEOF
30337 done
30339 else
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30341 $as_echo_n "checking for _float round functions... " >&6; }
30342 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30343 $as_echo_n "(cached) " >&6
30344 else
30347 ac_ext=cpp
30348 ac_cpp='$CXXCPP $CPPFLAGS'
30349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30354 /* end confdefs.h. */
30355 #include <math.h>
30357 main ()
30359 _ceilf (0); _floorf (0);
30361 return 0;
30363 _ACEOF
30364 if ac_fn_cxx_try_compile "$LINENO"; then :
30365 glibcxx_cv_func__float_round_use=yes
30366 else
30367 glibcxx_cv_func__float_round_use=no
30369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30370 ac_ext=c
30371 ac_cpp='$CPP $CPPFLAGS'
30372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30379 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30380 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30381 for ac_func in _ceilf _floorf
30382 do :
30383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30385 eval as_val=\$$as_ac_var
30386 if test "x$as_val" = x""yes; then :
30387 cat >>confdefs.h <<_ACEOF
30388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30389 _ACEOF
30392 done
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30403 $as_echo_n "checking for expf declaration... " >&6; }
30404 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30405 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30406 $as_echo_n "(cached) " >&6
30407 else
30410 ac_ext=cpp
30411 ac_cpp='$CXXCPP $CPPFLAGS'
30412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30417 /* end confdefs.h. */
30418 #include <math.h>
30419 #ifdef HAVE_IEEEFP_H
30420 #include <ieeefp.h>
30421 #endif
30424 main ()
30426 expf(0);
30428 return 0;
30430 _ACEOF
30431 if ac_fn_cxx_try_compile "$LINENO"; then :
30432 glibcxx_cv_func_expf_use=yes
30433 else
30434 glibcxx_cv_func_expf_use=no
30436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30437 ac_ext=c
30438 ac_cpp='$CPP $CPPFLAGS'
30439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30448 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30450 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30451 for ac_func in expf
30452 do :
30453 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30454 if test "x$ac_cv_func_expf" = x""yes; then :
30455 cat >>confdefs.h <<_ACEOF
30456 #define HAVE_EXPF 1
30457 _ACEOF
30460 done
30462 else
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30465 $as_echo_n "checking for _expf declaration... " >&6; }
30466 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30467 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30468 $as_echo_n "(cached) " >&6
30469 else
30472 ac_ext=cpp
30473 ac_cpp='$CXXCPP $CPPFLAGS'
30474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30479 /* end confdefs.h. */
30480 #include <math.h>
30481 #ifdef HAVE_IEEEFP_H
30482 #include <ieeefp.h>
30483 #endif
30486 main ()
30488 _expf(0);
30490 return 0;
30492 _ACEOF
30493 if ac_fn_cxx_try_compile "$LINENO"; then :
30494 glibcxx_cv_func__expf_use=yes
30495 else
30496 glibcxx_cv_func__expf_use=no
30498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30499 ac_ext=c
30500 ac_cpp='$CPP $CPPFLAGS'
30501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30510 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30512 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30513 for ac_func in _expf
30514 do :
30515 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30516 if test "x$ac_cv_func__expf" = x""yes; then :
30517 cat >>confdefs.h <<_ACEOF
30518 #define HAVE__EXPF 1
30519 _ACEOF
30522 done
30531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30532 $as_echo_n "checking for isnanf declaration... " >&6; }
30533 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30534 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30535 $as_echo_n "(cached) " >&6
30536 else
30539 ac_ext=cpp
30540 ac_cpp='$CXXCPP $CPPFLAGS'
30541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30546 /* end confdefs.h. */
30547 #include <math.h>
30548 #ifdef HAVE_IEEEFP_H
30549 #include <ieeefp.h>
30550 #endif
30553 main ()
30555 isnanf(0);
30557 return 0;
30559 _ACEOF
30560 if ac_fn_cxx_try_compile "$LINENO"; then :
30561 glibcxx_cv_func_isnanf_use=yes
30562 else
30563 glibcxx_cv_func_isnanf_use=no
30565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30566 ac_ext=c
30567 ac_cpp='$CPP $CPPFLAGS'
30568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30577 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30579 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30580 for ac_func in isnanf
30581 do :
30582 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30583 if test "x$ac_cv_func_isnanf" = x""yes; then :
30584 cat >>confdefs.h <<_ACEOF
30585 #define HAVE_ISNANF 1
30586 _ACEOF
30589 done
30591 else
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30594 $as_echo_n "checking for _isnanf declaration... " >&6; }
30595 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30596 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30597 $as_echo_n "(cached) " >&6
30598 else
30601 ac_ext=cpp
30602 ac_cpp='$CXXCPP $CPPFLAGS'
30603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30608 /* end confdefs.h. */
30609 #include <math.h>
30610 #ifdef HAVE_IEEEFP_H
30611 #include <ieeefp.h>
30612 #endif
30615 main ()
30617 _isnanf(0);
30619 return 0;
30621 _ACEOF
30622 if ac_fn_cxx_try_compile "$LINENO"; then :
30623 glibcxx_cv_func__isnanf_use=yes
30624 else
30625 glibcxx_cv_func__isnanf_use=no
30627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30628 ac_ext=c
30629 ac_cpp='$CPP $CPPFLAGS'
30630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30639 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30641 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30642 for ac_func in _isnanf
30643 do :
30644 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30645 if test "x$ac_cv_func__isnanf" = x""yes; then :
30646 cat >>confdefs.h <<_ACEOF
30647 #define HAVE__ISNANF 1
30648 _ACEOF
30651 done
30660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30661 $as_echo_n "checking for isinff declaration... " >&6; }
30662 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30663 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30664 $as_echo_n "(cached) " >&6
30665 else
30668 ac_ext=cpp
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30675 /* end confdefs.h. */
30676 #include <math.h>
30677 #ifdef HAVE_IEEEFP_H
30678 #include <ieeefp.h>
30679 #endif
30682 main ()
30684 isinff(0);
30686 return 0;
30688 _ACEOF
30689 if ac_fn_cxx_try_compile "$LINENO"; then :
30690 glibcxx_cv_func_isinff_use=yes
30691 else
30692 glibcxx_cv_func_isinff_use=no
30694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30695 ac_ext=c
30696 ac_cpp='$CPP $CPPFLAGS'
30697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30706 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30708 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30709 for ac_func in isinff
30710 do :
30711 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30712 if test "x$ac_cv_func_isinff" = x""yes; then :
30713 cat >>confdefs.h <<_ACEOF
30714 #define HAVE_ISINFF 1
30715 _ACEOF
30718 done
30720 else
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30723 $as_echo_n "checking for _isinff declaration... " >&6; }
30724 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30725 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30726 $as_echo_n "(cached) " >&6
30727 else
30730 ac_ext=cpp
30731 ac_cpp='$CXXCPP $CPPFLAGS'
30732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30737 /* end confdefs.h. */
30738 #include <math.h>
30739 #ifdef HAVE_IEEEFP_H
30740 #include <ieeefp.h>
30741 #endif
30744 main ()
30746 _isinff(0);
30748 return 0;
30750 _ACEOF
30751 if ac_fn_cxx_try_compile "$LINENO"; then :
30752 glibcxx_cv_func__isinff_use=yes
30753 else
30754 glibcxx_cv_func__isinff_use=no
30756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30757 ac_ext=c
30758 ac_cpp='$CPP $CPPFLAGS'
30759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30768 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30770 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30771 for ac_func in _isinff
30772 do :
30773 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30774 if test "x$ac_cv_func__isinff" = x""yes; then :
30775 cat >>confdefs.h <<_ACEOF
30776 #define HAVE__ISINFF 1
30777 _ACEOF
30780 done
30789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30790 $as_echo_n "checking for atan2f declaration... " >&6; }
30791 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30792 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30793 $as_echo_n "(cached) " >&6
30794 else
30797 ac_ext=cpp
30798 ac_cpp='$CXXCPP $CPPFLAGS'
30799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30804 /* end confdefs.h. */
30805 #include <math.h>
30807 main ()
30809 atan2f(0, 0);
30811 return 0;
30813 _ACEOF
30814 if ac_fn_cxx_try_compile "$LINENO"; then :
30815 glibcxx_cv_func_atan2f_use=yes
30816 else
30817 glibcxx_cv_func_atan2f_use=no
30819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30820 ac_ext=c
30821 ac_cpp='$CPP $CPPFLAGS'
30822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30831 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30833 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30834 for ac_func in atan2f
30835 do :
30836 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30837 if test "x$ac_cv_func_atan2f" = x""yes; then :
30838 cat >>confdefs.h <<_ACEOF
30839 #define HAVE_ATAN2F 1
30840 _ACEOF
30843 done
30845 else
30847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30848 $as_echo_n "checking for _atan2f declaration... " >&6; }
30849 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30850 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30851 $as_echo_n "(cached) " >&6
30852 else
30855 ac_ext=cpp
30856 ac_cpp='$CXXCPP $CPPFLAGS'
30857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30862 /* end confdefs.h. */
30863 #include <math.h>
30865 main ()
30867 _atan2f(0, 0);
30869 return 0;
30871 _ACEOF
30872 if ac_fn_cxx_try_compile "$LINENO"; then :
30873 glibcxx_cv_func__atan2f_use=yes
30874 else
30875 glibcxx_cv_func__atan2f_use=no
30877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30878 ac_ext=c
30879 ac_cpp='$CPP $CPPFLAGS'
30880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30889 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30891 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30892 for ac_func in _atan2f
30893 do :
30894 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30895 if test "x$ac_cv_func__atan2f" = x""yes; then :
30896 cat >>confdefs.h <<_ACEOF
30897 #define HAVE__ATAN2F 1
30898 _ACEOF
30901 done
30910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30911 $as_echo_n "checking for fabsf declaration... " >&6; }
30912 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30913 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30914 $as_echo_n "(cached) " >&6
30915 else
30918 ac_ext=cpp
30919 ac_cpp='$CXXCPP $CPPFLAGS'
30920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30925 /* end confdefs.h. */
30926 #include <math.h>
30927 #ifdef HAVE_IEEEFP_H
30928 #include <ieeefp.h>
30929 #endif
30932 main ()
30934 fabsf(0);
30936 return 0;
30938 _ACEOF
30939 if ac_fn_cxx_try_compile "$LINENO"; then :
30940 glibcxx_cv_func_fabsf_use=yes
30941 else
30942 glibcxx_cv_func_fabsf_use=no
30944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30945 ac_ext=c
30946 ac_cpp='$CPP $CPPFLAGS'
30947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30956 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30958 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30959 for ac_func in fabsf
30960 do :
30961 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30962 if test "x$ac_cv_func_fabsf" = x""yes; then :
30963 cat >>confdefs.h <<_ACEOF
30964 #define HAVE_FABSF 1
30965 _ACEOF
30968 done
30970 else
30972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30973 $as_echo_n "checking for _fabsf declaration... " >&6; }
30974 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30975 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30976 $as_echo_n "(cached) " >&6
30977 else
30980 ac_ext=cpp
30981 ac_cpp='$CXXCPP $CPPFLAGS'
30982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30987 /* end confdefs.h. */
30988 #include <math.h>
30989 #ifdef HAVE_IEEEFP_H
30990 #include <ieeefp.h>
30991 #endif
30994 main ()
30996 _fabsf(0);
30998 return 0;
31000 _ACEOF
31001 if ac_fn_cxx_try_compile "$LINENO"; then :
31002 glibcxx_cv_func__fabsf_use=yes
31003 else
31004 glibcxx_cv_func__fabsf_use=no
31006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31007 ac_ext=c
31008 ac_cpp='$CPP $CPPFLAGS'
31009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31018 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31020 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31021 for ac_func in _fabsf
31022 do :
31023 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31024 if test "x$ac_cv_func__fabsf" = x""yes; then :
31025 cat >>confdefs.h <<_ACEOF
31026 #define HAVE__FABSF 1
31027 _ACEOF
31030 done
31039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31040 $as_echo_n "checking for fmodf declaration... " >&6; }
31041 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31042 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31043 $as_echo_n "(cached) " >&6
31044 else
31047 ac_ext=cpp
31048 ac_cpp='$CXXCPP $CPPFLAGS'
31049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31054 /* end confdefs.h. */
31055 #include <math.h>
31057 main ()
31059 fmodf(0, 0);
31061 return 0;
31063 _ACEOF
31064 if ac_fn_cxx_try_compile "$LINENO"; then :
31065 glibcxx_cv_func_fmodf_use=yes
31066 else
31067 glibcxx_cv_func_fmodf_use=no
31069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31070 ac_ext=c
31071 ac_cpp='$CPP $CPPFLAGS'
31072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31081 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31083 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31084 for ac_func in fmodf
31085 do :
31086 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31087 if test "x$ac_cv_func_fmodf" = x""yes; then :
31088 cat >>confdefs.h <<_ACEOF
31089 #define HAVE_FMODF 1
31090 _ACEOF
31093 done
31095 else
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31098 $as_echo_n "checking for _fmodf declaration... " >&6; }
31099 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31100 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31101 $as_echo_n "(cached) " >&6
31102 else
31105 ac_ext=cpp
31106 ac_cpp='$CXXCPP $CPPFLAGS'
31107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31112 /* end confdefs.h. */
31113 #include <math.h>
31115 main ()
31117 _fmodf(0, 0);
31119 return 0;
31121 _ACEOF
31122 if ac_fn_cxx_try_compile "$LINENO"; then :
31123 glibcxx_cv_func__fmodf_use=yes
31124 else
31125 glibcxx_cv_func__fmodf_use=no
31127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31128 ac_ext=c
31129 ac_cpp='$CPP $CPPFLAGS'
31130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31139 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31141 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31142 for ac_func in _fmodf
31143 do :
31144 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31145 if test "x$ac_cv_func__fmodf" = x""yes; then :
31146 cat >>confdefs.h <<_ACEOF
31147 #define HAVE__FMODF 1
31148 _ACEOF
31151 done
31160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31161 $as_echo_n "checking for frexpf declaration... " >&6; }
31162 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31163 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31164 $as_echo_n "(cached) " >&6
31165 else
31168 ac_ext=cpp
31169 ac_cpp='$CXXCPP $CPPFLAGS'
31170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31175 /* end confdefs.h. */
31176 #include <math.h>
31178 main ()
31180 frexpf(0, 0);
31182 return 0;
31184 _ACEOF
31185 if ac_fn_cxx_try_compile "$LINENO"; then :
31186 glibcxx_cv_func_frexpf_use=yes
31187 else
31188 glibcxx_cv_func_frexpf_use=no
31190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31191 ac_ext=c
31192 ac_cpp='$CPP $CPPFLAGS'
31193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31202 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31204 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31205 for ac_func in frexpf
31206 do :
31207 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31208 if test "x$ac_cv_func_frexpf" = x""yes; then :
31209 cat >>confdefs.h <<_ACEOF
31210 #define HAVE_FREXPF 1
31211 _ACEOF
31214 done
31216 else
31218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31219 $as_echo_n "checking for _frexpf declaration... " >&6; }
31220 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31221 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31222 $as_echo_n "(cached) " >&6
31223 else
31226 ac_ext=cpp
31227 ac_cpp='$CXXCPP $CPPFLAGS'
31228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31233 /* end confdefs.h. */
31234 #include <math.h>
31236 main ()
31238 _frexpf(0, 0);
31240 return 0;
31242 _ACEOF
31243 if ac_fn_cxx_try_compile "$LINENO"; then :
31244 glibcxx_cv_func__frexpf_use=yes
31245 else
31246 glibcxx_cv_func__frexpf_use=no
31248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31249 ac_ext=c
31250 ac_cpp='$CPP $CPPFLAGS'
31251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31260 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31262 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31263 for ac_func in _frexpf
31264 do :
31265 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31266 if test "x$ac_cv_func__frexpf" = x""yes; then :
31267 cat >>confdefs.h <<_ACEOF
31268 #define HAVE__FREXPF 1
31269 _ACEOF
31272 done
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31282 $as_echo_n "checking for hypotf declaration... " >&6; }
31283 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31284 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31285 $as_echo_n "(cached) " >&6
31286 else
31289 ac_ext=cpp
31290 ac_cpp='$CXXCPP $CPPFLAGS'
31291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31296 /* end confdefs.h. */
31297 #include <math.h>
31299 main ()
31301 hypotf(0, 0);
31303 return 0;
31305 _ACEOF
31306 if ac_fn_cxx_try_compile "$LINENO"; then :
31307 glibcxx_cv_func_hypotf_use=yes
31308 else
31309 glibcxx_cv_func_hypotf_use=no
31311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31312 ac_ext=c
31313 ac_cpp='$CPP $CPPFLAGS'
31314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31323 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31325 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31326 for ac_func in hypotf
31327 do :
31328 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31329 if test "x$ac_cv_func_hypotf" = x""yes; then :
31330 cat >>confdefs.h <<_ACEOF
31331 #define HAVE_HYPOTF 1
31332 _ACEOF
31335 done
31337 else
31339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31340 $as_echo_n "checking for _hypotf declaration... " >&6; }
31341 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31342 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31343 $as_echo_n "(cached) " >&6
31344 else
31347 ac_ext=cpp
31348 ac_cpp='$CXXCPP $CPPFLAGS'
31349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31354 /* end confdefs.h. */
31355 #include <math.h>
31357 main ()
31359 _hypotf(0, 0);
31361 return 0;
31363 _ACEOF
31364 if ac_fn_cxx_try_compile "$LINENO"; then :
31365 glibcxx_cv_func__hypotf_use=yes
31366 else
31367 glibcxx_cv_func__hypotf_use=no
31369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31370 ac_ext=c
31371 ac_cpp='$CPP $CPPFLAGS'
31372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31381 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31383 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31384 for ac_func in _hypotf
31385 do :
31386 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31387 if test "x$ac_cv_func__hypotf" = x""yes; then :
31388 cat >>confdefs.h <<_ACEOF
31389 #define HAVE__HYPOTF 1
31390 _ACEOF
31393 done
31402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31403 $as_echo_n "checking for ldexpf declaration... " >&6; }
31404 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31405 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31406 $as_echo_n "(cached) " >&6
31407 else
31410 ac_ext=cpp
31411 ac_cpp='$CXXCPP $CPPFLAGS'
31412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31417 /* end confdefs.h. */
31418 #include <math.h>
31420 main ()
31422 ldexpf(0, 0);
31424 return 0;
31426 _ACEOF
31427 if ac_fn_cxx_try_compile "$LINENO"; then :
31428 glibcxx_cv_func_ldexpf_use=yes
31429 else
31430 glibcxx_cv_func_ldexpf_use=no
31432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31433 ac_ext=c
31434 ac_cpp='$CPP $CPPFLAGS'
31435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31444 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31446 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31447 for ac_func in ldexpf
31448 do :
31449 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31450 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31451 cat >>confdefs.h <<_ACEOF
31452 #define HAVE_LDEXPF 1
31453 _ACEOF
31456 done
31458 else
31460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31461 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31462 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31463 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31464 $as_echo_n "(cached) " >&6
31465 else
31468 ac_ext=cpp
31469 ac_cpp='$CXXCPP $CPPFLAGS'
31470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31475 /* end confdefs.h. */
31476 #include <math.h>
31478 main ()
31480 _ldexpf(0, 0);
31482 return 0;
31484 _ACEOF
31485 if ac_fn_cxx_try_compile "$LINENO"; then :
31486 glibcxx_cv_func__ldexpf_use=yes
31487 else
31488 glibcxx_cv_func__ldexpf_use=no
31490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31491 ac_ext=c
31492 ac_cpp='$CPP $CPPFLAGS'
31493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31502 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31504 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31505 for ac_func in _ldexpf
31506 do :
31507 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31508 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31509 cat >>confdefs.h <<_ACEOF
31510 #define HAVE__LDEXPF 1
31511 _ACEOF
31514 done
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31524 $as_echo_n "checking for logf declaration... " >&6; }
31525 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31526 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31527 $as_echo_n "(cached) " >&6
31528 else
31531 ac_ext=cpp
31532 ac_cpp='$CXXCPP $CPPFLAGS'
31533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31538 /* end confdefs.h. */
31539 #include <math.h>
31540 #ifdef HAVE_IEEEFP_H
31541 #include <ieeefp.h>
31542 #endif
31545 main ()
31547 logf(0);
31549 return 0;
31551 _ACEOF
31552 if ac_fn_cxx_try_compile "$LINENO"; then :
31553 glibcxx_cv_func_logf_use=yes
31554 else
31555 glibcxx_cv_func_logf_use=no
31557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31558 ac_ext=c
31559 ac_cpp='$CPP $CPPFLAGS'
31560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31569 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31571 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31572 for ac_func in logf
31573 do :
31574 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31575 if test "x$ac_cv_func_logf" = x""yes; then :
31576 cat >>confdefs.h <<_ACEOF
31577 #define HAVE_LOGF 1
31578 _ACEOF
31581 done
31583 else
31585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31586 $as_echo_n "checking for _logf declaration... " >&6; }
31587 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31588 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31589 $as_echo_n "(cached) " >&6
31590 else
31593 ac_ext=cpp
31594 ac_cpp='$CXXCPP $CPPFLAGS'
31595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31600 /* end confdefs.h. */
31601 #include <math.h>
31602 #ifdef HAVE_IEEEFP_H
31603 #include <ieeefp.h>
31604 #endif
31607 main ()
31609 _logf(0);
31611 return 0;
31613 _ACEOF
31614 if ac_fn_cxx_try_compile "$LINENO"; then :
31615 glibcxx_cv_func__logf_use=yes
31616 else
31617 glibcxx_cv_func__logf_use=no
31619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31620 ac_ext=c
31621 ac_cpp='$CPP $CPPFLAGS'
31622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31631 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31633 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31634 for ac_func in _logf
31635 do :
31636 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31637 if test "x$ac_cv_func__logf" = x""yes; then :
31638 cat >>confdefs.h <<_ACEOF
31639 #define HAVE__LOGF 1
31640 _ACEOF
31643 done
31652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31653 $as_echo_n "checking for log10f declaration... " >&6; }
31654 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31655 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31656 $as_echo_n "(cached) " >&6
31657 else
31660 ac_ext=cpp
31661 ac_cpp='$CXXCPP $CPPFLAGS'
31662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31667 /* end confdefs.h. */
31668 #include <math.h>
31669 #ifdef HAVE_IEEEFP_H
31670 #include <ieeefp.h>
31671 #endif
31674 main ()
31676 log10f(0);
31678 return 0;
31680 _ACEOF
31681 if ac_fn_cxx_try_compile "$LINENO"; then :
31682 glibcxx_cv_func_log10f_use=yes
31683 else
31684 glibcxx_cv_func_log10f_use=no
31686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31687 ac_ext=c
31688 ac_cpp='$CPP $CPPFLAGS'
31689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31698 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31700 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31701 for ac_func in log10f
31702 do :
31703 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31704 if test "x$ac_cv_func_log10f" = x""yes; then :
31705 cat >>confdefs.h <<_ACEOF
31706 #define HAVE_LOG10F 1
31707 _ACEOF
31710 done
31712 else
31714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31715 $as_echo_n "checking for _log10f declaration... " >&6; }
31716 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31717 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31718 $as_echo_n "(cached) " >&6
31719 else
31722 ac_ext=cpp
31723 ac_cpp='$CXXCPP $CPPFLAGS'
31724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31729 /* end confdefs.h. */
31730 #include <math.h>
31731 #ifdef HAVE_IEEEFP_H
31732 #include <ieeefp.h>
31733 #endif
31736 main ()
31738 _log10f(0);
31740 return 0;
31742 _ACEOF
31743 if ac_fn_cxx_try_compile "$LINENO"; then :
31744 glibcxx_cv_func__log10f_use=yes
31745 else
31746 glibcxx_cv_func__log10f_use=no
31748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31749 ac_ext=c
31750 ac_cpp='$CPP $CPPFLAGS'
31751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31760 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31762 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31763 for ac_func in _log10f
31764 do :
31765 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31766 if test "x$ac_cv_func__log10f" = x""yes; then :
31767 cat >>confdefs.h <<_ACEOF
31768 #define HAVE__LOG10F 1
31769 _ACEOF
31772 done
31781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31782 $as_echo_n "checking for modff declaration... " >&6; }
31783 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31784 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31785 $as_echo_n "(cached) " >&6
31786 else
31789 ac_ext=cpp
31790 ac_cpp='$CXXCPP $CPPFLAGS'
31791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31796 /* end confdefs.h. */
31797 #include <math.h>
31799 main ()
31801 modff(0, 0);
31803 return 0;
31805 _ACEOF
31806 if ac_fn_cxx_try_compile "$LINENO"; then :
31807 glibcxx_cv_func_modff_use=yes
31808 else
31809 glibcxx_cv_func_modff_use=no
31811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31812 ac_ext=c
31813 ac_cpp='$CPP $CPPFLAGS'
31814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31823 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31825 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31826 for ac_func in modff
31827 do :
31828 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31829 if test "x$ac_cv_func_modff" = x""yes; then :
31830 cat >>confdefs.h <<_ACEOF
31831 #define HAVE_MODFF 1
31832 _ACEOF
31835 done
31837 else
31839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31840 $as_echo_n "checking for _modff declaration... " >&6; }
31841 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31842 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31843 $as_echo_n "(cached) " >&6
31844 else
31847 ac_ext=cpp
31848 ac_cpp='$CXXCPP $CPPFLAGS'
31849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31854 /* end confdefs.h. */
31855 #include <math.h>
31857 main ()
31859 _modff(0, 0);
31861 return 0;
31863 _ACEOF
31864 if ac_fn_cxx_try_compile "$LINENO"; then :
31865 glibcxx_cv_func__modff_use=yes
31866 else
31867 glibcxx_cv_func__modff_use=no
31869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31870 ac_ext=c
31871 ac_cpp='$CPP $CPPFLAGS'
31872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31881 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31883 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31884 for ac_func in _modff
31885 do :
31886 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31887 if test "x$ac_cv_func__modff" = x""yes; then :
31888 cat >>confdefs.h <<_ACEOF
31889 #define HAVE__MODFF 1
31890 _ACEOF
31893 done
31902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31903 $as_echo_n "checking for modf declaration... " >&6; }
31904 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31905 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31906 $as_echo_n "(cached) " >&6
31907 else
31910 ac_ext=cpp
31911 ac_cpp='$CXXCPP $CPPFLAGS'
31912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31917 /* end confdefs.h. */
31918 #include <math.h>
31920 main ()
31922 modf(0, 0);
31924 return 0;
31926 _ACEOF
31927 if ac_fn_cxx_try_compile "$LINENO"; then :
31928 glibcxx_cv_func_modf_use=yes
31929 else
31930 glibcxx_cv_func_modf_use=no
31932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31933 ac_ext=c
31934 ac_cpp='$CPP $CPPFLAGS'
31935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31944 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31946 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31947 for ac_func in modf
31948 do :
31949 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31950 if test "x$ac_cv_func_modf" = x""yes; then :
31951 cat >>confdefs.h <<_ACEOF
31952 #define HAVE_MODF 1
31953 _ACEOF
31956 done
31958 else
31960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31961 $as_echo_n "checking for _modf declaration... " >&6; }
31962 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31963 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31964 $as_echo_n "(cached) " >&6
31965 else
31968 ac_ext=cpp
31969 ac_cpp='$CXXCPP $CPPFLAGS'
31970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31975 /* end confdefs.h. */
31976 #include <math.h>
31978 main ()
31980 _modf(0, 0);
31982 return 0;
31984 _ACEOF
31985 if ac_fn_cxx_try_compile "$LINENO"; then :
31986 glibcxx_cv_func__modf_use=yes
31987 else
31988 glibcxx_cv_func__modf_use=no
31990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31991 ac_ext=c
31992 ac_cpp='$CPP $CPPFLAGS'
31993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32002 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32004 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32005 for ac_func in _modf
32006 do :
32007 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32008 if test "x$ac_cv_func__modf" = x""yes; then :
32009 cat >>confdefs.h <<_ACEOF
32010 #define HAVE__MODF 1
32011 _ACEOF
32014 done
32023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32024 $as_echo_n "checking for powf declaration... " >&6; }
32025 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32026 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32027 $as_echo_n "(cached) " >&6
32028 else
32031 ac_ext=cpp
32032 ac_cpp='$CXXCPP $CPPFLAGS'
32033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32038 /* end confdefs.h. */
32039 #include <math.h>
32041 main ()
32043 powf(0, 0);
32045 return 0;
32047 _ACEOF
32048 if ac_fn_cxx_try_compile "$LINENO"; then :
32049 glibcxx_cv_func_powf_use=yes
32050 else
32051 glibcxx_cv_func_powf_use=no
32053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32054 ac_ext=c
32055 ac_cpp='$CPP $CPPFLAGS'
32056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32065 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32067 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32068 for ac_func in powf
32069 do :
32070 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32071 if test "x$ac_cv_func_powf" = x""yes; then :
32072 cat >>confdefs.h <<_ACEOF
32073 #define HAVE_POWF 1
32074 _ACEOF
32077 done
32079 else
32081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32082 $as_echo_n "checking for _powf declaration... " >&6; }
32083 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32084 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32085 $as_echo_n "(cached) " >&6
32086 else
32089 ac_ext=cpp
32090 ac_cpp='$CXXCPP $CPPFLAGS'
32091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32096 /* end confdefs.h. */
32097 #include <math.h>
32099 main ()
32101 _powf(0, 0);
32103 return 0;
32105 _ACEOF
32106 if ac_fn_cxx_try_compile "$LINENO"; then :
32107 glibcxx_cv_func__powf_use=yes
32108 else
32109 glibcxx_cv_func__powf_use=no
32111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32112 ac_ext=c
32113 ac_cpp='$CPP $CPPFLAGS'
32114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32123 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32125 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32126 for ac_func in _powf
32127 do :
32128 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32129 if test "x$ac_cv_func__powf" = x""yes; then :
32130 cat >>confdefs.h <<_ACEOF
32131 #define HAVE__POWF 1
32132 _ACEOF
32135 done
32144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32145 $as_echo_n "checking for sqrtf declaration... " >&6; }
32146 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32147 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32148 $as_echo_n "(cached) " >&6
32149 else
32152 ac_ext=cpp
32153 ac_cpp='$CXXCPP $CPPFLAGS'
32154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32159 /* end confdefs.h. */
32160 #include <math.h>
32161 #ifdef HAVE_IEEEFP_H
32162 #include <ieeefp.h>
32163 #endif
32166 main ()
32168 sqrtf(0);
32170 return 0;
32172 _ACEOF
32173 if ac_fn_cxx_try_compile "$LINENO"; then :
32174 glibcxx_cv_func_sqrtf_use=yes
32175 else
32176 glibcxx_cv_func_sqrtf_use=no
32178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32179 ac_ext=c
32180 ac_cpp='$CPP $CPPFLAGS'
32181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32190 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32192 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32193 for ac_func in sqrtf
32194 do :
32195 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32196 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32197 cat >>confdefs.h <<_ACEOF
32198 #define HAVE_SQRTF 1
32199 _ACEOF
32202 done
32204 else
32206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32207 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32208 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32209 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32210 $as_echo_n "(cached) " >&6
32211 else
32214 ac_ext=cpp
32215 ac_cpp='$CXXCPP $CPPFLAGS'
32216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32221 /* end confdefs.h. */
32222 #include <math.h>
32223 #ifdef HAVE_IEEEFP_H
32224 #include <ieeefp.h>
32225 #endif
32228 main ()
32230 _sqrtf(0);
32232 return 0;
32234 _ACEOF
32235 if ac_fn_cxx_try_compile "$LINENO"; then :
32236 glibcxx_cv_func__sqrtf_use=yes
32237 else
32238 glibcxx_cv_func__sqrtf_use=no
32240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32241 ac_ext=c
32242 ac_cpp='$CPP $CPPFLAGS'
32243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32252 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32254 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32255 for ac_func in _sqrtf
32256 do :
32257 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32258 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32259 cat >>confdefs.h <<_ACEOF
32260 #define HAVE__SQRTF 1
32261 _ACEOF
32264 done
32273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32274 $as_echo_n "checking for sincosf declaration... " >&6; }
32275 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32276 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32277 $as_echo_n "(cached) " >&6
32278 else
32281 ac_ext=cpp
32282 ac_cpp='$CXXCPP $CPPFLAGS'
32283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32288 /* end confdefs.h. */
32289 #include <math.h>
32291 main ()
32293 sincosf(0, 0, 0);
32295 return 0;
32297 _ACEOF
32298 if ac_fn_cxx_try_compile "$LINENO"; then :
32299 glibcxx_cv_func_sincosf_use=yes
32300 else
32301 glibcxx_cv_func_sincosf_use=no
32303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32304 ac_ext=c
32305 ac_cpp='$CPP $CPPFLAGS'
32306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32315 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32317 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32318 for ac_func in sincosf
32319 do :
32320 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32321 if test "x$ac_cv_func_sincosf" = x""yes; then :
32322 cat >>confdefs.h <<_ACEOF
32323 #define HAVE_SINCOSF 1
32324 _ACEOF
32327 done
32329 else
32331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32332 $as_echo_n "checking for _sincosf declaration... " >&6; }
32333 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32334 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32335 $as_echo_n "(cached) " >&6
32336 else
32339 ac_ext=cpp
32340 ac_cpp='$CXXCPP $CPPFLAGS'
32341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32346 /* end confdefs.h. */
32347 #include <math.h>
32349 main ()
32351 _sincosf(0, 0, 0);
32353 return 0;
32355 _ACEOF
32356 if ac_fn_cxx_try_compile "$LINENO"; then :
32357 glibcxx_cv_func__sincosf_use=yes
32358 else
32359 glibcxx_cv_func__sincosf_use=no
32361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32362 ac_ext=c
32363 ac_cpp='$CPP $CPPFLAGS'
32364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32373 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32375 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32376 for ac_func in _sincosf
32377 do :
32378 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32379 if test "x$ac_cv_func__sincosf" = x""yes; then :
32380 cat >>confdefs.h <<_ACEOF
32381 #define HAVE__SINCOSF 1
32382 _ACEOF
32385 done
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32395 $as_echo_n "checking for finitef declaration... " >&6; }
32396 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32397 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32398 $as_echo_n "(cached) " >&6
32399 else
32402 ac_ext=cpp
32403 ac_cpp='$CXXCPP $CPPFLAGS'
32404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32409 /* end confdefs.h. */
32410 #include <math.h>
32411 #ifdef HAVE_IEEEFP_H
32412 #include <ieeefp.h>
32413 #endif
32416 main ()
32418 finitef(0);
32420 return 0;
32422 _ACEOF
32423 if ac_fn_cxx_try_compile "$LINENO"; then :
32424 glibcxx_cv_func_finitef_use=yes
32425 else
32426 glibcxx_cv_func_finitef_use=no
32428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32429 ac_ext=c
32430 ac_cpp='$CPP $CPPFLAGS'
32431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32440 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32442 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32443 for ac_func in finitef
32444 do :
32445 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32446 if test "x$ac_cv_func_finitef" = x""yes; then :
32447 cat >>confdefs.h <<_ACEOF
32448 #define HAVE_FINITEF 1
32449 _ACEOF
32452 done
32454 else
32456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32457 $as_echo_n "checking for _finitef declaration... " >&6; }
32458 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32459 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32460 $as_echo_n "(cached) " >&6
32461 else
32464 ac_ext=cpp
32465 ac_cpp='$CXXCPP $CPPFLAGS'
32466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32471 /* end confdefs.h. */
32472 #include <math.h>
32473 #ifdef HAVE_IEEEFP_H
32474 #include <ieeefp.h>
32475 #endif
32478 main ()
32480 _finitef(0);
32482 return 0;
32484 _ACEOF
32485 if ac_fn_cxx_try_compile "$LINENO"; then :
32486 glibcxx_cv_func__finitef_use=yes
32487 else
32488 glibcxx_cv_func__finitef_use=no
32490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32491 ac_ext=c
32492 ac_cpp='$CPP $CPPFLAGS'
32493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32502 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32504 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32505 for ac_func in _finitef
32506 do :
32507 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32508 if test "x$ac_cv_func__finitef" = x""yes; then :
32509 cat >>confdefs.h <<_ACEOF
32510 #define HAVE__FINITEF 1
32511 _ACEOF
32514 done
32523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32524 $as_echo_n "checking for long double trig functions... " >&6; }
32525 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32526 $as_echo_n "(cached) " >&6
32527 else
32530 ac_ext=cpp
32531 ac_cpp='$CXXCPP $CPPFLAGS'
32532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32537 /* end confdefs.h. */
32538 #include <math.h>
32540 main ()
32542 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32544 return 0;
32546 _ACEOF
32547 if ac_fn_cxx_try_compile "$LINENO"; then :
32548 glibcxx_cv_func_long_double_trig_use=yes
32549 else
32550 glibcxx_cv_func_long_double_trig_use=no
32552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32553 ac_ext=c
32554 ac_cpp='$CPP $CPPFLAGS'
32555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32562 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32563 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32564 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32565 do :
32566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32568 eval as_val=\$$as_ac_var
32569 if test "x$as_val" = x""yes; then :
32570 cat >>confdefs.h <<_ACEOF
32571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32572 _ACEOF
32575 done
32577 else
32578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32579 $as_echo_n "checking for _long double trig functions... " >&6; }
32580 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32581 $as_echo_n "(cached) " >&6
32582 else
32585 ac_ext=cpp
32586 ac_cpp='$CXXCPP $CPPFLAGS'
32587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32592 /* end confdefs.h. */
32593 #include <math.h>
32595 main ()
32597 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32599 return 0;
32601 _ACEOF
32602 if ac_fn_cxx_try_compile "$LINENO"; then :
32603 glibcxx_cv_func__long_double_trig_use=yes
32604 else
32605 glibcxx_cv_func__long_double_trig_use=no
32607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32608 ac_ext=c
32609 ac_cpp='$CPP $CPPFLAGS'
32610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32617 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32618 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32619 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32620 do :
32621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32623 eval as_val=\$$as_ac_var
32624 if test "x$as_val" = x""yes; then :
32625 cat >>confdefs.h <<_ACEOF
32626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32627 _ACEOF
32630 done
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32640 $as_echo_n "checking for long double round functions... " >&6; }
32641 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32642 $as_echo_n "(cached) " >&6
32643 else
32646 ac_ext=cpp
32647 ac_cpp='$CXXCPP $CPPFLAGS'
32648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32653 /* end confdefs.h. */
32654 #include <math.h>
32656 main ()
32658 ceill (0); floorl (0);
32660 return 0;
32662 _ACEOF
32663 if ac_fn_cxx_try_compile "$LINENO"; then :
32664 glibcxx_cv_func_long_double_round_use=yes
32665 else
32666 glibcxx_cv_func_long_double_round_use=no
32668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32669 ac_ext=c
32670 ac_cpp='$CPP $CPPFLAGS'
32671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32678 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32679 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32680 for ac_func in ceill floorl
32681 do :
32682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32684 eval as_val=\$$as_ac_var
32685 if test "x$as_val" = x""yes; then :
32686 cat >>confdefs.h <<_ACEOF
32687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32688 _ACEOF
32691 done
32693 else
32694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32695 $as_echo_n "checking for _long double round functions... " >&6; }
32696 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32697 $as_echo_n "(cached) " >&6
32698 else
32701 ac_ext=cpp
32702 ac_cpp='$CXXCPP $CPPFLAGS'
32703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32708 /* end confdefs.h. */
32709 #include <math.h>
32711 main ()
32713 _ceill (0); _floorl (0);
32715 return 0;
32717 _ACEOF
32718 if ac_fn_cxx_try_compile "$LINENO"; then :
32719 glibcxx_cv_func__long_double_round_use=yes
32720 else
32721 glibcxx_cv_func__long_double_round_use=no
32723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32724 ac_ext=c
32725 ac_cpp='$CPP $CPPFLAGS'
32726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32733 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32734 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32735 for ac_func in _ceill _floorl
32736 do :
32737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32739 eval as_val=\$$as_ac_var
32740 if test "x$as_val" = x""yes; then :
32741 cat >>confdefs.h <<_ACEOF
32742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32743 _ACEOF
32746 done
32756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32757 $as_echo_n "checking for isnanl declaration... " >&6; }
32758 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32759 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32760 $as_echo_n "(cached) " >&6
32761 else
32764 ac_ext=cpp
32765 ac_cpp='$CXXCPP $CPPFLAGS'
32766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32771 /* end confdefs.h. */
32772 #include <math.h>
32773 #ifdef HAVE_IEEEFP_H
32774 #include <ieeefp.h>
32775 #endif
32778 main ()
32780 isnanl(0);
32782 return 0;
32784 _ACEOF
32785 if ac_fn_cxx_try_compile "$LINENO"; then :
32786 glibcxx_cv_func_isnanl_use=yes
32787 else
32788 glibcxx_cv_func_isnanl_use=no
32790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32791 ac_ext=c
32792 ac_cpp='$CPP $CPPFLAGS'
32793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32802 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32804 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32805 for ac_func in isnanl
32806 do :
32807 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32808 if test "x$ac_cv_func_isnanl" = x""yes; then :
32809 cat >>confdefs.h <<_ACEOF
32810 #define HAVE_ISNANL 1
32811 _ACEOF
32814 done
32816 else
32818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32819 $as_echo_n "checking for _isnanl declaration... " >&6; }
32820 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32821 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32822 $as_echo_n "(cached) " >&6
32823 else
32826 ac_ext=cpp
32827 ac_cpp='$CXXCPP $CPPFLAGS'
32828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32833 /* end confdefs.h. */
32834 #include <math.h>
32835 #ifdef HAVE_IEEEFP_H
32836 #include <ieeefp.h>
32837 #endif
32840 main ()
32842 _isnanl(0);
32844 return 0;
32846 _ACEOF
32847 if ac_fn_cxx_try_compile "$LINENO"; then :
32848 glibcxx_cv_func__isnanl_use=yes
32849 else
32850 glibcxx_cv_func__isnanl_use=no
32852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32853 ac_ext=c
32854 ac_cpp='$CPP $CPPFLAGS'
32855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32864 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32866 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32867 for ac_func in _isnanl
32868 do :
32869 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32870 if test "x$ac_cv_func__isnanl" = x""yes; then :
32871 cat >>confdefs.h <<_ACEOF
32872 #define HAVE__ISNANL 1
32873 _ACEOF
32876 done
32885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32886 $as_echo_n "checking for isinfl declaration... " >&6; }
32887 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32888 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32889 $as_echo_n "(cached) " >&6
32890 else
32893 ac_ext=cpp
32894 ac_cpp='$CXXCPP $CPPFLAGS'
32895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32900 /* end confdefs.h. */
32901 #include <math.h>
32902 #ifdef HAVE_IEEEFP_H
32903 #include <ieeefp.h>
32904 #endif
32907 main ()
32909 isinfl(0);
32911 return 0;
32913 _ACEOF
32914 if ac_fn_cxx_try_compile "$LINENO"; then :
32915 glibcxx_cv_func_isinfl_use=yes
32916 else
32917 glibcxx_cv_func_isinfl_use=no
32919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32920 ac_ext=c
32921 ac_cpp='$CPP $CPPFLAGS'
32922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32931 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32933 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32934 for ac_func in isinfl
32935 do :
32936 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32937 if test "x$ac_cv_func_isinfl" = x""yes; then :
32938 cat >>confdefs.h <<_ACEOF
32939 #define HAVE_ISINFL 1
32940 _ACEOF
32943 done
32945 else
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32948 $as_echo_n "checking for _isinfl declaration... " >&6; }
32949 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32950 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32951 $as_echo_n "(cached) " >&6
32952 else
32955 ac_ext=cpp
32956 ac_cpp='$CXXCPP $CPPFLAGS'
32957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32962 /* end confdefs.h. */
32963 #include <math.h>
32964 #ifdef HAVE_IEEEFP_H
32965 #include <ieeefp.h>
32966 #endif
32969 main ()
32971 _isinfl(0);
32973 return 0;
32975 _ACEOF
32976 if ac_fn_cxx_try_compile "$LINENO"; then :
32977 glibcxx_cv_func__isinfl_use=yes
32978 else
32979 glibcxx_cv_func__isinfl_use=no
32981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32982 ac_ext=c
32983 ac_cpp='$CPP $CPPFLAGS'
32984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32993 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32995 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32996 for ac_func in _isinfl
32997 do :
32998 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32999 if test "x$ac_cv_func__isinfl" = x""yes; then :
33000 cat >>confdefs.h <<_ACEOF
33001 #define HAVE__ISINFL 1
33002 _ACEOF
33005 done
33014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33015 $as_echo_n "checking for atan2l declaration... " >&6; }
33016 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33017 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33018 $as_echo_n "(cached) " >&6
33019 else
33022 ac_ext=cpp
33023 ac_cpp='$CXXCPP $CPPFLAGS'
33024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029 /* end confdefs.h. */
33030 #include <math.h>
33032 main ()
33034 atan2l(0, 0);
33036 return 0;
33038 _ACEOF
33039 if ac_fn_cxx_try_compile "$LINENO"; then :
33040 glibcxx_cv_func_atan2l_use=yes
33041 else
33042 glibcxx_cv_func_atan2l_use=no
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33045 ac_ext=c
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33056 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33058 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33059 for ac_func in atan2l
33060 do :
33061 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33062 if test "x$ac_cv_func_atan2l" = x""yes; then :
33063 cat >>confdefs.h <<_ACEOF
33064 #define HAVE_ATAN2L 1
33065 _ACEOF
33068 done
33070 else
33072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33073 $as_echo_n "checking for _atan2l declaration... " >&6; }
33074 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33075 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33076 $as_echo_n "(cached) " >&6
33077 else
33080 ac_ext=cpp
33081 ac_cpp='$CXXCPP $CPPFLAGS'
33082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33087 /* end confdefs.h. */
33088 #include <math.h>
33090 main ()
33092 _atan2l(0, 0);
33094 return 0;
33096 _ACEOF
33097 if ac_fn_cxx_try_compile "$LINENO"; then :
33098 glibcxx_cv_func__atan2l_use=yes
33099 else
33100 glibcxx_cv_func__atan2l_use=no
33102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33103 ac_ext=c
33104 ac_cpp='$CPP $CPPFLAGS'
33105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33114 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33116 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33117 for ac_func in _atan2l
33118 do :
33119 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33120 if test "x$ac_cv_func__atan2l" = x""yes; then :
33121 cat >>confdefs.h <<_ACEOF
33122 #define HAVE__ATAN2L 1
33123 _ACEOF
33126 done
33135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33136 $as_echo_n "checking for expl declaration... " >&6; }
33137 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33138 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33139 $as_echo_n "(cached) " >&6
33140 else
33143 ac_ext=cpp
33144 ac_cpp='$CXXCPP $CPPFLAGS'
33145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33150 /* end confdefs.h. */
33151 #include <math.h>
33152 #ifdef HAVE_IEEEFP_H
33153 #include <ieeefp.h>
33154 #endif
33157 main ()
33159 expl(0);
33161 return 0;
33163 _ACEOF
33164 if ac_fn_cxx_try_compile "$LINENO"; then :
33165 glibcxx_cv_func_expl_use=yes
33166 else
33167 glibcxx_cv_func_expl_use=no
33169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33170 ac_ext=c
33171 ac_cpp='$CPP $CPPFLAGS'
33172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33181 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33183 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33184 for ac_func in expl
33185 do :
33186 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33187 if test "x$ac_cv_func_expl" = x""yes; then :
33188 cat >>confdefs.h <<_ACEOF
33189 #define HAVE_EXPL 1
33190 _ACEOF
33193 done
33195 else
33197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33198 $as_echo_n "checking for _expl declaration... " >&6; }
33199 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33200 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33201 $as_echo_n "(cached) " >&6
33202 else
33205 ac_ext=cpp
33206 ac_cpp='$CXXCPP $CPPFLAGS'
33207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33212 /* end confdefs.h. */
33213 #include <math.h>
33214 #ifdef HAVE_IEEEFP_H
33215 #include <ieeefp.h>
33216 #endif
33219 main ()
33221 _expl(0);
33223 return 0;
33225 _ACEOF
33226 if ac_fn_cxx_try_compile "$LINENO"; then :
33227 glibcxx_cv_func__expl_use=yes
33228 else
33229 glibcxx_cv_func__expl_use=no
33231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33232 ac_ext=c
33233 ac_cpp='$CPP $CPPFLAGS'
33234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33243 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33245 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33246 for ac_func in _expl
33247 do :
33248 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33249 if test "x$ac_cv_func__expl" = x""yes; then :
33250 cat >>confdefs.h <<_ACEOF
33251 #define HAVE__EXPL 1
33252 _ACEOF
33255 done
33264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33265 $as_echo_n "checking for fabsl declaration... " >&6; }
33266 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33267 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33268 $as_echo_n "(cached) " >&6
33269 else
33272 ac_ext=cpp
33273 ac_cpp='$CXXCPP $CPPFLAGS'
33274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33279 /* end confdefs.h. */
33280 #include <math.h>
33281 #ifdef HAVE_IEEEFP_H
33282 #include <ieeefp.h>
33283 #endif
33286 main ()
33288 fabsl(0);
33290 return 0;
33292 _ACEOF
33293 if ac_fn_cxx_try_compile "$LINENO"; then :
33294 glibcxx_cv_func_fabsl_use=yes
33295 else
33296 glibcxx_cv_func_fabsl_use=no
33298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33299 ac_ext=c
33300 ac_cpp='$CPP $CPPFLAGS'
33301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33310 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33312 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33313 for ac_func in fabsl
33314 do :
33315 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33316 if test "x$ac_cv_func_fabsl" = x""yes; then :
33317 cat >>confdefs.h <<_ACEOF
33318 #define HAVE_FABSL 1
33319 _ACEOF
33322 done
33324 else
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33327 $as_echo_n "checking for _fabsl declaration... " >&6; }
33328 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33329 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33330 $as_echo_n "(cached) " >&6
33331 else
33334 ac_ext=cpp
33335 ac_cpp='$CXXCPP $CPPFLAGS'
33336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33341 /* end confdefs.h. */
33342 #include <math.h>
33343 #ifdef HAVE_IEEEFP_H
33344 #include <ieeefp.h>
33345 #endif
33348 main ()
33350 _fabsl(0);
33352 return 0;
33354 _ACEOF
33355 if ac_fn_cxx_try_compile "$LINENO"; then :
33356 glibcxx_cv_func__fabsl_use=yes
33357 else
33358 glibcxx_cv_func__fabsl_use=no
33360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33361 ac_ext=c
33362 ac_cpp='$CPP $CPPFLAGS'
33363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33372 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33374 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33375 for ac_func in _fabsl
33376 do :
33377 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33378 if test "x$ac_cv_func__fabsl" = x""yes; then :
33379 cat >>confdefs.h <<_ACEOF
33380 #define HAVE__FABSL 1
33381 _ACEOF
33384 done
33393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33394 $as_echo_n "checking for fmodl declaration... " >&6; }
33395 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33396 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33397 $as_echo_n "(cached) " >&6
33398 else
33401 ac_ext=cpp
33402 ac_cpp='$CXXCPP $CPPFLAGS'
33403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33408 /* end confdefs.h. */
33409 #include <math.h>
33411 main ()
33413 fmodl(0, 0);
33415 return 0;
33417 _ACEOF
33418 if ac_fn_cxx_try_compile "$LINENO"; then :
33419 glibcxx_cv_func_fmodl_use=yes
33420 else
33421 glibcxx_cv_func_fmodl_use=no
33423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33424 ac_ext=c
33425 ac_cpp='$CPP $CPPFLAGS'
33426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33435 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33437 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33438 for ac_func in fmodl
33439 do :
33440 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33441 if test "x$ac_cv_func_fmodl" = x""yes; then :
33442 cat >>confdefs.h <<_ACEOF
33443 #define HAVE_FMODL 1
33444 _ACEOF
33447 done
33449 else
33451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33452 $as_echo_n "checking for _fmodl declaration... " >&6; }
33453 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33454 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33455 $as_echo_n "(cached) " >&6
33456 else
33459 ac_ext=cpp
33460 ac_cpp='$CXXCPP $CPPFLAGS'
33461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33466 /* end confdefs.h. */
33467 #include <math.h>
33469 main ()
33471 _fmodl(0, 0);
33473 return 0;
33475 _ACEOF
33476 if ac_fn_cxx_try_compile "$LINENO"; then :
33477 glibcxx_cv_func__fmodl_use=yes
33478 else
33479 glibcxx_cv_func__fmodl_use=no
33481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33482 ac_ext=c
33483 ac_cpp='$CPP $CPPFLAGS'
33484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33493 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33495 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33496 for ac_func in _fmodl
33497 do :
33498 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33499 if test "x$ac_cv_func__fmodl" = x""yes; then :
33500 cat >>confdefs.h <<_ACEOF
33501 #define HAVE__FMODL 1
33502 _ACEOF
33505 done
33514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33515 $as_echo_n "checking for frexpl declaration... " >&6; }
33516 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33517 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33518 $as_echo_n "(cached) " >&6
33519 else
33522 ac_ext=cpp
33523 ac_cpp='$CXXCPP $CPPFLAGS'
33524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33529 /* end confdefs.h. */
33530 #include <math.h>
33532 main ()
33534 frexpl(0, 0);
33536 return 0;
33538 _ACEOF
33539 if ac_fn_cxx_try_compile "$LINENO"; then :
33540 glibcxx_cv_func_frexpl_use=yes
33541 else
33542 glibcxx_cv_func_frexpl_use=no
33544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33545 ac_ext=c
33546 ac_cpp='$CPP $CPPFLAGS'
33547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33556 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33558 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33559 for ac_func in frexpl
33560 do :
33561 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33562 if test "x$ac_cv_func_frexpl" = x""yes; then :
33563 cat >>confdefs.h <<_ACEOF
33564 #define HAVE_FREXPL 1
33565 _ACEOF
33568 done
33570 else
33572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33573 $as_echo_n "checking for _frexpl declaration... " >&6; }
33574 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33575 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33576 $as_echo_n "(cached) " >&6
33577 else
33580 ac_ext=cpp
33581 ac_cpp='$CXXCPP $CPPFLAGS'
33582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33587 /* end confdefs.h. */
33588 #include <math.h>
33590 main ()
33592 _frexpl(0, 0);
33594 return 0;
33596 _ACEOF
33597 if ac_fn_cxx_try_compile "$LINENO"; then :
33598 glibcxx_cv_func__frexpl_use=yes
33599 else
33600 glibcxx_cv_func__frexpl_use=no
33602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33603 ac_ext=c
33604 ac_cpp='$CPP $CPPFLAGS'
33605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33614 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33616 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33617 for ac_func in _frexpl
33618 do :
33619 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33620 if test "x$ac_cv_func__frexpl" = x""yes; then :
33621 cat >>confdefs.h <<_ACEOF
33622 #define HAVE__FREXPL 1
33623 _ACEOF
33626 done
33635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33636 $as_echo_n "checking for hypotl declaration... " >&6; }
33637 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33638 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33639 $as_echo_n "(cached) " >&6
33640 else
33643 ac_ext=cpp
33644 ac_cpp='$CXXCPP $CPPFLAGS'
33645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33650 /* end confdefs.h. */
33651 #include <math.h>
33653 main ()
33655 hypotl(0, 0);
33657 return 0;
33659 _ACEOF
33660 if ac_fn_cxx_try_compile "$LINENO"; then :
33661 glibcxx_cv_func_hypotl_use=yes
33662 else
33663 glibcxx_cv_func_hypotl_use=no
33665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33666 ac_ext=c
33667 ac_cpp='$CPP $CPPFLAGS'
33668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33677 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33679 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33680 for ac_func in hypotl
33681 do :
33682 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33683 if test "x$ac_cv_func_hypotl" = x""yes; then :
33684 cat >>confdefs.h <<_ACEOF
33685 #define HAVE_HYPOTL 1
33686 _ACEOF
33689 done
33691 else
33693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33694 $as_echo_n "checking for _hypotl declaration... " >&6; }
33695 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33696 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33697 $as_echo_n "(cached) " >&6
33698 else
33701 ac_ext=cpp
33702 ac_cpp='$CXXCPP $CPPFLAGS'
33703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33708 /* end confdefs.h. */
33709 #include <math.h>
33711 main ()
33713 _hypotl(0, 0);
33715 return 0;
33717 _ACEOF
33718 if ac_fn_cxx_try_compile "$LINENO"; then :
33719 glibcxx_cv_func__hypotl_use=yes
33720 else
33721 glibcxx_cv_func__hypotl_use=no
33723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33724 ac_ext=c
33725 ac_cpp='$CPP $CPPFLAGS'
33726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33735 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33737 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33738 for ac_func in _hypotl
33739 do :
33740 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33741 if test "x$ac_cv_func__hypotl" = x""yes; then :
33742 cat >>confdefs.h <<_ACEOF
33743 #define HAVE__HYPOTL 1
33744 _ACEOF
33747 done
33756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33757 $as_echo_n "checking for ldexpl declaration... " >&6; }
33758 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33759 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33760 $as_echo_n "(cached) " >&6
33761 else
33764 ac_ext=cpp
33765 ac_cpp='$CXXCPP $CPPFLAGS'
33766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33771 /* end confdefs.h. */
33772 #include <math.h>
33774 main ()
33776 ldexpl(0, 0);
33778 return 0;
33780 _ACEOF
33781 if ac_fn_cxx_try_compile "$LINENO"; then :
33782 glibcxx_cv_func_ldexpl_use=yes
33783 else
33784 glibcxx_cv_func_ldexpl_use=no
33786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33787 ac_ext=c
33788 ac_cpp='$CPP $CPPFLAGS'
33789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33798 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33800 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33801 for ac_func in ldexpl
33802 do :
33803 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33804 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33805 cat >>confdefs.h <<_ACEOF
33806 #define HAVE_LDEXPL 1
33807 _ACEOF
33810 done
33812 else
33814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33815 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33816 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33817 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33818 $as_echo_n "(cached) " >&6
33819 else
33822 ac_ext=cpp
33823 ac_cpp='$CXXCPP $CPPFLAGS'
33824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33829 /* end confdefs.h. */
33830 #include <math.h>
33832 main ()
33834 _ldexpl(0, 0);
33836 return 0;
33838 _ACEOF
33839 if ac_fn_cxx_try_compile "$LINENO"; then :
33840 glibcxx_cv_func__ldexpl_use=yes
33841 else
33842 glibcxx_cv_func__ldexpl_use=no
33844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33845 ac_ext=c
33846 ac_cpp='$CPP $CPPFLAGS'
33847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33856 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33858 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33859 for ac_func in _ldexpl
33860 do :
33861 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33862 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33863 cat >>confdefs.h <<_ACEOF
33864 #define HAVE__LDEXPL 1
33865 _ACEOF
33868 done
33877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33878 $as_echo_n "checking for logl declaration... " >&6; }
33879 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33880 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33881 $as_echo_n "(cached) " >&6
33882 else
33885 ac_ext=cpp
33886 ac_cpp='$CXXCPP $CPPFLAGS'
33887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33892 /* end confdefs.h. */
33893 #include <math.h>
33894 #ifdef HAVE_IEEEFP_H
33895 #include <ieeefp.h>
33896 #endif
33899 main ()
33901 logl(0);
33903 return 0;
33905 _ACEOF
33906 if ac_fn_cxx_try_compile "$LINENO"; then :
33907 glibcxx_cv_func_logl_use=yes
33908 else
33909 glibcxx_cv_func_logl_use=no
33911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33912 ac_ext=c
33913 ac_cpp='$CPP $CPPFLAGS'
33914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33923 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33925 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33926 for ac_func in logl
33927 do :
33928 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33929 if test "x$ac_cv_func_logl" = x""yes; then :
33930 cat >>confdefs.h <<_ACEOF
33931 #define HAVE_LOGL 1
33932 _ACEOF
33935 done
33937 else
33939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33940 $as_echo_n "checking for _logl declaration... " >&6; }
33941 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33942 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33943 $as_echo_n "(cached) " >&6
33944 else
33947 ac_ext=cpp
33948 ac_cpp='$CXXCPP $CPPFLAGS'
33949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33954 /* end confdefs.h. */
33955 #include <math.h>
33956 #ifdef HAVE_IEEEFP_H
33957 #include <ieeefp.h>
33958 #endif
33961 main ()
33963 _logl(0);
33965 return 0;
33967 _ACEOF
33968 if ac_fn_cxx_try_compile "$LINENO"; then :
33969 glibcxx_cv_func__logl_use=yes
33970 else
33971 glibcxx_cv_func__logl_use=no
33973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33974 ac_ext=c
33975 ac_cpp='$CPP $CPPFLAGS'
33976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33985 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33987 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33988 for ac_func in _logl
33989 do :
33990 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33991 if test "x$ac_cv_func__logl" = x""yes; then :
33992 cat >>confdefs.h <<_ACEOF
33993 #define HAVE__LOGL 1
33994 _ACEOF
33997 done
34006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34007 $as_echo_n "checking for log10l declaration... " >&6; }
34008 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34009 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34010 $as_echo_n "(cached) " >&6
34011 else
34014 ac_ext=cpp
34015 ac_cpp='$CXXCPP $CPPFLAGS'
34016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34021 /* end confdefs.h. */
34022 #include <math.h>
34023 #ifdef HAVE_IEEEFP_H
34024 #include <ieeefp.h>
34025 #endif
34028 main ()
34030 log10l(0);
34032 return 0;
34034 _ACEOF
34035 if ac_fn_cxx_try_compile "$LINENO"; then :
34036 glibcxx_cv_func_log10l_use=yes
34037 else
34038 glibcxx_cv_func_log10l_use=no
34040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34041 ac_ext=c
34042 ac_cpp='$CPP $CPPFLAGS'
34043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34052 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34054 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34055 for ac_func in log10l
34056 do :
34057 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34058 if test "x$ac_cv_func_log10l" = x""yes; then :
34059 cat >>confdefs.h <<_ACEOF
34060 #define HAVE_LOG10L 1
34061 _ACEOF
34064 done
34066 else
34068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34069 $as_echo_n "checking for _log10l declaration... " >&6; }
34070 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34071 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34072 $as_echo_n "(cached) " >&6
34073 else
34076 ac_ext=cpp
34077 ac_cpp='$CXXCPP $CPPFLAGS'
34078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34083 /* end confdefs.h. */
34084 #include <math.h>
34085 #ifdef HAVE_IEEEFP_H
34086 #include <ieeefp.h>
34087 #endif
34090 main ()
34092 _log10l(0);
34094 return 0;
34096 _ACEOF
34097 if ac_fn_cxx_try_compile "$LINENO"; then :
34098 glibcxx_cv_func__log10l_use=yes
34099 else
34100 glibcxx_cv_func__log10l_use=no
34102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34103 ac_ext=c
34104 ac_cpp='$CPP $CPPFLAGS'
34105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34114 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34116 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34117 for ac_func in _log10l
34118 do :
34119 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34120 if test "x$ac_cv_func__log10l" = x""yes; then :
34121 cat >>confdefs.h <<_ACEOF
34122 #define HAVE__LOG10L 1
34123 _ACEOF
34126 done
34135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34136 $as_echo_n "checking for modfl declaration... " >&6; }
34137 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34138 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34139 $as_echo_n "(cached) " >&6
34140 else
34143 ac_ext=cpp
34144 ac_cpp='$CXXCPP $CPPFLAGS'
34145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34150 /* end confdefs.h. */
34151 #include <math.h>
34153 main ()
34155 modfl(0, 0);
34157 return 0;
34159 _ACEOF
34160 if ac_fn_cxx_try_compile "$LINENO"; then :
34161 glibcxx_cv_func_modfl_use=yes
34162 else
34163 glibcxx_cv_func_modfl_use=no
34165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34166 ac_ext=c
34167 ac_cpp='$CPP $CPPFLAGS'
34168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34177 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34179 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34180 for ac_func in modfl
34181 do :
34182 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34183 if test "x$ac_cv_func_modfl" = x""yes; then :
34184 cat >>confdefs.h <<_ACEOF
34185 #define HAVE_MODFL 1
34186 _ACEOF
34189 done
34191 else
34193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34194 $as_echo_n "checking for _modfl declaration... " >&6; }
34195 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34196 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34197 $as_echo_n "(cached) " >&6
34198 else
34201 ac_ext=cpp
34202 ac_cpp='$CXXCPP $CPPFLAGS'
34203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34208 /* end confdefs.h. */
34209 #include <math.h>
34211 main ()
34213 _modfl(0, 0);
34215 return 0;
34217 _ACEOF
34218 if ac_fn_cxx_try_compile "$LINENO"; then :
34219 glibcxx_cv_func__modfl_use=yes
34220 else
34221 glibcxx_cv_func__modfl_use=no
34223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34224 ac_ext=c
34225 ac_cpp='$CPP $CPPFLAGS'
34226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34235 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34237 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34238 for ac_func in _modfl
34239 do :
34240 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34241 if test "x$ac_cv_func__modfl" = x""yes; then :
34242 cat >>confdefs.h <<_ACEOF
34243 #define HAVE__MODFL 1
34244 _ACEOF
34247 done
34256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34257 $as_echo_n "checking for powl declaration... " >&6; }
34258 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34259 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34260 $as_echo_n "(cached) " >&6
34261 else
34264 ac_ext=cpp
34265 ac_cpp='$CXXCPP $CPPFLAGS'
34266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34271 /* end confdefs.h. */
34272 #include <math.h>
34274 main ()
34276 powl(0, 0);
34278 return 0;
34280 _ACEOF
34281 if ac_fn_cxx_try_compile "$LINENO"; then :
34282 glibcxx_cv_func_powl_use=yes
34283 else
34284 glibcxx_cv_func_powl_use=no
34286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287 ac_ext=c
34288 ac_cpp='$CPP $CPPFLAGS'
34289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34298 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34300 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34301 for ac_func in powl
34302 do :
34303 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34304 if test "x$ac_cv_func_powl" = x""yes; then :
34305 cat >>confdefs.h <<_ACEOF
34306 #define HAVE_POWL 1
34307 _ACEOF
34310 done
34312 else
34314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34315 $as_echo_n "checking for _powl declaration... " >&6; }
34316 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34317 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34318 $as_echo_n "(cached) " >&6
34319 else
34322 ac_ext=cpp
34323 ac_cpp='$CXXCPP $CPPFLAGS'
34324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34329 /* end confdefs.h. */
34330 #include <math.h>
34332 main ()
34334 _powl(0, 0);
34336 return 0;
34338 _ACEOF
34339 if ac_fn_cxx_try_compile "$LINENO"; then :
34340 glibcxx_cv_func__powl_use=yes
34341 else
34342 glibcxx_cv_func__powl_use=no
34344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34345 ac_ext=c
34346 ac_cpp='$CPP $CPPFLAGS'
34347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34356 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34358 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34359 for ac_func in _powl
34360 do :
34361 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34362 if test "x$ac_cv_func__powl" = x""yes; then :
34363 cat >>confdefs.h <<_ACEOF
34364 #define HAVE__POWL 1
34365 _ACEOF
34368 done
34377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34378 $as_echo_n "checking for sqrtl declaration... " >&6; }
34379 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34380 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34381 $as_echo_n "(cached) " >&6
34382 else
34385 ac_ext=cpp
34386 ac_cpp='$CXXCPP $CPPFLAGS'
34387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34392 /* end confdefs.h. */
34393 #include <math.h>
34394 #ifdef HAVE_IEEEFP_H
34395 #include <ieeefp.h>
34396 #endif
34399 main ()
34401 sqrtl(0);
34403 return 0;
34405 _ACEOF
34406 if ac_fn_cxx_try_compile "$LINENO"; then :
34407 glibcxx_cv_func_sqrtl_use=yes
34408 else
34409 glibcxx_cv_func_sqrtl_use=no
34411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34412 ac_ext=c
34413 ac_cpp='$CPP $CPPFLAGS'
34414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34423 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34425 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34426 for ac_func in sqrtl
34427 do :
34428 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34429 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34430 cat >>confdefs.h <<_ACEOF
34431 #define HAVE_SQRTL 1
34432 _ACEOF
34435 done
34437 else
34439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34440 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34441 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34442 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34443 $as_echo_n "(cached) " >&6
34444 else
34447 ac_ext=cpp
34448 ac_cpp='$CXXCPP $CPPFLAGS'
34449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34454 /* end confdefs.h. */
34455 #include <math.h>
34456 #ifdef HAVE_IEEEFP_H
34457 #include <ieeefp.h>
34458 #endif
34461 main ()
34463 _sqrtl(0);
34465 return 0;
34467 _ACEOF
34468 if ac_fn_cxx_try_compile "$LINENO"; then :
34469 glibcxx_cv_func__sqrtl_use=yes
34470 else
34471 glibcxx_cv_func__sqrtl_use=no
34473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34474 ac_ext=c
34475 ac_cpp='$CPP $CPPFLAGS'
34476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34485 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34487 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34488 for ac_func in _sqrtl
34489 do :
34490 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34491 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34492 cat >>confdefs.h <<_ACEOF
34493 #define HAVE__SQRTL 1
34494 _ACEOF
34497 done
34506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34507 $as_echo_n "checking for sincosl declaration... " >&6; }
34508 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34509 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34510 $as_echo_n "(cached) " >&6
34511 else
34514 ac_ext=cpp
34515 ac_cpp='$CXXCPP $CPPFLAGS'
34516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34521 /* end confdefs.h. */
34522 #include <math.h>
34524 main ()
34526 sincosl(0, 0, 0);
34528 return 0;
34530 _ACEOF
34531 if ac_fn_cxx_try_compile "$LINENO"; then :
34532 glibcxx_cv_func_sincosl_use=yes
34533 else
34534 glibcxx_cv_func_sincosl_use=no
34536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34537 ac_ext=c
34538 ac_cpp='$CPP $CPPFLAGS'
34539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34548 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34550 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34551 for ac_func in sincosl
34552 do :
34553 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34554 if test "x$ac_cv_func_sincosl" = x""yes; then :
34555 cat >>confdefs.h <<_ACEOF
34556 #define HAVE_SINCOSL 1
34557 _ACEOF
34560 done
34562 else
34564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34565 $as_echo_n "checking for _sincosl declaration... " >&6; }
34566 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34567 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34568 $as_echo_n "(cached) " >&6
34569 else
34572 ac_ext=cpp
34573 ac_cpp='$CXXCPP $CPPFLAGS'
34574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34579 /* end confdefs.h. */
34580 #include <math.h>
34582 main ()
34584 _sincosl(0, 0, 0);
34586 return 0;
34588 _ACEOF
34589 if ac_fn_cxx_try_compile "$LINENO"; then :
34590 glibcxx_cv_func__sincosl_use=yes
34591 else
34592 glibcxx_cv_func__sincosl_use=no
34594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34595 ac_ext=c
34596 ac_cpp='$CPP $CPPFLAGS'
34597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34606 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34608 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34609 for ac_func in _sincosl
34610 do :
34611 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34612 if test "x$ac_cv_func__sincosl" = x""yes; then :
34613 cat >>confdefs.h <<_ACEOF
34614 #define HAVE__SINCOSL 1
34615 _ACEOF
34618 done
34627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34628 $as_echo_n "checking for finitel declaration... " >&6; }
34629 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34630 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34631 $as_echo_n "(cached) " >&6
34632 else
34635 ac_ext=cpp
34636 ac_cpp='$CXXCPP $CPPFLAGS'
34637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34642 /* end confdefs.h. */
34643 #include <math.h>
34644 #ifdef HAVE_IEEEFP_H
34645 #include <ieeefp.h>
34646 #endif
34649 main ()
34651 finitel(0);
34653 return 0;
34655 _ACEOF
34656 if ac_fn_cxx_try_compile "$LINENO"; then :
34657 glibcxx_cv_func_finitel_use=yes
34658 else
34659 glibcxx_cv_func_finitel_use=no
34661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34662 ac_ext=c
34663 ac_cpp='$CPP $CPPFLAGS'
34664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34673 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34675 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34676 for ac_func in finitel
34677 do :
34678 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34679 if test "x$ac_cv_func_finitel" = x""yes; then :
34680 cat >>confdefs.h <<_ACEOF
34681 #define HAVE_FINITEL 1
34682 _ACEOF
34685 done
34687 else
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34690 $as_echo_n "checking for _finitel declaration... " >&6; }
34691 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34692 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34693 $as_echo_n "(cached) " >&6
34694 else
34697 ac_ext=cpp
34698 ac_cpp='$CXXCPP $CPPFLAGS'
34699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34704 /* end confdefs.h. */
34705 #include <math.h>
34706 #ifdef HAVE_IEEEFP_H
34707 #include <ieeefp.h>
34708 #endif
34711 main ()
34713 _finitel(0);
34715 return 0;
34717 _ACEOF
34718 if ac_fn_cxx_try_compile "$LINENO"; then :
34719 glibcxx_cv_func__finitel_use=yes
34720 else
34721 glibcxx_cv_func__finitel_use=no
34723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34724 ac_ext=c
34725 ac_cpp='$CPP $CPPFLAGS'
34726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34735 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34737 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34738 for ac_func in _finitel
34739 do :
34740 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34741 if test "x$ac_cv_func__finitel" = x""yes; then :
34742 cat >>confdefs.h <<_ACEOF
34743 #define HAVE__FINITEL 1
34744 _ACEOF
34747 done
34755 LIBS="$ac_save_LIBS"
34756 CXXFLAGS="$ac_save_CXXFLAGS"
34759 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34760 ac_save_CXXFLAGS="$CXXFLAGS"
34761 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34765 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34766 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34767 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34768 $as_echo_n "(cached) " >&6
34769 else
34772 ac_ext=cpp
34773 ac_cpp='$CXXCPP $CPPFLAGS'
34774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34779 /* end confdefs.h. */
34780 #include <stdlib.h>
34782 main ()
34784 at_quick_exit(0);
34786 return 0;
34788 _ACEOF
34789 if ac_fn_cxx_try_compile "$LINENO"; then :
34790 glibcxx_cv_func_at_quick_exit_use=yes
34791 else
34792 glibcxx_cv_func_at_quick_exit_use=no
34794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34795 ac_ext=c
34796 ac_cpp='$CPP $CPPFLAGS'
34797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34806 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34807 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34808 for ac_func in at_quick_exit
34809 do :
34810 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34811 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34812 cat >>confdefs.h <<_ACEOF
34813 #define HAVE_AT_QUICK_EXIT 1
34814 _ACEOF
34817 done
34822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34823 $as_echo_n "checking for quick_exit declaration... " >&6; }
34824 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34825 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34826 $as_echo_n "(cached) " >&6
34827 else
34830 ac_ext=cpp
34831 ac_cpp='$CXXCPP $CPPFLAGS'
34832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34837 /* end confdefs.h. */
34838 #include <stdlib.h>
34840 main ()
34842 quick_exit(0);
34844 return 0;
34846 _ACEOF
34847 if ac_fn_cxx_try_compile "$LINENO"; then :
34848 glibcxx_cv_func_quick_exit_use=yes
34849 else
34850 glibcxx_cv_func_quick_exit_use=no
34852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34853 ac_ext=c
34854 ac_cpp='$CPP $CPPFLAGS'
34855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34864 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34865 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34866 for ac_func in quick_exit
34867 do :
34868 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34869 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34870 cat >>confdefs.h <<_ACEOF
34871 #define HAVE_QUICK_EXIT 1
34872 _ACEOF
34875 done
34880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34881 $as_echo_n "checking for strtold declaration... " >&6; }
34882 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34883 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34884 $as_echo_n "(cached) " >&6
34885 else
34888 ac_ext=cpp
34889 ac_cpp='$CXXCPP $CPPFLAGS'
34890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34895 /* end confdefs.h. */
34896 #include <stdlib.h>
34898 main ()
34900 strtold(0, 0);
34902 return 0;
34904 _ACEOF
34905 if ac_fn_cxx_try_compile "$LINENO"; then :
34906 glibcxx_cv_func_strtold_use=yes
34907 else
34908 glibcxx_cv_func_strtold_use=no
34910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34911 ac_ext=c
34912 ac_cpp='$CPP $CPPFLAGS'
34913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34922 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34923 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34924 for ac_func in strtold
34925 do :
34926 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34927 if test "x$ac_cv_func_strtold" = x""yes; then :
34928 cat >>confdefs.h <<_ACEOF
34929 #define HAVE_STRTOLD 1
34930 _ACEOF
34933 done
34940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34941 $as_echo_n "checking for strtof declaration... " >&6; }
34942 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34943 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34944 $as_echo_n "(cached) " >&6
34945 else
34948 ac_ext=cpp
34949 ac_cpp='$CXXCPP $CPPFLAGS'
34950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34955 /* end confdefs.h. */
34956 #include <stdlib.h>
34958 main ()
34960 strtof(0, 0);
34962 return 0;
34964 _ACEOF
34965 if ac_fn_cxx_try_compile "$LINENO"; then :
34966 glibcxx_cv_func_strtof_use=yes
34967 else
34968 glibcxx_cv_func_strtof_use=no
34970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34971 ac_ext=c
34972 ac_cpp='$CPP $CPPFLAGS'
34973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34982 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34983 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34984 for ac_func in strtof
34985 do :
34986 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34987 if test "x$ac_cv_func_strtof" = x""yes; then :
34988 cat >>confdefs.h <<_ACEOF
34989 #define HAVE_STRTOF 1
34990 _ACEOF
34993 done
35000 CXXFLAGS="$ac_save_CXXFLAGS"
35003 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35005 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35007 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35009 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35012 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35014 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35016 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35020 spu-*-elf*)
35022 # All these tests are for C++; save the language and the compiler flags.
35023 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35024 # found in GLIBCXX_CONFIGURE.
35026 ac_ext=cpp
35027 ac_cpp='$CXXCPP $CPPFLAGS'
35028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35032 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35033 ac_save_CXXFLAGS="$CXXFLAGS"
35035 # Check for -ffunction-sections -fdata-sections
35036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35037 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35038 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35040 /* end confdefs.h. */
35041 int foo; void bar() { };
35043 main ()
35047 return 0;
35049 _ACEOF
35050 if ac_fn_cxx_try_compile "$LINENO"; then :
35051 ac_fdsections=yes
35052 else
35053 ac_fdsections=no
35055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35056 if test "$ac_test_CXXFLAGS" = set; then
35057 CXXFLAGS="$ac_save_CXXFLAGS"
35058 else
35059 # this is the suspicious part
35060 CXXFLAGS=''
35062 if test x"$ac_fdsections" = x"yes"; then
35063 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35066 $as_echo "$ac_fdsections" >&6; }
35068 ac_ext=c
35069 ac_cpp='$CPP $CPPFLAGS'
35070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35077 # If we're not using GNU ld, then there's no point in even trying these
35078 # tests. Check for that first. We should have already tested for gld
35079 # by now (in libtool), but require it now just to be safe...
35080 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35081 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35085 # The name set by libtool depends on the version of libtool. Shame on us
35086 # for depending on an impl detail, but c'est la vie. Older versions used
35087 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35088 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35089 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35090 # set (hence we're using an older libtool), then set it.
35091 if test x${with_gnu_ld+set} != xset; then
35092 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35093 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35094 with_gnu_ld=no
35095 else
35096 with_gnu_ld=$ac_cv_prog_gnu_ld
35100 # Start by getting the version number. I think the libtool test already
35101 # does some of this, but throws away the result.
35102 glibcxx_ld_is_gold=no
35103 if test x"$with_gnu_ld" = x"yes"; then
35104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35105 $as_echo_n "checking for ld version... " >&6; }
35107 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35108 glibcxx_ld_is_gold=yes
35110 ldver=`$LD --version 2>/dev/null |
35111 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'`
35113 glibcxx_gnu_ld_version=`echo $ldver | \
35114 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35116 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35119 # Set --gc-sections.
35120 glibcxx_have_gc_sections=no
35121 if test "$glibcxx_ld_is_gold" = "yes"; then
35122 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35123 glibcxx_have_gc_sections=yes
35125 else
35126 glibcxx_gcsections_min_ld=21602
35127 if test x"$with_gnu_ld" = x"yes" &&
35128 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35129 glibcxx_have_gc_sections=yes
35132 if test "$glibcxx_have_gc_sections" = "yes"; then
35133 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35134 # NB: This flag only works reliably after 2.16.1. Configure tests
35135 # for this are difficult, so hard wire a value that should work.
35137 ac_test_CFLAGS="${CFLAGS+set}"
35138 ac_save_CFLAGS="$CFLAGS"
35139 CFLAGS='-Wl,--gc-sections'
35141 # Check for -Wl,--gc-sections
35142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35143 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35144 if test x$gcc_no_link = xyes; then
35145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35148 /* end confdefs.h. */
35149 int one(void) { return 1; }
35150 int two(void) { return 2; }
35153 main ()
35155 two();
35157 return 0;
35159 _ACEOF
35160 if ac_fn_c_try_link "$LINENO"; then :
35161 ac_gcsections=yes
35162 else
35163 ac_gcsections=no
35165 rm -f core conftest.err conftest.$ac_objext \
35166 conftest$ac_exeext conftest.$ac_ext
35167 if test "$ac_gcsections" = "yes"; then
35168 rm -f conftest.c
35169 touch conftest.c
35170 if $CC -c conftest.c; then
35171 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35172 grep "Warning: gc-sections option ignored" > /dev/null; then
35173 ac_gcsections=no
35176 rm -f conftest.c conftest.o conftest
35178 if test "$ac_gcsections" = "yes"; then
35179 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35182 $as_echo "$ac_gcsections" >&6; }
35184 if test "$ac_test_CFLAGS" = set; then
35185 CFLAGS="$ac_save_CFLAGS"
35186 else
35187 # this is the suspicious part
35188 CFLAGS=''
35192 # Set -z,relro.
35193 # Note this is only for shared objects.
35194 ac_ld_relro=no
35195 if test x"$with_gnu_ld" = x"yes"; then
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35197 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35198 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35199 if test -n "$cxx_z_relo"; then
35200 OPT_LDFLAGS="-Wl,-z,relro"
35201 ac_ld_relro=yes
35203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35204 $as_echo "$ac_ld_relro" >&6; }
35207 # Set linker optimization flags.
35208 if test x"$with_gnu_ld" = x"yes"; then
35209 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35216 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35217 ac_save_CXXFLAGS="$CXXFLAGS"
35218 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35221 $as_echo_n "checking for sin in -lm... " >&6; }
35222 if test "${ac_cv_lib_m_sin+set}" = set; then :
35223 $as_echo_n "(cached) " >&6
35224 else
35225 ac_check_lib_save_LIBS=$LIBS
35226 LIBS="-lm $LIBS"
35227 if test x$gcc_no_link = xyes; then
35228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35231 /* end confdefs.h. */
35233 /* Override any GCC internal prototype to avoid an error.
35234 Use char because int might match the return type of a GCC
35235 builtin and then its argument prototype would still apply. */
35236 #ifdef __cplusplus
35237 extern "C"
35238 #endif
35239 char sin ();
35241 main ()
35243 return sin ();
35245 return 0;
35247 _ACEOF
35248 if ac_fn_c_try_link "$LINENO"; then :
35249 ac_cv_lib_m_sin=yes
35250 else
35251 ac_cv_lib_m_sin=no
35253 rm -f core conftest.err conftest.$ac_objext \
35254 conftest$ac_exeext conftest.$ac_ext
35255 LIBS=$ac_check_lib_save_LIBS
35257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35258 $as_echo "$ac_cv_lib_m_sin" >&6; }
35259 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35260 libm="-lm"
35263 ac_save_LIBS="$LIBS"
35264 LIBS="$LIBS $libm"
35268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35269 $as_echo_n "checking for isinf declaration... " >&6; }
35270 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35271 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35272 $as_echo_n "(cached) " >&6
35273 else
35276 ac_ext=cpp
35277 ac_cpp='$CXXCPP $CPPFLAGS'
35278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35283 /* end confdefs.h. */
35284 #include <math.h>
35285 #ifdef HAVE_IEEEFP_H
35286 #include <ieeefp.h>
35287 #endif
35290 main ()
35292 isinf(0);
35294 return 0;
35296 _ACEOF
35297 if ac_fn_cxx_try_compile "$LINENO"; then :
35298 glibcxx_cv_func_isinf_use=yes
35299 else
35300 glibcxx_cv_func_isinf_use=no
35302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35303 ac_ext=c
35304 ac_cpp='$CPP $CPPFLAGS'
35305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35314 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35316 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35317 for ac_func in isinf
35318 do :
35319 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35320 if test "x$ac_cv_func_isinf" = x""yes; then :
35321 cat >>confdefs.h <<_ACEOF
35322 #define HAVE_ISINF 1
35323 _ACEOF
35326 done
35328 else
35330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35331 $as_echo_n "checking for _isinf declaration... " >&6; }
35332 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35333 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35334 $as_echo_n "(cached) " >&6
35335 else
35338 ac_ext=cpp
35339 ac_cpp='$CXXCPP $CPPFLAGS'
35340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35345 /* end confdefs.h. */
35346 #include <math.h>
35347 #ifdef HAVE_IEEEFP_H
35348 #include <ieeefp.h>
35349 #endif
35352 main ()
35354 _isinf(0);
35356 return 0;
35358 _ACEOF
35359 if ac_fn_cxx_try_compile "$LINENO"; then :
35360 glibcxx_cv_func__isinf_use=yes
35361 else
35362 glibcxx_cv_func__isinf_use=no
35364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35365 ac_ext=c
35366 ac_cpp='$CPP $CPPFLAGS'
35367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35376 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35378 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35379 for ac_func in _isinf
35380 do :
35381 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35382 if test "x$ac_cv_func__isinf" = x""yes; then :
35383 cat >>confdefs.h <<_ACEOF
35384 #define HAVE__ISINF 1
35385 _ACEOF
35388 done
35397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35398 $as_echo_n "checking for isnan declaration... " >&6; }
35399 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35400 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35401 $as_echo_n "(cached) " >&6
35402 else
35405 ac_ext=cpp
35406 ac_cpp='$CXXCPP $CPPFLAGS'
35407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35412 /* end confdefs.h. */
35413 #include <math.h>
35414 #ifdef HAVE_IEEEFP_H
35415 #include <ieeefp.h>
35416 #endif
35419 main ()
35421 isnan(0);
35423 return 0;
35425 _ACEOF
35426 if ac_fn_cxx_try_compile "$LINENO"; then :
35427 glibcxx_cv_func_isnan_use=yes
35428 else
35429 glibcxx_cv_func_isnan_use=no
35431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35432 ac_ext=c
35433 ac_cpp='$CPP $CPPFLAGS'
35434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35443 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35445 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35446 for ac_func in isnan
35447 do :
35448 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35449 if test "x$ac_cv_func_isnan" = x""yes; then :
35450 cat >>confdefs.h <<_ACEOF
35451 #define HAVE_ISNAN 1
35452 _ACEOF
35455 done
35457 else
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35460 $as_echo_n "checking for _isnan declaration... " >&6; }
35461 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35462 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35463 $as_echo_n "(cached) " >&6
35464 else
35467 ac_ext=cpp
35468 ac_cpp='$CXXCPP $CPPFLAGS'
35469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35474 /* end confdefs.h. */
35475 #include <math.h>
35476 #ifdef HAVE_IEEEFP_H
35477 #include <ieeefp.h>
35478 #endif
35481 main ()
35483 _isnan(0);
35485 return 0;
35487 _ACEOF
35488 if ac_fn_cxx_try_compile "$LINENO"; then :
35489 glibcxx_cv_func__isnan_use=yes
35490 else
35491 glibcxx_cv_func__isnan_use=no
35493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35494 ac_ext=c
35495 ac_cpp='$CPP $CPPFLAGS'
35496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35505 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35507 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35508 for ac_func in _isnan
35509 do :
35510 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35511 if test "x$ac_cv_func__isnan" = x""yes; then :
35512 cat >>confdefs.h <<_ACEOF
35513 #define HAVE__ISNAN 1
35514 _ACEOF
35517 done
35526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35527 $as_echo_n "checking for finite declaration... " >&6; }
35528 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35529 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35530 $as_echo_n "(cached) " >&6
35531 else
35534 ac_ext=cpp
35535 ac_cpp='$CXXCPP $CPPFLAGS'
35536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35541 /* end confdefs.h. */
35542 #include <math.h>
35543 #ifdef HAVE_IEEEFP_H
35544 #include <ieeefp.h>
35545 #endif
35548 main ()
35550 finite(0);
35552 return 0;
35554 _ACEOF
35555 if ac_fn_cxx_try_compile "$LINENO"; then :
35556 glibcxx_cv_func_finite_use=yes
35557 else
35558 glibcxx_cv_func_finite_use=no
35560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35561 ac_ext=c
35562 ac_cpp='$CPP $CPPFLAGS'
35563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35572 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35574 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35575 for ac_func in finite
35576 do :
35577 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35578 if test "x$ac_cv_func_finite" = x""yes; then :
35579 cat >>confdefs.h <<_ACEOF
35580 #define HAVE_FINITE 1
35581 _ACEOF
35584 done
35586 else
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35589 $as_echo_n "checking for _finite declaration... " >&6; }
35590 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35591 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35592 $as_echo_n "(cached) " >&6
35593 else
35596 ac_ext=cpp
35597 ac_cpp='$CXXCPP $CPPFLAGS'
35598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35603 /* end confdefs.h. */
35604 #include <math.h>
35605 #ifdef HAVE_IEEEFP_H
35606 #include <ieeefp.h>
35607 #endif
35610 main ()
35612 _finite(0);
35614 return 0;
35616 _ACEOF
35617 if ac_fn_cxx_try_compile "$LINENO"; then :
35618 glibcxx_cv_func__finite_use=yes
35619 else
35620 glibcxx_cv_func__finite_use=no
35622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35623 ac_ext=c
35624 ac_cpp='$CPP $CPPFLAGS'
35625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35634 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35636 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35637 for ac_func in _finite
35638 do :
35639 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35640 if test "x$ac_cv_func__finite" = x""yes; then :
35641 cat >>confdefs.h <<_ACEOF
35642 #define HAVE__FINITE 1
35643 _ACEOF
35646 done
35655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35656 $as_echo_n "checking for sincos declaration... " >&6; }
35657 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35658 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35659 $as_echo_n "(cached) " >&6
35660 else
35663 ac_ext=cpp
35664 ac_cpp='$CXXCPP $CPPFLAGS'
35665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35670 /* end confdefs.h. */
35671 #include <math.h>
35673 main ()
35675 sincos(0, 0, 0);
35677 return 0;
35679 _ACEOF
35680 if ac_fn_cxx_try_compile "$LINENO"; then :
35681 glibcxx_cv_func_sincos_use=yes
35682 else
35683 glibcxx_cv_func_sincos_use=no
35685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35686 ac_ext=c
35687 ac_cpp='$CPP $CPPFLAGS'
35688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35697 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35699 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35700 for ac_func in sincos
35701 do :
35702 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35703 if test "x$ac_cv_func_sincos" = x""yes; then :
35704 cat >>confdefs.h <<_ACEOF
35705 #define HAVE_SINCOS 1
35706 _ACEOF
35709 done
35711 else
35713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35714 $as_echo_n "checking for _sincos declaration... " >&6; }
35715 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35716 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35717 $as_echo_n "(cached) " >&6
35718 else
35721 ac_ext=cpp
35722 ac_cpp='$CXXCPP $CPPFLAGS'
35723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35728 /* end confdefs.h. */
35729 #include <math.h>
35731 main ()
35733 _sincos(0, 0, 0);
35735 return 0;
35737 _ACEOF
35738 if ac_fn_cxx_try_compile "$LINENO"; then :
35739 glibcxx_cv_func__sincos_use=yes
35740 else
35741 glibcxx_cv_func__sincos_use=no
35743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35744 ac_ext=c
35745 ac_cpp='$CPP $CPPFLAGS'
35746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35755 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35757 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35758 for ac_func in _sincos
35759 do :
35760 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35761 if test "x$ac_cv_func__sincos" = x""yes; then :
35762 cat >>confdefs.h <<_ACEOF
35763 #define HAVE__SINCOS 1
35764 _ACEOF
35767 done
35776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35777 $as_echo_n "checking for fpclass declaration... " >&6; }
35778 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35779 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35780 $as_echo_n "(cached) " >&6
35781 else
35784 ac_ext=cpp
35785 ac_cpp='$CXXCPP $CPPFLAGS'
35786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35791 /* end confdefs.h. */
35792 #include <math.h>
35793 #ifdef HAVE_IEEEFP_H
35794 #include <ieeefp.h>
35795 #endif
35798 main ()
35800 fpclass(0);
35802 return 0;
35804 _ACEOF
35805 if ac_fn_cxx_try_compile "$LINENO"; then :
35806 glibcxx_cv_func_fpclass_use=yes
35807 else
35808 glibcxx_cv_func_fpclass_use=no
35810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35811 ac_ext=c
35812 ac_cpp='$CPP $CPPFLAGS'
35813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35822 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35824 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35825 for ac_func in fpclass
35826 do :
35827 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35828 if test "x$ac_cv_func_fpclass" = x""yes; then :
35829 cat >>confdefs.h <<_ACEOF
35830 #define HAVE_FPCLASS 1
35831 _ACEOF
35834 done
35836 else
35838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35839 $as_echo_n "checking for _fpclass declaration... " >&6; }
35840 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35841 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35842 $as_echo_n "(cached) " >&6
35843 else
35846 ac_ext=cpp
35847 ac_cpp='$CXXCPP $CPPFLAGS'
35848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35853 /* end confdefs.h. */
35854 #include <math.h>
35855 #ifdef HAVE_IEEEFP_H
35856 #include <ieeefp.h>
35857 #endif
35860 main ()
35862 _fpclass(0);
35864 return 0;
35866 _ACEOF
35867 if ac_fn_cxx_try_compile "$LINENO"; then :
35868 glibcxx_cv_func__fpclass_use=yes
35869 else
35870 glibcxx_cv_func__fpclass_use=no
35872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35873 ac_ext=c
35874 ac_cpp='$CPP $CPPFLAGS'
35875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35884 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35886 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35887 for ac_func in _fpclass
35888 do :
35889 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35890 if test "x$ac_cv_func__fpclass" = x""yes; then :
35891 cat >>confdefs.h <<_ACEOF
35892 #define HAVE__FPCLASS 1
35893 _ACEOF
35896 done
35905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35906 $as_echo_n "checking for qfpclass declaration... " >&6; }
35907 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35908 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35909 $as_echo_n "(cached) " >&6
35910 else
35913 ac_ext=cpp
35914 ac_cpp='$CXXCPP $CPPFLAGS'
35915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35920 /* end confdefs.h. */
35921 #include <math.h>
35922 #ifdef HAVE_IEEEFP_H
35923 #include <ieeefp.h>
35924 #endif
35927 main ()
35929 qfpclass(0);
35931 return 0;
35933 _ACEOF
35934 if ac_fn_cxx_try_compile "$LINENO"; then :
35935 glibcxx_cv_func_qfpclass_use=yes
35936 else
35937 glibcxx_cv_func_qfpclass_use=no
35939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35940 ac_ext=c
35941 ac_cpp='$CPP $CPPFLAGS'
35942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35951 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35953 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35954 for ac_func in qfpclass
35955 do :
35956 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35957 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35958 cat >>confdefs.h <<_ACEOF
35959 #define HAVE_QFPCLASS 1
35960 _ACEOF
35963 done
35965 else
35967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35968 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35969 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35970 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35971 $as_echo_n "(cached) " >&6
35972 else
35975 ac_ext=cpp
35976 ac_cpp='$CXXCPP $CPPFLAGS'
35977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35982 /* end confdefs.h. */
35983 #include <math.h>
35984 #ifdef HAVE_IEEEFP_H
35985 #include <ieeefp.h>
35986 #endif
35989 main ()
35991 _qfpclass(0);
35993 return 0;
35995 _ACEOF
35996 if ac_fn_cxx_try_compile "$LINENO"; then :
35997 glibcxx_cv_func__qfpclass_use=yes
35998 else
35999 glibcxx_cv_func__qfpclass_use=no
36001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36002 ac_ext=c
36003 ac_cpp='$CPP $CPPFLAGS'
36004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36013 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36015 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36016 for ac_func in _qfpclass
36017 do :
36018 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36019 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36020 cat >>confdefs.h <<_ACEOF
36021 #define HAVE__QFPCLASS 1
36022 _ACEOF
36025 done
36034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36035 $as_echo_n "checking for hypot declaration... " >&6; }
36036 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36037 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36038 $as_echo_n "(cached) " >&6
36039 else
36042 ac_ext=cpp
36043 ac_cpp='$CXXCPP $CPPFLAGS'
36044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36049 /* end confdefs.h. */
36050 #include <math.h>
36052 main ()
36054 hypot(0, 0);
36056 return 0;
36058 _ACEOF
36059 if ac_fn_cxx_try_compile "$LINENO"; then :
36060 glibcxx_cv_func_hypot_use=yes
36061 else
36062 glibcxx_cv_func_hypot_use=no
36064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36065 ac_ext=c
36066 ac_cpp='$CPP $CPPFLAGS'
36067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36076 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36078 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36079 for ac_func in hypot
36080 do :
36081 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36082 if test "x$ac_cv_func_hypot" = x""yes; then :
36083 cat >>confdefs.h <<_ACEOF
36084 #define HAVE_HYPOT 1
36085 _ACEOF
36088 done
36090 else
36092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36093 $as_echo_n "checking for _hypot declaration... " >&6; }
36094 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36095 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36096 $as_echo_n "(cached) " >&6
36097 else
36100 ac_ext=cpp
36101 ac_cpp='$CXXCPP $CPPFLAGS'
36102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36107 /* end confdefs.h. */
36108 #include <math.h>
36110 main ()
36112 _hypot(0, 0);
36114 return 0;
36116 _ACEOF
36117 if ac_fn_cxx_try_compile "$LINENO"; then :
36118 glibcxx_cv_func__hypot_use=yes
36119 else
36120 glibcxx_cv_func__hypot_use=no
36122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36123 ac_ext=c
36124 ac_cpp='$CPP $CPPFLAGS'
36125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36134 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36136 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36137 for ac_func in _hypot
36138 do :
36139 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36140 if test "x$ac_cv_func__hypot" = x""yes; then :
36141 cat >>confdefs.h <<_ACEOF
36142 #define HAVE__HYPOT 1
36143 _ACEOF
36146 done
36155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36156 $as_echo_n "checking for float trig functions... " >&6; }
36157 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36158 $as_echo_n "(cached) " >&6
36159 else
36162 ac_ext=cpp
36163 ac_cpp='$CXXCPP $CPPFLAGS'
36164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36169 /* end confdefs.h. */
36170 #include <math.h>
36172 main ()
36174 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36176 return 0;
36178 _ACEOF
36179 if ac_fn_cxx_try_compile "$LINENO"; then :
36180 glibcxx_cv_func_float_trig_use=yes
36181 else
36182 glibcxx_cv_func_float_trig_use=no
36184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36185 ac_ext=c
36186 ac_cpp='$CPP $CPPFLAGS'
36187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36194 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36195 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36196 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36197 do :
36198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36200 eval as_val=\$$as_ac_var
36201 if test "x$as_val" = x""yes; then :
36202 cat >>confdefs.h <<_ACEOF
36203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36204 _ACEOF
36207 done
36209 else
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36211 $as_echo_n "checking for _float trig functions... " >&6; }
36212 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36213 $as_echo_n "(cached) " >&6
36214 else
36217 ac_ext=cpp
36218 ac_cpp='$CXXCPP $CPPFLAGS'
36219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36224 /* end confdefs.h. */
36225 #include <math.h>
36227 main ()
36229 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36231 return 0;
36233 _ACEOF
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235 glibcxx_cv_func__float_trig_use=yes
36236 else
36237 glibcxx_cv_func__float_trig_use=no
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240 ac_ext=c
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36249 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36250 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36251 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36252 do :
36253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36255 eval as_val=\$$as_ac_var
36256 if test "x$as_val" = x""yes; then :
36257 cat >>confdefs.h <<_ACEOF
36258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36259 _ACEOF
36262 done
36271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36272 $as_echo_n "checking for float round functions... " >&6; }
36273 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36274 $as_echo_n "(cached) " >&6
36275 else
36278 ac_ext=cpp
36279 ac_cpp='$CXXCPP $CPPFLAGS'
36280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36285 /* end confdefs.h. */
36286 #include <math.h>
36288 main ()
36290 ceilf (0); floorf (0);
36292 return 0;
36294 _ACEOF
36295 if ac_fn_cxx_try_compile "$LINENO"; then :
36296 glibcxx_cv_func_float_round_use=yes
36297 else
36298 glibcxx_cv_func_float_round_use=no
36300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36301 ac_ext=c
36302 ac_cpp='$CPP $CPPFLAGS'
36303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36310 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36311 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36312 for ac_func in ceilf floorf
36313 do :
36314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36316 eval as_val=\$$as_ac_var
36317 if test "x$as_val" = x""yes; then :
36318 cat >>confdefs.h <<_ACEOF
36319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36320 _ACEOF
36323 done
36325 else
36326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36327 $as_echo_n "checking for _float round functions... " >&6; }
36328 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36329 $as_echo_n "(cached) " >&6
36330 else
36333 ac_ext=cpp
36334 ac_cpp='$CXXCPP $CPPFLAGS'
36335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36340 /* end confdefs.h. */
36341 #include <math.h>
36343 main ()
36345 _ceilf (0); _floorf (0);
36347 return 0;
36349 _ACEOF
36350 if ac_fn_cxx_try_compile "$LINENO"; then :
36351 glibcxx_cv_func__float_round_use=yes
36352 else
36353 glibcxx_cv_func__float_round_use=no
36355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36356 ac_ext=c
36357 ac_cpp='$CPP $CPPFLAGS'
36358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36365 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36366 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36367 for ac_func in _ceilf _floorf
36368 do :
36369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36371 eval as_val=\$$as_ac_var
36372 if test "x$as_val" = x""yes; then :
36373 cat >>confdefs.h <<_ACEOF
36374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36375 _ACEOF
36378 done
36388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36389 $as_echo_n "checking for expf declaration... " >&6; }
36390 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36391 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36392 $as_echo_n "(cached) " >&6
36393 else
36396 ac_ext=cpp
36397 ac_cpp='$CXXCPP $CPPFLAGS'
36398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36403 /* end confdefs.h. */
36404 #include <math.h>
36405 #ifdef HAVE_IEEEFP_H
36406 #include <ieeefp.h>
36407 #endif
36410 main ()
36412 expf(0);
36414 return 0;
36416 _ACEOF
36417 if ac_fn_cxx_try_compile "$LINENO"; then :
36418 glibcxx_cv_func_expf_use=yes
36419 else
36420 glibcxx_cv_func_expf_use=no
36422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36423 ac_ext=c
36424 ac_cpp='$CPP $CPPFLAGS'
36425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36434 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36436 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36437 for ac_func in expf
36438 do :
36439 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36440 if test "x$ac_cv_func_expf" = x""yes; then :
36441 cat >>confdefs.h <<_ACEOF
36442 #define HAVE_EXPF 1
36443 _ACEOF
36446 done
36448 else
36450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36451 $as_echo_n "checking for _expf declaration... " >&6; }
36452 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36453 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36454 $as_echo_n "(cached) " >&6
36455 else
36458 ac_ext=cpp
36459 ac_cpp='$CXXCPP $CPPFLAGS'
36460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36465 /* end confdefs.h. */
36466 #include <math.h>
36467 #ifdef HAVE_IEEEFP_H
36468 #include <ieeefp.h>
36469 #endif
36472 main ()
36474 _expf(0);
36476 return 0;
36478 _ACEOF
36479 if ac_fn_cxx_try_compile "$LINENO"; then :
36480 glibcxx_cv_func__expf_use=yes
36481 else
36482 glibcxx_cv_func__expf_use=no
36484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36485 ac_ext=c
36486 ac_cpp='$CPP $CPPFLAGS'
36487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36496 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36498 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36499 for ac_func in _expf
36500 do :
36501 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36502 if test "x$ac_cv_func__expf" = x""yes; then :
36503 cat >>confdefs.h <<_ACEOF
36504 #define HAVE__EXPF 1
36505 _ACEOF
36508 done
36517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36518 $as_echo_n "checking for isnanf declaration... " >&6; }
36519 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36520 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36521 $as_echo_n "(cached) " >&6
36522 else
36525 ac_ext=cpp
36526 ac_cpp='$CXXCPP $CPPFLAGS'
36527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36532 /* end confdefs.h. */
36533 #include <math.h>
36534 #ifdef HAVE_IEEEFP_H
36535 #include <ieeefp.h>
36536 #endif
36539 main ()
36541 isnanf(0);
36543 return 0;
36545 _ACEOF
36546 if ac_fn_cxx_try_compile "$LINENO"; then :
36547 glibcxx_cv_func_isnanf_use=yes
36548 else
36549 glibcxx_cv_func_isnanf_use=no
36551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36552 ac_ext=c
36553 ac_cpp='$CPP $CPPFLAGS'
36554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36563 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36565 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36566 for ac_func in isnanf
36567 do :
36568 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36569 if test "x$ac_cv_func_isnanf" = x""yes; then :
36570 cat >>confdefs.h <<_ACEOF
36571 #define HAVE_ISNANF 1
36572 _ACEOF
36575 done
36577 else
36579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36580 $as_echo_n "checking for _isnanf declaration... " >&6; }
36581 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36582 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36583 $as_echo_n "(cached) " >&6
36584 else
36587 ac_ext=cpp
36588 ac_cpp='$CXXCPP $CPPFLAGS'
36589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36594 /* end confdefs.h. */
36595 #include <math.h>
36596 #ifdef HAVE_IEEEFP_H
36597 #include <ieeefp.h>
36598 #endif
36601 main ()
36603 _isnanf(0);
36605 return 0;
36607 _ACEOF
36608 if ac_fn_cxx_try_compile "$LINENO"; then :
36609 glibcxx_cv_func__isnanf_use=yes
36610 else
36611 glibcxx_cv_func__isnanf_use=no
36613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36614 ac_ext=c
36615 ac_cpp='$CPP $CPPFLAGS'
36616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36625 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36627 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36628 for ac_func in _isnanf
36629 do :
36630 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36631 if test "x$ac_cv_func__isnanf" = x""yes; then :
36632 cat >>confdefs.h <<_ACEOF
36633 #define HAVE__ISNANF 1
36634 _ACEOF
36637 done
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36647 $as_echo_n "checking for isinff declaration... " >&6; }
36648 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36649 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36650 $as_echo_n "(cached) " >&6
36651 else
36654 ac_ext=cpp
36655 ac_cpp='$CXXCPP $CPPFLAGS'
36656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36661 /* end confdefs.h. */
36662 #include <math.h>
36663 #ifdef HAVE_IEEEFP_H
36664 #include <ieeefp.h>
36665 #endif
36668 main ()
36670 isinff(0);
36672 return 0;
36674 _ACEOF
36675 if ac_fn_cxx_try_compile "$LINENO"; then :
36676 glibcxx_cv_func_isinff_use=yes
36677 else
36678 glibcxx_cv_func_isinff_use=no
36680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36681 ac_ext=c
36682 ac_cpp='$CPP $CPPFLAGS'
36683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36692 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36694 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36695 for ac_func in isinff
36696 do :
36697 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36698 if test "x$ac_cv_func_isinff" = x""yes; then :
36699 cat >>confdefs.h <<_ACEOF
36700 #define HAVE_ISINFF 1
36701 _ACEOF
36704 done
36706 else
36708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36709 $as_echo_n "checking for _isinff declaration... " >&6; }
36710 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36711 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36712 $as_echo_n "(cached) " >&6
36713 else
36716 ac_ext=cpp
36717 ac_cpp='$CXXCPP $CPPFLAGS'
36718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36723 /* end confdefs.h. */
36724 #include <math.h>
36725 #ifdef HAVE_IEEEFP_H
36726 #include <ieeefp.h>
36727 #endif
36730 main ()
36732 _isinff(0);
36734 return 0;
36736 _ACEOF
36737 if ac_fn_cxx_try_compile "$LINENO"; then :
36738 glibcxx_cv_func__isinff_use=yes
36739 else
36740 glibcxx_cv_func__isinff_use=no
36742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36743 ac_ext=c
36744 ac_cpp='$CPP $CPPFLAGS'
36745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36754 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36756 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36757 for ac_func in _isinff
36758 do :
36759 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36760 if test "x$ac_cv_func__isinff" = x""yes; then :
36761 cat >>confdefs.h <<_ACEOF
36762 #define HAVE__ISINFF 1
36763 _ACEOF
36766 done
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36776 $as_echo_n "checking for atan2f declaration... " >&6; }
36777 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36778 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36779 $as_echo_n "(cached) " >&6
36780 else
36783 ac_ext=cpp
36784 ac_cpp='$CXXCPP $CPPFLAGS'
36785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36790 /* end confdefs.h. */
36791 #include <math.h>
36793 main ()
36795 atan2f(0, 0);
36797 return 0;
36799 _ACEOF
36800 if ac_fn_cxx_try_compile "$LINENO"; then :
36801 glibcxx_cv_func_atan2f_use=yes
36802 else
36803 glibcxx_cv_func_atan2f_use=no
36805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36806 ac_ext=c
36807 ac_cpp='$CPP $CPPFLAGS'
36808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36817 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36819 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36820 for ac_func in atan2f
36821 do :
36822 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36823 if test "x$ac_cv_func_atan2f" = x""yes; then :
36824 cat >>confdefs.h <<_ACEOF
36825 #define HAVE_ATAN2F 1
36826 _ACEOF
36829 done
36831 else
36833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36834 $as_echo_n "checking for _atan2f declaration... " >&6; }
36835 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36836 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36837 $as_echo_n "(cached) " >&6
36838 else
36841 ac_ext=cpp
36842 ac_cpp='$CXXCPP $CPPFLAGS'
36843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36848 /* end confdefs.h. */
36849 #include <math.h>
36851 main ()
36853 _atan2f(0, 0);
36855 return 0;
36857 _ACEOF
36858 if ac_fn_cxx_try_compile "$LINENO"; then :
36859 glibcxx_cv_func__atan2f_use=yes
36860 else
36861 glibcxx_cv_func__atan2f_use=no
36863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36864 ac_ext=c
36865 ac_cpp='$CPP $CPPFLAGS'
36866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36875 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36877 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36878 for ac_func in _atan2f
36879 do :
36880 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36881 if test "x$ac_cv_func__atan2f" = x""yes; then :
36882 cat >>confdefs.h <<_ACEOF
36883 #define HAVE__ATAN2F 1
36884 _ACEOF
36887 done
36896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36897 $as_echo_n "checking for fabsf declaration... " >&6; }
36898 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36899 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36900 $as_echo_n "(cached) " >&6
36901 else
36904 ac_ext=cpp
36905 ac_cpp='$CXXCPP $CPPFLAGS'
36906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36911 /* end confdefs.h. */
36912 #include <math.h>
36913 #ifdef HAVE_IEEEFP_H
36914 #include <ieeefp.h>
36915 #endif
36918 main ()
36920 fabsf(0);
36922 return 0;
36924 _ACEOF
36925 if ac_fn_cxx_try_compile "$LINENO"; then :
36926 glibcxx_cv_func_fabsf_use=yes
36927 else
36928 glibcxx_cv_func_fabsf_use=no
36930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36931 ac_ext=c
36932 ac_cpp='$CPP $CPPFLAGS'
36933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36942 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36944 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36945 for ac_func in fabsf
36946 do :
36947 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36948 if test "x$ac_cv_func_fabsf" = x""yes; then :
36949 cat >>confdefs.h <<_ACEOF
36950 #define HAVE_FABSF 1
36951 _ACEOF
36954 done
36956 else
36958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36959 $as_echo_n "checking for _fabsf declaration... " >&6; }
36960 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36961 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36962 $as_echo_n "(cached) " >&6
36963 else
36966 ac_ext=cpp
36967 ac_cpp='$CXXCPP $CPPFLAGS'
36968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36973 /* end confdefs.h. */
36974 #include <math.h>
36975 #ifdef HAVE_IEEEFP_H
36976 #include <ieeefp.h>
36977 #endif
36980 main ()
36982 _fabsf(0);
36984 return 0;
36986 _ACEOF
36987 if ac_fn_cxx_try_compile "$LINENO"; then :
36988 glibcxx_cv_func__fabsf_use=yes
36989 else
36990 glibcxx_cv_func__fabsf_use=no
36992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36993 ac_ext=c
36994 ac_cpp='$CPP $CPPFLAGS'
36995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37004 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37006 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37007 for ac_func in _fabsf
37008 do :
37009 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37010 if test "x$ac_cv_func__fabsf" = x""yes; then :
37011 cat >>confdefs.h <<_ACEOF
37012 #define HAVE__FABSF 1
37013 _ACEOF
37016 done
37025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37026 $as_echo_n "checking for fmodf declaration... " >&6; }
37027 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37028 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37029 $as_echo_n "(cached) " >&6
37030 else
37033 ac_ext=cpp
37034 ac_cpp='$CXXCPP $CPPFLAGS'
37035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37040 /* end confdefs.h. */
37041 #include <math.h>
37043 main ()
37045 fmodf(0, 0);
37047 return 0;
37049 _ACEOF
37050 if ac_fn_cxx_try_compile "$LINENO"; then :
37051 glibcxx_cv_func_fmodf_use=yes
37052 else
37053 glibcxx_cv_func_fmodf_use=no
37055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37056 ac_ext=c
37057 ac_cpp='$CPP $CPPFLAGS'
37058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37067 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37069 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37070 for ac_func in fmodf
37071 do :
37072 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37073 if test "x$ac_cv_func_fmodf" = x""yes; then :
37074 cat >>confdefs.h <<_ACEOF
37075 #define HAVE_FMODF 1
37076 _ACEOF
37079 done
37081 else
37083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37084 $as_echo_n "checking for _fmodf declaration... " >&6; }
37085 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37086 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37087 $as_echo_n "(cached) " >&6
37088 else
37091 ac_ext=cpp
37092 ac_cpp='$CXXCPP $CPPFLAGS'
37093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37098 /* end confdefs.h. */
37099 #include <math.h>
37101 main ()
37103 _fmodf(0, 0);
37105 return 0;
37107 _ACEOF
37108 if ac_fn_cxx_try_compile "$LINENO"; then :
37109 glibcxx_cv_func__fmodf_use=yes
37110 else
37111 glibcxx_cv_func__fmodf_use=no
37113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37114 ac_ext=c
37115 ac_cpp='$CPP $CPPFLAGS'
37116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37125 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37127 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37128 for ac_func in _fmodf
37129 do :
37130 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37131 if test "x$ac_cv_func__fmodf" = x""yes; then :
37132 cat >>confdefs.h <<_ACEOF
37133 #define HAVE__FMODF 1
37134 _ACEOF
37137 done
37146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37147 $as_echo_n "checking for frexpf declaration... " >&6; }
37148 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37149 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37150 $as_echo_n "(cached) " >&6
37151 else
37154 ac_ext=cpp
37155 ac_cpp='$CXXCPP $CPPFLAGS'
37156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37161 /* end confdefs.h. */
37162 #include <math.h>
37164 main ()
37166 frexpf(0, 0);
37168 return 0;
37170 _ACEOF
37171 if ac_fn_cxx_try_compile "$LINENO"; then :
37172 glibcxx_cv_func_frexpf_use=yes
37173 else
37174 glibcxx_cv_func_frexpf_use=no
37176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37177 ac_ext=c
37178 ac_cpp='$CPP $CPPFLAGS'
37179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37188 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37190 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37191 for ac_func in frexpf
37192 do :
37193 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37194 if test "x$ac_cv_func_frexpf" = x""yes; then :
37195 cat >>confdefs.h <<_ACEOF
37196 #define HAVE_FREXPF 1
37197 _ACEOF
37200 done
37202 else
37204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37205 $as_echo_n "checking for _frexpf declaration... " >&6; }
37206 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37207 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37208 $as_echo_n "(cached) " >&6
37209 else
37212 ac_ext=cpp
37213 ac_cpp='$CXXCPP $CPPFLAGS'
37214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37219 /* end confdefs.h. */
37220 #include <math.h>
37222 main ()
37224 _frexpf(0, 0);
37226 return 0;
37228 _ACEOF
37229 if ac_fn_cxx_try_compile "$LINENO"; then :
37230 glibcxx_cv_func__frexpf_use=yes
37231 else
37232 glibcxx_cv_func__frexpf_use=no
37234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37235 ac_ext=c
37236 ac_cpp='$CPP $CPPFLAGS'
37237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37246 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37248 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37249 for ac_func in _frexpf
37250 do :
37251 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37252 if test "x$ac_cv_func__frexpf" = x""yes; then :
37253 cat >>confdefs.h <<_ACEOF
37254 #define HAVE__FREXPF 1
37255 _ACEOF
37258 done
37267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37268 $as_echo_n "checking for hypotf declaration... " >&6; }
37269 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37270 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37271 $as_echo_n "(cached) " >&6
37272 else
37275 ac_ext=cpp
37276 ac_cpp='$CXXCPP $CPPFLAGS'
37277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37282 /* end confdefs.h. */
37283 #include <math.h>
37285 main ()
37287 hypotf(0, 0);
37289 return 0;
37291 _ACEOF
37292 if ac_fn_cxx_try_compile "$LINENO"; then :
37293 glibcxx_cv_func_hypotf_use=yes
37294 else
37295 glibcxx_cv_func_hypotf_use=no
37297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37298 ac_ext=c
37299 ac_cpp='$CPP $CPPFLAGS'
37300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37309 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37311 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37312 for ac_func in hypotf
37313 do :
37314 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37315 if test "x$ac_cv_func_hypotf" = x""yes; then :
37316 cat >>confdefs.h <<_ACEOF
37317 #define HAVE_HYPOTF 1
37318 _ACEOF
37321 done
37323 else
37325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37326 $as_echo_n "checking for _hypotf declaration... " >&6; }
37327 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37328 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37329 $as_echo_n "(cached) " >&6
37330 else
37333 ac_ext=cpp
37334 ac_cpp='$CXXCPP $CPPFLAGS'
37335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37340 /* end confdefs.h. */
37341 #include <math.h>
37343 main ()
37345 _hypotf(0, 0);
37347 return 0;
37349 _ACEOF
37350 if ac_fn_cxx_try_compile "$LINENO"; then :
37351 glibcxx_cv_func__hypotf_use=yes
37352 else
37353 glibcxx_cv_func__hypotf_use=no
37355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37356 ac_ext=c
37357 ac_cpp='$CPP $CPPFLAGS'
37358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37367 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37369 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37370 for ac_func in _hypotf
37371 do :
37372 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37373 if test "x$ac_cv_func__hypotf" = x""yes; then :
37374 cat >>confdefs.h <<_ACEOF
37375 #define HAVE__HYPOTF 1
37376 _ACEOF
37379 done
37388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37389 $as_echo_n "checking for ldexpf declaration... " >&6; }
37390 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37391 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37392 $as_echo_n "(cached) " >&6
37393 else
37396 ac_ext=cpp
37397 ac_cpp='$CXXCPP $CPPFLAGS'
37398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37403 /* end confdefs.h. */
37404 #include <math.h>
37406 main ()
37408 ldexpf(0, 0);
37410 return 0;
37412 _ACEOF
37413 if ac_fn_cxx_try_compile "$LINENO"; then :
37414 glibcxx_cv_func_ldexpf_use=yes
37415 else
37416 glibcxx_cv_func_ldexpf_use=no
37418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37419 ac_ext=c
37420 ac_cpp='$CPP $CPPFLAGS'
37421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37430 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37432 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37433 for ac_func in ldexpf
37434 do :
37435 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37436 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37437 cat >>confdefs.h <<_ACEOF
37438 #define HAVE_LDEXPF 1
37439 _ACEOF
37442 done
37444 else
37446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37447 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37448 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37449 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37450 $as_echo_n "(cached) " >&6
37451 else
37454 ac_ext=cpp
37455 ac_cpp='$CXXCPP $CPPFLAGS'
37456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37461 /* end confdefs.h. */
37462 #include <math.h>
37464 main ()
37466 _ldexpf(0, 0);
37468 return 0;
37470 _ACEOF
37471 if ac_fn_cxx_try_compile "$LINENO"; then :
37472 glibcxx_cv_func__ldexpf_use=yes
37473 else
37474 glibcxx_cv_func__ldexpf_use=no
37476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37477 ac_ext=c
37478 ac_cpp='$CPP $CPPFLAGS'
37479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37488 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37490 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37491 for ac_func in _ldexpf
37492 do :
37493 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37494 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37495 cat >>confdefs.h <<_ACEOF
37496 #define HAVE__LDEXPF 1
37497 _ACEOF
37500 done
37509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37510 $as_echo_n "checking for logf declaration... " >&6; }
37511 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37512 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37513 $as_echo_n "(cached) " >&6
37514 else
37517 ac_ext=cpp
37518 ac_cpp='$CXXCPP $CPPFLAGS'
37519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37524 /* end confdefs.h. */
37525 #include <math.h>
37526 #ifdef HAVE_IEEEFP_H
37527 #include <ieeefp.h>
37528 #endif
37531 main ()
37533 logf(0);
37535 return 0;
37537 _ACEOF
37538 if ac_fn_cxx_try_compile "$LINENO"; then :
37539 glibcxx_cv_func_logf_use=yes
37540 else
37541 glibcxx_cv_func_logf_use=no
37543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37544 ac_ext=c
37545 ac_cpp='$CPP $CPPFLAGS'
37546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37555 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37557 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37558 for ac_func in logf
37559 do :
37560 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37561 if test "x$ac_cv_func_logf" = x""yes; then :
37562 cat >>confdefs.h <<_ACEOF
37563 #define HAVE_LOGF 1
37564 _ACEOF
37567 done
37569 else
37571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37572 $as_echo_n "checking for _logf declaration... " >&6; }
37573 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37574 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37575 $as_echo_n "(cached) " >&6
37576 else
37579 ac_ext=cpp
37580 ac_cpp='$CXXCPP $CPPFLAGS'
37581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37586 /* end confdefs.h. */
37587 #include <math.h>
37588 #ifdef HAVE_IEEEFP_H
37589 #include <ieeefp.h>
37590 #endif
37593 main ()
37595 _logf(0);
37597 return 0;
37599 _ACEOF
37600 if ac_fn_cxx_try_compile "$LINENO"; then :
37601 glibcxx_cv_func__logf_use=yes
37602 else
37603 glibcxx_cv_func__logf_use=no
37605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37606 ac_ext=c
37607 ac_cpp='$CPP $CPPFLAGS'
37608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37617 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37619 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37620 for ac_func in _logf
37621 do :
37622 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37623 if test "x$ac_cv_func__logf" = x""yes; then :
37624 cat >>confdefs.h <<_ACEOF
37625 #define HAVE__LOGF 1
37626 _ACEOF
37629 done
37638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37639 $as_echo_n "checking for log10f declaration... " >&6; }
37640 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37641 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37642 $as_echo_n "(cached) " >&6
37643 else
37646 ac_ext=cpp
37647 ac_cpp='$CXXCPP $CPPFLAGS'
37648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37653 /* end confdefs.h. */
37654 #include <math.h>
37655 #ifdef HAVE_IEEEFP_H
37656 #include <ieeefp.h>
37657 #endif
37660 main ()
37662 log10f(0);
37664 return 0;
37666 _ACEOF
37667 if ac_fn_cxx_try_compile "$LINENO"; then :
37668 glibcxx_cv_func_log10f_use=yes
37669 else
37670 glibcxx_cv_func_log10f_use=no
37672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37673 ac_ext=c
37674 ac_cpp='$CPP $CPPFLAGS'
37675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37684 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37686 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37687 for ac_func in log10f
37688 do :
37689 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37690 if test "x$ac_cv_func_log10f" = x""yes; then :
37691 cat >>confdefs.h <<_ACEOF
37692 #define HAVE_LOG10F 1
37693 _ACEOF
37696 done
37698 else
37700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37701 $as_echo_n "checking for _log10f declaration... " >&6; }
37702 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37703 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37704 $as_echo_n "(cached) " >&6
37705 else
37708 ac_ext=cpp
37709 ac_cpp='$CXXCPP $CPPFLAGS'
37710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37715 /* end confdefs.h. */
37716 #include <math.h>
37717 #ifdef HAVE_IEEEFP_H
37718 #include <ieeefp.h>
37719 #endif
37722 main ()
37724 _log10f(0);
37726 return 0;
37728 _ACEOF
37729 if ac_fn_cxx_try_compile "$LINENO"; then :
37730 glibcxx_cv_func__log10f_use=yes
37731 else
37732 glibcxx_cv_func__log10f_use=no
37734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37735 ac_ext=c
37736 ac_cpp='$CPP $CPPFLAGS'
37737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37746 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37748 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37749 for ac_func in _log10f
37750 do :
37751 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37752 if test "x$ac_cv_func__log10f" = x""yes; then :
37753 cat >>confdefs.h <<_ACEOF
37754 #define HAVE__LOG10F 1
37755 _ACEOF
37758 done
37767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37768 $as_echo_n "checking for modff declaration... " >&6; }
37769 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37770 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37771 $as_echo_n "(cached) " >&6
37772 else
37775 ac_ext=cpp
37776 ac_cpp='$CXXCPP $CPPFLAGS'
37777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37782 /* end confdefs.h. */
37783 #include <math.h>
37785 main ()
37787 modff(0, 0);
37789 return 0;
37791 _ACEOF
37792 if ac_fn_cxx_try_compile "$LINENO"; then :
37793 glibcxx_cv_func_modff_use=yes
37794 else
37795 glibcxx_cv_func_modff_use=no
37797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37798 ac_ext=c
37799 ac_cpp='$CPP $CPPFLAGS'
37800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37809 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37811 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37812 for ac_func in modff
37813 do :
37814 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37815 if test "x$ac_cv_func_modff" = x""yes; then :
37816 cat >>confdefs.h <<_ACEOF
37817 #define HAVE_MODFF 1
37818 _ACEOF
37821 done
37823 else
37825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37826 $as_echo_n "checking for _modff declaration... " >&6; }
37827 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37828 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37829 $as_echo_n "(cached) " >&6
37830 else
37833 ac_ext=cpp
37834 ac_cpp='$CXXCPP $CPPFLAGS'
37835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37840 /* end confdefs.h. */
37841 #include <math.h>
37843 main ()
37845 _modff(0, 0);
37847 return 0;
37849 _ACEOF
37850 if ac_fn_cxx_try_compile "$LINENO"; then :
37851 glibcxx_cv_func__modff_use=yes
37852 else
37853 glibcxx_cv_func__modff_use=no
37855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37856 ac_ext=c
37857 ac_cpp='$CPP $CPPFLAGS'
37858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37867 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37869 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37870 for ac_func in _modff
37871 do :
37872 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37873 if test "x$ac_cv_func__modff" = x""yes; then :
37874 cat >>confdefs.h <<_ACEOF
37875 #define HAVE__MODFF 1
37876 _ACEOF
37879 done
37888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37889 $as_echo_n "checking for modf declaration... " >&6; }
37890 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37891 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37892 $as_echo_n "(cached) " >&6
37893 else
37896 ac_ext=cpp
37897 ac_cpp='$CXXCPP $CPPFLAGS'
37898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37903 /* end confdefs.h. */
37904 #include <math.h>
37906 main ()
37908 modf(0, 0);
37910 return 0;
37912 _ACEOF
37913 if ac_fn_cxx_try_compile "$LINENO"; then :
37914 glibcxx_cv_func_modf_use=yes
37915 else
37916 glibcxx_cv_func_modf_use=no
37918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37919 ac_ext=c
37920 ac_cpp='$CPP $CPPFLAGS'
37921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37930 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37932 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37933 for ac_func in modf
37934 do :
37935 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37936 if test "x$ac_cv_func_modf" = x""yes; then :
37937 cat >>confdefs.h <<_ACEOF
37938 #define HAVE_MODF 1
37939 _ACEOF
37942 done
37944 else
37946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37947 $as_echo_n "checking for _modf declaration... " >&6; }
37948 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37949 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37950 $as_echo_n "(cached) " >&6
37951 else
37954 ac_ext=cpp
37955 ac_cpp='$CXXCPP $CPPFLAGS'
37956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37961 /* end confdefs.h. */
37962 #include <math.h>
37964 main ()
37966 _modf(0, 0);
37968 return 0;
37970 _ACEOF
37971 if ac_fn_cxx_try_compile "$LINENO"; then :
37972 glibcxx_cv_func__modf_use=yes
37973 else
37974 glibcxx_cv_func__modf_use=no
37976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37977 ac_ext=c
37978 ac_cpp='$CPP $CPPFLAGS'
37979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37988 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37990 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37991 for ac_func in _modf
37992 do :
37993 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37994 if test "x$ac_cv_func__modf" = x""yes; then :
37995 cat >>confdefs.h <<_ACEOF
37996 #define HAVE__MODF 1
37997 _ACEOF
38000 done
38009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38010 $as_echo_n "checking for powf declaration... " >&6; }
38011 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38012 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38013 $as_echo_n "(cached) " >&6
38014 else
38017 ac_ext=cpp
38018 ac_cpp='$CXXCPP $CPPFLAGS'
38019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38024 /* end confdefs.h. */
38025 #include <math.h>
38027 main ()
38029 powf(0, 0);
38031 return 0;
38033 _ACEOF
38034 if ac_fn_cxx_try_compile "$LINENO"; then :
38035 glibcxx_cv_func_powf_use=yes
38036 else
38037 glibcxx_cv_func_powf_use=no
38039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38040 ac_ext=c
38041 ac_cpp='$CPP $CPPFLAGS'
38042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38051 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38053 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38054 for ac_func in powf
38055 do :
38056 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38057 if test "x$ac_cv_func_powf" = x""yes; then :
38058 cat >>confdefs.h <<_ACEOF
38059 #define HAVE_POWF 1
38060 _ACEOF
38063 done
38065 else
38067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38068 $as_echo_n "checking for _powf declaration... " >&6; }
38069 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38070 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38071 $as_echo_n "(cached) " >&6
38072 else
38075 ac_ext=cpp
38076 ac_cpp='$CXXCPP $CPPFLAGS'
38077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38082 /* end confdefs.h. */
38083 #include <math.h>
38085 main ()
38087 _powf(0, 0);
38089 return 0;
38091 _ACEOF
38092 if ac_fn_cxx_try_compile "$LINENO"; then :
38093 glibcxx_cv_func__powf_use=yes
38094 else
38095 glibcxx_cv_func__powf_use=no
38097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38098 ac_ext=c
38099 ac_cpp='$CPP $CPPFLAGS'
38100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38109 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38111 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38112 for ac_func in _powf
38113 do :
38114 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38115 if test "x$ac_cv_func__powf" = x""yes; then :
38116 cat >>confdefs.h <<_ACEOF
38117 #define HAVE__POWF 1
38118 _ACEOF
38121 done
38130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38131 $as_echo_n "checking for sqrtf declaration... " >&6; }
38132 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38133 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38134 $as_echo_n "(cached) " >&6
38135 else
38138 ac_ext=cpp
38139 ac_cpp='$CXXCPP $CPPFLAGS'
38140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38145 /* end confdefs.h. */
38146 #include <math.h>
38147 #ifdef HAVE_IEEEFP_H
38148 #include <ieeefp.h>
38149 #endif
38152 main ()
38154 sqrtf(0);
38156 return 0;
38158 _ACEOF
38159 if ac_fn_cxx_try_compile "$LINENO"; then :
38160 glibcxx_cv_func_sqrtf_use=yes
38161 else
38162 glibcxx_cv_func_sqrtf_use=no
38164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38165 ac_ext=c
38166 ac_cpp='$CPP $CPPFLAGS'
38167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38176 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38178 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38179 for ac_func in sqrtf
38180 do :
38181 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38182 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38183 cat >>confdefs.h <<_ACEOF
38184 #define HAVE_SQRTF 1
38185 _ACEOF
38188 done
38190 else
38192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38193 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38194 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38195 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38196 $as_echo_n "(cached) " >&6
38197 else
38200 ac_ext=cpp
38201 ac_cpp='$CXXCPP $CPPFLAGS'
38202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38207 /* end confdefs.h. */
38208 #include <math.h>
38209 #ifdef HAVE_IEEEFP_H
38210 #include <ieeefp.h>
38211 #endif
38214 main ()
38216 _sqrtf(0);
38218 return 0;
38220 _ACEOF
38221 if ac_fn_cxx_try_compile "$LINENO"; then :
38222 glibcxx_cv_func__sqrtf_use=yes
38223 else
38224 glibcxx_cv_func__sqrtf_use=no
38226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38227 ac_ext=c
38228 ac_cpp='$CPP $CPPFLAGS'
38229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38238 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38240 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38241 for ac_func in _sqrtf
38242 do :
38243 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38244 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38245 cat >>confdefs.h <<_ACEOF
38246 #define HAVE__SQRTF 1
38247 _ACEOF
38250 done
38259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38260 $as_echo_n "checking for sincosf declaration... " >&6; }
38261 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38262 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38263 $as_echo_n "(cached) " >&6
38264 else
38267 ac_ext=cpp
38268 ac_cpp='$CXXCPP $CPPFLAGS'
38269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38274 /* end confdefs.h. */
38275 #include <math.h>
38277 main ()
38279 sincosf(0, 0, 0);
38281 return 0;
38283 _ACEOF
38284 if ac_fn_cxx_try_compile "$LINENO"; then :
38285 glibcxx_cv_func_sincosf_use=yes
38286 else
38287 glibcxx_cv_func_sincosf_use=no
38289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38290 ac_ext=c
38291 ac_cpp='$CPP $CPPFLAGS'
38292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38301 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38303 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38304 for ac_func in sincosf
38305 do :
38306 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38307 if test "x$ac_cv_func_sincosf" = x""yes; then :
38308 cat >>confdefs.h <<_ACEOF
38309 #define HAVE_SINCOSF 1
38310 _ACEOF
38313 done
38315 else
38317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38318 $as_echo_n "checking for _sincosf declaration... " >&6; }
38319 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38320 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38321 $as_echo_n "(cached) " >&6
38322 else
38325 ac_ext=cpp
38326 ac_cpp='$CXXCPP $CPPFLAGS'
38327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38332 /* end confdefs.h. */
38333 #include <math.h>
38335 main ()
38337 _sincosf(0, 0, 0);
38339 return 0;
38341 _ACEOF
38342 if ac_fn_cxx_try_compile "$LINENO"; then :
38343 glibcxx_cv_func__sincosf_use=yes
38344 else
38345 glibcxx_cv_func__sincosf_use=no
38347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38348 ac_ext=c
38349 ac_cpp='$CPP $CPPFLAGS'
38350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38359 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38361 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38362 for ac_func in _sincosf
38363 do :
38364 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38365 if test "x$ac_cv_func__sincosf" = x""yes; then :
38366 cat >>confdefs.h <<_ACEOF
38367 #define HAVE__SINCOSF 1
38368 _ACEOF
38371 done
38380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38381 $as_echo_n "checking for finitef declaration... " >&6; }
38382 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38383 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38384 $as_echo_n "(cached) " >&6
38385 else
38388 ac_ext=cpp
38389 ac_cpp='$CXXCPP $CPPFLAGS'
38390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38395 /* end confdefs.h. */
38396 #include <math.h>
38397 #ifdef HAVE_IEEEFP_H
38398 #include <ieeefp.h>
38399 #endif
38402 main ()
38404 finitef(0);
38406 return 0;
38408 _ACEOF
38409 if ac_fn_cxx_try_compile "$LINENO"; then :
38410 glibcxx_cv_func_finitef_use=yes
38411 else
38412 glibcxx_cv_func_finitef_use=no
38414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38415 ac_ext=c
38416 ac_cpp='$CPP $CPPFLAGS'
38417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38426 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38428 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38429 for ac_func in finitef
38430 do :
38431 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38432 if test "x$ac_cv_func_finitef" = x""yes; then :
38433 cat >>confdefs.h <<_ACEOF
38434 #define HAVE_FINITEF 1
38435 _ACEOF
38438 done
38440 else
38442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38443 $as_echo_n "checking for _finitef declaration... " >&6; }
38444 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38445 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38446 $as_echo_n "(cached) " >&6
38447 else
38450 ac_ext=cpp
38451 ac_cpp='$CXXCPP $CPPFLAGS'
38452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38457 /* end confdefs.h. */
38458 #include <math.h>
38459 #ifdef HAVE_IEEEFP_H
38460 #include <ieeefp.h>
38461 #endif
38464 main ()
38466 _finitef(0);
38468 return 0;
38470 _ACEOF
38471 if ac_fn_cxx_try_compile "$LINENO"; then :
38472 glibcxx_cv_func__finitef_use=yes
38473 else
38474 glibcxx_cv_func__finitef_use=no
38476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38477 ac_ext=c
38478 ac_cpp='$CPP $CPPFLAGS'
38479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38488 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38490 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38491 for ac_func in _finitef
38492 do :
38493 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38494 if test "x$ac_cv_func__finitef" = x""yes; then :
38495 cat >>confdefs.h <<_ACEOF
38496 #define HAVE__FINITEF 1
38497 _ACEOF
38500 done
38509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38510 $as_echo_n "checking for long double trig functions... " >&6; }
38511 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38512 $as_echo_n "(cached) " >&6
38513 else
38516 ac_ext=cpp
38517 ac_cpp='$CXXCPP $CPPFLAGS'
38518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38523 /* end confdefs.h. */
38524 #include <math.h>
38526 main ()
38528 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38530 return 0;
38532 _ACEOF
38533 if ac_fn_cxx_try_compile "$LINENO"; then :
38534 glibcxx_cv_func_long_double_trig_use=yes
38535 else
38536 glibcxx_cv_func_long_double_trig_use=no
38538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38539 ac_ext=c
38540 ac_cpp='$CPP $CPPFLAGS'
38541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38548 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38549 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38550 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38551 do :
38552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38554 eval as_val=\$$as_ac_var
38555 if test "x$as_val" = x""yes; then :
38556 cat >>confdefs.h <<_ACEOF
38557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38558 _ACEOF
38561 done
38563 else
38564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38565 $as_echo_n "checking for _long double trig functions... " >&6; }
38566 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38567 $as_echo_n "(cached) " >&6
38568 else
38571 ac_ext=cpp
38572 ac_cpp='$CXXCPP $CPPFLAGS'
38573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38578 /* end confdefs.h. */
38579 #include <math.h>
38581 main ()
38583 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38585 return 0;
38587 _ACEOF
38588 if ac_fn_cxx_try_compile "$LINENO"; then :
38589 glibcxx_cv_func__long_double_trig_use=yes
38590 else
38591 glibcxx_cv_func__long_double_trig_use=no
38593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38594 ac_ext=c
38595 ac_cpp='$CPP $CPPFLAGS'
38596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38603 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38604 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38605 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38606 do :
38607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38609 eval as_val=\$$as_ac_var
38610 if test "x$as_val" = x""yes; then :
38611 cat >>confdefs.h <<_ACEOF
38612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38613 _ACEOF
38616 done
38625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38626 $as_echo_n "checking for long double round functions... " >&6; }
38627 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38628 $as_echo_n "(cached) " >&6
38629 else
38632 ac_ext=cpp
38633 ac_cpp='$CXXCPP $CPPFLAGS'
38634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38639 /* end confdefs.h. */
38640 #include <math.h>
38642 main ()
38644 ceill (0); floorl (0);
38646 return 0;
38648 _ACEOF
38649 if ac_fn_cxx_try_compile "$LINENO"; then :
38650 glibcxx_cv_func_long_double_round_use=yes
38651 else
38652 glibcxx_cv_func_long_double_round_use=no
38654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38655 ac_ext=c
38656 ac_cpp='$CPP $CPPFLAGS'
38657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38664 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38665 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38666 for ac_func in ceill floorl
38667 do :
38668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38670 eval as_val=\$$as_ac_var
38671 if test "x$as_val" = x""yes; then :
38672 cat >>confdefs.h <<_ACEOF
38673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38674 _ACEOF
38677 done
38679 else
38680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38681 $as_echo_n "checking for _long double round functions... " >&6; }
38682 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38683 $as_echo_n "(cached) " >&6
38684 else
38687 ac_ext=cpp
38688 ac_cpp='$CXXCPP $CPPFLAGS'
38689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38694 /* end confdefs.h. */
38695 #include <math.h>
38697 main ()
38699 _ceill (0); _floorl (0);
38701 return 0;
38703 _ACEOF
38704 if ac_fn_cxx_try_compile "$LINENO"; then :
38705 glibcxx_cv_func__long_double_round_use=yes
38706 else
38707 glibcxx_cv_func__long_double_round_use=no
38709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38710 ac_ext=c
38711 ac_cpp='$CPP $CPPFLAGS'
38712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38719 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38720 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38721 for ac_func in _ceill _floorl
38722 do :
38723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38725 eval as_val=\$$as_ac_var
38726 if test "x$as_val" = x""yes; then :
38727 cat >>confdefs.h <<_ACEOF
38728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38729 _ACEOF
38732 done
38742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38743 $as_echo_n "checking for isnanl declaration... " >&6; }
38744 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38745 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38746 $as_echo_n "(cached) " >&6
38747 else
38750 ac_ext=cpp
38751 ac_cpp='$CXXCPP $CPPFLAGS'
38752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38757 /* end confdefs.h. */
38758 #include <math.h>
38759 #ifdef HAVE_IEEEFP_H
38760 #include <ieeefp.h>
38761 #endif
38764 main ()
38766 isnanl(0);
38768 return 0;
38770 _ACEOF
38771 if ac_fn_cxx_try_compile "$LINENO"; then :
38772 glibcxx_cv_func_isnanl_use=yes
38773 else
38774 glibcxx_cv_func_isnanl_use=no
38776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38777 ac_ext=c
38778 ac_cpp='$CPP $CPPFLAGS'
38779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38788 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38790 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38791 for ac_func in isnanl
38792 do :
38793 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38794 if test "x$ac_cv_func_isnanl" = x""yes; then :
38795 cat >>confdefs.h <<_ACEOF
38796 #define HAVE_ISNANL 1
38797 _ACEOF
38800 done
38802 else
38804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38805 $as_echo_n "checking for _isnanl declaration... " >&6; }
38806 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38807 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38808 $as_echo_n "(cached) " >&6
38809 else
38812 ac_ext=cpp
38813 ac_cpp='$CXXCPP $CPPFLAGS'
38814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38819 /* end confdefs.h. */
38820 #include <math.h>
38821 #ifdef HAVE_IEEEFP_H
38822 #include <ieeefp.h>
38823 #endif
38826 main ()
38828 _isnanl(0);
38830 return 0;
38832 _ACEOF
38833 if ac_fn_cxx_try_compile "$LINENO"; then :
38834 glibcxx_cv_func__isnanl_use=yes
38835 else
38836 glibcxx_cv_func__isnanl_use=no
38838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38839 ac_ext=c
38840 ac_cpp='$CPP $CPPFLAGS'
38841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38850 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38852 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38853 for ac_func in _isnanl
38854 do :
38855 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38856 if test "x$ac_cv_func__isnanl" = x""yes; then :
38857 cat >>confdefs.h <<_ACEOF
38858 #define HAVE__ISNANL 1
38859 _ACEOF
38862 done
38871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38872 $as_echo_n "checking for isinfl declaration... " >&6; }
38873 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38874 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38875 $as_echo_n "(cached) " >&6
38876 else
38879 ac_ext=cpp
38880 ac_cpp='$CXXCPP $CPPFLAGS'
38881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38886 /* end confdefs.h. */
38887 #include <math.h>
38888 #ifdef HAVE_IEEEFP_H
38889 #include <ieeefp.h>
38890 #endif
38893 main ()
38895 isinfl(0);
38897 return 0;
38899 _ACEOF
38900 if ac_fn_cxx_try_compile "$LINENO"; then :
38901 glibcxx_cv_func_isinfl_use=yes
38902 else
38903 glibcxx_cv_func_isinfl_use=no
38905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38906 ac_ext=c
38907 ac_cpp='$CPP $CPPFLAGS'
38908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38917 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38919 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38920 for ac_func in isinfl
38921 do :
38922 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38923 if test "x$ac_cv_func_isinfl" = x""yes; then :
38924 cat >>confdefs.h <<_ACEOF
38925 #define HAVE_ISINFL 1
38926 _ACEOF
38929 done
38931 else
38933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38934 $as_echo_n "checking for _isinfl declaration... " >&6; }
38935 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38936 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38937 $as_echo_n "(cached) " >&6
38938 else
38941 ac_ext=cpp
38942 ac_cpp='$CXXCPP $CPPFLAGS'
38943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38948 /* end confdefs.h. */
38949 #include <math.h>
38950 #ifdef HAVE_IEEEFP_H
38951 #include <ieeefp.h>
38952 #endif
38955 main ()
38957 _isinfl(0);
38959 return 0;
38961 _ACEOF
38962 if ac_fn_cxx_try_compile "$LINENO"; then :
38963 glibcxx_cv_func__isinfl_use=yes
38964 else
38965 glibcxx_cv_func__isinfl_use=no
38967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38968 ac_ext=c
38969 ac_cpp='$CPP $CPPFLAGS'
38970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38979 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38981 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38982 for ac_func in _isinfl
38983 do :
38984 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38985 if test "x$ac_cv_func__isinfl" = x""yes; then :
38986 cat >>confdefs.h <<_ACEOF
38987 #define HAVE__ISINFL 1
38988 _ACEOF
38991 done
39000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39001 $as_echo_n "checking for atan2l declaration... " >&6; }
39002 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39003 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39004 $as_echo_n "(cached) " >&6
39005 else
39008 ac_ext=cpp
39009 ac_cpp='$CXXCPP $CPPFLAGS'
39010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39015 /* end confdefs.h. */
39016 #include <math.h>
39018 main ()
39020 atan2l(0, 0);
39022 return 0;
39024 _ACEOF
39025 if ac_fn_cxx_try_compile "$LINENO"; then :
39026 glibcxx_cv_func_atan2l_use=yes
39027 else
39028 glibcxx_cv_func_atan2l_use=no
39030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39031 ac_ext=c
39032 ac_cpp='$CPP $CPPFLAGS'
39033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39042 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39044 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39045 for ac_func in atan2l
39046 do :
39047 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39048 if test "x$ac_cv_func_atan2l" = x""yes; then :
39049 cat >>confdefs.h <<_ACEOF
39050 #define HAVE_ATAN2L 1
39051 _ACEOF
39054 done
39056 else
39058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39059 $as_echo_n "checking for _atan2l declaration... " >&6; }
39060 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39061 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39062 $as_echo_n "(cached) " >&6
39063 else
39066 ac_ext=cpp
39067 ac_cpp='$CXXCPP $CPPFLAGS'
39068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39073 /* end confdefs.h. */
39074 #include <math.h>
39076 main ()
39078 _atan2l(0, 0);
39080 return 0;
39082 _ACEOF
39083 if ac_fn_cxx_try_compile "$LINENO"; then :
39084 glibcxx_cv_func__atan2l_use=yes
39085 else
39086 glibcxx_cv_func__atan2l_use=no
39088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39089 ac_ext=c
39090 ac_cpp='$CPP $CPPFLAGS'
39091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39100 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39102 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39103 for ac_func in _atan2l
39104 do :
39105 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39106 if test "x$ac_cv_func__atan2l" = x""yes; then :
39107 cat >>confdefs.h <<_ACEOF
39108 #define HAVE__ATAN2L 1
39109 _ACEOF
39112 done
39121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39122 $as_echo_n "checking for expl declaration... " >&6; }
39123 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39124 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39125 $as_echo_n "(cached) " >&6
39126 else
39129 ac_ext=cpp
39130 ac_cpp='$CXXCPP $CPPFLAGS'
39131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39136 /* end confdefs.h. */
39137 #include <math.h>
39138 #ifdef HAVE_IEEEFP_H
39139 #include <ieeefp.h>
39140 #endif
39143 main ()
39145 expl(0);
39147 return 0;
39149 _ACEOF
39150 if ac_fn_cxx_try_compile "$LINENO"; then :
39151 glibcxx_cv_func_expl_use=yes
39152 else
39153 glibcxx_cv_func_expl_use=no
39155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39156 ac_ext=c
39157 ac_cpp='$CPP $CPPFLAGS'
39158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39167 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39169 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39170 for ac_func in expl
39171 do :
39172 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39173 if test "x$ac_cv_func_expl" = x""yes; then :
39174 cat >>confdefs.h <<_ACEOF
39175 #define HAVE_EXPL 1
39176 _ACEOF
39179 done
39181 else
39183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39184 $as_echo_n "checking for _expl declaration... " >&6; }
39185 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39186 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39187 $as_echo_n "(cached) " >&6
39188 else
39191 ac_ext=cpp
39192 ac_cpp='$CXXCPP $CPPFLAGS'
39193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39198 /* end confdefs.h. */
39199 #include <math.h>
39200 #ifdef HAVE_IEEEFP_H
39201 #include <ieeefp.h>
39202 #endif
39205 main ()
39207 _expl(0);
39209 return 0;
39211 _ACEOF
39212 if ac_fn_cxx_try_compile "$LINENO"; then :
39213 glibcxx_cv_func__expl_use=yes
39214 else
39215 glibcxx_cv_func__expl_use=no
39217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39218 ac_ext=c
39219 ac_cpp='$CPP $CPPFLAGS'
39220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39229 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39231 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39232 for ac_func in _expl
39233 do :
39234 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39235 if test "x$ac_cv_func__expl" = x""yes; then :
39236 cat >>confdefs.h <<_ACEOF
39237 #define HAVE__EXPL 1
39238 _ACEOF
39241 done
39250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39251 $as_echo_n "checking for fabsl declaration... " >&6; }
39252 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39253 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39254 $as_echo_n "(cached) " >&6
39255 else
39258 ac_ext=cpp
39259 ac_cpp='$CXXCPP $CPPFLAGS'
39260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39265 /* end confdefs.h. */
39266 #include <math.h>
39267 #ifdef HAVE_IEEEFP_H
39268 #include <ieeefp.h>
39269 #endif
39272 main ()
39274 fabsl(0);
39276 return 0;
39278 _ACEOF
39279 if ac_fn_cxx_try_compile "$LINENO"; then :
39280 glibcxx_cv_func_fabsl_use=yes
39281 else
39282 glibcxx_cv_func_fabsl_use=no
39284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39285 ac_ext=c
39286 ac_cpp='$CPP $CPPFLAGS'
39287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39296 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39298 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39299 for ac_func in fabsl
39300 do :
39301 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39302 if test "x$ac_cv_func_fabsl" = x""yes; then :
39303 cat >>confdefs.h <<_ACEOF
39304 #define HAVE_FABSL 1
39305 _ACEOF
39308 done
39310 else
39312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39313 $as_echo_n "checking for _fabsl declaration... " >&6; }
39314 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39315 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39316 $as_echo_n "(cached) " >&6
39317 else
39320 ac_ext=cpp
39321 ac_cpp='$CXXCPP $CPPFLAGS'
39322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39327 /* end confdefs.h. */
39328 #include <math.h>
39329 #ifdef HAVE_IEEEFP_H
39330 #include <ieeefp.h>
39331 #endif
39334 main ()
39336 _fabsl(0);
39338 return 0;
39340 _ACEOF
39341 if ac_fn_cxx_try_compile "$LINENO"; then :
39342 glibcxx_cv_func__fabsl_use=yes
39343 else
39344 glibcxx_cv_func__fabsl_use=no
39346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39347 ac_ext=c
39348 ac_cpp='$CPP $CPPFLAGS'
39349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39358 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39360 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39361 for ac_func in _fabsl
39362 do :
39363 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39364 if test "x$ac_cv_func__fabsl" = x""yes; then :
39365 cat >>confdefs.h <<_ACEOF
39366 #define HAVE__FABSL 1
39367 _ACEOF
39370 done
39379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39380 $as_echo_n "checking for fmodl declaration... " >&6; }
39381 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39382 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39383 $as_echo_n "(cached) " >&6
39384 else
39387 ac_ext=cpp
39388 ac_cpp='$CXXCPP $CPPFLAGS'
39389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39394 /* end confdefs.h. */
39395 #include <math.h>
39397 main ()
39399 fmodl(0, 0);
39401 return 0;
39403 _ACEOF
39404 if ac_fn_cxx_try_compile "$LINENO"; then :
39405 glibcxx_cv_func_fmodl_use=yes
39406 else
39407 glibcxx_cv_func_fmodl_use=no
39409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39410 ac_ext=c
39411 ac_cpp='$CPP $CPPFLAGS'
39412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39421 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39423 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39424 for ac_func in fmodl
39425 do :
39426 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39427 if test "x$ac_cv_func_fmodl" = x""yes; then :
39428 cat >>confdefs.h <<_ACEOF
39429 #define HAVE_FMODL 1
39430 _ACEOF
39433 done
39435 else
39437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39438 $as_echo_n "checking for _fmodl declaration... " >&6; }
39439 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39440 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39441 $as_echo_n "(cached) " >&6
39442 else
39445 ac_ext=cpp
39446 ac_cpp='$CXXCPP $CPPFLAGS'
39447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39452 /* end confdefs.h. */
39453 #include <math.h>
39455 main ()
39457 _fmodl(0, 0);
39459 return 0;
39461 _ACEOF
39462 if ac_fn_cxx_try_compile "$LINENO"; then :
39463 glibcxx_cv_func__fmodl_use=yes
39464 else
39465 glibcxx_cv_func__fmodl_use=no
39467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39468 ac_ext=c
39469 ac_cpp='$CPP $CPPFLAGS'
39470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39479 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39481 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39482 for ac_func in _fmodl
39483 do :
39484 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39485 if test "x$ac_cv_func__fmodl" = x""yes; then :
39486 cat >>confdefs.h <<_ACEOF
39487 #define HAVE__FMODL 1
39488 _ACEOF
39491 done
39500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39501 $as_echo_n "checking for frexpl declaration... " >&6; }
39502 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39503 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39504 $as_echo_n "(cached) " >&6
39505 else
39508 ac_ext=cpp
39509 ac_cpp='$CXXCPP $CPPFLAGS'
39510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39515 /* end confdefs.h. */
39516 #include <math.h>
39518 main ()
39520 frexpl(0, 0);
39522 return 0;
39524 _ACEOF
39525 if ac_fn_cxx_try_compile "$LINENO"; then :
39526 glibcxx_cv_func_frexpl_use=yes
39527 else
39528 glibcxx_cv_func_frexpl_use=no
39530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39531 ac_ext=c
39532 ac_cpp='$CPP $CPPFLAGS'
39533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39542 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39544 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39545 for ac_func in frexpl
39546 do :
39547 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39548 if test "x$ac_cv_func_frexpl" = x""yes; then :
39549 cat >>confdefs.h <<_ACEOF
39550 #define HAVE_FREXPL 1
39551 _ACEOF
39554 done
39556 else
39558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39559 $as_echo_n "checking for _frexpl declaration... " >&6; }
39560 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39561 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39562 $as_echo_n "(cached) " >&6
39563 else
39566 ac_ext=cpp
39567 ac_cpp='$CXXCPP $CPPFLAGS'
39568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39573 /* end confdefs.h. */
39574 #include <math.h>
39576 main ()
39578 _frexpl(0, 0);
39580 return 0;
39582 _ACEOF
39583 if ac_fn_cxx_try_compile "$LINENO"; then :
39584 glibcxx_cv_func__frexpl_use=yes
39585 else
39586 glibcxx_cv_func__frexpl_use=no
39588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39589 ac_ext=c
39590 ac_cpp='$CPP $CPPFLAGS'
39591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39600 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39602 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39603 for ac_func in _frexpl
39604 do :
39605 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39606 if test "x$ac_cv_func__frexpl" = x""yes; then :
39607 cat >>confdefs.h <<_ACEOF
39608 #define HAVE__FREXPL 1
39609 _ACEOF
39612 done
39621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39622 $as_echo_n "checking for hypotl declaration... " >&6; }
39623 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39624 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39625 $as_echo_n "(cached) " >&6
39626 else
39629 ac_ext=cpp
39630 ac_cpp='$CXXCPP $CPPFLAGS'
39631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39636 /* end confdefs.h. */
39637 #include <math.h>
39639 main ()
39641 hypotl(0, 0);
39643 return 0;
39645 _ACEOF
39646 if ac_fn_cxx_try_compile "$LINENO"; then :
39647 glibcxx_cv_func_hypotl_use=yes
39648 else
39649 glibcxx_cv_func_hypotl_use=no
39651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39652 ac_ext=c
39653 ac_cpp='$CPP $CPPFLAGS'
39654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39663 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39665 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39666 for ac_func in hypotl
39667 do :
39668 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39669 if test "x$ac_cv_func_hypotl" = x""yes; then :
39670 cat >>confdefs.h <<_ACEOF
39671 #define HAVE_HYPOTL 1
39672 _ACEOF
39675 done
39677 else
39679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39680 $as_echo_n "checking for _hypotl declaration... " >&6; }
39681 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39682 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39683 $as_echo_n "(cached) " >&6
39684 else
39687 ac_ext=cpp
39688 ac_cpp='$CXXCPP $CPPFLAGS'
39689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39694 /* end confdefs.h. */
39695 #include <math.h>
39697 main ()
39699 _hypotl(0, 0);
39701 return 0;
39703 _ACEOF
39704 if ac_fn_cxx_try_compile "$LINENO"; then :
39705 glibcxx_cv_func__hypotl_use=yes
39706 else
39707 glibcxx_cv_func__hypotl_use=no
39709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39710 ac_ext=c
39711 ac_cpp='$CPP $CPPFLAGS'
39712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39721 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39723 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39724 for ac_func in _hypotl
39725 do :
39726 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39727 if test "x$ac_cv_func__hypotl" = x""yes; then :
39728 cat >>confdefs.h <<_ACEOF
39729 #define HAVE__HYPOTL 1
39730 _ACEOF
39733 done
39742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39743 $as_echo_n "checking for ldexpl declaration... " >&6; }
39744 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39745 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39746 $as_echo_n "(cached) " >&6
39747 else
39750 ac_ext=cpp
39751 ac_cpp='$CXXCPP $CPPFLAGS'
39752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39757 /* end confdefs.h. */
39758 #include <math.h>
39760 main ()
39762 ldexpl(0, 0);
39764 return 0;
39766 _ACEOF
39767 if ac_fn_cxx_try_compile "$LINENO"; then :
39768 glibcxx_cv_func_ldexpl_use=yes
39769 else
39770 glibcxx_cv_func_ldexpl_use=no
39772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39773 ac_ext=c
39774 ac_cpp='$CPP $CPPFLAGS'
39775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39784 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39786 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39787 for ac_func in ldexpl
39788 do :
39789 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39790 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39791 cat >>confdefs.h <<_ACEOF
39792 #define HAVE_LDEXPL 1
39793 _ACEOF
39796 done
39798 else
39800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39801 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39802 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39803 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39804 $as_echo_n "(cached) " >&6
39805 else
39808 ac_ext=cpp
39809 ac_cpp='$CXXCPP $CPPFLAGS'
39810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39815 /* end confdefs.h. */
39816 #include <math.h>
39818 main ()
39820 _ldexpl(0, 0);
39822 return 0;
39824 _ACEOF
39825 if ac_fn_cxx_try_compile "$LINENO"; then :
39826 glibcxx_cv_func__ldexpl_use=yes
39827 else
39828 glibcxx_cv_func__ldexpl_use=no
39830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39831 ac_ext=c
39832 ac_cpp='$CPP $CPPFLAGS'
39833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39842 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39844 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39845 for ac_func in _ldexpl
39846 do :
39847 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39848 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39849 cat >>confdefs.h <<_ACEOF
39850 #define HAVE__LDEXPL 1
39851 _ACEOF
39854 done
39863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39864 $as_echo_n "checking for logl declaration... " >&6; }
39865 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39866 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39867 $as_echo_n "(cached) " >&6
39868 else
39871 ac_ext=cpp
39872 ac_cpp='$CXXCPP $CPPFLAGS'
39873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39878 /* end confdefs.h. */
39879 #include <math.h>
39880 #ifdef HAVE_IEEEFP_H
39881 #include <ieeefp.h>
39882 #endif
39885 main ()
39887 logl(0);
39889 return 0;
39891 _ACEOF
39892 if ac_fn_cxx_try_compile "$LINENO"; then :
39893 glibcxx_cv_func_logl_use=yes
39894 else
39895 glibcxx_cv_func_logl_use=no
39897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39898 ac_ext=c
39899 ac_cpp='$CPP $CPPFLAGS'
39900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39909 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39911 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39912 for ac_func in logl
39913 do :
39914 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39915 if test "x$ac_cv_func_logl" = x""yes; then :
39916 cat >>confdefs.h <<_ACEOF
39917 #define HAVE_LOGL 1
39918 _ACEOF
39921 done
39923 else
39925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39926 $as_echo_n "checking for _logl declaration... " >&6; }
39927 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39928 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39929 $as_echo_n "(cached) " >&6
39930 else
39933 ac_ext=cpp
39934 ac_cpp='$CXXCPP $CPPFLAGS'
39935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39940 /* end confdefs.h. */
39941 #include <math.h>
39942 #ifdef HAVE_IEEEFP_H
39943 #include <ieeefp.h>
39944 #endif
39947 main ()
39949 _logl(0);
39951 return 0;
39953 _ACEOF
39954 if ac_fn_cxx_try_compile "$LINENO"; then :
39955 glibcxx_cv_func__logl_use=yes
39956 else
39957 glibcxx_cv_func__logl_use=no
39959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39960 ac_ext=c
39961 ac_cpp='$CPP $CPPFLAGS'
39962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39971 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39973 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39974 for ac_func in _logl
39975 do :
39976 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39977 if test "x$ac_cv_func__logl" = x""yes; then :
39978 cat >>confdefs.h <<_ACEOF
39979 #define HAVE__LOGL 1
39980 _ACEOF
39983 done
39992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39993 $as_echo_n "checking for log10l declaration... " >&6; }
39994 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39995 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39996 $as_echo_n "(cached) " >&6
39997 else
40000 ac_ext=cpp
40001 ac_cpp='$CXXCPP $CPPFLAGS'
40002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40007 /* end confdefs.h. */
40008 #include <math.h>
40009 #ifdef HAVE_IEEEFP_H
40010 #include <ieeefp.h>
40011 #endif
40014 main ()
40016 log10l(0);
40018 return 0;
40020 _ACEOF
40021 if ac_fn_cxx_try_compile "$LINENO"; then :
40022 glibcxx_cv_func_log10l_use=yes
40023 else
40024 glibcxx_cv_func_log10l_use=no
40026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40027 ac_ext=c
40028 ac_cpp='$CPP $CPPFLAGS'
40029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40038 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40040 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40041 for ac_func in log10l
40042 do :
40043 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40044 if test "x$ac_cv_func_log10l" = x""yes; then :
40045 cat >>confdefs.h <<_ACEOF
40046 #define HAVE_LOG10L 1
40047 _ACEOF
40050 done
40052 else
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40055 $as_echo_n "checking for _log10l declaration... " >&6; }
40056 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40057 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40058 $as_echo_n "(cached) " >&6
40059 else
40062 ac_ext=cpp
40063 ac_cpp='$CXXCPP $CPPFLAGS'
40064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40069 /* end confdefs.h. */
40070 #include <math.h>
40071 #ifdef HAVE_IEEEFP_H
40072 #include <ieeefp.h>
40073 #endif
40076 main ()
40078 _log10l(0);
40080 return 0;
40082 _ACEOF
40083 if ac_fn_cxx_try_compile "$LINENO"; then :
40084 glibcxx_cv_func__log10l_use=yes
40085 else
40086 glibcxx_cv_func__log10l_use=no
40088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40089 ac_ext=c
40090 ac_cpp='$CPP $CPPFLAGS'
40091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40100 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40102 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40103 for ac_func in _log10l
40104 do :
40105 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40106 if test "x$ac_cv_func__log10l" = x""yes; then :
40107 cat >>confdefs.h <<_ACEOF
40108 #define HAVE__LOG10L 1
40109 _ACEOF
40112 done
40121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40122 $as_echo_n "checking for modfl declaration... " >&6; }
40123 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40124 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40125 $as_echo_n "(cached) " >&6
40126 else
40129 ac_ext=cpp
40130 ac_cpp='$CXXCPP $CPPFLAGS'
40131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40136 /* end confdefs.h. */
40137 #include <math.h>
40139 main ()
40141 modfl(0, 0);
40143 return 0;
40145 _ACEOF
40146 if ac_fn_cxx_try_compile "$LINENO"; then :
40147 glibcxx_cv_func_modfl_use=yes
40148 else
40149 glibcxx_cv_func_modfl_use=no
40151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40152 ac_ext=c
40153 ac_cpp='$CPP $CPPFLAGS'
40154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40163 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40165 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40166 for ac_func in modfl
40167 do :
40168 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40169 if test "x$ac_cv_func_modfl" = x""yes; then :
40170 cat >>confdefs.h <<_ACEOF
40171 #define HAVE_MODFL 1
40172 _ACEOF
40175 done
40177 else
40179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40180 $as_echo_n "checking for _modfl declaration... " >&6; }
40181 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40182 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40183 $as_echo_n "(cached) " >&6
40184 else
40187 ac_ext=cpp
40188 ac_cpp='$CXXCPP $CPPFLAGS'
40189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40194 /* end confdefs.h. */
40195 #include <math.h>
40197 main ()
40199 _modfl(0, 0);
40201 return 0;
40203 _ACEOF
40204 if ac_fn_cxx_try_compile "$LINENO"; then :
40205 glibcxx_cv_func__modfl_use=yes
40206 else
40207 glibcxx_cv_func__modfl_use=no
40209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40210 ac_ext=c
40211 ac_cpp='$CPP $CPPFLAGS'
40212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40221 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40223 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40224 for ac_func in _modfl
40225 do :
40226 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40227 if test "x$ac_cv_func__modfl" = x""yes; then :
40228 cat >>confdefs.h <<_ACEOF
40229 #define HAVE__MODFL 1
40230 _ACEOF
40233 done
40242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40243 $as_echo_n "checking for powl declaration... " >&6; }
40244 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40245 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40246 $as_echo_n "(cached) " >&6
40247 else
40250 ac_ext=cpp
40251 ac_cpp='$CXXCPP $CPPFLAGS'
40252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40257 /* end confdefs.h. */
40258 #include <math.h>
40260 main ()
40262 powl(0, 0);
40264 return 0;
40266 _ACEOF
40267 if ac_fn_cxx_try_compile "$LINENO"; then :
40268 glibcxx_cv_func_powl_use=yes
40269 else
40270 glibcxx_cv_func_powl_use=no
40272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40273 ac_ext=c
40274 ac_cpp='$CPP $CPPFLAGS'
40275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40284 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40286 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40287 for ac_func in powl
40288 do :
40289 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40290 if test "x$ac_cv_func_powl" = x""yes; then :
40291 cat >>confdefs.h <<_ACEOF
40292 #define HAVE_POWL 1
40293 _ACEOF
40296 done
40298 else
40300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40301 $as_echo_n "checking for _powl declaration... " >&6; }
40302 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40303 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40304 $as_echo_n "(cached) " >&6
40305 else
40308 ac_ext=cpp
40309 ac_cpp='$CXXCPP $CPPFLAGS'
40310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40315 /* end confdefs.h. */
40316 #include <math.h>
40318 main ()
40320 _powl(0, 0);
40322 return 0;
40324 _ACEOF
40325 if ac_fn_cxx_try_compile "$LINENO"; then :
40326 glibcxx_cv_func__powl_use=yes
40327 else
40328 glibcxx_cv_func__powl_use=no
40330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40331 ac_ext=c
40332 ac_cpp='$CPP $CPPFLAGS'
40333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40342 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40344 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40345 for ac_func in _powl
40346 do :
40347 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40348 if test "x$ac_cv_func__powl" = x""yes; then :
40349 cat >>confdefs.h <<_ACEOF
40350 #define HAVE__POWL 1
40351 _ACEOF
40354 done
40363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40364 $as_echo_n "checking for sqrtl declaration... " >&6; }
40365 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40366 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40367 $as_echo_n "(cached) " >&6
40368 else
40371 ac_ext=cpp
40372 ac_cpp='$CXXCPP $CPPFLAGS'
40373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40378 /* end confdefs.h. */
40379 #include <math.h>
40380 #ifdef HAVE_IEEEFP_H
40381 #include <ieeefp.h>
40382 #endif
40385 main ()
40387 sqrtl(0);
40389 return 0;
40391 _ACEOF
40392 if ac_fn_cxx_try_compile "$LINENO"; then :
40393 glibcxx_cv_func_sqrtl_use=yes
40394 else
40395 glibcxx_cv_func_sqrtl_use=no
40397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40398 ac_ext=c
40399 ac_cpp='$CPP $CPPFLAGS'
40400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40409 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40411 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40412 for ac_func in sqrtl
40413 do :
40414 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40415 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40416 cat >>confdefs.h <<_ACEOF
40417 #define HAVE_SQRTL 1
40418 _ACEOF
40421 done
40423 else
40425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40426 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40427 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40428 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40429 $as_echo_n "(cached) " >&6
40430 else
40433 ac_ext=cpp
40434 ac_cpp='$CXXCPP $CPPFLAGS'
40435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40440 /* end confdefs.h. */
40441 #include <math.h>
40442 #ifdef HAVE_IEEEFP_H
40443 #include <ieeefp.h>
40444 #endif
40447 main ()
40449 _sqrtl(0);
40451 return 0;
40453 _ACEOF
40454 if ac_fn_cxx_try_compile "$LINENO"; then :
40455 glibcxx_cv_func__sqrtl_use=yes
40456 else
40457 glibcxx_cv_func__sqrtl_use=no
40459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40460 ac_ext=c
40461 ac_cpp='$CPP $CPPFLAGS'
40462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40471 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40473 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40474 for ac_func in _sqrtl
40475 do :
40476 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40477 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40478 cat >>confdefs.h <<_ACEOF
40479 #define HAVE__SQRTL 1
40480 _ACEOF
40483 done
40492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40493 $as_echo_n "checking for sincosl declaration... " >&6; }
40494 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40495 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40496 $as_echo_n "(cached) " >&6
40497 else
40500 ac_ext=cpp
40501 ac_cpp='$CXXCPP $CPPFLAGS'
40502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40507 /* end confdefs.h. */
40508 #include <math.h>
40510 main ()
40512 sincosl(0, 0, 0);
40514 return 0;
40516 _ACEOF
40517 if ac_fn_cxx_try_compile "$LINENO"; then :
40518 glibcxx_cv_func_sincosl_use=yes
40519 else
40520 glibcxx_cv_func_sincosl_use=no
40522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40523 ac_ext=c
40524 ac_cpp='$CPP $CPPFLAGS'
40525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40534 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40536 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40537 for ac_func in sincosl
40538 do :
40539 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40540 if test "x$ac_cv_func_sincosl" = x""yes; then :
40541 cat >>confdefs.h <<_ACEOF
40542 #define HAVE_SINCOSL 1
40543 _ACEOF
40546 done
40548 else
40550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40551 $as_echo_n "checking for _sincosl declaration... " >&6; }
40552 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40553 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40554 $as_echo_n "(cached) " >&6
40555 else
40558 ac_ext=cpp
40559 ac_cpp='$CXXCPP $CPPFLAGS'
40560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40565 /* end confdefs.h. */
40566 #include <math.h>
40568 main ()
40570 _sincosl(0, 0, 0);
40572 return 0;
40574 _ACEOF
40575 if ac_fn_cxx_try_compile "$LINENO"; then :
40576 glibcxx_cv_func__sincosl_use=yes
40577 else
40578 glibcxx_cv_func__sincosl_use=no
40580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40581 ac_ext=c
40582 ac_cpp='$CPP $CPPFLAGS'
40583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40592 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40594 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40595 for ac_func in _sincosl
40596 do :
40597 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40598 if test "x$ac_cv_func__sincosl" = x""yes; then :
40599 cat >>confdefs.h <<_ACEOF
40600 #define HAVE__SINCOSL 1
40601 _ACEOF
40604 done
40613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40614 $as_echo_n "checking for finitel declaration... " >&6; }
40615 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40616 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40617 $as_echo_n "(cached) " >&6
40618 else
40621 ac_ext=cpp
40622 ac_cpp='$CXXCPP $CPPFLAGS'
40623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40628 /* end confdefs.h. */
40629 #include <math.h>
40630 #ifdef HAVE_IEEEFP_H
40631 #include <ieeefp.h>
40632 #endif
40635 main ()
40637 finitel(0);
40639 return 0;
40641 _ACEOF
40642 if ac_fn_cxx_try_compile "$LINENO"; then :
40643 glibcxx_cv_func_finitel_use=yes
40644 else
40645 glibcxx_cv_func_finitel_use=no
40647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40648 ac_ext=c
40649 ac_cpp='$CPP $CPPFLAGS'
40650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40659 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40661 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40662 for ac_func in finitel
40663 do :
40664 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40665 if test "x$ac_cv_func_finitel" = x""yes; then :
40666 cat >>confdefs.h <<_ACEOF
40667 #define HAVE_FINITEL 1
40668 _ACEOF
40671 done
40673 else
40675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40676 $as_echo_n "checking for _finitel declaration... " >&6; }
40677 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40678 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40679 $as_echo_n "(cached) " >&6
40680 else
40683 ac_ext=cpp
40684 ac_cpp='$CXXCPP $CPPFLAGS'
40685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40690 /* end confdefs.h. */
40691 #include <math.h>
40692 #ifdef HAVE_IEEEFP_H
40693 #include <ieeefp.h>
40694 #endif
40697 main ()
40699 _finitel(0);
40701 return 0;
40703 _ACEOF
40704 if ac_fn_cxx_try_compile "$LINENO"; then :
40705 glibcxx_cv_func__finitel_use=yes
40706 else
40707 glibcxx_cv_func__finitel_use=no
40709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40710 ac_ext=c
40711 ac_cpp='$CPP $CPPFLAGS'
40712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40721 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40723 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40724 for ac_func in _finitel
40725 do :
40726 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40727 if test "x$ac_cv_func__finitel" = x""yes; then :
40728 cat >>confdefs.h <<_ACEOF
40729 #define HAVE__FINITEL 1
40730 _ACEOF
40733 done
40741 LIBS="$ac_save_LIBS"
40742 CXXFLAGS="$ac_save_CXXFLAGS"
40745 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40746 ac_save_CXXFLAGS="$CXXFLAGS"
40747 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40751 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40752 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40753 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40754 $as_echo_n "(cached) " >&6
40755 else
40758 ac_ext=cpp
40759 ac_cpp='$CXXCPP $CPPFLAGS'
40760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40765 /* end confdefs.h. */
40766 #include <stdlib.h>
40768 main ()
40770 at_quick_exit(0);
40772 return 0;
40774 _ACEOF
40775 if ac_fn_cxx_try_compile "$LINENO"; then :
40776 glibcxx_cv_func_at_quick_exit_use=yes
40777 else
40778 glibcxx_cv_func_at_quick_exit_use=no
40780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40781 ac_ext=c
40782 ac_cpp='$CPP $CPPFLAGS'
40783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40792 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40793 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40794 for ac_func in at_quick_exit
40795 do :
40796 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40797 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40798 cat >>confdefs.h <<_ACEOF
40799 #define HAVE_AT_QUICK_EXIT 1
40800 _ACEOF
40803 done
40808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40809 $as_echo_n "checking for quick_exit declaration... " >&6; }
40810 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40811 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40812 $as_echo_n "(cached) " >&6
40813 else
40816 ac_ext=cpp
40817 ac_cpp='$CXXCPP $CPPFLAGS'
40818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40823 /* end confdefs.h. */
40824 #include <stdlib.h>
40826 main ()
40828 quick_exit(0);
40830 return 0;
40832 _ACEOF
40833 if ac_fn_cxx_try_compile "$LINENO"; then :
40834 glibcxx_cv_func_quick_exit_use=yes
40835 else
40836 glibcxx_cv_func_quick_exit_use=no
40838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40839 ac_ext=c
40840 ac_cpp='$CPP $CPPFLAGS'
40841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40850 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40851 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40852 for ac_func in quick_exit
40853 do :
40854 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40855 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40856 cat >>confdefs.h <<_ACEOF
40857 #define HAVE_QUICK_EXIT 1
40858 _ACEOF
40861 done
40866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40867 $as_echo_n "checking for strtold declaration... " >&6; }
40868 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40869 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40870 $as_echo_n "(cached) " >&6
40871 else
40874 ac_ext=cpp
40875 ac_cpp='$CXXCPP $CPPFLAGS'
40876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40881 /* end confdefs.h. */
40882 #include <stdlib.h>
40884 main ()
40886 strtold(0, 0);
40888 return 0;
40890 _ACEOF
40891 if ac_fn_cxx_try_compile "$LINENO"; then :
40892 glibcxx_cv_func_strtold_use=yes
40893 else
40894 glibcxx_cv_func_strtold_use=no
40896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40897 ac_ext=c
40898 ac_cpp='$CPP $CPPFLAGS'
40899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40908 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40909 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40910 for ac_func in strtold
40911 do :
40912 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40913 if test "x$ac_cv_func_strtold" = x""yes; then :
40914 cat >>confdefs.h <<_ACEOF
40915 #define HAVE_STRTOLD 1
40916 _ACEOF
40919 done
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40927 $as_echo_n "checking for strtof declaration... " >&6; }
40928 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40929 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40930 $as_echo_n "(cached) " >&6
40931 else
40934 ac_ext=cpp
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40941 /* end confdefs.h. */
40942 #include <stdlib.h>
40944 main ()
40946 strtof(0, 0);
40948 return 0;
40950 _ACEOF
40951 if ac_fn_cxx_try_compile "$LINENO"; then :
40952 glibcxx_cv_func_strtof_use=yes
40953 else
40954 glibcxx_cv_func_strtof_use=no
40956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40957 ac_ext=c
40958 ac_cpp='$CPP $CPPFLAGS'
40959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40968 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40969 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40970 for ac_func in strtof
40971 do :
40972 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40973 if test "x$ac_cv_func_strtof" = x""yes; then :
40974 cat >>confdefs.h <<_ACEOF
40975 #define HAVE_STRTOF 1
40976 _ACEOF
40979 done
40986 CXXFLAGS="$ac_save_CXXFLAGS"
40993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40994 $as_echo_n "checking for iconv... " >&6; }
40995 if test "${am_cv_func_iconv+set}" = set; then :
40996 $as_echo_n "(cached) " >&6
40997 else
40999 am_cv_func_iconv="no, consider installing GNU libiconv"
41000 am_cv_lib_iconv=no
41001 am_save_CPPFLAGS="$CPPFLAGS"
41002 CPPFLAGS="$CPPFLAGS $INCICONV"
41003 if test x$gcc_no_link = xyes; then
41004 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41007 /* end confdefs.h. */
41008 #include <stdlib.h>
41009 #include <iconv.h>
41011 main ()
41013 iconv_t cd = iconv_open("","");
41014 iconv(cd,NULL,NULL,NULL,NULL);
41015 iconv_close(cd);
41017 return 0;
41019 _ACEOF
41020 if ac_fn_c_try_link "$LINENO"; then :
41021 am_cv_func_iconv=yes
41023 rm -f core conftest.err conftest.$ac_objext \
41024 conftest$ac_exeext conftest.$ac_ext
41025 CPPFLAGS="$am_save_CPPFLAGS"
41027 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41028 for _libs in .libs _libs; do
41029 am_save_CPPFLAGS="$CPPFLAGS"
41030 am_save_LIBS="$LIBS"
41031 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41032 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41033 if test x$gcc_no_link = xyes; then
41034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41037 /* end confdefs.h. */
41038 #include <stdlib.h>
41039 #include <iconv.h>
41041 main ()
41043 iconv_t cd = iconv_open("","");
41044 iconv(cd,NULL,NULL,NULL,NULL);
41045 iconv_close(cd);
41047 return 0;
41049 _ACEOF
41050 if ac_fn_c_try_link "$LINENO"; then :
41051 INCICONV="-I../libiconv/include"
41052 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41053 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41054 am_cv_lib_iconv=yes
41055 am_cv_func_iconv=yes
41057 rm -f core conftest.err conftest.$ac_objext \
41058 conftest$ac_exeext conftest.$ac_ext
41059 CPPFLAGS="$am_save_CPPFLAGS"
41060 LIBS="$am_save_LIBS"
41061 if test "$am_cv_func_iconv" = "yes"; then
41062 break
41064 done
41067 if test "$am_cv_func_iconv" != yes; then
41068 am_save_CPPFLAGS="$CPPFLAGS"
41069 am_save_LIBS="$LIBS"
41070 CPPFLAGS="$LIBS $INCICONV"
41071 LIBS="$LIBS $LIBICONV"
41072 if test x$gcc_no_link = xyes; then
41073 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41076 /* end confdefs.h. */
41077 #include <stdlib.h>
41078 #include <iconv.h>
41080 main ()
41082 iconv_t cd = iconv_open("","");
41083 iconv(cd,NULL,NULL,NULL,NULL);
41084 iconv_close(cd);
41086 return 0;
41088 _ACEOF
41089 if ac_fn_c_try_link "$LINENO"; then :
41090 am_cv_lib_iconv=yes
41091 am_cv_func_iconv=yes
41093 rm -f core conftest.err conftest.$ac_objext \
41094 conftest$ac_exeext conftest.$ac_ext
41095 CPPFLAGS="$am_save_CPPFLAGS"
41096 LIBS="$am_save_LIBS"
41100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41101 $as_echo "$am_cv_func_iconv" >&6; }
41102 if test "$am_cv_func_iconv" = yes; then
41104 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41107 if test "$am_cv_lib_iconv" = yes; then
41109 for element in $INCICONV; do
41110 haveit=
41111 for x in $CPPFLAGS; do
41113 acl_save_prefix="$prefix"
41114 prefix="$acl_final_prefix"
41115 acl_save_exec_prefix="$exec_prefix"
41116 exec_prefix="$acl_final_exec_prefix"
41117 eval x=\"$x\"
41118 exec_prefix="$acl_save_exec_prefix"
41119 prefix="$acl_save_prefix"
41121 if test "X$x" = "X$element"; then
41122 haveit=yes
41123 break
41125 done
41126 if test -z "$haveit"; then
41127 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41129 done
41131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41132 $as_echo_n "checking how to link with libiconv... " >&6; }
41133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41134 $as_echo "$LIBICONV" >&6; }
41135 else
41136 LIBICONV=
41137 LTLIBICONV=
41142 if test "$am_cv_func_iconv" = yes; then
41143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41144 $as_echo_n "checking for iconv declaration... " >&6; }
41145 if test "${am_cv_proto_iconv+set}" = set; then :
41146 $as_echo_n "(cached) " >&6
41147 else
41149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41150 /* end confdefs.h. */
41152 #include <stdlib.h>
41153 #include <iconv.h>
41154 extern
41155 #ifdef __cplusplus
41157 #endif
41158 #if defined(__STDC__) || defined(__cplusplus)
41159 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41160 #else
41161 size_t iconv();
41162 #endif
41165 main ()
41169 return 0;
41171 _ACEOF
41172 if ac_fn_c_try_compile "$LINENO"; then :
41173 am_cv_proto_iconv_arg1=""
41174 else
41175 am_cv_proto_iconv_arg1="const"
41177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41178 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);"
41181 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41183 }$am_cv_proto_iconv" >&5
41184 $as_echo "${ac_t:-
41185 }$am_cv_proto_iconv" >&6; }
41187 cat >>confdefs.h <<_ACEOF
41188 #define ICONV_CONST $am_cv_proto_iconv_arg1
41189 _ACEOF
41195 *-aix*)
41197 # If we're not using GNU ld, then there's no point in even trying these
41198 # tests. Check for that first. We should have already tested for gld
41199 # by now (in libtool), but require it now just to be safe...
41200 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41201 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41205 # The name set by libtool depends on the version of libtool. Shame on us
41206 # for depending on an impl detail, but c'est la vie. Older versions used
41207 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41208 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41209 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41210 # set (hence we're using an older libtool), then set it.
41211 if test x${with_gnu_ld+set} != xset; then
41212 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41213 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41214 with_gnu_ld=no
41215 else
41216 with_gnu_ld=$ac_cv_prog_gnu_ld
41220 # Start by getting the version number. I think the libtool test already
41221 # does some of this, but throws away the result.
41222 glibcxx_ld_is_gold=no
41223 if test x"$with_gnu_ld" = x"yes"; then
41224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41225 $as_echo_n "checking for ld version... " >&6; }
41227 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41228 glibcxx_ld_is_gold=yes
41230 ldver=`$LD --version 2>/dev/null |
41231 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'`
41233 glibcxx_gnu_ld_version=`echo $ldver | \
41234 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41236 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41239 # Set --gc-sections.
41240 glibcxx_have_gc_sections=no
41241 if test "$glibcxx_ld_is_gold" = "yes"; then
41242 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41243 glibcxx_have_gc_sections=yes
41245 else
41246 glibcxx_gcsections_min_ld=21602
41247 if test x"$with_gnu_ld" = x"yes" &&
41248 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41249 glibcxx_have_gc_sections=yes
41252 if test "$glibcxx_have_gc_sections" = "yes"; then
41253 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41254 # NB: This flag only works reliably after 2.16.1. Configure tests
41255 # for this are difficult, so hard wire a value that should work.
41257 ac_test_CFLAGS="${CFLAGS+set}"
41258 ac_save_CFLAGS="$CFLAGS"
41259 CFLAGS='-Wl,--gc-sections'
41261 # Check for -Wl,--gc-sections
41262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41263 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41264 if test x$gcc_no_link = xyes; then
41265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41268 /* end confdefs.h. */
41269 int one(void) { return 1; }
41270 int two(void) { return 2; }
41273 main ()
41275 two();
41277 return 0;
41279 _ACEOF
41280 if ac_fn_c_try_link "$LINENO"; then :
41281 ac_gcsections=yes
41282 else
41283 ac_gcsections=no
41285 rm -f core conftest.err conftest.$ac_objext \
41286 conftest$ac_exeext conftest.$ac_ext
41287 if test "$ac_gcsections" = "yes"; then
41288 rm -f conftest.c
41289 touch conftest.c
41290 if $CC -c conftest.c; then
41291 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41292 grep "Warning: gc-sections option ignored" > /dev/null; then
41293 ac_gcsections=no
41296 rm -f conftest.c conftest.o conftest
41298 if test "$ac_gcsections" = "yes"; then
41299 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41302 $as_echo "$ac_gcsections" >&6; }
41304 if test "$ac_test_CFLAGS" = set; then
41305 CFLAGS="$ac_save_CFLAGS"
41306 else
41307 # this is the suspicious part
41308 CFLAGS=''
41312 # Set -z,relro.
41313 # Note this is only for shared objects.
41314 ac_ld_relro=no
41315 if test x"$with_gnu_ld" = x"yes"; then
41316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41317 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41318 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41319 if test -n "$cxx_z_relo"; then
41320 OPT_LDFLAGS="-Wl,-z,relro"
41321 ac_ld_relro=yes
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41324 $as_echo "$ac_ld_relro" >&6; }
41327 # Set linker optimization flags.
41328 if test x"$with_gnu_ld" = x"yes"; then
41329 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41336 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41337 ac_save_CXXFLAGS="$CXXFLAGS"
41338 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41341 $as_echo_n "checking for sin in -lm... " >&6; }
41342 if test "${ac_cv_lib_m_sin+set}" = set; then :
41343 $as_echo_n "(cached) " >&6
41344 else
41345 ac_check_lib_save_LIBS=$LIBS
41346 LIBS="-lm $LIBS"
41347 if test x$gcc_no_link = xyes; then
41348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41351 /* end confdefs.h. */
41353 /* Override any GCC internal prototype to avoid an error.
41354 Use char because int might match the return type of a GCC
41355 builtin and then its argument prototype would still apply. */
41356 #ifdef __cplusplus
41357 extern "C"
41358 #endif
41359 char sin ();
41361 main ()
41363 return sin ();
41365 return 0;
41367 _ACEOF
41368 if ac_fn_c_try_link "$LINENO"; then :
41369 ac_cv_lib_m_sin=yes
41370 else
41371 ac_cv_lib_m_sin=no
41373 rm -f core conftest.err conftest.$ac_objext \
41374 conftest$ac_exeext conftest.$ac_ext
41375 LIBS=$ac_check_lib_save_LIBS
41377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41378 $as_echo "$ac_cv_lib_m_sin" >&6; }
41379 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41380 libm="-lm"
41383 ac_save_LIBS="$LIBS"
41384 LIBS="$LIBS $libm"
41388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41389 $as_echo_n "checking for isinf declaration... " >&6; }
41390 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41391 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41392 $as_echo_n "(cached) " >&6
41393 else
41396 ac_ext=cpp
41397 ac_cpp='$CXXCPP $CPPFLAGS'
41398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41403 /* end confdefs.h. */
41404 #include <math.h>
41405 #ifdef HAVE_IEEEFP_H
41406 #include <ieeefp.h>
41407 #endif
41410 main ()
41412 isinf(0);
41414 return 0;
41416 _ACEOF
41417 if ac_fn_cxx_try_compile "$LINENO"; then :
41418 glibcxx_cv_func_isinf_use=yes
41419 else
41420 glibcxx_cv_func_isinf_use=no
41422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41423 ac_ext=c
41424 ac_cpp='$CPP $CPPFLAGS'
41425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41434 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41436 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41437 for ac_func in isinf
41438 do :
41439 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41440 if test "x$ac_cv_func_isinf" = x""yes; then :
41441 cat >>confdefs.h <<_ACEOF
41442 #define HAVE_ISINF 1
41443 _ACEOF
41446 done
41448 else
41450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41451 $as_echo_n "checking for _isinf declaration... " >&6; }
41452 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41453 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41454 $as_echo_n "(cached) " >&6
41455 else
41458 ac_ext=cpp
41459 ac_cpp='$CXXCPP $CPPFLAGS'
41460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41465 /* end confdefs.h. */
41466 #include <math.h>
41467 #ifdef HAVE_IEEEFP_H
41468 #include <ieeefp.h>
41469 #endif
41472 main ()
41474 _isinf(0);
41476 return 0;
41478 _ACEOF
41479 if ac_fn_cxx_try_compile "$LINENO"; then :
41480 glibcxx_cv_func__isinf_use=yes
41481 else
41482 glibcxx_cv_func__isinf_use=no
41484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41485 ac_ext=c
41486 ac_cpp='$CPP $CPPFLAGS'
41487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41496 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41498 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41499 for ac_func in _isinf
41500 do :
41501 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41502 if test "x$ac_cv_func__isinf" = x""yes; then :
41503 cat >>confdefs.h <<_ACEOF
41504 #define HAVE__ISINF 1
41505 _ACEOF
41508 done
41517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41518 $as_echo_n "checking for isnan declaration... " >&6; }
41519 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41520 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41521 $as_echo_n "(cached) " >&6
41522 else
41525 ac_ext=cpp
41526 ac_cpp='$CXXCPP $CPPFLAGS'
41527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41532 /* end confdefs.h. */
41533 #include <math.h>
41534 #ifdef HAVE_IEEEFP_H
41535 #include <ieeefp.h>
41536 #endif
41539 main ()
41541 isnan(0);
41543 return 0;
41545 _ACEOF
41546 if ac_fn_cxx_try_compile "$LINENO"; then :
41547 glibcxx_cv_func_isnan_use=yes
41548 else
41549 glibcxx_cv_func_isnan_use=no
41551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41552 ac_ext=c
41553 ac_cpp='$CPP $CPPFLAGS'
41554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41563 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41565 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41566 for ac_func in isnan
41567 do :
41568 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41569 if test "x$ac_cv_func_isnan" = x""yes; then :
41570 cat >>confdefs.h <<_ACEOF
41571 #define HAVE_ISNAN 1
41572 _ACEOF
41575 done
41577 else
41579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41580 $as_echo_n "checking for _isnan declaration... " >&6; }
41581 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41582 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41583 $as_echo_n "(cached) " >&6
41584 else
41587 ac_ext=cpp
41588 ac_cpp='$CXXCPP $CPPFLAGS'
41589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41594 /* end confdefs.h. */
41595 #include <math.h>
41596 #ifdef HAVE_IEEEFP_H
41597 #include <ieeefp.h>
41598 #endif
41601 main ()
41603 _isnan(0);
41605 return 0;
41607 _ACEOF
41608 if ac_fn_cxx_try_compile "$LINENO"; then :
41609 glibcxx_cv_func__isnan_use=yes
41610 else
41611 glibcxx_cv_func__isnan_use=no
41613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41614 ac_ext=c
41615 ac_cpp='$CPP $CPPFLAGS'
41616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41625 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41627 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41628 for ac_func in _isnan
41629 do :
41630 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41631 if test "x$ac_cv_func__isnan" = x""yes; then :
41632 cat >>confdefs.h <<_ACEOF
41633 #define HAVE__ISNAN 1
41634 _ACEOF
41637 done
41646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41647 $as_echo_n "checking for finite declaration... " >&6; }
41648 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41649 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41650 $as_echo_n "(cached) " >&6
41651 else
41654 ac_ext=cpp
41655 ac_cpp='$CXXCPP $CPPFLAGS'
41656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41661 /* end confdefs.h. */
41662 #include <math.h>
41663 #ifdef HAVE_IEEEFP_H
41664 #include <ieeefp.h>
41665 #endif
41668 main ()
41670 finite(0);
41672 return 0;
41674 _ACEOF
41675 if ac_fn_cxx_try_compile "$LINENO"; then :
41676 glibcxx_cv_func_finite_use=yes
41677 else
41678 glibcxx_cv_func_finite_use=no
41680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41681 ac_ext=c
41682 ac_cpp='$CPP $CPPFLAGS'
41683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41692 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41694 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41695 for ac_func in finite
41696 do :
41697 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41698 if test "x$ac_cv_func_finite" = x""yes; then :
41699 cat >>confdefs.h <<_ACEOF
41700 #define HAVE_FINITE 1
41701 _ACEOF
41704 done
41706 else
41708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41709 $as_echo_n "checking for _finite declaration... " >&6; }
41710 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41711 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41712 $as_echo_n "(cached) " >&6
41713 else
41716 ac_ext=cpp
41717 ac_cpp='$CXXCPP $CPPFLAGS'
41718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41723 /* end confdefs.h. */
41724 #include <math.h>
41725 #ifdef HAVE_IEEEFP_H
41726 #include <ieeefp.h>
41727 #endif
41730 main ()
41732 _finite(0);
41734 return 0;
41736 _ACEOF
41737 if ac_fn_cxx_try_compile "$LINENO"; then :
41738 glibcxx_cv_func__finite_use=yes
41739 else
41740 glibcxx_cv_func__finite_use=no
41742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41743 ac_ext=c
41744 ac_cpp='$CPP $CPPFLAGS'
41745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41754 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41756 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41757 for ac_func in _finite
41758 do :
41759 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41760 if test "x$ac_cv_func__finite" = x""yes; then :
41761 cat >>confdefs.h <<_ACEOF
41762 #define HAVE__FINITE 1
41763 _ACEOF
41766 done
41775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41776 $as_echo_n "checking for sincos declaration... " >&6; }
41777 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41778 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41779 $as_echo_n "(cached) " >&6
41780 else
41783 ac_ext=cpp
41784 ac_cpp='$CXXCPP $CPPFLAGS'
41785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41790 /* end confdefs.h. */
41791 #include <math.h>
41793 main ()
41795 sincos(0, 0, 0);
41797 return 0;
41799 _ACEOF
41800 if ac_fn_cxx_try_compile "$LINENO"; then :
41801 glibcxx_cv_func_sincos_use=yes
41802 else
41803 glibcxx_cv_func_sincos_use=no
41805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41806 ac_ext=c
41807 ac_cpp='$CPP $CPPFLAGS'
41808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41817 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41819 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41820 for ac_func in sincos
41821 do :
41822 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41823 if test "x$ac_cv_func_sincos" = x""yes; then :
41824 cat >>confdefs.h <<_ACEOF
41825 #define HAVE_SINCOS 1
41826 _ACEOF
41829 done
41831 else
41833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41834 $as_echo_n "checking for _sincos declaration... " >&6; }
41835 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41836 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41837 $as_echo_n "(cached) " >&6
41838 else
41841 ac_ext=cpp
41842 ac_cpp='$CXXCPP $CPPFLAGS'
41843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41848 /* end confdefs.h. */
41849 #include <math.h>
41851 main ()
41853 _sincos(0, 0, 0);
41855 return 0;
41857 _ACEOF
41858 if ac_fn_cxx_try_compile "$LINENO"; then :
41859 glibcxx_cv_func__sincos_use=yes
41860 else
41861 glibcxx_cv_func__sincos_use=no
41863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41864 ac_ext=c
41865 ac_cpp='$CPP $CPPFLAGS'
41866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41875 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41877 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41878 for ac_func in _sincos
41879 do :
41880 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41881 if test "x$ac_cv_func__sincos" = x""yes; then :
41882 cat >>confdefs.h <<_ACEOF
41883 #define HAVE__SINCOS 1
41884 _ACEOF
41887 done
41896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41897 $as_echo_n "checking for fpclass declaration... " >&6; }
41898 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41899 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41900 $as_echo_n "(cached) " >&6
41901 else
41904 ac_ext=cpp
41905 ac_cpp='$CXXCPP $CPPFLAGS'
41906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41911 /* end confdefs.h. */
41912 #include <math.h>
41913 #ifdef HAVE_IEEEFP_H
41914 #include <ieeefp.h>
41915 #endif
41918 main ()
41920 fpclass(0);
41922 return 0;
41924 _ACEOF
41925 if ac_fn_cxx_try_compile "$LINENO"; then :
41926 glibcxx_cv_func_fpclass_use=yes
41927 else
41928 glibcxx_cv_func_fpclass_use=no
41930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41931 ac_ext=c
41932 ac_cpp='$CPP $CPPFLAGS'
41933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41942 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41944 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41945 for ac_func in fpclass
41946 do :
41947 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41948 if test "x$ac_cv_func_fpclass" = x""yes; then :
41949 cat >>confdefs.h <<_ACEOF
41950 #define HAVE_FPCLASS 1
41951 _ACEOF
41954 done
41956 else
41958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41959 $as_echo_n "checking for _fpclass declaration... " >&6; }
41960 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41961 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41962 $as_echo_n "(cached) " >&6
41963 else
41966 ac_ext=cpp
41967 ac_cpp='$CXXCPP $CPPFLAGS'
41968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41973 /* end confdefs.h. */
41974 #include <math.h>
41975 #ifdef HAVE_IEEEFP_H
41976 #include <ieeefp.h>
41977 #endif
41980 main ()
41982 _fpclass(0);
41984 return 0;
41986 _ACEOF
41987 if ac_fn_cxx_try_compile "$LINENO"; then :
41988 glibcxx_cv_func__fpclass_use=yes
41989 else
41990 glibcxx_cv_func__fpclass_use=no
41992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41993 ac_ext=c
41994 ac_cpp='$CPP $CPPFLAGS'
41995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42004 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42006 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42007 for ac_func in _fpclass
42008 do :
42009 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42010 if test "x$ac_cv_func__fpclass" = x""yes; then :
42011 cat >>confdefs.h <<_ACEOF
42012 #define HAVE__FPCLASS 1
42013 _ACEOF
42016 done
42025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42026 $as_echo_n "checking for qfpclass declaration... " >&6; }
42027 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42028 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42029 $as_echo_n "(cached) " >&6
42030 else
42033 ac_ext=cpp
42034 ac_cpp='$CXXCPP $CPPFLAGS'
42035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42040 /* end confdefs.h. */
42041 #include <math.h>
42042 #ifdef HAVE_IEEEFP_H
42043 #include <ieeefp.h>
42044 #endif
42047 main ()
42049 qfpclass(0);
42051 return 0;
42053 _ACEOF
42054 if ac_fn_cxx_try_compile "$LINENO"; then :
42055 glibcxx_cv_func_qfpclass_use=yes
42056 else
42057 glibcxx_cv_func_qfpclass_use=no
42059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42060 ac_ext=c
42061 ac_cpp='$CPP $CPPFLAGS'
42062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42071 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42073 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42074 for ac_func in qfpclass
42075 do :
42076 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42077 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42078 cat >>confdefs.h <<_ACEOF
42079 #define HAVE_QFPCLASS 1
42080 _ACEOF
42083 done
42085 else
42087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42088 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42089 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42090 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42091 $as_echo_n "(cached) " >&6
42092 else
42095 ac_ext=cpp
42096 ac_cpp='$CXXCPP $CPPFLAGS'
42097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42102 /* end confdefs.h. */
42103 #include <math.h>
42104 #ifdef HAVE_IEEEFP_H
42105 #include <ieeefp.h>
42106 #endif
42109 main ()
42111 _qfpclass(0);
42113 return 0;
42115 _ACEOF
42116 if ac_fn_cxx_try_compile "$LINENO"; then :
42117 glibcxx_cv_func__qfpclass_use=yes
42118 else
42119 glibcxx_cv_func__qfpclass_use=no
42121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42122 ac_ext=c
42123 ac_cpp='$CPP $CPPFLAGS'
42124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42133 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42135 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42136 for ac_func in _qfpclass
42137 do :
42138 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42139 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42140 cat >>confdefs.h <<_ACEOF
42141 #define HAVE__QFPCLASS 1
42142 _ACEOF
42145 done
42154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42155 $as_echo_n "checking for hypot declaration... " >&6; }
42156 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42157 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42158 $as_echo_n "(cached) " >&6
42159 else
42162 ac_ext=cpp
42163 ac_cpp='$CXXCPP $CPPFLAGS'
42164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42169 /* end confdefs.h. */
42170 #include <math.h>
42172 main ()
42174 hypot(0, 0);
42176 return 0;
42178 _ACEOF
42179 if ac_fn_cxx_try_compile "$LINENO"; then :
42180 glibcxx_cv_func_hypot_use=yes
42181 else
42182 glibcxx_cv_func_hypot_use=no
42184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42185 ac_ext=c
42186 ac_cpp='$CPP $CPPFLAGS'
42187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42196 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42198 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42199 for ac_func in hypot
42200 do :
42201 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42202 if test "x$ac_cv_func_hypot" = x""yes; then :
42203 cat >>confdefs.h <<_ACEOF
42204 #define HAVE_HYPOT 1
42205 _ACEOF
42208 done
42210 else
42212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42213 $as_echo_n "checking for _hypot declaration... " >&6; }
42214 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42215 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42216 $as_echo_n "(cached) " >&6
42217 else
42220 ac_ext=cpp
42221 ac_cpp='$CXXCPP $CPPFLAGS'
42222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42227 /* end confdefs.h. */
42228 #include <math.h>
42230 main ()
42232 _hypot(0, 0);
42234 return 0;
42236 _ACEOF
42237 if ac_fn_cxx_try_compile "$LINENO"; then :
42238 glibcxx_cv_func__hypot_use=yes
42239 else
42240 glibcxx_cv_func__hypot_use=no
42242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42243 ac_ext=c
42244 ac_cpp='$CPP $CPPFLAGS'
42245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42254 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42256 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42257 for ac_func in _hypot
42258 do :
42259 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42260 if test "x$ac_cv_func__hypot" = x""yes; then :
42261 cat >>confdefs.h <<_ACEOF
42262 #define HAVE__HYPOT 1
42263 _ACEOF
42266 done
42275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42276 $as_echo_n "checking for float trig functions... " >&6; }
42277 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42278 $as_echo_n "(cached) " >&6
42279 else
42282 ac_ext=cpp
42283 ac_cpp='$CXXCPP $CPPFLAGS'
42284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42289 /* end confdefs.h. */
42290 #include <math.h>
42292 main ()
42294 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42296 return 0;
42298 _ACEOF
42299 if ac_fn_cxx_try_compile "$LINENO"; then :
42300 glibcxx_cv_func_float_trig_use=yes
42301 else
42302 glibcxx_cv_func_float_trig_use=no
42304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42305 ac_ext=c
42306 ac_cpp='$CPP $CPPFLAGS'
42307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42314 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42315 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42316 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42317 do :
42318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42320 eval as_val=\$$as_ac_var
42321 if test "x$as_val" = x""yes; then :
42322 cat >>confdefs.h <<_ACEOF
42323 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42324 _ACEOF
42327 done
42329 else
42330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42331 $as_echo_n "checking for _float trig functions... " >&6; }
42332 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42333 $as_echo_n "(cached) " >&6
42334 else
42337 ac_ext=cpp
42338 ac_cpp='$CXXCPP $CPPFLAGS'
42339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42344 /* end confdefs.h. */
42345 #include <math.h>
42347 main ()
42349 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42351 return 0;
42353 _ACEOF
42354 if ac_fn_cxx_try_compile "$LINENO"; then :
42355 glibcxx_cv_func__float_trig_use=yes
42356 else
42357 glibcxx_cv_func__float_trig_use=no
42359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42360 ac_ext=c
42361 ac_cpp='$CPP $CPPFLAGS'
42362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42369 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42370 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42371 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42372 do :
42373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42375 eval as_val=\$$as_ac_var
42376 if test "x$as_val" = x""yes; then :
42377 cat >>confdefs.h <<_ACEOF
42378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42379 _ACEOF
42382 done
42391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42392 $as_echo_n "checking for float round functions... " >&6; }
42393 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42394 $as_echo_n "(cached) " >&6
42395 else
42398 ac_ext=cpp
42399 ac_cpp='$CXXCPP $CPPFLAGS'
42400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42405 /* end confdefs.h. */
42406 #include <math.h>
42408 main ()
42410 ceilf (0); floorf (0);
42412 return 0;
42414 _ACEOF
42415 if ac_fn_cxx_try_compile "$LINENO"; then :
42416 glibcxx_cv_func_float_round_use=yes
42417 else
42418 glibcxx_cv_func_float_round_use=no
42420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42421 ac_ext=c
42422 ac_cpp='$CPP $CPPFLAGS'
42423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42430 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42431 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42432 for ac_func in ceilf floorf
42433 do :
42434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42436 eval as_val=\$$as_ac_var
42437 if test "x$as_val" = x""yes; then :
42438 cat >>confdefs.h <<_ACEOF
42439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42440 _ACEOF
42443 done
42445 else
42446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42447 $as_echo_n "checking for _float round functions... " >&6; }
42448 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42449 $as_echo_n "(cached) " >&6
42450 else
42453 ac_ext=cpp
42454 ac_cpp='$CXXCPP $CPPFLAGS'
42455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42460 /* end confdefs.h. */
42461 #include <math.h>
42463 main ()
42465 _ceilf (0); _floorf (0);
42467 return 0;
42469 _ACEOF
42470 if ac_fn_cxx_try_compile "$LINENO"; then :
42471 glibcxx_cv_func__float_round_use=yes
42472 else
42473 glibcxx_cv_func__float_round_use=no
42475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42476 ac_ext=c
42477 ac_cpp='$CPP $CPPFLAGS'
42478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42485 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42486 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42487 for ac_func in _ceilf _floorf
42488 do :
42489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42491 eval as_val=\$$as_ac_var
42492 if test "x$as_val" = x""yes; then :
42493 cat >>confdefs.h <<_ACEOF
42494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42495 _ACEOF
42498 done
42508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42509 $as_echo_n "checking for expf declaration... " >&6; }
42510 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42511 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42512 $as_echo_n "(cached) " >&6
42513 else
42516 ac_ext=cpp
42517 ac_cpp='$CXXCPP $CPPFLAGS'
42518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42523 /* end confdefs.h. */
42524 #include <math.h>
42525 #ifdef HAVE_IEEEFP_H
42526 #include <ieeefp.h>
42527 #endif
42530 main ()
42532 expf(0);
42534 return 0;
42536 _ACEOF
42537 if ac_fn_cxx_try_compile "$LINENO"; then :
42538 glibcxx_cv_func_expf_use=yes
42539 else
42540 glibcxx_cv_func_expf_use=no
42542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42543 ac_ext=c
42544 ac_cpp='$CPP $CPPFLAGS'
42545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42554 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42556 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42557 for ac_func in expf
42558 do :
42559 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42560 if test "x$ac_cv_func_expf" = x""yes; then :
42561 cat >>confdefs.h <<_ACEOF
42562 #define HAVE_EXPF 1
42563 _ACEOF
42566 done
42568 else
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42571 $as_echo_n "checking for _expf declaration... " >&6; }
42572 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42573 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42574 $as_echo_n "(cached) " >&6
42575 else
42578 ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h. */
42586 #include <math.h>
42587 #ifdef HAVE_IEEEFP_H
42588 #include <ieeefp.h>
42589 #endif
42592 main ()
42594 _expf(0);
42596 return 0;
42598 _ACEOF
42599 if ac_fn_cxx_try_compile "$LINENO"; then :
42600 glibcxx_cv_func__expf_use=yes
42601 else
42602 glibcxx_cv_func__expf_use=no
42604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42605 ac_ext=c
42606 ac_cpp='$CPP $CPPFLAGS'
42607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42616 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42618 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42619 for ac_func in _expf
42620 do :
42621 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42622 if test "x$ac_cv_func__expf" = x""yes; then :
42623 cat >>confdefs.h <<_ACEOF
42624 #define HAVE__EXPF 1
42625 _ACEOF
42628 done
42637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42638 $as_echo_n "checking for isnanf declaration... " >&6; }
42639 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42640 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42641 $as_echo_n "(cached) " >&6
42642 else
42645 ac_ext=cpp
42646 ac_cpp='$CXXCPP $CPPFLAGS'
42647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42652 /* end confdefs.h. */
42653 #include <math.h>
42654 #ifdef HAVE_IEEEFP_H
42655 #include <ieeefp.h>
42656 #endif
42659 main ()
42661 isnanf(0);
42663 return 0;
42665 _ACEOF
42666 if ac_fn_cxx_try_compile "$LINENO"; then :
42667 glibcxx_cv_func_isnanf_use=yes
42668 else
42669 glibcxx_cv_func_isnanf_use=no
42671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42672 ac_ext=c
42673 ac_cpp='$CPP $CPPFLAGS'
42674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42683 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42685 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42686 for ac_func in isnanf
42687 do :
42688 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42689 if test "x$ac_cv_func_isnanf" = x""yes; then :
42690 cat >>confdefs.h <<_ACEOF
42691 #define HAVE_ISNANF 1
42692 _ACEOF
42695 done
42697 else
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42700 $as_echo_n "checking for _isnanf declaration... " >&6; }
42701 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42702 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42703 $as_echo_n "(cached) " >&6
42704 else
42707 ac_ext=cpp
42708 ac_cpp='$CXXCPP $CPPFLAGS'
42709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714 /* end confdefs.h. */
42715 #include <math.h>
42716 #ifdef HAVE_IEEEFP_H
42717 #include <ieeefp.h>
42718 #endif
42721 main ()
42723 _isnanf(0);
42725 return 0;
42727 _ACEOF
42728 if ac_fn_cxx_try_compile "$LINENO"; then :
42729 glibcxx_cv_func__isnanf_use=yes
42730 else
42731 glibcxx_cv_func__isnanf_use=no
42733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42734 ac_ext=c
42735 ac_cpp='$CPP $CPPFLAGS'
42736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42745 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42747 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42748 for ac_func in _isnanf
42749 do :
42750 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42751 if test "x$ac_cv_func__isnanf" = x""yes; then :
42752 cat >>confdefs.h <<_ACEOF
42753 #define HAVE__ISNANF 1
42754 _ACEOF
42757 done
42766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42767 $as_echo_n "checking for isinff declaration... " >&6; }
42768 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42769 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42770 $as_echo_n "(cached) " >&6
42771 else
42774 ac_ext=cpp
42775 ac_cpp='$CXXCPP $CPPFLAGS'
42776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42781 /* end confdefs.h. */
42782 #include <math.h>
42783 #ifdef HAVE_IEEEFP_H
42784 #include <ieeefp.h>
42785 #endif
42788 main ()
42790 isinff(0);
42792 return 0;
42794 _ACEOF
42795 if ac_fn_cxx_try_compile "$LINENO"; then :
42796 glibcxx_cv_func_isinff_use=yes
42797 else
42798 glibcxx_cv_func_isinff_use=no
42800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42801 ac_ext=c
42802 ac_cpp='$CPP $CPPFLAGS'
42803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42812 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42814 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42815 for ac_func in isinff
42816 do :
42817 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42818 if test "x$ac_cv_func_isinff" = x""yes; then :
42819 cat >>confdefs.h <<_ACEOF
42820 #define HAVE_ISINFF 1
42821 _ACEOF
42824 done
42826 else
42828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42829 $as_echo_n "checking for _isinff declaration... " >&6; }
42830 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42831 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42832 $as_echo_n "(cached) " >&6
42833 else
42836 ac_ext=cpp
42837 ac_cpp='$CXXCPP $CPPFLAGS'
42838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42843 /* end confdefs.h. */
42844 #include <math.h>
42845 #ifdef HAVE_IEEEFP_H
42846 #include <ieeefp.h>
42847 #endif
42850 main ()
42852 _isinff(0);
42854 return 0;
42856 _ACEOF
42857 if ac_fn_cxx_try_compile "$LINENO"; then :
42858 glibcxx_cv_func__isinff_use=yes
42859 else
42860 glibcxx_cv_func__isinff_use=no
42862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42863 ac_ext=c
42864 ac_cpp='$CPP $CPPFLAGS'
42865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42874 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42876 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42877 for ac_func in _isinff
42878 do :
42879 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42880 if test "x$ac_cv_func__isinff" = x""yes; then :
42881 cat >>confdefs.h <<_ACEOF
42882 #define HAVE__ISINFF 1
42883 _ACEOF
42886 done
42895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42896 $as_echo_n "checking for atan2f declaration... " >&6; }
42897 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42898 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42899 $as_echo_n "(cached) " >&6
42900 else
42903 ac_ext=cpp
42904 ac_cpp='$CXXCPP $CPPFLAGS'
42905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42910 /* end confdefs.h. */
42911 #include <math.h>
42913 main ()
42915 atan2f(0, 0);
42917 return 0;
42919 _ACEOF
42920 if ac_fn_cxx_try_compile "$LINENO"; then :
42921 glibcxx_cv_func_atan2f_use=yes
42922 else
42923 glibcxx_cv_func_atan2f_use=no
42925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42926 ac_ext=c
42927 ac_cpp='$CPP $CPPFLAGS'
42928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42937 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42939 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42940 for ac_func in atan2f
42941 do :
42942 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42943 if test "x$ac_cv_func_atan2f" = x""yes; then :
42944 cat >>confdefs.h <<_ACEOF
42945 #define HAVE_ATAN2F 1
42946 _ACEOF
42949 done
42951 else
42953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42954 $as_echo_n "checking for _atan2f declaration... " >&6; }
42955 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42956 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42957 $as_echo_n "(cached) " >&6
42958 else
42961 ac_ext=cpp
42962 ac_cpp='$CXXCPP $CPPFLAGS'
42963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42968 /* end confdefs.h. */
42969 #include <math.h>
42971 main ()
42973 _atan2f(0, 0);
42975 return 0;
42977 _ACEOF
42978 if ac_fn_cxx_try_compile "$LINENO"; then :
42979 glibcxx_cv_func__atan2f_use=yes
42980 else
42981 glibcxx_cv_func__atan2f_use=no
42983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42984 ac_ext=c
42985 ac_cpp='$CPP $CPPFLAGS'
42986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42995 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42997 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42998 for ac_func in _atan2f
42999 do :
43000 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43001 if test "x$ac_cv_func__atan2f" = x""yes; then :
43002 cat >>confdefs.h <<_ACEOF
43003 #define HAVE__ATAN2F 1
43004 _ACEOF
43007 done
43016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43017 $as_echo_n "checking for fabsf declaration... " >&6; }
43018 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43019 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43020 $as_echo_n "(cached) " >&6
43021 else
43024 ac_ext=cpp
43025 ac_cpp='$CXXCPP $CPPFLAGS'
43026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43031 /* end confdefs.h. */
43032 #include <math.h>
43033 #ifdef HAVE_IEEEFP_H
43034 #include <ieeefp.h>
43035 #endif
43038 main ()
43040 fabsf(0);
43042 return 0;
43044 _ACEOF
43045 if ac_fn_cxx_try_compile "$LINENO"; then :
43046 glibcxx_cv_func_fabsf_use=yes
43047 else
43048 glibcxx_cv_func_fabsf_use=no
43050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43051 ac_ext=c
43052 ac_cpp='$CPP $CPPFLAGS'
43053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43062 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43064 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43065 for ac_func in fabsf
43066 do :
43067 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43068 if test "x$ac_cv_func_fabsf" = x""yes; then :
43069 cat >>confdefs.h <<_ACEOF
43070 #define HAVE_FABSF 1
43071 _ACEOF
43074 done
43076 else
43078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43079 $as_echo_n "checking for _fabsf declaration... " >&6; }
43080 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43081 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43082 $as_echo_n "(cached) " >&6
43083 else
43086 ac_ext=cpp
43087 ac_cpp='$CXXCPP $CPPFLAGS'
43088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43093 /* end confdefs.h. */
43094 #include <math.h>
43095 #ifdef HAVE_IEEEFP_H
43096 #include <ieeefp.h>
43097 #endif
43100 main ()
43102 _fabsf(0);
43104 return 0;
43106 _ACEOF
43107 if ac_fn_cxx_try_compile "$LINENO"; then :
43108 glibcxx_cv_func__fabsf_use=yes
43109 else
43110 glibcxx_cv_func__fabsf_use=no
43112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43113 ac_ext=c
43114 ac_cpp='$CPP $CPPFLAGS'
43115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43124 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43126 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43127 for ac_func in _fabsf
43128 do :
43129 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43130 if test "x$ac_cv_func__fabsf" = x""yes; then :
43131 cat >>confdefs.h <<_ACEOF
43132 #define HAVE__FABSF 1
43133 _ACEOF
43136 done
43145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43146 $as_echo_n "checking for fmodf declaration... " >&6; }
43147 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43148 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43149 $as_echo_n "(cached) " >&6
43150 else
43153 ac_ext=cpp
43154 ac_cpp='$CXXCPP $CPPFLAGS'
43155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43160 /* end confdefs.h. */
43161 #include <math.h>
43163 main ()
43165 fmodf(0, 0);
43167 return 0;
43169 _ACEOF
43170 if ac_fn_cxx_try_compile "$LINENO"; then :
43171 glibcxx_cv_func_fmodf_use=yes
43172 else
43173 glibcxx_cv_func_fmodf_use=no
43175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43176 ac_ext=c
43177 ac_cpp='$CPP $CPPFLAGS'
43178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43187 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43189 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43190 for ac_func in fmodf
43191 do :
43192 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43193 if test "x$ac_cv_func_fmodf" = x""yes; then :
43194 cat >>confdefs.h <<_ACEOF
43195 #define HAVE_FMODF 1
43196 _ACEOF
43199 done
43201 else
43203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43204 $as_echo_n "checking for _fmodf declaration... " >&6; }
43205 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43206 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43207 $as_echo_n "(cached) " >&6
43208 else
43211 ac_ext=cpp
43212 ac_cpp='$CXXCPP $CPPFLAGS'
43213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43218 /* end confdefs.h. */
43219 #include <math.h>
43221 main ()
43223 _fmodf(0, 0);
43225 return 0;
43227 _ACEOF
43228 if ac_fn_cxx_try_compile "$LINENO"; then :
43229 glibcxx_cv_func__fmodf_use=yes
43230 else
43231 glibcxx_cv_func__fmodf_use=no
43233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43234 ac_ext=c
43235 ac_cpp='$CPP $CPPFLAGS'
43236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43245 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43247 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43248 for ac_func in _fmodf
43249 do :
43250 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43251 if test "x$ac_cv_func__fmodf" = x""yes; then :
43252 cat >>confdefs.h <<_ACEOF
43253 #define HAVE__FMODF 1
43254 _ACEOF
43257 done
43266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43267 $as_echo_n "checking for frexpf declaration... " >&6; }
43268 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43269 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43270 $as_echo_n "(cached) " >&6
43271 else
43274 ac_ext=cpp
43275 ac_cpp='$CXXCPP $CPPFLAGS'
43276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43281 /* end confdefs.h. */
43282 #include <math.h>
43284 main ()
43286 frexpf(0, 0);
43288 return 0;
43290 _ACEOF
43291 if ac_fn_cxx_try_compile "$LINENO"; then :
43292 glibcxx_cv_func_frexpf_use=yes
43293 else
43294 glibcxx_cv_func_frexpf_use=no
43296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43297 ac_ext=c
43298 ac_cpp='$CPP $CPPFLAGS'
43299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43308 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43310 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43311 for ac_func in frexpf
43312 do :
43313 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43314 if test "x$ac_cv_func_frexpf" = x""yes; then :
43315 cat >>confdefs.h <<_ACEOF
43316 #define HAVE_FREXPF 1
43317 _ACEOF
43320 done
43322 else
43324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43325 $as_echo_n "checking for _frexpf declaration... " >&6; }
43326 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43327 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43328 $as_echo_n "(cached) " >&6
43329 else
43332 ac_ext=cpp
43333 ac_cpp='$CXXCPP $CPPFLAGS'
43334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43339 /* end confdefs.h. */
43340 #include <math.h>
43342 main ()
43344 _frexpf(0, 0);
43346 return 0;
43348 _ACEOF
43349 if ac_fn_cxx_try_compile "$LINENO"; then :
43350 glibcxx_cv_func__frexpf_use=yes
43351 else
43352 glibcxx_cv_func__frexpf_use=no
43354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43355 ac_ext=c
43356 ac_cpp='$CPP $CPPFLAGS'
43357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43366 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43368 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43369 for ac_func in _frexpf
43370 do :
43371 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43372 if test "x$ac_cv_func__frexpf" = x""yes; then :
43373 cat >>confdefs.h <<_ACEOF
43374 #define HAVE__FREXPF 1
43375 _ACEOF
43378 done
43387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43388 $as_echo_n "checking for hypotf declaration... " >&6; }
43389 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43390 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43391 $as_echo_n "(cached) " >&6
43392 else
43395 ac_ext=cpp
43396 ac_cpp='$CXXCPP $CPPFLAGS'
43397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43402 /* end confdefs.h. */
43403 #include <math.h>
43405 main ()
43407 hypotf(0, 0);
43409 return 0;
43411 _ACEOF
43412 if ac_fn_cxx_try_compile "$LINENO"; then :
43413 glibcxx_cv_func_hypotf_use=yes
43414 else
43415 glibcxx_cv_func_hypotf_use=no
43417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43418 ac_ext=c
43419 ac_cpp='$CPP $CPPFLAGS'
43420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43429 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43431 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43432 for ac_func in hypotf
43433 do :
43434 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43435 if test "x$ac_cv_func_hypotf" = x""yes; then :
43436 cat >>confdefs.h <<_ACEOF
43437 #define HAVE_HYPOTF 1
43438 _ACEOF
43441 done
43443 else
43445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43446 $as_echo_n "checking for _hypotf declaration... " >&6; }
43447 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43448 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43449 $as_echo_n "(cached) " >&6
43450 else
43453 ac_ext=cpp
43454 ac_cpp='$CXXCPP $CPPFLAGS'
43455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43460 /* end confdefs.h. */
43461 #include <math.h>
43463 main ()
43465 _hypotf(0, 0);
43467 return 0;
43469 _ACEOF
43470 if ac_fn_cxx_try_compile "$LINENO"; then :
43471 glibcxx_cv_func__hypotf_use=yes
43472 else
43473 glibcxx_cv_func__hypotf_use=no
43475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43476 ac_ext=c
43477 ac_cpp='$CPP $CPPFLAGS'
43478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43487 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43489 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43490 for ac_func in _hypotf
43491 do :
43492 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43493 if test "x$ac_cv_func__hypotf" = x""yes; then :
43494 cat >>confdefs.h <<_ACEOF
43495 #define HAVE__HYPOTF 1
43496 _ACEOF
43499 done
43508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43509 $as_echo_n "checking for ldexpf declaration... " >&6; }
43510 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43511 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43512 $as_echo_n "(cached) " >&6
43513 else
43516 ac_ext=cpp
43517 ac_cpp='$CXXCPP $CPPFLAGS'
43518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43523 /* end confdefs.h. */
43524 #include <math.h>
43526 main ()
43528 ldexpf(0, 0);
43530 return 0;
43532 _ACEOF
43533 if ac_fn_cxx_try_compile "$LINENO"; then :
43534 glibcxx_cv_func_ldexpf_use=yes
43535 else
43536 glibcxx_cv_func_ldexpf_use=no
43538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43539 ac_ext=c
43540 ac_cpp='$CPP $CPPFLAGS'
43541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43550 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43552 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43553 for ac_func in ldexpf
43554 do :
43555 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43556 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43557 cat >>confdefs.h <<_ACEOF
43558 #define HAVE_LDEXPF 1
43559 _ACEOF
43562 done
43564 else
43566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43567 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43568 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43569 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43570 $as_echo_n "(cached) " >&6
43571 else
43574 ac_ext=cpp
43575 ac_cpp='$CXXCPP $CPPFLAGS'
43576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43581 /* end confdefs.h. */
43582 #include <math.h>
43584 main ()
43586 _ldexpf(0, 0);
43588 return 0;
43590 _ACEOF
43591 if ac_fn_cxx_try_compile "$LINENO"; then :
43592 glibcxx_cv_func__ldexpf_use=yes
43593 else
43594 glibcxx_cv_func__ldexpf_use=no
43596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43597 ac_ext=c
43598 ac_cpp='$CPP $CPPFLAGS'
43599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43608 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43610 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43611 for ac_func in _ldexpf
43612 do :
43613 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43614 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43615 cat >>confdefs.h <<_ACEOF
43616 #define HAVE__LDEXPF 1
43617 _ACEOF
43620 done
43629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43630 $as_echo_n "checking for logf declaration... " >&6; }
43631 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43632 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43633 $as_echo_n "(cached) " >&6
43634 else
43637 ac_ext=cpp
43638 ac_cpp='$CXXCPP $CPPFLAGS'
43639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43644 /* end confdefs.h. */
43645 #include <math.h>
43646 #ifdef HAVE_IEEEFP_H
43647 #include <ieeefp.h>
43648 #endif
43651 main ()
43653 logf(0);
43655 return 0;
43657 _ACEOF
43658 if ac_fn_cxx_try_compile "$LINENO"; then :
43659 glibcxx_cv_func_logf_use=yes
43660 else
43661 glibcxx_cv_func_logf_use=no
43663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43664 ac_ext=c
43665 ac_cpp='$CPP $CPPFLAGS'
43666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43675 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43677 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43678 for ac_func in logf
43679 do :
43680 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43681 if test "x$ac_cv_func_logf" = x""yes; then :
43682 cat >>confdefs.h <<_ACEOF
43683 #define HAVE_LOGF 1
43684 _ACEOF
43687 done
43689 else
43691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43692 $as_echo_n "checking for _logf declaration... " >&6; }
43693 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43694 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43695 $as_echo_n "(cached) " >&6
43696 else
43699 ac_ext=cpp
43700 ac_cpp='$CXXCPP $CPPFLAGS'
43701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43706 /* end confdefs.h. */
43707 #include <math.h>
43708 #ifdef HAVE_IEEEFP_H
43709 #include <ieeefp.h>
43710 #endif
43713 main ()
43715 _logf(0);
43717 return 0;
43719 _ACEOF
43720 if ac_fn_cxx_try_compile "$LINENO"; then :
43721 glibcxx_cv_func__logf_use=yes
43722 else
43723 glibcxx_cv_func__logf_use=no
43725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43726 ac_ext=c
43727 ac_cpp='$CPP $CPPFLAGS'
43728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43737 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43739 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43740 for ac_func in _logf
43741 do :
43742 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43743 if test "x$ac_cv_func__logf" = x""yes; then :
43744 cat >>confdefs.h <<_ACEOF
43745 #define HAVE__LOGF 1
43746 _ACEOF
43749 done
43758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43759 $as_echo_n "checking for log10f declaration... " >&6; }
43760 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43761 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43762 $as_echo_n "(cached) " >&6
43763 else
43766 ac_ext=cpp
43767 ac_cpp='$CXXCPP $CPPFLAGS'
43768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43773 /* end confdefs.h. */
43774 #include <math.h>
43775 #ifdef HAVE_IEEEFP_H
43776 #include <ieeefp.h>
43777 #endif
43780 main ()
43782 log10f(0);
43784 return 0;
43786 _ACEOF
43787 if ac_fn_cxx_try_compile "$LINENO"; then :
43788 glibcxx_cv_func_log10f_use=yes
43789 else
43790 glibcxx_cv_func_log10f_use=no
43792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43793 ac_ext=c
43794 ac_cpp='$CPP $CPPFLAGS'
43795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43804 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43806 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43807 for ac_func in log10f
43808 do :
43809 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43810 if test "x$ac_cv_func_log10f" = x""yes; then :
43811 cat >>confdefs.h <<_ACEOF
43812 #define HAVE_LOG10F 1
43813 _ACEOF
43816 done
43818 else
43820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43821 $as_echo_n "checking for _log10f declaration... " >&6; }
43822 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43823 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43824 $as_echo_n "(cached) " >&6
43825 else
43828 ac_ext=cpp
43829 ac_cpp='$CXXCPP $CPPFLAGS'
43830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43835 /* end confdefs.h. */
43836 #include <math.h>
43837 #ifdef HAVE_IEEEFP_H
43838 #include <ieeefp.h>
43839 #endif
43842 main ()
43844 _log10f(0);
43846 return 0;
43848 _ACEOF
43849 if ac_fn_cxx_try_compile "$LINENO"; then :
43850 glibcxx_cv_func__log10f_use=yes
43851 else
43852 glibcxx_cv_func__log10f_use=no
43854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43855 ac_ext=c
43856 ac_cpp='$CPP $CPPFLAGS'
43857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43866 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43868 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43869 for ac_func in _log10f
43870 do :
43871 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43872 if test "x$ac_cv_func__log10f" = x""yes; then :
43873 cat >>confdefs.h <<_ACEOF
43874 #define HAVE__LOG10F 1
43875 _ACEOF
43878 done
43887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43888 $as_echo_n "checking for modff declaration... " >&6; }
43889 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43890 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43891 $as_echo_n "(cached) " >&6
43892 else
43895 ac_ext=cpp
43896 ac_cpp='$CXXCPP $CPPFLAGS'
43897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43902 /* end confdefs.h. */
43903 #include <math.h>
43905 main ()
43907 modff(0, 0);
43909 return 0;
43911 _ACEOF
43912 if ac_fn_cxx_try_compile "$LINENO"; then :
43913 glibcxx_cv_func_modff_use=yes
43914 else
43915 glibcxx_cv_func_modff_use=no
43917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43918 ac_ext=c
43919 ac_cpp='$CPP $CPPFLAGS'
43920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43929 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43931 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43932 for ac_func in modff
43933 do :
43934 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43935 if test "x$ac_cv_func_modff" = x""yes; then :
43936 cat >>confdefs.h <<_ACEOF
43937 #define HAVE_MODFF 1
43938 _ACEOF
43941 done
43943 else
43945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43946 $as_echo_n "checking for _modff declaration... " >&6; }
43947 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43948 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43949 $as_echo_n "(cached) " >&6
43950 else
43953 ac_ext=cpp
43954 ac_cpp='$CXXCPP $CPPFLAGS'
43955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43960 /* end confdefs.h. */
43961 #include <math.h>
43963 main ()
43965 _modff(0, 0);
43967 return 0;
43969 _ACEOF
43970 if ac_fn_cxx_try_compile "$LINENO"; then :
43971 glibcxx_cv_func__modff_use=yes
43972 else
43973 glibcxx_cv_func__modff_use=no
43975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43976 ac_ext=c
43977 ac_cpp='$CPP $CPPFLAGS'
43978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43987 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43989 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43990 for ac_func in _modff
43991 do :
43992 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43993 if test "x$ac_cv_func__modff" = x""yes; then :
43994 cat >>confdefs.h <<_ACEOF
43995 #define HAVE__MODFF 1
43996 _ACEOF
43999 done
44008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44009 $as_echo_n "checking for modf declaration... " >&6; }
44010 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44011 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44012 $as_echo_n "(cached) " >&6
44013 else
44016 ac_ext=cpp
44017 ac_cpp='$CXXCPP $CPPFLAGS'
44018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44023 /* end confdefs.h. */
44024 #include <math.h>
44026 main ()
44028 modf(0, 0);
44030 return 0;
44032 _ACEOF
44033 if ac_fn_cxx_try_compile "$LINENO"; then :
44034 glibcxx_cv_func_modf_use=yes
44035 else
44036 glibcxx_cv_func_modf_use=no
44038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44039 ac_ext=c
44040 ac_cpp='$CPP $CPPFLAGS'
44041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44050 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44052 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44053 for ac_func in modf
44054 do :
44055 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44056 if test "x$ac_cv_func_modf" = x""yes; then :
44057 cat >>confdefs.h <<_ACEOF
44058 #define HAVE_MODF 1
44059 _ACEOF
44062 done
44064 else
44066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44067 $as_echo_n "checking for _modf declaration... " >&6; }
44068 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44069 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44070 $as_echo_n "(cached) " >&6
44071 else
44074 ac_ext=cpp
44075 ac_cpp='$CXXCPP $CPPFLAGS'
44076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44081 /* end confdefs.h. */
44082 #include <math.h>
44084 main ()
44086 _modf(0, 0);
44088 return 0;
44090 _ACEOF
44091 if ac_fn_cxx_try_compile "$LINENO"; then :
44092 glibcxx_cv_func__modf_use=yes
44093 else
44094 glibcxx_cv_func__modf_use=no
44096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44097 ac_ext=c
44098 ac_cpp='$CPP $CPPFLAGS'
44099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44108 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44110 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44111 for ac_func in _modf
44112 do :
44113 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44114 if test "x$ac_cv_func__modf" = x""yes; then :
44115 cat >>confdefs.h <<_ACEOF
44116 #define HAVE__MODF 1
44117 _ACEOF
44120 done
44129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44130 $as_echo_n "checking for powf declaration... " >&6; }
44131 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44132 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44133 $as_echo_n "(cached) " >&6
44134 else
44137 ac_ext=cpp
44138 ac_cpp='$CXXCPP $CPPFLAGS'
44139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44144 /* end confdefs.h. */
44145 #include <math.h>
44147 main ()
44149 powf(0, 0);
44151 return 0;
44153 _ACEOF
44154 if ac_fn_cxx_try_compile "$LINENO"; then :
44155 glibcxx_cv_func_powf_use=yes
44156 else
44157 glibcxx_cv_func_powf_use=no
44159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44160 ac_ext=c
44161 ac_cpp='$CPP $CPPFLAGS'
44162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44171 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44173 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44174 for ac_func in powf
44175 do :
44176 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44177 if test "x$ac_cv_func_powf" = x""yes; then :
44178 cat >>confdefs.h <<_ACEOF
44179 #define HAVE_POWF 1
44180 _ACEOF
44183 done
44185 else
44187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44188 $as_echo_n "checking for _powf declaration... " >&6; }
44189 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44190 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44191 $as_echo_n "(cached) " >&6
44192 else
44195 ac_ext=cpp
44196 ac_cpp='$CXXCPP $CPPFLAGS'
44197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44202 /* end confdefs.h. */
44203 #include <math.h>
44205 main ()
44207 _powf(0, 0);
44209 return 0;
44211 _ACEOF
44212 if ac_fn_cxx_try_compile "$LINENO"; then :
44213 glibcxx_cv_func__powf_use=yes
44214 else
44215 glibcxx_cv_func__powf_use=no
44217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44218 ac_ext=c
44219 ac_cpp='$CPP $CPPFLAGS'
44220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44229 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44231 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44232 for ac_func in _powf
44233 do :
44234 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44235 if test "x$ac_cv_func__powf" = x""yes; then :
44236 cat >>confdefs.h <<_ACEOF
44237 #define HAVE__POWF 1
44238 _ACEOF
44241 done
44250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44251 $as_echo_n "checking for sqrtf declaration... " >&6; }
44252 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44253 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44254 $as_echo_n "(cached) " >&6
44255 else
44258 ac_ext=cpp
44259 ac_cpp='$CXXCPP $CPPFLAGS'
44260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44265 /* end confdefs.h. */
44266 #include <math.h>
44267 #ifdef HAVE_IEEEFP_H
44268 #include <ieeefp.h>
44269 #endif
44272 main ()
44274 sqrtf(0);
44276 return 0;
44278 _ACEOF
44279 if ac_fn_cxx_try_compile "$LINENO"; then :
44280 glibcxx_cv_func_sqrtf_use=yes
44281 else
44282 glibcxx_cv_func_sqrtf_use=no
44284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44285 ac_ext=c
44286 ac_cpp='$CPP $CPPFLAGS'
44287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44296 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44298 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44299 for ac_func in sqrtf
44300 do :
44301 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44302 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44303 cat >>confdefs.h <<_ACEOF
44304 #define HAVE_SQRTF 1
44305 _ACEOF
44308 done
44310 else
44312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44313 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44314 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44315 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44316 $as_echo_n "(cached) " >&6
44317 else
44320 ac_ext=cpp
44321 ac_cpp='$CXXCPP $CPPFLAGS'
44322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44327 /* end confdefs.h. */
44328 #include <math.h>
44329 #ifdef HAVE_IEEEFP_H
44330 #include <ieeefp.h>
44331 #endif
44334 main ()
44336 _sqrtf(0);
44338 return 0;
44340 _ACEOF
44341 if ac_fn_cxx_try_compile "$LINENO"; then :
44342 glibcxx_cv_func__sqrtf_use=yes
44343 else
44344 glibcxx_cv_func__sqrtf_use=no
44346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44347 ac_ext=c
44348 ac_cpp='$CPP $CPPFLAGS'
44349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44358 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44360 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44361 for ac_func in _sqrtf
44362 do :
44363 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44364 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44365 cat >>confdefs.h <<_ACEOF
44366 #define HAVE__SQRTF 1
44367 _ACEOF
44370 done
44379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44380 $as_echo_n "checking for sincosf declaration... " >&6; }
44381 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44382 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44383 $as_echo_n "(cached) " >&6
44384 else
44387 ac_ext=cpp
44388 ac_cpp='$CXXCPP $CPPFLAGS'
44389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44394 /* end confdefs.h. */
44395 #include <math.h>
44397 main ()
44399 sincosf(0, 0, 0);
44401 return 0;
44403 _ACEOF
44404 if ac_fn_cxx_try_compile "$LINENO"; then :
44405 glibcxx_cv_func_sincosf_use=yes
44406 else
44407 glibcxx_cv_func_sincosf_use=no
44409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44410 ac_ext=c
44411 ac_cpp='$CPP $CPPFLAGS'
44412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44421 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44423 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44424 for ac_func in sincosf
44425 do :
44426 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44427 if test "x$ac_cv_func_sincosf" = x""yes; then :
44428 cat >>confdefs.h <<_ACEOF
44429 #define HAVE_SINCOSF 1
44430 _ACEOF
44433 done
44435 else
44437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44438 $as_echo_n "checking for _sincosf declaration... " >&6; }
44439 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44440 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44441 $as_echo_n "(cached) " >&6
44442 else
44445 ac_ext=cpp
44446 ac_cpp='$CXXCPP $CPPFLAGS'
44447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44452 /* end confdefs.h. */
44453 #include <math.h>
44455 main ()
44457 _sincosf(0, 0, 0);
44459 return 0;
44461 _ACEOF
44462 if ac_fn_cxx_try_compile "$LINENO"; then :
44463 glibcxx_cv_func__sincosf_use=yes
44464 else
44465 glibcxx_cv_func__sincosf_use=no
44467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44468 ac_ext=c
44469 ac_cpp='$CPP $CPPFLAGS'
44470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44479 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44481 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44482 for ac_func in _sincosf
44483 do :
44484 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44485 if test "x$ac_cv_func__sincosf" = x""yes; then :
44486 cat >>confdefs.h <<_ACEOF
44487 #define HAVE__SINCOSF 1
44488 _ACEOF
44491 done
44500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44501 $as_echo_n "checking for finitef declaration... " >&6; }
44502 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44503 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44504 $as_echo_n "(cached) " >&6
44505 else
44508 ac_ext=cpp
44509 ac_cpp='$CXXCPP $CPPFLAGS'
44510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44515 /* end confdefs.h. */
44516 #include <math.h>
44517 #ifdef HAVE_IEEEFP_H
44518 #include <ieeefp.h>
44519 #endif
44522 main ()
44524 finitef(0);
44526 return 0;
44528 _ACEOF
44529 if ac_fn_cxx_try_compile "$LINENO"; then :
44530 glibcxx_cv_func_finitef_use=yes
44531 else
44532 glibcxx_cv_func_finitef_use=no
44534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44535 ac_ext=c
44536 ac_cpp='$CPP $CPPFLAGS'
44537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44546 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44548 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44549 for ac_func in finitef
44550 do :
44551 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44552 if test "x$ac_cv_func_finitef" = x""yes; then :
44553 cat >>confdefs.h <<_ACEOF
44554 #define HAVE_FINITEF 1
44555 _ACEOF
44558 done
44560 else
44562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44563 $as_echo_n "checking for _finitef declaration... " >&6; }
44564 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44565 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44566 $as_echo_n "(cached) " >&6
44567 else
44570 ac_ext=cpp
44571 ac_cpp='$CXXCPP $CPPFLAGS'
44572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44577 /* end confdefs.h. */
44578 #include <math.h>
44579 #ifdef HAVE_IEEEFP_H
44580 #include <ieeefp.h>
44581 #endif
44584 main ()
44586 _finitef(0);
44588 return 0;
44590 _ACEOF
44591 if ac_fn_cxx_try_compile "$LINENO"; then :
44592 glibcxx_cv_func__finitef_use=yes
44593 else
44594 glibcxx_cv_func__finitef_use=no
44596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44597 ac_ext=c
44598 ac_cpp='$CPP $CPPFLAGS'
44599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44608 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44610 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44611 for ac_func in _finitef
44612 do :
44613 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44614 if test "x$ac_cv_func__finitef" = x""yes; then :
44615 cat >>confdefs.h <<_ACEOF
44616 #define HAVE__FINITEF 1
44617 _ACEOF
44620 done
44629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44630 $as_echo_n "checking for long double trig functions... " >&6; }
44631 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44632 $as_echo_n "(cached) " >&6
44633 else
44636 ac_ext=cpp
44637 ac_cpp='$CXXCPP $CPPFLAGS'
44638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44643 /* end confdefs.h. */
44644 #include <math.h>
44646 main ()
44648 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44650 return 0;
44652 _ACEOF
44653 if ac_fn_cxx_try_compile "$LINENO"; then :
44654 glibcxx_cv_func_long_double_trig_use=yes
44655 else
44656 glibcxx_cv_func_long_double_trig_use=no
44658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44659 ac_ext=c
44660 ac_cpp='$CPP $CPPFLAGS'
44661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44668 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44669 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44670 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44671 do :
44672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44674 eval as_val=\$$as_ac_var
44675 if test "x$as_val" = x""yes; then :
44676 cat >>confdefs.h <<_ACEOF
44677 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44678 _ACEOF
44681 done
44683 else
44684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44685 $as_echo_n "checking for _long double trig functions... " >&6; }
44686 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44687 $as_echo_n "(cached) " >&6
44688 else
44691 ac_ext=cpp
44692 ac_cpp='$CXXCPP $CPPFLAGS'
44693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44698 /* end confdefs.h. */
44699 #include <math.h>
44701 main ()
44703 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44705 return 0;
44707 _ACEOF
44708 if ac_fn_cxx_try_compile "$LINENO"; then :
44709 glibcxx_cv_func__long_double_trig_use=yes
44710 else
44711 glibcxx_cv_func__long_double_trig_use=no
44713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44714 ac_ext=c
44715 ac_cpp='$CPP $CPPFLAGS'
44716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44723 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44724 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44725 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44726 do :
44727 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44728 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44729 eval as_val=\$$as_ac_var
44730 if test "x$as_val" = x""yes; then :
44731 cat >>confdefs.h <<_ACEOF
44732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44733 _ACEOF
44736 done
44745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44746 $as_echo_n "checking for long double round functions... " >&6; }
44747 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44748 $as_echo_n "(cached) " >&6
44749 else
44752 ac_ext=cpp
44753 ac_cpp='$CXXCPP $CPPFLAGS'
44754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44759 /* end confdefs.h. */
44760 #include <math.h>
44762 main ()
44764 ceill (0); floorl (0);
44766 return 0;
44768 _ACEOF
44769 if ac_fn_cxx_try_compile "$LINENO"; then :
44770 glibcxx_cv_func_long_double_round_use=yes
44771 else
44772 glibcxx_cv_func_long_double_round_use=no
44774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44775 ac_ext=c
44776 ac_cpp='$CPP $CPPFLAGS'
44777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44784 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44785 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44786 for ac_func in ceill floorl
44787 do :
44788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44790 eval as_val=\$$as_ac_var
44791 if test "x$as_val" = x""yes; then :
44792 cat >>confdefs.h <<_ACEOF
44793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44794 _ACEOF
44797 done
44799 else
44800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44801 $as_echo_n "checking for _long double round functions... " >&6; }
44802 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44803 $as_echo_n "(cached) " >&6
44804 else
44807 ac_ext=cpp
44808 ac_cpp='$CXXCPP $CPPFLAGS'
44809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44814 /* end confdefs.h. */
44815 #include <math.h>
44817 main ()
44819 _ceill (0); _floorl (0);
44821 return 0;
44823 _ACEOF
44824 if ac_fn_cxx_try_compile "$LINENO"; then :
44825 glibcxx_cv_func__long_double_round_use=yes
44826 else
44827 glibcxx_cv_func__long_double_round_use=no
44829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44830 ac_ext=c
44831 ac_cpp='$CPP $CPPFLAGS'
44832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44839 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44840 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44841 for ac_func in _ceill _floorl
44842 do :
44843 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44844 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44845 eval as_val=\$$as_ac_var
44846 if test "x$as_val" = x""yes; then :
44847 cat >>confdefs.h <<_ACEOF
44848 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44849 _ACEOF
44852 done
44862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44863 $as_echo_n "checking for isnanl declaration... " >&6; }
44864 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44865 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44866 $as_echo_n "(cached) " >&6
44867 else
44870 ac_ext=cpp
44871 ac_cpp='$CXXCPP $CPPFLAGS'
44872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44877 /* end confdefs.h. */
44878 #include <math.h>
44879 #ifdef HAVE_IEEEFP_H
44880 #include <ieeefp.h>
44881 #endif
44884 main ()
44886 isnanl(0);
44888 return 0;
44890 _ACEOF
44891 if ac_fn_cxx_try_compile "$LINENO"; then :
44892 glibcxx_cv_func_isnanl_use=yes
44893 else
44894 glibcxx_cv_func_isnanl_use=no
44896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44897 ac_ext=c
44898 ac_cpp='$CPP $CPPFLAGS'
44899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44908 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44910 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44911 for ac_func in isnanl
44912 do :
44913 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44914 if test "x$ac_cv_func_isnanl" = x""yes; then :
44915 cat >>confdefs.h <<_ACEOF
44916 #define HAVE_ISNANL 1
44917 _ACEOF
44920 done
44922 else
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44925 $as_echo_n "checking for _isnanl declaration... " >&6; }
44926 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44927 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44928 $as_echo_n "(cached) " >&6
44929 else
44932 ac_ext=cpp
44933 ac_cpp='$CXXCPP $CPPFLAGS'
44934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44939 /* end confdefs.h. */
44940 #include <math.h>
44941 #ifdef HAVE_IEEEFP_H
44942 #include <ieeefp.h>
44943 #endif
44946 main ()
44948 _isnanl(0);
44950 return 0;
44952 _ACEOF
44953 if ac_fn_cxx_try_compile "$LINENO"; then :
44954 glibcxx_cv_func__isnanl_use=yes
44955 else
44956 glibcxx_cv_func__isnanl_use=no
44958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44959 ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44970 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44972 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44973 for ac_func in _isnanl
44974 do :
44975 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44976 if test "x$ac_cv_func__isnanl" = x""yes; then :
44977 cat >>confdefs.h <<_ACEOF
44978 #define HAVE__ISNANL 1
44979 _ACEOF
44982 done
44991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44992 $as_echo_n "checking for isinfl declaration... " >&6; }
44993 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44994 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44995 $as_echo_n "(cached) " >&6
44996 else
44999 ac_ext=cpp
45000 ac_cpp='$CXXCPP $CPPFLAGS'
45001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45006 /* end confdefs.h. */
45007 #include <math.h>
45008 #ifdef HAVE_IEEEFP_H
45009 #include <ieeefp.h>
45010 #endif
45013 main ()
45015 isinfl(0);
45017 return 0;
45019 _ACEOF
45020 if ac_fn_cxx_try_compile "$LINENO"; then :
45021 glibcxx_cv_func_isinfl_use=yes
45022 else
45023 glibcxx_cv_func_isinfl_use=no
45025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45026 ac_ext=c
45027 ac_cpp='$CPP $CPPFLAGS'
45028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45037 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45039 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45040 for ac_func in isinfl
45041 do :
45042 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45043 if test "x$ac_cv_func_isinfl" = x""yes; then :
45044 cat >>confdefs.h <<_ACEOF
45045 #define HAVE_ISINFL 1
45046 _ACEOF
45049 done
45051 else
45053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45054 $as_echo_n "checking for _isinfl declaration... " >&6; }
45055 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45056 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45057 $as_echo_n "(cached) " >&6
45058 else
45061 ac_ext=cpp
45062 ac_cpp='$CXXCPP $CPPFLAGS'
45063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h. */
45069 #include <math.h>
45070 #ifdef HAVE_IEEEFP_H
45071 #include <ieeefp.h>
45072 #endif
45075 main ()
45077 _isinfl(0);
45079 return 0;
45081 _ACEOF
45082 if ac_fn_cxx_try_compile "$LINENO"; then :
45083 glibcxx_cv_func__isinfl_use=yes
45084 else
45085 glibcxx_cv_func__isinfl_use=no
45087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45088 ac_ext=c
45089 ac_cpp='$CPP $CPPFLAGS'
45090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45099 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45101 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45102 for ac_func in _isinfl
45103 do :
45104 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45105 if test "x$ac_cv_func__isinfl" = x""yes; then :
45106 cat >>confdefs.h <<_ACEOF
45107 #define HAVE__ISINFL 1
45108 _ACEOF
45111 done
45120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45121 $as_echo_n "checking for atan2l declaration... " >&6; }
45122 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45123 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45124 $as_echo_n "(cached) " >&6
45125 else
45128 ac_ext=cpp
45129 ac_cpp='$CXXCPP $CPPFLAGS'
45130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45135 /* end confdefs.h. */
45136 #include <math.h>
45138 main ()
45140 atan2l(0, 0);
45142 return 0;
45144 _ACEOF
45145 if ac_fn_cxx_try_compile "$LINENO"; then :
45146 glibcxx_cv_func_atan2l_use=yes
45147 else
45148 glibcxx_cv_func_atan2l_use=no
45150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45151 ac_ext=c
45152 ac_cpp='$CPP $CPPFLAGS'
45153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45162 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45164 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45165 for ac_func in atan2l
45166 do :
45167 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45168 if test "x$ac_cv_func_atan2l" = x""yes; then :
45169 cat >>confdefs.h <<_ACEOF
45170 #define HAVE_ATAN2L 1
45171 _ACEOF
45174 done
45176 else
45178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45179 $as_echo_n "checking for _atan2l declaration... " >&6; }
45180 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45181 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45182 $as_echo_n "(cached) " >&6
45183 else
45186 ac_ext=cpp
45187 ac_cpp='$CXXCPP $CPPFLAGS'
45188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45193 /* end confdefs.h. */
45194 #include <math.h>
45196 main ()
45198 _atan2l(0, 0);
45200 return 0;
45202 _ACEOF
45203 if ac_fn_cxx_try_compile "$LINENO"; then :
45204 glibcxx_cv_func__atan2l_use=yes
45205 else
45206 glibcxx_cv_func__atan2l_use=no
45208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45209 ac_ext=c
45210 ac_cpp='$CPP $CPPFLAGS'
45211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45220 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45222 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45223 for ac_func in _atan2l
45224 do :
45225 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45226 if test "x$ac_cv_func__atan2l" = x""yes; then :
45227 cat >>confdefs.h <<_ACEOF
45228 #define HAVE__ATAN2L 1
45229 _ACEOF
45232 done
45241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45242 $as_echo_n "checking for expl declaration... " >&6; }
45243 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45244 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45245 $as_echo_n "(cached) " >&6
45246 else
45249 ac_ext=cpp
45250 ac_cpp='$CXXCPP $CPPFLAGS'
45251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45256 /* end confdefs.h. */
45257 #include <math.h>
45258 #ifdef HAVE_IEEEFP_H
45259 #include <ieeefp.h>
45260 #endif
45263 main ()
45265 expl(0);
45267 return 0;
45269 _ACEOF
45270 if ac_fn_cxx_try_compile "$LINENO"; then :
45271 glibcxx_cv_func_expl_use=yes
45272 else
45273 glibcxx_cv_func_expl_use=no
45275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45276 ac_ext=c
45277 ac_cpp='$CPP $CPPFLAGS'
45278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45287 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45289 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45290 for ac_func in expl
45291 do :
45292 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45293 if test "x$ac_cv_func_expl" = x""yes; then :
45294 cat >>confdefs.h <<_ACEOF
45295 #define HAVE_EXPL 1
45296 _ACEOF
45299 done
45301 else
45303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45304 $as_echo_n "checking for _expl declaration... " >&6; }
45305 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45306 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45307 $as_echo_n "(cached) " >&6
45308 else
45311 ac_ext=cpp
45312 ac_cpp='$CXXCPP $CPPFLAGS'
45313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45318 /* end confdefs.h. */
45319 #include <math.h>
45320 #ifdef HAVE_IEEEFP_H
45321 #include <ieeefp.h>
45322 #endif
45325 main ()
45327 _expl(0);
45329 return 0;
45331 _ACEOF
45332 if ac_fn_cxx_try_compile "$LINENO"; then :
45333 glibcxx_cv_func__expl_use=yes
45334 else
45335 glibcxx_cv_func__expl_use=no
45337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45338 ac_ext=c
45339 ac_cpp='$CPP $CPPFLAGS'
45340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45349 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45351 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45352 for ac_func in _expl
45353 do :
45354 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45355 if test "x$ac_cv_func__expl" = x""yes; then :
45356 cat >>confdefs.h <<_ACEOF
45357 #define HAVE__EXPL 1
45358 _ACEOF
45361 done
45370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45371 $as_echo_n "checking for fabsl declaration... " >&6; }
45372 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45373 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45374 $as_echo_n "(cached) " >&6
45375 else
45378 ac_ext=cpp
45379 ac_cpp='$CXXCPP $CPPFLAGS'
45380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45385 /* end confdefs.h. */
45386 #include <math.h>
45387 #ifdef HAVE_IEEEFP_H
45388 #include <ieeefp.h>
45389 #endif
45392 main ()
45394 fabsl(0);
45396 return 0;
45398 _ACEOF
45399 if ac_fn_cxx_try_compile "$LINENO"; then :
45400 glibcxx_cv_func_fabsl_use=yes
45401 else
45402 glibcxx_cv_func_fabsl_use=no
45404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45405 ac_ext=c
45406 ac_cpp='$CPP $CPPFLAGS'
45407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45416 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45418 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45419 for ac_func in fabsl
45420 do :
45421 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45422 if test "x$ac_cv_func_fabsl" = x""yes; then :
45423 cat >>confdefs.h <<_ACEOF
45424 #define HAVE_FABSL 1
45425 _ACEOF
45428 done
45430 else
45432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45433 $as_echo_n "checking for _fabsl declaration... " >&6; }
45434 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45435 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45436 $as_echo_n "(cached) " >&6
45437 else
45440 ac_ext=cpp
45441 ac_cpp='$CXXCPP $CPPFLAGS'
45442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45447 /* end confdefs.h. */
45448 #include <math.h>
45449 #ifdef HAVE_IEEEFP_H
45450 #include <ieeefp.h>
45451 #endif
45454 main ()
45456 _fabsl(0);
45458 return 0;
45460 _ACEOF
45461 if ac_fn_cxx_try_compile "$LINENO"; then :
45462 glibcxx_cv_func__fabsl_use=yes
45463 else
45464 glibcxx_cv_func__fabsl_use=no
45466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45467 ac_ext=c
45468 ac_cpp='$CPP $CPPFLAGS'
45469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45478 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45480 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45481 for ac_func in _fabsl
45482 do :
45483 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45484 if test "x$ac_cv_func__fabsl" = x""yes; then :
45485 cat >>confdefs.h <<_ACEOF
45486 #define HAVE__FABSL 1
45487 _ACEOF
45490 done
45499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45500 $as_echo_n "checking for fmodl declaration... " >&6; }
45501 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45502 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45503 $as_echo_n "(cached) " >&6
45504 else
45507 ac_ext=cpp
45508 ac_cpp='$CXXCPP $CPPFLAGS'
45509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45514 /* end confdefs.h. */
45515 #include <math.h>
45517 main ()
45519 fmodl(0, 0);
45521 return 0;
45523 _ACEOF
45524 if ac_fn_cxx_try_compile "$LINENO"; then :
45525 glibcxx_cv_func_fmodl_use=yes
45526 else
45527 glibcxx_cv_func_fmodl_use=no
45529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45530 ac_ext=c
45531 ac_cpp='$CPP $CPPFLAGS'
45532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45541 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45543 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45544 for ac_func in fmodl
45545 do :
45546 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45547 if test "x$ac_cv_func_fmodl" = x""yes; then :
45548 cat >>confdefs.h <<_ACEOF
45549 #define HAVE_FMODL 1
45550 _ACEOF
45553 done
45555 else
45557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45558 $as_echo_n "checking for _fmodl declaration... " >&6; }
45559 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45560 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45561 $as_echo_n "(cached) " >&6
45562 else
45565 ac_ext=cpp
45566 ac_cpp='$CXXCPP $CPPFLAGS'
45567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45572 /* end confdefs.h. */
45573 #include <math.h>
45575 main ()
45577 _fmodl(0, 0);
45579 return 0;
45581 _ACEOF
45582 if ac_fn_cxx_try_compile "$LINENO"; then :
45583 glibcxx_cv_func__fmodl_use=yes
45584 else
45585 glibcxx_cv_func__fmodl_use=no
45587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45588 ac_ext=c
45589 ac_cpp='$CPP $CPPFLAGS'
45590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45599 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45601 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45602 for ac_func in _fmodl
45603 do :
45604 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45605 if test "x$ac_cv_func__fmodl" = x""yes; then :
45606 cat >>confdefs.h <<_ACEOF
45607 #define HAVE__FMODL 1
45608 _ACEOF
45611 done
45620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45621 $as_echo_n "checking for frexpl declaration... " >&6; }
45622 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45623 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45624 $as_echo_n "(cached) " >&6
45625 else
45628 ac_ext=cpp
45629 ac_cpp='$CXXCPP $CPPFLAGS'
45630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45635 /* end confdefs.h. */
45636 #include <math.h>
45638 main ()
45640 frexpl(0, 0);
45642 return 0;
45644 _ACEOF
45645 if ac_fn_cxx_try_compile "$LINENO"; then :
45646 glibcxx_cv_func_frexpl_use=yes
45647 else
45648 glibcxx_cv_func_frexpl_use=no
45650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45651 ac_ext=c
45652 ac_cpp='$CPP $CPPFLAGS'
45653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45662 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45664 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45665 for ac_func in frexpl
45666 do :
45667 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45668 if test "x$ac_cv_func_frexpl" = x""yes; then :
45669 cat >>confdefs.h <<_ACEOF
45670 #define HAVE_FREXPL 1
45671 _ACEOF
45674 done
45676 else
45678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45679 $as_echo_n "checking for _frexpl declaration... " >&6; }
45680 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45681 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45682 $as_echo_n "(cached) " >&6
45683 else
45686 ac_ext=cpp
45687 ac_cpp='$CXXCPP $CPPFLAGS'
45688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45693 /* end confdefs.h. */
45694 #include <math.h>
45696 main ()
45698 _frexpl(0, 0);
45700 return 0;
45702 _ACEOF
45703 if ac_fn_cxx_try_compile "$LINENO"; then :
45704 glibcxx_cv_func__frexpl_use=yes
45705 else
45706 glibcxx_cv_func__frexpl_use=no
45708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45709 ac_ext=c
45710 ac_cpp='$CPP $CPPFLAGS'
45711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45720 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45722 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45723 for ac_func in _frexpl
45724 do :
45725 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45726 if test "x$ac_cv_func__frexpl" = x""yes; then :
45727 cat >>confdefs.h <<_ACEOF
45728 #define HAVE__FREXPL 1
45729 _ACEOF
45732 done
45741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45742 $as_echo_n "checking for hypotl declaration... " >&6; }
45743 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45744 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45745 $as_echo_n "(cached) " >&6
45746 else
45749 ac_ext=cpp
45750 ac_cpp='$CXXCPP $CPPFLAGS'
45751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45756 /* end confdefs.h. */
45757 #include <math.h>
45759 main ()
45761 hypotl(0, 0);
45763 return 0;
45765 _ACEOF
45766 if ac_fn_cxx_try_compile "$LINENO"; then :
45767 glibcxx_cv_func_hypotl_use=yes
45768 else
45769 glibcxx_cv_func_hypotl_use=no
45771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45772 ac_ext=c
45773 ac_cpp='$CPP $CPPFLAGS'
45774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45783 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45785 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45786 for ac_func in hypotl
45787 do :
45788 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45789 if test "x$ac_cv_func_hypotl" = x""yes; then :
45790 cat >>confdefs.h <<_ACEOF
45791 #define HAVE_HYPOTL 1
45792 _ACEOF
45795 done
45797 else
45799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45800 $as_echo_n "checking for _hypotl declaration... " >&6; }
45801 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45802 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45803 $as_echo_n "(cached) " >&6
45804 else
45807 ac_ext=cpp
45808 ac_cpp='$CXXCPP $CPPFLAGS'
45809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45814 /* end confdefs.h. */
45815 #include <math.h>
45817 main ()
45819 _hypotl(0, 0);
45821 return 0;
45823 _ACEOF
45824 if ac_fn_cxx_try_compile "$LINENO"; then :
45825 glibcxx_cv_func__hypotl_use=yes
45826 else
45827 glibcxx_cv_func__hypotl_use=no
45829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45830 ac_ext=c
45831 ac_cpp='$CPP $CPPFLAGS'
45832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45841 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45843 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45844 for ac_func in _hypotl
45845 do :
45846 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45847 if test "x$ac_cv_func__hypotl" = x""yes; then :
45848 cat >>confdefs.h <<_ACEOF
45849 #define HAVE__HYPOTL 1
45850 _ACEOF
45853 done
45862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45863 $as_echo_n "checking for ldexpl declaration... " >&6; }
45864 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45865 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45866 $as_echo_n "(cached) " >&6
45867 else
45870 ac_ext=cpp
45871 ac_cpp='$CXXCPP $CPPFLAGS'
45872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45877 /* end confdefs.h. */
45878 #include <math.h>
45880 main ()
45882 ldexpl(0, 0);
45884 return 0;
45886 _ACEOF
45887 if ac_fn_cxx_try_compile "$LINENO"; then :
45888 glibcxx_cv_func_ldexpl_use=yes
45889 else
45890 glibcxx_cv_func_ldexpl_use=no
45892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45893 ac_ext=c
45894 ac_cpp='$CPP $CPPFLAGS'
45895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45904 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45906 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45907 for ac_func in ldexpl
45908 do :
45909 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45910 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45911 cat >>confdefs.h <<_ACEOF
45912 #define HAVE_LDEXPL 1
45913 _ACEOF
45916 done
45918 else
45920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45921 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45922 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45923 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45924 $as_echo_n "(cached) " >&6
45925 else
45928 ac_ext=cpp
45929 ac_cpp='$CXXCPP $CPPFLAGS'
45930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45935 /* end confdefs.h. */
45936 #include <math.h>
45938 main ()
45940 _ldexpl(0, 0);
45942 return 0;
45944 _ACEOF
45945 if ac_fn_cxx_try_compile "$LINENO"; then :
45946 glibcxx_cv_func__ldexpl_use=yes
45947 else
45948 glibcxx_cv_func__ldexpl_use=no
45950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45951 ac_ext=c
45952 ac_cpp='$CPP $CPPFLAGS'
45953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45962 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45964 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45965 for ac_func in _ldexpl
45966 do :
45967 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45968 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45969 cat >>confdefs.h <<_ACEOF
45970 #define HAVE__LDEXPL 1
45971 _ACEOF
45974 done
45983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45984 $as_echo_n "checking for logl declaration... " >&6; }
45985 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45986 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45987 $as_echo_n "(cached) " >&6
45988 else
45991 ac_ext=cpp
45992 ac_cpp='$CXXCPP $CPPFLAGS'
45993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45998 /* end confdefs.h. */
45999 #include <math.h>
46000 #ifdef HAVE_IEEEFP_H
46001 #include <ieeefp.h>
46002 #endif
46005 main ()
46007 logl(0);
46009 return 0;
46011 _ACEOF
46012 if ac_fn_cxx_try_compile "$LINENO"; then :
46013 glibcxx_cv_func_logl_use=yes
46014 else
46015 glibcxx_cv_func_logl_use=no
46017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46018 ac_ext=c
46019 ac_cpp='$CPP $CPPFLAGS'
46020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46029 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46031 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46032 for ac_func in logl
46033 do :
46034 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46035 if test "x$ac_cv_func_logl" = x""yes; then :
46036 cat >>confdefs.h <<_ACEOF
46037 #define HAVE_LOGL 1
46038 _ACEOF
46041 done
46043 else
46045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46046 $as_echo_n "checking for _logl declaration... " >&6; }
46047 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46048 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46049 $as_echo_n "(cached) " >&6
46050 else
46053 ac_ext=cpp
46054 ac_cpp='$CXXCPP $CPPFLAGS'
46055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46060 /* end confdefs.h. */
46061 #include <math.h>
46062 #ifdef HAVE_IEEEFP_H
46063 #include <ieeefp.h>
46064 #endif
46067 main ()
46069 _logl(0);
46071 return 0;
46073 _ACEOF
46074 if ac_fn_cxx_try_compile "$LINENO"; then :
46075 glibcxx_cv_func__logl_use=yes
46076 else
46077 glibcxx_cv_func__logl_use=no
46079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46080 ac_ext=c
46081 ac_cpp='$CPP $CPPFLAGS'
46082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46091 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46093 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46094 for ac_func in _logl
46095 do :
46096 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46097 if test "x$ac_cv_func__logl" = x""yes; then :
46098 cat >>confdefs.h <<_ACEOF
46099 #define HAVE__LOGL 1
46100 _ACEOF
46103 done
46112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46113 $as_echo_n "checking for log10l declaration... " >&6; }
46114 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46115 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46116 $as_echo_n "(cached) " >&6
46117 else
46120 ac_ext=cpp
46121 ac_cpp='$CXXCPP $CPPFLAGS'
46122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46127 /* end confdefs.h. */
46128 #include <math.h>
46129 #ifdef HAVE_IEEEFP_H
46130 #include <ieeefp.h>
46131 #endif
46134 main ()
46136 log10l(0);
46138 return 0;
46140 _ACEOF
46141 if ac_fn_cxx_try_compile "$LINENO"; then :
46142 glibcxx_cv_func_log10l_use=yes
46143 else
46144 glibcxx_cv_func_log10l_use=no
46146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46147 ac_ext=c
46148 ac_cpp='$CPP $CPPFLAGS'
46149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46158 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46160 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46161 for ac_func in log10l
46162 do :
46163 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46164 if test "x$ac_cv_func_log10l" = x""yes; then :
46165 cat >>confdefs.h <<_ACEOF
46166 #define HAVE_LOG10L 1
46167 _ACEOF
46170 done
46172 else
46174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46175 $as_echo_n "checking for _log10l declaration... " >&6; }
46176 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46177 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46178 $as_echo_n "(cached) " >&6
46179 else
46182 ac_ext=cpp
46183 ac_cpp='$CXXCPP $CPPFLAGS'
46184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46189 /* end confdefs.h. */
46190 #include <math.h>
46191 #ifdef HAVE_IEEEFP_H
46192 #include <ieeefp.h>
46193 #endif
46196 main ()
46198 _log10l(0);
46200 return 0;
46202 _ACEOF
46203 if ac_fn_cxx_try_compile "$LINENO"; then :
46204 glibcxx_cv_func__log10l_use=yes
46205 else
46206 glibcxx_cv_func__log10l_use=no
46208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46209 ac_ext=c
46210 ac_cpp='$CPP $CPPFLAGS'
46211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46220 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46222 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46223 for ac_func in _log10l
46224 do :
46225 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46226 if test "x$ac_cv_func__log10l" = x""yes; then :
46227 cat >>confdefs.h <<_ACEOF
46228 #define HAVE__LOG10L 1
46229 _ACEOF
46232 done
46241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46242 $as_echo_n "checking for modfl declaration... " >&6; }
46243 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46244 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46245 $as_echo_n "(cached) " >&6
46246 else
46249 ac_ext=cpp
46250 ac_cpp='$CXXCPP $CPPFLAGS'
46251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46256 /* end confdefs.h. */
46257 #include <math.h>
46259 main ()
46261 modfl(0, 0);
46263 return 0;
46265 _ACEOF
46266 if ac_fn_cxx_try_compile "$LINENO"; then :
46267 glibcxx_cv_func_modfl_use=yes
46268 else
46269 glibcxx_cv_func_modfl_use=no
46271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46272 ac_ext=c
46273 ac_cpp='$CPP $CPPFLAGS'
46274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46283 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46285 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46286 for ac_func in modfl
46287 do :
46288 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46289 if test "x$ac_cv_func_modfl" = x""yes; then :
46290 cat >>confdefs.h <<_ACEOF
46291 #define HAVE_MODFL 1
46292 _ACEOF
46295 done
46297 else
46299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46300 $as_echo_n "checking for _modfl declaration... " >&6; }
46301 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46302 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46303 $as_echo_n "(cached) " >&6
46304 else
46307 ac_ext=cpp
46308 ac_cpp='$CXXCPP $CPPFLAGS'
46309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46314 /* end confdefs.h. */
46315 #include <math.h>
46317 main ()
46319 _modfl(0, 0);
46321 return 0;
46323 _ACEOF
46324 if ac_fn_cxx_try_compile "$LINENO"; then :
46325 glibcxx_cv_func__modfl_use=yes
46326 else
46327 glibcxx_cv_func__modfl_use=no
46329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46330 ac_ext=c
46331 ac_cpp='$CPP $CPPFLAGS'
46332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46341 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46343 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46344 for ac_func in _modfl
46345 do :
46346 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46347 if test "x$ac_cv_func__modfl" = x""yes; then :
46348 cat >>confdefs.h <<_ACEOF
46349 #define HAVE__MODFL 1
46350 _ACEOF
46353 done
46362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46363 $as_echo_n "checking for powl declaration... " >&6; }
46364 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46365 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46366 $as_echo_n "(cached) " >&6
46367 else
46370 ac_ext=cpp
46371 ac_cpp='$CXXCPP $CPPFLAGS'
46372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46377 /* end confdefs.h. */
46378 #include <math.h>
46380 main ()
46382 powl(0, 0);
46384 return 0;
46386 _ACEOF
46387 if ac_fn_cxx_try_compile "$LINENO"; then :
46388 glibcxx_cv_func_powl_use=yes
46389 else
46390 glibcxx_cv_func_powl_use=no
46392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46393 ac_ext=c
46394 ac_cpp='$CPP $CPPFLAGS'
46395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46404 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46406 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46407 for ac_func in powl
46408 do :
46409 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46410 if test "x$ac_cv_func_powl" = x""yes; then :
46411 cat >>confdefs.h <<_ACEOF
46412 #define HAVE_POWL 1
46413 _ACEOF
46416 done
46418 else
46420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46421 $as_echo_n "checking for _powl declaration... " >&6; }
46422 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46423 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46424 $as_echo_n "(cached) " >&6
46425 else
46428 ac_ext=cpp
46429 ac_cpp='$CXXCPP $CPPFLAGS'
46430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46435 /* end confdefs.h. */
46436 #include <math.h>
46438 main ()
46440 _powl(0, 0);
46442 return 0;
46444 _ACEOF
46445 if ac_fn_cxx_try_compile "$LINENO"; then :
46446 glibcxx_cv_func__powl_use=yes
46447 else
46448 glibcxx_cv_func__powl_use=no
46450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46451 ac_ext=c
46452 ac_cpp='$CPP $CPPFLAGS'
46453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46462 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46464 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46465 for ac_func in _powl
46466 do :
46467 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46468 if test "x$ac_cv_func__powl" = x""yes; then :
46469 cat >>confdefs.h <<_ACEOF
46470 #define HAVE__POWL 1
46471 _ACEOF
46474 done
46483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46484 $as_echo_n "checking for sqrtl declaration... " >&6; }
46485 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46486 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46487 $as_echo_n "(cached) " >&6
46488 else
46491 ac_ext=cpp
46492 ac_cpp='$CXXCPP $CPPFLAGS'
46493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46498 /* end confdefs.h. */
46499 #include <math.h>
46500 #ifdef HAVE_IEEEFP_H
46501 #include <ieeefp.h>
46502 #endif
46505 main ()
46507 sqrtl(0);
46509 return 0;
46511 _ACEOF
46512 if ac_fn_cxx_try_compile "$LINENO"; then :
46513 glibcxx_cv_func_sqrtl_use=yes
46514 else
46515 glibcxx_cv_func_sqrtl_use=no
46517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46518 ac_ext=c
46519 ac_cpp='$CPP $CPPFLAGS'
46520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46529 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46531 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46532 for ac_func in sqrtl
46533 do :
46534 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46535 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46536 cat >>confdefs.h <<_ACEOF
46537 #define HAVE_SQRTL 1
46538 _ACEOF
46541 done
46543 else
46545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46546 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46547 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46548 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46549 $as_echo_n "(cached) " >&6
46550 else
46553 ac_ext=cpp
46554 ac_cpp='$CXXCPP $CPPFLAGS'
46555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46560 /* end confdefs.h. */
46561 #include <math.h>
46562 #ifdef HAVE_IEEEFP_H
46563 #include <ieeefp.h>
46564 #endif
46567 main ()
46569 _sqrtl(0);
46571 return 0;
46573 _ACEOF
46574 if ac_fn_cxx_try_compile "$LINENO"; then :
46575 glibcxx_cv_func__sqrtl_use=yes
46576 else
46577 glibcxx_cv_func__sqrtl_use=no
46579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46580 ac_ext=c
46581 ac_cpp='$CPP $CPPFLAGS'
46582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46591 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46593 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46594 for ac_func in _sqrtl
46595 do :
46596 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46597 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46598 cat >>confdefs.h <<_ACEOF
46599 #define HAVE__SQRTL 1
46600 _ACEOF
46603 done
46612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46613 $as_echo_n "checking for sincosl declaration... " >&6; }
46614 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46615 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46616 $as_echo_n "(cached) " >&6
46617 else
46620 ac_ext=cpp
46621 ac_cpp='$CXXCPP $CPPFLAGS'
46622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46627 /* end confdefs.h. */
46628 #include <math.h>
46630 main ()
46632 sincosl(0, 0, 0);
46634 return 0;
46636 _ACEOF
46637 if ac_fn_cxx_try_compile "$LINENO"; then :
46638 glibcxx_cv_func_sincosl_use=yes
46639 else
46640 glibcxx_cv_func_sincosl_use=no
46642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46643 ac_ext=c
46644 ac_cpp='$CPP $CPPFLAGS'
46645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46654 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46656 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46657 for ac_func in sincosl
46658 do :
46659 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46660 if test "x$ac_cv_func_sincosl" = x""yes; then :
46661 cat >>confdefs.h <<_ACEOF
46662 #define HAVE_SINCOSL 1
46663 _ACEOF
46666 done
46668 else
46670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46671 $as_echo_n "checking for _sincosl declaration... " >&6; }
46672 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46673 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46674 $as_echo_n "(cached) " >&6
46675 else
46678 ac_ext=cpp
46679 ac_cpp='$CXXCPP $CPPFLAGS'
46680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46685 /* end confdefs.h. */
46686 #include <math.h>
46688 main ()
46690 _sincosl(0, 0, 0);
46692 return 0;
46694 _ACEOF
46695 if ac_fn_cxx_try_compile "$LINENO"; then :
46696 glibcxx_cv_func__sincosl_use=yes
46697 else
46698 glibcxx_cv_func__sincosl_use=no
46700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46701 ac_ext=c
46702 ac_cpp='$CPP $CPPFLAGS'
46703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46712 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46714 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46715 for ac_func in _sincosl
46716 do :
46717 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46718 if test "x$ac_cv_func__sincosl" = x""yes; then :
46719 cat >>confdefs.h <<_ACEOF
46720 #define HAVE__SINCOSL 1
46721 _ACEOF
46724 done
46733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46734 $as_echo_n "checking for finitel declaration... " >&6; }
46735 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46736 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46737 $as_echo_n "(cached) " >&6
46738 else
46741 ac_ext=cpp
46742 ac_cpp='$CXXCPP $CPPFLAGS'
46743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46748 /* end confdefs.h. */
46749 #include <math.h>
46750 #ifdef HAVE_IEEEFP_H
46751 #include <ieeefp.h>
46752 #endif
46755 main ()
46757 finitel(0);
46759 return 0;
46761 _ACEOF
46762 if ac_fn_cxx_try_compile "$LINENO"; then :
46763 glibcxx_cv_func_finitel_use=yes
46764 else
46765 glibcxx_cv_func_finitel_use=no
46767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46768 ac_ext=c
46769 ac_cpp='$CPP $CPPFLAGS'
46770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46779 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46781 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46782 for ac_func in finitel
46783 do :
46784 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46785 if test "x$ac_cv_func_finitel" = x""yes; then :
46786 cat >>confdefs.h <<_ACEOF
46787 #define HAVE_FINITEL 1
46788 _ACEOF
46791 done
46793 else
46795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46796 $as_echo_n "checking for _finitel declaration... " >&6; }
46797 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46798 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46799 $as_echo_n "(cached) " >&6
46800 else
46803 ac_ext=cpp
46804 ac_cpp='$CXXCPP $CPPFLAGS'
46805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46810 /* end confdefs.h. */
46811 #include <math.h>
46812 #ifdef HAVE_IEEEFP_H
46813 #include <ieeefp.h>
46814 #endif
46817 main ()
46819 _finitel(0);
46821 return 0;
46823 _ACEOF
46824 if ac_fn_cxx_try_compile "$LINENO"; then :
46825 glibcxx_cv_func__finitel_use=yes
46826 else
46827 glibcxx_cv_func__finitel_use=no
46829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46830 ac_ext=c
46831 ac_cpp='$CPP $CPPFLAGS'
46832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46841 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46843 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46844 for ac_func in _finitel
46845 do :
46846 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46847 if test "x$ac_cv_func__finitel" = x""yes; then :
46848 cat >>confdefs.h <<_ACEOF
46849 #define HAVE__FINITEL 1
46850 _ACEOF
46853 done
46861 LIBS="$ac_save_LIBS"
46862 CXXFLAGS="$ac_save_CXXFLAGS"
46865 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46866 ac_save_CXXFLAGS="$CXXFLAGS"
46867 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46871 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46872 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46873 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46874 $as_echo_n "(cached) " >&6
46875 else
46878 ac_ext=cpp
46879 ac_cpp='$CXXCPP $CPPFLAGS'
46880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46885 /* end confdefs.h. */
46886 #include <stdlib.h>
46888 main ()
46890 at_quick_exit(0);
46892 return 0;
46894 _ACEOF
46895 if ac_fn_cxx_try_compile "$LINENO"; then :
46896 glibcxx_cv_func_at_quick_exit_use=yes
46897 else
46898 glibcxx_cv_func_at_quick_exit_use=no
46900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46901 ac_ext=c
46902 ac_cpp='$CPP $CPPFLAGS'
46903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46912 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46913 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46914 for ac_func in at_quick_exit
46915 do :
46916 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46917 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46918 cat >>confdefs.h <<_ACEOF
46919 #define HAVE_AT_QUICK_EXIT 1
46920 _ACEOF
46923 done
46928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46929 $as_echo_n "checking for quick_exit declaration... " >&6; }
46930 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46931 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46932 $as_echo_n "(cached) " >&6
46933 else
46936 ac_ext=cpp
46937 ac_cpp='$CXXCPP $CPPFLAGS'
46938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46943 /* end confdefs.h. */
46944 #include <stdlib.h>
46946 main ()
46948 quick_exit(0);
46950 return 0;
46952 _ACEOF
46953 if ac_fn_cxx_try_compile "$LINENO"; then :
46954 glibcxx_cv_func_quick_exit_use=yes
46955 else
46956 glibcxx_cv_func_quick_exit_use=no
46958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46959 ac_ext=c
46960 ac_cpp='$CPP $CPPFLAGS'
46961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46970 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46971 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46972 for ac_func in quick_exit
46973 do :
46974 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46975 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46976 cat >>confdefs.h <<_ACEOF
46977 #define HAVE_QUICK_EXIT 1
46978 _ACEOF
46981 done
46986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46987 $as_echo_n "checking for strtold declaration... " >&6; }
46988 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46989 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46990 $as_echo_n "(cached) " >&6
46991 else
46994 ac_ext=cpp
46995 ac_cpp='$CXXCPP $CPPFLAGS'
46996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47001 /* end confdefs.h. */
47002 #include <stdlib.h>
47004 main ()
47006 strtold(0, 0);
47008 return 0;
47010 _ACEOF
47011 if ac_fn_cxx_try_compile "$LINENO"; then :
47012 glibcxx_cv_func_strtold_use=yes
47013 else
47014 glibcxx_cv_func_strtold_use=no
47016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47017 ac_ext=c
47018 ac_cpp='$CPP $CPPFLAGS'
47019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47028 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47029 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47030 for ac_func in strtold
47031 do :
47032 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47033 if test "x$ac_cv_func_strtold" = x""yes; then :
47034 cat >>confdefs.h <<_ACEOF
47035 #define HAVE_STRTOLD 1
47036 _ACEOF
47039 done
47046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47047 $as_echo_n "checking for strtof declaration... " >&6; }
47048 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47049 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47050 $as_echo_n "(cached) " >&6
47051 else
47054 ac_ext=cpp
47055 ac_cpp='$CXXCPP $CPPFLAGS'
47056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47061 /* end confdefs.h. */
47062 #include <stdlib.h>
47064 main ()
47066 strtof(0, 0);
47068 return 0;
47070 _ACEOF
47071 if ac_fn_cxx_try_compile "$LINENO"; then :
47072 glibcxx_cv_func_strtof_use=yes
47073 else
47074 glibcxx_cv_func_strtof_use=no
47076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47077 ac_ext=c
47078 ac_cpp='$CPP $CPPFLAGS'
47079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47088 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47089 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47090 for ac_func in strtof
47091 do :
47092 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47093 if test "x$ac_cv_func_strtof" = x""yes; then :
47094 cat >>confdefs.h <<_ACEOF
47095 #define HAVE_STRTOF 1
47096 _ACEOF
47099 done
47106 CXXFLAGS="$ac_save_CXXFLAGS"
47108 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47110 # We don't yet support AIX's TLS ABI.
47111 #GCC_CHECK_TLS
47117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47118 $as_echo_n "checking for iconv... " >&6; }
47119 if test "${am_cv_func_iconv+set}" = set; then :
47120 $as_echo_n "(cached) " >&6
47121 else
47123 am_cv_func_iconv="no, consider installing GNU libiconv"
47124 am_cv_lib_iconv=no
47125 am_save_CPPFLAGS="$CPPFLAGS"
47126 CPPFLAGS="$CPPFLAGS $INCICONV"
47127 if test x$gcc_no_link = xyes; then
47128 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47131 /* end confdefs.h. */
47132 #include <stdlib.h>
47133 #include <iconv.h>
47135 main ()
47137 iconv_t cd = iconv_open("","");
47138 iconv(cd,NULL,NULL,NULL,NULL);
47139 iconv_close(cd);
47141 return 0;
47143 _ACEOF
47144 if ac_fn_c_try_link "$LINENO"; then :
47145 am_cv_func_iconv=yes
47147 rm -f core conftest.err conftest.$ac_objext \
47148 conftest$ac_exeext conftest.$ac_ext
47149 CPPFLAGS="$am_save_CPPFLAGS"
47151 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47152 for _libs in .libs _libs; do
47153 am_save_CPPFLAGS="$CPPFLAGS"
47154 am_save_LIBS="$LIBS"
47155 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47156 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47157 if test x$gcc_no_link = xyes; then
47158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47161 /* end confdefs.h. */
47162 #include <stdlib.h>
47163 #include <iconv.h>
47165 main ()
47167 iconv_t cd = iconv_open("","");
47168 iconv(cd,NULL,NULL,NULL,NULL);
47169 iconv_close(cd);
47171 return 0;
47173 _ACEOF
47174 if ac_fn_c_try_link "$LINENO"; then :
47175 INCICONV="-I../libiconv/include"
47176 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47177 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47178 am_cv_lib_iconv=yes
47179 am_cv_func_iconv=yes
47181 rm -f core conftest.err conftest.$ac_objext \
47182 conftest$ac_exeext conftest.$ac_ext
47183 CPPFLAGS="$am_save_CPPFLAGS"
47184 LIBS="$am_save_LIBS"
47185 if test "$am_cv_func_iconv" = "yes"; then
47186 break
47188 done
47191 if test "$am_cv_func_iconv" != yes; then
47192 am_save_CPPFLAGS="$CPPFLAGS"
47193 am_save_LIBS="$LIBS"
47194 CPPFLAGS="$LIBS $INCICONV"
47195 LIBS="$LIBS $LIBICONV"
47196 if test x$gcc_no_link = xyes; then
47197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h. */
47201 #include <stdlib.h>
47202 #include <iconv.h>
47204 main ()
47206 iconv_t cd = iconv_open("","");
47207 iconv(cd,NULL,NULL,NULL,NULL);
47208 iconv_close(cd);
47210 return 0;
47212 _ACEOF
47213 if ac_fn_c_try_link "$LINENO"; then :
47214 am_cv_lib_iconv=yes
47215 am_cv_func_iconv=yes
47217 rm -f core conftest.err conftest.$ac_objext \
47218 conftest$ac_exeext conftest.$ac_ext
47219 CPPFLAGS="$am_save_CPPFLAGS"
47220 LIBS="$am_save_LIBS"
47224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47225 $as_echo "$am_cv_func_iconv" >&6; }
47226 if test "$am_cv_func_iconv" = yes; then
47228 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47231 if test "$am_cv_lib_iconv" = yes; then
47233 for element in $INCICONV; do
47234 haveit=
47235 for x in $CPPFLAGS; do
47237 acl_save_prefix="$prefix"
47238 prefix="$acl_final_prefix"
47239 acl_save_exec_prefix="$exec_prefix"
47240 exec_prefix="$acl_final_exec_prefix"
47241 eval x=\"$x\"
47242 exec_prefix="$acl_save_exec_prefix"
47243 prefix="$acl_save_prefix"
47245 if test "X$x" = "X$element"; then
47246 haveit=yes
47247 break
47249 done
47250 if test -z "$haveit"; then
47251 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47253 done
47255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47256 $as_echo_n "checking how to link with libiconv... " >&6; }
47257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47258 $as_echo "$LIBICONV" >&6; }
47259 else
47260 LIBICONV=
47261 LTLIBICONV=
47266 if test "$am_cv_func_iconv" = yes; then
47267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47268 $as_echo_n "checking for iconv declaration... " >&6; }
47269 if test "${am_cv_proto_iconv+set}" = set; then :
47270 $as_echo_n "(cached) " >&6
47271 else
47273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47274 /* end confdefs.h. */
47276 #include <stdlib.h>
47277 #include <iconv.h>
47278 extern
47279 #ifdef __cplusplus
47281 #endif
47282 #if defined(__STDC__) || defined(__cplusplus)
47283 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47284 #else
47285 size_t iconv();
47286 #endif
47289 main ()
47293 return 0;
47295 _ACEOF
47296 if ac_fn_c_try_compile "$LINENO"; then :
47297 am_cv_proto_iconv_arg1=""
47298 else
47299 am_cv_proto_iconv_arg1="const"
47301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47302 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);"
47305 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47307 }$am_cv_proto_iconv" >&5
47308 $as_echo "${ac_t:-
47309 }$am_cv_proto_iconv" >&6; }
47311 cat >>confdefs.h <<_ACEOF
47312 #define ICONV_CONST $am_cv_proto_iconv_arg1
47313 _ACEOF
47319 *-darwin*)
47320 # Darwin versions vary, but the linker should work in a cross environment,
47321 # so we just check for all the features here.
47322 # Check for available headers.
47324 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47326 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47327 ac_save_CXXFLAGS="$CXXFLAGS"
47328 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47331 $as_echo_n "checking for sin in -lm... " >&6; }
47332 if test "${ac_cv_lib_m_sin+set}" = set; then :
47333 $as_echo_n "(cached) " >&6
47334 else
47335 ac_check_lib_save_LIBS=$LIBS
47336 LIBS="-lm $LIBS"
47337 if test x$gcc_no_link = xyes; then
47338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47341 /* end confdefs.h. */
47343 /* Override any GCC internal prototype to avoid an error.
47344 Use char because int might match the return type of a GCC
47345 builtin and then its argument prototype would still apply. */
47346 #ifdef __cplusplus
47347 extern "C"
47348 #endif
47349 char sin ();
47351 main ()
47353 return sin ();
47355 return 0;
47357 _ACEOF
47358 if ac_fn_c_try_link "$LINENO"; then :
47359 ac_cv_lib_m_sin=yes
47360 else
47361 ac_cv_lib_m_sin=no
47363 rm -f core conftest.err conftest.$ac_objext \
47364 conftest$ac_exeext conftest.$ac_ext
47365 LIBS=$ac_check_lib_save_LIBS
47367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47368 $as_echo "$ac_cv_lib_m_sin" >&6; }
47369 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47370 libm="-lm"
47373 ac_save_LIBS="$LIBS"
47374 LIBS="$LIBS $libm"
47378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47379 $as_echo_n "checking for isinf declaration... " >&6; }
47380 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47381 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47382 $as_echo_n "(cached) " >&6
47383 else
47386 ac_ext=cpp
47387 ac_cpp='$CXXCPP $CPPFLAGS'
47388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47393 /* end confdefs.h. */
47394 #include <math.h>
47395 #ifdef HAVE_IEEEFP_H
47396 #include <ieeefp.h>
47397 #endif
47400 main ()
47402 isinf(0);
47404 return 0;
47406 _ACEOF
47407 if ac_fn_cxx_try_compile "$LINENO"; then :
47408 glibcxx_cv_func_isinf_use=yes
47409 else
47410 glibcxx_cv_func_isinf_use=no
47412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47413 ac_ext=c
47414 ac_cpp='$CPP $CPPFLAGS'
47415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47424 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47426 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47427 for ac_func in isinf
47428 do :
47429 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47430 if test "x$ac_cv_func_isinf" = x""yes; then :
47431 cat >>confdefs.h <<_ACEOF
47432 #define HAVE_ISINF 1
47433 _ACEOF
47436 done
47438 else
47440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47441 $as_echo_n "checking for _isinf declaration... " >&6; }
47442 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47443 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47444 $as_echo_n "(cached) " >&6
47445 else
47448 ac_ext=cpp
47449 ac_cpp='$CXXCPP $CPPFLAGS'
47450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47455 /* end confdefs.h. */
47456 #include <math.h>
47457 #ifdef HAVE_IEEEFP_H
47458 #include <ieeefp.h>
47459 #endif
47462 main ()
47464 _isinf(0);
47466 return 0;
47468 _ACEOF
47469 if ac_fn_cxx_try_compile "$LINENO"; then :
47470 glibcxx_cv_func__isinf_use=yes
47471 else
47472 glibcxx_cv_func__isinf_use=no
47474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47475 ac_ext=c
47476 ac_cpp='$CPP $CPPFLAGS'
47477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47486 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47488 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47489 for ac_func in _isinf
47490 do :
47491 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47492 if test "x$ac_cv_func__isinf" = x""yes; then :
47493 cat >>confdefs.h <<_ACEOF
47494 #define HAVE__ISINF 1
47495 _ACEOF
47498 done
47507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47508 $as_echo_n "checking for isnan declaration... " >&6; }
47509 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47510 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47511 $as_echo_n "(cached) " >&6
47512 else
47515 ac_ext=cpp
47516 ac_cpp='$CXXCPP $CPPFLAGS'
47517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47522 /* end confdefs.h. */
47523 #include <math.h>
47524 #ifdef HAVE_IEEEFP_H
47525 #include <ieeefp.h>
47526 #endif
47529 main ()
47531 isnan(0);
47533 return 0;
47535 _ACEOF
47536 if ac_fn_cxx_try_compile "$LINENO"; then :
47537 glibcxx_cv_func_isnan_use=yes
47538 else
47539 glibcxx_cv_func_isnan_use=no
47541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47542 ac_ext=c
47543 ac_cpp='$CPP $CPPFLAGS'
47544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47553 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47555 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47556 for ac_func in isnan
47557 do :
47558 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47559 if test "x$ac_cv_func_isnan" = x""yes; then :
47560 cat >>confdefs.h <<_ACEOF
47561 #define HAVE_ISNAN 1
47562 _ACEOF
47565 done
47567 else
47569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47570 $as_echo_n "checking for _isnan declaration... " >&6; }
47571 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47572 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47573 $as_echo_n "(cached) " >&6
47574 else
47577 ac_ext=cpp
47578 ac_cpp='$CXXCPP $CPPFLAGS'
47579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47584 /* end confdefs.h. */
47585 #include <math.h>
47586 #ifdef HAVE_IEEEFP_H
47587 #include <ieeefp.h>
47588 #endif
47591 main ()
47593 _isnan(0);
47595 return 0;
47597 _ACEOF
47598 if ac_fn_cxx_try_compile "$LINENO"; then :
47599 glibcxx_cv_func__isnan_use=yes
47600 else
47601 glibcxx_cv_func__isnan_use=no
47603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47604 ac_ext=c
47605 ac_cpp='$CPP $CPPFLAGS'
47606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47615 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47617 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47618 for ac_func in _isnan
47619 do :
47620 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47621 if test "x$ac_cv_func__isnan" = x""yes; then :
47622 cat >>confdefs.h <<_ACEOF
47623 #define HAVE__ISNAN 1
47624 _ACEOF
47627 done
47636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47637 $as_echo_n "checking for finite declaration... " >&6; }
47638 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47639 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47640 $as_echo_n "(cached) " >&6
47641 else
47644 ac_ext=cpp
47645 ac_cpp='$CXXCPP $CPPFLAGS'
47646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47651 /* end confdefs.h. */
47652 #include <math.h>
47653 #ifdef HAVE_IEEEFP_H
47654 #include <ieeefp.h>
47655 #endif
47658 main ()
47660 finite(0);
47662 return 0;
47664 _ACEOF
47665 if ac_fn_cxx_try_compile "$LINENO"; then :
47666 glibcxx_cv_func_finite_use=yes
47667 else
47668 glibcxx_cv_func_finite_use=no
47670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47671 ac_ext=c
47672 ac_cpp='$CPP $CPPFLAGS'
47673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47682 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47684 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47685 for ac_func in finite
47686 do :
47687 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47688 if test "x$ac_cv_func_finite" = x""yes; then :
47689 cat >>confdefs.h <<_ACEOF
47690 #define HAVE_FINITE 1
47691 _ACEOF
47694 done
47696 else
47698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47699 $as_echo_n "checking for _finite declaration... " >&6; }
47700 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47701 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47702 $as_echo_n "(cached) " >&6
47703 else
47706 ac_ext=cpp
47707 ac_cpp='$CXXCPP $CPPFLAGS'
47708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47713 /* end confdefs.h. */
47714 #include <math.h>
47715 #ifdef HAVE_IEEEFP_H
47716 #include <ieeefp.h>
47717 #endif
47720 main ()
47722 _finite(0);
47724 return 0;
47726 _ACEOF
47727 if ac_fn_cxx_try_compile "$LINENO"; then :
47728 glibcxx_cv_func__finite_use=yes
47729 else
47730 glibcxx_cv_func__finite_use=no
47732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47733 ac_ext=c
47734 ac_cpp='$CPP $CPPFLAGS'
47735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47744 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47746 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47747 for ac_func in _finite
47748 do :
47749 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47750 if test "x$ac_cv_func__finite" = x""yes; then :
47751 cat >>confdefs.h <<_ACEOF
47752 #define HAVE__FINITE 1
47753 _ACEOF
47756 done
47765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47766 $as_echo_n "checking for sincos declaration... " >&6; }
47767 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47768 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47769 $as_echo_n "(cached) " >&6
47770 else
47773 ac_ext=cpp
47774 ac_cpp='$CXXCPP $CPPFLAGS'
47775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47780 /* end confdefs.h. */
47781 #include <math.h>
47783 main ()
47785 sincos(0, 0, 0);
47787 return 0;
47789 _ACEOF
47790 if ac_fn_cxx_try_compile "$LINENO"; then :
47791 glibcxx_cv_func_sincos_use=yes
47792 else
47793 glibcxx_cv_func_sincos_use=no
47795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47796 ac_ext=c
47797 ac_cpp='$CPP $CPPFLAGS'
47798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47807 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47809 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47810 for ac_func in sincos
47811 do :
47812 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47813 if test "x$ac_cv_func_sincos" = x""yes; then :
47814 cat >>confdefs.h <<_ACEOF
47815 #define HAVE_SINCOS 1
47816 _ACEOF
47819 done
47821 else
47823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47824 $as_echo_n "checking for _sincos declaration... " >&6; }
47825 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47826 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47827 $as_echo_n "(cached) " >&6
47828 else
47831 ac_ext=cpp
47832 ac_cpp='$CXXCPP $CPPFLAGS'
47833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47838 /* end confdefs.h. */
47839 #include <math.h>
47841 main ()
47843 _sincos(0, 0, 0);
47845 return 0;
47847 _ACEOF
47848 if ac_fn_cxx_try_compile "$LINENO"; then :
47849 glibcxx_cv_func__sincos_use=yes
47850 else
47851 glibcxx_cv_func__sincos_use=no
47853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47854 ac_ext=c
47855 ac_cpp='$CPP $CPPFLAGS'
47856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47865 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47867 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47868 for ac_func in _sincos
47869 do :
47870 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47871 if test "x$ac_cv_func__sincos" = x""yes; then :
47872 cat >>confdefs.h <<_ACEOF
47873 #define HAVE__SINCOS 1
47874 _ACEOF
47877 done
47886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47887 $as_echo_n "checking for fpclass declaration... " >&6; }
47888 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47889 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47890 $as_echo_n "(cached) " >&6
47891 else
47894 ac_ext=cpp
47895 ac_cpp='$CXXCPP $CPPFLAGS'
47896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47901 /* end confdefs.h. */
47902 #include <math.h>
47903 #ifdef HAVE_IEEEFP_H
47904 #include <ieeefp.h>
47905 #endif
47908 main ()
47910 fpclass(0);
47912 return 0;
47914 _ACEOF
47915 if ac_fn_cxx_try_compile "$LINENO"; then :
47916 glibcxx_cv_func_fpclass_use=yes
47917 else
47918 glibcxx_cv_func_fpclass_use=no
47920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47921 ac_ext=c
47922 ac_cpp='$CPP $CPPFLAGS'
47923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47932 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47934 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47935 for ac_func in fpclass
47936 do :
47937 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47938 if test "x$ac_cv_func_fpclass" = x""yes; then :
47939 cat >>confdefs.h <<_ACEOF
47940 #define HAVE_FPCLASS 1
47941 _ACEOF
47944 done
47946 else
47948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47949 $as_echo_n "checking for _fpclass declaration... " >&6; }
47950 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47951 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47952 $as_echo_n "(cached) " >&6
47953 else
47956 ac_ext=cpp
47957 ac_cpp='$CXXCPP $CPPFLAGS'
47958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47963 /* end confdefs.h. */
47964 #include <math.h>
47965 #ifdef HAVE_IEEEFP_H
47966 #include <ieeefp.h>
47967 #endif
47970 main ()
47972 _fpclass(0);
47974 return 0;
47976 _ACEOF
47977 if ac_fn_cxx_try_compile "$LINENO"; then :
47978 glibcxx_cv_func__fpclass_use=yes
47979 else
47980 glibcxx_cv_func__fpclass_use=no
47982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47983 ac_ext=c
47984 ac_cpp='$CPP $CPPFLAGS'
47985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47994 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47996 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47997 for ac_func in _fpclass
47998 do :
47999 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48000 if test "x$ac_cv_func__fpclass" = x""yes; then :
48001 cat >>confdefs.h <<_ACEOF
48002 #define HAVE__FPCLASS 1
48003 _ACEOF
48006 done
48015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48016 $as_echo_n "checking for qfpclass declaration... " >&6; }
48017 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48018 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48019 $as_echo_n "(cached) " >&6
48020 else
48023 ac_ext=cpp
48024 ac_cpp='$CXXCPP $CPPFLAGS'
48025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48030 /* end confdefs.h. */
48031 #include <math.h>
48032 #ifdef HAVE_IEEEFP_H
48033 #include <ieeefp.h>
48034 #endif
48037 main ()
48039 qfpclass(0);
48041 return 0;
48043 _ACEOF
48044 if ac_fn_cxx_try_compile "$LINENO"; then :
48045 glibcxx_cv_func_qfpclass_use=yes
48046 else
48047 glibcxx_cv_func_qfpclass_use=no
48049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48050 ac_ext=c
48051 ac_cpp='$CPP $CPPFLAGS'
48052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48061 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48063 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48064 for ac_func in qfpclass
48065 do :
48066 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48067 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48068 cat >>confdefs.h <<_ACEOF
48069 #define HAVE_QFPCLASS 1
48070 _ACEOF
48073 done
48075 else
48077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48078 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48079 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48080 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48081 $as_echo_n "(cached) " >&6
48082 else
48085 ac_ext=cpp
48086 ac_cpp='$CXXCPP $CPPFLAGS'
48087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48092 /* end confdefs.h. */
48093 #include <math.h>
48094 #ifdef HAVE_IEEEFP_H
48095 #include <ieeefp.h>
48096 #endif
48099 main ()
48101 _qfpclass(0);
48103 return 0;
48105 _ACEOF
48106 if ac_fn_cxx_try_compile "$LINENO"; then :
48107 glibcxx_cv_func__qfpclass_use=yes
48108 else
48109 glibcxx_cv_func__qfpclass_use=no
48111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48112 ac_ext=c
48113 ac_cpp='$CPP $CPPFLAGS'
48114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48123 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48125 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48126 for ac_func in _qfpclass
48127 do :
48128 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48129 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48130 cat >>confdefs.h <<_ACEOF
48131 #define HAVE__QFPCLASS 1
48132 _ACEOF
48135 done
48144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48145 $as_echo_n "checking for hypot declaration... " >&6; }
48146 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48147 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48148 $as_echo_n "(cached) " >&6
48149 else
48152 ac_ext=cpp
48153 ac_cpp='$CXXCPP $CPPFLAGS'
48154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48159 /* end confdefs.h. */
48160 #include <math.h>
48162 main ()
48164 hypot(0, 0);
48166 return 0;
48168 _ACEOF
48169 if ac_fn_cxx_try_compile "$LINENO"; then :
48170 glibcxx_cv_func_hypot_use=yes
48171 else
48172 glibcxx_cv_func_hypot_use=no
48174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48175 ac_ext=c
48176 ac_cpp='$CPP $CPPFLAGS'
48177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48186 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48188 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48189 for ac_func in hypot
48190 do :
48191 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48192 if test "x$ac_cv_func_hypot" = x""yes; then :
48193 cat >>confdefs.h <<_ACEOF
48194 #define HAVE_HYPOT 1
48195 _ACEOF
48198 done
48200 else
48202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48203 $as_echo_n "checking for _hypot declaration... " >&6; }
48204 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48205 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48206 $as_echo_n "(cached) " >&6
48207 else
48210 ac_ext=cpp
48211 ac_cpp='$CXXCPP $CPPFLAGS'
48212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48217 /* end confdefs.h. */
48218 #include <math.h>
48220 main ()
48222 _hypot(0, 0);
48224 return 0;
48226 _ACEOF
48227 if ac_fn_cxx_try_compile "$LINENO"; then :
48228 glibcxx_cv_func__hypot_use=yes
48229 else
48230 glibcxx_cv_func__hypot_use=no
48232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48233 ac_ext=c
48234 ac_cpp='$CPP $CPPFLAGS'
48235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48244 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48246 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48247 for ac_func in _hypot
48248 do :
48249 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48250 if test "x$ac_cv_func__hypot" = x""yes; then :
48251 cat >>confdefs.h <<_ACEOF
48252 #define HAVE__HYPOT 1
48253 _ACEOF
48256 done
48265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48266 $as_echo_n "checking for float trig functions... " >&6; }
48267 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48268 $as_echo_n "(cached) " >&6
48269 else
48272 ac_ext=cpp
48273 ac_cpp='$CXXCPP $CPPFLAGS'
48274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48279 /* end confdefs.h. */
48280 #include <math.h>
48282 main ()
48284 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48286 return 0;
48288 _ACEOF
48289 if ac_fn_cxx_try_compile "$LINENO"; then :
48290 glibcxx_cv_func_float_trig_use=yes
48291 else
48292 glibcxx_cv_func_float_trig_use=no
48294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48295 ac_ext=c
48296 ac_cpp='$CPP $CPPFLAGS'
48297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48304 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48305 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48306 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48307 do :
48308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48310 eval as_val=\$$as_ac_var
48311 if test "x$as_val" = x""yes; then :
48312 cat >>confdefs.h <<_ACEOF
48313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48314 _ACEOF
48317 done
48319 else
48320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48321 $as_echo_n "checking for _float trig functions... " >&6; }
48322 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48323 $as_echo_n "(cached) " >&6
48324 else
48327 ac_ext=cpp
48328 ac_cpp='$CXXCPP $CPPFLAGS'
48329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48334 /* end confdefs.h. */
48335 #include <math.h>
48337 main ()
48339 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48341 return 0;
48343 _ACEOF
48344 if ac_fn_cxx_try_compile "$LINENO"; then :
48345 glibcxx_cv_func__float_trig_use=yes
48346 else
48347 glibcxx_cv_func__float_trig_use=no
48349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48350 ac_ext=c
48351 ac_cpp='$CPP $CPPFLAGS'
48352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48359 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48360 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48361 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48362 do :
48363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48365 eval as_val=\$$as_ac_var
48366 if test "x$as_val" = x""yes; then :
48367 cat >>confdefs.h <<_ACEOF
48368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48369 _ACEOF
48372 done
48381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48382 $as_echo_n "checking for float round functions... " >&6; }
48383 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48384 $as_echo_n "(cached) " >&6
48385 else
48388 ac_ext=cpp
48389 ac_cpp='$CXXCPP $CPPFLAGS'
48390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48395 /* end confdefs.h. */
48396 #include <math.h>
48398 main ()
48400 ceilf (0); floorf (0);
48402 return 0;
48404 _ACEOF
48405 if ac_fn_cxx_try_compile "$LINENO"; then :
48406 glibcxx_cv_func_float_round_use=yes
48407 else
48408 glibcxx_cv_func_float_round_use=no
48410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48411 ac_ext=c
48412 ac_cpp='$CPP $CPPFLAGS'
48413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48420 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48421 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48422 for ac_func in ceilf floorf
48423 do :
48424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48426 eval as_val=\$$as_ac_var
48427 if test "x$as_val" = x""yes; then :
48428 cat >>confdefs.h <<_ACEOF
48429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48430 _ACEOF
48433 done
48435 else
48436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48437 $as_echo_n "checking for _float round functions... " >&6; }
48438 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48439 $as_echo_n "(cached) " >&6
48440 else
48443 ac_ext=cpp
48444 ac_cpp='$CXXCPP $CPPFLAGS'
48445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48450 /* end confdefs.h. */
48451 #include <math.h>
48453 main ()
48455 _ceilf (0); _floorf (0);
48457 return 0;
48459 _ACEOF
48460 if ac_fn_cxx_try_compile "$LINENO"; then :
48461 glibcxx_cv_func__float_round_use=yes
48462 else
48463 glibcxx_cv_func__float_round_use=no
48465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48466 ac_ext=c
48467 ac_cpp='$CPP $CPPFLAGS'
48468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48475 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48476 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48477 for ac_func in _ceilf _floorf
48478 do :
48479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48481 eval as_val=\$$as_ac_var
48482 if test "x$as_val" = x""yes; then :
48483 cat >>confdefs.h <<_ACEOF
48484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48485 _ACEOF
48488 done
48498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48499 $as_echo_n "checking for expf declaration... " >&6; }
48500 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48501 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48502 $as_echo_n "(cached) " >&6
48503 else
48506 ac_ext=cpp
48507 ac_cpp='$CXXCPP $CPPFLAGS'
48508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48513 /* end confdefs.h. */
48514 #include <math.h>
48515 #ifdef HAVE_IEEEFP_H
48516 #include <ieeefp.h>
48517 #endif
48520 main ()
48522 expf(0);
48524 return 0;
48526 _ACEOF
48527 if ac_fn_cxx_try_compile "$LINENO"; then :
48528 glibcxx_cv_func_expf_use=yes
48529 else
48530 glibcxx_cv_func_expf_use=no
48532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48533 ac_ext=c
48534 ac_cpp='$CPP $CPPFLAGS'
48535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48544 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48546 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48547 for ac_func in expf
48548 do :
48549 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48550 if test "x$ac_cv_func_expf" = x""yes; then :
48551 cat >>confdefs.h <<_ACEOF
48552 #define HAVE_EXPF 1
48553 _ACEOF
48556 done
48558 else
48560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48561 $as_echo_n "checking for _expf declaration... " >&6; }
48562 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48563 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48564 $as_echo_n "(cached) " >&6
48565 else
48568 ac_ext=cpp
48569 ac_cpp='$CXXCPP $CPPFLAGS'
48570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48575 /* end confdefs.h. */
48576 #include <math.h>
48577 #ifdef HAVE_IEEEFP_H
48578 #include <ieeefp.h>
48579 #endif
48582 main ()
48584 _expf(0);
48586 return 0;
48588 _ACEOF
48589 if ac_fn_cxx_try_compile "$LINENO"; then :
48590 glibcxx_cv_func__expf_use=yes
48591 else
48592 glibcxx_cv_func__expf_use=no
48594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48595 ac_ext=c
48596 ac_cpp='$CPP $CPPFLAGS'
48597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48606 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48608 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48609 for ac_func in _expf
48610 do :
48611 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48612 if test "x$ac_cv_func__expf" = x""yes; then :
48613 cat >>confdefs.h <<_ACEOF
48614 #define HAVE__EXPF 1
48615 _ACEOF
48618 done
48627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48628 $as_echo_n "checking for isnanf declaration... " >&6; }
48629 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48630 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48631 $as_echo_n "(cached) " >&6
48632 else
48635 ac_ext=cpp
48636 ac_cpp='$CXXCPP $CPPFLAGS'
48637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48642 /* end confdefs.h. */
48643 #include <math.h>
48644 #ifdef HAVE_IEEEFP_H
48645 #include <ieeefp.h>
48646 #endif
48649 main ()
48651 isnanf(0);
48653 return 0;
48655 _ACEOF
48656 if ac_fn_cxx_try_compile "$LINENO"; then :
48657 glibcxx_cv_func_isnanf_use=yes
48658 else
48659 glibcxx_cv_func_isnanf_use=no
48661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48662 ac_ext=c
48663 ac_cpp='$CPP $CPPFLAGS'
48664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48673 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48675 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48676 for ac_func in isnanf
48677 do :
48678 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48679 if test "x$ac_cv_func_isnanf" = x""yes; then :
48680 cat >>confdefs.h <<_ACEOF
48681 #define HAVE_ISNANF 1
48682 _ACEOF
48685 done
48687 else
48689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48690 $as_echo_n "checking for _isnanf declaration... " >&6; }
48691 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48692 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48693 $as_echo_n "(cached) " >&6
48694 else
48697 ac_ext=cpp
48698 ac_cpp='$CXXCPP $CPPFLAGS'
48699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48704 /* end confdefs.h. */
48705 #include <math.h>
48706 #ifdef HAVE_IEEEFP_H
48707 #include <ieeefp.h>
48708 #endif
48711 main ()
48713 _isnanf(0);
48715 return 0;
48717 _ACEOF
48718 if ac_fn_cxx_try_compile "$LINENO"; then :
48719 glibcxx_cv_func__isnanf_use=yes
48720 else
48721 glibcxx_cv_func__isnanf_use=no
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48724 ac_ext=c
48725 ac_cpp='$CPP $CPPFLAGS'
48726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48735 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48737 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48738 for ac_func in _isnanf
48739 do :
48740 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48741 if test "x$ac_cv_func__isnanf" = x""yes; then :
48742 cat >>confdefs.h <<_ACEOF
48743 #define HAVE__ISNANF 1
48744 _ACEOF
48747 done
48756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48757 $as_echo_n "checking for isinff declaration... " >&6; }
48758 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48759 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48760 $as_echo_n "(cached) " >&6
48761 else
48764 ac_ext=cpp
48765 ac_cpp='$CXXCPP $CPPFLAGS'
48766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48771 /* end confdefs.h. */
48772 #include <math.h>
48773 #ifdef HAVE_IEEEFP_H
48774 #include <ieeefp.h>
48775 #endif
48778 main ()
48780 isinff(0);
48782 return 0;
48784 _ACEOF
48785 if ac_fn_cxx_try_compile "$LINENO"; then :
48786 glibcxx_cv_func_isinff_use=yes
48787 else
48788 glibcxx_cv_func_isinff_use=no
48790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48791 ac_ext=c
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48802 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48804 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48805 for ac_func in isinff
48806 do :
48807 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48808 if test "x$ac_cv_func_isinff" = x""yes; then :
48809 cat >>confdefs.h <<_ACEOF
48810 #define HAVE_ISINFF 1
48811 _ACEOF
48814 done
48816 else
48818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48819 $as_echo_n "checking for _isinff declaration... " >&6; }
48820 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48821 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48822 $as_echo_n "(cached) " >&6
48823 else
48826 ac_ext=cpp
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48833 /* end confdefs.h. */
48834 #include <math.h>
48835 #ifdef HAVE_IEEEFP_H
48836 #include <ieeefp.h>
48837 #endif
48840 main ()
48842 _isinff(0);
48844 return 0;
48846 _ACEOF
48847 if ac_fn_cxx_try_compile "$LINENO"; then :
48848 glibcxx_cv_func__isinff_use=yes
48849 else
48850 glibcxx_cv_func__isinff_use=no
48852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48853 ac_ext=c
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48864 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48866 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48867 for ac_func in _isinff
48868 do :
48869 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48870 if test "x$ac_cv_func__isinff" = x""yes; then :
48871 cat >>confdefs.h <<_ACEOF
48872 #define HAVE__ISINFF 1
48873 _ACEOF
48876 done
48885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48886 $as_echo_n "checking for atan2f declaration... " >&6; }
48887 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48888 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48889 $as_echo_n "(cached) " >&6
48890 else
48893 ac_ext=cpp
48894 ac_cpp='$CXXCPP $CPPFLAGS'
48895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48900 /* end confdefs.h. */
48901 #include <math.h>
48903 main ()
48905 atan2f(0, 0);
48907 return 0;
48909 _ACEOF
48910 if ac_fn_cxx_try_compile "$LINENO"; then :
48911 glibcxx_cv_func_atan2f_use=yes
48912 else
48913 glibcxx_cv_func_atan2f_use=no
48915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48916 ac_ext=c
48917 ac_cpp='$CPP $CPPFLAGS'
48918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48927 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48929 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48930 for ac_func in atan2f
48931 do :
48932 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48933 if test "x$ac_cv_func_atan2f" = x""yes; then :
48934 cat >>confdefs.h <<_ACEOF
48935 #define HAVE_ATAN2F 1
48936 _ACEOF
48939 done
48941 else
48943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48944 $as_echo_n "checking for _atan2f declaration... " >&6; }
48945 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48946 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48947 $as_echo_n "(cached) " >&6
48948 else
48951 ac_ext=cpp
48952 ac_cpp='$CXXCPP $CPPFLAGS'
48953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48958 /* end confdefs.h. */
48959 #include <math.h>
48961 main ()
48963 _atan2f(0, 0);
48965 return 0;
48967 _ACEOF
48968 if ac_fn_cxx_try_compile "$LINENO"; then :
48969 glibcxx_cv_func__atan2f_use=yes
48970 else
48971 glibcxx_cv_func__atan2f_use=no
48973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48974 ac_ext=c
48975 ac_cpp='$CPP $CPPFLAGS'
48976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48985 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48987 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48988 for ac_func in _atan2f
48989 do :
48990 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48991 if test "x$ac_cv_func__atan2f" = x""yes; then :
48992 cat >>confdefs.h <<_ACEOF
48993 #define HAVE__ATAN2F 1
48994 _ACEOF
48997 done
49006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49007 $as_echo_n "checking for fabsf declaration... " >&6; }
49008 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49009 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49010 $as_echo_n "(cached) " >&6
49011 else
49014 ac_ext=cpp
49015 ac_cpp='$CXXCPP $CPPFLAGS'
49016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49021 /* end confdefs.h. */
49022 #include <math.h>
49023 #ifdef HAVE_IEEEFP_H
49024 #include <ieeefp.h>
49025 #endif
49028 main ()
49030 fabsf(0);
49032 return 0;
49034 _ACEOF
49035 if ac_fn_cxx_try_compile "$LINENO"; then :
49036 glibcxx_cv_func_fabsf_use=yes
49037 else
49038 glibcxx_cv_func_fabsf_use=no
49040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49041 ac_ext=c
49042 ac_cpp='$CPP $CPPFLAGS'
49043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49052 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49054 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49055 for ac_func in fabsf
49056 do :
49057 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49058 if test "x$ac_cv_func_fabsf" = x""yes; then :
49059 cat >>confdefs.h <<_ACEOF
49060 #define HAVE_FABSF 1
49061 _ACEOF
49064 done
49066 else
49068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49069 $as_echo_n "checking for _fabsf declaration... " >&6; }
49070 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49071 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49072 $as_echo_n "(cached) " >&6
49073 else
49076 ac_ext=cpp
49077 ac_cpp='$CXXCPP $CPPFLAGS'
49078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49083 /* end confdefs.h. */
49084 #include <math.h>
49085 #ifdef HAVE_IEEEFP_H
49086 #include <ieeefp.h>
49087 #endif
49090 main ()
49092 _fabsf(0);
49094 return 0;
49096 _ACEOF
49097 if ac_fn_cxx_try_compile "$LINENO"; then :
49098 glibcxx_cv_func__fabsf_use=yes
49099 else
49100 glibcxx_cv_func__fabsf_use=no
49102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49103 ac_ext=c
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49114 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49116 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49117 for ac_func in _fabsf
49118 do :
49119 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49120 if test "x$ac_cv_func__fabsf" = x""yes; then :
49121 cat >>confdefs.h <<_ACEOF
49122 #define HAVE__FABSF 1
49123 _ACEOF
49126 done
49135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49136 $as_echo_n "checking for fmodf declaration... " >&6; }
49137 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49138 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49139 $as_echo_n "(cached) " >&6
49140 else
49143 ac_ext=cpp
49144 ac_cpp='$CXXCPP $CPPFLAGS'
49145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49150 /* end confdefs.h. */
49151 #include <math.h>
49153 main ()
49155 fmodf(0, 0);
49157 return 0;
49159 _ACEOF
49160 if ac_fn_cxx_try_compile "$LINENO"; then :
49161 glibcxx_cv_func_fmodf_use=yes
49162 else
49163 glibcxx_cv_func_fmodf_use=no
49165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49166 ac_ext=c
49167 ac_cpp='$CPP $CPPFLAGS'
49168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49177 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49179 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49180 for ac_func in fmodf
49181 do :
49182 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49183 if test "x$ac_cv_func_fmodf" = x""yes; then :
49184 cat >>confdefs.h <<_ACEOF
49185 #define HAVE_FMODF 1
49186 _ACEOF
49189 done
49191 else
49193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49194 $as_echo_n "checking for _fmodf declaration... " >&6; }
49195 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49196 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49197 $as_echo_n "(cached) " >&6
49198 else
49201 ac_ext=cpp
49202 ac_cpp='$CXXCPP $CPPFLAGS'
49203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49208 /* end confdefs.h. */
49209 #include <math.h>
49211 main ()
49213 _fmodf(0, 0);
49215 return 0;
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219 glibcxx_cv_func__fmodf_use=yes
49220 else
49221 glibcxx_cv_func__fmodf_use=no
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224 ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49235 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49237 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49238 for ac_func in _fmodf
49239 do :
49240 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49241 if test "x$ac_cv_func__fmodf" = x""yes; then :
49242 cat >>confdefs.h <<_ACEOF
49243 #define HAVE__FMODF 1
49244 _ACEOF
49247 done
49256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49257 $as_echo_n "checking for frexpf declaration... " >&6; }
49258 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49259 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49260 $as_echo_n "(cached) " >&6
49261 else
49264 ac_ext=cpp
49265 ac_cpp='$CXXCPP $CPPFLAGS'
49266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49271 /* end confdefs.h. */
49272 #include <math.h>
49274 main ()
49276 frexpf(0, 0);
49278 return 0;
49280 _ACEOF
49281 if ac_fn_cxx_try_compile "$LINENO"; then :
49282 glibcxx_cv_func_frexpf_use=yes
49283 else
49284 glibcxx_cv_func_frexpf_use=no
49286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49287 ac_ext=c
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49298 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49300 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49301 for ac_func in frexpf
49302 do :
49303 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49304 if test "x$ac_cv_func_frexpf" = x""yes; then :
49305 cat >>confdefs.h <<_ACEOF
49306 #define HAVE_FREXPF 1
49307 _ACEOF
49310 done
49312 else
49314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49315 $as_echo_n "checking for _frexpf declaration... " >&6; }
49316 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49317 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49318 $as_echo_n "(cached) " >&6
49319 else
49322 ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h. */
49330 #include <math.h>
49332 main ()
49334 _frexpf(0, 0);
49336 return 0;
49338 _ACEOF
49339 if ac_fn_cxx_try_compile "$LINENO"; then :
49340 glibcxx_cv_func__frexpf_use=yes
49341 else
49342 glibcxx_cv_func__frexpf_use=no
49344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49345 ac_ext=c
49346 ac_cpp='$CPP $CPPFLAGS'
49347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49356 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49358 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49359 for ac_func in _frexpf
49360 do :
49361 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49362 if test "x$ac_cv_func__frexpf" = x""yes; then :
49363 cat >>confdefs.h <<_ACEOF
49364 #define HAVE__FREXPF 1
49365 _ACEOF
49368 done
49377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49378 $as_echo_n "checking for hypotf declaration... " >&6; }
49379 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49380 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49381 $as_echo_n "(cached) " >&6
49382 else
49385 ac_ext=cpp
49386 ac_cpp='$CXXCPP $CPPFLAGS'
49387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49392 /* end confdefs.h. */
49393 #include <math.h>
49395 main ()
49397 hypotf(0, 0);
49399 return 0;
49401 _ACEOF
49402 if ac_fn_cxx_try_compile "$LINENO"; then :
49403 glibcxx_cv_func_hypotf_use=yes
49404 else
49405 glibcxx_cv_func_hypotf_use=no
49407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49408 ac_ext=c
49409 ac_cpp='$CPP $CPPFLAGS'
49410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49419 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49421 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49422 for ac_func in hypotf
49423 do :
49424 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49425 if test "x$ac_cv_func_hypotf" = x""yes; then :
49426 cat >>confdefs.h <<_ACEOF
49427 #define HAVE_HYPOTF 1
49428 _ACEOF
49431 done
49433 else
49435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49436 $as_echo_n "checking for _hypotf declaration... " >&6; }
49437 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49438 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49439 $as_echo_n "(cached) " >&6
49440 else
49443 ac_ext=cpp
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49450 /* end confdefs.h. */
49451 #include <math.h>
49453 main ()
49455 _hypotf(0, 0);
49457 return 0;
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func__hypotf_use=yes
49462 else
49463 glibcxx_cv_func__hypotf_use=no
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466 ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49477 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49479 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49480 for ac_func in _hypotf
49481 do :
49482 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49483 if test "x$ac_cv_func__hypotf" = x""yes; then :
49484 cat >>confdefs.h <<_ACEOF
49485 #define HAVE__HYPOTF 1
49486 _ACEOF
49489 done
49498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49499 $as_echo_n "checking for ldexpf declaration... " >&6; }
49500 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49501 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49502 $as_echo_n "(cached) " >&6
49503 else
49506 ac_ext=cpp
49507 ac_cpp='$CXXCPP $CPPFLAGS'
49508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49513 /* end confdefs.h. */
49514 #include <math.h>
49516 main ()
49518 ldexpf(0, 0);
49520 return 0;
49522 _ACEOF
49523 if ac_fn_cxx_try_compile "$LINENO"; then :
49524 glibcxx_cv_func_ldexpf_use=yes
49525 else
49526 glibcxx_cv_func_ldexpf_use=no
49528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49529 ac_ext=c
49530 ac_cpp='$CPP $CPPFLAGS'
49531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49540 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49542 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49543 for ac_func in ldexpf
49544 do :
49545 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49546 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49547 cat >>confdefs.h <<_ACEOF
49548 #define HAVE_LDEXPF 1
49549 _ACEOF
49552 done
49554 else
49556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49557 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49558 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49559 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49560 $as_echo_n "(cached) " >&6
49561 else
49564 ac_ext=cpp
49565 ac_cpp='$CXXCPP $CPPFLAGS'
49566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49571 /* end confdefs.h. */
49572 #include <math.h>
49574 main ()
49576 _ldexpf(0, 0);
49578 return 0;
49580 _ACEOF
49581 if ac_fn_cxx_try_compile "$LINENO"; then :
49582 glibcxx_cv_func__ldexpf_use=yes
49583 else
49584 glibcxx_cv_func__ldexpf_use=no
49586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49587 ac_ext=c
49588 ac_cpp='$CPP $CPPFLAGS'
49589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49598 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49600 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49601 for ac_func in _ldexpf
49602 do :
49603 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49604 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49605 cat >>confdefs.h <<_ACEOF
49606 #define HAVE__LDEXPF 1
49607 _ACEOF
49610 done
49619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49620 $as_echo_n "checking for logf declaration... " >&6; }
49621 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49622 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49623 $as_echo_n "(cached) " >&6
49624 else
49627 ac_ext=cpp
49628 ac_cpp='$CXXCPP $CPPFLAGS'
49629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49634 /* end confdefs.h. */
49635 #include <math.h>
49636 #ifdef HAVE_IEEEFP_H
49637 #include <ieeefp.h>
49638 #endif
49641 main ()
49643 logf(0);
49645 return 0;
49647 _ACEOF
49648 if ac_fn_cxx_try_compile "$LINENO"; then :
49649 glibcxx_cv_func_logf_use=yes
49650 else
49651 glibcxx_cv_func_logf_use=no
49653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49654 ac_ext=c
49655 ac_cpp='$CPP $CPPFLAGS'
49656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49665 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49667 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49668 for ac_func in logf
49669 do :
49670 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49671 if test "x$ac_cv_func_logf" = x""yes; then :
49672 cat >>confdefs.h <<_ACEOF
49673 #define HAVE_LOGF 1
49674 _ACEOF
49677 done
49679 else
49681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49682 $as_echo_n "checking for _logf declaration... " >&6; }
49683 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49684 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49685 $as_echo_n "(cached) " >&6
49686 else
49689 ac_ext=cpp
49690 ac_cpp='$CXXCPP $CPPFLAGS'
49691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49696 /* end confdefs.h. */
49697 #include <math.h>
49698 #ifdef HAVE_IEEEFP_H
49699 #include <ieeefp.h>
49700 #endif
49703 main ()
49705 _logf(0);
49707 return 0;
49709 _ACEOF
49710 if ac_fn_cxx_try_compile "$LINENO"; then :
49711 glibcxx_cv_func__logf_use=yes
49712 else
49713 glibcxx_cv_func__logf_use=no
49715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49716 ac_ext=c
49717 ac_cpp='$CPP $CPPFLAGS'
49718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49727 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49729 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49730 for ac_func in _logf
49731 do :
49732 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49733 if test "x$ac_cv_func__logf" = x""yes; then :
49734 cat >>confdefs.h <<_ACEOF
49735 #define HAVE__LOGF 1
49736 _ACEOF
49739 done
49748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49749 $as_echo_n "checking for log10f declaration... " >&6; }
49750 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49751 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49752 $as_echo_n "(cached) " >&6
49753 else
49756 ac_ext=cpp
49757 ac_cpp='$CXXCPP $CPPFLAGS'
49758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49763 /* end confdefs.h. */
49764 #include <math.h>
49765 #ifdef HAVE_IEEEFP_H
49766 #include <ieeefp.h>
49767 #endif
49770 main ()
49772 log10f(0);
49774 return 0;
49776 _ACEOF
49777 if ac_fn_cxx_try_compile "$LINENO"; then :
49778 glibcxx_cv_func_log10f_use=yes
49779 else
49780 glibcxx_cv_func_log10f_use=no
49782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49783 ac_ext=c
49784 ac_cpp='$CPP $CPPFLAGS'
49785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49794 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49796 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49797 for ac_func in log10f
49798 do :
49799 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49800 if test "x$ac_cv_func_log10f" = x""yes; then :
49801 cat >>confdefs.h <<_ACEOF
49802 #define HAVE_LOG10F 1
49803 _ACEOF
49806 done
49808 else
49810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49811 $as_echo_n "checking for _log10f declaration... " >&6; }
49812 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49813 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49814 $as_echo_n "(cached) " >&6
49815 else
49818 ac_ext=cpp
49819 ac_cpp='$CXXCPP $CPPFLAGS'
49820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49825 /* end confdefs.h. */
49826 #include <math.h>
49827 #ifdef HAVE_IEEEFP_H
49828 #include <ieeefp.h>
49829 #endif
49832 main ()
49834 _log10f(0);
49836 return 0;
49838 _ACEOF
49839 if ac_fn_cxx_try_compile "$LINENO"; then :
49840 glibcxx_cv_func__log10f_use=yes
49841 else
49842 glibcxx_cv_func__log10f_use=no
49844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49845 ac_ext=c
49846 ac_cpp='$CPP $CPPFLAGS'
49847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49856 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49858 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49859 for ac_func in _log10f
49860 do :
49861 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49862 if test "x$ac_cv_func__log10f" = x""yes; then :
49863 cat >>confdefs.h <<_ACEOF
49864 #define HAVE__LOG10F 1
49865 _ACEOF
49868 done
49877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49878 $as_echo_n "checking for modff declaration... " >&6; }
49879 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49880 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49881 $as_echo_n "(cached) " >&6
49882 else
49885 ac_ext=cpp
49886 ac_cpp='$CXXCPP $CPPFLAGS'
49887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49892 /* end confdefs.h. */
49893 #include <math.h>
49895 main ()
49897 modff(0, 0);
49899 return 0;
49901 _ACEOF
49902 if ac_fn_cxx_try_compile "$LINENO"; then :
49903 glibcxx_cv_func_modff_use=yes
49904 else
49905 glibcxx_cv_func_modff_use=no
49907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49908 ac_ext=c
49909 ac_cpp='$CPP $CPPFLAGS'
49910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49919 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49921 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49922 for ac_func in modff
49923 do :
49924 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49925 if test "x$ac_cv_func_modff" = x""yes; then :
49926 cat >>confdefs.h <<_ACEOF
49927 #define HAVE_MODFF 1
49928 _ACEOF
49931 done
49933 else
49935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49936 $as_echo_n "checking for _modff declaration... " >&6; }
49937 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49938 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49939 $as_echo_n "(cached) " >&6
49940 else
49943 ac_ext=cpp
49944 ac_cpp='$CXXCPP $CPPFLAGS'
49945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49950 /* end confdefs.h. */
49951 #include <math.h>
49953 main ()
49955 _modff(0, 0);
49957 return 0;
49959 _ACEOF
49960 if ac_fn_cxx_try_compile "$LINENO"; then :
49961 glibcxx_cv_func__modff_use=yes
49962 else
49963 glibcxx_cv_func__modff_use=no
49965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49966 ac_ext=c
49967 ac_cpp='$CPP $CPPFLAGS'
49968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49977 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49979 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49980 for ac_func in _modff
49981 do :
49982 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49983 if test "x$ac_cv_func__modff" = x""yes; then :
49984 cat >>confdefs.h <<_ACEOF
49985 #define HAVE__MODFF 1
49986 _ACEOF
49989 done
49998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49999 $as_echo_n "checking for modf declaration... " >&6; }
50000 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50001 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50002 $as_echo_n "(cached) " >&6
50003 else
50006 ac_ext=cpp
50007 ac_cpp='$CXXCPP $CPPFLAGS'
50008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50013 /* end confdefs.h. */
50014 #include <math.h>
50016 main ()
50018 modf(0, 0);
50020 return 0;
50022 _ACEOF
50023 if ac_fn_cxx_try_compile "$LINENO"; then :
50024 glibcxx_cv_func_modf_use=yes
50025 else
50026 glibcxx_cv_func_modf_use=no
50028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50029 ac_ext=c
50030 ac_cpp='$CPP $CPPFLAGS'
50031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50040 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50042 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50043 for ac_func in modf
50044 do :
50045 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50046 if test "x$ac_cv_func_modf" = x""yes; then :
50047 cat >>confdefs.h <<_ACEOF
50048 #define HAVE_MODF 1
50049 _ACEOF
50052 done
50054 else
50056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50057 $as_echo_n "checking for _modf declaration... " >&6; }
50058 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50059 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50060 $as_echo_n "(cached) " >&6
50061 else
50064 ac_ext=cpp
50065 ac_cpp='$CXXCPP $CPPFLAGS'
50066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50071 /* end confdefs.h. */
50072 #include <math.h>
50074 main ()
50076 _modf(0, 0);
50078 return 0;
50080 _ACEOF
50081 if ac_fn_cxx_try_compile "$LINENO"; then :
50082 glibcxx_cv_func__modf_use=yes
50083 else
50084 glibcxx_cv_func__modf_use=no
50086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50087 ac_ext=c
50088 ac_cpp='$CPP $CPPFLAGS'
50089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50098 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50100 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50101 for ac_func in _modf
50102 do :
50103 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50104 if test "x$ac_cv_func__modf" = x""yes; then :
50105 cat >>confdefs.h <<_ACEOF
50106 #define HAVE__MODF 1
50107 _ACEOF
50110 done
50119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50120 $as_echo_n "checking for powf declaration... " >&6; }
50121 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50122 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50123 $as_echo_n "(cached) " >&6
50124 else
50127 ac_ext=cpp
50128 ac_cpp='$CXXCPP $CPPFLAGS'
50129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50134 /* end confdefs.h. */
50135 #include <math.h>
50137 main ()
50139 powf(0, 0);
50141 return 0;
50143 _ACEOF
50144 if ac_fn_cxx_try_compile "$LINENO"; then :
50145 glibcxx_cv_func_powf_use=yes
50146 else
50147 glibcxx_cv_func_powf_use=no
50149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50150 ac_ext=c
50151 ac_cpp='$CPP $CPPFLAGS'
50152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50161 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50163 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50164 for ac_func in powf
50165 do :
50166 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50167 if test "x$ac_cv_func_powf" = x""yes; then :
50168 cat >>confdefs.h <<_ACEOF
50169 #define HAVE_POWF 1
50170 _ACEOF
50173 done
50175 else
50177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50178 $as_echo_n "checking for _powf declaration... " >&6; }
50179 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50180 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50181 $as_echo_n "(cached) " >&6
50182 else
50185 ac_ext=cpp
50186 ac_cpp='$CXXCPP $CPPFLAGS'
50187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50192 /* end confdefs.h. */
50193 #include <math.h>
50195 main ()
50197 _powf(0, 0);
50199 return 0;
50201 _ACEOF
50202 if ac_fn_cxx_try_compile "$LINENO"; then :
50203 glibcxx_cv_func__powf_use=yes
50204 else
50205 glibcxx_cv_func__powf_use=no
50207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50208 ac_ext=c
50209 ac_cpp='$CPP $CPPFLAGS'
50210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50219 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50221 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50222 for ac_func in _powf
50223 do :
50224 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50225 if test "x$ac_cv_func__powf" = x""yes; then :
50226 cat >>confdefs.h <<_ACEOF
50227 #define HAVE__POWF 1
50228 _ACEOF
50231 done
50240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50241 $as_echo_n "checking for sqrtf declaration... " >&6; }
50242 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50243 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50244 $as_echo_n "(cached) " >&6
50245 else
50248 ac_ext=cpp
50249 ac_cpp='$CXXCPP $CPPFLAGS'
50250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50255 /* end confdefs.h. */
50256 #include <math.h>
50257 #ifdef HAVE_IEEEFP_H
50258 #include <ieeefp.h>
50259 #endif
50262 main ()
50264 sqrtf(0);
50266 return 0;
50268 _ACEOF
50269 if ac_fn_cxx_try_compile "$LINENO"; then :
50270 glibcxx_cv_func_sqrtf_use=yes
50271 else
50272 glibcxx_cv_func_sqrtf_use=no
50274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50275 ac_ext=c
50276 ac_cpp='$CPP $CPPFLAGS'
50277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50286 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50288 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50289 for ac_func in sqrtf
50290 do :
50291 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50292 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50293 cat >>confdefs.h <<_ACEOF
50294 #define HAVE_SQRTF 1
50295 _ACEOF
50298 done
50300 else
50302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50303 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50304 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50305 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50306 $as_echo_n "(cached) " >&6
50307 else
50310 ac_ext=cpp
50311 ac_cpp='$CXXCPP $CPPFLAGS'
50312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50317 /* end confdefs.h. */
50318 #include <math.h>
50319 #ifdef HAVE_IEEEFP_H
50320 #include <ieeefp.h>
50321 #endif
50324 main ()
50326 _sqrtf(0);
50328 return 0;
50330 _ACEOF
50331 if ac_fn_cxx_try_compile "$LINENO"; then :
50332 glibcxx_cv_func__sqrtf_use=yes
50333 else
50334 glibcxx_cv_func__sqrtf_use=no
50336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50337 ac_ext=c
50338 ac_cpp='$CPP $CPPFLAGS'
50339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50348 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50350 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50351 for ac_func in _sqrtf
50352 do :
50353 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50354 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50355 cat >>confdefs.h <<_ACEOF
50356 #define HAVE__SQRTF 1
50357 _ACEOF
50360 done
50369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50370 $as_echo_n "checking for sincosf declaration... " >&6; }
50371 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50372 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50373 $as_echo_n "(cached) " >&6
50374 else
50377 ac_ext=cpp
50378 ac_cpp='$CXXCPP $CPPFLAGS'
50379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50384 /* end confdefs.h. */
50385 #include <math.h>
50387 main ()
50389 sincosf(0, 0, 0);
50391 return 0;
50393 _ACEOF
50394 if ac_fn_cxx_try_compile "$LINENO"; then :
50395 glibcxx_cv_func_sincosf_use=yes
50396 else
50397 glibcxx_cv_func_sincosf_use=no
50399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50400 ac_ext=c
50401 ac_cpp='$CPP $CPPFLAGS'
50402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50411 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50413 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50414 for ac_func in sincosf
50415 do :
50416 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50417 if test "x$ac_cv_func_sincosf" = x""yes; then :
50418 cat >>confdefs.h <<_ACEOF
50419 #define HAVE_SINCOSF 1
50420 _ACEOF
50423 done
50425 else
50427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50428 $as_echo_n "checking for _sincosf declaration... " >&6; }
50429 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50430 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50431 $as_echo_n "(cached) " >&6
50432 else
50435 ac_ext=cpp
50436 ac_cpp='$CXXCPP $CPPFLAGS'
50437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50442 /* end confdefs.h. */
50443 #include <math.h>
50445 main ()
50447 _sincosf(0, 0, 0);
50449 return 0;
50451 _ACEOF
50452 if ac_fn_cxx_try_compile "$LINENO"; then :
50453 glibcxx_cv_func__sincosf_use=yes
50454 else
50455 glibcxx_cv_func__sincosf_use=no
50457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50458 ac_ext=c
50459 ac_cpp='$CPP $CPPFLAGS'
50460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50469 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50471 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50472 for ac_func in _sincosf
50473 do :
50474 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50475 if test "x$ac_cv_func__sincosf" = x""yes; then :
50476 cat >>confdefs.h <<_ACEOF
50477 #define HAVE__SINCOSF 1
50478 _ACEOF
50481 done
50490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50491 $as_echo_n "checking for finitef declaration... " >&6; }
50492 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50493 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50494 $as_echo_n "(cached) " >&6
50495 else
50498 ac_ext=cpp
50499 ac_cpp='$CXXCPP $CPPFLAGS'
50500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50505 /* end confdefs.h. */
50506 #include <math.h>
50507 #ifdef HAVE_IEEEFP_H
50508 #include <ieeefp.h>
50509 #endif
50512 main ()
50514 finitef(0);
50516 return 0;
50518 _ACEOF
50519 if ac_fn_cxx_try_compile "$LINENO"; then :
50520 glibcxx_cv_func_finitef_use=yes
50521 else
50522 glibcxx_cv_func_finitef_use=no
50524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50525 ac_ext=c
50526 ac_cpp='$CPP $CPPFLAGS'
50527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50536 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50538 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50539 for ac_func in finitef
50540 do :
50541 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50542 if test "x$ac_cv_func_finitef" = x""yes; then :
50543 cat >>confdefs.h <<_ACEOF
50544 #define HAVE_FINITEF 1
50545 _ACEOF
50548 done
50550 else
50552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50553 $as_echo_n "checking for _finitef declaration... " >&6; }
50554 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50555 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50556 $as_echo_n "(cached) " >&6
50557 else
50560 ac_ext=cpp
50561 ac_cpp='$CXXCPP $CPPFLAGS'
50562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50567 /* end confdefs.h. */
50568 #include <math.h>
50569 #ifdef HAVE_IEEEFP_H
50570 #include <ieeefp.h>
50571 #endif
50574 main ()
50576 _finitef(0);
50578 return 0;
50580 _ACEOF
50581 if ac_fn_cxx_try_compile "$LINENO"; then :
50582 glibcxx_cv_func__finitef_use=yes
50583 else
50584 glibcxx_cv_func__finitef_use=no
50586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50587 ac_ext=c
50588 ac_cpp='$CPP $CPPFLAGS'
50589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50598 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50600 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50601 for ac_func in _finitef
50602 do :
50603 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50604 if test "x$ac_cv_func__finitef" = x""yes; then :
50605 cat >>confdefs.h <<_ACEOF
50606 #define HAVE__FINITEF 1
50607 _ACEOF
50610 done
50619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50620 $as_echo_n "checking for long double trig functions... " >&6; }
50621 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50622 $as_echo_n "(cached) " >&6
50623 else
50626 ac_ext=cpp
50627 ac_cpp='$CXXCPP $CPPFLAGS'
50628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50633 /* end confdefs.h. */
50634 #include <math.h>
50636 main ()
50638 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50640 return 0;
50642 _ACEOF
50643 if ac_fn_cxx_try_compile "$LINENO"; then :
50644 glibcxx_cv_func_long_double_trig_use=yes
50645 else
50646 glibcxx_cv_func_long_double_trig_use=no
50648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50649 ac_ext=c
50650 ac_cpp='$CPP $CPPFLAGS'
50651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50658 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50659 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50660 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50661 do :
50662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50664 eval as_val=\$$as_ac_var
50665 if test "x$as_val" = x""yes; then :
50666 cat >>confdefs.h <<_ACEOF
50667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50668 _ACEOF
50671 done
50673 else
50674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50675 $as_echo_n "checking for _long double trig functions... " >&6; }
50676 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50677 $as_echo_n "(cached) " >&6
50678 else
50681 ac_ext=cpp
50682 ac_cpp='$CXXCPP $CPPFLAGS'
50683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50688 /* end confdefs.h. */
50689 #include <math.h>
50691 main ()
50693 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50695 return 0;
50697 _ACEOF
50698 if ac_fn_cxx_try_compile "$LINENO"; then :
50699 glibcxx_cv_func__long_double_trig_use=yes
50700 else
50701 glibcxx_cv_func__long_double_trig_use=no
50703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50704 ac_ext=c
50705 ac_cpp='$CPP $CPPFLAGS'
50706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50713 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50714 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50715 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50716 do :
50717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50719 eval as_val=\$$as_ac_var
50720 if test "x$as_val" = x""yes; then :
50721 cat >>confdefs.h <<_ACEOF
50722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50723 _ACEOF
50726 done
50735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50736 $as_echo_n "checking for long double round functions... " >&6; }
50737 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50738 $as_echo_n "(cached) " >&6
50739 else
50742 ac_ext=cpp
50743 ac_cpp='$CXXCPP $CPPFLAGS'
50744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50749 /* end confdefs.h. */
50750 #include <math.h>
50752 main ()
50754 ceill (0); floorl (0);
50756 return 0;
50758 _ACEOF
50759 if ac_fn_cxx_try_compile "$LINENO"; then :
50760 glibcxx_cv_func_long_double_round_use=yes
50761 else
50762 glibcxx_cv_func_long_double_round_use=no
50764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50765 ac_ext=c
50766 ac_cpp='$CPP $CPPFLAGS'
50767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50774 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50775 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50776 for ac_func in ceill floorl
50777 do :
50778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50780 eval as_val=\$$as_ac_var
50781 if test "x$as_val" = x""yes; then :
50782 cat >>confdefs.h <<_ACEOF
50783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50784 _ACEOF
50787 done
50789 else
50790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50791 $as_echo_n "checking for _long double round functions... " >&6; }
50792 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50793 $as_echo_n "(cached) " >&6
50794 else
50797 ac_ext=cpp
50798 ac_cpp='$CXXCPP $CPPFLAGS'
50799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50804 /* end confdefs.h. */
50805 #include <math.h>
50807 main ()
50809 _ceill (0); _floorl (0);
50811 return 0;
50813 _ACEOF
50814 if ac_fn_cxx_try_compile "$LINENO"; then :
50815 glibcxx_cv_func__long_double_round_use=yes
50816 else
50817 glibcxx_cv_func__long_double_round_use=no
50819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50820 ac_ext=c
50821 ac_cpp='$CPP $CPPFLAGS'
50822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50829 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50830 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50831 for ac_func in _ceill _floorl
50832 do :
50833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50835 eval as_val=\$$as_ac_var
50836 if test "x$as_val" = x""yes; then :
50837 cat >>confdefs.h <<_ACEOF
50838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50839 _ACEOF
50842 done
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50853 $as_echo_n "checking for isnanl declaration... " >&6; }
50854 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50855 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50856 $as_echo_n "(cached) " >&6
50857 else
50860 ac_ext=cpp
50861 ac_cpp='$CXXCPP $CPPFLAGS'
50862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50867 /* end confdefs.h. */
50868 #include <math.h>
50869 #ifdef HAVE_IEEEFP_H
50870 #include <ieeefp.h>
50871 #endif
50874 main ()
50876 isnanl(0);
50878 return 0;
50880 _ACEOF
50881 if ac_fn_cxx_try_compile "$LINENO"; then :
50882 glibcxx_cv_func_isnanl_use=yes
50883 else
50884 glibcxx_cv_func_isnanl_use=no
50886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50887 ac_ext=c
50888 ac_cpp='$CPP $CPPFLAGS'
50889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50898 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50900 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50901 for ac_func in isnanl
50902 do :
50903 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50904 if test "x$ac_cv_func_isnanl" = x""yes; then :
50905 cat >>confdefs.h <<_ACEOF
50906 #define HAVE_ISNANL 1
50907 _ACEOF
50910 done
50912 else
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50915 $as_echo_n "checking for _isnanl declaration... " >&6; }
50916 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50917 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50918 $as_echo_n "(cached) " >&6
50919 else
50922 ac_ext=cpp
50923 ac_cpp='$CXXCPP $CPPFLAGS'
50924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50929 /* end confdefs.h. */
50930 #include <math.h>
50931 #ifdef HAVE_IEEEFP_H
50932 #include <ieeefp.h>
50933 #endif
50936 main ()
50938 _isnanl(0);
50940 return 0;
50942 _ACEOF
50943 if ac_fn_cxx_try_compile "$LINENO"; then :
50944 glibcxx_cv_func__isnanl_use=yes
50945 else
50946 glibcxx_cv_func__isnanl_use=no
50948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50949 ac_ext=c
50950 ac_cpp='$CPP $CPPFLAGS'
50951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50960 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50962 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50963 for ac_func in _isnanl
50964 do :
50965 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50966 if test "x$ac_cv_func__isnanl" = x""yes; then :
50967 cat >>confdefs.h <<_ACEOF
50968 #define HAVE__ISNANL 1
50969 _ACEOF
50972 done
50981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50982 $as_echo_n "checking for isinfl declaration... " >&6; }
50983 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50984 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50985 $as_echo_n "(cached) " >&6
50986 else
50989 ac_ext=cpp
50990 ac_cpp='$CXXCPP $CPPFLAGS'
50991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50996 /* end confdefs.h. */
50997 #include <math.h>
50998 #ifdef HAVE_IEEEFP_H
50999 #include <ieeefp.h>
51000 #endif
51003 main ()
51005 isinfl(0);
51007 return 0;
51009 _ACEOF
51010 if ac_fn_cxx_try_compile "$LINENO"; then :
51011 glibcxx_cv_func_isinfl_use=yes
51012 else
51013 glibcxx_cv_func_isinfl_use=no
51015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51016 ac_ext=c
51017 ac_cpp='$CPP $CPPFLAGS'
51018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51027 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51029 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51030 for ac_func in isinfl
51031 do :
51032 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51033 if test "x$ac_cv_func_isinfl" = x""yes; then :
51034 cat >>confdefs.h <<_ACEOF
51035 #define HAVE_ISINFL 1
51036 _ACEOF
51039 done
51041 else
51043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51044 $as_echo_n "checking for _isinfl declaration... " >&6; }
51045 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51046 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51047 $as_echo_n "(cached) " >&6
51048 else
51051 ac_ext=cpp
51052 ac_cpp='$CXXCPP $CPPFLAGS'
51053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51058 /* end confdefs.h. */
51059 #include <math.h>
51060 #ifdef HAVE_IEEEFP_H
51061 #include <ieeefp.h>
51062 #endif
51065 main ()
51067 _isinfl(0);
51069 return 0;
51071 _ACEOF
51072 if ac_fn_cxx_try_compile "$LINENO"; then :
51073 glibcxx_cv_func__isinfl_use=yes
51074 else
51075 glibcxx_cv_func__isinfl_use=no
51077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51078 ac_ext=c
51079 ac_cpp='$CPP $CPPFLAGS'
51080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51089 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51091 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51092 for ac_func in _isinfl
51093 do :
51094 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51095 if test "x$ac_cv_func__isinfl" = x""yes; then :
51096 cat >>confdefs.h <<_ACEOF
51097 #define HAVE__ISINFL 1
51098 _ACEOF
51101 done
51110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51111 $as_echo_n "checking for atan2l declaration... " >&6; }
51112 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51113 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51114 $as_echo_n "(cached) " >&6
51115 else
51118 ac_ext=cpp
51119 ac_cpp='$CXXCPP $CPPFLAGS'
51120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51125 /* end confdefs.h. */
51126 #include <math.h>
51128 main ()
51130 atan2l(0, 0);
51132 return 0;
51134 _ACEOF
51135 if ac_fn_cxx_try_compile "$LINENO"; then :
51136 glibcxx_cv_func_atan2l_use=yes
51137 else
51138 glibcxx_cv_func_atan2l_use=no
51140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51141 ac_ext=c
51142 ac_cpp='$CPP $CPPFLAGS'
51143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51152 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51154 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51155 for ac_func in atan2l
51156 do :
51157 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51158 if test "x$ac_cv_func_atan2l" = x""yes; then :
51159 cat >>confdefs.h <<_ACEOF
51160 #define HAVE_ATAN2L 1
51161 _ACEOF
51164 done
51166 else
51168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51169 $as_echo_n "checking for _atan2l declaration... " >&6; }
51170 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51171 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51172 $as_echo_n "(cached) " >&6
51173 else
51176 ac_ext=cpp
51177 ac_cpp='$CXXCPP $CPPFLAGS'
51178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51183 /* end confdefs.h. */
51184 #include <math.h>
51186 main ()
51188 _atan2l(0, 0);
51190 return 0;
51192 _ACEOF
51193 if ac_fn_cxx_try_compile "$LINENO"; then :
51194 glibcxx_cv_func__atan2l_use=yes
51195 else
51196 glibcxx_cv_func__atan2l_use=no
51198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51199 ac_ext=c
51200 ac_cpp='$CPP $CPPFLAGS'
51201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51210 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51212 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51213 for ac_func in _atan2l
51214 do :
51215 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51216 if test "x$ac_cv_func__atan2l" = x""yes; then :
51217 cat >>confdefs.h <<_ACEOF
51218 #define HAVE__ATAN2L 1
51219 _ACEOF
51222 done
51231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51232 $as_echo_n "checking for expl declaration... " >&6; }
51233 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51234 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51235 $as_echo_n "(cached) " >&6
51236 else
51239 ac_ext=cpp
51240 ac_cpp='$CXXCPP $CPPFLAGS'
51241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51246 /* end confdefs.h. */
51247 #include <math.h>
51248 #ifdef HAVE_IEEEFP_H
51249 #include <ieeefp.h>
51250 #endif
51253 main ()
51255 expl(0);
51257 return 0;
51259 _ACEOF
51260 if ac_fn_cxx_try_compile "$LINENO"; then :
51261 glibcxx_cv_func_expl_use=yes
51262 else
51263 glibcxx_cv_func_expl_use=no
51265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51266 ac_ext=c
51267 ac_cpp='$CPP $CPPFLAGS'
51268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51277 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51279 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51280 for ac_func in expl
51281 do :
51282 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51283 if test "x$ac_cv_func_expl" = x""yes; then :
51284 cat >>confdefs.h <<_ACEOF
51285 #define HAVE_EXPL 1
51286 _ACEOF
51289 done
51291 else
51293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51294 $as_echo_n "checking for _expl declaration... " >&6; }
51295 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51296 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51297 $as_echo_n "(cached) " >&6
51298 else
51301 ac_ext=cpp
51302 ac_cpp='$CXXCPP $CPPFLAGS'
51303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51308 /* end confdefs.h. */
51309 #include <math.h>
51310 #ifdef HAVE_IEEEFP_H
51311 #include <ieeefp.h>
51312 #endif
51315 main ()
51317 _expl(0);
51319 return 0;
51321 _ACEOF
51322 if ac_fn_cxx_try_compile "$LINENO"; then :
51323 glibcxx_cv_func__expl_use=yes
51324 else
51325 glibcxx_cv_func__expl_use=no
51327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51328 ac_ext=c
51329 ac_cpp='$CPP $CPPFLAGS'
51330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51339 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51341 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51342 for ac_func in _expl
51343 do :
51344 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51345 if test "x$ac_cv_func__expl" = x""yes; then :
51346 cat >>confdefs.h <<_ACEOF
51347 #define HAVE__EXPL 1
51348 _ACEOF
51351 done
51360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51361 $as_echo_n "checking for fabsl declaration... " >&6; }
51362 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51363 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51364 $as_echo_n "(cached) " >&6
51365 else
51368 ac_ext=cpp
51369 ac_cpp='$CXXCPP $CPPFLAGS'
51370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51375 /* end confdefs.h. */
51376 #include <math.h>
51377 #ifdef HAVE_IEEEFP_H
51378 #include <ieeefp.h>
51379 #endif
51382 main ()
51384 fabsl(0);
51386 return 0;
51388 _ACEOF
51389 if ac_fn_cxx_try_compile "$LINENO"; then :
51390 glibcxx_cv_func_fabsl_use=yes
51391 else
51392 glibcxx_cv_func_fabsl_use=no
51394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51395 ac_ext=c
51396 ac_cpp='$CPP $CPPFLAGS'
51397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51406 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51408 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51409 for ac_func in fabsl
51410 do :
51411 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51412 if test "x$ac_cv_func_fabsl" = x""yes; then :
51413 cat >>confdefs.h <<_ACEOF
51414 #define HAVE_FABSL 1
51415 _ACEOF
51418 done
51420 else
51422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51423 $as_echo_n "checking for _fabsl declaration... " >&6; }
51424 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51425 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51426 $as_echo_n "(cached) " >&6
51427 else
51430 ac_ext=cpp
51431 ac_cpp='$CXXCPP $CPPFLAGS'
51432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h. */
51438 #include <math.h>
51439 #ifdef HAVE_IEEEFP_H
51440 #include <ieeefp.h>
51441 #endif
51444 main ()
51446 _fabsl(0);
51448 return 0;
51450 _ACEOF
51451 if ac_fn_cxx_try_compile "$LINENO"; then :
51452 glibcxx_cv_func__fabsl_use=yes
51453 else
51454 glibcxx_cv_func__fabsl_use=no
51456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51457 ac_ext=c
51458 ac_cpp='$CPP $CPPFLAGS'
51459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51468 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51470 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51471 for ac_func in _fabsl
51472 do :
51473 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51474 if test "x$ac_cv_func__fabsl" = x""yes; then :
51475 cat >>confdefs.h <<_ACEOF
51476 #define HAVE__FABSL 1
51477 _ACEOF
51480 done
51489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51490 $as_echo_n "checking for fmodl declaration... " >&6; }
51491 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51492 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51493 $as_echo_n "(cached) " >&6
51494 else
51497 ac_ext=cpp
51498 ac_cpp='$CXXCPP $CPPFLAGS'
51499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51504 /* end confdefs.h. */
51505 #include <math.h>
51507 main ()
51509 fmodl(0, 0);
51511 return 0;
51513 _ACEOF
51514 if ac_fn_cxx_try_compile "$LINENO"; then :
51515 glibcxx_cv_func_fmodl_use=yes
51516 else
51517 glibcxx_cv_func_fmodl_use=no
51519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51520 ac_ext=c
51521 ac_cpp='$CPP $CPPFLAGS'
51522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51531 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51533 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51534 for ac_func in fmodl
51535 do :
51536 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51537 if test "x$ac_cv_func_fmodl" = x""yes; then :
51538 cat >>confdefs.h <<_ACEOF
51539 #define HAVE_FMODL 1
51540 _ACEOF
51543 done
51545 else
51547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51548 $as_echo_n "checking for _fmodl declaration... " >&6; }
51549 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51550 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51551 $as_echo_n "(cached) " >&6
51552 else
51555 ac_ext=cpp
51556 ac_cpp='$CXXCPP $CPPFLAGS'
51557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51562 /* end confdefs.h. */
51563 #include <math.h>
51565 main ()
51567 _fmodl(0, 0);
51569 return 0;
51571 _ACEOF
51572 if ac_fn_cxx_try_compile "$LINENO"; then :
51573 glibcxx_cv_func__fmodl_use=yes
51574 else
51575 glibcxx_cv_func__fmodl_use=no
51577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51578 ac_ext=c
51579 ac_cpp='$CPP $CPPFLAGS'
51580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51589 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51591 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51592 for ac_func in _fmodl
51593 do :
51594 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51595 if test "x$ac_cv_func__fmodl" = x""yes; then :
51596 cat >>confdefs.h <<_ACEOF
51597 #define HAVE__FMODL 1
51598 _ACEOF
51601 done
51610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51611 $as_echo_n "checking for frexpl declaration... " >&6; }
51612 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51613 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51614 $as_echo_n "(cached) " >&6
51615 else
51618 ac_ext=cpp
51619 ac_cpp='$CXXCPP $CPPFLAGS'
51620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51625 /* end confdefs.h. */
51626 #include <math.h>
51628 main ()
51630 frexpl(0, 0);
51632 return 0;
51634 _ACEOF
51635 if ac_fn_cxx_try_compile "$LINENO"; then :
51636 glibcxx_cv_func_frexpl_use=yes
51637 else
51638 glibcxx_cv_func_frexpl_use=no
51640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51641 ac_ext=c
51642 ac_cpp='$CPP $CPPFLAGS'
51643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51652 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51654 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51655 for ac_func in frexpl
51656 do :
51657 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51658 if test "x$ac_cv_func_frexpl" = x""yes; then :
51659 cat >>confdefs.h <<_ACEOF
51660 #define HAVE_FREXPL 1
51661 _ACEOF
51664 done
51666 else
51668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51669 $as_echo_n "checking for _frexpl declaration... " >&6; }
51670 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51671 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51672 $as_echo_n "(cached) " >&6
51673 else
51676 ac_ext=cpp
51677 ac_cpp='$CXXCPP $CPPFLAGS'
51678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51683 /* end confdefs.h. */
51684 #include <math.h>
51686 main ()
51688 _frexpl(0, 0);
51690 return 0;
51692 _ACEOF
51693 if ac_fn_cxx_try_compile "$LINENO"; then :
51694 glibcxx_cv_func__frexpl_use=yes
51695 else
51696 glibcxx_cv_func__frexpl_use=no
51698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51699 ac_ext=c
51700 ac_cpp='$CPP $CPPFLAGS'
51701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51710 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51712 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51713 for ac_func in _frexpl
51714 do :
51715 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51716 if test "x$ac_cv_func__frexpl" = x""yes; then :
51717 cat >>confdefs.h <<_ACEOF
51718 #define HAVE__FREXPL 1
51719 _ACEOF
51722 done
51731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51732 $as_echo_n "checking for hypotl declaration... " >&6; }
51733 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51734 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51735 $as_echo_n "(cached) " >&6
51736 else
51739 ac_ext=cpp
51740 ac_cpp='$CXXCPP $CPPFLAGS'
51741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51746 /* end confdefs.h. */
51747 #include <math.h>
51749 main ()
51751 hypotl(0, 0);
51753 return 0;
51755 _ACEOF
51756 if ac_fn_cxx_try_compile "$LINENO"; then :
51757 glibcxx_cv_func_hypotl_use=yes
51758 else
51759 glibcxx_cv_func_hypotl_use=no
51761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51762 ac_ext=c
51763 ac_cpp='$CPP $CPPFLAGS'
51764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51773 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51775 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51776 for ac_func in hypotl
51777 do :
51778 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51779 if test "x$ac_cv_func_hypotl" = x""yes; then :
51780 cat >>confdefs.h <<_ACEOF
51781 #define HAVE_HYPOTL 1
51782 _ACEOF
51785 done
51787 else
51789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51790 $as_echo_n "checking for _hypotl declaration... " >&6; }
51791 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51792 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51793 $as_echo_n "(cached) " >&6
51794 else
51797 ac_ext=cpp
51798 ac_cpp='$CXXCPP $CPPFLAGS'
51799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51804 /* end confdefs.h. */
51805 #include <math.h>
51807 main ()
51809 _hypotl(0, 0);
51811 return 0;
51813 _ACEOF
51814 if ac_fn_cxx_try_compile "$LINENO"; then :
51815 glibcxx_cv_func__hypotl_use=yes
51816 else
51817 glibcxx_cv_func__hypotl_use=no
51819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51820 ac_ext=c
51821 ac_cpp='$CPP $CPPFLAGS'
51822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51831 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51833 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51834 for ac_func in _hypotl
51835 do :
51836 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51837 if test "x$ac_cv_func__hypotl" = x""yes; then :
51838 cat >>confdefs.h <<_ACEOF
51839 #define HAVE__HYPOTL 1
51840 _ACEOF
51843 done
51852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51853 $as_echo_n "checking for ldexpl declaration... " >&6; }
51854 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51855 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51856 $as_echo_n "(cached) " >&6
51857 else
51860 ac_ext=cpp
51861 ac_cpp='$CXXCPP $CPPFLAGS'
51862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51867 /* end confdefs.h. */
51868 #include <math.h>
51870 main ()
51872 ldexpl(0, 0);
51874 return 0;
51876 _ACEOF
51877 if ac_fn_cxx_try_compile "$LINENO"; then :
51878 glibcxx_cv_func_ldexpl_use=yes
51879 else
51880 glibcxx_cv_func_ldexpl_use=no
51882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51883 ac_ext=c
51884 ac_cpp='$CPP $CPPFLAGS'
51885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51894 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51896 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51897 for ac_func in ldexpl
51898 do :
51899 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51900 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51901 cat >>confdefs.h <<_ACEOF
51902 #define HAVE_LDEXPL 1
51903 _ACEOF
51906 done
51908 else
51910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51911 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51912 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51913 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51914 $as_echo_n "(cached) " >&6
51915 else
51918 ac_ext=cpp
51919 ac_cpp='$CXXCPP $CPPFLAGS'
51920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51925 /* end confdefs.h. */
51926 #include <math.h>
51928 main ()
51930 _ldexpl(0, 0);
51932 return 0;
51934 _ACEOF
51935 if ac_fn_cxx_try_compile "$LINENO"; then :
51936 glibcxx_cv_func__ldexpl_use=yes
51937 else
51938 glibcxx_cv_func__ldexpl_use=no
51940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51941 ac_ext=c
51942 ac_cpp='$CPP $CPPFLAGS'
51943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51952 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51954 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51955 for ac_func in _ldexpl
51956 do :
51957 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51958 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51959 cat >>confdefs.h <<_ACEOF
51960 #define HAVE__LDEXPL 1
51961 _ACEOF
51964 done
51973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51974 $as_echo_n "checking for logl declaration... " >&6; }
51975 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51976 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51977 $as_echo_n "(cached) " >&6
51978 else
51981 ac_ext=cpp
51982 ac_cpp='$CXXCPP $CPPFLAGS'
51983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51988 /* end confdefs.h. */
51989 #include <math.h>
51990 #ifdef HAVE_IEEEFP_H
51991 #include <ieeefp.h>
51992 #endif
51995 main ()
51997 logl(0);
51999 return 0;
52001 _ACEOF
52002 if ac_fn_cxx_try_compile "$LINENO"; then :
52003 glibcxx_cv_func_logl_use=yes
52004 else
52005 glibcxx_cv_func_logl_use=no
52007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52008 ac_ext=c
52009 ac_cpp='$CPP $CPPFLAGS'
52010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52019 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52021 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52022 for ac_func in logl
52023 do :
52024 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52025 if test "x$ac_cv_func_logl" = x""yes; then :
52026 cat >>confdefs.h <<_ACEOF
52027 #define HAVE_LOGL 1
52028 _ACEOF
52031 done
52033 else
52035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52036 $as_echo_n "checking for _logl declaration... " >&6; }
52037 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52038 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52039 $as_echo_n "(cached) " >&6
52040 else
52043 ac_ext=cpp
52044 ac_cpp='$CXXCPP $CPPFLAGS'
52045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52050 /* end confdefs.h. */
52051 #include <math.h>
52052 #ifdef HAVE_IEEEFP_H
52053 #include <ieeefp.h>
52054 #endif
52057 main ()
52059 _logl(0);
52061 return 0;
52063 _ACEOF
52064 if ac_fn_cxx_try_compile "$LINENO"; then :
52065 glibcxx_cv_func__logl_use=yes
52066 else
52067 glibcxx_cv_func__logl_use=no
52069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52070 ac_ext=c
52071 ac_cpp='$CPP $CPPFLAGS'
52072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52081 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52083 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52084 for ac_func in _logl
52085 do :
52086 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52087 if test "x$ac_cv_func__logl" = x""yes; then :
52088 cat >>confdefs.h <<_ACEOF
52089 #define HAVE__LOGL 1
52090 _ACEOF
52093 done
52102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52103 $as_echo_n "checking for log10l declaration... " >&6; }
52104 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52105 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52106 $as_echo_n "(cached) " >&6
52107 else
52110 ac_ext=cpp
52111 ac_cpp='$CXXCPP $CPPFLAGS'
52112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52117 /* end confdefs.h. */
52118 #include <math.h>
52119 #ifdef HAVE_IEEEFP_H
52120 #include <ieeefp.h>
52121 #endif
52124 main ()
52126 log10l(0);
52128 return 0;
52130 _ACEOF
52131 if ac_fn_cxx_try_compile "$LINENO"; then :
52132 glibcxx_cv_func_log10l_use=yes
52133 else
52134 glibcxx_cv_func_log10l_use=no
52136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52137 ac_ext=c
52138 ac_cpp='$CPP $CPPFLAGS'
52139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52148 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52150 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52151 for ac_func in log10l
52152 do :
52153 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52154 if test "x$ac_cv_func_log10l" = x""yes; then :
52155 cat >>confdefs.h <<_ACEOF
52156 #define HAVE_LOG10L 1
52157 _ACEOF
52160 done
52162 else
52164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52165 $as_echo_n "checking for _log10l declaration... " >&6; }
52166 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52167 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52168 $as_echo_n "(cached) " >&6
52169 else
52172 ac_ext=cpp
52173 ac_cpp='$CXXCPP $CPPFLAGS'
52174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52179 /* end confdefs.h. */
52180 #include <math.h>
52181 #ifdef HAVE_IEEEFP_H
52182 #include <ieeefp.h>
52183 #endif
52186 main ()
52188 _log10l(0);
52190 return 0;
52192 _ACEOF
52193 if ac_fn_cxx_try_compile "$LINENO"; then :
52194 glibcxx_cv_func__log10l_use=yes
52195 else
52196 glibcxx_cv_func__log10l_use=no
52198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52199 ac_ext=c
52200 ac_cpp='$CPP $CPPFLAGS'
52201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52210 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52212 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52213 for ac_func in _log10l
52214 do :
52215 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52216 if test "x$ac_cv_func__log10l" = x""yes; then :
52217 cat >>confdefs.h <<_ACEOF
52218 #define HAVE__LOG10L 1
52219 _ACEOF
52222 done
52231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52232 $as_echo_n "checking for modfl declaration... " >&6; }
52233 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52234 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52235 $as_echo_n "(cached) " >&6
52236 else
52239 ac_ext=cpp
52240 ac_cpp='$CXXCPP $CPPFLAGS'
52241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52246 /* end confdefs.h. */
52247 #include <math.h>
52249 main ()
52251 modfl(0, 0);
52253 return 0;
52255 _ACEOF
52256 if ac_fn_cxx_try_compile "$LINENO"; then :
52257 glibcxx_cv_func_modfl_use=yes
52258 else
52259 glibcxx_cv_func_modfl_use=no
52261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52262 ac_ext=c
52263 ac_cpp='$CPP $CPPFLAGS'
52264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52273 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52275 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52276 for ac_func in modfl
52277 do :
52278 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52279 if test "x$ac_cv_func_modfl" = x""yes; then :
52280 cat >>confdefs.h <<_ACEOF
52281 #define HAVE_MODFL 1
52282 _ACEOF
52285 done
52287 else
52289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52290 $as_echo_n "checking for _modfl declaration... " >&6; }
52291 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52292 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52293 $as_echo_n "(cached) " >&6
52294 else
52297 ac_ext=cpp
52298 ac_cpp='$CXXCPP $CPPFLAGS'
52299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52304 /* end confdefs.h. */
52305 #include <math.h>
52307 main ()
52309 _modfl(0, 0);
52311 return 0;
52313 _ACEOF
52314 if ac_fn_cxx_try_compile "$LINENO"; then :
52315 glibcxx_cv_func__modfl_use=yes
52316 else
52317 glibcxx_cv_func__modfl_use=no
52319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52320 ac_ext=c
52321 ac_cpp='$CPP $CPPFLAGS'
52322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52331 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52333 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52334 for ac_func in _modfl
52335 do :
52336 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52337 if test "x$ac_cv_func__modfl" = x""yes; then :
52338 cat >>confdefs.h <<_ACEOF
52339 #define HAVE__MODFL 1
52340 _ACEOF
52343 done
52352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52353 $as_echo_n "checking for powl declaration... " >&6; }
52354 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52355 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52356 $as_echo_n "(cached) " >&6
52357 else
52360 ac_ext=cpp
52361 ac_cpp='$CXXCPP $CPPFLAGS'
52362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52367 /* end confdefs.h. */
52368 #include <math.h>
52370 main ()
52372 powl(0, 0);
52374 return 0;
52376 _ACEOF
52377 if ac_fn_cxx_try_compile "$LINENO"; then :
52378 glibcxx_cv_func_powl_use=yes
52379 else
52380 glibcxx_cv_func_powl_use=no
52382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52383 ac_ext=c
52384 ac_cpp='$CPP $CPPFLAGS'
52385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52394 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52396 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52397 for ac_func in powl
52398 do :
52399 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52400 if test "x$ac_cv_func_powl" = x""yes; then :
52401 cat >>confdefs.h <<_ACEOF
52402 #define HAVE_POWL 1
52403 _ACEOF
52406 done
52408 else
52410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52411 $as_echo_n "checking for _powl declaration... " >&6; }
52412 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52413 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52414 $as_echo_n "(cached) " >&6
52415 else
52418 ac_ext=cpp
52419 ac_cpp='$CXXCPP $CPPFLAGS'
52420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52425 /* end confdefs.h. */
52426 #include <math.h>
52428 main ()
52430 _powl(0, 0);
52432 return 0;
52434 _ACEOF
52435 if ac_fn_cxx_try_compile "$LINENO"; then :
52436 glibcxx_cv_func__powl_use=yes
52437 else
52438 glibcxx_cv_func__powl_use=no
52440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52441 ac_ext=c
52442 ac_cpp='$CPP $CPPFLAGS'
52443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52452 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52454 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52455 for ac_func in _powl
52456 do :
52457 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52458 if test "x$ac_cv_func__powl" = x""yes; then :
52459 cat >>confdefs.h <<_ACEOF
52460 #define HAVE__POWL 1
52461 _ACEOF
52464 done
52473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52474 $as_echo_n "checking for sqrtl declaration... " >&6; }
52475 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52476 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52477 $as_echo_n "(cached) " >&6
52478 else
52481 ac_ext=cpp
52482 ac_cpp='$CXXCPP $CPPFLAGS'
52483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52488 /* end confdefs.h. */
52489 #include <math.h>
52490 #ifdef HAVE_IEEEFP_H
52491 #include <ieeefp.h>
52492 #endif
52495 main ()
52497 sqrtl(0);
52499 return 0;
52501 _ACEOF
52502 if ac_fn_cxx_try_compile "$LINENO"; then :
52503 glibcxx_cv_func_sqrtl_use=yes
52504 else
52505 glibcxx_cv_func_sqrtl_use=no
52507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52508 ac_ext=c
52509 ac_cpp='$CPP $CPPFLAGS'
52510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52519 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52521 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52522 for ac_func in sqrtl
52523 do :
52524 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52525 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52526 cat >>confdefs.h <<_ACEOF
52527 #define HAVE_SQRTL 1
52528 _ACEOF
52531 done
52533 else
52535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52536 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52537 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52538 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52539 $as_echo_n "(cached) " >&6
52540 else
52543 ac_ext=cpp
52544 ac_cpp='$CXXCPP $CPPFLAGS'
52545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52550 /* end confdefs.h. */
52551 #include <math.h>
52552 #ifdef HAVE_IEEEFP_H
52553 #include <ieeefp.h>
52554 #endif
52557 main ()
52559 _sqrtl(0);
52561 return 0;
52563 _ACEOF
52564 if ac_fn_cxx_try_compile "$LINENO"; then :
52565 glibcxx_cv_func__sqrtl_use=yes
52566 else
52567 glibcxx_cv_func__sqrtl_use=no
52569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52570 ac_ext=c
52571 ac_cpp='$CPP $CPPFLAGS'
52572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52581 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52583 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52584 for ac_func in _sqrtl
52585 do :
52586 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52587 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52588 cat >>confdefs.h <<_ACEOF
52589 #define HAVE__SQRTL 1
52590 _ACEOF
52593 done
52602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52603 $as_echo_n "checking for sincosl declaration... " >&6; }
52604 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52605 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52606 $as_echo_n "(cached) " >&6
52607 else
52610 ac_ext=cpp
52611 ac_cpp='$CXXCPP $CPPFLAGS'
52612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52617 /* end confdefs.h. */
52618 #include <math.h>
52620 main ()
52622 sincosl(0, 0, 0);
52624 return 0;
52626 _ACEOF
52627 if ac_fn_cxx_try_compile "$LINENO"; then :
52628 glibcxx_cv_func_sincosl_use=yes
52629 else
52630 glibcxx_cv_func_sincosl_use=no
52632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52633 ac_ext=c
52634 ac_cpp='$CPP $CPPFLAGS'
52635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52644 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52646 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52647 for ac_func in sincosl
52648 do :
52649 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52650 if test "x$ac_cv_func_sincosl" = x""yes; then :
52651 cat >>confdefs.h <<_ACEOF
52652 #define HAVE_SINCOSL 1
52653 _ACEOF
52656 done
52658 else
52660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52661 $as_echo_n "checking for _sincosl declaration... " >&6; }
52662 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52663 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52664 $as_echo_n "(cached) " >&6
52665 else
52668 ac_ext=cpp
52669 ac_cpp='$CXXCPP $CPPFLAGS'
52670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52675 /* end confdefs.h. */
52676 #include <math.h>
52678 main ()
52680 _sincosl(0, 0, 0);
52682 return 0;
52684 _ACEOF
52685 if ac_fn_cxx_try_compile "$LINENO"; then :
52686 glibcxx_cv_func__sincosl_use=yes
52687 else
52688 glibcxx_cv_func__sincosl_use=no
52690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52691 ac_ext=c
52692 ac_cpp='$CPP $CPPFLAGS'
52693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52702 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52704 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52705 for ac_func in _sincosl
52706 do :
52707 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52708 if test "x$ac_cv_func__sincosl" = x""yes; then :
52709 cat >>confdefs.h <<_ACEOF
52710 #define HAVE__SINCOSL 1
52711 _ACEOF
52714 done
52723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52724 $as_echo_n "checking for finitel declaration... " >&6; }
52725 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52726 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52727 $as_echo_n "(cached) " >&6
52728 else
52731 ac_ext=cpp
52732 ac_cpp='$CXXCPP $CPPFLAGS'
52733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52738 /* end confdefs.h. */
52739 #include <math.h>
52740 #ifdef HAVE_IEEEFP_H
52741 #include <ieeefp.h>
52742 #endif
52745 main ()
52747 finitel(0);
52749 return 0;
52751 _ACEOF
52752 if ac_fn_cxx_try_compile "$LINENO"; then :
52753 glibcxx_cv_func_finitel_use=yes
52754 else
52755 glibcxx_cv_func_finitel_use=no
52757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52758 ac_ext=c
52759 ac_cpp='$CPP $CPPFLAGS'
52760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52769 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52771 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52772 for ac_func in finitel
52773 do :
52774 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52775 if test "x$ac_cv_func_finitel" = x""yes; then :
52776 cat >>confdefs.h <<_ACEOF
52777 #define HAVE_FINITEL 1
52778 _ACEOF
52781 done
52783 else
52785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52786 $as_echo_n "checking for _finitel declaration... " >&6; }
52787 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52788 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52789 $as_echo_n "(cached) " >&6
52790 else
52793 ac_ext=cpp
52794 ac_cpp='$CXXCPP $CPPFLAGS'
52795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52800 /* end confdefs.h. */
52801 #include <math.h>
52802 #ifdef HAVE_IEEEFP_H
52803 #include <ieeefp.h>
52804 #endif
52807 main ()
52809 _finitel(0);
52811 return 0;
52813 _ACEOF
52814 if ac_fn_cxx_try_compile "$LINENO"; then :
52815 glibcxx_cv_func__finitel_use=yes
52816 else
52817 glibcxx_cv_func__finitel_use=no
52819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52820 ac_ext=c
52821 ac_cpp='$CPP $CPPFLAGS'
52822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52831 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52833 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52834 for ac_func in _finitel
52835 do :
52836 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52837 if test "x$ac_cv_func__finitel" = x""yes; then :
52838 cat >>confdefs.h <<_ACEOF
52839 #define HAVE__FINITEL 1
52840 _ACEOF
52843 done
52851 LIBS="$ac_save_LIBS"
52852 CXXFLAGS="$ac_save_CXXFLAGS"
52855 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52856 ac_save_CXXFLAGS="$CXXFLAGS"
52857 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52861 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52862 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52863 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52864 $as_echo_n "(cached) " >&6
52865 else
52868 ac_ext=cpp
52869 ac_cpp='$CXXCPP $CPPFLAGS'
52870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52875 /* end confdefs.h. */
52876 #include <stdlib.h>
52878 main ()
52880 at_quick_exit(0);
52882 return 0;
52884 _ACEOF
52885 if ac_fn_cxx_try_compile "$LINENO"; then :
52886 glibcxx_cv_func_at_quick_exit_use=yes
52887 else
52888 glibcxx_cv_func_at_quick_exit_use=no
52890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52891 ac_ext=c
52892 ac_cpp='$CPP $CPPFLAGS'
52893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52902 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52903 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52904 for ac_func in at_quick_exit
52905 do :
52906 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52907 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52908 cat >>confdefs.h <<_ACEOF
52909 #define HAVE_AT_QUICK_EXIT 1
52910 _ACEOF
52913 done
52918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52919 $as_echo_n "checking for quick_exit declaration... " >&6; }
52920 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52921 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52922 $as_echo_n "(cached) " >&6
52923 else
52926 ac_ext=cpp
52927 ac_cpp='$CXXCPP $CPPFLAGS'
52928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52933 /* end confdefs.h. */
52934 #include <stdlib.h>
52936 main ()
52938 quick_exit(0);
52940 return 0;
52942 _ACEOF
52943 if ac_fn_cxx_try_compile "$LINENO"; then :
52944 glibcxx_cv_func_quick_exit_use=yes
52945 else
52946 glibcxx_cv_func_quick_exit_use=no
52948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52949 ac_ext=c
52950 ac_cpp='$CPP $CPPFLAGS'
52951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52960 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52961 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52962 for ac_func in quick_exit
52963 do :
52964 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52965 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52966 cat >>confdefs.h <<_ACEOF
52967 #define HAVE_QUICK_EXIT 1
52968 _ACEOF
52971 done
52976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52977 $as_echo_n "checking for strtold declaration... " >&6; }
52978 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52979 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52980 $as_echo_n "(cached) " >&6
52981 else
52984 ac_ext=cpp
52985 ac_cpp='$CXXCPP $CPPFLAGS'
52986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52991 /* end confdefs.h. */
52992 #include <stdlib.h>
52994 main ()
52996 strtold(0, 0);
52998 return 0;
53000 _ACEOF
53001 if ac_fn_cxx_try_compile "$LINENO"; then :
53002 glibcxx_cv_func_strtold_use=yes
53003 else
53004 glibcxx_cv_func_strtold_use=no
53006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53007 ac_ext=c
53008 ac_cpp='$CPP $CPPFLAGS'
53009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53018 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53019 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53020 for ac_func in strtold
53021 do :
53022 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53023 if test "x$ac_cv_func_strtold" = x""yes; then :
53024 cat >>confdefs.h <<_ACEOF
53025 #define HAVE_STRTOLD 1
53026 _ACEOF
53029 done
53036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53037 $as_echo_n "checking for strtof declaration... " >&6; }
53038 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53039 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53040 $as_echo_n "(cached) " >&6
53041 else
53044 ac_ext=cpp
53045 ac_cpp='$CXXCPP $CPPFLAGS'
53046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53051 /* end confdefs.h. */
53052 #include <stdlib.h>
53054 main ()
53056 strtof(0, 0);
53058 return 0;
53060 _ACEOF
53061 if ac_fn_cxx_try_compile "$LINENO"; then :
53062 glibcxx_cv_func_strtof_use=yes
53063 else
53064 glibcxx_cv_func_strtof_use=no
53066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53067 ac_ext=c
53068 ac_cpp='$CPP $CPPFLAGS'
53069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53078 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53079 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53080 for ac_func in strtof
53081 do :
53082 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53083 if test "x$ac_cv_func_strtof" = x""yes; then :
53084 cat >>confdefs.h <<_ACEOF
53085 #define HAVE_STRTOF 1
53086 _ACEOF
53089 done
53096 CXXFLAGS="$ac_save_CXXFLAGS"
53100 *djgpp)
53101 # GLIBCXX_CHECK_MATH_SUPPORT
53102 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53104 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53106 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53108 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53110 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53114 *-freebsd*)
53115 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53118 # If we're not using GNU ld, then there's no point in even trying these
53119 # tests. Check for that first. We should have already tested for gld
53120 # by now (in libtool), but require it now just to be safe...
53121 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53122 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53126 # The name set by libtool depends on the version of libtool. Shame on us
53127 # for depending on an impl detail, but c'est la vie. Older versions used
53128 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53129 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53130 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53131 # set (hence we're using an older libtool), then set it.
53132 if test x${with_gnu_ld+set} != xset; then
53133 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53134 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53135 with_gnu_ld=no
53136 else
53137 with_gnu_ld=$ac_cv_prog_gnu_ld
53141 # Start by getting the version number. I think the libtool test already
53142 # does some of this, but throws away the result.
53143 glibcxx_ld_is_gold=no
53144 if test x"$with_gnu_ld" = x"yes"; then
53145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53146 $as_echo_n "checking for ld version... " >&6; }
53148 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53149 glibcxx_ld_is_gold=yes
53151 ldver=`$LD --version 2>/dev/null |
53152 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'`
53154 glibcxx_gnu_ld_version=`echo $ldver | \
53155 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53157 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53160 # Set --gc-sections.
53161 glibcxx_have_gc_sections=no
53162 if test "$glibcxx_ld_is_gold" = "yes"; then
53163 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53164 glibcxx_have_gc_sections=yes
53166 else
53167 glibcxx_gcsections_min_ld=21602
53168 if test x"$with_gnu_ld" = x"yes" &&
53169 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53170 glibcxx_have_gc_sections=yes
53173 if test "$glibcxx_have_gc_sections" = "yes"; then
53174 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53175 # NB: This flag only works reliably after 2.16.1. Configure tests
53176 # for this are difficult, so hard wire a value that should work.
53178 ac_test_CFLAGS="${CFLAGS+set}"
53179 ac_save_CFLAGS="$CFLAGS"
53180 CFLAGS='-Wl,--gc-sections'
53182 # Check for -Wl,--gc-sections
53183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53184 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53185 if test x$gcc_no_link = xyes; then
53186 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53189 /* end confdefs.h. */
53190 int one(void) { return 1; }
53191 int two(void) { return 2; }
53194 main ()
53196 two();
53198 return 0;
53200 _ACEOF
53201 if ac_fn_c_try_link "$LINENO"; then :
53202 ac_gcsections=yes
53203 else
53204 ac_gcsections=no
53206 rm -f core conftest.err conftest.$ac_objext \
53207 conftest$ac_exeext conftest.$ac_ext
53208 if test "$ac_gcsections" = "yes"; then
53209 rm -f conftest.c
53210 touch conftest.c
53211 if $CC -c conftest.c; then
53212 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53213 grep "Warning: gc-sections option ignored" > /dev/null; then
53214 ac_gcsections=no
53217 rm -f conftest.c conftest.o conftest
53219 if test "$ac_gcsections" = "yes"; then
53220 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53223 $as_echo "$ac_gcsections" >&6; }
53225 if test "$ac_test_CFLAGS" = set; then
53226 CFLAGS="$ac_save_CFLAGS"
53227 else
53228 # this is the suspicious part
53229 CFLAGS=''
53233 # Set -z,relro.
53234 # Note this is only for shared objects.
53235 ac_ld_relro=no
53236 if test x"$with_gnu_ld" = x"yes"; then
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53238 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53239 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53240 if test -n "$cxx_z_relo"; then
53241 OPT_LDFLAGS="-Wl,-z,relro"
53242 ac_ld_relro=yes
53244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53245 $as_echo "$ac_ld_relro" >&6; }
53248 # Set linker optimization flags.
53249 if test x"$with_gnu_ld" = x"yes"; then
53250 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53256 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53258 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53260 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53262 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53264 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53266 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53268 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53270 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53272 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53275 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53277 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53279 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53281 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53283 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53285 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53287 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53289 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53291 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53293 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53295 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53297 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53299 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53301 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53303 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53305 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53307 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53309 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53311 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53313 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53315 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53317 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53319 if test x"long_double_math_on_this_cpu" = x"yes"; then
53320 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53322 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53324 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53327 for ac_func in __cxa_thread_atexit
53328 do :
53329 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53330 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53331 cat >>confdefs.h <<_ACEOF
53332 #define HAVE___CXA_THREAD_ATEXIT 1
53333 _ACEOF
53336 done
53338 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53339 do :
53340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53342 eval as_val=\$$as_ac_var
53343 if test "x$as_val" = x""yes; then :
53344 cat >>confdefs.h <<_ACEOF
53345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53346 _ACEOF
53349 done
53353 *-fuchsia*)
53354 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53358 *-hpux*)
53359 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53362 # If we're not using GNU ld, then there's no point in even trying these
53363 # tests. Check for that first. We should have already tested for gld
53364 # by now (in libtool), but require it now just to be safe...
53365 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53366 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53370 # The name set by libtool depends on the version of libtool. Shame on us
53371 # for depending on an impl detail, but c'est la vie. Older versions used
53372 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53373 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53374 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53375 # set (hence we're using an older libtool), then set it.
53376 if test x${with_gnu_ld+set} != xset; then
53377 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53378 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53379 with_gnu_ld=no
53380 else
53381 with_gnu_ld=$ac_cv_prog_gnu_ld
53385 # Start by getting the version number. I think the libtool test already
53386 # does some of this, but throws away the result.
53387 glibcxx_ld_is_gold=no
53388 if test x"$with_gnu_ld" = x"yes"; then
53389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53390 $as_echo_n "checking for ld version... " >&6; }
53392 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53393 glibcxx_ld_is_gold=yes
53395 ldver=`$LD --version 2>/dev/null |
53396 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'`
53398 glibcxx_gnu_ld_version=`echo $ldver | \
53399 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53401 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53404 # Set --gc-sections.
53405 glibcxx_have_gc_sections=no
53406 if test "$glibcxx_ld_is_gold" = "yes"; then
53407 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53408 glibcxx_have_gc_sections=yes
53410 else
53411 glibcxx_gcsections_min_ld=21602
53412 if test x"$with_gnu_ld" = x"yes" &&
53413 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53414 glibcxx_have_gc_sections=yes
53417 if test "$glibcxx_have_gc_sections" = "yes"; then
53418 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53419 # NB: This flag only works reliably after 2.16.1. Configure tests
53420 # for this are difficult, so hard wire a value that should work.
53422 ac_test_CFLAGS="${CFLAGS+set}"
53423 ac_save_CFLAGS="$CFLAGS"
53424 CFLAGS='-Wl,--gc-sections'
53426 # Check for -Wl,--gc-sections
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53428 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53429 if test x$gcc_no_link = xyes; then
53430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53433 /* end confdefs.h. */
53434 int one(void) { return 1; }
53435 int two(void) { return 2; }
53438 main ()
53440 two();
53442 return 0;
53444 _ACEOF
53445 if ac_fn_c_try_link "$LINENO"; then :
53446 ac_gcsections=yes
53447 else
53448 ac_gcsections=no
53450 rm -f core conftest.err conftest.$ac_objext \
53451 conftest$ac_exeext conftest.$ac_ext
53452 if test "$ac_gcsections" = "yes"; then
53453 rm -f conftest.c
53454 touch conftest.c
53455 if $CC -c conftest.c; then
53456 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53457 grep "Warning: gc-sections option ignored" > /dev/null; then
53458 ac_gcsections=no
53461 rm -f conftest.c conftest.o conftest
53463 if test "$ac_gcsections" = "yes"; then
53464 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53467 $as_echo "$ac_gcsections" >&6; }
53469 if test "$ac_test_CFLAGS" = set; then
53470 CFLAGS="$ac_save_CFLAGS"
53471 else
53472 # this is the suspicious part
53473 CFLAGS=''
53477 # Set -z,relro.
53478 # Note this is only for shared objects.
53479 ac_ld_relro=no
53480 if test x"$with_gnu_ld" = x"yes"; then
53481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53482 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53483 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53484 if test -n "$cxx_z_relo"; then
53485 OPT_LDFLAGS="-Wl,-z,relro"
53486 ac_ld_relro=yes
53488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53489 $as_echo "$ac_ld_relro" >&6; }
53492 # Set linker optimization flags.
53493 if test x"$with_gnu_ld" = x"yes"; then
53494 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53501 # GLIBCXX_CHECK_MATH_SUPPORT
53502 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53504 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53506 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53508 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53510 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53512 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53514 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53516 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53518 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53520 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53522 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53524 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53526 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53528 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53530 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53532 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53534 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53536 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53538 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53540 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53542 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53545 # GLIBCXX_CHECK_STDLIB_SUPPORT
53546 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53551 # Check whether --enable-tls was given.
53552 if test "${enable_tls+set}" = set; then :
53553 enableval=$enable_tls;
53554 case "$enableval" in
53555 yes|no) ;;
53556 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53557 esac
53559 else
53560 enable_tls=yes
53564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53565 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53566 if test "${gcc_cv_have_tls+set}" = set; then :
53567 $as_echo_n "(cached) " >&6
53568 else
53570 if test "$cross_compiling" = yes; then :
53571 if test x$gcc_no_link = xyes; then
53572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53575 /* end confdefs.h. */
53576 __thread int a; int b; int main() { return a = b; }
53577 _ACEOF
53578 if ac_fn_c_try_link "$LINENO"; then :
53579 chktls_save_LDFLAGS="$LDFLAGS"
53580 case $host in
53581 *-*-linux*)
53582 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53584 esac
53585 chktls_save_CFLAGS="$CFLAGS"
53586 CFLAGS="-fPIC $CFLAGS"
53587 if test x$gcc_no_link = xyes; then
53588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53591 /* end confdefs.h. */
53592 int f() { return 0; }
53593 _ACEOF
53594 if ac_fn_c_try_link "$LINENO"; then :
53595 if test x$gcc_no_link = xyes; then
53596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53599 /* end confdefs.h. */
53600 __thread int a; int b; int f() { return a = b; }
53601 _ACEOF
53602 if ac_fn_c_try_link "$LINENO"; then :
53603 gcc_cv_have_tls=yes
53604 else
53605 gcc_cv_have_tls=no
53607 rm -f core conftest.err conftest.$ac_objext \
53608 conftest$ac_exeext conftest.$ac_ext
53609 else
53610 gcc_cv_have_tls=yes
53612 rm -f core conftest.err conftest.$ac_objext \
53613 conftest$ac_exeext conftest.$ac_ext
53614 CFLAGS="$chktls_save_CFLAGS"
53615 LDFLAGS="$chktls_save_LDFLAGS"
53616 else
53617 gcc_cv_have_tls=no
53619 rm -f core conftest.err conftest.$ac_objext \
53620 conftest$ac_exeext conftest.$ac_ext
53623 else
53624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53625 /* end confdefs.h. */
53626 __thread int a; int b; int main() { return a = b; }
53627 _ACEOF
53628 if ac_fn_c_try_run "$LINENO"; then :
53629 chktls_save_LDFLAGS="$LDFLAGS"
53630 LDFLAGS="-static $LDFLAGS"
53631 if test x$gcc_no_link = xyes; then
53632 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53635 /* end confdefs.h. */
53636 int main() { return 0; }
53637 _ACEOF
53638 if ac_fn_c_try_link "$LINENO"; then :
53639 if test "$cross_compiling" = yes; then :
53640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53642 as_fn_error "cannot run test program while cross compiling
53643 See \`config.log' for more details." "$LINENO" 5; }
53644 else
53645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53646 /* end confdefs.h. */
53647 __thread int a; int b; int main() { return a = b; }
53648 _ACEOF
53649 if ac_fn_c_try_run "$LINENO"; then :
53650 gcc_cv_have_tls=yes
53651 else
53652 gcc_cv_have_tls=no
53654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53655 conftest.$ac_objext conftest.beam conftest.$ac_ext
53658 else
53659 gcc_cv_have_tls=yes
53661 rm -f core conftest.err conftest.$ac_objext \
53662 conftest$ac_exeext conftest.$ac_ext
53663 LDFLAGS="$chktls_save_LDFLAGS"
53664 if test $gcc_cv_have_tls = yes; then
53665 chktls_save_CFLAGS="$CFLAGS"
53666 thread_CFLAGS=failed
53667 for flag in '' '-pthread' '-lpthread'; do
53668 CFLAGS="$flag $chktls_save_CFLAGS"
53669 if test x$gcc_no_link = xyes; then
53670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53673 /* end confdefs.h. */
53674 #include <pthread.h>
53675 void *g(void *d) { return NULL; }
53677 main ()
53679 pthread_t t; pthread_create(&t,NULL,g,NULL);
53681 return 0;
53683 _ACEOF
53684 if ac_fn_c_try_link "$LINENO"; then :
53685 thread_CFLAGS="$flag"
53687 rm -f core conftest.err conftest.$ac_objext \
53688 conftest$ac_exeext conftest.$ac_ext
53689 if test "X$thread_CFLAGS" != Xfailed; then
53690 break
53692 done
53693 CFLAGS="$chktls_save_CFLAGS"
53694 if test "X$thread_CFLAGS" != Xfailed; then
53695 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53696 if test "$cross_compiling" = yes; then :
53697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53699 as_fn_error "cannot run test program while cross compiling
53700 See \`config.log' for more details." "$LINENO" 5; }
53701 else
53702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53703 /* end confdefs.h. */
53704 #include <pthread.h>
53705 __thread int a;
53706 static int *volatile a_in_other_thread;
53707 static void *
53708 thread_func (void *arg)
53710 a_in_other_thread = &a;
53711 return (void *)0;
53714 main ()
53716 pthread_t thread;
53717 void *thread_retval;
53718 int *volatile a_in_main_thread;
53719 a_in_main_thread = &a;
53720 if (pthread_create (&thread, (pthread_attr_t *)0,
53721 thread_func, (void *)0))
53722 return 0;
53723 if (pthread_join (thread, &thread_retval))
53724 return 0;
53725 return (a_in_other_thread == a_in_main_thread);
53727 return 0;
53729 _ACEOF
53730 if ac_fn_c_try_run "$LINENO"; then :
53731 gcc_cv_have_tls=yes
53732 else
53733 gcc_cv_have_tls=no
53735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53736 conftest.$ac_objext conftest.beam conftest.$ac_ext
53739 CFLAGS="$chktls_save_CFLAGS"
53742 else
53743 gcc_cv_have_tls=no
53745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53746 conftest.$ac_objext conftest.beam conftest.$ac_ext
53750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53751 $as_echo "$gcc_cv_have_tls" >&6; }
53752 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53754 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53757 case "$target" in
53758 *-hpux10*)
53759 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53761 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53763 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53765 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53767 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53770 esac
53772 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53774 # All these tests are for C++; save the language and the compiler flags.
53775 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53776 # found in GLIBCXX_CONFIGURE.
53778 ac_ext=cpp
53779 ac_cpp='$CXXCPP $CPPFLAGS'
53780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53784 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53785 ac_save_CXXFLAGS="$CXXFLAGS"
53787 # Check for -ffunction-sections -fdata-sections
53788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53789 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53790 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53792 /* end confdefs.h. */
53793 int foo; void bar() { };
53795 main ()
53799 return 0;
53801 _ACEOF
53802 if ac_fn_cxx_try_compile "$LINENO"; then :
53803 ac_fdsections=yes
53804 else
53805 ac_fdsections=no
53807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53808 if test "$ac_test_CXXFLAGS" = set; then
53809 CXXFLAGS="$ac_save_CXXFLAGS"
53810 else
53811 # this is the suspicious part
53812 CXXFLAGS=''
53814 if test x"$ac_fdsections" = x"yes"; then
53815 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53818 $as_echo "$ac_fdsections" >&6; }
53820 ac_ext=c
53821 ac_cpp='$CPP $CPPFLAGS'
53822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53829 # If we're not using GNU ld, then there's no point in even trying these
53830 # tests. Check for that first. We should have already tested for gld
53831 # by now (in libtool), but require it now just to be safe...
53832 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53833 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53837 # The name set by libtool depends on the version of libtool. Shame on us
53838 # for depending on an impl detail, but c'est la vie. Older versions used
53839 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53840 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53841 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53842 # set (hence we're using an older libtool), then set it.
53843 if test x${with_gnu_ld+set} != xset; then
53844 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53845 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53846 with_gnu_ld=no
53847 else
53848 with_gnu_ld=$ac_cv_prog_gnu_ld
53852 # Start by getting the version number. I think the libtool test already
53853 # does some of this, but throws away the result.
53854 glibcxx_ld_is_gold=no
53855 if test x"$with_gnu_ld" = x"yes"; then
53856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53857 $as_echo_n "checking for ld version... " >&6; }
53859 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53860 glibcxx_ld_is_gold=yes
53862 ldver=`$LD --version 2>/dev/null |
53863 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'`
53865 glibcxx_gnu_ld_version=`echo $ldver | \
53866 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53868 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53871 # Set --gc-sections.
53872 glibcxx_have_gc_sections=no
53873 if test "$glibcxx_ld_is_gold" = "yes"; then
53874 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53875 glibcxx_have_gc_sections=yes
53877 else
53878 glibcxx_gcsections_min_ld=21602
53879 if test x"$with_gnu_ld" = x"yes" &&
53880 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53881 glibcxx_have_gc_sections=yes
53884 if test "$glibcxx_have_gc_sections" = "yes"; then
53885 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53886 # NB: This flag only works reliably after 2.16.1. Configure tests
53887 # for this are difficult, so hard wire a value that should work.
53889 ac_test_CFLAGS="${CFLAGS+set}"
53890 ac_save_CFLAGS="$CFLAGS"
53891 CFLAGS='-Wl,--gc-sections'
53893 # Check for -Wl,--gc-sections
53894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53895 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53896 if test x$gcc_no_link = xyes; then
53897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53900 /* end confdefs.h. */
53901 int one(void) { return 1; }
53902 int two(void) { return 2; }
53905 main ()
53907 two();
53909 return 0;
53911 _ACEOF
53912 if ac_fn_c_try_link "$LINENO"; then :
53913 ac_gcsections=yes
53914 else
53915 ac_gcsections=no
53917 rm -f core conftest.err conftest.$ac_objext \
53918 conftest$ac_exeext conftest.$ac_ext
53919 if test "$ac_gcsections" = "yes"; then
53920 rm -f conftest.c
53921 touch conftest.c
53922 if $CC -c conftest.c; then
53923 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53924 grep "Warning: gc-sections option ignored" > /dev/null; then
53925 ac_gcsections=no
53928 rm -f conftest.c conftest.o conftest
53930 if test "$ac_gcsections" = "yes"; then
53931 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53934 $as_echo "$ac_gcsections" >&6; }
53936 if test "$ac_test_CFLAGS" = set; then
53937 CFLAGS="$ac_save_CFLAGS"
53938 else
53939 # this is the suspicious part
53940 CFLAGS=''
53944 # Set -z,relro.
53945 # Note this is only for shared objects.
53946 ac_ld_relro=no
53947 if test x"$with_gnu_ld" = x"yes"; then
53948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53949 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53950 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53951 if test -n "$cxx_z_relo"; then
53952 OPT_LDFLAGS="-Wl,-z,relro"
53953 ac_ld_relro=yes
53955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53956 $as_echo "$ac_ld_relro" >&6; }
53959 # Set linker optimization flags.
53960 if test x"$with_gnu_ld" = x"yes"; then
53961 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53968 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53969 ac_save_CXXFLAGS="$CXXFLAGS"
53970 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53973 $as_echo_n "checking for sin in -lm... " >&6; }
53974 if test "${ac_cv_lib_m_sin+set}" = set; then :
53975 $as_echo_n "(cached) " >&6
53976 else
53977 ac_check_lib_save_LIBS=$LIBS
53978 LIBS="-lm $LIBS"
53979 if test x$gcc_no_link = xyes; then
53980 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53983 /* end confdefs.h. */
53985 /* Override any GCC internal prototype to avoid an error.
53986 Use char because int might match the return type of a GCC
53987 builtin and then its argument prototype would still apply. */
53988 #ifdef __cplusplus
53989 extern "C"
53990 #endif
53991 char sin ();
53993 main ()
53995 return sin ();
53997 return 0;
53999 _ACEOF
54000 if ac_fn_c_try_link "$LINENO"; then :
54001 ac_cv_lib_m_sin=yes
54002 else
54003 ac_cv_lib_m_sin=no
54005 rm -f core conftest.err conftest.$ac_objext \
54006 conftest$ac_exeext conftest.$ac_ext
54007 LIBS=$ac_check_lib_save_LIBS
54009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54010 $as_echo "$ac_cv_lib_m_sin" >&6; }
54011 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54012 libm="-lm"
54015 ac_save_LIBS="$LIBS"
54016 LIBS="$LIBS $libm"
54020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54021 $as_echo_n "checking for isinf declaration... " >&6; }
54022 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54023 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54024 $as_echo_n "(cached) " >&6
54025 else
54028 ac_ext=cpp
54029 ac_cpp='$CXXCPP $CPPFLAGS'
54030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54035 /* end confdefs.h. */
54036 #include <math.h>
54037 #ifdef HAVE_IEEEFP_H
54038 #include <ieeefp.h>
54039 #endif
54042 main ()
54044 isinf(0);
54046 return 0;
54048 _ACEOF
54049 if ac_fn_cxx_try_compile "$LINENO"; then :
54050 glibcxx_cv_func_isinf_use=yes
54051 else
54052 glibcxx_cv_func_isinf_use=no
54054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54055 ac_ext=c
54056 ac_cpp='$CPP $CPPFLAGS'
54057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54066 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54068 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54069 for ac_func in isinf
54070 do :
54071 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54072 if test "x$ac_cv_func_isinf" = x""yes; then :
54073 cat >>confdefs.h <<_ACEOF
54074 #define HAVE_ISINF 1
54075 _ACEOF
54078 done
54080 else
54082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54083 $as_echo_n "checking for _isinf declaration... " >&6; }
54084 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54085 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54086 $as_echo_n "(cached) " >&6
54087 else
54090 ac_ext=cpp
54091 ac_cpp='$CXXCPP $CPPFLAGS'
54092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54097 /* end confdefs.h. */
54098 #include <math.h>
54099 #ifdef HAVE_IEEEFP_H
54100 #include <ieeefp.h>
54101 #endif
54104 main ()
54106 _isinf(0);
54108 return 0;
54110 _ACEOF
54111 if ac_fn_cxx_try_compile "$LINENO"; then :
54112 glibcxx_cv_func__isinf_use=yes
54113 else
54114 glibcxx_cv_func__isinf_use=no
54116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54117 ac_ext=c
54118 ac_cpp='$CPP $CPPFLAGS'
54119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54128 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54130 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54131 for ac_func in _isinf
54132 do :
54133 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54134 if test "x$ac_cv_func__isinf" = x""yes; then :
54135 cat >>confdefs.h <<_ACEOF
54136 #define HAVE__ISINF 1
54137 _ACEOF
54140 done
54149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54150 $as_echo_n "checking for isnan declaration... " >&6; }
54151 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54152 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54153 $as_echo_n "(cached) " >&6
54154 else
54157 ac_ext=cpp
54158 ac_cpp='$CXXCPP $CPPFLAGS'
54159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54164 /* end confdefs.h. */
54165 #include <math.h>
54166 #ifdef HAVE_IEEEFP_H
54167 #include <ieeefp.h>
54168 #endif
54171 main ()
54173 isnan(0);
54175 return 0;
54177 _ACEOF
54178 if ac_fn_cxx_try_compile "$LINENO"; then :
54179 glibcxx_cv_func_isnan_use=yes
54180 else
54181 glibcxx_cv_func_isnan_use=no
54183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54184 ac_ext=c
54185 ac_cpp='$CPP $CPPFLAGS'
54186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54195 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54197 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54198 for ac_func in isnan
54199 do :
54200 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54201 if test "x$ac_cv_func_isnan" = x""yes; then :
54202 cat >>confdefs.h <<_ACEOF
54203 #define HAVE_ISNAN 1
54204 _ACEOF
54207 done
54209 else
54211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54212 $as_echo_n "checking for _isnan declaration... " >&6; }
54213 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54214 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54215 $as_echo_n "(cached) " >&6
54216 else
54219 ac_ext=cpp
54220 ac_cpp='$CXXCPP $CPPFLAGS'
54221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54226 /* end confdefs.h. */
54227 #include <math.h>
54228 #ifdef HAVE_IEEEFP_H
54229 #include <ieeefp.h>
54230 #endif
54233 main ()
54235 _isnan(0);
54237 return 0;
54239 _ACEOF
54240 if ac_fn_cxx_try_compile "$LINENO"; then :
54241 glibcxx_cv_func__isnan_use=yes
54242 else
54243 glibcxx_cv_func__isnan_use=no
54245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54246 ac_ext=c
54247 ac_cpp='$CPP $CPPFLAGS'
54248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54257 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54259 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54260 for ac_func in _isnan
54261 do :
54262 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54263 if test "x$ac_cv_func__isnan" = x""yes; then :
54264 cat >>confdefs.h <<_ACEOF
54265 #define HAVE__ISNAN 1
54266 _ACEOF
54269 done
54278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54279 $as_echo_n "checking for finite declaration... " >&6; }
54280 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54281 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54282 $as_echo_n "(cached) " >&6
54283 else
54286 ac_ext=cpp
54287 ac_cpp='$CXXCPP $CPPFLAGS'
54288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54293 /* end confdefs.h. */
54294 #include <math.h>
54295 #ifdef HAVE_IEEEFP_H
54296 #include <ieeefp.h>
54297 #endif
54300 main ()
54302 finite(0);
54304 return 0;
54306 _ACEOF
54307 if ac_fn_cxx_try_compile "$LINENO"; then :
54308 glibcxx_cv_func_finite_use=yes
54309 else
54310 glibcxx_cv_func_finite_use=no
54312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54313 ac_ext=c
54314 ac_cpp='$CPP $CPPFLAGS'
54315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54324 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54326 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54327 for ac_func in finite
54328 do :
54329 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54330 if test "x$ac_cv_func_finite" = x""yes; then :
54331 cat >>confdefs.h <<_ACEOF
54332 #define HAVE_FINITE 1
54333 _ACEOF
54336 done
54338 else
54340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54341 $as_echo_n "checking for _finite declaration... " >&6; }
54342 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54343 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54344 $as_echo_n "(cached) " >&6
54345 else
54348 ac_ext=cpp
54349 ac_cpp='$CXXCPP $CPPFLAGS'
54350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54355 /* end confdefs.h. */
54356 #include <math.h>
54357 #ifdef HAVE_IEEEFP_H
54358 #include <ieeefp.h>
54359 #endif
54362 main ()
54364 _finite(0);
54366 return 0;
54368 _ACEOF
54369 if ac_fn_cxx_try_compile "$LINENO"; then :
54370 glibcxx_cv_func__finite_use=yes
54371 else
54372 glibcxx_cv_func__finite_use=no
54374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54375 ac_ext=c
54376 ac_cpp='$CPP $CPPFLAGS'
54377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54386 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54388 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54389 for ac_func in _finite
54390 do :
54391 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54392 if test "x$ac_cv_func__finite" = x""yes; then :
54393 cat >>confdefs.h <<_ACEOF
54394 #define HAVE__FINITE 1
54395 _ACEOF
54398 done
54407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54408 $as_echo_n "checking for sincos declaration... " >&6; }
54409 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54410 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54411 $as_echo_n "(cached) " >&6
54412 else
54415 ac_ext=cpp
54416 ac_cpp='$CXXCPP $CPPFLAGS'
54417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54422 /* end confdefs.h. */
54423 #include <math.h>
54425 main ()
54427 sincos(0, 0, 0);
54429 return 0;
54431 _ACEOF
54432 if ac_fn_cxx_try_compile "$LINENO"; then :
54433 glibcxx_cv_func_sincos_use=yes
54434 else
54435 glibcxx_cv_func_sincos_use=no
54437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54438 ac_ext=c
54439 ac_cpp='$CPP $CPPFLAGS'
54440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54449 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54451 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54452 for ac_func in sincos
54453 do :
54454 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54455 if test "x$ac_cv_func_sincos" = x""yes; then :
54456 cat >>confdefs.h <<_ACEOF
54457 #define HAVE_SINCOS 1
54458 _ACEOF
54461 done
54463 else
54465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54466 $as_echo_n "checking for _sincos declaration... " >&6; }
54467 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54468 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54469 $as_echo_n "(cached) " >&6
54470 else
54473 ac_ext=cpp
54474 ac_cpp='$CXXCPP $CPPFLAGS'
54475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54480 /* end confdefs.h. */
54481 #include <math.h>
54483 main ()
54485 _sincos(0, 0, 0);
54487 return 0;
54489 _ACEOF
54490 if ac_fn_cxx_try_compile "$LINENO"; then :
54491 glibcxx_cv_func__sincos_use=yes
54492 else
54493 glibcxx_cv_func__sincos_use=no
54495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54496 ac_ext=c
54497 ac_cpp='$CPP $CPPFLAGS'
54498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54507 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54509 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54510 for ac_func in _sincos
54511 do :
54512 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54513 if test "x$ac_cv_func__sincos" = x""yes; then :
54514 cat >>confdefs.h <<_ACEOF
54515 #define HAVE__SINCOS 1
54516 _ACEOF
54519 done
54528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54529 $as_echo_n "checking for fpclass declaration... " >&6; }
54530 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54531 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54532 $as_echo_n "(cached) " >&6
54533 else
54536 ac_ext=cpp
54537 ac_cpp='$CXXCPP $CPPFLAGS'
54538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54543 /* end confdefs.h. */
54544 #include <math.h>
54545 #ifdef HAVE_IEEEFP_H
54546 #include <ieeefp.h>
54547 #endif
54550 main ()
54552 fpclass(0);
54554 return 0;
54556 _ACEOF
54557 if ac_fn_cxx_try_compile "$LINENO"; then :
54558 glibcxx_cv_func_fpclass_use=yes
54559 else
54560 glibcxx_cv_func_fpclass_use=no
54562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54563 ac_ext=c
54564 ac_cpp='$CPP $CPPFLAGS'
54565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54574 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54576 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54577 for ac_func in fpclass
54578 do :
54579 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54580 if test "x$ac_cv_func_fpclass" = x""yes; then :
54581 cat >>confdefs.h <<_ACEOF
54582 #define HAVE_FPCLASS 1
54583 _ACEOF
54586 done
54588 else
54590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54591 $as_echo_n "checking for _fpclass declaration... " >&6; }
54592 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54593 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54594 $as_echo_n "(cached) " >&6
54595 else
54598 ac_ext=cpp
54599 ac_cpp='$CXXCPP $CPPFLAGS'
54600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54605 /* end confdefs.h. */
54606 #include <math.h>
54607 #ifdef HAVE_IEEEFP_H
54608 #include <ieeefp.h>
54609 #endif
54612 main ()
54614 _fpclass(0);
54616 return 0;
54618 _ACEOF
54619 if ac_fn_cxx_try_compile "$LINENO"; then :
54620 glibcxx_cv_func__fpclass_use=yes
54621 else
54622 glibcxx_cv_func__fpclass_use=no
54624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54625 ac_ext=c
54626 ac_cpp='$CPP $CPPFLAGS'
54627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54636 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54638 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54639 for ac_func in _fpclass
54640 do :
54641 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54642 if test "x$ac_cv_func__fpclass" = x""yes; then :
54643 cat >>confdefs.h <<_ACEOF
54644 #define HAVE__FPCLASS 1
54645 _ACEOF
54648 done
54657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54658 $as_echo_n "checking for qfpclass declaration... " >&6; }
54659 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54660 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54661 $as_echo_n "(cached) " >&6
54662 else
54665 ac_ext=cpp
54666 ac_cpp='$CXXCPP $CPPFLAGS'
54667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54672 /* end confdefs.h. */
54673 #include <math.h>
54674 #ifdef HAVE_IEEEFP_H
54675 #include <ieeefp.h>
54676 #endif
54679 main ()
54681 qfpclass(0);
54683 return 0;
54685 _ACEOF
54686 if ac_fn_cxx_try_compile "$LINENO"; then :
54687 glibcxx_cv_func_qfpclass_use=yes
54688 else
54689 glibcxx_cv_func_qfpclass_use=no
54691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54692 ac_ext=c
54693 ac_cpp='$CPP $CPPFLAGS'
54694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54703 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54705 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54706 for ac_func in qfpclass
54707 do :
54708 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54709 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54710 cat >>confdefs.h <<_ACEOF
54711 #define HAVE_QFPCLASS 1
54712 _ACEOF
54715 done
54717 else
54719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54720 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54721 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54722 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54723 $as_echo_n "(cached) " >&6
54724 else
54727 ac_ext=cpp
54728 ac_cpp='$CXXCPP $CPPFLAGS'
54729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54734 /* end confdefs.h. */
54735 #include <math.h>
54736 #ifdef HAVE_IEEEFP_H
54737 #include <ieeefp.h>
54738 #endif
54741 main ()
54743 _qfpclass(0);
54745 return 0;
54747 _ACEOF
54748 if ac_fn_cxx_try_compile "$LINENO"; then :
54749 glibcxx_cv_func__qfpclass_use=yes
54750 else
54751 glibcxx_cv_func__qfpclass_use=no
54753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54754 ac_ext=c
54755 ac_cpp='$CPP $CPPFLAGS'
54756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54765 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54767 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54768 for ac_func in _qfpclass
54769 do :
54770 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54771 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54772 cat >>confdefs.h <<_ACEOF
54773 #define HAVE__QFPCLASS 1
54774 _ACEOF
54777 done
54786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54787 $as_echo_n "checking for hypot declaration... " >&6; }
54788 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54789 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54790 $as_echo_n "(cached) " >&6
54791 else
54794 ac_ext=cpp
54795 ac_cpp='$CXXCPP $CPPFLAGS'
54796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54801 /* end confdefs.h. */
54802 #include <math.h>
54804 main ()
54806 hypot(0, 0);
54808 return 0;
54810 _ACEOF
54811 if ac_fn_cxx_try_compile "$LINENO"; then :
54812 glibcxx_cv_func_hypot_use=yes
54813 else
54814 glibcxx_cv_func_hypot_use=no
54816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54817 ac_ext=c
54818 ac_cpp='$CPP $CPPFLAGS'
54819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54828 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54830 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54831 for ac_func in hypot
54832 do :
54833 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54834 if test "x$ac_cv_func_hypot" = x""yes; then :
54835 cat >>confdefs.h <<_ACEOF
54836 #define HAVE_HYPOT 1
54837 _ACEOF
54840 done
54842 else
54844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54845 $as_echo_n "checking for _hypot declaration... " >&6; }
54846 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54847 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54848 $as_echo_n "(cached) " >&6
54849 else
54852 ac_ext=cpp
54853 ac_cpp='$CXXCPP $CPPFLAGS'
54854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54859 /* end confdefs.h. */
54860 #include <math.h>
54862 main ()
54864 _hypot(0, 0);
54866 return 0;
54868 _ACEOF
54869 if ac_fn_cxx_try_compile "$LINENO"; then :
54870 glibcxx_cv_func__hypot_use=yes
54871 else
54872 glibcxx_cv_func__hypot_use=no
54874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54875 ac_ext=c
54876 ac_cpp='$CPP $CPPFLAGS'
54877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54886 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54888 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54889 for ac_func in _hypot
54890 do :
54891 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54892 if test "x$ac_cv_func__hypot" = x""yes; then :
54893 cat >>confdefs.h <<_ACEOF
54894 #define HAVE__HYPOT 1
54895 _ACEOF
54898 done
54907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54908 $as_echo_n "checking for float trig functions... " >&6; }
54909 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54910 $as_echo_n "(cached) " >&6
54911 else
54914 ac_ext=cpp
54915 ac_cpp='$CXXCPP $CPPFLAGS'
54916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54921 /* end confdefs.h. */
54922 #include <math.h>
54924 main ()
54926 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54928 return 0;
54930 _ACEOF
54931 if ac_fn_cxx_try_compile "$LINENO"; then :
54932 glibcxx_cv_func_float_trig_use=yes
54933 else
54934 glibcxx_cv_func_float_trig_use=no
54936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54937 ac_ext=c
54938 ac_cpp='$CPP $CPPFLAGS'
54939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54946 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54947 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54948 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54949 do :
54950 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54951 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54952 eval as_val=\$$as_ac_var
54953 if test "x$as_val" = x""yes; then :
54954 cat >>confdefs.h <<_ACEOF
54955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54956 _ACEOF
54959 done
54961 else
54962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54963 $as_echo_n "checking for _float trig functions... " >&6; }
54964 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54965 $as_echo_n "(cached) " >&6
54966 else
54969 ac_ext=cpp
54970 ac_cpp='$CXXCPP $CPPFLAGS'
54971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54976 /* end confdefs.h. */
54977 #include <math.h>
54979 main ()
54981 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54983 return 0;
54985 _ACEOF
54986 if ac_fn_cxx_try_compile "$LINENO"; then :
54987 glibcxx_cv_func__float_trig_use=yes
54988 else
54989 glibcxx_cv_func__float_trig_use=no
54991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54992 ac_ext=c
54993 ac_cpp='$CPP $CPPFLAGS'
54994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55001 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55002 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55003 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55004 do :
55005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55007 eval as_val=\$$as_ac_var
55008 if test "x$as_val" = x""yes; then :
55009 cat >>confdefs.h <<_ACEOF
55010 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55011 _ACEOF
55014 done
55023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55024 $as_echo_n "checking for float round functions... " >&6; }
55025 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55026 $as_echo_n "(cached) " >&6
55027 else
55030 ac_ext=cpp
55031 ac_cpp='$CXXCPP $CPPFLAGS'
55032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55037 /* end confdefs.h. */
55038 #include <math.h>
55040 main ()
55042 ceilf (0); floorf (0);
55044 return 0;
55046 _ACEOF
55047 if ac_fn_cxx_try_compile "$LINENO"; then :
55048 glibcxx_cv_func_float_round_use=yes
55049 else
55050 glibcxx_cv_func_float_round_use=no
55052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55053 ac_ext=c
55054 ac_cpp='$CPP $CPPFLAGS'
55055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55062 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55063 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55064 for ac_func in ceilf floorf
55065 do :
55066 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55067 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55068 eval as_val=\$$as_ac_var
55069 if test "x$as_val" = x""yes; then :
55070 cat >>confdefs.h <<_ACEOF
55071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55072 _ACEOF
55075 done
55077 else
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55079 $as_echo_n "checking for _float round functions... " >&6; }
55080 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55081 $as_echo_n "(cached) " >&6
55082 else
55085 ac_ext=cpp
55086 ac_cpp='$CXXCPP $CPPFLAGS'
55087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55092 /* end confdefs.h. */
55093 #include <math.h>
55095 main ()
55097 _ceilf (0); _floorf (0);
55099 return 0;
55101 _ACEOF
55102 if ac_fn_cxx_try_compile "$LINENO"; then :
55103 glibcxx_cv_func__float_round_use=yes
55104 else
55105 glibcxx_cv_func__float_round_use=no
55107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55108 ac_ext=c
55109 ac_cpp='$CPP $CPPFLAGS'
55110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55117 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55118 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55119 for ac_func in _ceilf _floorf
55120 do :
55121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55123 eval as_val=\$$as_ac_var
55124 if test "x$as_val" = x""yes; then :
55125 cat >>confdefs.h <<_ACEOF
55126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55127 _ACEOF
55130 done
55140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55141 $as_echo_n "checking for expf declaration... " >&6; }
55142 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55143 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55144 $as_echo_n "(cached) " >&6
55145 else
55148 ac_ext=cpp
55149 ac_cpp='$CXXCPP $CPPFLAGS'
55150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55155 /* end confdefs.h. */
55156 #include <math.h>
55157 #ifdef HAVE_IEEEFP_H
55158 #include <ieeefp.h>
55159 #endif
55162 main ()
55164 expf(0);
55166 return 0;
55168 _ACEOF
55169 if ac_fn_cxx_try_compile "$LINENO"; then :
55170 glibcxx_cv_func_expf_use=yes
55171 else
55172 glibcxx_cv_func_expf_use=no
55174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55175 ac_ext=c
55176 ac_cpp='$CPP $CPPFLAGS'
55177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55186 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55188 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55189 for ac_func in expf
55190 do :
55191 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55192 if test "x$ac_cv_func_expf" = x""yes; then :
55193 cat >>confdefs.h <<_ACEOF
55194 #define HAVE_EXPF 1
55195 _ACEOF
55198 done
55200 else
55202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55203 $as_echo_n "checking for _expf declaration... " >&6; }
55204 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55205 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55206 $as_echo_n "(cached) " >&6
55207 else
55210 ac_ext=cpp
55211 ac_cpp='$CXXCPP $CPPFLAGS'
55212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55217 /* end confdefs.h. */
55218 #include <math.h>
55219 #ifdef HAVE_IEEEFP_H
55220 #include <ieeefp.h>
55221 #endif
55224 main ()
55226 _expf(0);
55228 return 0;
55230 _ACEOF
55231 if ac_fn_cxx_try_compile "$LINENO"; then :
55232 glibcxx_cv_func__expf_use=yes
55233 else
55234 glibcxx_cv_func__expf_use=no
55236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55237 ac_ext=c
55238 ac_cpp='$CPP $CPPFLAGS'
55239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55248 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55250 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55251 for ac_func in _expf
55252 do :
55253 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55254 if test "x$ac_cv_func__expf" = x""yes; then :
55255 cat >>confdefs.h <<_ACEOF
55256 #define HAVE__EXPF 1
55257 _ACEOF
55260 done
55269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55270 $as_echo_n "checking for isnanf declaration... " >&6; }
55271 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55272 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55273 $as_echo_n "(cached) " >&6
55274 else
55277 ac_ext=cpp
55278 ac_cpp='$CXXCPP $CPPFLAGS'
55279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55284 /* end confdefs.h. */
55285 #include <math.h>
55286 #ifdef HAVE_IEEEFP_H
55287 #include <ieeefp.h>
55288 #endif
55291 main ()
55293 isnanf(0);
55295 return 0;
55297 _ACEOF
55298 if ac_fn_cxx_try_compile "$LINENO"; then :
55299 glibcxx_cv_func_isnanf_use=yes
55300 else
55301 glibcxx_cv_func_isnanf_use=no
55303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55304 ac_ext=c
55305 ac_cpp='$CPP $CPPFLAGS'
55306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55315 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55317 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55318 for ac_func in isnanf
55319 do :
55320 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55321 if test "x$ac_cv_func_isnanf" = x""yes; then :
55322 cat >>confdefs.h <<_ACEOF
55323 #define HAVE_ISNANF 1
55324 _ACEOF
55327 done
55329 else
55331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55332 $as_echo_n "checking for _isnanf declaration... " >&6; }
55333 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55334 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55335 $as_echo_n "(cached) " >&6
55336 else
55339 ac_ext=cpp
55340 ac_cpp='$CXXCPP $CPPFLAGS'
55341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55346 /* end confdefs.h. */
55347 #include <math.h>
55348 #ifdef HAVE_IEEEFP_H
55349 #include <ieeefp.h>
55350 #endif
55353 main ()
55355 _isnanf(0);
55357 return 0;
55359 _ACEOF
55360 if ac_fn_cxx_try_compile "$LINENO"; then :
55361 glibcxx_cv_func__isnanf_use=yes
55362 else
55363 glibcxx_cv_func__isnanf_use=no
55365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55366 ac_ext=c
55367 ac_cpp='$CPP $CPPFLAGS'
55368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55377 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55379 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55380 for ac_func in _isnanf
55381 do :
55382 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55383 if test "x$ac_cv_func__isnanf" = x""yes; then :
55384 cat >>confdefs.h <<_ACEOF
55385 #define HAVE__ISNANF 1
55386 _ACEOF
55389 done
55398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55399 $as_echo_n "checking for isinff declaration... " >&6; }
55400 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55401 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55402 $as_echo_n "(cached) " >&6
55403 else
55406 ac_ext=cpp
55407 ac_cpp='$CXXCPP $CPPFLAGS'
55408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55413 /* end confdefs.h. */
55414 #include <math.h>
55415 #ifdef HAVE_IEEEFP_H
55416 #include <ieeefp.h>
55417 #endif
55420 main ()
55422 isinff(0);
55424 return 0;
55426 _ACEOF
55427 if ac_fn_cxx_try_compile "$LINENO"; then :
55428 glibcxx_cv_func_isinff_use=yes
55429 else
55430 glibcxx_cv_func_isinff_use=no
55432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55433 ac_ext=c
55434 ac_cpp='$CPP $CPPFLAGS'
55435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55444 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55446 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55447 for ac_func in isinff
55448 do :
55449 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55450 if test "x$ac_cv_func_isinff" = x""yes; then :
55451 cat >>confdefs.h <<_ACEOF
55452 #define HAVE_ISINFF 1
55453 _ACEOF
55456 done
55458 else
55460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55461 $as_echo_n "checking for _isinff declaration... " >&6; }
55462 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55463 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55464 $as_echo_n "(cached) " >&6
55465 else
55468 ac_ext=cpp
55469 ac_cpp='$CXXCPP $CPPFLAGS'
55470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55475 /* end confdefs.h. */
55476 #include <math.h>
55477 #ifdef HAVE_IEEEFP_H
55478 #include <ieeefp.h>
55479 #endif
55482 main ()
55484 _isinff(0);
55486 return 0;
55488 _ACEOF
55489 if ac_fn_cxx_try_compile "$LINENO"; then :
55490 glibcxx_cv_func__isinff_use=yes
55491 else
55492 glibcxx_cv_func__isinff_use=no
55494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55495 ac_ext=c
55496 ac_cpp='$CPP $CPPFLAGS'
55497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55506 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55508 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55509 for ac_func in _isinff
55510 do :
55511 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55512 if test "x$ac_cv_func__isinff" = x""yes; then :
55513 cat >>confdefs.h <<_ACEOF
55514 #define HAVE__ISINFF 1
55515 _ACEOF
55518 done
55527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55528 $as_echo_n "checking for atan2f declaration... " >&6; }
55529 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55530 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55531 $as_echo_n "(cached) " >&6
55532 else
55535 ac_ext=cpp
55536 ac_cpp='$CXXCPP $CPPFLAGS'
55537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55542 /* end confdefs.h. */
55543 #include <math.h>
55545 main ()
55547 atan2f(0, 0);
55549 return 0;
55551 _ACEOF
55552 if ac_fn_cxx_try_compile "$LINENO"; then :
55553 glibcxx_cv_func_atan2f_use=yes
55554 else
55555 glibcxx_cv_func_atan2f_use=no
55557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55558 ac_ext=c
55559 ac_cpp='$CPP $CPPFLAGS'
55560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55569 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55571 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55572 for ac_func in atan2f
55573 do :
55574 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55575 if test "x$ac_cv_func_atan2f" = x""yes; then :
55576 cat >>confdefs.h <<_ACEOF
55577 #define HAVE_ATAN2F 1
55578 _ACEOF
55581 done
55583 else
55585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55586 $as_echo_n "checking for _atan2f declaration... " >&6; }
55587 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55588 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55589 $as_echo_n "(cached) " >&6
55590 else
55593 ac_ext=cpp
55594 ac_cpp='$CXXCPP $CPPFLAGS'
55595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55600 /* end confdefs.h. */
55601 #include <math.h>
55603 main ()
55605 _atan2f(0, 0);
55607 return 0;
55609 _ACEOF
55610 if ac_fn_cxx_try_compile "$LINENO"; then :
55611 glibcxx_cv_func__atan2f_use=yes
55612 else
55613 glibcxx_cv_func__atan2f_use=no
55615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55616 ac_ext=c
55617 ac_cpp='$CPP $CPPFLAGS'
55618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55627 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55629 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55630 for ac_func in _atan2f
55631 do :
55632 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55633 if test "x$ac_cv_func__atan2f" = x""yes; then :
55634 cat >>confdefs.h <<_ACEOF
55635 #define HAVE__ATAN2F 1
55636 _ACEOF
55639 done
55648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55649 $as_echo_n "checking for fabsf declaration... " >&6; }
55650 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55651 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55652 $as_echo_n "(cached) " >&6
55653 else
55656 ac_ext=cpp
55657 ac_cpp='$CXXCPP $CPPFLAGS'
55658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55663 /* end confdefs.h. */
55664 #include <math.h>
55665 #ifdef HAVE_IEEEFP_H
55666 #include <ieeefp.h>
55667 #endif
55670 main ()
55672 fabsf(0);
55674 return 0;
55676 _ACEOF
55677 if ac_fn_cxx_try_compile "$LINENO"; then :
55678 glibcxx_cv_func_fabsf_use=yes
55679 else
55680 glibcxx_cv_func_fabsf_use=no
55682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55683 ac_ext=c
55684 ac_cpp='$CPP $CPPFLAGS'
55685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55694 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55696 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55697 for ac_func in fabsf
55698 do :
55699 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55700 if test "x$ac_cv_func_fabsf" = x""yes; then :
55701 cat >>confdefs.h <<_ACEOF
55702 #define HAVE_FABSF 1
55703 _ACEOF
55706 done
55708 else
55710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55711 $as_echo_n "checking for _fabsf declaration... " >&6; }
55712 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55713 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55714 $as_echo_n "(cached) " >&6
55715 else
55718 ac_ext=cpp
55719 ac_cpp='$CXXCPP $CPPFLAGS'
55720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55725 /* end confdefs.h. */
55726 #include <math.h>
55727 #ifdef HAVE_IEEEFP_H
55728 #include <ieeefp.h>
55729 #endif
55732 main ()
55734 _fabsf(0);
55736 return 0;
55738 _ACEOF
55739 if ac_fn_cxx_try_compile "$LINENO"; then :
55740 glibcxx_cv_func__fabsf_use=yes
55741 else
55742 glibcxx_cv_func__fabsf_use=no
55744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55745 ac_ext=c
55746 ac_cpp='$CPP $CPPFLAGS'
55747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55756 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55758 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55759 for ac_func in _fabsf
55760 do :
55761 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55762 if test "x$ac_cv_func__fabsf" = x""yes; then :
55763 cat >>confdefs.h <<_ACEOF
55764 #define HAVE__FABSF 1
55765 _ACEOF
55768 done
55777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55778 $as_echo_n "checking for fmodf declaration... " >&6; }
55779 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55780 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55781 $as_echo_n "(cached) " >&6
55782 else
55785 ac_ext=cpp
55786 ac_cpp='$CXXCPP $CPPFLAGS'
55787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55792 /* end confdefs.h. */
55793 #include <math.h>
55795 main ()
55797 fmodf(0, 0);
55799 return 0;
55801 _ACEOF
55802 if ac_fn_cxx_try_compile "$LINENO"; then :
55803 glibcxx_cv_func_fmodf_use=yes
55804 else
55805 glibcxx_cv_func_fmodf_use=no
55807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55808 ac_ext=c
55809 ac_cpp='$CPP $CPPFLAGS'
55810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55819 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55821 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55822 for ac_func in fmodf
55823 do :
55824 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55825 if test "x$ac_cv_func_fmodf" = x""yes; then :
55826 cat >>confdefs.h <<_ACEOF
55827 #define HAVE_FMODF 1
55828 _ACEOF
55831 done
55833 else
55835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55836 $as_echo_n "checking for _fmodf declaration... " >&6; }
55837 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55838 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55839 $as_echo_n "(cached) " >&6
55840 else
55843 ac_ext=cpp
55844 ac_cpp='$CXXCPP $CPPFLAGS'
55845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55850 /* end confdefs.h. */
55851 #include <math.h>
55853 main ()
55855 _fmodf(0, 0);
55857 return 0;
55859 _ACEOF
55860 if ac_fn_cxx_try_compile "$LINENO"; then :
55861 glibcxx_cv_func__fmodf_use=yes
55862 else
55863 glibcxx_cv_func__fmodf_use=no
55865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55866 ac_ext=c
55867 ac_cpp='$CPP $CPPFLAGS'
55868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55877 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55879 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55880 for ac_func in _fmodf
55881 do :
55882 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55883 if test "x$ac_cv_func__fmodf" = x""yes; then :
55884 cat >>confdefs.h <<_ACEOF
55885 #define HAVE__FMODF 1
55886 _ACEOF
55889 done
55898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55899 $as_echo_n "checking for frexpf declaration... " >&6; }
55900 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55901 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55902 $as_echo_n "(cached) " >&6
55903 else
55906 ac_ext=cpp
55907 ac_cpp='$CXXCPP $CPPFLAGS'
55908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55913 /* end confdefs.h. */
55914 #include <math.h>
55916 main ()
55918 frexpf(0, 0);
55920 return 0;
55922 _ACEOF
55923 if ac_fn_cxx_try_compile "$LINENO"; then :
55924 glibcxx_cv_func_frexpf_use=yes
55925 else
55926 glibcxx_cv_func_frexpf_use=no
55928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55929 ac_ext=c
55930 ac_cpp='$CPP $CPPFLAGS'
55931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55940 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55942 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55943 for ac_func in frexpf
55944 do :
55945 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55946 if test "x$ac_cv_func_frexpf" = x""yes; then :
55947 cat >>confdefs.h <<_ACEOF
55948 #define HAVE_FREXPF 1
55949 _ACEOF
55952 done
55954 else
55956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55957 $as_echo_n "checking for _frexpf declaration... " >&6; }
55958 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55959 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55960 $as_echo_n "(cached) " >&6
55961 else
55964 ac_ext=cpp
55965 ac_cpp='$CXXCPP $CPPFLAGS'
55966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55971 /* end confdefs.h. */
55972 #include <math.h>
55974 main ()
55976 _frexpf(0, 0);
55978 return 0;
55980 _ACEOF
55981 if ac_fn_cxx_try_compile "$LINENO"; then :
55982 glibcxx_cv_func__frexpf_use=yes
55983 else
55984 glibcxx_cv_func__frexpf_use=no
55986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55987 ac_ext=c
55988 ac_cpp='$CPP $CPPFLAGS'
55989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55998 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56000 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56001 for ac_func in _frexpf
56002 do :
56003 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56004 if test "x$ac_cv_func__frexpf" = x""yes; then :
56005 cat >>confdefs.h <<_ACEOF
56006 #define HAVE__FREXPF 1
56007 _ACEOF
56010 done
56019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56020 $as_echo_n "checking for hypotf declaration... " >&6; }
56021 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56022 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56023 $as_echo_n "(cached) " >&6
56024 else
56027 ac_ext=cpp
56028 ac_cpp='$CXXCPP $CPPFLAGS'
56029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56034 /* end confdefs.h. */
56035 #include <math.h>
56037 main ()
56039 hypotf(0, 0);
56041 return 0;
56043 _ACEOF
56044 if ac_fn_cxx_try_compile "$LINENO"; then :
56045 glibcxx_cv_func_hypotf_use=yes
56046 else
56047 glibcxx_cv_func_hypotf_use=no
56049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56050 ac_ext=c
56051 ac_cpp='$CPP $CPPFLAGS'
56052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56061 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56063 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56064 for ac_func in hypotf
56065 do :
56066 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56067 if test "x$ac_cv_func_hypotf" = x""yes; then :
56068 cat >>confdefs.h <<_ACEOF
56069 #define HAVE_HYPOTF 1
56070 _ACEOF
56073 done
56075 else
56077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56078 $as_echo_n "checking for _hypotf declaration... " >&6; }
56079 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56080 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56081 $as_echo_n "(cached) " >&6
56082 else
56085 ac_ext=cpp
56086 ac_cpp='$CXXCPP $CPPFLAGS'
56087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56092 /* end confdefs.h. */
56093 #include <math.h>
56095 main ()
56097 _hypotf(0, 0);
56099 return 0;
56101 _ACEOF
56102 if ac_fn_cxx_try_compile "$LINENO"; then :
56103 glibcxx_cv_func__hypotf_use=yes
56104 else
56105 glibcxx_cv_func__hypotf_use=no
56107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56108 ac_ext=c
56109 ac_cpp='$CPP $CPPFLAGS'
56110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56119 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56121 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56122 for ac_func in _hypotf
56123 do :
56124 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56125 if test "x$ac_cv_func__hypotf" = x""yes; then :
56126 cat >>confdefs.h <<_ACEOF
56127 #define HAVE__HYPOTF 1
56128 _ACEOF
56131 done
56140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56141 $as_echo_n "checking for ldexpf declaration... " >&6; }
56142 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56143 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56144 $as_echo_n "(cached) " >&6
56145 else
56148 ac_ext=cpp
56149 ac_cpp='$CXXCPP $CPPFLAGS'
56150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56155 /* end confdefs.h. */
56156 #include <math.h>
56158 main ()
56160 ldexpf(0, 0);
56162 return 0;
56164 _ACEOF
56165 if ac_fn_cxx_try_compile "$LINENO"; then :
56166 glibcxx_cv_func_ldexpf_use=yes
56167 else
56168 glibcxx_cv_func_ldexpf_use=no
56170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56171 ac_ext=c
56172 ac_cpp='$CPP $CPPFLAGS'
56173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56182 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56184 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56185 for ac_func in ldexpf
56186 do :
56187 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56188 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56189 cat >>confdefs.h <<_ACEOF
56190 #define HAVE_LDEXPF 1
56191 _ACEOF
56194 done
56196 else
56198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56199 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56200 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56201 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56202 $as_echo_n "(cached) " >&6
56203 else
56206 ac_ext=cpp
56207 ac_cpp='$CXXCPP $CPPFLAGS'
56208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56213 /* end confdefs.h. */
56214 #include <math.h>
56216 main ()
56218 _ldexpf(0, 0);
56220 return 0;
56222 _ACEOF
56223 if ac_fn_cxx_try_compile "$LINENO"; then :
56224 glibcxx_cv_func__ldexpf_use=yes
56225 else
56226 glibcxx_cv_func__ldexpf_use=no
56228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56229 ac_ext=c
56230 ac_cpp='$CPP $CPPFLAGS'
56231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56240 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56242 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56243 for ac_func in _ldexpf
56244 do :
56245 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56246 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56247 cat >>confdefs.h <<_ACEOF
56248 #define HAVE__LDEXPF 1
56249 _ACEOF
56252 done
56261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56262 $as_echo_n "checking for logf declaration... " >&6; }
56263 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56264 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56265 $as_echo_n "(cached) " >&6
56266 else
56269 ac_ext=cpp
56270 ac_cpp='$CXXCPP $CPPFLAGS'
56271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56276 /* end confdefs.h. */
56277 #include <math.h>
56278 #ifdef HAVE_IEEEFP_H
56279 #include <ieeefp.h>
56280 #endif
56283 main ()
56285 logf(0);
56287 return 0;
56289 _ACEOF
56290 if ac_fn_cxx_try_compile "$LINENO"; then :
56291 glibcxx_cv_func_logf_use=yes
56292 else
56293 glibcxx_cv_func_logf_use=no
56295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56296 ac_ext=c
56297 ac_cpp='$CPP $CPPFLAGS'
56298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56307 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56309 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56310 for ac_func in logf
56311 do :
56312 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56313 if test "x$ac_cv_func_logf" = x""yes; then :
56314 cat >>confdefs.h <<_ACEOF
56315 #define HAVE_LOGF 1
56316 _ACEOF
56319 done
56321 else
56323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56324 $as_echo_n "checking for _logf declaration... " >&6; }
56325 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56326 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56327 $as_echo_n "(cached) " >&6
56328 else
56331 ac_ext=cpp
56332 ac_cpp='$CXXCPP $CPPFLAGS'
56333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56338 /* end confdefs.h. */
56339 #include <math.h>
56340 #ifdef HAVE_IEEEFP_H
56341 #include <ieeefp.h>
56342 #endif
56345 main ()
56347 _logf(0);
56349 return 0;
56351 _ACEOF
56352 if ac_fn_cxx_try_compile "$LINENO"; then :
56353 glibcxx_cv_func__logf_use=yes
56354 else
56355 glibcxx_cv_func__logf_use=no
56357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56358 ac_ext=c
56359 ac_cpp='$CPP $CPPFLAGS'
56360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56369 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56371 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56372 for ac_func in _logf
56373 do :
56374 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56375 if test "x$ac_cv_func__logf" = x""yes; then :
56376 cat >>confdefs.h <<_ACEOF
56377 #define HAVE__LOGF 1
56378 _ACEOF
56381 done
56390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56391 $as_echo_n "checking for log10f declaration... " >&6; }
56392 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56393 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56394 $as_echo_n "(cached) " >&6
56395 else
56398 ac_ext=cpp
56399 ac_cpp='$CXXCPP $CPPFLAGS'
56400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56405 /* end confdefs.h. */
56406 #include <math.h>
56407 #ifdef HAVE_IEEEFP_H
56408 #include <ieeefp.h>
56409 #endif
56412 main ()
56414 log10f(0);
56416 return 0;
56418 _ACEOF
56419 if ac_fn_cxx_try_compile "$LINENO"; then :
56420 glibcxx_cv_func_log10f_use=yes
56421 else
56422 glibcxx_cv_func_log10f_use=no
56424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56425 ac_ext=c
56426 ac_cpp='$CPP $CPPFLAGS'
56427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56436 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56438 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56439 for ac_func in log10f
56440 do :
56441 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56442 if test "x$ac_cv_func_log10f" = x""yes; then :
56443 cat >>confdefs.h <<_ACEOF
56444 #define HAVE_LOG10F 1
56445 _ACEOF
56448 done
56450 else
56452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56453 $as_echo_n "checking for _log10f declaration... " >&6; }
56454 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56455 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56456 $as_echo_n "(cached) " >&6
56457 else
56460 ac_ext=cpp
56461 ac_cpp='$CXXCPP $CPPFLAGS'
56462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56467 /* end confdefs.h. */
56468 #include <math.h>
56469 #ifdef HAVE_IEEEFP_H
56470 #include <ieeefp.h>
56471 #endif
56474 main ()
56476 _log10f(0);
56478 return 0;
56480 _ACEOF
56481 if ac_fn_cxx_try_compile "$LINENO"; then :
56482 glibcxx_cv_func__log10f_use=yes
56483 else
56484 glibcxx_cv_func__log10f_use=no
56486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56487 ac_ext=c
56488 ac_cpp='$CPP $CPPFLAGS'
56489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56498 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56500 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56501 for ac_func in _log10f
56502 do :
56503 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56504 if test "x$ac_cv_func__log10f" = x""yes; then :
56505 cat >>confdefs.h <<_ACEOF
56506 #define HAVE__LOG10F 1
56507 _ACEOF
56510 done
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56520 $as_echo_n "checking for modff declaration... " >&6; }
56521 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56522 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56523 $as_echo_n "(cached) " >&6
56524 else
56527 ac_ext=cpp
56528 ac_cpp='$CXXCPP $CPPFLAGS'
56529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56534 /* end confdefs.h. */
56535 #include <math.h>
56537 main ()
56539 modff(0, 0);
56541 return 0;
56543 _ACEOF
56544 if ac_fn_cxx_try_compile "$LINENO"; then :
56545 glibcxx_cv_func_modff_use=yes
56546 else
56547 glibcxx_cv_func_modff_use=no
56549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56550 ac_ext=c
56551 ac_cpp='$CPP $CPPFLAGS'
56552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56561 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56563 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56564 for ac_func in modff
56565 do :
56566 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56567 if test "x$ac_cv_func_modff" = x""yes; then :
56568 cat >>confdefs.h <<_ACEOF
56569 #define HAVE_MODFF 1
56570 _ACEOF
56573 done
56575 else
56577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56578 $as_echo_n "checking for _modff declaration... " >&6; }
56579 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56580 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56581 $as_echo_n "(cached) " >&6
56582 else
56585 ac_ext=cpp
56586 ac_cpp='$CXXCPP $CPPFLAGS'
56587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56592 /* end confdefs.h. */
56593 #include <math.h>
56595 main ()
56597 _modff(0, 0);
56599 return 0;
56601 _ACEOF
56602 if ac_fn_cxx_try_compile "$LINENO"; then :
56603 glibcxx_cv_func__modff_use=yes
56604 else
56605 glibcxx_cv_func__modff_use=no
56607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56608 ac_ext=c
56609 ac_cpp='$CPP $CPPFLAGS'
56610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56619 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56621 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56622 for ac_func in _modff
56623 do :
56624 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56625 if test "x$ac_cv_func__modff" = x""yes; then :
56626 cat >>confdefs.h <<_ACEOF
56627 #define HAVE__MODFF 1
56628 _ACEOF
56631 done
56640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56641 $as_echo_n "checking for modf declaration... " >&6; }
56642 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56643 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56644 $as_echo_n "(cached) " >&6
56645 else
56648 ac_ext=cpp
56649 ac_cpp='$CXXCPP $CPPFLAGS'
56650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56655 /* end confdefs.h. */
56656 #include <math.h>
56658 main ()
56660 modf(0, 0);
56662 return 0;
56664 _ACEOF
56665 if ac_fn_cxx_try_compile "$LINENO"; then :
56666 glibcxx_cv_func_modf_use=yes
56667 else
56668 glibcxx_cv_func_modf_use=no
56670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56671 ac_ext=c
56672 ac_cpp='$CPP $CPPFLAGS'
56673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56682 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56684 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56685 for ac_func in modf
56686 do :
56687 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56688 if test "x$ac_cv_func_modf" = x""yes; then :
56689 cat >>confdefs.h <<_ACEOF
56690 #define HAVE_MODF 1
56691 _ACEOF
56694 done
56696 else
56698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56699 $as_echo_n "checking for _modf declaration... " >&6; }
56700 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56701 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56702 $as_echo_n "(cached) " >&6
56703 else
56706 ac_ext=cpp
56707 ac_cpp='$CXXCPP $CPPFLAGS'
56708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56713 /* end confdefs.h. */
56714 #include <math.h>
56716 main ()
56718 _modf(0, 0);
56720 return 0;
56722 _ACEOF
56723 if ac_fn_cxx_try_compile "$LINENO"; then :
56724 glibcxx_cv_func__modf_use=yes
56725 else
56726 glibcxx_cv_func__modf_use=no
56728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56729 ac_ext=c
56730 ac_cpp='$CPP $CPPFLAGS'
56731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56740 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56742 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56743 for ac_func in _modf
56744 do :
56745 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56746 if test "x$ac_cv_func__modf" = x""yes; then :
56747 cat >>confdefs.h <<_ACEOF
56748 #define HAVE__MODF 1
56749 _ACEOF
56752 done
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56762 $as_echo_n "checking for powf declaration... " >&6; }
56763 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56764 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56765 $as_echo_n "(cached) " >&6
56766 else
56769 ac_ext=cpp
56770 ac_cpp='$CXXCPP $CPPFLAGS'
56771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56776 /* end confdefs.h. */
56777 #include <math.h>
56779 main ()
56781 powf(0, 0);
56783 return 0;
56785 _ACEOF
56786 if ac_fn_cxx_try_compile "$LINENO"; then :
56787 glibcxx_cv_func_powf_use=yes
56788 else
56789 glibcxx_cv_func_powf_use=no
56791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56792 ac_ext=c
56793 ac_cpp='$CPP $CPPFLAGS'
56794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56803 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56805 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56806 for ac_func in powf
56807 do :
56808 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56809 if test "x$ac_cv_func_powf" = x""yes; then :
56810 cat >>confdefs.h <<_ACEOF
56811 #define HAVE_POWF 1
56812 _ACEOF
56815 done
56817 else
56819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56820 $as_echo_n "checking for _powf declaration... " >&6; }
56821 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56822 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56823 $as_echo_n "(cached) " >&6
56824 else
56827 ac_ext=cpp
56828 ac_cpp='$CXXCPP $CPPFLAGS'
56829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56834 /* end confdefs.h. */
56835 #include <math.h>
56837 main ()
56839 _powf(0, 0);
56841 return 0;
56843 _ACEOF
56844 if ac_fn_cxx_try_compile "$LINENO"; then :
56845 glibcxx_cv_func__powf_use=yes
56846 else
56847 glibcxx_cv_func__powf_use=no
56849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56850 ac_ext=c
56851 ac_cpp='$CPP $CPPFLAGS'
56852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56861 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56863 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56864 for ac_func in _powf
56865 do :
56866 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56867 if test "x$ac_cv_func__powf" = x""yes; then :
56868 cat >>confdefs.h <<_ACEOF
56869 #define HAVE__POWF 1
56870 _ACEOF
56873 done
56882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56883 $as_echo_n "checking for sqrtf declaration... " >&6; }
56884 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56885 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56886 $as_echo_n "(cached) " >&6
56887 else
56890 ac_ext=cpp
56891 ac_cpp='$CXXCPP $CPPFLAGS'
56892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56897 /* end confdefs.h. */
56898 #include <math.h>
56899 #ifdef HAVE_IEEEFP_H
56900 #include <ieeefp.h>
56901 #endif
56904 main ()
56906 sqrtf(0);
56908 return 0;
56910 _ACEOF
56911 if ac_fn_cxx_try_compile "$LINENO"; then :
56912 glibcxx_cv_func_sqrtf_use=yes
56913 else
56914 glibcxx_cv_func_sqrtf_use=no
56916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56917 ac_ext=c
56918 ac_cpp='$CPP $CPPFLAGS'
56919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56928 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56930 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56931 for ac_func in sqrtf
56932 do :
56933 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56934 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56935 cat >>confdefs.h <<_ACEOF
56936 #define HAVE_SQRTF 1
56937 _ACEOF
56940 done
56942 else
56944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56945 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56946 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56947 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56948 $as_echo_n "(cached) " >&6
56949 else
56952 ac_ext=cpp
56953 ac_cpp='$CXXCPP $CPPFLAGS'
56954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56959 /* end confdefs.h. */
56960 #include <math.h>
56961 #ifdef HAVE_IEEEFP_H
56962 #include <ieeefp.h>
56963 #endif
56966 main ()
56968 _sqrtf(0);
56970 return 0;
56972 _ACEOF
56973 if ac_fn_cxx_try_compile "$LINENO"; then :
56974 glibcxx_cv_func__sqrtf_use=yes
56975 else
56976 glibcxx_cv_func__sqrtf_use=no
56978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56979 ac_ext=c
56980 ac_cpp='$CPP $CPPFLAGS'
56981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56990 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56992 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56993 for ac_func in _sqrtf
56994 do :
56995 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56996 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56997 cat >>confdefs.h <<_ACEOF
56998 #define HAVE__SQRTF 1
56999 _ACEOF
57002 done
57011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57012 $as_echo_n "checking for sincosf declaration... " >&6; }
57013 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57014 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57015 $as_echo_n "(cached) " >&6
57016 else
57019 ac_ext=cpp
57020 ac_cpp='$CXXCPP $CPPFLAGS'
57021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57026 /* end confdefs.h. */
57027 #include <math.h>
57029 main ()
57031 sincosf(0, 0, 0);
57033 return 0;
57035 _ACEOF
57036 if ac_fn_cxx_try_compile "$LINENO"; then :
57037 glibcxx_cv_func_sincosf_use=yes
57038 else
57039 glibcxx_cv_func_sincosf_use=no
57041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57042 ac_ext=c
57043 ac_cpp='$CPP $CPPFLAGS'
57044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57053 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57055 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57056 for ac_func in sincosf
57057 do :
57058 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57059 if test "x$ac_cv_func_sincosf" = x""yes; then :
57060 cat >>confdefs.h <<_ACEOF
57061 #define HAVE_SINCOSF 1
57062 _ACEOF
57065 done
57067 else
57069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57070 $as_echo_n "checking for _sincosf declaration... " >&6; }
57071 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57072 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57073 $as_echo_n "(cached) " >&6
57074 else
57077 ac_ext=cpp
57078 ac_cpp='$CXXCPP $CPPFLAGS'
57079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57084 /* end confdefs.h. */
57085 #include <math.h>
57087 main ()
57089 _sincosf(0, 0, 0);
57091 return 0;
57093 _ACEOF
57094 if ac_fn_cxx_try_compile "$LINENO"; then :
57095 glibcxx_cv_func__sincosf_use=yes
57096 else
57097 glibcxx_cv_func__sincosf_use=no
57099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57100 ac_ext=c
57101 ac_cpp='$CPP $CPPFLAGS'
57102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57111 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57113 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57114 for ac_func in _sincosf
57115 do :
57116 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57117 if test "x$ac_cv_func__sincosf" = x""yes; then :
57118 cat >>confdefs.h <<_ACEOF
57119 #define HAVE__SINCOSF 1
57120 _ACEOF
57123 done
57132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57133 $as_echo_n "checking for finitef declaration... " >&6; }
57134 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57135 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57136 $as_echo_n "(cached) " >&6
57137 else
57140 ac_ext=cpp
57141 ac_cpp='$CXXCPP $CPPFLAGS'
57142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57147 /* end confdefs.h. */
57148 #include <math.h>
57149 #ifdef HAVE_IEEEFP_H
57150 #include <ieeefp.h>
57151 #endif
57154 main ()
57156 finitef(0);
57158 return 0;
57160 _ACEOF
57161 if ac_fn_cxx_try_compile "$LINENO"; then :
57162 glibcxx_cv_func_finitef_use=yes
57163 else
57164 glibcxx_cv_func_finitef_use=no
57166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57167 ac_ext=c
57168 ac_cpp='$CPP $CPPFLAGS'
57169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57178 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57180 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57181 for ac_func in finitef
57182 do :
57183 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57184 if test "x$ac_cv_func_finitef" = x""yes; then :
57185 cat >>confdefs.h <<_ACEOF
57186 #define HAVE_FINITEF 1
57187 _ACEOF
57190 done
57192 else
57194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57195 $as_echo_n "checking for _finitef declaration... " >&6; }
57196 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57197 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57198 $as_echo_n "(cached) " >&6
57199 else
57202 ac_ext=cpp
57203 ac_cpp='$CXXCPP $CPPFLAGS'
57204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57209 /* end confdefs.h. */
57210 #include <math.h>
57211 #ifdef HAVE_IEEEFP_H
57212 #include <ieeefp.h>
57213 #endif
57216 main ()
57218 _finitef(0);
57220 return 0;
57222 _ACEOF
57223 if ac_fn_cxx_try_compile "$LINENO"; then :
57224 glibcxx_cv_func__finitef_use=yes
57225 else
57226 glibcxx_cv_func__finitef_use=no
57228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57229 ac_ext=c
57230 ac_cpp='$CPP $CPPFLAGS'
57231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57240 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57242 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57243 for ac_func in _finitef
57244 do :
57245 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57246 if test "x$ac_cv_func__finitef" = x""yes; then :
57247 cat >>confdefs.h <<_ACEOF
57248 #define HAVE__FINITEF 1
57249 _ACEOF
57252 done
57261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57262 $as_echo_n "checking for long double trig functions... " >&6; }
57263 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57264 $as_echo_n "(cached) " >&6
57265 else
57268 ac_ext=cpp
57269 ac_cpp='$CXXCPP $CPPFLAGS'
57270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57275 /* end confdefs.h. */
57276 #include <math.h>
57278 main ()
57280 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57282 return 0;
57284 _ACEOF
57285 if ac_fn_cxx_try_compile "$LINENO"; then :
57286 glibcxx_cv_func_long_double_trig_use=yes
57287 else
57288 glibcxx_cv_func_long_double_trig_use=no
57290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57291 ac_ext=c
57292 ac_cpp='$CPP $CPPFLAGS'
57293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57300 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57301 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57302 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57303 do :
57304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57306 eval as_val=\$$as_ac_var
57307 if test "x$as_val" = x""yes; then :
57308 cat >>confdefs.h <<_ACEOF
57309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57310 _ACEOF
57313 done
57315 else
57316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57317 $as_echo_n "checking for _long double trig functions... " >&6; }
57318 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57319 $as_echo_n "(cached) " >&6
57320 else
57323 ac_ext=cpp
57324 ac_cpp='$CXXCPP $CPPFLAGS'
57325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57330 /* end confdefs.h. */
57331 #include <math.h>
57333 main ()
57335 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57337 return 0;
57339 _ACEOF
57340 if ac_fn_cxx_try_compile "$LINENO"; then :
57341 glibcxx_cv_func__long_double_trig_use=yes
57342 else
57343 glibcxx_cv_func__long_double_trig_use=no
57345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57346 ac_ext=c
57347 ac_cpp='$CPP $CPPFLAGS'
57348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57355 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57356 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57357 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57358 do :
57359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57361 eval as_val=\$$as_ac_var
57362 if test "x$as_val" = x""yes; then :
57363 cat >>confdefs.h <<_ACEOF
57364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57365 _ACEOF
57368 done
57377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57378 $as_echo_n "checking for long double round functions... " >&6; }
57379 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57380 $as_echo_n "(cached) " >&6
57381 else
57384 ac_ext=cpp
57385 ac_cpp='$CXXCPP $CPPFLAGS'
57386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57391 /* end confdefs.h. */
57392 #include <math.h>
57394 main ()
57396 ceill (0); floorl (0);
57398 return 0;
57400 _ACEOF
57401 if ac_fn_cxx_try_compile "$LINENO"; then :
57402 glibcxx_cv_func_long_double_round_use=yes
57403 else
57404 glibcxx_cv_func_long_double_round_use=no
57406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57407 ac_ext=c
57408 ac_cpp='$CPP $CPPFLAGS'
57409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57416 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57417 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57418 for ac_func in ceill floorl
57419 do :
57420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57421 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57422 eval as_val=\$$as_ac_var
57423 if test "x$as_val" = x""yes; then :
57424 cat >>confdefs.h <<_ACEOF
57425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57426 _ACEOF
57429 done
57431 else
57432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57433 $as_echo_n "checking for _long double round functions... " >&6; }
57434 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57435 $as_echo_n "(cached) " >&6
57436 else
57439 ac_ext=cpp
57440 ac_cpp='$CXXCPP $CPPFLAGS'
57441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57446 /* end confdefs.h. */
57447 #include <math.h>
57449 main ()
57451 _ceill (0); _floorl (0);
57453 return 0;
57455 _ACEOF
57456 if ac_fn_cxx_try_compile "$LINENO"; then :
57457 glibcxx_cv_func__long_double_round_use=yes
57458 else
57459 glibcxx_cv_func__long_double_round_use=no
57461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57462 ac_ext=c
57463 ac_cpp='$CPP $CPPFLAGS'
57464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57471 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57472 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57473 for ac_func in _ceill _floorl
57474 do :
57475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57477 eval as_val=\$$as_ac_var
57478 if test "x$as_val" = x""yes; then :
57479 cat >>confdefs.h <<_ACEOF
57480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57481 _ACEOF
57484 done
57494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57495 $as_echo_n "checking for isnanl declaration... " >&6; }
57496 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57497 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57498 $as_echo_n "(cached) " >&6
57499 else
57502 ac_ext=cpp
57503 ac_cpp='$CXXCPP $CPPFLAGS'
57504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57509 /* end confdefs.h. */
57510 #include <math.h>
57511 #ifdef HAVE_IEEEFP_H
57512 #include <ieeefp.h>
57513 #endif
57516 main ()
57518 isnanl(0);
57520 return 0;
57522 _ACEOF
57523 if ac_fn_cxx_try_compile "$LINENO"; then :
57524 glibcxx_cv_func_isnanl_use=yes
57525 else
57526 glibcxx_cv_func_isnanl_use=no
57528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57529 ac_ext=c
57530 ac_cpp='$CPP $CPPFLAGS'
57531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57540 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57542 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57543 for ac_func in isnanl
57544 do :
57545 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57546 if test "x$ac_cv_func_isnanl" = x""yes; then :
57547 cat >>confdefs.h <<_ACEOF
57548 #define HAVE_ISNANL 1
57549 _ACEOF
57552 done
57554 else
57556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57557 $as_echo_n "checking for _isnanl declaration... " >&6; }
57558 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57559 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57560 $as_echo_n "(cached) " >&6
57561 else
57564 ac_ext=cpp
57565 ac_cpp='$CXXCPP $CPPFLAGS'
57566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57571 /* end confdefs.h. */
57572 #include <math.h>
57573 #ifdef HAVE_IEEEFP_H
57574 #include <ieeefp.h>
57575 #endif
57578 main ()
57580 _isnanl(0);
57582 return 0;
57584 _ACEOF
57585 if ac_fn_cxx_try_compile "$LINENO"; then :
57586 glibcxx_cv_func__isnanl_use=yes
57587 else
57588 glibcxx_cv_func__isnanl_use=no
57590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57591 ac_ext=c
57592 ac_cpp='$CPP $CPPFLAGS'
57593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57602 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57604 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57605 for ac_func in _isnanl
57606 do :
57607 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57608 if test "x$ac_cv_func__isnanl" = x""yes; then :
57609 cat >>confdefs.h <<_ACEOF
57610 #define HAVE__ISNANL 1
57611 _ACEOF
57614 done
57623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57624 $as_echo_n "checking for isinfl declaration... " >&6; }
57625 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57626 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57627 $as_echo_n "(cached) " >&6
57628 else
57631 ac_ext=cpp
57632 ac_cpp='$CXXCPP $CPPFLAGS'
57633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57638 /* end confdefs.h. */
57639 #include <math.h>
57640 #ifdef HAVE_IEEEFP_H
57641 #include <ieeefp.h>
57642 #endif
57645 main ()
57647 isinfl(0);
57649 return 0;
57651 _ACEOF
57652 if ac_fn_cxx_try_compile "$LINENO"; then :
57653 glibcxx_cv_func_isinfl_use=yes
57654 else
57655 glibcxx_cv_func_isinfl_use=no
57657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57658 ac_ext=c
57659 ac_cpp='$CPP $CPPFLAGS'
57660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57669 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57671 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57672 for ac_func in isinfl
57673 do :
57674 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57675 if test "x$ac_cv_func_isinfl" = x""yes; then :
57676 cat >>confdefs.h <<_ACEOF
57677 #define HAVE_ISINFL 1
57678 _ACEOF
57681 done
57683 else
57685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57686 $as_echo_n "checking for _isinfl declaration... " >&6; }
57687 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57688 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57689 $as_echo_n "(cached) " >&6
57690 else
57693 ac_ext=cpp
57694 ac_cpp='$CXXCPP $CPPFLAGS'
57695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57700 /* end confdefs.h. */
57701 #include <math.h>
57702 #ifdef HAVE_IEEEFP_H
57703 #include <ieeefp.h>
57704 #endif
57707 main ()
57709 _isinfl(0);
57711 return 0;
57713 _ACEOF
57714 if ac_fn_cxx_try_compile "$LINENO"; then :
57715 glibcxx_cv_func__isinfl_use=yes
57716 else
57717 glibcxx_cv_func__isinfl_use=no
57719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57720 ac_ext=c
57721 ac_cpp='$CPP $CPPFLAGS'
57722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57731 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57733 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57734 for ac_func in _isinfl
57735 do :
57736 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57737 if test "x$ac_cv_func__isinfl" = x""yes; then :
57738 cat >>confdefs.h <<_ACEOF
57739 #define HAVE__ISINFL 1
57740 _ACEOF
57743 done
57752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57753 $as_echo_n "checking for atan2l declaration... " >&6; }
57754 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57755 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57756 $as_echo_n "(cached) " >&6
57757 else
57760 ac_ext=cpp
57761 ac_cpp='$CXXCPP $CPPFLAGS'
57762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57767 /* end confdefs.h. */
57768 #include <math.h>
57770 main ()
57772 atan2l(0, 0);
57774 return 0;
57776 _ACEOF
57777 if ac_fn_cxx_try_compile "$LINENO"; then :
57778 glibcxx_cv_func_atan2l_use=yes
57779 else
57780 glibcxx_cv_func_atan2l_use=no
57782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57783 ac_ext=c
57784 ac_cpp='$CPP $CPPFLAGS'
57785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57794 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57796 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57797 for ac_func in atan2l
57798 do :
57799 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57800 if test "x$ac_cv_func_atan2l" = x""yes; then :
57801 cat >>confdefs.h <<_ACEOF
57802 #define HAVE_ATAN2L 1
57803 _ACEOF
57806 done
57808 else
57810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57811 $as_echo_n "checking for _atan2l declaration... " >&6; }
57812 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57813 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57814 $as_echo_n "(cached) " >&6
57815 else
57818 ac_ext=cpp
57819 ac_cpp='$CXXCPP $CPPFLAGS'
57820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57825 /* end confdefs.h. */
57826 #include <math.h>
57828 main ()
57830 _atan2l(0, 0);
57832 return 0;
57834 _ACEOF
57835 if ac_fn_cxx_try_compile "$LINENO"; then :
57836 glibcxx_cv_func__atan2l_use=yes
57837 else
57838 glibcxx_cv_func__atan2l_use=no
57840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57841 ac_ext=c
57842 ac_cpp='$CPP $CPPFLAGS'
57843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57852 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57854 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57855 for ac_func in _atan2l
57856 do :
57857 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57858 if test "x$ac_cv_func__atan2l" = x""yes; then :
57859 cat >>confdefs.h <<_ACEOF
57860 #define HAVE__ATAN2L 1
57861 _ACEOF
57864 done
57873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57874 $as_echo_n "checking for expl declaration... " >&6; }
57875 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57876 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57877 $as_echo_n "(cached) " >&6
57878 else
57881 ac_ext=cpp
57882 ac_cpp='$CXXCPP $CPPFLAGS'
57883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57888 /* end confdefs.h. */
57889 #include <math.h>
57890 #ifdef HAVE_IEEEFP_H
57891 #include <ieeefp.h>
57892 #endif
57895 main ()
57897 expl(0);
57899 return 0;
57901 _ACEOF
57902 if ac_fn_cxx_try_compile "$LINENO"; then :
57903 glibcxx_cv_func_expl_use=yes
57904 else
57905 glibcxx_cv_func_expl_use=no
57907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57908 ac_ext=c
57909 ac_cpp='$CPP $CPPFLAGS'
57910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57919 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57921 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57922 for ac_func in expl
57923 do :
57924 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57925 if test "x$ac_cv_func_expl" = x""yes; then :
57926 cat >>confdefs.h <<_ACEOF
57927 #define HAVE_EXPL 1
57928 _ACEOF
57931 done
57933 else
57935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57936 $as_echo_n "checking for _expl declaration... " >&6; }
57937 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57938 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57939 $as_echo_n "(cached) " >&6
57940 else
57943 ac_ext=cpp
57944 ac_cpp='$CXXCPP $CPPFLAGS'
57945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57950 /* end confdefs.h. */
57951 #include <math.h>
57952 #ifdef HAVE_IEEEFP_H
57953 #include <ieeefp.h>
57954 #endif
57957 main ()
57959 _expl(0);
57961 return 0;
57963 _ACEOF
57964 if ac_fn_cxx_try_compile "$LINENO"; then :
57965 glibcxx_cv_func__expl_use=yes
57966 else
57967 glibcxx_cv_func__expl_use=no
57969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57970 ac_ext=c
57971 ac_cpp='$CPP $CPPFLAGS'
57972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57981 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57983 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57984 for ac_func in _expl
57985 do :
57986 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57987 if test "x$ac_cv_func__expl" = x""yes; then :
57988 cat >>confdefs.h <<_ACEOF
57989 #define HAVE__EXPL 1
57990 _ACEOF
57993 done
58002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58003 $as_echo_n "checking for fabsl declaration... " >&6; }
58004 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58005 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58006 $as_echo_n "(cached) " >&6
58007 else
58010 ac_ext=cpp
58011 ac_cpp='$CXXCPP $CPPFLAGS'
58012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58017 /* end confdefs.h. */
58018 #include <math.h>
58019 #ifdef HAVE_IEEEFP_H
58020 #include <ieeefp.h>
58021 #endif
58024 main ()
58026 fabsl(0);
58028 return 0;
58030 _ACEOF
58031 if ac_fn_cxx_try_compile "$LINENO"; then :
58032 glibcxx_cv_func_fabsl_use=yes
58033 else
58034 glibcxx_cv_func_fabsl_use=no
58036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58037 ac_ext=c
58038 ac_cpp='$CPP $CPPFLAGS'
58039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58048 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58050 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58051 for ac_func in fabsl
58052 do :
58053 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58054 if test "x$ac_cv_func_fabsl" = x""yes; then :
58055 cat >>confdefs.h <<_ACEOF
58056 #define HAVE_FABSL 1
58057 _ACEOF
58060 done
58062 else
58064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58065 $as_echo_n "checking for _fabsl declaration... " >&6; }
58066 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58067 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58068 $as_echo_n "(cached) " >&6
58069 else
58072 ac_ext=cpp
58073 ac_cpp='$CXXCPP $CPPFLAGS'
58074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58079 /* end confdefs.h. */
58080 #include <math.h>
58081 #ifdef HAVE_IEEEFP_H
58082 #include <ieeefp.h>
58083 #endif
58086 main ()
58088 _fabsl(0);
58090 return 0;
58092 _ACEOF
58093 if ac_fn_cxx_try_compile "$LINENO"; then :
58094 glibcxx_cv_func__fabsl_use=yes
58095 else
58096 glibcxx_cv_func__fabsl_use=no
58098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58099 ac_ext=c
58100 ac_cpp='$CPP $CPPFLAGS'
58101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58110 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58112 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58113 for ac_func in _fabsl
58114 do :
58115 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58116 if test "x$ac_cv_func__fabsl" = x""yes; then :
58117 cat >>confdefs.h <<_ACEOF
58118 #define HAVE__FABSL 1
58119 _ACEOF
58122 done
58131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58132 $as_echo_n "checking for fmodl declaration... " >&6; }
58133 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58134 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58135 $as_echo_n "(cached) " >&6
58136 else
58139 ac_ext=cpp
58140 ac_cpp='$CXXCPP $CPPFLAGS'
58141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58146 /* end confdefs.h. */
58147 #include <math.h>
58149 main ()
58151 fmodl(0, 0);
58153 return 0;
58155 _ACEOF
58156 if ac_fn_cxx_try_compile "$LINENO"; then :
58157 glibcxx_cv_func_fmodl_use=yes
58158 else
58159 glibcxx_cv_func_fmodl_use=no
58161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58162 ac_ext=c
58163 ac_cpp='$CPP $CPPFLAGS'
58164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58173 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58175 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58176 for ac_func in fmodl
58177 do :
58178 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58179 if test "x$ac_cv_func_fmodl" = x""yes; then :
58180 cat >>confdefs.h <<_ACEOF
58181 #define HAVE_FMODL 1
58182 _ACEOF
58185 done
58187 else
58189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58190 $as_echo_n "checking for _fmodl declaration... " >&6; }
58191 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58192 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58193 $as_echo_n "(cached) " >&6
58194 else
58197 ac_ext=cpp
58198 ac_cpp='$CXXCPP $CPPFLAGS'
58199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58204 /* end confdefs.h. */
58205 #include <math.h>
58207 main ()
58209 _fmodl(0, 0);
58211 return 0;
58213 _ACEOF
58214 if ac_fn_cxx_try_compile "$LINENO"; then :
58215 glibcxx_cv_func__fmodl_use=yes
58216 else
58217 glibcxx_cv_func__fmodl_use=no
58219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58220 ac_ext=c
58221 ac_cpp='$CPP $CPPFLAGS'
58222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58231 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58233 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58234 for ac_func in _fmodl
58235 do :
58236 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58237 if test "x$ac_cv_func__fmodl" = x""yes; then :
58238 cat >>confdefs.h <<_ACEOF
58239 #define HAVE__FMODL 1
58240 _ACEOF
58243 done
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58253 $as_echo_n "checking for frexpl declaration... " >&6; }
58254 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58255 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58256 $as_echo_n "(cached) " >&6
58257 else
58260 ac_ext=cpp
58261 ac_cpp='$CXXCPP $CPPFLAGS'
58262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58267 /* end confdefs.h. */
58268 #include <math.h>
58270 main ()
58272 frexpl(0, 0);
58274 return 0;
58276 _ACEOF
58277 if ac_fn_cxx_try_compile "$LINENO"; then :
58278 glibcxx_cv_func_frexpl_use=yes
58279 else
58280 glibcxx_cv_func_frexpl_use=no
58282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58283 ac_ext=c
58284 ac_cpp='$CPP $CPPFLAGS'
58285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58294 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58296 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58297 for ac_func in frexpl
58298 do :
58299 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58300 if test "x$ac_cv_func_frexpl" = x""yes; then :
58301 cat >>confdefs.h <<_ACEOF
58302 #define HAVE_FREXPL 1
58303 _ACEOF
58306 done
58308 else
58310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58311 $as_echo_n "checking for _frexpl declaration... " >&6; }
58312 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58313 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58314 $as_echo_n "(cached) " >&6
58315 else
58318 ac_ext=cpp
58319 ac_cpp='$CXXCPP $CPPFLAGS'
58320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58325 /* end confdefs.h. */
58326 #include <math.h>
58328 main ()
58330 _frexpl(0, 0);
58332 return 0;
58334 _ACEOF
58335 if ac_fn_cxx_try_compile "$LINENO"; then :
58336 glibcxx_cv_func__frexpl_use=yes
58337 else
58338 glibcxx_cv_func__frexpl_use=no
58340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58341 ac_ext=c
58342 ac_cpp='$CPP $CPPFLAGS'
58343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58352 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58354 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58355 for ac_func in _frexpl
58356 do :
58357 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58358 if test "x$ac_cv_func__frexpl" = x""yes; then :
58359 cat >>confdefs.h <<_ACEOF
58360 #define HAVE__FREXPL 1
58361 _ACEOF
58364 done
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58374 $as_echo_n "checking for hypotl declaration... " >&6; }
58375 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58376 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58377 $as_echo_n "(cached) " >&6
58378 else
58381 ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h. */
58389 #include <math.h>
58391 main ()
58393 hypotl(0, 0);
58395 return 0;
58397 _ACEOF
58398 if ac_fn_cxx_try_compile "$LINENO"; then :
58399 glibcxx_cv_func_hypotl_use=yes
58400 else
58401 glibcxx_cv_func_hypotl_use=no
58403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58404 ac_ext=c
58405 ac_cpp='$CPP $CPPFLAGS'
58406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58415 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58417 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58418 for ac_func in hypotl
58419 do :
58420 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58421 if test "x$ac_cv_func_hypotl" = x""yes; then :
58422 cat >>confdefs.h <<_ACEOF
58423 #define HAVE_HYPOTL 1
58424 _ACEOF
58427 done
58429 else
58431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58432 $as_echo_n "checking for _hypotl declaration... " >&6; }
58433 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58434 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58435 $as_echo_n "(cached) " >&6
58436 else
58439 ac_ext=cpp
58440 ac_cpp='$CXXCPP $CPPFLAGS'
58441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58446 /* end confdefs.h. */
58447 #include <math.h>
58449 main ()
58451 _hypotl(0, 0);
58453 return 0;
58455 _ACEOF
58456 if ac_fn_cxx_try_compile "$LINENO"; then :
58457 glibcxx_cv_func__hypotl_use=yes
58458 else
58459 glibcxx_cv_func__hypotl_use=no
58461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58462 ac_ext=c
58463 ac_cpp='$CPP $CPPFLAGS'
58464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58473 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58475 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58476 for ac_func in _hypotl
58477 do :
58478 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58479 if test "x$ac_cv_func__hypotl" = x""yes; then :
58480 cat >>confdefs.h <<_ACEOF
58481 #define HAVE__HYPOTL 1
58482 _ACEOF
58485 done
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58495 $as_echo_n "checking for ldexpl declaration... " >&6; }
58496 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58497 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58498 $as_echo_n "(cached) " >&6
58499 else
58502 ac_ext=cpp
58503 ac_cpp='$CXXCPP $CPPFLAGS'
58504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58509 /* end confdefs.h. */
58510 #include <math.h>
58512 main ()
58514 ldexpl(0, 0);
58516 return 0;
58518 _ACEOF
58519 if ac_fn_cxx_try_compile "$LINENO"; then :
58520 glibcxx_cv_func_ldexpl_use=yes
58521 else
58522 glibcxx_cv_func_ldexpl_use=no
58524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58525 ac_ext=c
58526 ac_cpp='$CPP $CPPFLAGS'
58527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58536 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58538 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58539 for ac_func in ldexpl
58540 do :
58541 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58542 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58543 cat >>confdefs.h <<_ACEOF
58544 #define HAVE_LDEXPL 1
58545 _ACEOF
58548 done
58550 else
58552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58553 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58554 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58555 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58556 $as_echo_n "(cached) " >&6
58557 else
58560 ac_ext=cpp
58561 ac_cpp='$CXXCPP $CPPFLAGS'
58562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58567 /* end confdefs.h. */
58568 #include <math.h>
58570 main ()
58572 _ldexpl(0, 0);
58574 return 0;
58576 _ACEOF
58577 if ac_fn_cxx_try_compile "$LINENO"; then :
58578 glibcxx_cv_func__ldexpl_use=yes
58579 else
58580 glibcxx_cv_func__ldexpl_use=no
58582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58583 ac_ext=c
58584 ac_cpp='$CPP $CPPFLAGS'
58585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58594 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58596 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58597 for ac_func in _ldexpl
58598 do :
58599 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58600 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58601 cat >>confdefs.h <<_ACEOF
58602 #define HAVE__LDEXPL 1
58603 _ACEOF
58606 done
58615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58616 $as_echo_n "checking for logl declaration... " >&6; }
58617 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58618 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58619 $as_echo_n "(cached) " >&6
58620 else
58623 ac_ext=cpp
58624 ac_cpp='$CXXCPP $CPPFLAGS'
58625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58630 /* end confdefs.h. */
58631 #include <math.h>
58632 #ifdef HAVE_IEEEFP_H
58633 #include <ieeefp.h>
58634 #endif
58637 main ()
58639 logl(0);
58641 return 0;
58643 _ACEOF
58644 if ac_fn_cxx_try_compile "$LINENO"; then :
58645 glibcxx_cv_func_logl_use=yes
58646 else
58647 glibcxx_cv_func_logl_use=no
58649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58650 ac_ext=c
58651 ac_cpp='$CPP $CPPFLAGS'
58652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58661 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58663 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58664 for ac_func in logl
58665 do :
58666 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58667 if test "x$ac_cv_func_logl" = x""yes; then :
58668 cat >>confdefs.h <<_ACEOF
58669 #define HAVE_LOGL 1
58670 _ACEOF
58673 done
58675 else
58677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58678 $as_echo_n "checking for _logl declaration... " >&6; }
58679 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58680 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58681 $as_echo_n "(cached) " >&6
58682 else
58685 ac_ext=cpp
58686 ac_cpp='$CXXCPP $CPPFLAGS'
58687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58692 /* end confdefs.h. */
58693 #include <math.h>
58694 #ifdef HAVE_IEEEFP_H
58695 #include <ieeefp.h>
58696 #endif
58699 main ()
58701 _logl(0);
58703 return 0;
58705 _ACEOF
58706 if ac_fn_cxx_try_compile "$LINENO"; then :
58707 glibcxx_cv_func__logl_use=yes
58708 else
58709 glibcxx_cv_func__logl_use=no
58711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58712 ac_ext=c
58713 ac_cpp='$CPP $CPPFLAGS'
58714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58723 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58725 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58726 for ac_func in _logl
58727 do :
58728 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58729 if test "x$ac_cv_func__logl" = x""yes; then :
58730 cat >>confdefs.h <<_ACEOF
58731 #define HAVE__LOGL 1
58732 _ACEOF
58735 done
58744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58745 $as_echo_n "checking for log10l declaration... " >&6; }
58746 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58747 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58748 $as_echo_n "(cached) " >&6
58749 else
58752 ac_ext=cpp
58753 ac_cpp='$CXXCPP $CPPFLAGS'
58754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58759 /* end confdefs.h. */
58760 #include <math.h>
58761 #ifdef HAVE_IEEEFP_H
58762 #include <ieeefp.h>
58763 #endif
58766 main ()
58768 log10l(0);
58770 return 0;
58772 _ACEOF
58773 if ac_fn_cxx_try_compile "$LINENO"; then :
58774 glibcxx_cv_func_log10l_use=yes
58775 else
58776 glibcxx_cv_func_log10l_use=no
58778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58779 ac_ext=c
58780 ac_cpp='$CPP $CPPFLAGS'
58781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58790 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58792 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58793 for ac_func in log10l
58794 do :
58795 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58796 if test "x$ac_cv_func_log10l" = x""yes; then :
58797 cat >>confdefs.h <<_ACEOF
58798 #define HAVE_LOG10L 1
58799 _ACEOF
58802 done
58804 else
58806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58807 $as_echo_n "checking for _log10l declaration... " >&6; }
58808 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58809 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58810 $as_echo_n "(cached) " >&6
58811 else
58814 ac_ext=cpp
58815 ac_cpp='$CXXCPP $CPPFLAGS'
58816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58821 /* end confdefs.h. */
58822 #include <math.h>
58823 #ifdef HAVE_IEEEFP_H
58824 #include <ieeefp.h>
58825 #endif
58828 main ()
58830 _log10l(0);
58832 return 0;
58834 _ACEOF
58835 if ac_fn_cxx_try_compile "$LINENO"; then :
58836 glibcxx_cv_func__log10l_use=yes
58837 else
58838 glibcxx_cv_func__log10l_use=no
58840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58841 ac_ext=c
58842 ac_cpp='$CPP $CPPFLAGS'
58843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58852 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58854 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58855 for ac_func in _log10l
58856 do :
58857 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58858 if test "x$ac_cv_func__log10l" = x""yes; then :
58859 cat >>confdefs.h <<_ACEOF
58860 #define HAVE__LOG10L 1
58861 _ACEOF
58864 done
58873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58874 $as_echo_n "checking for modfl declaration... " >&6; }
58875 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58876 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58877 $as_echo_n "(cached) " >&6
58878 else
58881 ac_ext=cpp
58882 ac_cpp='$CXXCPP $CPPFLAGS'
58883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58888 /* end confdefs.h. */
58889 #include <math.h>
58891 main ()
58893 modfl(0, 0);
58895 return 0;
58897 _ACEOF
58898 if ac_fn_cxx_try_compile "$LINENO"; then :
58899 glibcxx_cv_func_modfl_use=yes
58900 else
58901 glibcxx_cv_func_modfl_use=no
58903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58904 ac_ext=c
58905 ac_cpp='$CPP $CPPFLAGS'
58906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58915 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58917 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58918 for ac_func in modfl
58919 do :
58920 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58921 if test "x$ac_cv_func_modfl" = x""yes; then :
58922 cat >>confdefs.h <<_ACEOF
58923 #define HAVE_MODFL 1
58924 _ACEOF
58927 done
58929 else
58931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58932 $as_echo_n "checking for _modfl declaration... " >&6; }
58933 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58934 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58935 $as_echo_n "(cached) " >&6
58936 else
58939 ac_ext=cpp
58940 ac_cpp='$CXXCPP $CPPFLAGS'
58941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58946 /* end confdefs.h. */
58947 #include <math.h>
58949 main ()
58951 _modfl(0, 0);
58953 return 0;
58955 _ACEOF
58956 if ac_fn_cxx_try_compile "$LINENO"; then :
58957 glibcxx_cv_func__modfl_use=yes
58958 else
58959 glibcxx_cv_func__modfl_use=no
58961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58962 ac_ext=c
58963 ac_cpp='$CPP $CPPFLAGS'
58964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58973 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58975 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58976 for ac_func in _modfl
58977 do :
58978 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58979 if test "x$ac_cv_func__modfl" = x""yes; then :
58980 cat >>confdefs.h <<_ACEOF
58981 #define HAVE__MODFL 1
58982 _ACEOF
58985 done
58994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58995 $as_echo_n "checking for powl declaration... " >&6; }
58996 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58997 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58998 $as_echo_n "(cached) " >&6
58999 else
59002 ac_ext=cpp
59003 ac_cpp='$CXXCPP $CPPFLAGS'
59004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59009 /* end confdefs.h. */
59010 #include <math.h>
59012 main ()
59014 powl(0, 0);
59016 return 0;
59018 _ACEOF
59019 if ac_fn_cxx_try_compile "$LINENO"; then :
59020 glibcxx_cv_func_powl_use=yes
59021 else
59022 glibcxx_cv_func_powl_use=no
59024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59025 ac_ext=c
59026 ac_cpp='$CPP $CPPFLAGS'
59027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59036 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59038 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59039 for ac_func in powl
59040 do :
59041 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59042 if test "x$ac_cv_func_powl" = x""yes; then :
59043 cat >>confdefs.h <<_ACEOF
59044 #define HAVE_POWL 1
59045 _ACEOF
59048 done
59050 else
59052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59053 $as_echo_n "checking for _powl declaration... " >&6; }
59054 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59055 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59056 $as_echo_n "(cached) " >&6
59057 else
59060 ac_ext=cpp
59061 ac_cpp='$CXXCPP $CPPFLAGS'
59062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59067 /* end confdefs.h. */
59068 #include <math.h>
59070 main ()
59072 _powl(0, 0);
59074 return 0;
59076 _ACEOF
59077 if ac_fn_cxx_try_compile "$LINENO"; then :
59078 glibcxx_cv_func__powl_use=yes
59079 else
59080 glibcxx_cv_func__powl_use=no
59082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59083 ac_ext=c
59084 ac_cpp='$CPP $CPPFLAGS'
59085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59094 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59096 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59097 for ac_func in _powl
59098 do :
59099 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59100 if test "x$ac_cv_func__powl" = x""yes; then :
59101 cat >>confdefs.h <<_ACEOF
59102 #define HAVE__POWL 1
59103 _ACEOF
59106 done
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59116 $as_echo_n "checking for sqrtl declaration... " >&6; }
59117 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59118 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59119 $as_echo_n "(cached) " >&6
59120 else
59123 ac_ext=cpp
59124 ac_cpp='$CXXCPP $CPPFLAGS'
59125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59130 /* end confdefs.h. */
59131 #include <math.h>
59132 #ifdef HAVE_IEEEFP_H
59133 #include <ieeefp.h>
59134 #endif
59137 main ()
59139 sqrtl(0);
59141 return 0;
59143 _ACEOF
59144 if ac_fn_cxx_try_compile "$LINENO"; then :
59145 glibcxx_cv_func_sqrtl_use=yes
59146 else
59147 glibcxx_cv_func_sqrtl_use=no
59149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59150 ac_ext=c
59151 ac_cpp='$CPP $CPPFLAGS'
59152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59161 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59163 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59164 for ac_func in sqrtl
59165 do :
59166 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59167 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59168 cat >>confdefs.h <<_ACEOF
59169 #define HAVE_SQRTL 1
59170 _ACEOF
59173 done
59175 else
59177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59178 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59179 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59180 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59181 $as_echo_n "(cached) " >&6
59182 else
59185 ac_ext=cpp
59186 ac_cpp='$CXXCPP $CPPFLAGS'
59187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59192 /* end confdefs.h. */
59193 #include <math.h>
59194 #ifdef HAVE_IEEEFP_H
59195 #include <ieeefp.h>
59196 #endif
59199 main ()
59201 _sqrtl(0);
59203 return 0;
59205 _ACEOF
59206 if ac_fn_cxx_try_compile "$LINENO"; then :
59207 glibcxx_cv_func__sqrtl_use=yes
59208 else
59209 glibcxx_cv_func__sqrtl_use=no
59211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59212 ac_ext=c
59213 ac_cpp='$CPP $CPPFLAGS'
59214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59223 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59225 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59226 for ac_func in _sqrtl
59227 do :
59228 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59229 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59230 cat >>confdefs.h <<_ACEOF
59231 #define HAVE__SQRTL 1
59232 _ACEOF
59235 done
59244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59245 $as_echo_n "checking for sincosl declaration... " >&6; }
59246 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59247 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59248 $as_echo_n "(cached) " >&6
59249 else
59252 ac_ext=cpp
59253 ac_cpp='$CXXCPP $CPPFLAGS'
59254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59259 /* end confdefs.h. */
59260 #include <math.h>
59262 main ()
59264 sincosl(0, 0, 0);
59266 return 0;
59268 _ACEOF
59269 if ac_fn_cxx_try_compile "$LINENO"; then :
59270 glibcxx_cv_func_sincosl_use=yes
59271 else
59272 glibcxx_cv_func_sincosl_use=no
59274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59275 ac_ext=c
59276 ac_cpp='$CPP $CPPFLAGS'
59277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59286 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59288 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59289 for ac_func in sincosl
59290 do :
59291 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59292 if test "x$ac_cv_func_sincosl" = x""yes; then :
59293 cat >>confdefs.h <<_ACEOF
59294 #define HAVE_SINCOSL 1
59295 _ACEOF
59298 done
59300 else
59302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59303 $as_echo_n "checking for _sincosl declaration... " >&6; }
59304 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59305 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59306 $as_echo_n "(cached) " >&6
59307 else
59310 ac_ext=cpp
59311 ac_cpp='$CXXCPP $CPPFLAGS'
59312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59317 /* end confdefs.h. */
59318 #include <math.h>
59320 main ()
59322 _sincosl(0, 0, 0);
59324 return 0;
59326 _ACEOF
59327 if ac_fn_cxx_try_compile "$LINENO"; then :
59328 glibcxx_cv_func__sincosl_use=yes
59329 else
59330 glibcxx_cv_func__sincosl_use=no
59332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59333 ac_ext=c
59334 ac_cpp='$CPP $CPPFLAGS'
59335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59344 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59346 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59347 for ac_func in _sincosl
59348 do :
59349 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59350 if test "x$ac_cv_func__sincosl" = x""yes; then :
59351 cat >>confdefs.h <<_ACEOF
59352 #define HAVE__SINCOSL 1
59353 _ACEOF
59356 done
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59366 $as_echo_n "checking for finitel declaration... " >&6; }
59367 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59368 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59369 $as_echo_n "(cached) " >&6
59370 else
59373 ac_ext=cpp
59374 ac_cpp='$CXXCPP $CPPFLAGS'
59375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59380 /* end confdefs.h. */
59381 #include <math.h>
59382 #ifdef HAVE_IEEEFP_H
59383 #include <ieeefp.h>
59384 #endif
59387 main ()
59389 finitel(0);
59391 return 0;
59393 _ACEOF
59394 if ac_fn_cxx_try_compile "$LINENO"; then :
59395 glibcxx_cv_func_finitel_use=yes
59396 else
59397 glibcxx_cv_func_finitel_use=no
59399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59400 ac_ext=c
59401 ac_cpp='$CPP $CPPFLAGS'
59402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59411 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59413 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59414 for ac_func in finitel
59415 do :
59416 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59417 if test "x$ac_cv_func_finitel" = x""yes; then :
59418 cat >>confdefs.h <<_ACEOF
59419 #define HAVE_FINITEL 1
59420 _ACEOF
59423 done
59425 else
59427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59428 $as_echo_n "checking for _finitel declaration... " >&6; }
59429 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59430 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59431 $as_echo_n "(cached) " >&6
59432 else
59435 ac_ext=cpp
59436 ac_cpp='$CXXCPP $CPPFLAGS'
59437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59442 /* end confdefs.h. */
59443 #include <math.h>
59444 #ifdef HAVE_IEEEFP_H
59445 #include <ieeefp.h>
59446 #endif
59449 main ()
59451 _finitel(0);
59453 return 0;
59455 _ACEOF
59456 if ac_fn_cxx_try_compile "$LINENO"; then :
59457 glibcxx_cv_func__finitel_use=yes
59458 else
59459 glibcxx_cv_func__finitel_use=no
59461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59462 ac_ext=c
59463 ac_cpp='$CPP $CPPFLAGS'
59464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59473 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59475 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59476 for ac_func in _finitel
59477 do :
59478 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59479 if test "x$ac_cv_func__finitel" = x""yes; then :
59480 cat >>confdefs.h <<_ACEOF
59481 #define HAVE__FINITEL 1
59482 _ACEOF
59485 done
59493 LIBS="$ac_save_LIBS"
59494 CXXFLAGS="$ac_save_CXXFLAGS"
59497 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59498 ac_save_CXXFLAGS="$CXXFLAGS"
59499 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59503 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59504 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59505 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59506 $as_echo_n "(cached) " >&6
59507 else
59510 ac_ext=cpp
59511 ac_cpp='$CXXCPP $CPPFLAGS'
59512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59517 /* end confdefs.h. */
59518 #include <stdlib.h>
59520 main ()
59522 at_quick_exit(0);
59524 return 0;
59526 _ACEOF
59527 if ac_fn_cxx_try_compile "$LINENO"; then :
59528 glibcxx_cv_func_at_quick_exit_use=yes
59529 else
59530 glibcxx_cv_func_at_quick_exit_use=no
59532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59533 ac_ext=c
59534 ac_cpp='$CPP $CPPFLAGS'
59535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59544 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59545 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59546 for ac_func in at_quick_exit
59547 do :
59548 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59549 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59550 cat >>confdefs.h <<_ACEOF
59551 #define HAVE_AT_QUICK_EXIT 1
59552 _ACEOF
59555 done
59560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59561 $as_echo_n "checking for quick_exit declaration... " >&6; }
59562 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59563 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59564 $as_echo_n "(cached) " >&6
59565 else
59568 ac_ext=cpp
59569 ac_cpp='$CXXCPP $CPPFLAGS'
59570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59575 /* end confdefs.h. */
59576 #include <stdlib.h>
59578 main ()
59580 quick_exit(0);
59582 return 0;
59584 _ACEOF
59585 if ac_fn_cxx_try_compile "$LINENO"; then :
59586 glibcxx_cv_func_quick_exit_use=yes
59587 else
59588 glibcxx_cv_func_quick_exit_use=no
59590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59591 ac_ext=c
59592 ac_cpp='$CPP $CPPFLAGS'
59593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59602 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59603 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59604 for ac_func in quick_exit
59605 do :
59606 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59607 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59608 cat >>confdefs.h <<_ACEOF
59609 #define HAVE_QUICK_EXIT 1
59610 _ACEOF
59613 done
59618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59619 $as_echo_n "checking for strtold declaration... " >&6; }
59620 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59621 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59622 $as_echo_n "(cached) " >&6
59623 else
59626 ac_ext=cpp
59627 ac_cpp='$CXXCPP $CPPFLAGS'
59628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59633 /* end confdefs.h. */
59634 #include <stdlib.h>
59636 main ()
59638 strtold(0, 0);
59640 return 0;
59642 _ACEOF
59643 if ac_fn_cxx_try_compile "$LINENO"; then :
59644 glibcxx_cv_func_strtold_use=yes
59645 else
59646 glibcxx_cv_func_strtold_use=no
59648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59649 ac_ext=c
59650 ac_cpp='$CPP $CPPFLAGS'
59651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59660 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59661 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59662 for ac_func in strtold
59663 do :
59664 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59665 if test "x$ac_cv_func_strtold" = x""yes; then :
59666 cat >>confdefs.h <<_ACEOF
59667 #define HAVE_STRTOLD 1
59668 _ACEOF
59671 done
59678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59679 $as_echo_n "checking for strtof declaration... " >&6; }
59680 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59681 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59682 $as_echo_n "(cached) " >&6
59683 else
59686 ac_ext=cpp
59687 ac_cpp='$CXXCPP $CPPFLAGS'
59688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59693 /* end confdefs.h. */
59694 #include <stdlib.h>
59696 main ()
59698 strtof(0, 0);
59700 return 0;
59702 _ACEOF
59703 if ac_fn_cxx_try_compile "$LINENO"; then :
59704 glibcxx_cv_func_strtof_use=yes
59705 else
59706 glibcxx_cv_func_strtof_use=no
59708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59709 ac_ext=c
59710 ac_cpp='$CPP $CPPFLAGS'
59711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59720 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59721 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59722 for ac_func in strtof
59723 do :
59724 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59725 if test "x$ac_cv_func_strtof" = x""yes; then :
59726 cat >>confdefs.h <<_ACEOF
59727 #define HAVE_STRTOF 1
59728 _ACEOF
59731 done
59738 CXXFLAGS="$ac_save_CXXFLAGS"
59740 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59744 # Check whether --enable-tls was given.
59745 if test "${enable_tls+set}" = set; then :
59746 enableval=$enable_tls;
59747 case "$enableval" in
59748 yes|no) ;;
59749 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59750 esac
59752 else
59753 enable_tls=yes
59757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59758 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59759 if test "${gcc_cv_have_tls+set}" = set; then :
59760 $as_echo_n "(cached) " >&6
59761 else
59763 if test "$cross_compiling" = yes; then :
59764 if test x$gcc_no_link = xyes; then
59765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59768 /* end confdefs.h. */
59769 __thread int a; int b; int main() { return a = b; }
59770 _ACEOF
59771 if ac_fn_c_try_link "$LINENO"; then :
59772 chktls_save_LDFLAGS="$LDFLAGS"
59773 case $host in
59774 *-*-linux*)
59775 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59777 esac
59778 chktls_save_CFLAGS="$CFLAGS"
59779 CFLAGS="-fPIC $CFLAGS"
59780 if test x$gcc_no_link = xyes; then
59781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59784 /* end confdefs.h. */
59785 int f() { return 0; }
59786 _ACEOF
59787 if ac_fn_c_try_link "$LINENO"; then :
59788 if test x$gcc_no_link = xyes; then
59789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59792 /* end confdefs.h. */
59793 __thread int a; int b; int f() { return a = b; }
59794 _ACEOF
59795 if ac_fn_c_try_link "$LINENO"; then :
59796 gcc_cv_have_tls=yes
59797 else
59798 gcc_cv_have_tls=no
59800 rm -f core conftest.err conftest.$ac_objext \
59801 conftest$ac_exeext conftest.$ac_ext
59802 else
59803 gcc_cv_have_tls=yes
59805 rm -f core conftest.err conftest.$ac_objext \
59806 conftest$ac_exeext conftest.$ac_ext
59807 CFLAGS="$chktls_save_CFLAGS"
59808 LDFLAGS="$chktls_save_LDFLAGS"
59809 else
59810 gcc_cv_have_tls=no
59812 rm -f core conftest.err conftest.$ac_objext \
59813 conftest$ac_exeext conftest.$ac_ext
59816 else
59817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59818 /* end confdefs.h. */
59819 __thread int a; int b; int main() { return a = b; }
59820 _ACEOF
59821 if ac_fn_c_try_run "$LINENO"; then :
59822 chktls_save_LDFLAGS="$LDFLAGS"
59823 LDFLAGS="-static $LDFLAGS"
59824 if test x$gcc_no_link = xyes; then
59825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59828 /* end confdefs.h. */
59829 int main() { return 0; }
59830 _ACEOF
59831 if ac_fn_c_try_link "$LINENO"; then :
59832 if test "$cross_compiling" = yes; then :
59833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59835 as_fn_error "cannot run test program while cross compiling
59836 See \`config.log' for more details." "$LINENO" 5; }
59837 else
59838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59839 /* end confdefs.h. */
59840 __thread int a; int b; int main() { return a = b; }
59841 _ACEOF
59842 if ac_fn_c_try_run "$LINENO"; then :
59843 gcc_cv_have_tls=yes
59844 else
59845 gcc_cv_have_tls=no
59847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59848 conftest.$ac_objext conftest.beam conftest.$ac_ext
59851 else
59852 gcc_cv_have_tls=yes
59854 rm -f core conftest.err conftest.$ac_objext \
59855 conftest$ac_exeext conftest.$ac_ext
59856 LDFLAGS="$chktls_save_LDFLAGS"
59857 if test $gcc_cv_have_tls = yes; then
59858 chktls_save_CFLAGS="$CFLAGS"
59859 thread_CFLAGS=failed
59860 for flag in '' '-pthread' '-lpthread'; do
59861 CFLAGS="$flag $chktls_save_CFLAGS"
59862 if test x$gcc_no_link = xyes; then
59863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59866 /* end confdefs.h. */
59867 #include <pthread.h>
59868 void *g(void *d) { return NULL; }
59870 main ()
59872 pthread_t t; pthread_create(&t,NULL,g,NULL);
59874 return 0;
59876 _ACEOF
59877 if ac_fn_c_try_link "$LINENO"; then :
59878 thread_CFLAGS="$flag"
59880 rm -f core conftest.err conftest.$ac_objext \
59881 conftest$ac_exeext conftest.$ac_ext
59882 if test "X$thread_CFLAGS" != Xfailed; then
59883 break
59885 done
59886 CFLAGS="$chktls_save_CFLAGS"
59887 if test "X$thread_CFLAGS" != Xfailed; then
59888 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59889 if test "$cross_compiling" = yes; then :
59890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59892 as_fn_error "cannot run test program while cross compiling
59893 See \`config.log' for more details." "$LINENO" 5; }
59894 else
59895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59896 /* end confdefs.h. */
59897 #include <pthread.h>
59898 __thread int a;
59899 static int *volatile a_in_other_thread;
59900 static void *
59901 thread_func (void *arg)
59903 a_in_other_thread = &a;
59904 return (void *)0;
59907 main ()
59909 pthread_t thread;
59910 void *thread_retval;
59911 int *volatile a_in_main_thread;
59912 a_in_main_thread = &a;
59913 if (pthread_create (&thread, (pthread_attr_t *)0,
59914 thread_func, (void *)0))
59915 return 0;
59916 if (pthread_join (thread, &thread_retval))
59917 return 0;
59918 return (a_in_other_thread == a_in_main_thread);
59920 return 0;
59922 _ACEOF
59923 if ac_fn_c_try_run "$LINENO"; then :
59924 gcc_cv_have_tls=yes
59925 else
59926 gcc_cv_have_tls=no
59928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59929 conftest.$ac_objext conftest.beam conftest.$ac_ext
59932 CFLAGS="$chktls_save_CFLAGS"
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
59943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59944 $as_echo "$gcc_cv_have_tls" >&6; }
59945 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59947 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59950 for ac_func in __cxa_thread_atexit_impl
59951 do :
59952 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59953 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59954 cat >>confdefs.h <<_ACEOF
59955 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59956 _ACEOF
59959 done
59961 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59962 do :
59963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59965 eval as_val=\$$as_ac_var
59966 if test "x$as_val" = x""yes; then :
59967 cat >>confdefs.h <<_ACEOF
59968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59969 _ACEOF
59972 done
59979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59980 $as_echo_n "checking for iconv... " >&6; }
59981 if test "${am_cv_func_iconv+set}" = set; then :
59982 $as_echo_n "(cached) " >&6
59983 else
59985 am_cv_func_iconv="no, consider installing GNU libiconv"
59986 am_cv_lib_iconv=no
59987 am_save_CPPFLAGS="$CPPFLAGS"
59988 CPPFLAGS="$CPPFLAGS $INCICONV"
59989 if test x$gcc_no_link = xyes; then
59990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59993 /* end confdefs.h. */
59994 #include <stdlib.h>
59995 #include <iconv.h>
59997 main ()
59999 iconv_t cd = iconv_open("","");
60000 iconv(cd,NULL,NULL,NULL,NULL);
60001 iconv_close(cd);
60003 return 0;
60005 _ACEOF
60006 if ac_fn_c_try_link "$LINENO"; then :
60007 am_cv_func_iconv=yes
60009 rm -f core conftest.err conftest.$ac_objext \
60010 conftest$ac_exeext conftest.$ac_ext
60011 CPPFLAGS="$am_save_CPPFLAGS"
60013 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60014 for _libs in .libs _libs; do
60015 am_save_CPPFLAGS="$CPPFLAGS"
60016 am_save_LIBS="$LIBS"
60017 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60018 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60019 if test x$gcc_no_link = xyes; then
60020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60023 /* end confdefs.h. */
60024 #include <stdlib.h>
60025 #include <iconv.h>
60027 main ()
60029 iconv_t cd = iconv_open("","");
60030 iconv(cd,NULL,NULL,NULL,NULL);
60031 iconv_close(cd);
60033 return 0;
60035 _ACEOF
60036 if ac_fn_c_try_link "$LINENO"; then :
60037 INCICONV="-I../libiconv/include"
60038 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60039 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60040 am_cv_lib_iconv=yes
60041 am_cv_func_iconv=yes
60043 rm -f core conftest.err conftest.$ac_objext \
60044 conftest$ac_exeext conftest.$ac_ext
60045 CPPFLAGS="$am_save_CPPFLAGS"
60046 LIBS="$am_save_LIBS"
60047 if test "$am_cv_func_iconv" = "yes"; then
60048 break
60050 done
60053 if test "$am_cv_func_iconv" != yes; then
60054 am_save_CPPFLAGS="$CPPFLAGS"
60055 am_save_LIBS="$LIBS"
60056 CPPFLAGS="$LIBS $INCICONV"
60057 LIBS="$LIBS $LIBICONV"
60058 if test x$gcc_no_link = xyes; then
60059 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60062 /* end confdefs.h. */
60063 #include <stdlib.h>
60064 #include <iconv.h>
60066 main ()
60068 iconv_t cd = iconv_open("","");
60069 iconv(cd,NULL,NULL,NULL,NULL);
60070 iconv_close(cd);
60072 return 0;
60074 _ACEOF
60075 if ac_fn_c_try_link "$LINENO"; then :
60076 am_cv_lib_iconv=yes
60077 am_cv_func_iconv=yes
60079 rm -f core conftest.err conftest.$ac_objext \
60080 conftest$ac_exeext conftest.$ac_ext
60081 CPPFLAGS="$am_save_CPPFLAGS"
60082 LIBS="$am_save_LIBS"
60086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60087 $as_echo "$am_cv_func_iconv" >&6; }
60088 if test "$am_cv_func_iconv" = yes; then
60090 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60093 if test "$am_cv_lib_iconv" = yes; then
60095 for element in $INCICONV; do
60096 haveit=
60097 for x in $CPPFLAGS; do
60099 acl_save_prefix="$prefix"
60100 prefix="$acl_final_prefix"
60101 acl_save_exec_prefix="$exec_prefix"
60102 exec_prefix="$acl_final_exec_prefix"
60103 eval x=\"$x\"
60104 exec_prefix="$acl_save_exec_prefix"
60105 prefix="$acl_save_prefix"
60107 if test "X$x" = "X$element"; then
60108 haveit=yes
60109 break
60111 done
60112 if test -z "$haveit"; then
60113 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60115 done
60117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60118 $as_echo_n "checking how to link with libiconv... " >&6; }
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60120 $as_echo "$LIBICONV" >&6; }
60121 else
60122 LIBICONV=
60123 LTLIBICONV=
60128 if test "$am_cv_func_iconv" = yes; then
60129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60130 $as_echo_n "checking for iconv declaration... " >&6; }
60131 if test "${am_cv_proto_iconv+set}" = set; then :
60132 $as_echo_n "(cached) " >&6
60133 else
60135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60136 /* end confdefs.h. */
60138 #include <stdlib.h>
60139 #include <iconv.h>
60140 extern
60141 #ifdef __cplusplus
60143 #endif
60144 #if defined(__STDC__) || defined(__cplusplus)
60145 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60146 #else
60147 size_t iconv();
60148 #endif
60151 main ()
60155 return 0;
60157 _ACEOF
60158 if ac_fn_c_try_compile "$LINENO"; then :
60159 am_cv_proto_iconv_arg1=""
60160 else
60161 am_cv_proto_iconv_arg1="const"
60163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60164 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);"
60167 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60169 }$am_cv_proto_iconv" >&5
60170 $as_echo "${ac_t:-
60171 }$am_cv_proto_iconv" >&6; }
60173 cat >>confdefs.h <<_ACEOF
60174 #define ICONV_CONST $am_cv_proto_iconv_arg1
60175 _ACEOF
60180 *-mingw32*)
60182 # If we're not using GNU ld, then there's no point in even trying these
60183 # tests. Check for that first. We should have already tested for gld
60184 # by now (in libtool), but require it now just to be safe...
60185 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60186 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60190 # The name set by libtool depends on the version of libtool. Shame on us
60191 # for depending on an impl detail, but c'est la vie. Older versions used
60192 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60193 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60194 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60195 # set (hence we're using an older libtool), then set it.
60196 if test x${with_gnu_ld+set} != xset; then
60197 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60198 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60199 with_gnu_ld=no
60200 else
60201 with_gnu_ld=$ac_cv_prog_gnu_ld
60205 # Start by getting the version number. I think the libtool test already
60206 # does some of this, but throws away the result.
60207 glibcxx_ld_is_gold=no
60208 if test x"$with_gnu_ld" = x"yes"; then
60209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60210 $as_echo_n "checking for ld version... " >&6; }
60212 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60213 glibcxx_ld_is_gold=yes
60215 ldver=`$LD --version 2>/dev/null |
60216 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'`
60218 glibcxx_gnu_ld_version=`echo $ldver | \
60219 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60221 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60224 # Set --gc-sections.
60225 glibcxx_have_gc_sections=no
60226 if test "$glibcxx_ld_is_gold" = "yes"; then
60227 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60228 glibcxx_have_gc_sections=yes
60230 else
60231 glibcxx_gcsections_min_ld=21602
60232 if test x"$with_gnu_ld" = x"yes" &&
60233 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60234 glibcxx_have_gc_sections=yes
60237 if test "$glibcxx_have_gc_sections" = "yes"; then
60238 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60239 # NB: This flag only works reliably after 2.16.1. Configure tests
60240 # for this are difficult, so hard wire a value that should work.
60242 ac_test_CFLAGS="${CFLAGS+set}"
60243 ac_save_CFLAGS="$CFLAGS"
60244 CFLAGS='-Wl,--gc-sections'
60246 # Check for -Wl,--gc-sections
60247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60248 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60249 if test x$gcc_no_link = xyes; then
60250 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60253 /* end confdefs.h. */
60254 int one(void) { return 1; }
60255 int two(void) { return 2; }
60258 main ()
60260 two();
60262 return 0;
60264 _ACEOF
60265 if ac_fn_c_try_link "$LINENO"; then :
60266 ac_gcsections=yes
60267 else
60268 ac_gcsections=no
60270 rm -f core conftest.err conftest.$ac_objext \
60271 conftest$ac_exeext conftest.$ac_ext
60272 if test "$ac_gcsections" = "yes"; then
60273 rm -f conftest.c
60274 touch conftest.c
60275 if $CC -c conftest.c; then
60276 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60277 grep "Warning: gc-sections option ignored" > /dev/null; then
60278 ac_gcsections=no
60281 rm -f conftest.c conftest.o conftest
60283 if test "$ac_gcsections" = "yes"; then
60284 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60287 $as_echo "$ac_gcsections" >&6; }
60289 if test "$ac_test_CFLAGS" = set; then
60290 CFLAGS="$ac_save_CFLAGS"
60291 else
60292 # this is the suspicious part
60293 CFLAGS=''
60297 # Set -z,relro.
60298 # Note this is only for shared objects.
60299 ac_ld_relro=no
60300 if test x"$with_gnu_ld" = x"yes"; then
60301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60302 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60303 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60304 if test -n "$cxx_z_relo"; then
60305 OPT_LDFLAGS="-Wl,-z,relro"
60306 ac_ld_relro=yes
60308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60309 $as_echo "$ac_ld_relro" >&6; }
60312 # Set linker optimization flags.
60313 if test x"$with_gnu_ld" = x"yes"; then
60314 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60321 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60322 ac_save_CXXFLAGS="$CXXFLAGS"
60323 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60326 $as_echo_n "checking for sin in -lm... " >&6; }
60327 if test "${ac_cv_lib_m_sin+set}" = set; then :
60328 $as_echo_n "(cached) " >&6
60329 else
60330 ac_check_lib_save_LIBS=$LIBS
60331 LIBS="-lm $LIBS"
60332 if test x$gcc_no_link = xyes; then
60333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60336 /* end confdefs.h. */
60338 /* Override any GCC internal prototype to avoid an error.
60339 Use char because int might match the return type of a GCC
60340 builtin and then its argument prototype would still apply. */
60341 #ifdef __cplusplus
60342 extern "C"
60343 #endif
60344 char sin ();
60346 main ()
60348 return sin ();
60350 return 0;
60352 _ACEOF
60353 if ac_fn_c_try_link "$LINENO"; then :
60354 ac_cv_lib_m_sin=yes
60355 else
60356 ac_cv_lib_m_sin=no
60358 rm -f core conftest.err conftest.$ac_objext \
60359 conftest$ac_exeext conftest.$ac_ext
60360 LIBS=$ac_check_lib_save_LIBS
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60363 $as_echo "$ac_cv_lib_m_sin" >&6; }
60364 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60365 libm="-lm"
60368 ac_save_LIBS="$LIBS"
60369 LIBS="$LIBS $libm"
60373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60374 $as_echo_n "checking for isinf declaration... " >&6; }
60375 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60376 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60377 $as_echo_n "(cached) " >&6
60378 else
60381 ac_ext=cpp
60382 ac_cpp='$CXXCPP $CPPFLAGS'
60383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60388 /* end confdefs.h. */
60389 #include <math.h>
60390 #ifdef HAVE_IEEEFP_H
60391 #include <ieeefp.h>
60392 #endif
60395 main ()
60397 isinf(0);
60399 return 0;
60401 _ACEOF
60402 if ac_fn_cxx_try_compile "$LINENO"; then :
60403 glibcxx_cv_func_isinf_use=yes
60404 else
60405 glibcxx_cv_func_isinf_use=no
60407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60408 ac_ext=c
60409 ac_cpp='$CPP $CPPFLAGS'
60410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60419 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60421 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60422 for ac_func in isinf
60423 do :
60424 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60425 if test "x$ac_cv_func_isinf" = x""yes; then :
60426 cat >>confdefs.h <<_ACEOF
60427 #define HAVE_ISINF 1
60428 _ACEOF
60431 done
60433 else
60435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60436 $as_echo_n "checking for _isinf declaration... " >&6; }
60437 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60438 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60439 $as_echo_n "(cached) " >&6
60440 else
60443 ac_ext=cpp
60444 ac_cpp='$CXXCPP $CPPFLAGS'
60445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60450 /* end confdefs.h. */
60451 #include <math.h>
60452 #ifdef HAVE_IEEEFP_H
60453 #include <ieeefp.h>
60454 #endif
60457 main ()
60459 _isinf(0);
60461 return 0;
60463 _ACEOF
60464 if ac_fn_cxx_try_compile "$LINENO"; then :
60465 glibcxx_cv_func__isinf_use=yes
60466 else
60467 glibcxx_cv_func__isinf_use=no
60469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60470 ac_ext=c
60471 ac_cpp='$CPP $CPPFLAGS'
60472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60481 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60483 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60484 for ac_func in _isinf
60485 do :
60486 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60487 if test "x$ac_cv_func__isinf" = x""yes; then :
60488 cat >>confdefs.h <<_ACEOF
60489 #define HAVE__ISINF 1
60490 _ACEOF
60493 done
60502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60503 $as_echo_n "checking for isnan declaration... " >&6; }
60504 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60505 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60506 $as_echo_n "(cached) " >&6
60507 else
60510 ac_ext=cpp
60511 ac_cpp='$CXXCPP $CPPFLAGS'
60512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60517 /* end confdefs.h. */
60518 #include <math.h>
60519 #ifdef HAVE_IEEEFP_H
60520 #include <ieeefp.h>
60521 #endif
60524 main ()
60526 isnan(0);
60528 return 0;
60530 _ACEOF
60531 if ac_fn_cxx_try_compile "$LINENO"; then :
60532 glibcxx_cv_func_isnan_use=yes
60533 else
60534 glibcxx_cv_func_isnan_use=no
60536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60537 ac_ext=c
60538 ac_cpp='$CPP $CPPFLAGS'
60539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60548 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60550 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60551 for ac_func in isnan
60552 do :
60553 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60554 if test "x$ac_cv_func_isnan" = x""yes; then :
60555 cat >>confdefs.h <<_ACEOF
60556 #define HAVE_ISNAN 1
60557 _ACEOF
60560 done
60562 else
60564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60565 $as_echo_n "checking for _isnan declaration... " >&6; }
60566 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60567 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60568 $as_echo_n "(cached) " >&6
60569 else
60572 ac_ext=cpp
60573 ac_cpp='$CXXCPP $CPPFLAGS'
60574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60579 /* end confdefs.h. */
60580 #include <math.h>
60581 #ifdef HAVE_IEEEFP_H
60582 #include <ieeefp.h>
60583 #endif
60586 main ()
60588 _isnan(0);
60590 return 0;
60592 _ACEOF
60593 if ac_fn_cxx_try_compile "$LINENO"; then :
60594 glibcxx_cv_func__isnan_use=yes
60595 else
60596 glibcxx_cv_func__isnan_use=no
60598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60599 ac_ext=c
60600 ac_cpp='$CPP $CPPFLAGS'
60601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60610 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60612 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60613 for ac_func in _isnan
60614 do :
60615 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60616 if test "x$ac_cv_func__isnan" = x""yes; then :
60617 cat >>confdefs.h <<_ACEOF
60618 #define HAVE__ISNAN 1
60619 _ACEOF
60622 done
60631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60632 $as_echo_n "checking for finite declaration... " >&6; }
60633 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60634 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60635 $as_echo_n "(cached) " >&6
60636 else
60639 ac_ext=cpp
60640 ac_cpp='$CXXCPP $CPPFLAGS'
60641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60646 /* end confdefs.h. */
60647 #include <math.h>
60648 #ifdef HAVE_IEEEFP_H
60649 #include <ieeefp.h>
60650 #endif
60653 main ()
60655 finite(0);
60657 return 0;
60659 _ACEOF
60660 if ac_fn_cxx_try_compile "$LINENO"; then :
60661 glibcxx_cv_func_finite_use=yes
60662 else
60663 glibcxx_cv_func_finite_use=no
60665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60666 ac_ext=c
60667 ac_cpp='$CPP $CPPFLAGS'
60668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60677 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60679 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60680 for ac_func in finite
60681 do :
60682 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60683 if test "x$ac_cv_func_finite" = x""yes; then :
60684 cat >>confdefs.h <<_ACEOF
60685 #define HAVE_FINITE 1
60686 _ACEOF
60689 done
60691 else
60693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60694 $as_echo_n "checking for _finite declaration... " >&6; }
60695 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60696 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60697 $as_echo_n "(cached) " >&6
60698 else
60701 ac_ext=cpp
60702 ac_cpp='$CXXCPP $CPPFLAGS'
60703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60708 /* end confdefs.h. */
60709 #include <math.h>
60710 #ifdef HAVE_IEEEFP_H
60711 #include <ieeefp.h>
60712 #endif
60715 main ()
60717 _finite(0);
60719 return 0;
60721 _ACEOF
60722 if ac_fn_cxx_try_compile "$LINENO"; then :
60723 glibcxx_cv_func__finite_use=yes
60724 else
60725 glibcxx_cv_func__finite_use=no
60727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60728 ac_ext=c
60729 ac_cpp='$CPP $CPPFLAGS'
60730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60739 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60741 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60742 for ac_func in _finite
60743 do :
60744 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60745 if test "x$ac_cv_func__finite" = x""yes; then :
60746 cat >>confdefs.h <<_ACEOF
60747 #define HAVE__FINITE 1
60748 _ACEOF
60751 done
60760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60761 $as_echo_n "checking for sincos declaration... " >&6; }
60762 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60763 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60764 $as_echo_n "(cached) " >&6
60765 else
60768 ac_ext=cpp
60769 ac_cpp='$CXXCPP $CPPFLAGS'
60770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60775 /* end confdefs.h. */
60776 #include <math.h>
60778 main ()
60780 sincos(0, 0, 0);
60782 return 0;
60784 _ACEOF
60785 if ac_fn_cxx_try_compile "$LINENO"; then :
60786 glibcxx_cv_func_sincos_use=yes
60787 else
60788 glibcxx_cv_func_sincos_use=no
60790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60791 ac_ext=c
60792 ac_cpp='$CPP $CPPFLAGS'
60793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60802 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60804 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60805 for ac_func in sincos
60806 do :
60807 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60808 if test "x$ac_cv_func_sincos" = x""yes; then :
60809 cat >>confdefs.h <<_ACEOF
60810 #define HAVE_SINCOS 1
60811 _ACEOF
60814 done
60816 else
60818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60819 $as_echo_n "checking for _sincos declaration... " >&6; }
60820 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60821 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60822 $as_echo_n "(cached) " >&6
60823 else
60826 ac_ext=cpp
60827 ac_cpp='$CXXCPP $CPPFLAGS'
60828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60833 /* end confdefs.h. */
60834 #include <math.h>
60836 main ()
60838 _sincos(0, 0, 0);
60840 return 0;
60842 _ACEOF
60843 if ac_fn_cxx_try_compile "$LINENO"; then :
60844 glibcxx_cv_func__sincos_use=yes
60845 else
60846 glibcxx_cv_func__sincos_use=no
60848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60849 ac_ext=c
60850 ac_cpp='$CPP $CPPFLAGS'
60851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60860 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60862 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60863 for ac_func in _sincos
60864 do :
60865 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60866 if test "x$ac_cv_func__sincos" = x""yes; then :
60867 cat >>confdefs.h <<_ACEOF
60868 #define HAVE__SINCOS 1
60869 _ACEOF
60872 done
60881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60882 $as_echo_n "checking for fpclass declaration... " >&6; }
60883 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60884 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60885 $as_echo_n "(cached) " >&6
60886 else
60889 ac_ext=cpp
60890 ac_cpp='$CXXCPP $CPPFLAGS'
60891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60896 /* end confdefs.h. */
60897 #include <math.h>
60898 #ifdef HAVE_IEEEFP_H
60899 #include <ieeefp.h>
60900 #endif
60903 main ()
60905 fpclass(0);
60907 return 0;
60909 _ACEOF
60910 if ac_fn_cxx_try_compile "$LINENO"; then :
60911 glibcxx_cv_func_fpclass_use=yes
60912 else
60913 glibcxx_cv_func_fpclass_use=no
60915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60916 ac_ext=c
60917 ac_cpp='$CPP $CPPFLAGS'
60918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60927 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60929 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60930 for ac_func in fpclass
60931 do :
60932 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60933 if test "x$ac_cv_func_fpclass" = x""yes; then :
60934 cat >>confdefs.h <<_ACEOF
60935 #define HAVE_FPCLASS 1
60936 _ACEOF
60939 done
60941 else
60943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60944 $as_echo_n "checking for _fpclass declaration... " >&6; }
60945 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60946 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60947 $as_echo_n "(cached) " >&6
60948 else
60951 ac_ext=cpp
60952 ac_cpp='$CXXCPP $CPPFLAGS'
60953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60958 /* end confdefs.h. */
60959 #include <math.h>
60960 #ifdef HAVE_IEEEFP_H
60961 #include <ieeefp.h>
60962 #endif
60965 main ()
60967 _fpclass(0);
60969 return 0;
60971 _ACEOF
60972 if ac_fn_cxx_try_compile "$LINENO"; then :
60973 glibcxx_cv_func__fpclass_use=yes
60974 else
60975 glibcxx_cv_func__fpclass_use=no
60977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60978 ac_ext=c
60979 ac_cpp='$CPP $CPPFLAGS'
60980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60989 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60991 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60992 for ac_func in _fpclass
60993 do :
60994 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60995 if test "x$ac_cv_func__fpclass" = x""yes; then :
60996 cat >>confdefs.h <<_ACEOF
60997 #define HAVE__FPCLASS 1
60998 _ACEOF
61001 done
61010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61011 $as_echo_n "checking for qfpclass declaration... " >&6; }
61012 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61013 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61014 $as_echo_n "(cached) " >&6
61015 else
61018 ac_ext=cpp
61019 ac_cpp='$CXXCPP $CPPFLAGS'
61020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61025 /* end confdefs.h. */
61026 #include <math.h>
61027 #ifdef HAVE_IEEEFP_H
61028 #include <ieeefp.h>
61029 #endif
61032 main ()
61034 qfpclass(0);
61036 return 0;
61038 _ACEOF
61039 if ac_fn_cxx_try_compile "$LINENO"; then :
61040 glibcxx_cv_func_qfpclass_use=yes
61041 else
61042 glibcxx_cv_func_qfpclass_use=no
61044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61045 ac_ext=c
61046 ac_cpp='$CPP $CPPFLAGS'
61047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61056 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61058 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61059 for ac_func in qfpclass
61060 do :
61061 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61062 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61063 cat >>confdefs.h <<_ACEOF
61064 #define HAVE_QFPCLASS 1
61065 _ACEOF
61068 done
61070 else
61072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61073 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61074 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61075 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61076 $as_echo_n "(cached) " >&6
61077 else
61080 ac_ext=cpp
61081 ac_cpp='$CXXCPP $CPPFLAGS'
61082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61087 /* end confdefs.h. */
61088 #include <math.h>
61089 #ifdef HAVE_IEEEFP_H
61090 #include <ieeefp.h>
61091 #endif
61094 main ()
61096 _qfpclass(0);
61098 return 0;
61100 _ACEOF
61101 if ac_fn_cxx_try_compile "$LINENO"; then :
61102 glibcxx_cv_func__qfpclass_use=yes
61103 else
61104 glibcxx_cv_func__qfpclass_use=no
61106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61107 ac_ext=c
61108 ac_cpp='$CPP $CPPFLAGS'
61109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61118 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61120 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61121 for ac_func in _qfpclass
61122 do :
61123 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61124 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61125 cat >>confdefs.h <<_ACEOF
61126 #define HAVE__QFPCLASS 1
61127 _ACEOF
61130 done
61139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61140 $as_echo_n "checking for hypot declaration... " >&6; }
61141 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61142 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61143 $as_echo_n "(cached) " >&6
61144 else
61147 ac_ext=cpp
61148 ac_cpp='$CXXCPP $CPPFLAGS'
61149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61154 /* end confdefs.h. */
61155 #include <math.h>
61157 main ()
61159 hypot(0, 0);
61161 return 0;
61163 _ACEOF
61164 if ac_fn_cxx_try_compile "$LINENO"; then :
61165 glibcxx_cv_func_hypot_use=yes
61166 else
61167 glibcxx_cv_func_hypot_use=no
61169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61170 ac_ext=c
61171 ac_cpp='$CPP $CPPFLAGS'
61172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61181 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61183 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61184 for ac_func in hypot
61185 do :
61186 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61187 if test "x$ac_cv_func_hypot" = x""yes; then :
61188 cat >>confdefs.h <<_ACEOF
61189 #define HAVE_HYPOT 1
61190 _ACEOF
61193 done
61195 else
61197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61198 $as_echo_n "checking for _hypot declaration... " >&6; }
61199 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61200 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61201 $as_echo_n "(cached) " >&6
61202 else
61205 ac_ext=cpp
61206 ac_cpp='$CXXCPP $CPPFLAGS'
61207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61212 /* end confdefs.h. */
61213 #include <math.h>
61215 main ()
61217 _hypot(0, 0);
61219 return 0;
61221 _ACEOF
61222 if ac_fn_cxx_try_compile "$LINENO"; then :
61223 glibcxx_cv_func__hypot_use=yes
61224 else
61225 glibcxx_cv_func__hypot_use=no
61227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61228 ac_ext=c
61229 ac_cpp='$CPP $CPPFLAGS'
61230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61239 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61241 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61242 for ac_func in _hypot
61243 do :
61244 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61245 if test "x$ac_cv_func__hypot" = x""yes; then :
61246 cat >>confdefs.h <<_ACEOF
61247 #define HAVE__HYPOT 1
61248 _ACEOF
61251 done
61260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61261 $as_echo_n "checking for float trig functions... " >&6; }
61262 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61263 $as_echo_n "(cached) " >&6
61264 else
61267 ac_ext=cpp
61268 ac_cpp='$CXXCPP $CPPFLAGS'
61269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61274 /* end confdefs.h. */
61275 #include <math.h>
61277 main ()
61279 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61281 return 0;
61283 _ACEOF
61284 if ac_fn_cxx_try_compile "$LINENO"; then :
61285 glibcxx_cv_func_float_trig_use=yes
61286 else
61287 glibcxx_cv_func_float_trig_use=no
61289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61290 ac_ext=c
61291 ac_cpp='$CPP $CPPFLAGS'
61292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61299 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61300 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61301 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61302 do :
61303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61305 eval as_val=\$$as_ac_var
61306 if test "x$as_val" = x""yes; then :
61307 cat >>confdefs.h <<_ACEOF
61308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61309 _ACEOF
61312 done
61314 else
61315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61316 $as_echo_n "checking for _float trig functions... " >&6; }
61317 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61318 $as_echo_n "(cached) " >&6
61319 else
61322 ac_ext=cpp
61323 ac_cpp='$CXXCPP $CPPFLAGS'
61324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61329 /* end confdefs.h. */
61330 #include <math.h>
61332 main ()
61334 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61336 return 0;
61338 _ACEOF
61339 if ac_fn_cxx_try_compile "$LINENO"; then :
61340 glibcxx_cv_func__float_trig_use=yes
61341 else
61342 glibcxx_cv_func__float_trig_use=no
61344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61345 ac_ext=c
61346 ac_cpp='$CPP $CPPFLAGS'
61347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61354 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61355 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61356 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61357 do :
61358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61360 eval as_val=\$$as_ac_var
61361 if test "x$as_val" = x""yes; then :
61362 cat >>confdefs.h <<_ACEOF
61363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61364 _ACEOF
61367 done
61376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61377 $as_echo_n "checking for float round functions... " >&6; }
61378 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61379 $as_echo_n "(cached) " >&6
61380 else
61383 ac_ext=cpp
61384 ac_cpp='$CXXCPP $CPPFLAGS'
61385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61390 /* end confdefs.h. */
61391 #include <math.h>
61393 main ()
61395 ceilf (0); floorf (0);
61397 return 0;
61399 _ACEOF
61400 if ac_fn_cxx_try_compile "$LINENO"; then :
61401 glibcxx_cv_func_float_round_use=yes
61402 else
61403 glibcxx_cv_func_float_round_use=no
61405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61406 ac_ext=c
61407 ac_cpp='$CPP $CPPFLAGS'
61408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61415 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61416 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61417 for ac_func in ceilf floorf
61418 do :
61419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61421 eval as_val=\$$as_ac_var
61422 if test "x$as_val" = x""yes; then :
61423 cat >>confdefs.h <<_ACEOF
61424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61425 _ACEOF
61428 done
61430 else
61431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61432 $as_echo_n "checking for _float round functions... " >&6; }
61433 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61434 $as_echo_n "(cached) " >&6
61435 else
61438 ac_ext=cpp
61439 ac_cpp='$CXXCPP $CPPFLAGS'
61440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61445 /* end confdefs.h. */
61446 #include <math.h>
61448 main ()
61450 _ceilf (0); _floorf (0);
61452 return 0;
61454 _ACEOF
61455 if ac_fn_cxx_try_compile "$LINENO"; then :
61456 glibcxx_cv_func__float_round_use=yes
61457 else
61458 glibcxx_cv_func__float_round_use=no
61460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61461 ac_ext=c
61462 ac_cpp='$CPP $CPPFLAGS'
61463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61470 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61471 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61472 for ac_func in _ceilf _floorf
61473 do :
61474 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61475 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61476 eval as_val=\$$as_ac_var
61477 if test "x$as_val" = x""yes; then :
61478 cat >>confdefs.h <<_ACEOF
61479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61480 _ACEOF
61483 done
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61494 $as_echo_n "checking for expf declaration... " >&6; }
61495 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61496 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61497 $as_echo_n "(cached) " >&6
61498 else
61501 ac_ext=cpp
61502 ac_cpp='$CXXCPP $CPPFLAGS'
61503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61508 /* end confdefs.h. */
61509 #include <math.h>
61510 #ifdef HAVE_IEEEFP_H
61511 #include <ieeefp.h>
61512 #endif
61515 main ()
61517 expf(0);
61519 return 0;
61521 _ACEOF
61522 if ac_fn_cxx_try_compile "$LINENO"; then :
61523 glibcxx_cv_func_expf_use=yes
61524 else
61525 glibcxx_cv_func_expf_use=no
61527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61528 ac_ext=c
61529 ac_cpp='$CPP $CPPFLAGS'
61530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61539 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61541 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61542 for ac_func in expf
61543 do :
61544 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61545 if test "x$ac_cv_func_expf" = x""yes; then :
61546 cat >>confdefs.h <<_ACEOF
61547 #define HAVE_EXPF 1
61548 _ACEOF
61551 done
61553 else
61555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61556 $as_echo_n "checking for _expf declaration... " >&6; }
61557 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61558 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61559 $as_echo_n "(cached) " >&6
61560 else
61563 ac_ext=cpp
61564 ac_cpp='$CXXCPP $CPPFLAGS'
61565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61570 /* end confdefs.h. */
61571 #include <math.h>
61572 #ifdef HAVE_IEEEFP_H
61573 #include <ieeefp.h>
61574 #endif
61577 main ()
61579 _expf(0);
61581 return 0;
61583 _ACEOF
61584 if ac_fn_cxx_try_compile "$LINENO"; then :
61585 glibcxx_cv_func__expf_use=yes
61586 else
61587 glibcxx_cv_func__expf_use=no
61589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61590 ac_ext=c
61591 ac_cpp='$CPP $CPPFLAGS'
61592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61601 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61603 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61604 for ac_func in _expf
61605 do :
61606 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61607 if test "x$ac_cv_func__expf" = x""yes; then :
61608 cat >>confdefs.h <<_ACEOF
61609 #define HAVE__EXPF 1
61610 _ACEOF
61613 done
61622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61623 $as_echo_n "checking for isnanf declaration... " >&6; }
61624 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61625 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61626 $as_echo_n "(cached) " >&6
61627 else
61630 ac_ext=cpp
61631 ac_cpp='$CXXCPP $CPPFLAGS'
61632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61637 /* end confdefs.h. */
61638 #include <math.h>
61639 #ifdef HAVE_IEEEFP_H
61640 #include <ieeefp.h>
61641 #endif
61644 main ()
61646 isnanf(0);
61648 return 0;
61650 _ACEOF
61651 if ac_fn_cxx_try_compile "$LINENO"; then :
61652 glibcxx_cv_func_isnanf_use=yes
61653 else
61654 glibcxx_cv_func_isnanf_use=no
61656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61657 ac_ext=c
61658 ac_cpp='$CPP $CPPFLAGS'
61659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61668 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61670 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61671 for ac_func in isnanf
61672 do :
61673 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61674 if test "x$ac_cv_func_isnanf" = x""yes; then :
61675 cat >>confdefs.h <<_ACEOF
61676 #define HAVE_ISNANF 1
61677 _ACEOF
61680 done
61682 else
61684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61685 $as_echo_n "checking for _isnanf declaration... " >&6; }
61686 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61687 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61688 $as_echo_n "(cached) " >&6
61689 else
61692 ac_ext=cpp
61693 ac_cpp='$CXXCPP $CPPFLAGS'
61694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61699 /* end confdefs.h. */
61700 #include <math.h>
61701 #ifdef HAVE_IEEEFP_H
61702 #include <ieeefp.h>
61703 #endif
61706 main ()
61708 _isnanf(0);
61710 return 0;
61712 _ACEOF
61713 if ac_fn_cxx_try_compile "$LINENO"; then :
61714 glibcxx_cv_func__isnanf_use=yes
61715 else
61716 glibcxx_cv_func__isnanf_use=no
61718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61719 ac_ext=c
61720 ac_cpp='$CPP $CPPFLAGS'
61721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61730 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61732 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61733 for ac_func in _isnanf
61734 do :
61735 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61736 if test "x$ac_cv_func__isnanf" = x""yes; then :
61737 cat >>confdefs.h <<_ACEOF
61738 #define HAVE__ISNANF 1
61739 _ACEOF
61742 done
61751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61752 $as_echo_n "checking for isinff declaration... " >&6; }
61753 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61754 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61755 $as_echo_n "(cached) " >&6
61756 else
61759 ac_ext=cpp
61760 ac_cpp='$CXXCPP $CPPFLAGS'
61761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61766 /* end confdefs.h. */
61767 #include <math.h>
61768 #ifdef HAVE_IEEEFP_H
61769 #include <ieeefp.h>
61770 #endif
61773 main ()
61775 isinff(0);
61777 return 0;
61779 _ACEOF
61780 if ac_fn_cxx_try_compile "$LINENO"; then :
61781 glibcxx_cv_func_isinff_use=yes
61782 else
61783 glibcxx_cv_func_isinff_use=no
61785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61786 ac_ext=c
61787 ac_cpp='$CPP $CPPFLAGS'
61788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61797 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61799 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61800 for ac_func in isinff
61801 do :
61802 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61803 if test "x$ac_cv_func_isinff" = x""yes; then :
61804 cat >>confdefs.h <<_ACEOF
61805 #define HAVE_ISINFF 1
61806 _ACEOF
61809 done
61811 else
61813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61814 $as_echo_n "checking for _isinff declaration... " >&6; }
61815 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61816 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61817 $as_echo_n "(cached) " >&6
61818 else
61821 ac_ext=cpp
61822 ac_cpp='$CXXCPP $CPPFLAGS'
61823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61828 /* end confdefs.h. */
61829 #include <math.h>
61830 #ifdef HAVE_IEEEFP_H
61831 #include <ieeefp.h>
61832 #endif
61835 main ()
61837 _isinff(0);
61839 return 0;
61841 _ACEOF
61842 if ac_fn_cxx_try_compile "$LINENO"; then :
61843 glibcxx_cv_func__isinff_use=yes
61844 else
61845 glibcxx_cv_func__isinff_use=no
61847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61848 ac_ext=c
61849 ac_cpp='$CPP $CPPFLAGS'
61850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61859 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61861 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61862 for ac_func in _isinff
61863 do :
61864 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61865 if test "x$ac_cv_func__isinff" = x""yes; then :
61866 cat >>confdefs.h <<_ACEOF
61867 #define HAVE__ISINFF 1
61868 _ACEOF
61871 done
61880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61881 $as_echo_n "checking for atan2f declaration... " >&6; }
61882 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61883 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61884 $as_echo_n "(cached) " >&6
61885 else
61888 ac_ext=cpp
61889 ac_cpp='$CXXCPP $CPPFLAGS'
61890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61895 /* end confdefs.h. */
61896 #include <math.h>
61898 main ()
61900 atan2f(0, 0);
61902 return 0;
61904 _ACEOF
61905 if ac_fn_cxx_try_compile "$LINENO"; then :
61906 glibcxx_cv_func_atan2f_use=yes
61907 else
61908 glibcxx_cv_func_atan2f_use=no
61910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61911 ac_ext=c
61912 ac_cpp='$CPP $CPPFLAGS'
61913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61922 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61924 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61925 for ac_func in atan2f
61926 do :
61927 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61928 if test "x$ac_cv_func_atan2f" = x""yes; then :
61929 cat >>confdefs.h <<_ACEOF
61930 #define HAVE_ATAN2F 1
61931 _ACEOF
61934 done
61936 else
61938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61939 $as_echo_n "checking for _atan2f declaration... " >&6; }
61940 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61941 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61942 $as_echo_n "(cached) " >&6
61943 else
61946 ac_ext=cpp
61947 ac_cpp='$CXXCPP $CPPFLAGS'
61948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61953 /* end confdefs.h. */
61954 #include <math.h>
61956 main ()
61958 _atan2f(0, 0);
61960 return 0;
61962 _ACEOF
61963 if ac_fn_cxx_try_compile "$LINENO"; then :
61964 glibcxx_cv_func__atan2f_use=yes
61965 else
61966 glibcxx_cv_func__atan2f_use=no
61968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61969 ac_ext=c
61970 ac_cpp='$CPP $CPPFLAGS'
61971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61980 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61982 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61983 for ac_func in _atan2f
61984 do :
61985 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61986 if test "x$ac_cv_func__atan2f" = x""yes; then :
61987 cat >>confdefs.h <<_ACEOF
61988 #define HAVE__ATAN2F 1
61989 _ACEOF
61992 done
62001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62002 $as_echo_n "checking for fabsf declaration... " >&6; }
62003 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62004 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62005 $as_echo_n "(cached) " >&6
62006 else
62009 ac_ext=cpp
62010 ac_cpp='$CXXCPP $CPPFLAGS'
62011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62016 /* end confdefs.h. */
62017 #include <math.h>
62018 #ifdef HAVE_IEEEFP_H
62019 #include <ieeefp.h>
62020 #endif
62023 main ()
62025 fabsf(0);
62027 return 0;
62029 _ACEOF
62030 if ac_fn_cxx_try_compile "$LINENO"; then :
62031 glibcxx_cv_func_fabsf_use=yes
62032 else
62033 glibcxx_cv_func_fabsf_use=no
62035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62036 ac_ext=c
62037 ac_cpp='$CPP $CPPFLAGS'
62038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62047 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62049 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62050 for ac_func in fabsf
62051 do :
62052 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62053 if test "x$ac_cv_func_fabsf" = x""yes; then :
62054 cat >>confdefs.h <<_ACEOF
62055 #define HAVE_FABSF 1
62056 _ACEOF
62059 done
62061 else
62063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62064 $as_echo_n "checking for _fabsf declaration... " >&6; }
62065 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62066 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62067 $as_echo_n "(cached) " >&6
62068 else
62071 ac_ext=cpp
62072 ac_cpp='$CXXCPP $CPPFLAGS'
62073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62078 /* end confdefs.h. */
62079 #include <math.h>
62080 #ifdef HAVE_IEEEFP_H
62081 #include <ieeefp.h>
62082 #endif
62085 main ()
62087 _fabsf(0);
62089 return 0;
62091 _ACEOF
62092 if ac_fn_cxx_try_compile "$LINENO"; then :
62093 glibcxx_cv_func__fabsf_use=yes
62094 else
62095 glibcxx_cv_func__fabsf_use=no
62097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62098 ac_ext=c
62099 ac_cpp='$CPP $CPPFLAGS'
62100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62109 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62111 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62112 for ac_func in _fabsf
62113 do :
62114 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62115 if test "x$ac_cv_func__fabsf" = x""yes; then :
62116 cat >>confdefs.h <<_ACEOF
62117 #define HAVE__FABSF 1
62118 _ACEOF
62121 done
62130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62131 $as_echo_n "checking for fmodf declaration... " >&6; }
62132 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62133 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62134 $as_echo_n "(cached) " >&6
62135 else
62138 ac_ext=cpp
62139 ac_cpp='$CXXCPP $CPPFLAGS'
62140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62145 /* end confdefs.h. */
62146 #include <math.h>
62148 main ()
62150 fmodf(0, 0);
62152 return 0;
62154 _ACEOF
62155 if ac_fn_cxx_try_compile "$LINENO"; then :
62156 glibcxx_cv_func_fmodf_use=yes
62157 else
62158 glibcxx_cv_func_fmodf_use=no
62160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62161 ac_ext=c
62162 ac_cpp='$CPP $CPPFLAGS'
62163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62172 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62174 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62175 for ac_func in fmodf
62176 do :
62177 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62178 if test "x$ac_cv_func_fmodf" = x""yes; then :
62179 cat >>confdefs.h <<_ACEOF
62180 #define HAVE_FMODF 1
62181 _ACEOF
62184 done
62186 else
62188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62189 $as_echo_n "checking for _fmodf declaration... " >&6; }
62190 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62191 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62192 $as_echo_n "(cached) " >&6
62193 else
62196 ac_ext=cpp
62197 ac_cpp='$CXXCPP $CPPFLAGS'
62198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62203 /* end confdefs.h. */
62204 #include <math.h>
62206 main ()
62208 _fmodf(0, 0);
62210 return 0;
62212 _ACEOF
62213 if ac_fn_cxx_try_compile "$LINENO"; then :
62214 glibcxx_cv_func__fmodf_use=yes
62215 else
62216 glibcxx_cv_func__fmodf_use=no
62218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62219 ac_ext=c
62220 ac_cpp='$CPP $CPPFLAGS'
62221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62230 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62232 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62233 for ac_func in _fmodf
62234 do :
62235 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62236 if test "x$ac_cv_func__fmodf" = x""yes; then :
62237 cat >>confdefs.h <<_ACEOF
62238 #define HAVE__FMODF 1
62239 _ACEOF
62242 done
62251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62252 $as_echo_n "checking for frexpf declaration... " >&6; }
62253 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62254 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62255 $as_echo_n "(cached) " >&6
62256 else
62259 ac_ext=cpp
62260 ac_cpp='$CXXCPP $CPPFLAGS'
62261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62266 /* end confdefs.h. */
62267 #include <math.h>
62269 main ()
62271 frexpf(0, 0);
62273 return 0;
62275 _ACEOF
62276 if ac_fn_cxx_try_compile "$LINENO"; then :
62277 glibcxx_cv_func_frexpf_use=yes
62278 else
62279 glibcxx_cv_func_frexpf_use=no
62281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62282 ac_ext=c
62283 ac_cpp='$CPP $CPPFLAGS'
62284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62293 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62295 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62296 for ac_func in frexpf
62297 do :
62298 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62299 if test "x$ac_cv_func_frexpf" = x""yes; then :
62300 cat >>confdefs.h <<_ACEOF
62301 #define HAVE_FREXPF 1
62302 _ACEOF
62305 done
62307 else
62309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62310 $as_echo_n "checking for _frexpf declaration... " >&6; }
62311 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62312 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62313 $as_echo_n "(cached) " >&6
62314 else
62317 ac_ext=cpp
62318 ac_cpp='$CXXCPP $CPPFLAGS'
62319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62324 /* end confdefs.h. */
62325 #include <math.h>
62327 main ()
62329 _frexpf(0, 0);
62331 return 0;
62333 _ACEOF
62334 if ac_fn_cxx_try_compile "$LINENO"; then :
62335 glibcxx_cv_func__frexpf_use=yes
62336 else
62337 glibcxx_cv_func__frexpf_use=no
62339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62340 ac_ext=c
62341 ac_cpp='$CPP $CPPFLAGS'
62342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62351 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62353 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62354 for ac_func in _frexpf
62355 do :
62356 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62357 if test "x$ac_cv_func__frexpf" = x""yes; then :
62358 cat >>confdefs.h <<_ACEOF
62359 #define HAVE__FREXPF 1
62360 _ACEOF
62363 done
62372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62373 $as_echo_n "checking for hypotf declaration... " >&6; }
62374 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62375 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62376 $as_echo_n "(cached) " >&6
62377 else
62380 ac_ext=cpp
62381 ac_cpp='$CXXCPP $CPPFLAGS'
62382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62387 /* end confdefs.h. */
62388 #include <math.h>
62390 main ()
62392 hypotf(0, 0);
62394 return 0;
62396 _ACEOF
62397 if ac_fn_cxx_try_compile "$LINENO"; then :
62398 glibcxx_cv_func_hypotf_use=yes
62399 else
62400 glibcxx_cv_func_hypotf_use=no
62402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62403 ac_ext=c
62404 ac_cpp='$CPP $CPPFLAGS'
62405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62414 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62416 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62417 for ac_func in hypotf
62418 do :
62419 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62420 if test "x$ac_cv_func_hypotf" = x""yes; then :
62421 cat >>confdefs.h <<_ACEOF
62422 #define HAVE_HYPOTF 1
62423 _ACEOF
62426 done
62428 else
62430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62431 $as_echo_n "checking for _hypotf declaration... " >&6; }
62432 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62433 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62434 $as_echo_n "(cached) " >&6
62435 else
62438 ac_ext=cpp
62439 ac_cpp='$CXXCPP $CPPFLAGS'
62440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62445 /* end confdefs.h. */
62446 #include <math.h>
62448 main ()
62450 _hypotf(0, 0);
62452 return 0;
62454 _ACEOF
62455 if ac_fn_cxx_try_compile "$LINENO"; then :
62456 glibcxx_cv_func__hypotf_use=yes
62457 else
62458 glibcxx_cv_func__hypotf_use=no
62460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62461 ac_ext=c
62462 ac_cpp='$CPP $CPPFLAGS'
62463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62472 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62474 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62475 for ac_func in _hypotf
62476 do :
62477 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62478 if test "x$ac_cv_func__hypotf" = x""yes; then :
62479 cat >>confdefs.h <<_ACEOF
62480 #define HAVE__HYPOTF 1
62481 _ACEOF
62484 done
62493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62494 $as_echo_n "checking for ldexpf declaration... " >&6; }
62495 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62496 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62497 $as_echo_n "(cached) " >&6
62498 else
62501 ac_ext=cpp
62502 ac_cpp='$CXXCPP $CPPFLAGS'
62503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62508 /* end confdefs.h. */
62509 #include <math.h>
62511 main ()
62513 ldexpf(0, 0);
62515 return 0;
62517 _ACEOF
62518 if ac_fn_cxx_try_compile "$LINENO"; then :
62519 glibcxx_cv_func_ldexpf_use=yes
62520 else
62521 glibcxx_cv_func_ldexpf_use=no
62523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62524 ac_ext=c
62525 ac_cpp='$CPP $CPPFLAGS'
62526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62535 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62537 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62538 for ac_func in ldexpf
62539 do :
62540 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62541 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62542 cat >>confdefs.h <<_ACEOF
62543 #define HAVE_LDEXPF 1
62544 _ACEOF
62547 done
62549 else
62551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62552 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62553 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62554 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62555 $as_echo_n "(cached) " >&6
62556 else
62559 ac_ext=cpp
62560 ac_cpp='$CXXCPP $CPPFLAGS'
62561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62566 /* end confdefs.h. */
62567 #include <math.h>
62569 main ()
62571 _ldexpf(0, 0);
62573 return 0;
62575 _ACEOF
62576 if ac_fn_cxx_try_compile "$LINENO"; then :
62577 glibcxx_cv_func__ldexpf_use=yes
62578 else
62579 glibcxx_cv_func__ldexpf_use=no
62581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62582 ac_ext=c
62583 ac_cpp='$CPP $CPPFLAGS'
62584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62593 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62595 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62596 for ac_func in _ldexpf
62597 do :
62598 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62599 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62600 cat >>confdefs.h <<_ACEOF
62601 #define HAVE__LDEXPF 1
62602 _ACEOF
62605 done
62614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62615 $as_echo_n "checking for logf declaration... " >&6; }
62616 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62617 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62618 $as_echo_n "(cached) " >&6
62619 else
62622 ac_ext=cpp
62623 ac_cpp='$CXXCPP $CPPFLAGS'
62624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62629 /* end confdefs.h. */
62630 #include <math.h>
62631 #ifdef HAVE_IEEEFP_H
62632 #include <ieeefp.h>
62633 #endif
62636 main ()
62638 logf(0);
62640 return 0;
62642 _ACEOF
62643 if ac_fn_cxx_try_compile "$LINENO"; then :
62644 glibcxx_cv_func_logf_use=yes
62645 else
62646 glibcxx_cv_func_logf_use=no
62648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62649 ac_ext=c
62650 ac_cpp='$CPP $CPPFLAGS'
62651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62660 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62662 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62663 for ac_func in logf
62664 do :
62665 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62666 if test "x$ac_cv_func_logf" = x""yes; then :
62667 cat >>confdefs.h <<_ACEOF
62668 #define HAVE_LOGF 1
62669 _ACEOF
62672 done
62674 else
62676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62677 $as_echo_n "checking for _logf declaration... " >&6; }
62678 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62679 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62680 $as_echo_n "(cached) " >&6
62681 else
62684 ac_ext=cpp
62685 ac_cpp='$CXXCPP $CPPFLAGS'
62686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62691 /* end confdefs.h. */
62692 #include <math.h>
62693 #ifdef HAVE_IEEEFP_H
62694 #include <ieeefp.h>
62695 #endif
62698 main ()
62700 _logf(0);
62702 return 0;
62704 _ACEOF
62705 if ac_fn_cxx_try_compile "$LINENO"; then :
62706 glibcxx_cv_func__logf_use=yes
62707 else
62708 glibcxx_cv_func__logf_use=no
62710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62711 ac_ext=c
62712 ac_cpp='$CPP $CPPFLAGS'
62713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62722 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62724 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62725 for ac_func in _logf
62726 do :
62727 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62728 if test "x$ac_cv_func__logf" = x""yes; then :
62729 cat >>confdefs.h <<_ACEOF
62730 #define HAVE__LOGF 1
62731 _ACEOF
62734 done
62743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62744 $as_echo_n "checking for log10f declaration... " >&6; }
62745 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62746 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62747 $as_echo_n "(cached) " >&6
62748 else
62751 ac_ext=cpp
62752 ac_cpp='$CXXCPP $CPPFLAGS'
62753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62758 /* end confdefs.h. */
62759 #include <math.h>
62760 #ifdef HAVE_IEEEFP_H
62761 #include <ieeefp.h>
62762 #endif
62765 main ()
62767 log10f(0);
62769 return 0;
62771 _ACEOF
62772 if ac_fn_cxx_try_compile "$LINENO"; then :
62773 glibcxx_cv_func_log10f_use=yes
62774 else
62775 glibcxx_cv_func_log10f_use=no
62777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62778 ac_ext=c
62779 ac_cpp='$CPP $CPPFLAGS'
62780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62789 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62791 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62792 for ac_func in log10f
62793 do :
62794 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62795 if test "x$ac_cv_func_log10f" = x""yes; then :
62796 cat >>confdefs.h <<_ACEOF
62797 #define HAVE_LOG10F 1
62798 _ACEOF
62801 done
62803 else
62805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62806 $as_echo_n "checking for _log10f declaration... " >&6; }
62807 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62808 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62809 $as_echo_n "(cached) " >&6
62810 else
62813 ac_ext=cpp
62814 ac_cpp='$CXXCPP $CPPFLAGS'
62815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62820 /* end confdefs.h. */
62821 #include <math.h>
62822 #ifdef HAVE_IEEEFP_H
62823 #include <ieeefp.h>
62824 #endif
62827 main ()
62829 _log10f(0);
62831 return 0;
62833 _ACEOF
62834 if ac_fn_cxx_try_compile "$LINENO"; then :
62835 glibcxx_cv_func__log10f_use=yes
62836 else
62837 glibcxx_cv_func__log10f_use=no
62839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62840 ac_ext=c
62841 ac_cpp='$CPP $CPPFLAGS'
62842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62851 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62853 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62854 for ac_func in _log10f
62855 do :
62856 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62857 if test "x$ac_cv_func__log10f" = x""yes; then :
62858 cat >>confdefs.h <<_ACEOF
62859 #define HAVE__LOG10F 1
62860 _ACEOF
62863 done
62872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62873 $as_echo_n "checking for modff declaration... " >&6; }
62874 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62875 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62876 $as_echo_n "(cached) " >&6
62877 else
62880 ac_ext=cpp
62881 ac_cpp='$CXXCPP $CPPFLAGS'
62882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62887 /* end confdefs.h. */
62888 #include <math.h>
62890 main ()
62892 modff(0, 0);
62894 return 0;
62896 _ACEOF
62897 if ac_fn_cxx_try_compile "$LINENO"; then :
62898 glibcxx_cv_func_modff_use=yes
62899 else
62900 glibcxx_cv_func_modff_use=no
62902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62903 ac_ext=c
62904 ac_cpp='$CPP $CPPFLAGS'
62905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62914 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62916 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62917 for ac_func in modff
62918 do :
62919 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62920 if test "x$ac_cv_func_modff" = x""yes; then :
62921 cat >>confdefs.h <<_ACEOF
62922 #define HAVE_MODFF 1
62923 _ACEOF
62926 done
62928 else
62930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62931 $as_echo_n "checking for _modff declaration... " >&6; }
62932 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62933 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62934 $as_echo_n "(cached) " >&6
62935 else
62938 ac_ext=cpp
62939 ac_cpp='$CXXCPP $CPPFLAGS'
62940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62945 /* end confdefs.h. */
62946 #include <math.h>
62948 main ()
62950 _modff(0, 0);
62952 return 0;
62954 _ACEOF
62955 if ac_fn_cxx_try_compile "$LINENO"; then :
62956 glibcxx_cv_func__modff_use=yes
62957 else
62958 glibcxx_cv_func__modff_use=no
62960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62961 ac_ext=c
62962 ac_cpp='$CPP $CPPFLAGS'
62963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62972 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62974 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62975 for ac_func in _modff
62976 do :
62977 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62978 if test "x$ac_cv_func__modff" = x""yes; then :
62979 cat >>confdefs.h <<_ACEOF
62980 #define HAVE__MODFF 1
62981 _ACEOF
62984 done
62993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62994 $as_echo_n "checking for modf declaration... " >&6; }
62995 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62996 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62997 $as_echo_n "(cached) " >&6
62998 else
63001 ac_ext=cpp
63002 ac_cpp='$CXXCPP $CPPFLAGS'
63003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63008 /* end confdefs.h. */
63009 #include <math.h>
63011 main ()
63013 modf(0, 0);
63015 return 0;
63017 _ACEOF
63018 if ac_fn_cxx_try_compile "$LINENO"; then :
63019 glibcxx_cv_func_modf_use=yes
63020 else
63021 glibcxx_cv_func_modf_use=no
63023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63024 ac_ext=c
63025 ac_cpp='$CPP $CPPFLAGS'
63026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63035 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63037 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63038 for ac_func in modf
63039 do :
63040 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63041 if test "x$ac_cv_func_modf" = x""yes; then :
63042 cat >>confdefs.h <<_ACEOF
63043 #define HAVE_MODF 1
63044 _ACEOF
63047 done
63049 else
63051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63052 $as_echo_n "checking for _modf declaration... " >&6; }
63053 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63054 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63055 $as_echo_n "(cached) " >&6
63056 else
63059 ac_ext=cpp
63060 ac_cpp='$CXXCPP $CPPFLAGS'
63061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63066 /* end confdefs.h. */
63067 #include <math.h>
63069 main ()
63071 _modf(0, 0);
63073 return 0;
63075 _ACEOF
63076 if ac_fn_cxx_try_compile "$LINENO"; then :
63077 glibcxx_cv_func__modf_use=yes
63078 else
63079 glibcxx_cv_func__modf_use=no
63081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63082 ac_ext=c
63083 ac_cpp='$CPP $CPPFLAGS'
63084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63093 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63095 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63096 for ac_func in _modf
63097 do :
63098 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63099 if test "x$ac_cv_func__modf" = x""yes; then :
63100 cat >>confdefs.h <<_ACEOF
63101 #define HAVE__MODF 1
63102 _ACEOF
63105 done
63114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63115 $as_echo_n "checking for powf declaration... " >&6; }
63116 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63117 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63118 $as_echo_n "(cached) " >&6
63119 else
63122 ac_ext=cpp
63123 ac_cpp='$CXXCPP $CPPFLAGS'
63124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63129 /* end confdefs.h. */
63130 #include <math.h>
63132 main ()
63134 powf(0, 0);
63136 return 0;
63138 _ACEOF
63139 if ac_fn_cxx_try_compile "$LINENO"; then :
63140 glibcxx_cv_func_powf_use=yes
63141 else
63142 glibcxx_cv_func_powf_use=no
63144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63145 ac_ext=c
63146 ac_cpp='$CPP $CPPFLAGS'
63147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63156 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63158 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63159 for ac_func in powf
63160 do :
63161 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63162 if test "x$ac_cv_func_powf" = x""yes; then :
63163 cat >>confdefs.h <<_ACEOF
63164 #define HAVE_POWF 1
63165 _ACEOF
63168 done
63170 else
63172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63173 $as_echo_n "checking for _powf declaration... " >&6; }
63174 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63175 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63176 $as_echo_n "(cached) " >&6
63177 else
63180 ac_ext=cpp
63181 ac_cpp='$CXXCPP $CPPFLAGS'
63182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63187 /* end confdefs.h. */
63188 #include <math.h>
63190 main ()
63192 _powf(0, 0);
63194 return 0;
63196 _ACEOF
63197 if ac_fn_cxx_try_compile "$LINENO"; then :
63198 glibcxx_cv_func__powf_use=yes
63199 else
63200 glibcxx_cv_func__powf_use=no
63202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63203 ac_ext=c
63204 ac_cpp='$CPP $CPPFLAGS'
63205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63214 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63216 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63217 for ac_func in _powf
63218 do :
63219 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63220 if test "x$ac_cv_func__powf" = x""yes; then :
63221 cat >>confdefs.h <<_ACEOF
63222 #define HAVE__POWF 1
63223 _ACEOF
63226 done
63235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63236 $as_echo_n "checking for sqrtf declaration... " >&6; }
63237 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63238 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63239 $as_echo_n "(cached) " >&6
63240 else
63243 ac_ext=cpp
63244 ac_cpp='$CXXCPP $CPPFLAGS'
63245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63250 /* end confdefs.h. */
63251 #include <math.h>
63252 #ifdef HAVE_IEEEFP_H
63253 #include <ieeefp.h>
63254 #endif
63257 main ()
63259 sqrtf(0);
63261 return 0;
63263 _ACEOF
63264 if ac_fn_cxx_try_compile "$LINENO"; then :
63265 glibcxx_cv_func_sqrtf_use=yes
63266 else
63267 glibcxx_cv_func_sqrtf_use=no
63269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63270 ac_ext=c
63271 ac_cpp='$CPP $CPPFLAGS'
63272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63281 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63283 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63284 for ac_func in sqrtf
63285 do :
63286 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63287 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63288 cat >>confdefs.h <<_ACEOF
63289 #define HAVE_SQRTF 1
63290 _ACEOF
63293 done
63295 else
63297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63298 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63299 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63300 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63301 $as_echo_n "(cached) " >&6
63302 else
63305 ac_ext=cpp
63306 ac_cpp='$CXXCPP $CPPFLAGS'
63307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63312 /* end confdefs.h. */
63313 #include <math.h>
63314 #ifdef HAVE_IEEEFP_H
63315 #include <ieeefp.h>
63316 #endif
63319 main ()
63321 _sqrtf(0);
63323 return 0;
63325 _ACEOF
63326 if ac_fn_cxx_try_compile "$LINENO"; then :
63327 glibcxx_cv_func__sqrtf_use=yes
63328 else
63329 glibcxx_cv_func__sqrtf_use=no
63331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63332 ac_ext=c
63333 ac_cpp='$CPP $CPPFLAGS'
63334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63343 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63345 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63346 for ac_func in _sqrtf
63347 do :
63348 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63349 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63350 cat >>confdefs.h <<_ACEOF
63351 #define HAVE__SQRTF 1
63352 _ACEOF
63355 done
63364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63365 $as_echo_n "checking for sincosf declaration... " >&6; }
63366 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63367 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63368 $as_echo_n "(cached) " >&6
63369 else
63372 ac_ext=cpp
63373 ac_cpp='$CXXCPP $CPPFLAGS'
63374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63379 /* end confdefs.h. */
63380 #include <math.h>
63382 main ()
63384 sincosf(0, 0, 0);
63386 return 0;
63388 _ACEOF
63389 if ac_fn_cxx_try_compile "$LINENO"; then :
63390 glibcxx_cv_func_sincosf_use=yes
63391 else
63392 glibcxx_cv_func_sincosf_use=no
63394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63395 ac_ext=c
63396 ac_cpp='$CPP $CPPFLAGS'
63397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63406 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63408 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63409 for ac_func in sincosf
63410 do :
63411 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63412 if test "x$ac_cv_func_sincosf" = x""yes; then :
63413 cat >>confdefs.h <<_ACEOF
63414 #define HAVE_SINCOSF 1
63415 _ACEOF
63418 done
63420 else
63422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63423 $as_echo_n "checking for _sincosf declaration... " >&6; }
63424 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63425 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63426 $as_echo_n "(cached) " >&6
63427 else
63430 ac_ext=cpp
63431 ac_cpp='$CXXCPP $CPPFLAGS'
63432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63437 /* end confdefs.h. */
63438 #include <math.h>
63440 main ()
63442 _sincosf(0, 0, 0);
63444 return 0;
63446 _ACEOF
63447 if ac_fn_cxx_try_compile "$LINENO"; then :
63448 glibcxx_cv_func__sincosf_use=yes
63449 else
63450 glibcxx_cv_func__sincosf_use=no
63452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63453 ac_ext=c
63454 ac_cpp='$CPP $CPPFLAGS'
63455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63464 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63466 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63467 for ac_func in _sincosf
63468 do :
63469 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63470 if test "x$ac_cv_func__sincosf" = x""yes; then :
63471 cat >>confdefs.h <<_ACEOF
63472 #define HAVE__SINCOSF 1
63473 _ACEOF
63476 done
63485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63486 $as_echo_n "checking for finitef declaration... " >&6; }
63487 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63488 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63489 $as_echo_n "(cached) " >&6
63490 else
63493 ac_ext=cpp
63494 ac_cpp='$CXXCPP $CPPFLAGS'
63495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63500 /* end confdefs.h. */
63501 #include <math.h>
63502 #ifdef HAVE_IEEEFP_H
63503 #include <ieeefp.h>
63504 #endif
63507 main ()
63509 finitef(0);
63511 return 0;
63513 _ACEOF
63514 if ac_fn_cxx_try_compile "$LINENO"; then :
63515 glibcxx_cv_func_finitef_use=yes
63516 else
63517 glibcxx_cv_func_finitef_use=no
63519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63520 ac_ext=c
63521 ac_cpp='$CPP $CPPFLAGS'
63522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63531 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63533 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63534 for ac_func in finitef
63535 do :
63536 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63537 if test "x$ac_cv_func_finitef" = x""yes; then :
63538 cat >>confdefs.h <<_ACEOF
63539 #define HAVE_FINITEF 1
63540 _ACEOF
63543 done
63545 else
63547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63548 $as_echo_n "checking for _finitef declaration... " >&6; }
63549 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63550 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63551 $as_echo_n "(cached) " >&6
63552 else
63555 ac_ext=cpp
63556 ac_cpp='$CXXCPP $CPPFLAGS'
63557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63562 /* end confdefs.h. */
63563 #include <math.h>
63564 #ifdef HAVE_IEEEFP_H
63565 #include <ieeefp.h>
63566 #endif
63569 main ()
63571 _finitef(0);
63573 return 0;
63575 _ACEOF
63576 if ac_fn_cxx_try_compile "$LINENO"; then :
63577 glibcxx_cv_func__finitef_use=yes
63578 else
63579 glibcxx_cv_func__finitef_use=no
63581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63582 ac_ext=c
63583 ac_cpp='$CPP $CPPFLAGS'
63584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63593 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63595 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63596 for ac_func in _finitef
63597 do :
63598 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63599 if test "x$ac_cv_func__finitef" = x""yes; then :
63600 cat >>confdefs.h <<_ACEOF
63601 #define HAVE__FINITEF 1
63602 _ACEOF
63605 done
63614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63615 $as_echo_n "checking for long double trig functions... " >&6; }
63616 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63617 $as_echo_n "(cached) " >&6
63618 else
63621 ac_ext=cpp
63622 ac_cpp='$CXXCPP $CPPFLAGS'
63623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63628 /* end confdefs.h. */
63629 #include <math.h>
63631 main ()
63633 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63635 return 0;
63637 _ACEOF
63638 if ac_fn_cxx_try_compile "$LINENO"; then :
63639 glibcxx_cv_func_long_double_trig_use=yes
63640 else
63641 glibcxx_cv_func_long_double_trig_use=no
63643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63644 ac_ext=c
63645 ac_cpp='$CPP $CPPFLAGS'
63646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63653 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63654 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63655 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63656 do :
63657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63658 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63659 eval as_val=\$$as_ac_var
63660 if test "x$as_val" = x""yes; then :
63661 cat >>confdefs.h <<_ACEOF
63662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63663 _ACEOF
63666 done
63668 else
63669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63670 $as_echo_n "checking for _long double trig functions... " >&6; }
63671 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63672 $as_echo_n "(cached) " >&6
63673 else
63676 ac_ext=cpp
63677 ac_cpp='$CXXCPP $CPPFLAGS'
63678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63683 /* end confdefs.h. */
63684 #include <math.h>
63686 main ()
63688 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63690 return 0;
63692 _ACEOF
63693 if ac_fn_cxx_try_compile "$LINENO"; then :
63694 glibcxx_cv_func__long_double_trig_use=yes
63695 else
63696 glibcxx_cv_func__long_double_trig_use=no
63698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63699 ac_ext=c
63700 ac_cpp='$CPP $CPPFLAGS'
63701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63708 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63709 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63710 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63711 do :
63712 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63713 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63714 eval as_val=\$$as_ac_var
63715 if test "x$as_val" = x""yes; then :
63716 cat >>confdefs.h <<_ACEOF
63717 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63718 _ACEOF
63721 done
63730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63731 $as_echo_n "checking for long double round functions... " >&6; }
63732 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63733 $as_echo_n "(cached) " >&6
63734 else
63737 ac_ext=cpp
63738 ac_cpp='$CXXCPP $CPPFLAGS'
63739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63744 /* end confdefs.h. */
63745 #include <math.h>
63747 main ()
63749 ceill (0); floorl (0);
63751 return 0;
63753 _ACEOF
63754 if ac_fn_cxx_try_compile "$LINENO"; then :
63755 glibcxx_cv_func_long_double_round_use=yes
63756 else
63757 glibcxx_cv_func_long_double_round_use=no
63759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63760 ac_ext=c
63761 ac_cpp='$CPP $CPPFLAGS'
63762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63769 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63770 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63771 for ac_func in ceill floorl
63772 do :
63773 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63774 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63775 eval as_val=\$$as_ac_var
63776 if test "x$as_val" = x""yes; then :
63777 cat >>confdefs.h <<_ACEOF
63778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63779 _ACEOF
63782 done
63784 else
63785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63786 $as_echo_n "checking for _long double round functions... " >&6; }
63787 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63788 $as_echo_n "(cached) " >&6
63789 else
63792 ac_ext=cpp
63793 ac_cpp='$CXXCPP $CPPFLAGS'
63794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63799 /* end confdefs.h. */
63800 #include <math.h>
63802 main ()
63804 _ceill (0); _floorl (0);
63806 return 0;
63808 _ACEOF
63809 if ac_fn_cxx_try_compile "$LINENO"; then :
63810 glibcxx_cv_func__long_double_round_use=yes
63811 else
63812 glibcxx_cv_func__long_double_round_use=no
63814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63815 ac_ext=c
63816 ac_cpp='$CPP $CPPFLAGS'
63817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63824 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63825 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63826 for ac_func in _ceill _floorl
63827 do :
63828 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63829 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63830 eval as_val=\$$as_ac_var
63831 if test "x$as_val" = x""yes; then :
63832 cat >>confdefs.h <<_ACEOF
63833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63834 _ACEOF
63837 done
63847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63848 $as_echo_n "checking for isnanl declaration... " >&6; }
63849 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63850 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63851 $as_echo_n "(cached) " >&6
63852 else
63855 ac_ext=cpp
63856 ac_cpp='$CXXCPP $CPPFLAGS'
63857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63862 /* end confdefs.h. */
63863 #include <math.h>
63864 #ifdef HAVE_IEEEFP_H
63865 #include <ieeefp.h>
63866 #endif
63869 main ()
63871 isnanl(0);
63873 return 0;
63875 _ACEOF
63876 if ac_fn_cxx_try_compile "$LINENO"; then :
63877 glibcxx_cv_func_isnanl_use=yes
63878 else
63879 glibcxx_cv_func_isnanl_use=no
63881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63882 ac_ext=c
63883 ac_cpp='$CPP $CPPFLAGS'
63884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63893 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63895 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63896 for ac_func in isnanl
63897 do :
63898 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63899 if test "x$ac_cv_func_isnanl" = x""yes; then :
63900 cat >>confdefs.h <<_ACEOF
63901 #define HAVE_ISNANL 1
63902 _ACEOF
63905 done
63907 else
63909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63910 $as_echo_n "checking for _isnanl declaration... " >&6; }
63911 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63912 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63913 $as_echo_n "(cached) " >&6
63914 else
63917 ac_ext=cpp
63918 ac_cpp='$CXXCPP $CPPFLAGS'
63919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63924 /* end confdefs.h. */
63925 #include <math.h>
63926 #ifdef HAVE_IEEEFP_H
63927 #include <ieeefp.h>
63928 #endif
63931 main ()
63933 _isnanl(0);
63935 return 0;
63937 _ACEOF
63938 if ac_fn_cxx_try_compile "$LINENO"; then :
63939 glibcxx_cv_func__isnanl_use=yes
63940 else
63941 glibcxx_cv_func__isnanl_use=no
63943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63944 ac_ext=c
63945 ac_cpp='$CPP $CPPFLAGS'
63946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63955 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63957 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63958 for ac_func in _isnanl
63959 do :
63960 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63961 if test "x$ac_cv_func__isnanl" = x""yes; then :
63962 cat >>confdefs.h <<_ACEOF
63963 #define HAVE__ISNANL 1
63964 _ACEOF
63967 done
63976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63977 $as_echo_n "checking for isinfl declaration... " >&6; }
63978 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63979 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63980 $as_echo_n "(cached) " >&6
63981 else
63984 ac_ext=cpp
63985 ac_cpp='$CXXCPP $CPPFLAGS'
63986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63991 /* end confdefs.h. */
63992 #include <math.h>
63993 #ifdef HAVE_IEEEFP_H
63994 #include <ieeefp.h>
63995 #endif
63998 main ()
64000 isinfl(0);
64002 return 0;
64004 _ACEOF
64005 if ac_fn_cxx_try_compile "$LINENO"; then :
64006 glibcxx_cv_func_isinfl_use=yes
64007 else
64008 glibcxx_cv_func_isinfl_use=no
64010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64011 ac_ext=c
64012 ac_cpp='$CPP $CPPFLAGS'
64013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64022 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64024 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64025 for ac_func in isinfl
64026 do :
64027 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64028 if test "x$ac_cv_func_isinfl" = x""yes; then :
64029 cat >>confdefs.h <<_ACEOF
64030 #define HAVE_ISINFL 1
64031 _ACEOF
64034 done
64036 else
64038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64039 $as_echo_n "checking for _isinfl declaration... " >&6; }
64040 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64041 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64042 $as_echo_n "(cached) " >&6
64043 else
64046 ac_ext=cpp
64047 ac_cpp='$CXXCPP $CPPFLAGS'
64048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64053 /* end confdefs.h. */
64054 #include <math.h>
64055 #ifdef HAVE_IEEEFP_H
64056 #include <ieeefp.h>
64057 #endif
64060 main ()
64062 _isinfl(0);
64064 return 0;
64066 _ACEOF
64067 if ac_fn_cxx_try_compile "$LINENO"; then :
64068 glibcxx_cv_func__isinfl_use=yes
64069 else
64070 glibcxx_cv_func__isinfl_use=no
64072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64073 ac_ext=c
64074 ac_cpp='$CPP $CPPFLAGS'
64075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64084 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64086 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64087 for ac_func in _isinfl
64088 do :
64089 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64090 if test "x$ac_cv_func__isinfl" = x""yes; then :
64091 cat >>confdefs.h <<_ACEOF
64092 #define HAVE__ISINFL 1
64093 _ACEOF
64096 done
64105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64106 $as_echo_n "checking for atan2l declaration... " >&6; }
64107 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64108 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64109 $as_echo_n "(cached) " >&6
64110 else
64113 ac_ext=cpp
64114 ac_cpp='$CXXCPP $CPPFLAGS'
64115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64120 /* end confdefs.h. */
64121 #include <math.h>
64123 main ()
64125 atan2l(0, 0);
64127 return 0;
64129 _ACEOF
64130 if ac_fn_cxx_try_compile "$LINENO"; then :
64131 glibcxx_cv_func_atan2l_use=yes
64132 else
64133 glibcxx_cv_func_atan2l_use=no
64135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64136 ac_ext=c
64137 ac_cpp='$CPP $CPPFLAGS'
64138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64147 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64149 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64150 for ac_func in atan2l
64151 do :
64152 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64153 if test "x$ac_cv_func_atan2l" = x""yes; then :
64154 cat >>confdefs.h <<_ACEOF
64155 #define HAVE_ATAN2L 1
64156 _ACEOF
64159 done
64161 else
64163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64164 $as_echo_n "checking for _atan2l declaration... " >&6; }
64165 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64166 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64167 $as_echo_n "(cached) " >&6
64168 else
64171 ac_ext=cpp
64172 ac_cpp='$CXXCPP $CPPFLAGS'
64173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64178 /* end confdefs.h. */
64179 #include <math.h>
64181 main ()
64183 _atan2l(0, 0);
64185 return 0;
64187 _ACEOF
64188 if ac_fn_cxx_try_compile "$LINENO"; then :
64189 glibcxx_cv_func__atan2l_use=yes
64190 else
64191 glibcxx_cv_func__atan2l_use=no
64193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64194 ac_ext=c
64195 ac_cpp='$CPP $CPPFLAGS'
64196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64205 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64207 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64208 for ac_func in _atan2l
64209 do :
64210 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64211 if test "x$ac_cv_func__atan2l" = x""yes; then :
64212 cat >>confdefs.h <<_ACEOF
64213 #define HAVE__ATAN2L 1
64214 _ACEOF
64217 done
64226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64227 $as_echo_n "checking for expl declaration... " >&6; }
64228 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64229 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64230 $as_echo_n "(cached) " >&6
64231 else
64234 ac_ext=cpp
64235 ac_cpp='$CXXCPP $CPPFLAGS'
64236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64241 /* end confdefs.h. */
64242 #include <math.h>
64243 #ifdef HAVE_IEEEFP_H
64244 #include <ieeefp.h>
64245 #endif
64248 main ()
64250 expl(0);
64252 return 0;
64254 _ACEOF
64255 if ac_fn_cxx_try_compile "$LINENO"; then :
64256 glibcxx_cv_func_expl_use=yes
64257 else
64258 glibcxx_cv_func_expl_use=no
64260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64261 ac_ext=c
64262 ac_cpp='$CPP $CPPFLAGS'
64263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64272 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64274 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64275 for ac_func in expl
64276 do :
64277 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64278 if test "x$ac_cv_func_expl" = x""yes; then :
64279 cat >>confdefs.h <<_ACEOF
64280 #define HAVE_EXPL 1
64281 _ACEOF
64284 done
64286 else
64288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64289 $as_echo_n "checking for _expl declaration... " >&6; }
64290 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64291 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64292 $as_echo_n "(cached) " >&6
64293 else
64296 ac_ext=cpp
64297 ac_cpp='$CXXCPP $CPPFLAGS'
64298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64303 /* end confdefs.h. */
64304 #include <math.h>
64305 #ifdef HAVE_IEEEFP_H
64306 #include <ieeefp.h>
64307 #endif
64310 main ()
64312 _expl(0);
64314 return 0;
64316 _ACEOF
64317 if ac_fn_cxx_try_compile "$LINENO"; then :
64318 glibcxx_cv_func__expl_use=yes
64319 else
64320 glibcxx_cv_func__expl_use=no
64322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64323 ac_ext=c
64324 ac_cpp='$CPP $CPPFLAGS'
64325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64334 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64336 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64337 for ac_func in _expl
64338 do :
64339 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64340 if test "x$ac_cv_func__expl" = x""yes; then :
64341 cat >>confdefs.h <<_ACEOF
64342 #define HAVE__EXPL 1
64343 _ACEOF
64346 done
64355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64356 $as_echo_n "checking for fabsl declaration... " >&6; }
64357 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64358 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64359 $as_echo_n "(cached) " >&6
64360 else
64363 ac_ext=cpp
64364 ac_cpp='$CXXCPP $CPPFLAGS'
64365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64370 /* end confdefs.h. */
64371 #include <math.h>
64372 #ifdef HAVE_IEEEFP_H
64373 #include <ieeefp.h>
64374 #endif
64377 main ()
64379 fabsl(0);
64381 return 0;
64383 _ACEOF
64384 if ac_fn_cxx_try_compile "$LINENO"; then :
64385 glibcxx_cv_func_fabsl_use=yes
64386 else
64387 glibcxx_cv_func_fabsl_use=no
64389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64390 ac_ext=c
64391 ac_cpp='$CPP $CPPFLAGS'
64392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64401 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64403 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64404 for ac_func in fabsl
64405 do :
64406 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64407 if test "x$ac_cv_func_fabsl" = x""yes; then :
64408 cat >>confdefs.h <<_ACEOF
64409 #define HAVE_FABSL 1
64410 _ACEOF
64413 done
64415 else
64417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64418 $as_echo_n "checking for _fabsl declaration... " >&6; }
64419 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64420 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64421 $as_echo_n "(cached) " >&6
64422 else
64425 ac_ext=cpp
64426 ac_cpp='$CXXCPP $CPPFLAGS'
64427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64432 /* end confdefs.h. */
64433 #include <math.h>
64434 #ifdef HAVE_IEEEFP_H
64435 #include <ieeefp.h>
64436 #endif
64439 main ()
64441 _fabsl(0);
64443 return 0;
64445 _ACEOF
64446 if ac_fn_cxx_try_compile "$LINENO"; then :
64447 glibcxx_cv_func__fabsl_use=yes
64448 else
64449 glibcxx_cv_func__fabsl_use=no
64451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64452 ac_ext=c
64453 ac_cpp='$CPP $CPPFLAGS'
64454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64463 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64465 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64466 for ac_func in _fabsl
64467 do :
64468 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64469 if test "x$ac_cv_func__fabsl" = x""yes; then :
64470 cat >>confdefs.h <<_ACEOF
64471 #define HAVE__FABSL 1
64472 _ACEOF
64475 done
64484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64485 $as_echo_n "checking for fmodl declaration... " >&6; }
64486 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64487 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64488 $as_echo_n "(cached) " >&6
64489 else
64492 ac_ext=cpp
64493 ac_cpp='$CXXCPP $CPPFLAGS'
64494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64499 /* end confdefs.h. */
64500 #include <math.h>
64502 main ()
64504 fmodl(0, 0);
64506 return 0;
64508 _ACEOF
64509 if ac_fn_cxx_try_compile "$LINENO"; then :
64510 glibcxx_cv_func_fmodl_use=yes
64511 else
64512 glibcxx_cv_func_fmodl_use=no
64514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64515 ac_ext=c
64516 ac_cpp='$CPP $CPPFLAGS'
64517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64526 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64528 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64529 for ac_func in fmodl
64530 do :
64531 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64532 if test "x$ac_cv_func_fmodl" = x""yes; then :
64533 cat >>confdefs.h <<_ACEOF
64534 #define HAVE_FMODL 1
64535 _ACEOF
64538 done
64540 else
64542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64543 $as_echo_n "checking for _fmodl declaration... " >&6; }
64544 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64545 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64546 $as_echo_n "(cached) " >&6
64547 else
64550 ac_ext=cpp
64551 ac_cpp='$CXXCPP $CPPFLAGS'
64552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64557 /* end confdefs.h. */
64558 #include <math.h>
64560 main ()
64562 _fmodl(0, 0);
64564 return 0;
64566 _ACEOF
64567 if ac_fn_cxx_try_compile "$LINENO"; then :
64568 glibcxx_cv_func__fmodl_use=yes
64569 else
64570 glibcxx_cv_func__fmodl_use=no
64572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64573 ac_ext=c
64574 ac_cpp='$CPP $CPPFLAGS'
64575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64584 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64586 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64587 for ac_func in _fmodl
64588 do :
64589 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64590 if test "x$ac_cv_func__fmodl" = x""yes; then :
64591 cat >>confdefs.h <<_ACEOF
64592 #define HAVE__FMODL 1
64593 _ACEOF
64596 done
64605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64606 $as_echo_n "checking for frexpl declaration... " >&6; }
64607 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64608 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64609 $as_echo_n "(cached) " >&6
64610 else
64613 ac_ext=cpp
64614 ac_cpp='$CXXCPP $CPPFLAGS'
64615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64620 /* end confdefs.h. */
64621 #include <math.h>
64623 main ()
64625 frexpl(0, 0);
64627 return 0;
64629 _ACEOF
64630 if ac_fn_cxx_try_compile "$LINENO"; then :
64631 glibcxx_cv_func_frexpl_use=yes
64632 else
64633 glibcxx_cv_func_frexpl_use=no
64635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64636 ac_ext=c
64637 ac_cpp='$CPP $CPPFLAGS'
64638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64647 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64649 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64650 for ac_func in frexpl
64651 do :
64652 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64653 if test "x$ac_cv_func_frexpl" = x""yes; then :
64654 cat >>confdefs.h <<_ACEOF
64655 #define HAVE_FREXPL 1
64656 _ACEOF
64659 done
64661 else
64663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64664 $as_echo_n "checking for _frexpl declaration... " >&6; }
64665 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64666 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64667 $as_echo_n "(cached) " >&6
64668 else
64671 ac_ext=cpp
64672 ac_cpp='$CXXCPP $CPPFLAGS'
64673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64678 /* end confdefs.h. */
64679 #include <math.h>
64681 main ()
64683 _frexpl(0, 0);
64685 return 0;
64687 _ACEOF
64688 if ac_fn_cxx_try_compile "$LINENO"; then :
64689 glibcxx_cv_func__frexpl_use=yes
64690 else
64691 glibcxx_cv_func__frexpl_use=no
64693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64694 ac_ext=c
64695 ac_cpp='$CPP $CPPFLAGS'
64696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64705 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64707 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64708 for ac_func in _frexpl
64709 do :
64710 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64711 if test "x$ac_cv_func__frexpl" = x""yes; then :
64712 cat >>confdefs.h <<_ACEOF
64713 #define HAVE__FREXPL 1
64714 _ACEOF
64717 done
64726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64727 $as_echo_n "checking for hypotl declaration... " >&6; }
64728 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64729 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64730 $as_echo_n "(cached) " >&6
64731 else
64734 ac_ext=cpp
64735 ac_cpp='$CXXCPP $CPPFLAGS'
64736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64741 /* end confdefs.h. */
64742 #include <math.h>
64744 main ()
64746 hypotl(0, 0);
64748 return 0;
64750 _ACEOF
64751 if ac_fn_cxx_try_compile "$LINENO"; then :
64752 glibcxx_cv_func_hypotl_use=yes
64753 else
64754 glibcxx_cv_func_hypotl_use=no
64756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64757 ac_ext=c
64758 ac_cpp='$CPP $CPPFLAGS'
64759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64768 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64770 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64771 for ac_func in hypotl
64772 do :
64773 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64774 if test "x$ac_cv_func_hypotl" = x""yes; then :
64775 cat >>confdefs.h <<_ACEOF
64776 #define HAVE_HYPOTL 1
64777 _ACEOF
64780 done
64782 else
64784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64785 $as_echo_n "checking for _hypotl declaration... " >&6; }
64786 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64787 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64788 $as_echo_n "(cached) " >&6
64789 else
64792 ac_ext=cpp
64793 ac_cpp='$CXXCPP $CPPFLAGS'
64794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64799 /* end confdefs.h. */
64800 #include <math.h>
64802 main ()
64804 _hypotl(0, 0);
64806 return 0;
64808 _ACEOF
64809 if ac_fn_cxx_try_compile "$LINENO"; then :
64810 glibcxx_cv_func__hypotl_use=yes
64811 else
64812 glibcxx_cv_func__hypotl_use=no
64814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64815 ac_ext=c
64816 ac_cpp='$CPP $CPPFLAGS'
64817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64826 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64828 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64829 for ac_func in _hypotl
64830 do :
64831 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64832 if test "x$ac_cv_func__hypotl" = x""yes; then :
64833 cat >>confdefs.h <<_ACEOF
64834 #define HAVE__HYPOTL 1
64835 _ACEOF
64838 done
64847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64848 $as_echo_n "checking for ldexpl declaration... " >&6; }
64849 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64850 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64851 $as_echo_n "(cached) " >&6
64852 else
64855 ac_ext=cpp
64856 ac_cpp='$CXXCPP $CPPFLAGS'
64857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64862 /* end confdefs.h. */
64863 #include <math.h>
64865 main ()
64867 ldexpl(0, 0);
64869 return 0;
64871 _ACEOF
64872 if ac_fn_cxx_try_compile "$LINENO"; then :
64873 glibcxx_cv_func_ldexpl_use=yes
64874 else
64875 glibcxx_cv_func_ldexpl_use=no
64877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64878 ac_ext=c
64879 ac_cpp='$CPP $CPPFLAGS'
64880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64889 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64891 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64892 for ac_func in ldexpl
64893 do :
64894 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64895 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64896 cat >>confdefs.h <<_ACEOF
64897 #define HAVE_LDEXPL 1
64898 _ACEOF
64901 done
64903 else
64905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64906 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64907 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64908 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64909 $as_echo_n "(cached) " >&6
64910 else
64913 ac_ext=cpp
64914 ac_cpp='$CXXCPP $CPPFLAGS'
64915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64920 /* end confdefs.h. */
64921 #include <math.h>
64923 main ()
64925 _ldexpl(0, 0);
64927 return 0;
64929 _ACEOF
64930 if ac_fn_cxx_try_compile "$LINENO"; then :
64931 glibcxx_cv_func__ldexpl_use=yes
64932 else
64933 glibcxx_cv_func__ldexpl_use=no
64935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64936 ac_ext=c
64937 ac_cpp='$CPP $CPPFLAGS'
64938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64947 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64949 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64950 for ac_func in _ldexpl
64951 do :
64952 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64953 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64954 cat >>confdefs.h <<_ACEOF
64955 #define HAVE__LDEXPL 1
64956 _ACEOF
64959 done
64968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64969 $as_echo_n "checking for logl declaration... " >&6; }
64970 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64971 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64972 $as_echo_n "(cached) " >&6
64973 else
64976 ac_ext=cpp
64977 ac_cpp='$CXXCPP $CPPFLAGS'
64978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64983 /* end confdefs.h. */
64984 #include <math.h>
64985 #ifdef HAVE_IEEEFP_H
64986 #include <ieeefp.h>
64987 #endif
64990 main ()
64992 logl(0);
64994 return 0;
64996 _ACEOF
64997 if ac_fn_cxx_try_compile "$LINENO"; then :
64998 glibcxx_cv_func_logl_use=yes
64999 else
65000 glibcxx_cv_func_logl_use=no
65002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65003 ac_ext=c
65004 ac_cpp='$CPP $CPPFLAGS'
65005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65014 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65016 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65017 for ac_func in logl
65018 do :
65019 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65020 if test "x$ac_cv_func_logl" = x""yes; then :
65021 cat >>confdefs.h <<_ACEOF
65022 #define HAVE_LOGL 1
65023 _ACEOF
65026 done
65028 else
65030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65031 $as_echo_n "checking for _logl declaration... " >&6; }
65032 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65033 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65034 $as_echo_n "(cached) " >&6
65035 else
65038 ac_ext=cpp
65039 ac_cpp='$CXXCPP $CPPFLAGS'
65040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65045 /* end confdefs.h. */
65046 #include <math.h>
65047 #ifdef HAVE_IEEEFP_H
65048 #include <ieeefp.h>
65049 #endif
65052 main ()
65054 _logl(0);
65056 return 0;
65058 _ACEOF
65059 if ac_fn_cxx_try_compile "$LINENO"; then :
65060 glibcxx_cv_func__logl_use=yes
65061 else
65062 glibcxx_cv_func__logl_use=no
65064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65065 ac_ext=c
65066 ac_cpp='$CPP $CPPFLAGS'
65067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65076 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65078 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65079 for ac_func in _logl
65080 do :
65081 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65082 if test "x$ac_cv_func__logl" = x""yes; then :
65083 cat >>confdefs.h <<_ACEOF
65084 #define HAVE__LOGL 1
65085 _ACEOF
65088 done
65097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65098 $as_echo_n "checking for log10l declaration... " >&6; }
65099 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65100 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65101 $as_echo_n "(cached) " >&6
65102 else
65105 ac_ext=cpp
65106 ac_cpp='$CXXCPP $CPPFLAGS'
65107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65112 /* end confdefs.h. */
65113 #include <math.h>
65114 #ifdef HAVE_IEEEFP_H
65115 #include <ieeefp.h>
65116 #endif
65119 main ()
65121 log10l(0);
65123 return 0;
65125 _ACEOF
65126 if ac_fn_cxx_try_compile "$LINENO"; then :
65127 glibcxx_cv_func_log10l_use=yes
65128 else
65129 glibcxx_cv_func_log10l_use=no
65131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65132 ac_ext=c
65133 ac_cpp='$CPP $CPPFLAGS'
65134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65143 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65145 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65146 for ac_func in log10l
65147 do :
65148 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65149 if test "x$ac_cv_func_log10l" = x""yes; then :
65150 cat >>confdefs.h <<_ACEOF
65151 #define HAVE_LOG10L 1
65152 _ACEOF
65155 done
65157 else
65159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65160 $as_echo_n "checking for _log10l declaration... " >&6; }
65161 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65162 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65163 $as_echo_n "(cached) " >&6
65164 else
65167 ac_ext=cpp
65168 ac_cpp='$CXXCPP $CPPFLAGS'
65169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65174 /* end confdefs.h. */
65175 #include <math.h>
65176 #ifdef HAVE_IEEEFP_H
65177 #include <ieeefp.h>
65178 #endif
65181 main ()
65183 _log10l(0);
65185 return 0;
65187 _ACEOF
65188 if ac_fn_cxx_try_compile "$LINENO"; then :
65189 glibcxx_cv_func__log10l_use=yes
65190 else
65191 glibcxx_cv_func__log10l_use=no
65193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65194 ac_ext=c
65195 ac_cpp='$CPP $CPPFLAGS'
65196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65205 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65207 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65208 for ac_func in _log10l
65209 do :
65210 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65211 if test "x$ac_cv_func__log10l" = x""yes; then :
65212 cat >>confdefs.h <<_ACEOF
65213 #define HAVE__LOG10L 1
65214 _ACEOF
65217 done
65226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65227 $as_echo_n "checking for modfl declaration... " >&6; }
65228 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65229 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65230 $as_echo_n "(cached) " >&6
65231 else
65234 ac_ext=cpp
65235 ac_cpp='$CXXCPP $CPPFLAGS'
65236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65241 /* end confdefs.h. */
65242 #include <math.h>
65244 main ()
65246 modfl(0, 0);
65248 return 0;
65250 _ACEOF
65251 if ac_fn_cxx_try_compile "$LINENO"; then :
65252 glibcxx_cv_func_modfl_use=yes
65253 else
65254 glibcxx_cv_func_modfl_use=no
65256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65257 ac_ext=c
65258 ac_cpp='$CPP $CPPFLAGS'
65259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65268 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65270 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65271 for ac_func in modfl
65272 do :
65273 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65274 if test "x$ac_cv_func_modfl" = x""yes; then :
65275 cat >>confdefs.h <<_ACEOF
65276 #define HAVE_MODFL 1
65277 _ACEOF
65280 done
65282 else
65284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65285 $as_echo_n "checking for _modfl declaration... " >&6; }
65286 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65287 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65288 $as_echo_n "(cached) " >&6
65289 else
65292 ac_ext=cpp
65293 ac_cpp='$CXXCPP $CPPFLAGS'
65294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65299 /* end confdefs.h. */
65300 #include <math.h>
65302 main ()
65304 _modfl(0, 0);
65306 return 0;
65308 _ACEOF
65309 if ac_fn_cxx_try_compile "$LINENO"; then :
65310 glibcxx_cv_func__modfl_use=yes
65311 else
65312 glibcxx_cv_func__modfl_use=no
65314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65315 ac_ext=c
65316 ac_cpp='$CPP $CPPFLAGS'
65317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65326 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65328 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65329 for ac_func in _modfl
65330 do :
65331 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65332 if test "x$ac_cv_func__modfl" = x""yes; then :
65333 cat >>confdefs.h <<_ACEOF
65334 #define HAVE__MODFL 1
65335 _ACEOF
65338 done
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65348 $as_echo_n "checking for powl declaration... " >&6; }
65349 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65350 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65351 $as_echo_n "(cached) " >&6
65352 else
65355 ac_ext=cpp
65356 ac_cpp='$CXXCPP $CPPFLAGS'
65357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65362 /* end confdefs.h. */
65363 #include <math.h>
65365 main ()
65367 powl(0, 0);
65369 return 0;
65371 _ACEOF
65372 if ac_fn_cxx_try_compile "$LINENO"; then :
65373 glibcxx_cv_func_powl_use=yes
65374 else
65375 glibcxx_cv_func_powl_use=no
65377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65378 ac_ext=c
65379 ac_cpp='$CPP $CPPFLAGS'
65380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65389 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65391 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65392 for ac_func in powl
65393 do :
65394 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65395 if test "x$ac_cv_func_powl" = x""yes; then :
65396 cat >>confdefs.h <<_ACEOF
65397 #define HAVE_POWL 1
65398 _ACEOF
65401 done
65403 else
65405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65406 $as_echo_n "checking for _powl declaration... " >&6; }
65407 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65408 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65409 $as_echo_n "(cached) " >&6
65410 else
65413 ac_ext=cpp
65414 ac_cpp='$CXXCPP $CPPFLAGS'
65415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65420 /* end confdefs.h. */
65421 #include <math.h>
65423 main ()
65425 _powl(0, 0);
65427 return 0;
65429 _ACEOF
65430 if ac_fn_cxx_try_compile "$LINENO"; then :
65431 glibcxx_cv_func__powl_use=yes
65432 else
65433 glibcxx_cv_func__powl_use=no
65435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65436 ac_ext=c
65437 ac_cpp='$CPP $CPPFLAGS'
65438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65447 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65449 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65450 for ac_func in _powl
65451 do :
65452 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65453 if test "x$ac_cv_func__powl" = x""yes; then :
65454 cat >>confdefs.h <<_ACEOF
65455 #define HAVE__POWL 1
65456 _ACEOF
65459 done
65468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65469 $as_echo_n "checking for sqrtl declaration... " >&6; }
65470 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65471 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65472 $as_echo_n "(cached) " >&6
65473 else
65476 ac_ext=cpp
65477 ac_cpp='$CXXCPP $CPPFLAGS'
65478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65483 /* end confdefs.h. */
65484 #include <math.h>
65485 #ifdef HAVE_IEEEFP_H
65486 #include <ieeefp.h>
65487 #endif
65490 main ()
65492 sqrtl(0);
65494 return 0;
65496 _ACEOF
65497 if ac_fn_cxx_try_compile "$LINENO"; then :
65498 glibcxx_cv_func_sqrtl_use=yes
65499 else
65500 glibcxx_cv_func_sqrtl_use=no
65502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65503 ac_ext=c
65504 ac_cpp='$CPP $CPPFLAGS'
65505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65514 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65516 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65517 for ac_func in sqrtl
65518 do :
65519 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65520 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65521 cat >>confdefs.h <<_ACEOF
65522 #define HAVE_SQRTL 1
65523 _ACEOF
65526 done
65528 else
65530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65531 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65532 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65533 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65534 $as_echo_n "(cached) " >&6
65535 else
65538 ac_ext=cpp
65539 ac_cpp='$CXXCPP $CPPFLAGS'
65540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65545 /* end confdefs.h. */
65546 #include <math.h>
65547 #ifdef HAVE_IEEEFP_H
65548 #include <ieeefp.h>
65549 #endif
65552 main ()
65554 _sqrtl(0);
65556 return 0;
65558 _ACEOF
65559 if ac_fn_cxx_try_compile "$LINENO"; then :
65560 glibcxx_cv_func__sqrtl_use=yes
65561 else
65562 glibcxx_cv_func__sqrtl_use=no
65564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65565 ac_ext=c
65566 ac_cpp='$CPP $CPPFLAGS'
65567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65576 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65578 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65579 for ac_func in _sqrtl
65580 do :
65581 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65582 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65583 cat >>confdefs.h <<_ACEOF
65584 #define HAVE__SQRTL 1
65585 _ACEOF
65588 done
65597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65598 $as_echo_n "checking for sincosl declaration... " >&6; }
65599 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65600 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65601 $as_echo_n "(cached) " >&6
65602 else
65605 ac_ext=cpp
65606 ac_cpp='$CXXCPP $CPPFLAGS'
65607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65612 /* end confdefs.h. */
65613 #include <math.h>
65615 main ()
65617 sincosl(0, 0, 0);
65619 return 0;
65621 _ACEOF
65622 if ac_fn_cxx_try_compile "$LINENO"; then :
65623 glibcxx_cv_func_sincosl_use=yes
65624 else
65625 glibcxx_cv_func_sincosl_use=no
65627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65628 ac_ext=c
65629 ac_cpp='$CPP $CPPFLAGS'
65630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65639 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65641 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65642 for ac_func in sincosl
65643 do :
65644 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65645 if test "x$ac_cv_func_sincosl" = x""yes; then :
65646 cat >>confdefs.h <<_ACEOF
65647 #define HAVE_SINCOSL 1
65648 _ACEOF
65651 done
65653 else
65655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65656 $as_echo_n "checking for _sincosl declaration... " >&6; }
65657 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65658 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65659 $as_echo_n "(cached) " >&6
65660 else
65663 ac_ext=cpp
65664 ac_cpp='$CXXCPP $CPPFLAGS'
65665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65670 /* end confdefs.h. */
65671 #include <math.h>
65673 main ()
65675 _sincosl(0, 0, 0);
65677 return 0;
65679 _ACEOF
65680 if ac_fn_cxx_try_compile "$LINENO"; then :
65681 glibcxx_cv_func__sincosl_use=yes
65682 else
65683 glibcxx_cv_func__sincosl_use=no
65685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65686 ac_ext=c
65687 ac_cpp='$CPP $CPPFLAGS'
65688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65697 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65699 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65700 for ac_func in _sincosl
65701 do :
65702 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65703 if test "x$ac_cv_func__sincosl" = x""yes; then :
65704 cat >>confdefs.h <<_ACEOF
65705 #define HAVE__SINCOSL 1
65706 _ACEOF
65709 done
65718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65719 $as_echo_n "checking for finitel declaration... " >&6; }
65720 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65721 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65722 $as_echo_n "(cached) " >&6
65723 else
65726 ac_ext=cpp
65727 ac_cpp='$CXXCPP $CPPFLAGS'
65728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65733 /* end confdefs.h. */
65734 #include <math.h>
65735 #ifdef HAVE_IEEEFP_H
65736 #include <ieeefp.h>
65737 #endif
65740 main ()
65742 finitel(0);
65744 return 0;
65746 _ACEOF
65747 if ac_fn_cxx_try_compile "$LINENO"; then :
65748 glibcxx_cv_func_finitel_use=yes
65749 else
65750 glibcxx_cv_func_finitel_use=no
65752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65753 ac_ext=c
65754 ac_cpp='$CPP $CPPFLAGS'
65755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65764 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65766 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65767 for ac_func in finitel
65768 do :
65769 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65770 if test "x$ac_cv_func_finitel" = x""yes; then :
65771 cat >>confdefs.h <<_ACEOF
65772 #define HAVE_FINITEL 1
65773 _ACEOF
65776 done
65778 else
65780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65781 $as_echo_n "checking for _finitel declaration... " >&6; }
65782 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65783 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65784 $as_echo_n "(cached) " >&6
65785 else
65788 ac_ext=cpp
65789 ac_cpp='$CXXCPP $CPPFLAGS'
65790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65795 /* end confdefs.h. */
65796 #include <math.h>
65797 #ifdef HAVE_IEEEFP_H
65798 #include <ieeefp.h>
65799 #endif
65802 main ()
65804 _finitel(0);
65806 return 0;
65808 _ACEOF
65809 if ac_fn_cxx_try_compile "$LINENO"; then :
65810 glibcxx_cv_func__finitel_use=yes
65811 else
65812 glibcxx_cv_func__finitel_use=no
65814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65815 ac_ext=c
65816 ac_cpp='$CPP $CPPFLAGS'
65817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65826 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65828 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65829 for ac_func in _finitel
65830 do :
65831 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65832 if test "x$ac_cv_func__finitel" = x""yes; then :
65833 cat >>confdefs.h <<_ACEOF
65834 #define HAVE__FINITEL 1
65835 _ACEOF
65838 done
65846 LIBS="$ac_save_LIBS"
65847 CXXFLAGS="$ac_save_CXXFLAGS"
65850 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65851 ac_save_CXXFLAGS="$CXXFLAGS"
65852 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65856 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65857 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65858 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65859 $as_echo_n "(cached) " >&6
65860 else
65863 ac_ext=cpp
65864 ac_cpp='$CXXCPP $CPPFLAGS'
65865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65870 /* end confdefs.h. */
65871 #include <stdlib.h>
65873 main ()
65875 at_quick_exit(0);
65877 return 0;
65879 _ACEOF
65880 if ac_fn_cxx_try_compile "$LINENO"; then :
65881 glibcxx_cv_func_at_quick_exit_use=yes
65882 else
65883 glibcxx_cv_func_at_quick_exit_use=no
65885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65886 ac_ext=c
65887 ac_cpp='$CPP $CPPFLAGS'
65888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65897 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65898 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65899 for ac_func in at_quick_exit
65900 do :
65901 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65902 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65903 cat >>confdefs.h <<_ACEOF
65904 #define HAVE_AT_QUICK_EXIT 1
65905 _ACEOF
65908 done
65913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65914 $as_echo_n "checking for quick_exit declaration... " >&6; }
65915 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65916 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65917 $as_echo_n "(cached) " >&6
65918 else
65921 ac_ext=cpp
65922 ac_cpp='$CXXCPP $CPPFLAGS'
65923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65928 /* end confdefs.h. */
65929 #include <stdlib.h>
65931 main ()
65933 quick_exit(0);
65935 return 0;
65937 _ACEOF
65938 if ac_fn_cxx_try_compile "$LINENO"; then :
65939 glibcxx_cv_func_quick_exit_use=yes
65940 else
65941 glibcxx_cv_func_quick_exit_use=no
65943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65944 ac_ext=c
65945 ac_cpp='$CPP $CPPFLAGS'
65946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65955 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65956 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65957 for ac_func in quick_exit
65958 do :
65959 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65960 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65961 cat >>confdefs.h <<_ACEOF
65962 #define HAVE_QUICK_EXIT 1
65963 _ACEOF
65966 done
65971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65972 $as_echo_n "checking for strtold declaration... " >&6; }
65973 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65974 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65975 $as_echo_n "(cached) " >&6
65976 else
65979 ac_ext=cpp
65980 ac_cpp='$CXXCPP $CPPFLAGS'
65981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65986 /* end confdefs.h. */
65987 #include <stdlib.h>
65989 main ()
65991 strtold(0, 0);
65993 return 0;
65995 _ACEOF
65996 if ac_fn_cxx_try_compile "$LINENO"; then :
65997 glibcxx_cv_func_strtold_use=yes
65998 else
65999 glibcxx_cv_func_strtold_use=no
66001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66002 ac_ext=c
66003 ac_cpp='$CPP $CPPFLAGS'
66004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66013 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66014 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66015 for ac_func in strtold
66016 do :
66017 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66018 if test "x$ac_cv_func_strtold" = x""yes; then :
66019 cat >>confdefs.h <<_ACEOF
66020 #define HAVE_STRTOLD 1
66021 _ACEOF
66024 done
66031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66032 $as_echo_n "checking for strtof declaration... " >&6; }
66033 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66034 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66035 $as_echo_n "(cached) " >&6
66036 else
66039 ac_ext=cpp
66040 ac_cpp='$CXXCPP $CPPFLAGS'
66041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66046 /* end confdefs.h. */
66047 #include <stdlib.h>
66049 main ()
66051 strtof(0, 0);
66053 return 0;
66055 _ACEOF
66056 if ac_fn_cxx_try_compile "$LINENO"; then :
66057 glibcxx_cv_func_strtof_use=yes
66058 else
66059 glibcxx_cv_func_strtof_use=no
66061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66062 ac_ext=c
66063 ac_cpp='$CPP $CPPFLAGS'
66064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66073 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66074 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66075 for ac_func in strtof
66076 do :
66077 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66078 if test "x$ac_cv_func_strtof" = x""yes; then :
66079 cat >>confdefs.h <<_ACEOF
66080 #define HAVE_STRTOF 1
66081 _ACEOF
66084 done
66091 CXXFLAGS="$ac_save_CXXFLAGS"
66093 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66094 do :
66095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66097 eval as_val=\$$as_ac_var
66098 if test "x$as_val" = x""yes; then :
66099 cat >>confdefs.h <<_ACEOF
66100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66101 _ACEOF
66104 done
66106 for ac_func in _wfopen
66107 do :
66108 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66109 if test "x$ac_cv_func__wfopen" = x""yes; then :
66110 cat >>confdefs.h <<_ACEOF
66111 #define HAVE__WFOPEN 1
66112 _ACEOF
66115 done
66118 *-netbsd* | *-openbsd*)
66119 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66122 # If we're not using GNU ld, then there's no point in even trying these
66123 # tests. Check for that first. We should have already tested for gld
66124 # by now (in libtool), but require it now just to be safe...
66125 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66126 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66130 # The name set by libtool depends on the version of libtool. Shame on us
66131 # for depending on an impl detail, but c'est la vie. Older versions used
66132 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66133 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66134 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66135 # set (hence we're using an older libtool), then set it.
66136 if test x${with_gnu_ld+set} != xset; then
66137 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66138 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66139 with_gnu_ld=no
66140 else
66141 with_gnu_ld=$ac_cv_prog_gnu_ld
66145 # Start by getting the version number. I think the libtool test already
66146 # does some of this, but throws away the result.
66147 glibcxx_ld_is_gold=no
66148 if test x"$with_gnu_ld" = x"yes"; then
66149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66150 $as_echo_n "checking for ld version... " >&6; }
66152 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66153 glibcxx_ld_is_gold=yes
66155 ldver=`$LD --version 2>/dev/null |
66156 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'`
66158 glibcxx_gnu_ld_version=`echo $ldver | \
66159 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66161 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66164 # Set --gc-sections.
66165 glibcxx_have_gc_sections=no
66166 if test "$glibcxx_ld_is_gold" = "yes"; then
66167 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66168 glibcxx_have_gc_sections=yes
66170 else
66171 glibcxx_gcsections_min_ld=21602
66172 if test x"$with_gnu_ld" = x"yes" &&
66173 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66174 glibcxx_have_gc_sections=yes
66177 if test "$glibcxx_have_gc_sections" = "yes"; then
66178 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66179 # NB: This flag only works reliably after 2.16.1. Configure tests
66180 # for this are difficult, so hard wire a value that should work.
66182 ac_test_CFLAGS="${CFLAGS+set}"
66183 ac_save_CFLAGS="$CFLAGS"
66184 CFLAGS='-Wl,--gc-sections'
66186 # Check for -Wl,--gc-sections
66187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66188 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66189 if test x$gcc_no_link = xyes; then
66190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66193 /* end confdefs.h. */
66194 int one(void) { return 1; }
66195 int two(void) { return 2; }
66198 main ()
66200 two();
66202 return 0;
66204 _ACEOF
66205 if ac_fn_c_try_link "$LINENO"; then :
66206 ac_gcsections=yes
66207 else
66208 ac_gcsections=no
66210 rm -f core conftest.err conftest.$ac_objext \
66211 conftest$ac_exeext conftest.$ac_ext
66212 if test "$ac_gcsections" = "yes"; then
66213 rm -f conftest.c
66214 touch conftest.c
66215 if $CC -c conftest.c; then
66216 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66217 grep "Warning: gc-sections option ignored" > /dev/null; then
66218 ac_gcsections=no
66221 rm -f conftest.c conftest.o conftest
66223 if test "$ac_gcsections" = "yes"; then
66224 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66227 $as_echo "$ac_gcsections" >&6; }
66229 if test "$ac_test_CFLAGS" = set; then
66230 CFLAGS="$ac_save_CFLAGS"
66231 else
66232 # this is the suspicious part
66233 CFLAGS=''
66237 # Set -z,relro.
66238 # Note this is only for shared objects.
66239 ac_ld_relro=no
66240 if test x"$with_gnu_ld" = x"yes"; then
66241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66242 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66243 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66244 if test -n "$cxx_z_relo"; then
66245 OPT_LDFLAGS="-Wl,-z,relro"
66246 ac_ld_relro=yes
66248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66249 $as_echo "$ac_ld_relro" >&6; }
66252 # Set linker optimization flags.
66253 if test x"$with_gnu_ld" = x"yes"; then
66254 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66260 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66262 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66264 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66266 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66268 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66270 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66272 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66274 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66276 if test x"long_double_math_on_this_cpu" = x"yes"; then
66277 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66279 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66281 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66284 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66285 do :
66286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66288 eval as_val=\$$as_ac_var
66289 if test "x$as_val" = x""yes; then :
66290 cat >>confdefs.h <<_ACEOF
66291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66292 _ACEOF
66295 done
66298 *-qnx6.1* | *-qnx6.2*)
66299 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66302 # If we're not using GNU ld, then there's no point in even trying these
66303 # tests. Check for that first. We should have already tested for gld
66304 # by now (in libtool), but require it now just to be safe...
66305 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66306 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66310 # The name set by libtool depends on the version of libtool. Shame on us
66311 # for depending on an impl detail, but c'est la vie. Older versions used
66312 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66313 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66314 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66315 # set (hence we're using an older libtool), then set it.
66316 if test x${with_gnu_ld+set} != xset; then
66317 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66318 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66319 with_gnu_ld=no
66320 else
66321 with_gnu_ld=$ac_cv_prog_gnu_ld
66325 # Start by getting the version number. I think the libtool test already
66326 # does some of this, but throws away the result.
66327 glibcxx_ld_is_gold=no
66328 if test x"$with_gnu_ld" = x"yes"; then
66329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66330 $as_echo_n "checking for ld version... " >&6; }
66332 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66333 glibcxx_ld_is_gold=yes
66335 ldver=`$LD --version 2>/dev/null |
66336 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'`
66338 glibcxx_gnu_ld_version=`echo $ldver | \
66339 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66341 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66344 # Set --gc-sections.
66345 glibcxx_have_gc_sections=no
66346 if test "$glibcxx_ld_is_gold" = "yes"; then
66347 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66348 glibcxx_have_gc_sections=yes
66350 else
66351 glibcxx_gcsections_min_ld=21602
66352 if test x"$with_gnu_ld" = x"yes" &&
66353 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66354 glibcxx_have_gc_sections=yes
66357 if test "$glibcxx_have_gc_sections" = "yes"; then
66358 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66359 # NB: This flag only works reliably after 2.16.1. Configure tests
66360 # for this are difficult, so hard wire a value that should work.
66362 ac_test_CFLAGS="${CFLAGS+set}"
66363 ac_save_CFLAGS="$CFLAGS"
66364 CFLAGS='-Wl,--gc-sections'
66366 # Check for -Wl,--gc-sections
66367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66368 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66369 if test x$gcc_no_link = xyes; then
66370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66373 /* end confdefs.h. */
66374 int one(void) { return 1; }
66375 int two(void) { return 2; }
66378 main ()
66380 two();
66382 return 0;
66384 _ACEOF
66385 if ac_fn_c_try_link "$LINENO"; then :
66386 ac_gcsections=yes
66387 else
66388 ac_gcsections=no
66390 rm -f core conftest.err conftest.$ac_objext \
66391 conftest$ac_exeext conftest.$ac_ext
66392 if test "$ac_gcsections" = "yes"; then
66393 rm -f conftest.c
66394 touch conftest.c
66395 if $CC -c conftest.c; then
66396 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66397 grep "Warning: gc-sections option ignored" > /dev/null; then
66398 ac_gcsections=no
66401 rm -f conftest.c conftest.o conftest
66403 if test "$ac_gcsections" = "yes"; then
66404 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66407 $as_echo "$ac_gcsections" >&6; }
66409 if test "$ac_test_CFLAGS" = set; then
66410 CFLAGS="$ac_save_CFLAGS"
66411 else
66412 # this is the suspicious part
66413 CFLAGS=''
66417 # Set -z,relro.
66418 # Note this is only for shared objects.
66419 ac_ld_relro=no
66420 if test x"$with_gnu_ld" = x"yes"; then
66421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66422 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66423 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66424 if test -n "$cxx_z_relo"; then
66425 OPT_LDFLAGS="-Wl,-z,relro"
66426 ac_ld_relro=yes
66428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66429 $as_echo "$ac_ld_relro" >&6; }
66432 # Set linker optimization flags.
66433 if test x"$with_gnu_ld" = x"yes"; then
66434 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66440 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66442 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66444 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66446 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66448 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66450 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66452 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66454 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66456 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66458 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66460 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66462 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66465 *-rtems*)
66467 # All these tests are for C++; save the language and the compiler flags.
66468 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66469 # found in GLIBCXX_CONFIGURE.
66471 ac_ext=cpp
66472 ac_cpp='$CXXCPP $CPPFLAGS'
66473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66477 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66478 ac_save_CXXFLAGS="$CXXFLAGS"
66480 # Check for -ffunction-sections -fdata-sections
66481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66482 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66483 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66485 /* end confdefs.h. */
66486 int foo; void bar() { };
66488 main ()
66492 return 0;
66494 _ACEOF
66495 if ac_fn_cxx_try_compile "$LINENO"; then :
66496 ac_fdsections=yes
66497 else
66498 ac_fdsections=no
66500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66501 if test "$ac_test_CXXFLAGS" = set; then
66502 CXXFLAGS="$ac_save_CXXFLAGS"
66503 else
66504 # this is the suspicious part
66505 CXXFLAGS=''
66507 if test x"$ac_fdsections" = x"yes"; then
66508 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66511 $as_echo "$ac_fdsections" >&6; }
66513 ac_ext=c
66514 ac_cpp='$CPP $CPPFLAGS'
66515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66522 # If we're not using GNU ld, then there's no point in even trying these
66523 # tests. Check for that first. We should have already tested for gld
66524 # by now (in libtool), but require it now just to be safe...
66525 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66526 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66530 # The name set by libtool depends on the version of libtool. Shame on us
66531 # for depending on an impl detail, but c'est la vie. Older versions used
66532 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66533 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66534 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66535 # set (hence we're using an older libtool), then set it.
66536 if test x${with_gnu_ld+set} != xset; then
66537 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66538 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66539 with_gnu_ld=no
66540 else
66541 with_gnu_ld=$ac_cv_prog_gnu_ld
66545 # Start by getting the version number. I think the libtool test already
66546 # does some of this, but throws away the result.
66547 glibcxx_ld_is_gold=no
66548 if test x"$with_gnu_ld" = x"yes"; then
66549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66550 $as_echo_n "checking for ld version... " >&6; }
66552 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66553 glibcxx_ld_is_gold=yes
66555 ldver=`$LD --version 2>/dev/null |
66556 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'`
66558 glibcxx_gnu_ld_version=`echo $ldver | \
66559 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66561 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66564 # Set --gc-sections.
66565 glibcxx_have_gc_sections=no
66566 if test "$glibcxx_ld_is_gold" = "yes"; then
66567 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66568 glibcxx_have_gc_sections=yes
66570 else
66571 glibcxx_gcsections_min_ld=21602
66572 if test x"$with_gnu_ld" = x"yes" &&
66573 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66574 glibcxx_have_gc_sections=yes
66577 if test "$glibcxx_have_gc_sections" = "yes"; then
66578 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66579 # NB: This flag only works reliably after 2.16.1. Configure tests
66580 # for this are difficult, so hard wire a value that should work.
66582 ac_test_CFLAGS="${CFLAGS+set}"
66583 ac_save_CFLAGS="$CFLAGS"
66584 CFLAGS='-Wl,--gc-sections'
66586 # Check for -Wl,--gc-sections
66587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66588 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66589 if test x$gcc_no_link = xyes; then
66590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66593 /* end confdefs.h. */
66594 int one(void) { return 1; }
66595 int two(void) { return 2; }
66598 main ()
66600 two();
66602 return 0;
66604 _ACEOF
66605 if ac_fn_c_try_link "$LINENO"; then :
66606 ac_gcsections=yes
66607 else
66608 ac_gcsections=no
66610 rm -f core conftest.err conftest.$ac_objext \
66611 conftest$ac_exeext conftest.$ac_ext
66612 if test "$ac_gcsections" = "yes"; then
66613 rm -f conftest.c
66614 touch conftest.c
66615 if $CC -c conftest.c; then
66616 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66617 grep "Warning: gc-sections option ignored" > /dev/null; then
66618 ac_gcsections=no
66621 rm -f conftest.c conftest.o conftest
66623 if test "$ac_gcsections" = "yes"; then
66624 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66627 $as_echo "$ac_gcsections" >&6; }
66629 if test "$ac_test_CFLAGS" = set; then
66630 CFLAGS="$ac_save_CFLAGS"
66631 else
66632 # this is the suspicious part
66633 CFLAGS=''
66637 # Set -z,relro.
66638 # Note this is only for shared objects.
66639 ac_ld_relro=no
66640 if test x"$with_gnu_ld" = x"yes"; then
66641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66642 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66643 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66644 if test -n "$cxx_z_relo"; then
66645 OPT_LDFLAGS="-Wl,-z,relro"
66646 ac_ld_relro=yes
66648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66649 $as_echo "$ac_ld_relro" >&6; }
66652 # Set linker optimization flags.
66653 if test x"$with_gnu_ld" = x"yes"; then
66654 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66661 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66662 ac_save_CXXFLAGS="$CXXFLAGS"
66663 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66666 $as_echo_n "checking for sin in -lm... " >&6; }
66667 if test "${ac_cv_lib_m_sin+set}" = set; then :
66668 $as_echo_n "(cached) " >&6
66669 else
66670 ac_check_lib_save_LIBS=$LIBS
66671 LIBS="-lm $LIBS"
66672 if test x$gcc_no_link = xyes; then
66673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66676 /* end confdefs.h. */
66678 /* Override any GCC internal prototype to avoid an error.
66679 Use char because int might match the return type of a GCC
66680 builtin and then its argument prototype would still apply. */
66681 #ifdef __cplusplus
66682 extern "C"
66683 #endif
66684 char sin ();
66686 main ()
66688 return sin ();
66690 return 0;
66692 _ACEOF
66693 if ac_fn_c_try_link "$LINENO"; then :
66694 ac_cv_lib_m_sin=yes
66695 else
66696 ac_cv_lib_m_sin=no
66698 rm -f core conftest.err conftest.$ac_objext \
66699 conftest$ac_exeext conftest.$ac_ext
66700 LIBS=$ac_check_lib_save_LIBS
66702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66703 $as_echo "$ac_cv_lib_m_sin" >&6; }
66704 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66705 libm="-lm"
66708 ac_save_LIBS="$LIBS"
66709 LIBS="$LIBS $libm"
66713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66714 $as_echo_n "checking for isinf declaration... " >&6; }
66715 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66716 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66717 $as_echo_n "(cached) " >&6
66718 else
66721 ac_ext=cpp
66722 ac_cpp='$CXXCPP $CPPFLAGS'
66723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66728 /* end confdefs.h. */
66729 #include <math.h>
66730 #ifdef HAVE_IEEEFP_H
66731 #include <ieeefp.h>
66732 #endif
66735 main ()
66737 isinf(0);
66739 return 0;
66741 _ACEOF
66742 if ac_fn_cxx_try_compile "$LINENO"; then :
66743 glibcxx_cv_func_isinf_use=yes
66744 else
66745 glibcxx_cv_func_isinf_use=no
66747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66748 ac_ext=c
66749 ac_cpp='$CPP $CPPFLAGS'
66750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66759 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66761 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66762 for ac_func in isinf
66763 do :
66764 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66765 if test "x$ac_cv_func_isinf" = x""yes; then :
66766 cat >>confdefs.h <<_ACEOF
66767 #define HAVE_ISINF 1
66768 _ACEOF
66771 done
66773 else
66775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66776 $as_echo_n "checking for _isinf declaration... " >&6; }
66777 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66778 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66779 $as_echo_n "(cached) " >&6
66780 else
66783 ac_ext=cpp
66784 ac_cpp='$CXXCPP $CPPFLAGS'
66785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66790 /* end confdefs.h. */
66791 #include <math.h>
66792 #ifdef HAVE_IEEEFP_H
66793 #include <ieeefp.h>
66794 #endif
66797 main ()
66799 _isinf(0);
66801 return 0;
66803 _ACEOF
66804 if ac_fn_cxx_try_compile "$LINENO"; then :
66805 glibcxx_cv_func__isinf_use=yes
66806 else
66807 glibcxx_cv_func__isinf_use=no
66809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66810 ac_ext=c
66811 ac_cpp='$CPP $CPPFLAGS'
66812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66821 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66823 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66824 for ac_func in _isinf
66825 do :
66826 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66827 if test "x$ac_cv_func__isinf" = x""yes; then :
66828 cat >>confdefs.h <<_ACEOF
66829 #define HAVE__ISINF 1
66830 _ACEOF
66833 done
66842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66843 $as_echo_n "checking for isnan declaration... " >&6; }
66844 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66845 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66846 $as_echo_n "(cached) " >&6
66847 else
66850 ac_ext=cpp
66851 ac_cpp='$CXXCPP $CPPFLAGS'
66852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66857 /* end confdefs.h. */
66858 #include <math.h>
66859 #ifdef HAVE_IEEEFP_H
66860 #include <ieeefp.h>
66861 #endif
66864 main ()
66866 isnan(0);
66868 return 0;
66870 _ACEOF
66871 if ac_fn_cxx_try_compile "$LINENO"; then :
66872 glibcxx_cv_func_isnan_use=yes
66873 else
66874 glibcxx_cv_func_isnan_use=no
66876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66877 ac_ext=c
66878 ac_cpp='$CPP $CPPFLAGS'
66879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66888 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66890 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66891 for ac_func in isnan
66892 do :
66893 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66894 if test "x$ac_cv_func_isnan" = x""yes; then :
66895 cat >>confdefs.h <<_ACEOF
66896 #define HAVE_ISNAN 1
66897 _ACEOF
66900 done
66902 else
66904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66905 $as_echo_n "checking for _isnan declaration... " >&6; }
66906 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66907 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66908 $as_echo_n "(cached) " >&6
66909 else
66912 ac_ext=cpp
66913 ac_cpp='$CXXCPP $CPPFLAGS'
66914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66919 /* end confdefs.h. */
66920 #include <math.h>
66921 #ifdef HAVE_IEEEFP_H
66922 #include <ieeefp.h>
66923 #endif
66926 main ()
66928 _isnan(0);
66930 return 0;
66932 _ACEOF
66933 if ac_fn_cxx_try_compile "$LINENO"; then :
66934 glibcxx_cv_func__isnan_use=yes
66935 else
66936 glibcxx_cv_func__isnan_use=no
66938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66939 ac_ext=c
66940 ac_cpp='$CPP $CPPFLAGS'
66941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66950 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66952 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66953 for ac_func in _isnan
66954 do :
66955 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66956 if test "x$ac_cv_func__isnan" = x""yes; then :
66957 cat >>confdefs.h <<_ACEOF
66958 #define HAVE__ISNAN 1
66959 _ACEOF
66962 done
66971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66972 $as_echo_n "checking for finite declaration... " >&6; }
66973 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66974 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66975 $as_echo_n "(cached) " >&6
66976 else
66979 ac_ext=cpp
66980 ac_cpp='$CXXCPP $CPPFLAGS'
66981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66986 /* end confdefs.h. */
66987 #include <math.h>
66988 #ifdef HAVE_IEEEFP_H
66989 #include <ieeefp.h>
66990 #endif
66993 main ()
66995 finite(0);
66997 return 0;
66999 _ACEOF
67000 if ac_fn_cxx_try_compile "$LINENO"; then :
67001 glibcxx_cv_func_finite_use=yes
67002 else
67003 glibcxx_cv_func_finite_use=no
67005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67006 ac_ext=c
67007 ac_cpp='$CPP $CPPFLAGS'
67008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67017 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67019 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67020 for ac_func in finite
67021 do :
67022 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67023 if test "x$ac_cv_func_finite" = x""yes; then :
67024 cat >>confdefs.h <<_ACEOF
67025 #define HAVE_FINITE 1
67026 _ACEOF
67029 done
67031 else
67033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67034 $as_echo_n "checking for _finite declaration... " >&6; }
67035 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67036 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67037 $as_echo_n "(cached) " >&6
67038 else
67041 ac_ext=cpp
67042 ac_cpp='$CXXCPP $CPPFLAGS'
67043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67048 /* end confdefs.h. */
67049 #include <math.h>
67050 #ifdef HAVE_IEEEFP_H
67051 #include <ieeefp.h>
67052 #endif
67055 main ()
67057 _finite(0);
67059 return 0;
67061 _ACEOF
67062 if ac_fn_cxx_try_compile "$LINENO"; then :
67063 glibcxx_cv_func__finite_use=yes
67064 else
67065 glibcxx_cv_func__finite_use=no
67067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67068 ac_ext=c
67069 ac_cpp='$CPP $CPPFLAGS'
67070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67079 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67081 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67082 for ac_func in _finite
67083 do :
67084 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67085 if test "x$ac_cv_func__finite" = x""yes; then :
67086 cat >>confdefs.h <<_ACEOF
67087 #define HAVE__FINITE 1
67088 _ACEOF
67091 done
67100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67101 $as_echo_n "checking for sincos declaration... " >&6; }
67102 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67103 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67104 $as_echo_n "(cached) " >&6
67105 else
67108 ac_ext=cpp
67109 ac_cpp='$CXXCPP $CPPFLAGS'
67110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67115 /* end confdefs.h. */
67116 #include <math.h>
67118 main ()
67120 sincos(0, 0, 0);
67122 return 0;
67124 _ACEOF
67125 if ac_fn_cxx_try_compile "$LINENO"; then :
67126 glibcxx_cv_func_sincos_use=yes
67127 else
67128 glibcxx_cv_func_sincos_use=no
67130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67131 ac_ext=c
67132 ac_cpp='$CPP $CPPFLAGS'
67133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67142 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67144 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67145 for ac_func in sincos
67146 do :
67147 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67148 if test "x$ac_cv_func_sincos" = x""yes; then :
67149 cat >>confdefs.h <<_ACEOF
67150 #define HAVE_SINCOS 1
67151 _ACEOF
67154 done
67156 else
67158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67159 $as_echo_n "checking for _sincos declaration... " >&6; }
67160 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67161 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67162 $as_echo_n "(cached) " >&6
67163 else
67166 ac_ext=cpp
67167 ac_cpp='$CXXCPP $CPPFLAGS'
67168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67173 /* end confdefs.h. */
67174 #include <math.h>
67176 main ()
67178 _sincos(0, 0, 0);
67180 return 0;
67182 _ACEOF
67183 if ac_fn_cxx_try_compile "$LINENO"; then :
67184 glibcxx_cv_func__sincos_use=yes
67185 else
67186 glibcxx_cv_func__sincos_use=no
67188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67189 ac_ext=c
67190 ac_cpp='$CPP $CPPFLAGS'
67191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67200 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67202 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67203 for ac_func in _sincos
67204 do :
67205 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67206 if test "x$ac_cv_func__sincos" = x""yes; then :
67207 cat >>confdefs.h <<_ACEOF
67208 #define HAVE__SINCOS 1
67209 _ACEOF
67212 done
67221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67222 $as_echo_n "checking for fpclass declaration... " >&6; }
67223 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67224 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67225 $as_echo_n "(cached) " >&6
67226 else
67229 ac_ext=cpp
67230 ac_cpp='$CXXCPP $CPPFLAGS'
67231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67236 /* end confdefs.h. */
67237 #include <math.h>
67238 #ifdef HAVE_IEEEFP_H
67239 #include <ieeefp.h>
67240 #endif
67243 main ()
67245 fpclass(0);
67247 return 0;
67249 _ACEOF
67250 if ac_fn_cxx_try_compile "$LINENO"; then :
67251 glibcxx_cv_func_fpclass_use=yes
67252 else
67253 glibcxx_cv_func_fpclass_use=no
67255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67256 ac_ext=c
67257 ac_cpp='$CPP $CPPFLAGS'
67258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67267 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67269 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67270 for ac_func in fpclass
67271 do :
67272 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67273 if test "x$ac_cv_func_fpclass" = x""yes; then :
67274 cat >>confdefs.h <<_ACEOF
67275 #define HAVE_FPCLASS 1
67276 _ACEOF
67279 done
67281 else
67283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67284 $as_echo_n "checking for _fpclass declaration... " >&6; }
67285 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67286 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67287 $as_echo_n "(cached) " >&6
67288 else
67291 ac_ext=cpp
67292 ac_cpp='$CXXCPP $CPPFLAGS'
67293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67298 /* end confdefs.h. */
67299 #include <math.h>
67300 #ifdef HAVE_IEEEFP_H
67301 #include <ieeefp.h>
67302 #endif
67305 main ()
67307 _fpclass(0);
67309 return 0;
67311 _ACEOF
67312 if ac_fn_cxx_try_compile "$LINENO"; then :
67313 glibcxx_cv_func__fpclass_use=yes
67314 else
67315 glibcxx_cv_func__fpclass_use=no
67317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67318 ac_ext=c
67319 ac_cpp='$CPP $CPPFLAGS'
67320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67329 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67331 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67332 for ac_func in _fpclass
67333 do :
67334 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67335 if test "x$ac_cv_func__fpclass" = x""yes; then :
67336 cat >>confdefs.h <<_ACEOF
67337 #define HAVE__FPCLASS 1
67338 _ACEOF
67341 done
67350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67351 $as_echo_n "checking for qfpclass declaration... " >&6; }
67352 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67353 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67354 $as_echo_n "(cached) " >&6
67355 else
67358 ac_ext=cpp
67359 ac_cpp='$CXXCPP $CPPFLAGS'
67360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67365 /* end confdefs.h. */
67366 #include <math.h>
67367 #ifdef HAVE_IEEEFP_H
67368 #include <ieeefp.h>
67369 #endif
67372 main ()
67374 qfpclass(0);
67376 return 0;
67378 _ACEOF
67379 if ac_fn_cxx_try_compile "$LINENO"; then :
67380 glibcxx_cv_func_qfpclass_use=yes
67381 else
67382 glibcxx_cv_func_qfpclass_use=no
67384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67385 ac_ext=c
67386 ac_cpp='$CPP $CPPFLAGS'
67387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67396 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67398 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67399 for ac_func in qfpclass
67400 do :
67401 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67402 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67403 cat >>confdefs.h <<_ACEOF
67404 #define HAVE_QFPCLASS 1
67405 _ACEOF
67408 done
67410 else
67412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67413 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67414 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67415 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67416 $as_echo_n "(cached) " >&6
67417 else
67420 ac_ext=cpp
67421 ac_cpp='$CXXCPP $CPPFLAGS'
67422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67427 /* end confdefs.h. */
67428 #include <math.h>
67429 #ifdef HAVE_IEEEFP_H
67430 #include <ieeefp.h>
67431 #endif
67434 main ()
67436 _qfpclass(0);
67438 return 0;
67440 _ACEOF
67441 if ac_fn_cxx_try_compile "$LINENO"; then :
67442 glibcxx_cv_func__qfpclass_use=yes
67443 else
67444 glibcxx_cv_func__qfpclass_use=no
67446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67447 ac_ext=c
67448 ac_cpp='$CPP $CPPFLAGS'
67449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67458 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67460 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67461 for ac_func in _qfpclass
67462 do :
67463 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67464 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67465 cat >>confdefs.h <<_ACEOF
67466 #define HAVE__QFPCLASS 1
67467 _ACEOF
67470 done
67479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67480 $as_echo_n "checking for hypot declaration... " >&6; }
67481 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67482 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67483 $as_echo_n "(cached) " >&6
67484 else
67487 ac_ext=cpp
67488 ac_cpp='$CXXCPP $CPPFLAGS'
67489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67494 /* end confdefs.h. */
67495 #include <math.h>
67497 main ()
67499 hypot(0, 0);
67501 return 0;
67503 _ACEOF
67504 if ac_fn_cxx_try_compile "$LINENO"; then :
67505 glibcxx_cv_func_hypot_use=yes
67506 else
67507 glibcxx_cv_func_hypot_use=no
67509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67510 ac_ext=c
67511 ac_cpp='$CPP $CPPFLAGS'
67512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67521 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67523 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67524 for ac_func in hypot
67525 do :
67526 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67527 if test "x$ac_cv_func_hypot" = x""yes; then :
67528 cat >>confdefs.h <<_ACEOF
67529 #define HAVE_HYPOT 1
67530 _ACEOF
67533 done
67535 else
67537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67538 $as_echo_n "checking for _hypot declaration... " >&6; }
67539 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67540 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67541 $as_echo_n "(cached) " >&6
67542 else
67545 ac_ext=cpp
67546 ac_cpp='$CXXCPP $CPPFLAGS'
67547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67552 /* end confdefs.h. */
67553 #include <math.h>
67555 main ()
67557 _hypot(0, 0);
67559 return 0;
67561 _ACEOF
67562 if ac_fn_cxx_try_compile "$LINENO"; then :
67563 glibcxx_cv_func__hypot_use=yes
67564 else
67565 glibcxx_cv_func__hypot_use=no
67567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67568 ac_ext=c
67569 ac_cpp='$CPP $CPPFLAGS'
67570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67579 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67581 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67582 for ac_func in _hypot
67583 do :
67584 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67585 if test "x$ac_cv_func__hypot" = x""yes; then :
67586 cat >>confdefs.h <<_ACEOF
67587 #define HAVE__HYPOT 1
67588 _ACEOF
67591 done
67600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67601 $as_echo_n "checking for float trig functions... " >&6; }
67602 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67603 $as_echo_n "(cached) " >&6
67604 else
67607 ac_ext=cpp
67608 ac_cpp='$CXXCPP $CPPFLAGS'
67609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67614 /* end confdefs.h. */
67615 #include <math.h>
67617 main ()
67619 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67621 return 0;
67623 _ACEOF
67624 if ac_fn_cxx_try_compile "$LINENO"; then :
67625 glibcxx_cv_func_float_trig_use=yes
67626 else
67627 glibcxx_cv_func_float_trig_use=no
67629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67630 ac_ext=c
67631 ac_cpp='$CPP $CPPFLAGS'
67632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67639 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67640 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67641 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67642 do :
67643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67645 eval as_val=\$$as_ac_var
67646 if test "x$as_val" = x""yes; then :
67647 cat >>confdefs.h <<_ACEOF
67648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67649 _ACEOF
67652 done
67654 else
67655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67656 $as_echo_n "checking for _float trig functions... " >&6; }
67657 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67658 $as_echo_n "(cached) " >&6
67659 else
67662 ac_ext=cpp
67663 ac_cpp='$CXXCPP $CPPFLAGS'
67664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67669 /* end confdefs.h. */
67670 #include <math.h>
67672 main ()
67674 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67676 return 0;
67678 _ACEOF
67679 if ac_fn_cxx_try_compile "$LINENO"; then :
67680 glibcxx_cv_func__float_trig_use=yes
67681 else
67682 glibcxx_cv_func__float_trig_use=no
67684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67685 ac_ext=c
67686 ac_cpp='$CPP $CPPFLAGS'
67687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67694 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67695 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67696 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67697 do :
67698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67700 eval as_val=\$$as_ac_var
67701 if test "x$as_val" = x""yes; then :
67702 cat >>confdefs.h <<_ACEOF
67703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67704 _ACEOF
67707 done
67716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67717 $as_echo_n "checking for float round functions... " >&6; }
67718 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67719 $as_echo_n "(cached) " >&6
67720 else
67723 ac_ext=cpp
67724 ac_cpp='$CXXCPP $CPPFLAGS'
67725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67730 /* end confdefs.h. */
67731 #include <math.h>
67733 main ()
67735 ceilf (0); floorf (0);
67737 return 0;
67739 _ACEOF
67740 if ac_fn_cxx_try_compile "$LINENO"; then :
67741 glibcxx_cv_func_float_round_use=yes
67742 else
67743 glibcxx_cv_func_float_round_use=no
67745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67746 ac_ext=c
67747 ac_cpp='$CPP $CPPFLAGS'
67748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67755 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67756 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67757 for ac_func in ceilf floorf
67758 do :
67759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67761 eval as_val=\$$as_ac_var
67762 if test "x$as_val" = x""yes; then :
67763 cat >>confdefs.h <<_ACEOF
67764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67765 _ACEOF
67768 done
67770 else
67771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67772 $as_echo_n "checking for _float round functions... " >&6; }
67773 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67774 $as_echo_n "(cached) " >&6
67775 else
67778 ac_ext=cpp
67779 ac_cpp='$CXXCPP $CPPFLAGS'
67780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67785 /* end confdefs.h. */
67786 #include <math.h>
67788 main ()
67790 _ceilf (0); _floorf (0);
67792 return 0;
67794 _ACEOF
67795 if ac_fn_cxx_try_compile "$LINENO"; then :
67796 glibcxx_cv_func__float_round_use=yes
67797 else
67798 glibcxx_cv_func__float_round_use=no
67800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67801 ac_ext=c
67802 ac_cpp='$CPP $CPPFLAGS'
67803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67810 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67811 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67812 for ac_func in _ceilf _floorf
67813 do :
67814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67816 eval as_val=\$$as_ac_var
67817 if test "x$as_val" = x""yes; then :
67818 cat >>confdefs.h <<_ACEOF
67819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67820 _ACEOF
67823 done
67833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67834 $as_echo_n "checking for expf declaration... " >&6; }
67835 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67836 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67837 $as_echo_n "(cached) " >&6
67838 else
67841 ac_ext=cpp
67842 ac_cpp='$CXXCPP $CPPFLAGS'
67843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67848 /* end confdefs.h. */
67849 #include <math.h>
67850 #ifdef HAVE_IEEEFP_H
67851 #include <ieeefp.h>
67852 #endif
67855 main ()
67857 expf(0);
67859 return 0;
67861 _ACEOF
67862 if ac_fn_cxx_try_compile "$LINENO"; then :
67863 glibcxx_cv_func_expf_use=yes
67864 else
67865 glibcxx_cv_func_expf_use=no
67867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67868 ac_ext=c
67869 ac_cpp='$CPP $CPPFLAGS'
67870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67879 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67881 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67882 for ac_func in expf
67883 do :
67884 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67885 if test "x$ac_cv_func_expf" = x""yes; then :
67886 cat >>confdefs.h <<_ACEOF
67887 #define HAVE_EXPF 1
67888 _ACEOF
67891 done
67893 else
67895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67896 $as_echo_n "checking for _expf declaration... " >&6; }
67897 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67898 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67899 $as_echo_n "(cached) " >&6
67900 else
67903 ac_ext=cpp
67904 ac_cpp='$CXXCPP $CPPFLAGS'
67905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67910 /* end confdefs.h. */
67911 #include <math.h>
67912 #ifdef HAVE_IEEEFP_H
67913 #include <ieeefp.h>
67914 #endif
67917 main ()
67919 _expf(0);
67921 return 0;
67923 _ACEOF
67924 if ac_fn_cxx_try_compile "$LINENO"; then :
67925 glibcxx_cv_func__expf_use=yes
67926 else
67927 glibcxx_cv_func__expf_use=no
67929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67930 ac_ext=c
67931 ac_cpp='$CPP $CPPFLAGS'
67932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67941 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67943 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67944 for ac_func in _expf
67945 do :
67946 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67947 if test "x$ac_cv_func__expf" = x""yes; then :
67948 cat >>confdefs.h <<_ACEOF
67949 #define HAVE__EXPF 1
67950 _ACEOF
67953 done
67962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67963 $as_echo_n "checking for isnanf declaration... " >&6; }
67964 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67965 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67966 $as_echo_n "(cached) " >&6
67967 else
67970 ac_ext=cpp
67971 ac_cpp='$CXXCPP $CPPFLAGS'
67972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67977 /* end confdefs.h. */
67978 #include <math.h>
67979 #ifdef HAVE_IEEEFP_H
67980 #include <ieeefp.h>
67981 #endif
67984 main ()
67986 isnanf(0);
67988 return 0;
67990 _ACEOF
67991 if ac_fn_cxx_try_compile "$LINENO"; then :
67992 glibcxx_cv_func_isnanf_use=yes
67993 else
67994 glibcxx_cv_func_isnanf_use=no
67996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67997 ac_ext=c
67998 ac_cpp='$CPP $CPPFLAGS'
67999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68008 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68010 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68011 for ac_func in isnanf
68012 do :
68013 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68014 if test "x$ac_cv_func_isnanf" = x""yes; then :
68015 cat >>confdefs.h <<_ACEOF
68016 #define HAVE_ISNANF 1
68017 _ACEOF
68020 done
68022 else
68024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68025 $as_echo_n "checking for _isnanf declaration... " >&6; }
68026 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68027 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68028 $as_echo_n "(cached) " >&6
68029 else
68032 ac_ext=cpp
68033 ac_cpp='$CXXCPP $CPPFLAGS'
68034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68039 /* end confdefs.h. */
68040 #include <math.h>
68041 #ifdef HAVE_IEEEFP_H
68042 #include <ieeefp.h>
68043 #endif
68046 main ()
68048 _isnanf(0);
68050 return 0;
68052 _ACEOF
68053 if ac_fn_cxx_try_compile "$LINENO"; then :
68054 glibcxx_cv_func__isnanf_use=yes
68055 else
68056 glibcxx_cv_func__isnanf_use=no
68058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68059 ac_ext=c
68060 ac_cpp='$CPP $CPPFLAGS'
68061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68070 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68072 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68073 for ac_func in _isnanf
68074 do :
68075 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68076 if test "x$ac_cv_func__isnanf" = x""yes; then :
68077 cat >>confdefs.h <<_ACEOF
68078 #define HAVE__ISNANF 1
68079 _ACEOF
68082 done
68091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68092 $as_echo_n "checking for isinff declaration... " >&6; }
68093 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68094 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68095 $as_echo_n "(cached) " >&6
68096 else
68099 ac_ext=cpp
68100 ac_cpp='$CXXCPP $CPPFLAGS'
68101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68106 /* end confdefs.h. */
68107 #include <math.h>
68108 #ifdef HAVE_IEEEFP_H
68109 #include <ieeefp.h>
68110 #endif
68113 main ()
68115 isinff(0);
68117 return 0;
68119 _ACEOF
68120 if ac_fn_cxx_try_compile "$LINENO"; then :
68121 glibcxx_cv_func_isinff_use=yes
68122 else
68123 glibcxx_cv_func_isinff_use=no
68125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68126 ac_ext=c
68127 ac_cpp='$CPP $CPPFLAGS'
68128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68137 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68139 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68140 for ac_func in isinff
68141 do :
68142 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68143 if test "x$ac_cv_func_isinff" = x""yes; then :
68144 cat >>confdefs.h <<_ACEOF
68145 #define HAVE_ISINFF 1
68146 _ACEOF
68149 done
68151 else
68153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68154 $as_echo_n "checking for _isinff declaration... " >&6; }
68155 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68156 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68157 $as_echo_n "(cached) " >&6
68158 else
68161 ac_ext=cpp
68162 ac_cpp='$CXXCPP $CPPFLAGS'
68163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68168 /* end confdefs.h. */
68169 #include <math.h>
68170 #ifdef HAVE_IEEEFP_H
68171 #include <ieeefp.h>
68172 #endif
68175 main ()
68177 _isinff(0);
68179 return 0;
68181 _ACEOF
68182 if ac_fn_cxx_try_compile "$LINENO"; then :
68183 glibcxx_cv_func__isinff_use=yes
68184 else
68185 glibcxx_cv_func__isinff_use=no
68187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68188 ac_ext=c
68189 ac_cpp='$CPP $CPPFLAGS'
68190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68199 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68201 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68202 for ac_func in _isinff
68203 do :
68204 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68205 if test "x$ac_cv_func__isinff" = x""yes; then :
68206 cat >>confdefs.h <<_ACEOF
68207 #define HAVE__ISINFF 1
68208 _ACEOF
68211 done
68220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68221 $as_echo_n "checking for atan2f declaration... " >&6; }
68222 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68223 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68224 $as_echo_n "(cached) " >&6
68225 else
68228 ac_ext=cpp
68229 ac_cpp='$CXXCPP $CPPFLAGS'
68230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68235 /* end confdefs.h. */
68236 #include <math.h>
68238 main ()
68240 atan2f(0, 0);
68242 return 0;
68244 _ACEOF
68245 if ac_fn_cxx_try_compile "$LINENO"; then :
68246 glibcxx_cv_func_atan2f_use=yes
68247 else
68248 glibcxx_cv_func_atan2f_use=no
68250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68251 ac_ext=c
68252 ac_cpp='$CPP $CPPFLAGS'
68253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68262 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68264 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68265 for ac_func in atan2f
68266 do :
68267 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68268 if test "x$ac_cv_func_atan2f" = x""yes; then :
68269 cat >>confdefs.h <<_ACEOF
68270 #define HAVE_ATAN2F 1
68271 _ACEOF
68274 done
68276 else
68278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68279 $as_echo_n "checking for _atan2f declaration... " >&6; }
68280 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68281 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68282 $as_echo_n "(cached) " >&6
68283 else
68286 ac_ext=cpp
68287 ac_cpp='$CXXCPP $CPPFLAGS'
68288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68293 /* end confdefs.h. */
68294 #include <math.h>
68296 main ()
68298 _atan2f(0, 0);
68300 return 0;
68302 _ACEOF
68303 if ac_fn_cxx_try_compile "$LINENO"; then :
68304 glibcxx_cv_func__atan2f_use=yes
68305 else
68306 glibcxx_cv_func__atan2f_use=no
68308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68309 ac_ext=c
68310 ac_cpp='$CPP $CPPFLAGS'
68311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68320 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68322 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68323 for ac_func in _atan2f
68324 do :
68325 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68326 if test "x$ac_cv_func__atan2f" = x""yes; then :
68327 cat >>confdefs.h <<_ACEOF
68328 #define HAVE__ATAN2F 1
68329 _ACEOF
68332 done
68341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68342 $as_echo_n "checking for fabsf declaration... " >&6; }
68343 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68344 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68345 $as_echo_n "(cached) " >&6
68346 else
68349 ac_ext=cpp
68350 ac_cpp='$CXXCPP $CPPFLAGS'
68351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68356 /* end confdefs.h. */
68357 #include <math.h>
68358 #ifdef HAVE_IEEEFP_H
68359 #include <ieeefp.h>
68360 #endif
68363 main ()
68365 fabsf(0);
68367 return 0;
68369 _ACEOF
68370 if ac_fn_cxx_try_compile "$LINENO"; then :
68371 glibcxx_cv_func_fabsf_use=yes
68372 else
68373 glibcxx_cv_func_fabsf_use=no
68375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68376 ac_ext=c
68377 ac_cpp='$CPP $CPPFLAGS'
68378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68387 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68389 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68390 for ac_func in fabsf
68391 do :
68392 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68393 if test "x$ac_cv_func_fabsf" = x""yes; then :
68394 cat >>confdefs.h <<_ACEOF
68395 #define HAVE_FABSF 1
68396 _ACEOF
68399 done
68401 else
68403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68404 $as_echo_n "checking for _fabsf declaration... " >&6; }
68405 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68406 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68407 $as_echo_n "(cached) " >&6
68408 else
68411 ac_ext=cpp
68412 ac_cpp='$CXXCPP $CPPFLAGS'
68413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68418 /* end confdefs.h. */
68419 #include <math.h>
68420 #ifdef HAVE_IEEEFP_H
68421 #include <ieeefp.h>
68422 #endif
68425 main ()
68427 _fabsf(0);
68429 return 0;
68431 _ACEOF
68432 if ac_fn_cxx_try_compile "$LINENO"; then :
68433 glibcxx_cv_func__fabsf_use=yes
68434 else
68435 glibcxx_cv_func__fabsf_use=no
68437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68438 ac_ext=c
68439 ac_cpp='$CPP $CPPFLAGS'
68440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68449 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68451 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68452 for ac_func in _fabsf
68453 do :
68454 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68455 if test "x$ac_cv_func__fabsf" = x""yes; then :
68456 cat >>confdefs.h <<_ACEOF
68457 #define HAVE__FABSF 1
68458 _ACEOF
68461 done
68470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68471 $as_echo_n "checking for fmodf declaration... " >&6; }
68472 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68473 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68474 $as_echo_n "(cached) " >&6
68475 else
68478 ac_ext=cpp
68479 ac_cpp='$CXXCPP $CPPFLAGS'
68480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68485 /* end confdefs.h. */
68486 #include <math.h>
68488 main ()
68490 fmodf(0, 0);
68492 return 0;
68494 _ACEOF
68495 if ac_fn_cxx_try_compile "$LINENO"; then :
68496 glibcxx_cv_func_fmodf_use=yes
68497 else
68498 glibcxx_cv_func_fmodf_use=no
68500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68501 ac_ext=c
68502 ac_cpp='$CPP $CPPFLAGS'
68503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68512 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68514 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68515 for ac_func in fmodf
68516 do :
68517 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68518 if test "x$ac_cv_func_fmodf" = x""yes; then :
68519 cat >>confdefs.h <<_ACEOF
68520 #define HAVE_FMODF 1
68521 _ACEOF
68524 done
68526 else
68528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68529 $as_echo_n "checking for _fmodf declaration... " >&6; }
68530 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68531 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68532 $as_echo_n "(cached) " >&6
68533 else
68536 ac_ext=cpp
68537 ac_cpp='$CXXCPP $CPPFLAGS'
68538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68543 /* end confdefs.h. */
68544 #include <math.h>
68546 main ()
68548 _fmodf(0, 0);
68550 return 0;
68552 _ACEOF
68553 if ac_fn_cxx_try_compile "$LINENO"; then :
68554 glibcxx_cv_func__fmodf_use=yes
68555 else
68556 glibcxx_cv_func__fmodf_use=no
68558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68559 ac_ext=c
68560 ac_cpp='$CPP $CPPFLAGS'
68561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68570 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68572 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68573 for ac_func in _fmodf
68574 do :
68575 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68576 if test "x$ac_cv_func__fmodf" = x""yes; then :
68577 cat >>confdefs.h <<_ACEOF
68578 #define HAVE__FMODF 1
68579 _ACEOF
68582 done
68591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68592 $as_echo_n "checking for frexpf declaration... " >&6; }
68593 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68594 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68595 $as_echo_n "(cached) " >&6
68596 else
68599 ac_ext=cpp
68600 ac_cpp='$CXXCPP $CPPFLAGS'
68601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68606 /* end confdefs.h. */
68607 #include <math.h>
68609 main ()
68611 frexpf(0, 0);
68613 return 0;
68615 _ACEOF
68616 if ac_fn_cxx_try_compile "$LINENO"; then :
68617 glibcxx_cv_func_frexpf_use=yes
68618 else
68619 glibcxx_cv_func_frexpf_use=no
68621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68622 ac_ext=c
68623 ac_cpp='$CPP $CPPFLAGS'
68624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68633 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68635 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68636 for ac_func in frexpf
68637 do :
68638 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68639 if test "x$ac_cv_func_frexpf" = x""yes; then :
68640 cat >>confdefs.h <<_ACEOF
68641 #define HAVE_FREXPF 1
68642 _ACEOF
68645 done
68647 else
68649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68650 $as_echo_n "checking for _frexpf declaration... " >&6; }
68651 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68652 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68653 $as_echo_n "(cached) " >&6
68654 else
68657 ac_ext=cpp
68658 ac_cpp='$CXXCPP $CPPFLAGS'
68659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68664 /* end confdefs.h. */
68665 #include <math.h>
68667 main ()
68669 _frexpf(0, 0);
68671 return 0;
68673 _ACEOF
68674 if ac_fn_cxx_try_compile "$LINENO"; then :
68675 glibcxx_cv_func__frexpf_use=yes
68676 else
68677 glibcxx_cv_func__frexpf_use=no
68679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68680 ac_ext=c
68681 ac_cpp='$CPP $CPPFLAGS'
68682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68691 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68693 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68694 for ac_func in _frexpf
68695 do :
68696 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68697 if test "x$ac_cv_func__frexpf" = x""yes; then :
68698 cat >>confdefs.h <<_ACEOF
68699 #define HAVE__FREXPF 1
68700 _ACEOF
68703 done
68712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68713 $as_echo_n "checking for hypotf declaration... " >&6; }
68714 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68715 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68716 $as_echo_n "(cached) " >&6
68717 else
68720 ac_ext=cpp
68721 ac_cpp='$CXXCPP $CPPFLAGS'
68722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68727 /* end confdefs.h. */
68728 #include <math.h>
68730 main ()
68732 hypotf(0, 0);
68734 return 0;
68736 _ACEOF
68737 if ac_fn_cxx_try_compile "$LINENO"; then :
68738 glibcxx_cv_func_hypotf_use=yes
68739 else
68740 glibcxx_cv_func_hypotf_use=no
68742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68743 ac_ext=c
68744 ac_cpp='$CPP $CPPFLAGS'
68745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68754 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68756 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68757 for ac_func in hypotf
68758 do :
68759 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68760 if test "x$ac_cv_func_hypotf" = x""yes; then :
68761 cat >>confdefs.h <<_ACEOF
68762 #define HAVE_HYPOTF 1
68763 _ACEOF
68766 done
68768 else
68770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68771 $as_echo_n "checking for _hypotf declaration... " >&6; }
68772 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68773 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68774 $as_echo_n "(cached) " >&6
68775 else
68778 ac_ext=cpp
68779 ac_cpp='$CXXCPP $CPPFLAGS'
68780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68785 /* end confdefs.h. */
68786 #include <math.h>
68788 main ()
68790 _hypotf(0, 0);
68792 return 0;
68794 _ACEOF
68795 if ac_fn_cxx_try_compile "$LINENO"; then :
68796 glibcxx_cv_func__hypotf_use=yes
68797 else
68798 glibcxx_cv_func__hypotf_use=no
68800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68801 ac_ext=c
68802 ac_cpp='$CPP $CPPFLAGS'
68803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68812 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68814 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68815 for ac_func in _hypotf
68816 do :
68817 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68818 if test "x$ac_cv_func__hypotf" = x""yes; then :
68819 cat >>confdefs.h <<_ACEOF
68820 #define HAVE__HYPOTF 1
68821 _ACEOF
68824 done
68833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68834 $as_echo_n "checking for ldexpf declaration... " >&6; }
68835 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68836 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68837 $as_echo_n "(cached) " >&6
68838 else
68841 ac_ext=cpp
68842 ac_cpp='$CXXCPP $CPPFLAGS'
68843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68848 /* end confdefs.h. */
68849 #include <math.h>
68851 main ()
68853 ldexpf(0, 0);
68855 return 0;
68857 _ACEOF
68858 if ac_fn_cxx_try_compile "$LINENO"; then :
68859 glibcxx_cv_func_ldexpf_use=yes
68860 else
68861 glibcxx_cv_func_ldexpf_use=no
68863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68864 ac_ext=c
68865 ac_cpp='$CPP $CPPFLAGS'
68866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68875 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68877 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68878 for ac_func in ldexpf
68879 do :
68880 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68881 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68882 cat >>confdefs.h <<_ACEOF
68883 #define HAVE_LDEXPF 1
68884 _ACEOF
68887 done
68889 else
68891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68892 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68893 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68894 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68895 $as_echo_n "(cached) " >&6
68896 else
68899 ac_ext=cpp
68900 ac_cpp='$CXXCPP $CPPFLAGS'
68901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68906 /* end confdefs.h. */
68907 #include <math.h>
68909 main ()
68911 _ldexpf(0, 0);
68913 return 0;
68915 _ACEOF
68916 if ac_fn_cxx_try_compile "$LINENO"; then :
68917 glibcxx_cv_func__ldexpf_use=yes
68918 else
68919 glibcxx_cv_func__ldexpf_use=no
68921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68922 ac_ext=c
68923 ac_cpp='$CPP $CPPFLAGS'
68924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68933 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68935 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68936 for ac_func in _ldexpf
68937 do :
68938 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68939 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68940 cat >>confdefs.h <<_ACEOF
68941 #define HAVE__LDEXPF 1
68942 _ACEOF
68945 done
68954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68955 $as_echo_n "checking for logf declaration... " >&6; }
68956 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68957 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68958 $as_echo_n "(cached) " >&6
68959 else
68962 ac_ext=cpp
68963 ac_cpp='$CXXCPP $CPPFLAGS'
68964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68969 /* end confdefs.h. */
68970 #include <math.h>
68971 #ifdef HAVE_IEEEFP_H
68972 #include <ieeefp.h>
68973 #endif
68976 main ()
68978 logf(0);
68980 return 0;
68982 _ACEOF
68983 if ac_fn_cxx_try_compile "$LINENO"; then :
68984 glibcxx_cv_func_logf_use=yes
68985 else
68986 glibcxx_cv_func_logf_use=no
68988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68989 ac_ext=c
68990 ac_cpp='$CPP $CPPFLAGS'
68991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69000 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69002 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69003 for ac_func in logf
69004 do :
69005 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69006 if test "x$ac_cv_func_logf" = x""yes; then :
69007 cat >>confdefs.h <<_ACEOF
69008 #define HAVE_LOGF 1
69009 _ACEOF
69012 done
69014 else
69016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69017 $as_echo_n "checking for _logf declaration... " >&6; }
69018 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69019 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69020 $as_echo_n "(cached) " >&6
69021 else
69024 ac_ext=cpp
69025 ac_cpp='$CXXCPP $CPPFLAGS'
69026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69031 /* end confdefs.h. */
69032 #include <math.h>
69033 #ifdef HAVE_IEEEFP_H
69034 #include <ieeefp.h>
69035 #endif
69038 main ()
69040 _logf(0);
69042 return 0;
69044 _ACEOF
69045 if ac_fn_cxx_try_compile "$LINENO"; then :
69046 glibcxx_cv_func__logf_use=yes
69047 else
69048 glibcxx_cv_func__logf_use=no
69050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69051 ac_ext=c
69052 ac_cpp='$CPP $CPPFLAGS'
69053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69062 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69064 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69065 for ac_func in _logf
69066 do :
69067 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69068 if test "x$ac_cv_func__logf" = x""yes; then :
69069 cat >>confdefs.h <<_ACEOF
69070 #define HAVE__LOGF 1
69071 _ACEOF
69074 done
69083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69084 $as_echo_n "checking for log10f declaration... " >&6; }
69085 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69086 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69087 $as_echo_n "(cached) " >&6
69088 else
69091 ac_ext=cpp
69092 ac_cpp='$CXXCPP $CPPFLAGS'
69093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69098 /* end confdefs.h. */
69099 #include <math.h>
69100 #ifdef HAVE_IEEEFP_H
69101 #include <ieeefp.h>
69102 #endif
69105 main ()
69107 log10f(0);
69109 return 0;
69111 _ACEOF
69112 if ac_fn_cxx_try_compile "$LINENO"; then :
69113 glibcxx_cv_func_log10f_use=yes
69114 else
69115 glibcxx_cv_func_log10f_use=no
69117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69118 ac_ext=c
69119 ac_cpp='$CPP $CPPFLAGS'
69120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69129 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69131 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69132 for ac_func in log10f
69133 do :
69134 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69135 if test "x$ac_cv_func_log10f" = x""yes; then :
69136 cat >>confdefs.h <<_ACEOF
69137 #define HAVE_LOG10F 1
69138 _ACEOF
69141 done
69143 else
69145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69146 $as_echo_n "checking for _log10f declaration... " >&6; }
69147 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69148 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69149 $as_echo_n "(cached) " >&6
69150 else
69153 ac_ext=cpp
69154 ac_cpp='$CXXCPP $CPPFLAGS'
69155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69160 /* end confdefs.h. */
69161 #include <math.h>
69162 #ifdef HAVE_IEEEFP_H
69163 #include <ieeefp.h>
69164 #endif
69167 main ()
69169 _log10f(0);
69171 return 0;
69173 _ACEOF
69174 if ac_fn_cxx_try_compile "$LINENO"; then :
69175 glibcxx_cv_func__log10f_use=yes
69176 else
69177 glibcxx_cv_func__log10f_use=no
69179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69180 ac_ext=c
69181 ac_cpp='$CPP $CPPFLAGS'
69182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69191 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69193 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69194 for ac_func in _log10f
69195 do :
69196 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69197 if test "x$ac_cv_func__log10f" = x""yes; then :
69198 cat >>confdefs.h <<_ACEOF
69199 #define HAVE__LOG10F 1
69200 _ACEOF
69203 done
69212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69213 $as_echo_n "checking for modff declaration... " >&6; }
69214 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69215 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69216 $as_echo_n "(cached) " >&6
69217 else
69220 ac_ext=cpp
69221 ac_cpp='$CXXCPP $CPPFLAGS'
69222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69227 /* end confdefs.h. */
69228 #include <math.h>
69230 main ()
69232 modff(0, 0);
69234 return 0;
69236 _ACEOF
69237 if ac_fn_cxx_try_compile "$LINENO"; then :
69238 glibcxx_cv_func_modff_use=yes
69239 else
69240 glibcxx_cv_func_modff_use=no
69242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69243 ac_ext=c
69244 ac_cpp='$CPP $CPPFLAGS'
69245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69254 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69256 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69257 for ac_func in modff
69258 do :
69259 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69260 if test "x$ac_cv_func_modff" = x""yes; then :
69261 cat >>confdefs.h <<_ACEOF
69262 #define HAVE_MODFF 1
69263 _ACEOF
69266 done
69268 else
69270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69271 $as_echo_n "checking for _modff declaration... " >&6; }
69272 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69273 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69274 $as_echo_n "(cached) " >&6
69275 else
69278 ac_ext=cpp
69279 ac_cpp='$CXXCPP $CPPFLAGS'
69280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69285 /* end confdefs.h. */
69286 #include <math.h>
69288 main ()
69290 _modff(0, 0);
69292 return 0;
69294 _ACEOF
69295 if ac_fn_cxx_try_compile "$LINENO"; then :
69296 glibcxx_cv_func__modff_use=yes
69297 else
69298 glibcxx_cv_func__modff_use=no
69300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69301 ac_ext=c
69302 ac_cpp='$CPP $CPPFLAGS'
69303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69312 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69314 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69315 for ac_func in _modff
69316 do :
69317 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69318 if test "x$ac_cv_func__modff" = x""yes; then :
69319 cat >>confdefs.h <<_ACEOF
69320 #define HAVE__MODFF 1
69321 _ACEOF
69324 done
69333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69334 $as_echo_n "checking for modf declaration... " >&6; }
69335 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69336 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69337 $as_echo_n "(cached) " >&6
69338 else
69341 ac_ext=cpp
69342 ac_cpp='$CXXCPP $CPPFLAGS'
69343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69348 /* end confdefs.h. */
69349 #include <math.h>
69351 main ()
69353 modf(0, 0);
69355 return 0;
69357 _ACEOF
69358 if ac_fn_cxx_try_compile "$LINENO"; then :
69359 glibcxx_cv_func_modf_use=yes
69360 else
69361 glibcxx_cv_func_modf_use=no
69363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69364 ac_ext=c
69365 ac_cpp='$CPP $CPPFLAGS'
69366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69375 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69377 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69378 for ac_func in modf
69379 do :
69380 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69381 if test "x$ac_cv_func_modf" = x""yes; then :
69382 cat >>confdefs.h <<_ACEOF
69383 #define HAVE_MODF 1
69384 _ACEOF
69387 done
69389 else
69391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69392 $as_echo_n "checking for _modf declaration... " >&6; }
69393 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69394 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69395 $as_echo_n "(cached) " >&6
69396 else
69399 ac_ext=cpp
69400 ac_cpp='$CXXCPP $CPPFLAGS'
69401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69406 /* end confdefs.h. */
69407 #include <math.h>
69409 main ()
69411 _modf(0, 0);
69413 return 0;
69415 _ACEOF
69416 if ac_fn_cxx_try_compile "$LINENO"; then :
69417 glibcxx_cv_func__modf_use=yes
69418 else
69419 glibcxx_cv_func__modf_use=no
69421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69422 ac_ext=c
69423 ac_cpp='$CPP $CPPFLAGS'
69424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69433 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69435 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69436 for ac_func in _modf
69437 do :
69438 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69439 if test "x$ac_cv_func__modf" = x""yes; then :
69440 cat >>confdefs.h <<_ACEOF
69441 #define HAVE__MODF 1
69442 _ACEOF
69445 done
69454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69455 $as_echo_n "checking for powf declaration... " >&6; }
69456 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69457 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69458 $as_echo_n "(cached) " >&6
69459 else
69462 ac_ext=cpp
69463 ac_cpp='$CXXCPP $CPPFLAGS'
69464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69469 /* end confdefs.h. */
69470 #include <math.h>
69472 main ()
69474 powf(0, 0);
69476 return 0;
69478 _ACEOF
69479 if ac_fn_cxx_try_compile "$LINENO"; then :
69480 glibcxx_cv_func_powf_use=yes
69481 else
69482 glibcxx_cv_func_powf_use=no
69484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69485 ac_ext=c
69486 ac_cpp='$CPP $CPPFLAGS'
69487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69496 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69498 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69499 for ac_func in powf
69500 do :
69501 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69502 if test "x$ac_cv_func_powf" = x""yes; then :
69503 cat >>confdefs.h <<_ACEOF
69504 #define HAVE_POWF 1
69505 _ACEOF
69508 done
69510 else
69512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69513 $as_echo_n "checking for _powf declaration... " >&6; }
69514 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69515 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69516 $as_echo_n "(cached) " >&6
69517 else
69520 ac_ext=cpp
69521 ac_cpp='$CXXCPP $CPPFLAGS'
69522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69527 /* end confdefs.h. */
69528 #include <math.h>
69530 main ()
69532 _powf(0, 0);
69534 return 0;
69536 _ACEOF
69537 if ac_fn_cxx_try_compile "$LINENO"; then :
69538 glibcxx_cv_func__powf_use=yes
69539 else
69540 glibcxx_cv_func__powf_use=no
69542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69543 ac_ext=c
69544 ac_cpp='$CPP $CPPFLAGS'
69545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69554 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69556 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69557 for ac_func in _powf
69558 do :
69559 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69560 if test "x$ac_cv_func__powf" = x""yes; then :
69561 cat >>confdefs.h <<_ACEOF
69562 #define HAVE__POWF 1
69563 _ACEOF
69566 done
69575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69576 $as_echo_n "checking for sqrtf declaration... " >&6; }
69577 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69578 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69579 $as_echo_n "(cached) " >&6
69580 else
69583 ac_ext=cpp
69584 ac_cpp='$CXXCPP $CPPFLAGS'
69585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69590 /* end confdefs.h. */
69591 #include <math.h>
69592 #ifdef HAVE_IEEEFP_H
69593 #include <ieeefp.h>
69594 #endif
69597 main ()
69599 sqrtf(0);
69601 return 0;
69603 _ACEOF
69604 if ac_fn_cxx_try_compile "$LINENO"; then :
69605 glibcxx_cv_func_sqrtf_use=yes
69606 else
69607 glibcxx_cv_func_sqrtf_use=no
69609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69610 ac_ext=c
69611 ac_cpp='$CPP $CPPFLAGS'
69612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69621 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69623 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69624 for ac_func in sqrtf
69625 do :
69626 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69627 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69628 cat >>confdefs.h <<_ACEOF
69629 #define HAVE_SQRTF 1
69630 _ACEOF
69633 done
69635 else
69637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69638 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69639 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69640 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69641 $as_echo_n "(cached) " >&6
69642 else
69645 ac_ext=cpp
69646 ac_cpp='$CXXCPP $CPPFLAGS'
69647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69652 /* end confdefs.h. */
69653 #include <math.h>
69654 #ifdef HAVE_IEEEFP_H
69655 #include <ieeefp.h>
69656 #endif
69659 main ()
69661 _sqrtf(0);
69663 return 0;
69665 _ACEOF
69666 if ac_fn_cxx_try_compile "$LINENO"; then :
69667 glibcxx_cv_func__sqrtf_use=yes
69668 else
69669 glibcxx_cv_func__sqrtf_use=no
69671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69672 ac_ext=c
69673 ac_cpp='$CPP $CPPFLAGS'
69674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69683 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69685 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69686 for ac_func in _sqrtf
69687 do :
69688 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69689 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69690 cat >>confdefs.h <<_ACEOF
69691 #define HAVE__SQRTF 1
69692 _ACEOF
69695 done
69704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69705 $as_echo_n "checking for sincosf declaration... " >&6; }
69706 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69707 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69708 $as_echo_n "(cached) " >&6
69709 else
69712 ac_ext=cpp
69713 ac_cpp='$CXXCPP $CPPFLAGS'
69714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69719 /* end confdefs.h. */
69720 #include <math.h>
69722 main ()
69724 sincosf(0, 0, 0);
69726 return 0;
69728 _ACEOF
69729 if ac_fn_cxx_try_compile "$LINENO"; then :
69730 glibcxx_cv_func_sincosf_use=yes
69731 else
69732 glibcxx_cv_func_sincosf_use=no
69734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69735 ac_ext=c
69736 ac_cpp='$CPP $CPPFLAGS'
69737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69746 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69748 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69749 for ac_func in sincosf
69750 do :
69751 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69752 if test "x$ac_cv_func_sincosf" = x""yes; then :
69753 cat >>confdefs.h <<_ACEOF
69754 #define HAVE_SINCOSF 1
69755 _ACEOF
69758 done
69760 else
69762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69763 $as_echo_n "checking for _sincosf declaration... " >&6; }
69764 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69765 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69766 $as_echo_n "(cached) " >&6
69767 else
69770 ac_ext=cpp
69771 ac_cpp='$CXXCPP $CPPFLAGS'
69772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69777 /* end confdefs.h. */
69778 #include <math.h>
69780 main ()
69782 _sincosf(0, 0, 0);
69784 return 0;
69786 _ACEOF
69787 if ac_fn_cxx_try_compile "$LINENO"; then :
69788 glibcxx_cv_func__sincosf_use=yes
69789 else
69790 glibcxx_cv_func__sincosf_use=no
69792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69793 ac_ext=c
69794 ac_cpp='$CPP $CPPFLAGS'
69795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69804 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69806 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69807 for ac_func in _sincosf
69808 do :
69809 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69810 if test "x$ac_cv_func__sincosf" = x""yes; then :
69811 cat >>confdefs.h <<_ACEOF
69812 #define HAVE__SINCOSF 1
69813 _ACEOF
69816 done
69825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69826 $as_echo_n "checking for finitef declaration... " >&6; }
69827 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69828 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69829 $as_echo_n "(cached) " >&6
69830 else
69833 ac_ext=cpp
69834 ac_cpp='$CXXCPP $CPPFLAGS'
69835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69840 /* end confdefs.h. */
69841 #include <math.h>
69842 #ifdef HAVE_IEEEFP_H
69843 #include <ieeefp.h>
69844 #endif
69847 main ()
69849 finitef(0);
69851 return 0;
69853 _ACEOF
69854 if ac_fn_cxx_try_compile "$LINENO"; then :
69855 glibcxx_cv_func_finitef_use=yes
69856 else
69857 glibcxx_cv_func_finitef_use=no
69859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69860 ac_ext=c
69861 ac_cpp='$CPP $CPPFLAGS'
69862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69871 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69873 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69874 for ac_func in finitef
69875 do :
69876 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69877 if test "x$ac_cv_func_finitef" = x""yes; then :
69878 cat >>confdefs.h <<_ACEOF
69879 #define HAVE_FINITEF 1
69880 _ACEOF
69883 done
69885 else
69887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69888 $as_echo_n "checking for _finitef declaration... " >&6; }
69889 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69890 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69891 $as_echo_n "(cached) " >&6
69892 else
69895 ac_ext=cpp
69896 ac_cpp='$CXXCPP $CPPFLAGS'
69897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69902 /* end confdefs.h. */
69903 #include <math.h>
69904 #ifdef HAVE_IEEEFP_H
69905 #include <ieeefp.h>
69906 #endif
69909 main ()
69911 _finitef(0);
69913 return 0;
69915 _ACEOF
69916 if ac_fn_cxx_try_compile "$LINENO"; then :
69917 glibcxx_cv_func__finitef_use=yes
69918 else
69919 glibcxx_cv_func__finitef_use=no
69921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69922 ac_ext=c
69923 ac_cpp='$CPP $CPPFLAGS'
69924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69933 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69935 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69936 for ac_func in _finitef
69937 do :
69938 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69939 if test "x$ac_cv_func__finitef" = x""yes; then :
69940 cat >>confdefs.h <<_ACEOF
69941 #define HAVE__FINITEF 1
69942 _ACEOF
69945 done
69954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69955 $as_echo_n "checking for long double trig functions... " >&6; }
69956 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69957 $as_echo_n "(cached) " >&6
69958 else
69961 ac_ext=cpp
69962 ac_cpp='$CXXCPP $CPPFLAGS'
69963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69968 /* end confdefs.h. */
69969 #include <math.h>
69971 main ()
69973 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69975 return 0;
69977 _ACEOF
69978 if ac_fn_cxx_try_compile "$LINENO"; then :
69979 glibcxx_cv_func_long_double_trig_use=yes
69980 else
69981 glibcxx_cv_func_long_double_trig_use=no
69983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69984 ac_ext=c
69985 ac_cpp='$CPP $CPPFLAGS'
69986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69993 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69994 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69995 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69996 do :
69997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69999 eval as_val=\$$as_ac_var
70000 if test "x$as_val" = x""yes; then :
70001 cat >>confdefs.h <<_ACEOF
70002 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70003 _ACEOF
70006 done
70008 else
70009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70010 $as_echo_n "checking for _long double trig functions... " >&6; }
70011 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70012 $as_echo_n "(cached) " >&6
70013 else
70016 ac_ext=cpp
70017 ac_cpp='$CXXCPP $CPPFLAGS'
70018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70023 /* end confdefs.h. */
70024 #include <math.h>
70026 main ()
70028 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70030 return 0;
70032 _ACEOF
70033 if ac_fn_cxx_try_compile "$LINENO"; then :
70034 glibcxx_cv_func__long_double_trig_use=yes
70035 else
70036 glibcxx_cv_func__long_double_trig_use=no
70038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70039 ac_ext=c
70040 ac_cpp='$CPP $CPPFLAGS'
70041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70048 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70049 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70050 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70051 do :
70052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70054 eval as_val=\$$as_ac_var
70055 if test "x$as_val" = x""yes; then :
70056 cat >>confdefs.h <<_ACEOF
70057 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70058 _ACEOF
70061 done
70070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70071 $as_echo_n "checking for long double round functions... " >&6; }
70072 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70073 $as_echo_n "(cached) " >&6
70074 else
70077 ac_ext=cpp
70078 ac_cpp='$CXXCPP $CPPFLAGS'
70079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70084 /* end confdefs.h. */
70085 #include <math.h>
70087 main ()
70089 ceill (0); floorl (0);
70091 return 0;
70093 _ACEOF
70094 if ac_fn_cxx_try_compile "$LINENO"; then :
70095 glibcxx_cv_func_long_double_round_use=yes
70096 else
70097 glibcxx_cv_func_long_double_round_use=no
70099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70100 ac_ext=c
70101 ac_cpp='$CPP $CPPFLAGS'
70102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70109 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70110 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70111 for ac_func in ceill floorl
70112 do :
70113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70115 eval as_val=\$$as_ac_var
70116 if test "x$as_val" = x""yes; then :
70117 cat >>confdefs.h <<_ACEOF
70118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70119 _ACEOF
70122 done
70124 else
70125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70126 $as_echo_n "checking for _long double round functions... " >&6; }
70127 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70128 $as_echo_n "(cached) " >&6
70129 else
70132 ac_ext=cpp
70133 ac_cpp='$CXXCPP $CPPFLAGS'
70134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70139 /* end confdefs.h. */
70140 #include <math.h>
70142 main ()
70144 _ceill (0); _floorl (0);
70146 return 0;
70148 _ACEOF
70149 if ac_fn_cxx_try_compile "$LINENO"; then :
70150 glibcxx_cv_func__long_double_round_use=yes
70151 else
70152 glibcxx_cv_func__long_double_round_use=no
70154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70155 ac_ext=c
70156 ac_cpp='$CPP $CPPFLAGS'
70157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70164 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70165 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70166 for ac_func in _ceill _floorl
70167 do :
70168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70170 eval as_val=\$$as_ac_var
70171 if test "x$as_val" = x""yes; then :
70172 cat >>confdefs.h <<_ACEOF
70173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70174 _ACEOF
70177 done
70187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70188 $as_echo_n "checking for isnanl declaration... " >&6; }
70189 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70190 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70191 $as_echo_n "(cached) " >&6
70192 else
70195 ac_ext=cpp
70196 ac_cpp='$CXXCPP $CPPFLAGS'
70197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70202 /* end confdefs.h. */
70203 #include <math.h>
70204 #ifdef HAVE_IEEEFP_H
70205 #include <ieeefp.h>
70206 #endif
70209 main ()
70211 isnanl(0);
70213 return 0;
70215 _ACEOF
70216 if ac_fn_cxx_try_compile "$LINENO"; then :
70217 glibcxx_cv_func_isnanl_use=yes
70218 else
70219 glibcxx_cv_func_isnanl_use=no
70221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70222 ac_ext=c
70223 ac_cpp='$CPP $CPPFLAGS'
70224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70233 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70235 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70236 for ac_func in isnanl
70237 do :
70238 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70239 if test "x$ac_cv_func_isnanl" = x""yes; then :
70240 cat >>confdefs.h <<_ACEOF
70241 #define HAVE_ISNANL 1
70242 _ACEOF
70245 done
70247 else
70249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70250 $as_echo_n "checking for _isnanl declaration... " >&6; }
70251 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70252 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70253 $as_echo_n "(cached) " >&6
70254 else
70257 ac_ext=cpp
70258 ac_cpp='$CXXCPP $CPPFLAGS'
70259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70264 /* end confdefs.h. */
70265 #include <math.h>
70266 #ifdef HAVE_IEEEFP_H
70267 #include <ieeefp.h>
70268 #endif
70271 main ()
70273 _isnanl(0);
70275 return 0;
70277 _ACEOF
70278 if ac_fn_cxx_try_compile "$LINENO"; then :
70279 glibcxx_cv_func__isnanl_use=yes
70280 else
70281 glibcxx_cv_func__isnanl_use=no
70283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70284 ac_ext=c
70285 ac_cpp='$CPP $CPPFLAGS'
70286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70295 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70297 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70298 for ac_func in _isnanl
70299 do :
70300 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70301 if test "x$ac_cv_func__isnanl" = x""yes; then :
70302 cat >>confdefs.h <<_ACEOF
70303 #define HAVE__ISNANL 1
70304 _ACEOF
70307 done
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70317 $as_echo_n "checking for isinfl declaration... " >&6; }
70318 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70319 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70320 $as_echo_n "(cached) " >&6
70321 else
70324 ac_ext=cpp
70325 ac_cpp='$CXXCPP $CPPFLAGS'
70326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70331 /* end confdefs.h. */
70332 #include <math.h>
70333 #ifdef HAVE_IEEEFP_H
70334 #include <ieeefp.h>
70335 #endif
70338 main ()
70340 isinfl(0);
70342 return 0;
70344 _ACEOF
70345 if ac_fn_cxx_try_compile "$LINENO"; then :
70346 glibcxx_cv_func_isinfl_use=yes
70347 else
70348 glibcxx_cv_func_isinfl_use=no
70350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70351 ac_ext=c
70352 ac_cpp='$CPP $CPPFLAGS'
70353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70362 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70364 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70365 for ac_func in isinfl
70366 do :
70367 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70368 if test "x$ac_cv_func_isinfl" = x""yes; then :
70369 cat >>confdefs.h <<_ACEOF
70370 #define HAVE_ISINFL 1
70371 _ACEOF
70374 done
70376 else
70378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70379 $as_echo_n "checking for _isinfl declaration... " >&6; }
70380 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70381 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70382 $as_echo_n "(cached) " >&6
70383 else
70386 ac_ext=cpp
70387 ac_cpp='$CXXCPP $CPPFLAGS'
70388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70393 /* end confdefs.h. */
70394 #include <math.h>
70395 #ifdef HAVE_IEEEFP_H
70396 #include <ieeefp.h>
70397 #endif
70400 main ()
70402 _isinfl(0);
70404 return 0;
70406 _ACEOF
70407 if ac_fn_cxx_try_compile "$LINENO"; then :
70408 glibcxx_cv_func__isinfl_use=yes
70409 else
70410 glibcxx_cv_func__isinfl_use=no
70412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70413 ac_ext=c
70414 ac_cpp='$CPP $CPPFLAGS'
70415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70424 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70426 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70427 for ac_func in _isinfl
70428 do :
70429 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70430 if test "x$ac_cv_func__isinfl" = x""yes; then :
70431 cat >>confdefs.h <<_ACEOF
70432 #define HAVE__ISINFL 1
70433 _ACEOF
70436 done
70445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70446 $as_echo_n "checking for atan2l declaration... " >&6; }
70447 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70448 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70449 $as_echo_n "(cached) " >&6
70450 else
70453 ac_ext=cpp
70454 ac_cpp='$CXXCPP $CPPFLAGS'
70455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70460 /* end confdefs.h. */
70461 #include <math.h>
70463 main ()
70465 atan2l(0, 0);
70467 return 0;
70469 _ACEOF
70470 if ac_fn_cxx_try_compile "$LINENO"; then :
70471 glibcxx_cv_func_atan2l_use=yes
70472 else
70473 glibcxx_cv_func_atan2l_use=no
70475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70476 ac_ext=c
70477 ac_cpp='$CPP $CPPFLAGS'
70478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70487 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70489 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70490 for ac_func in atan2l
70491 do :
70492 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70493 if test "x$ac_cv_func_atan2l" = x""yes; then :
70494 cat >>confdefs.h <<_ACEOF
70495 #define HAVE_ATAN2L 1
70496 _ACEOF
70499 done
70501 else
70503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70504 $as_echo_n "checking for _atan2l declaration... " >&6; }
70505 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70506 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70507 $as_echo_n "(cached) " >&6
70508 else
70511 ac_ext=cpp
70512 ac_cpp='$CXXCPP $CPPFLAGS'
70513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70518 /* end confdefs.h. */
70519 #include <math.h>
70521 main ()
70523 _atan2l(0, 0);
70525 return 0;
70527 _ACEOF
70528 if ac_fn_cxx_try_compile "$LINENO"; then :
70529 glibcxx_cv_func__atan2l_use=yes
70530 else
70531 glibcxx_cv_func__atan2l_use=no
70533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70534 ac_ext=c
70535 ac_cpp='$CPP $CPPFLAGS'
70536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70545 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70547 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70548 for ac_func in _atan2l
70549 do :
70550 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70551 if test "x$ac_cv_func__atan2l" = x""yes; then :
70552 cat >>confdefs.h <<_ACEOF
70553 #define HAVE__ATAN2L 1
70554 _ACEOF
70557 done
70566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70567 $as_echo_n "checking for expl declaration... " >&6; }
70568 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70569 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70570 $as_echo_n "(cached) " >&6
70571 else
70574 ac_ext=cpp
70575 ac_cpp='$CXXCPP $CPPFLAGS'
70576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70581 /* end confdefs.h. */
70582 #include <math.h>
70583 #ifdef HAVE_IEEEFP_H
70584 #include <ieeefp.h>
70585 #endif
70588 main ()
70590 expl(0);
70592 return 0;
70594 _ACEOF
70595 if ac_fn_cxx_try_compile "$LINENO"; then :
70596 glibcxx_cv_func_expl_use=yes
70597 else
70598 glibcxx_cv_func_expl_use=no
70600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70601 ac_ext=c
70602 ac_cpp='$CPP $CPPFLAGS'
70603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70612 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70614 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70615 for ac_func in expl
70616 do :
70617 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70618 if test "x$ac_cv_func_expl" = x""yes; then :
70619 cat >>confdefs.h <<_ACEOF
70620 #define HAVE_EXPL 1
70621 _ACEOF
70624 done
70626 else
70628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70629 $as_echo_n "checking for _expl declaration... " >&6; }
70630 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70631 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70632 $as_echo_n "(cached) " >&6
70633 else
70636 ac_ext=cpp
70637 ac_cpp='$CXXCPP $CPPFLAGS'
70638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70643 /* end confdefs.h. */
70644 #include <math.h>
70645 #ifdef HAVE_IEEEFP_H
70646 #include <ieeefp.h>
70647 #endif
70650 main ()
70652 _expl(0);
70654 return 0;
70656 _ACEOF
70657 if ac_fn_cxx_try_compile "$LINENO"; then :
70658 glibcxx_cv_func__expl_use=yes
70659 else
70660 glibcxx_cv_func__expl_use=no
70662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70663 ac_ext=c
70664 ac_cpp='$CPP $CPPFLAGS'
70665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70674 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70676 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70677 for ac_func in _expl
70678 do :
70679 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70680 if test "x$ac_cv_func__expl" = x""yes; then :
70681 cat >>confdefs.h <<_ACEOF
70682 #define HAVE__EXPL 1
70683 _ACEOF
70686 done
70695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70696 $as_echo_n "checking for fabsl declaration... " >&6; }
70697 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70698 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70699 $as_echo_n "(cached) " >&6
70700 else
70703 ac_ext=cpp
70704 ac_cpp='$CXXCPP $CPPFLAGS'
70705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70710 /* end confdefs.h. */
70711 #include <math.h>
70712 #ifdef HAVE_IEEEFP_H
70713 #include <ieeefp.h>
70714 #endif
70717 main ()
70719 fabsl(0);
70721 return 0;
70723 _ACEOF
70724 if ac_fn_cxx_try_compile "$LINENO"; then :
70725 glibcxx_cv_func_fabsl_use=yes
70726 else
70727 glibcxx_cv_func_fabsl_use=no
70729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70730 ac_ext=c
70731 ac_cpp='$CPP $CPPFLAGS'
70732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70741 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70743 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70744 for ac_func in fabsl
70745 do :
70746 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70747 if test "x$ac_cv_func_fabsl" = x""yes; then :
70748 cat >>confdefs.h <<_ACEOF
70749 #define HAVE_FABSL 1
70750 _ACEOF
70753 done
70755 else
70757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70758 $as_echo_n "checking for _fabsl declaration... " >&6; }
70759 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70760 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70761 $as_echo_n "(cached) " >&6
70762 else
70765 ac_ext=cpp
70766 ac_cpp='$CXXCPP $CPPFLAGS'
70767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70772 /* end confdefs.h. */
70773 #include <math.h>
70774 #ifdef HAVE_IEEEFP_H
70775 #include <ieeefp.h>
70776 #endif
70779 main ()
70781 _fabsl(0);
70783 return 0;
70785 _ACEOF
70786 if ac_fn_cxx_try_compile "$LINENO"; then :
70787 glibcxx_cv_func__fabsl_use=yes
70788 else
70789 glibcxx_cv_func__fabsl_use=no
70791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70792 ac_ext=c
70793 ac_cpp='$CPP $CPPFLAGS'
70794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70803 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70805 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70806 for ac_func in _fabsl
70807 do :
70808 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70809 if test "x$ac_cv_func__fabsl" = x""yes; then :
70810 cat >>confdefs.h <<_ACEOF
70811 #define HAVE__FABSL 1
70812 _ACEOF
70815 done
70824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70825 $as_echo_n "checking for fmodl declaration... " >&6; }
70826 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70827 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70828 $as_echo_n "(cached) " >&6
70829 else
70832 ac_ext=cpp
70833 ac_cpp='$CXXCPP $CPPFLAGS'
70834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70839 /* end confdefs.h. */
70840 #include <math.h>
70842 main ()
70844 fmodl(0, 0);
70846 return 0;
70848 _ACEOF
70849 if ac_fn_cxx_try_compile "$LINENO"; then :
70850 glibcxx_cv_func_fmodl_use=yes
70851 else
70852 glibcxx_cv_func_fmodl_use=no
70854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70855 ac_ext=c
70856 ac_cpp='$CPP $CPPFLAGS'
70857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70866 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70868 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70869 for ac_func in fmodl
70870 do :
70871 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70872 if test "x$ac_cv_func_fmodl" = x""yes; then :
70873 cat >>confdefs.h <<_ACEOF
70874 #define HAVE_FMODL 1
70875 _ACEOF
70878 done
70880 else
70882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70883 $as_echo_n "checking for _fmodl declaration... " >&6; }
70884 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70885 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70886 $as_echo_n "(cached) " >&6
70887 else
70890 ac_ext=cpp
70891 ac_cpp='$CXXCPP $CPPFLAGS'
70892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70897 /* end confdefs.h. */
70898 #include <math.h>
70900 main ()
70902 _fmodl(0, 0);
70904 return 0;
70906 _ACEOF
70907 if ac_fn_cxx_try_compile "$LINENO"; then :
70908 glibcxx_cv_func__fmodl_use=yes
70909 else
70910 glibcxx_cv_func__fmodl_use=no
70912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70913 ac_ext=c
70914 ac_cpp='$CPP $CPPFLAGS'
70915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70924 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70926 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70927 for ac_func in _fmodl
70928 do :
70929 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70930 if test "x$ac_cv_func__fmodl" = x""yes; then :
70931 cat >>confdefs.h <<_ACEOF
70932 #define HAVE__FMODL 1
70933 _ACEOF
70936 done
70945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70946 $as_echo_n "checking for frexpl declaration... " >&6; }
70947 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70948 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70949 $as_echo_n "(cached) " >&6
70950 else
70953 ac_ext=cpp
70954 ac_cpp='$CXXCPP $CPPFLAGS'
70955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70960 /* end confdefs.h. */
70961 #include <math.h>
70963 main ()
70965 frexpl(0, 0);
70967 return 0;
70969 _ACEOF
70970 if ac_fn_cxx_try_compile "$LINENO"; then :
70971 glibcxx_cv_func_frexpl_use=yes
70972 else
70973 glibcxx_cv_func_frexpl_use=no
70975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70976 ac_ext=c
70977 ac_cpp='$CPP $CPPFLAGS'
70978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70987 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70989 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70990 for ac_func in frexpl
70991 do :
70992 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70993 if test "x$ac_cv_func_frexpl" = x""yes; then :
70994 cat >>confdefs.h <<_ACEOF
70995 #define HAVE_FREXPL 1
70996 _ACEOF
70999 done
71001 else
71003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71004 $as_echo_n "checking for _frexpl declaration... " >&6; }
71005 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71006 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71007 $as_echo_n "(cached) " >&6
71008 else
71011 ac_ext=cpp
71012 ac_cpp='$CXXCPP $CPPFLAGS'
71013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71018 /* end confdefs.h. */
71019 #include <math.h>
71021 main ()
71023 _frexpl(0, 0);
71025 return 0;
71027 _ACEOF
71028 if ac_fn_cxx_try_compile "$LINENO"; then :
71029 glibcxx_cv_func__frexpl_use=yes
71030 else
71031 glibcxx_cv_func__frexpl_use=no
71033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71034 ac_ext=c
71035 ac_cpp='$CPP $CPPFLAGS'
71036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71045 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71047 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71048 for ac_func in _frexpl
71049 do :
71050 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71051 if test "x$ac_cv_func__frexpl" = x""yes; then :
71052 cat >>confdefs.h <<_ACEOF
71053 #define HAVE__FREXPL 1
71054 _ACEOF
71057 done
71066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71067 $as_echo_n "checking for hypotl declaration... " >&6; }
71068 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71069 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71070 $as_echo_n "(cached) " >&6
71071 else
71074 ac_ext=cpp
71075 ac_cpp='$CXXCPP $CPPFLAGS'
71076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71081 /* end confdefs.h. */
71082 #include <math.h>
71084 main ()
71086 hypotl(0, 0);
71088 return 0;
71090 _ACEOF
71091 if ac_fn_cxx_try_compile "$LINENO"; then :
71092 glibcxx_cv_func_hypotl_use=yes
71093 else
71094 glibcxx_cv_func_hypotl_use=no
71096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71097 ac_ext=c
71098 ac_cpp='$CPP $CPPFLAGS'
71099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71108 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71110 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71111 for ac_func in hypotl
71112 do :
71113 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71114 if test "x$ac_cv_func_hypotl" = x""yes; then :
71115 cat >>confdefs.h <<_ACEOF
71116 #define HAVE_HYPOTL 1
71117 _ACEOF
71120 done
71122 else
71124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71125 $as_echo_n "checking for _hypotl declaration... " >&6; }
71126 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71127 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71128 $as_echo_n "(cached) " >&6
71129 else
71132 ac_ext=cpp
71133 ac_cpp='$CXXCPP $CPPFLAGS'
71134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71139 /* end confdefs.h. */
71140 #include <math.h>
71142 main ()
71144 _hypotl(0, 0);
71146 return 0;
71148 _ACEOF
71149 if ac_fn_cxx_try_compile "$LINENO"; then :
71150 glibcxx_cv_func__hypotl_use=yes
71151 else
71152 glibcxx_cv_func__hypotl_use=no
71154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71155 ac_ext=c
71156 ac_cpp='$CPP $CPPFLAGS'
71157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71166 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71168 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71169 for ac_func in _hypotl
71170 do :
71171 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71172 if test "x$ac_cv_func__hypotl" = x""yes; then :
71173 cat >>confdefs.h <<_ACEOF
71174 #define HAVE__HYPOTL 1
71175 _ACEOF
71178 done
71187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71188 $as_echo_n "checking for ldexpl declaration... " >&6; }
71189 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71190 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71191 $as_echo_n "(cached) " >&6
71192 else
71195 ac_ext=cpp
71196 ac_cpp='$CXXCPP $CPPFLAGS'
71197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71202 /* end confdefs.h. */
71203 #include <math.h>
71205 main ()
71207 ldexpl(0, 0);
71209 return 0;
71211 _ACEOF
71212 if ac_fn_cxx_try_compile "$LINENO"; then :
71213 glibcxx_cv_func_ldexpl_use=yes
71214 else
71215 glibcxx_cv_func_ldexpl_use=no
71217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71218 ac_ext=c
71219 ac_cpp='$CPP $CPPFLAGS'
71220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71229 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71231 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71232 for ac_func in ldexpl
71233 do :
71234 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71235 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71236 cat >>confdefs.h <<_ACEOF
71237 #define HAVE_LDEXPL 1
71238 _ACEOF
71241 done
71243 else
71245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71246 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71247 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71248 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71249 $as_echo_n "(cached) " >&6
71250 else
71253 ac_ext=cpp
71254 ac_cpp='$CXXCPP $CPPFLAGS'
71255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71260 /* end confdefs.h. */
71261 #include <math.h>
71263 main ()
71265 _ldexpl(0, 0);
71267 return 0;
71269 _ACEOF
71270 if ac_fn_cxx_try_compile "$LINENO"; then :
71271 glibcxx_cv_func__ldexpl_use=yes
71272 else
71273 glibcxx_cv_func__ldexpl_use=no
71275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71276 ac_ext=c
71277 ac_cpp='$CPP $CPPFLAGS'
71278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71287 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71289 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71290 for ac_func in _ldexpl
71291 do :
71292 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71293 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71294 cat >>confdefs.h <<_ACEOF
71295 #define HAVE__LDEXPL 1
71296 _ACEOF
71299 done
71308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71309 $as_echo_n "checking for logl declaration... " >&6; }
71310 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71311 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71312 $as_echo_n "(cached) " >&6
71313 else
71316 ac_ext=cpp
71317 ac_cpp='$CXXCPP $CPPFLAGS'
71318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71323 /* end confdefs.h. */
71324 #include <math.h>
71325 #ifdef HAVE_IEEEFP_H
71326 #include <ieeefp.h>
71327 #endif
71330 main ()
71332 logl(0);
71334 return 0;
71336 _ACEOF
71337 if ac_fn_cxx_try_compile "$LINENO"; then :
71338 glibcxx_cv_func_logl_use=yes
71339 else
71340 glibcxx_cv_func_logl_use=no
71342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71343 ac_ext=c
71344 ac_cpp='$CPP $CPPFLAGS'
71345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71354 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71356 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71357 for ac_func in logl
71358 do :
71359 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71360 if test "x$ac_cv_func_logl" = x""yes; then :
71361 cat >>confdefs.h <<_ACEOF
71362 #define HAVE_LOGL 1
71363 _ACEOF
71366 done
71368 else
71370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71371 $as_echo_n "checking for _logl declaration... " >&6; }
71372 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71373 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71374 $as_echo_n "(cached) " >&6
71375 else
71378 ac_ext=cpp
71379 ac_cpp='$CXXCPP $CPPFLAGS'
71380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71385 /* end confdefs.h. */
71386 #include <math.h>
71387 #ifdef HAVE_IEEEFP_H
71388 #include <ieeefp.h>
71389 #endif
71392 main ()
71394 _logl(0);
71396 return 0;
71398 _ACEOF
71399 if ac_fn_cxx_try_compile "$LINENO"; then :
71400 glibcxx_cv_func__logl_use=yes
71401 else
71402 glibcxx_cv_func__logl_use=no
71404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71405 ac_ext=c
71406 ac_cpp='$CPP $CPPFLAGS'
71407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71416 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71418 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71419 for ac_func in _logl
71420 do :
71421 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71422 if test "x$ac_cv_func__logl" = x""yes; then :
71423 cat >>confdefs.h <<_ACEOF
71424 #define HAVE__LOGL 1
71425 _ACEOF
71428 done
71437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71438 $as_echo_n "checking for log10l declaration... " >&6; }
71439 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71440 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71441 $as_echo_n "(cached) " >&6
71442 else
71445 ac_ext=cpp
71446 ac_cpp='$CXXCPP $CPPFLAGS'
71447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71452 /* end confdefs.h. */
71453 #include <math.h>
71454 #ifdef HAVE_IEEEFP_H
71455 #include <ieeefp.h>
71456 #endif
71459 main ()
71461 log10l(0);
71463 return 0;
71465 _ACEOF
71466 if ac_fn_cxx_try_compile "$LINENO"; then :
71467 glibcxx_cv_func_log10l_use=yes
71468 else
71469 glibcxx_cv_func_log10l_use=no
71471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71472 ac_ext=c
71473 ac_cpp='$CPP $CPPFLAGS'
71474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71483 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71485 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71486 for ac_func in log10l
71487 do :
71488 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71489 if test "x$ac_cv_func_log10l" = x""yes; then :
71490 cat >>confdefs.h <<_ACEOF
71491 #define HAVE_LOG10L 1
71492 _ACEOF
71495 done
71497 else
71499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71500 $as_echo_n "checking for _log10l declaration... " >&6; }
71501 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71502 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71503 $as_echo_n "(cached) " >&6
71504 else
71507 ac_ext=cpp
71508 ac_cpp='$CXXCPP $CPPFLAGS'
71509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71514 /* end confdefs.h. */
71515 #include <math.h>
71516 #ifdef HAVE_IEEEFP_H
71517 #include <ieeefp.h>
71518 #endif
71521 main ()
71523 _log10l(0);
71525 return 0;
71527 _ACEOF
71528 if ac_fn_cxx_try_compile "$LINENO"; then :
71529 glibcxx_cv_func__log10l_use=yes
71530 else
71531 glibcxx_cv_func__log10l_use=no
71533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71534 ac_ext=c
71535 ac_cpp='$CPP $CPPFLAGS'
71536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71545 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71547 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71548 for ac_func in _log10l
71549 do :
71550 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71551 if test "x$ac_cv_func__log10l" = x""yes; then :
71552 cat >>confdefs.h <<_ACEOF
71553 #define HAVE__LOG10L 1
71554 _ACEOF
71557 done
71566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71567 $as_echo_n "checking for modfl declaration... " >&6; }
71568 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71569 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71570 $as_echo_n "(cached) " >&6
71571 else
71574 ac_ext=cpp
71575 ac_cpp='$CXXCPP $CPPFLAGS'
71576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71581 /* end confdefs.h. */
71582 #include <math.h>
71584 main ()
71586 modfl(0, 0);
71588 return 0;
71590 _ACEOF
71591 if ac_fn_cxx_try_compile "$LINENO"; then :
71592 glibcxx_cv_func_modfl_use=yes
71593 else
71594 glibcxx_cv_func_modfl_use=no
71596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71597 ac_ext=c
71598 ac_cpp='$CPP $CPPFLAGS'
71599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71608 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71610 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71611 for ac_func in modfl
71612 do :
71613 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71614 if test "x$ac_cv_func_modfl" = x""yes; then :
71615 cat >>confdefs.h <<_ACEOF
71616 #define HAVE_MODFL 1
71617 _ACEOF
71620 done
71622 else
71624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71625 $as_echo_n "checking for _modfl declaration... " >&6; }
71626 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71627 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71628 $as_echo_n "(cached) " >&6
71629 else
71632 ac_ext=cpp
71633 ac_cpp='$CXXCPP $CPPFLAGS'
71634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71639 /* end confdefs.h. */
71640 #include <math.h>
71642 main ()
71644 _modfl(0, 0);
71646 return 0;
71648 _ACEOF
71649 if ac_fn_cxx_try_compile "$LINENO"; then :
71650 glibcxx_cv_func__modfl_use=yes
71651 else
71652 glibcxx_cv_func__modfl_use=no
71654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71655 ac_ext=c
71656 ac_cpp='$CPP $CPPFLAGS'
71657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71666 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71668 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71669 for ac_func in _modfl
71670 do :
71671 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71672 if test "x$ac_cv_func__modfl" = x""yes; then :
71673 cat >>confdefs.h <<_ACEOF
71674 #define HAVE__MODFL 1
71675 _ACEOF
71678 done
71687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71688 $as_echo_n "checking for powl declaration... " >&6; }
71689 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71690 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71691 $as_echo_n "(cached) " >&6
71692 else
71695 ac_ext=cpp
71696 ac_cpp='$CXXCPP $CPPFLAGS'
71697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71702 /* end confdefs.h. */
71703 #include <math.h>
71705 main ()
71707 powl(0, 0);
71709 return 0;
71711 _ACEOF
71712 if ac_fn_cxx_try_compile "$LINENO"; then :
71713 glibcxx_cv_func_powl_use=yes
71714 else
71715 glibcxx_cv_func_powl_use=no
71717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71718 ac_ext=c
71719 ac_cpp='$CPP $CPPFLAGS'
71720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71729 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71731 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71732 for ac_func in powl
71733 do :
71734 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71735 if test "x$ac_cv_func_powl" = x""yes; then :
71736 cat >>confdefs.h <<_ACEOF
71737 #define HAVE_POWL 1
71738 _ACEOF
71741 done
71743 else
71745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71746 $as_echo_n "checking for _powl declaration... " >&6; }
71747 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71748 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71749 $as_echo_n "(cached) " >&6
71750 else
71753 ac_ext=cpp
71754 ac_cpp='$CXXCPP $CPPFLAGS'
71755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71760 /* end confdefs.h. */
71761 #include <math.h>
71763 main ()
71765 _powl(0, 0);
71767 return 0;
71769 _ACEOF
71770 if ac_fn_cxx_try_compile "$LINENO"; then :
71771 glibcxx_cv_func__powl_use=yes
71772 else
71773 glibcxx_cv_func__powl_use=no
71775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71776 ac_ext=c
71777 ac_cpp='$CPP $CPPFLAGS'
71778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71787 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71789 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71790 for ac_func in _powl
71791 do :
71792 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71793 if test "x$ac_cv_func__powl" = x""yes; then :
71794 cat >>confdefs.h <<_ACEOF
71795 #define HAVE__POWL 1
71796 _ACEOF
71799 done
71808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71809 $as_echo_n "checking for sqrtl declaration... " >&6; }
71810 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71811 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71812 $as_echo_n "(cached) " >&6
71813 else
71816 ac_ext=cpp
71817 ac_cpp='$CXXCPP $CPPFLAGS'
71818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71823 /* end confdefs.h. */
71824 #include <math.h>
71825 #ifdef HAVE_IEEEFP_H
71826 #include <ieeefp.h>
71827 #endif
71830 main ()
71832 sqrtl(0);
71834 return 0;
71836 _ACEOF
71837 if ac_fn_cxx_try_compile "$LINENO"; then :
71838 glibcxx_cv_func_sqrtl_use=yes
71839 else
71840 glibcxx_cv_func_sqrtl_use=no
71842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71843 ac_ext=c
71844 ac_cpp='$CPP $CPPFLAGS'
71845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71854 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71856 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71857 for ac_func in sqrtl
71858 do :
71859 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71860 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71861 cat >>confdefs.h <<_ACEOF
71862 #define HAVE_SQRTL 1
71863 _ACEOF
71866 done
71868 else
71870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71871 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71872 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71873 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71874 $as_echo_n "(cached) " >&6
71875 else
71878 ac_ext=cpp
71879 ac_cpp='$CXXCPP $CPPFLAGS'
71880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71885 /* end confdefs.h. */
71886 #include <math.h>
71887 #ifdef HAVE_IEEEFP_H
71888 #include <ieeefp.h>
71889 #endif
71892 main ()
71894 _sqrtl(0);
71896 return 0;
71898 _ACEOF
71899 if ac_fn_cxx_try_compile "$LINENO"; then :
71900 glibcxx_cv_func__sqrtl_use=yes
71901 else
71902 glibcxx_cv_func__sqrtl_use=no
71904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71905 ac_ext=c
71906 ac_cpp='$CPP $CPPFLAGS'
71907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71916 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71918 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71919 for ac_func in _sqrtl
71920 do :
71921 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71922 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71923 cat >>confdefs.h <<_ACEOF
71924 #define HAVE__SQRTL 1
71925 _ACEOF
71928 done
71937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71938 $as_echo_n "checking for sincosl declaration... " >&6; }
71939 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71940 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71941 $as_echo_n "(cached) " >&6
71942 else
71945 ac_ext=cpp
71946 ac_cpp='$CXXCPP $CPPFLAGS'
71947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71952 /* end confdefs.h. */
71953 #include <math.h>
71955 main ()
71957 sincosl(0, 0, 0);
71959 return 0;
71961 _ACEOF
71962 if ac_fn_cxx_try_compile "$LINENO"; then :
71963 glibcxx_cv_func_sincosl_use=yes
71964 else
71965 glibcxx_cv_func_sincosl_use=no
71967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71968 ac_ext=c
71969 ac_cpp='$CPP $CPPFLAGS'
71970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71979 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71981 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71982 for ac_func in sincosl
71983 do :
71984 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71985 if test "x$ac_cv_func_sincosl" = x""yes; then :
71986 cat >>confdefs.h <<_ACEOF
71987 #define HAVE_SINCOSL 1
71988 _ACEOF
71991 done
71993 else
71995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71996 $as_echo_n "checking for _sincosl declaration... " >&6; }
71997 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71998 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71999 $as_echo_n "(cached) " >&6
72000 else
72003 ac_ext=cpp
72004 ac_cpp='$CXXCPP $CPPFLAGS'
72005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72010 /* end confdefs.h. */
72011 #include <math.h>
72013 main ()
72015 _sincosl(0, 0, 0);
72017 return 0;
72019 _ACEOF
72020 if ac_fn_cxx_try_compile "$LINENO"; then :
72021 glibcxx_cv_func__sincosl_use=yes
72022 else
72023 glibcxx_cv_func__sincosl_use=no
72025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72026 ac_ext=c
72027 ac_cpp='$CPP $CPPFLAGS'
72028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72037 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72039 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72040 for ac_func in _sincosl
72041 do :
72042 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72043 if test "x$ac_cv_func__sincosl" = x""yes; then :
72044 cat >>confdefs.h <<_ACEOF
72045 #define HAVE__SINCOSL 1
72046 _ACEOF
72049 done
72058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72059 $as_echo_n "checking for finitel declaration... " >&6; }
72060 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72061 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72062 $as_echo_n "(cached) " >&6
72063 else
72066 ac_ext=cpp
72067 ac_cpp='$CXXCPP $CPPFLAGS'
72068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72073 /* end confdefs.h. */
72074 #include <math.h>
72075 #ifdef HAVE_IEEEFP_H
72076 #include <ieeefp.h>
72077 #endif
72080 main ()
72082 finitel(0);
72084 return 0;
72086 _ACEOF
72087 if ac_fn_cxx_try_compile "$LINENO"; then :
72088 glibcxx_cv_func_finitel_use=yes
72089 else
72090 glibcxx_cv_func_finitel_use=no
72092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72093 ac_ext=c
72094 ac_cpp='$CPP $CPPFLAGS'
72095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72104 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72106 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72107 for ac_func in finitel
72108 do :
72109 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72110 if test "x$ac_cv_func_finitel" = x""yes; then :
72111 cat >>confdefs.h <<_ACEOF
72112 #define HAVE_FINITEL 1
72113 _ACEOF
72116 done
72118 else
72120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72121 $as_echo_n "checking for _finitel declaration... " >&6; }
72122 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72123 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72124 $as_echo_n "(cached) " >&6
72125 else
72128 ac_ext=cpp
72129 ac_cpp='$CXXCPP $CPPFLAGS'
72130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72135 /* end confdefs.h. */
72136 #include <math.h>
72137 #ifdef HAVE_IEEEFP_H
72138 #include <ieeefp.h>
72139 #endif
72142 main ()
72144 _finitel(0);
72146 return 0;
72148 _ACEOF
72149 if ac_fn_cxx_try_compile "$LINENO"; then :
72150 glibcxx_cv_func__finitel_use=yes
72151 else
72152 glibcxx_cv_func__finitel_use=no
72154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72155 ac_ext=c
72156 ac_cpp='$CPP $CPPFLAGS'
72157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72166 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72168 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72169 for ac_func in _finitel
72170 do :
72171 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72172 if test "x$ac_cv_func__finitel" = x""yes; then :
72173 cat >>confdefs.h <<_ACEOF
72174 #define HAVE__FINITEL 1
72175 _ACEOF
72178 done
72186 LIBS="$ac_save_LIBS"
72187 CXXFLAGS="$ac_save_CXXFLAGS"
72190 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72191 ac_save_CXXFLAGS="$CXXFLAGS"
72192 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72196 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72197 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72198 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72199 $as_echo_n "(cached) " >&6
72200 else
72203 ac_ext=cpp
72204 ac_cpp='$CXXCPP $CPPFLAGS'
72205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72210 /* end confdefs.h. */
72211 #include <stdlib.h>
72213 main ()
72215 at_quick_exit(0);
72217 return 0;
72219 _ACEOF
72220 if ac_fn_cxx_try_compile "$LINENO"; then :
72221 glibcxx_cv_func_at_quick_exit_use=yes
72222 else
72223 glibcxx_cv_func_at_quick_exit_use=no
72225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72226 ac_ext=c
72227 ac_cpp='$CPP $CPPFLAGS'
72228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72237 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72238 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72239 for ac_func in at_quick_exit
72240 do :
72241 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72242 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72243 cat >>confdefs.h <<_ACEOF
72244 #define HAVE_AT_QUICK_EXIT 1
72245 _ACEOF
72248 done
72253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72254 $as_echo_n "checking for quick_exit declaration... " >&6; }
72255 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72256 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72257 $as_echo_n "(cached) " >&6
72258 else
72261 ac_ext=cpp
72262 ac_cpp='$CXXCPP $CPPFLAGS'
72263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72268 /* end confdefs.h. */
72269 #include <stdlib.h>
72271 main ()
72273 quick_exit(0);
72275 return 0;
72277 _ACEOF
72278 if ac_fn_cxx_try_compile "$LINENO"; then :
72279 glibcxx_cv_func_quick_exit_use=yes
72280 else
72281 glibcxx_cv_func_quick_exit_use=no
72283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72284 ac_ext=c
72285 ac_cpp='$CPP $CPPFLAGS'
72286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72295 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72296 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72297 for ac_func in quick_exit
72298 do :
72299 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72300 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72301 cat >>confdefs.h <<_ACEOF
72302 #define HAVE_QUICK_EXIT 1
72303 _ACEOF
72306 done
72311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72312 $as_echo_n "checking for strtold declaration... " >&6; }
72313 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72314 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72315 $as_echo_n "(cached) " >&6
72316 else
72319 ac_ext=cpp
72320 ac_cpp='$CXXCPP $CPPFLAGS'
72321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72326 /* end confdefs.h. */
72327 #include <stdlib.h>
72329 main ()
72331 strtold(0, 0);
72333 return 0;
72335 _ACEOF
72336 if ac_fn_cxx_try_compile "$LINENO"; then :
72337 glibcxx_cv_func_strtold_use=yes
72338 else
72339 glibcxx_cv_func_strtold_use=no
72341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72342 ac_ext=c
72343 ac_cpp='$CPP $CPPFLAGS'
72344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72353 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72354 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72355 for ac_func in strtold
72356 do :
72357 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72358 if test "x$ac_cv_func_strtold" = x""yes; then :
72359 cat >>confdefs.h <<_ACEOF
72360 #define HAVE_STRTOLD 1
72361 _ACEOF
72364 done
72371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72372 $as_echo_n "checking for strtof declaration... " >&6; }
72373 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72374 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72375 $as_echo_n "(cached) " >&6
72376 else
72379 ac_ext=cpp
72380 ac_cpp='$CXXCPP $CPPFLAGS'
72381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72386 /* end confdefs.h. */
72387 #include <stdlib.h>
72389 main ()
72391 strtof(0, 0);
72393 return 0;
72395 _ACEOF
72396 if ac_fn_cxx_try_compile "$LINENO"; then :
72397 glibcxx_cv_func_strtof_use=yes
72398 else
72399 glibcxx_cv_func_strtof_use=no
72401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72402 ac_ext=c
72403 ac_cpp='$CPP $CPPFLAGS'
72404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72413 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72414 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72415 for ac_func in strtof
72416 do :
72417 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72418 if test "x$ac_cv_func_strtof" = x""yes; then :
72419 cat >>confdefs.h <<_ACEOF
72420 #define HAVE_STRTOF 1
72421 _ACEOF
72424 done
72431 CXXFLAGS="$ac_save_CXXFLAGS"
72434 *-tpf)
72435 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72436 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72438 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72440 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72442 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72444 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72446 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72448 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72450 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72452 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72454 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72456 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72458 if test x"long_double_math_on_this_cpu" = x"yes"; then
72459 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72461 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72463 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72465 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72469 *-*vms*)
72470 # Check for available headers.
72471 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72473 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72474 ac_save_CXXFLAGS="$CXXFLAGS"
72475 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72478 $as_echo_n "checking for sin in -lm... " >&6; }
72479 if test "${ac_cv_lib_m_sin+set}" = set; then :
72480 $as_echo_n "(cached) " >&6
72481 else
72482 ac_check_lib_save_LIBS=$LIBS
72483 LIBS="-lm $LIBS"
72484 if test x$gcc_no_link = xyes; then
72485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72488 /* end confdefs.h. */
72490 /* Override any GCC internal prototype to avoid an error.
72491 Use char because int might match the return type of a GCC
72492 builtin and then its argument prototype would still apply. */
72493 #ifdef __cplusplus
72494 extern "C"
72495 #endif
72496 char sin ();
72498 main ()
72500 return sin ();
72502 return 0;
72504 _ACEOF
72505 if ac_fn_c_try_link "$LINENO"; then :
72506 ac_cv_lib_m_sin=yes
72507 else
72508 ac_cv_lib_m_sin=no
72510 rm -f core conftest.err conftest.$ac_objext \
72511 conftest$ac_exeext conftest.$ac_ext
72512 LIBS=$ac_check_lib_save_LIBS
72514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72515 $as_echo "$ac_cv_lib_m_sin" >&6; }
72516 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72517 libm="-lm"
72520 ac_save_LIBS="$LIBS"
72521 LIBS="$LIBS $libm"
72525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72526 $as_echo_n "checking for isinf declaration... " >&6; }
72527 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72528 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72529 $as_echo_n "(cached) " >&6
72530 else
72533 ac_ext=cpp
72534 ac_cpp='$CXXCPP $CPPFLAGS'
72535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72540 /* end confdefs.h. */
72541 #include <math.h>
72542 #ifdef HAVE_IEEEFP_H
72543 #include <ieeefp.h>
72544 #endif
72547 main ()
72549 isinf(0);
72551 return 0;
72553 _ACEOF
72554 if ac_fn_cxx_try_compile "$LINENO"; then :
72555 glibcxx_cv_func_isinf_use=yes
72556 else
72557 glibcxx_cv_func_isinf_use=no
72559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72560 ac_ext=c
72561 ac_cpp='$CPP $CPPFLAGS'
72562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72571 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72573 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72574 for ac_func in isinf
72575 do :
72576 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72577 if test "x$ac_cv_func_isinf" = x""yes; then :
72578 cat >>confdefs.h <<_ACEOF
72579 #define HAVE_ISINF 1
72580 _ACEOF
72583 done
72585 else
72587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72588 $as_echo_n "checking for _isinf declaration... " >&6; }
72589 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72590 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72591 $as_echo_n "(cached) " >&6
72592 else
72595 ac_ext=cpp
72596 ac_cpp='$CXXCPP $CPPFLAGS'
72597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72602 /* end confdefs.h. */
72603 #include <math.h>
72604 #ifdef HAVE_IEEEFP_H
72605 #include <ieeefp.h>
72606 #endif
72609 main ()
72611 _isinf(0);
72613 return 0;
72615 _ACEOF
72616 if ac_fn_cxx_try_compile "$LINENO"; then :
72617 glibcxx_cv_func__isinf_use=yes
72618 else
72619 glibcxx_cv_func__isinf_use=no
72621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72622 ac_ext=c
72623 ac_cpp='$CPP $CPPFLAGS'
72624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72633 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72635 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72636 for ac_func in _isinf
72637 do :
72638 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72639 if test "x$ac_cv_func__isinf" = x""yes; then :
72640 cat >>confdefs.h <<_ACEOF
72641 #define HAVE__ISINF 1
72642 _ACEOF
72645 done
72654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72655 $as_echo_n "checking for isnan declaration... " >&6; }
72656 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72657 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72658 $as_echo_n "(cached) " >&6
72659 else
72662 ac_ext=cpp
72663 ac_cpp='$CXXCPP $CPPFLAGS'
72664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72669 /* end confdefs.h. */
72670 #include <math.h>
72671 #ifdef HAVE_IEEEFP_H
72672 #include <ieeefp.h>
72673 #endif
72676 main ()
72678 isnan(0);
72680 return 0;
72682 _ACEOF
72683 if ac_fn_cxx_try_compile "$LINENO"; then :
72684 glibcxx_cv_func_isnan_use=yes
72685 else
72686 glibcxx_cv_func_isnan_use=no
72688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72689 ac_ext=c
72690 ac_cpp='$CPP $CPPFLAGS'
72691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72700 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72702 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72703 for ac_func in isnan
72704 do :
72705 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72706 if test "x$ac_cv_func_isnan" = x""yes; then :
72707 cat >>confdefs.h <<_ACEOF
72708 #define HAVE_ISNAN 1
72709 _ACEOF
72712 done
72714 else
72716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72717 $as_echo_n "checking for _isnan declaration... " >&6; }
72718 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72719 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72720 $as_echo_n "(cached) " >&6
72721 else
72724 ac_ext=cpp
72725 ac_cpp='$CXXCPP $CPPFLAGS'
72726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72731 /* end confdefs.h. */
72732 #include <math.h>
72733 #ifdef HAVE_IEEEFP_H
72734 #include <ieeefp.h>
72735 #endif
72738 main ()
72740 _isnan(0);
72742 return 0;
72744 _ACEOF
72745 if ac_fn_cxx_try_compile "$LINENO"; then :
72746 glibcxx_cv_func__isnan_use=yes
72747 else
72748 glibcxx_cv_func__isnan_use=no
72750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72751 ac_ext=c
72752 ac_cpp='$CPP $CPPFLAGS'
72753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72762 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72764 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72765 for ac_func in _isnan
72766 do :
72767 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72768 if test "x$ac_cv_func__isnan" = x""yes; then :
72769 cat >>confdefs.h <<_ACEOF
72770 #define HAVE__ISNAN 1
72771 _ACEOF
72774 done
72783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72784 $as_echo_n "checking for finite declaration... " >&6; }
72785 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72786 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72787 $as_echo_n "(cached) " >&6
72788 else
72791 ac_ext=cpp
72792 ac_cpp='$CXXCPP $CPPFLAGS'
72793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72798 /* end confdefs.h. */
72799 #include <math.h>
72800 #ifdef HAVE_IEEEFP_H
72801 #include <ieeefp.h>
72802 #endif
72805 main ()
72807 finite(0);
72809 return 0;
72811 _ACEOF
72812 if ac_fn_cxx_try_compile "$LINENO"; then :
72813 glibcxx_cv_func_finite_use=yes
72814 else
72815 glibcxx_cv_func_finite_use=no
72817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72818 ac_ext=c
72819 ac_cpp='$CPP $CPPFLAGS'
72820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72829 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72831 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72832 for ac_func in finite
72833 do :
72834 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72835 if test "x$ac_cv_func_finite" = x""yes; then :
72836 cat >>confdefs.h <<_ACEOF
72837 #define HAVE_FINITE 1
72838 _ACEOF
72841 done
72843 else
72845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72846 $as_echo_n "checking for _finite declaration... " >&6; }
72847 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72848 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72849 $as_echo_n "(cached) " >&6
72850 else
72853 ac_ext=cpp
72854 ac_cpp='$CXXCPP $CPPFLAGS'
72855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72860 /* end confdefs.h. */
72861 #include <math.h>
72862 #ifdef HAVE_IEEEFP_H
72863 #include <ieeefp.h>
72864 #endif
72867 main ()
72869 _finite(0);
72871 return 0;
72873 _ACEOF
72874 if ac_fn_cxx_try_compile "$LINENO"; then :
72875 glibcxx_cv_func__finite_use=yes
72876 else
72877 glibcxx_cv_func__finite_use=no
72879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72880 ac_ext=c
72881 ac_cpp='$CPP $CPPFLAGS'
72882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72891 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72893 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72894 for ac_func in _finite
72895 do :
72896 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72897 if test "x$ac_cv_func__finite" = x""yes; then :
72898 cat >>confdefs.h <<_ACEOF
72899 #define HAVE__FINITE 1
72900 _ACEOF
72903 done
72912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72913 $as_echo_n "checking for sincos declaration... " >&6; }
72914 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72915 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72916 $as_echo_n "(cached) " >&6
72917 else
72920 ac_ext=cpp
72921 ac_cpp='$CXXCPP $CPPFLAGS'
72922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72927 /* end confdefs.h. */
72928 #include <math.h>
72930 main ()
72932 sincos(0, 0, 0);
72934 return 0;
72936 _ACEOF
72937 if ac_fn_cxx_try_compile "$LINENO"; then :
72938 glibcxx_cv_func_sincos_use=yes
72939 else
72940 glibcxx_cv_func_sincos_use=no
72942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72943 ac_ext=c
72944 ac_cpp='$CPP $CPPFLAGS'
72945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72954 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72956 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72957 for ac_func in sincos
72958 do :
72959 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72960 if test "x$ac_cv_func_sincos" = x""yes; then :
72961 cat >>confdefs.h <<_ACEOF
72962 #define HAVE_SINCOS 1
72963 _ACEOF
72966 done
72968 else
72970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72971 $as_echo_n "checking for _sincos declaration... " >&6; }
72972 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72973 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72974 $as_echo_n "(cached) " >&6
72975 else
72978 ac_ext=cpp
72979 ac_cpp='$CXXCPP $CPPFLAGS'
72980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72985 /* end confdefs.h. */
72986 #include <math.h>
72988 main ()
72990 _sincos(0, 0, 0);
72992 return 0;
72994 _ACEOF
72995 if ac_fn_cxx_try_compile "$LINENO"; then :
72996 glibcxx_cv_func__sincos_use=yes
72997 else
72998 glibcxx_cv_func__sincos_use=no
73000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73001 ac_ext=c
73002 ac_cpp='$CPP $CPPFLAGS'
73003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73012 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73014 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73015 for ac_func in _sincos
73016 do :
73017 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73018 if test "x$ac_cv_func__sincos" = x""yes; then :
73019 cat >>confdefs.h <<_ACEOF
73020 #define HAVE__SINCOS 1
73021 _ACEOF
73024 done
73033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73034 $as_echo_n "checking for fpclass declaration... " >&6; }
73035 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73036 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73037 $as_echo_n "(cached) " >&6
73038 else
73041 ac_ext=cpp
73042 ac_cpp='$CXXCPP $CPPFLAGS'
73043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73048 /* end confdefs.h. */
73049 #include <math.h>
73050 #ifdef HAVE_IEEEFP_H
73051 #include <ieeefp.h>
73052 #endif
73055 main ()
73057 fpclass(0);
73059 return 0;
73061 _ACEOF
73062 if ac_fn_cxx_try_compile "$LINENO"; then :
73063 glibcxx_cv_func_fpclass_use=yes
73064 else
73065 glibcxx_cv_func_fpclass_use=no
73067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73068 ac_ext=c
73069 ac_cpp='$CPP $CPPFLAGS'
73070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73079 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73081 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73082 for ac_func in fpclass
73083 do :
73084 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73085 if test "x$ac_cv_func_fpclass" = x""yes; then :
73086 cat >>confdefs.h <<_ACEOF
73087 #define HAVE_FPCLASS 1
73088 _ACEOF
73091 done
73093 else
73095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73096 $as_echo_n "checking for _fpclass declaration... " >&6; }
73097 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73098 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73099 $as_echo_n "(cached) " >&6
73100 else
73103 ac_ext=cpp
73104 ac_cpp='$CXXCPP $CPPFLAGS'
73105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73110 /* end confdefs.h. */
73111 #include <math.h>
73112 #ifdef HAVE_IEEEFP_H
73113 #include <ieeefp.h>
73114 #endif
73117 main ()
73119 _fpclass(0);
73121 return 0;
73123 _ACEOF
73124 if ac_fn_cxx_try_compile "$LINENO"; then :
73125 glibcxx_cv_func__fpclass_use=yes
73126 else
73127 glibcxx_cv_func__fpclass_use=no
73129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73130 ac_ext=c
73131 ac_cpp='$CPP $CPPFLAGS'
73132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73141 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73143 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73144 for ac_func in _fpclass
73145 do :
73146 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73147 if test "x$ac_cv_func__fpclass" = x""yes; then :
73148 cat >>confdefs.h <<_ACEOF
73149 #define HAVE__FPCLASS 1
73150 _ACEOF
73153 done
73162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73163 $as_echo_n "checking for qfpclass declaration... " >&6; }
73164 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73165 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73166 $as_echo_n "(cached) " >&6
73167 else
73170 ac_ext=cpp
73171 ac_cpp='$CXXCPP $CPPFLAGS'
73172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73177 /* end confdefs.h. */
73178 #include <math.h>
73179 #ifdef HAVE_IEEEFP_H
73180 #include <ieeefp.h>
73181 #endif
73184 main ()
73186 qfpclass(0);
73188 return 0;
73190 _ACEOF
73191 if ac_fn_cxx_try_compile "$LINENO"; then :
73192 glibcxx_cv_func_qfpclass_use=yes
73193 else
73194 glibcxx_cv_func_qfpclass_use=no
73196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73197 ac_ext=c
73198 ac_cpp='$CPP $CPPFLAGS'
73199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73208 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73210 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73211 for ac_func in qfpclass
73212 do :
73213 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73214 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73215 cat >>confdefs.h <<_ACEOF
73216 #define HAVE_QFPCLASS 1
73217 _ACEOF
73220 done
73222 else
73224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73225 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73226 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73227 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73228 $as_echo_n "(cached) " >&6
73229 else
73232 ac_ext=cpp
73233 ac_cpp='$CXXCPP $CPPFLAGS'
73234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73239 /* end confdefs.h. */
73240 #include <math.h>
73241 #ifdef HAVE_IEEEFP_H
73242 #include <ieeefp.h>
73243 #endif
73246 main ()
73248 _qfpclass(0);
73250 return 0;
73252 _ACEOF
73253 if ac_fn_cxx_try_compile "$LINENO"; then :
73254 glibcxx_cv_func__qfpclass_use=yes
73255 else
73256 glibcxx_cv_func__qfpclass_use=no
73258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73259 ac_ext=c
73260 ac_cpp='$CPP $CPPFLAGS'
73261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73270 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73272 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73273 for ac_func in _qfpclass
73274 do :
73275 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73276 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73277 cat >>confdefs.h <<_ACEOF
73278 #define HAVE__QFPCLASS 1
73279 _ACEOF
73282 done
73291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73292 $as_echo_n "checking for hypot declaration... " >&6; }
73293 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73294 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73295 $as_echo_n "(cached) " >&6
73296 else
73299 ac_ext=cpp
73300 ac_cpp='$CXXCPP $CPPFLAGS'
73301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73306 /* end confdefs.h. */
73307 #include <math.h>
73309 main ()
73311 hypot(0, 0);
73313 return 0;
73315 _ACEOF
73316 if ac_fn_cxx_try_compile "$LINENO"; then :
73317 glibcxx_cv_func_hypot_use=yes
73318 else
73319 glibcxx_cv_func_hypot_use=no
73321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73322 ac_ext=c
73323 ac_cpp='$CPP $CPPFLAGS'
73324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73333 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73335 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73336 for ac_func in hypot
73337 do :
73338 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73339 if test "x$ac_cv_func_hypot" = x""yes; then :
73340 cat >>confdefs.h <<_ACEOF
73341 #define HAVE_HYPOT 1
73342 _ACEOF
73345 done
73347 else
73349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73350 $as_echo_n "checking for _hypot declaration... " >&6; }
73351 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73352 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73353 $as_echo_n "(cached) " >&6
73354 else
73357 ac_ext=cpp
73358 ac_cpp='$CXXCPP $CPPFLAGS'
73359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73364 /* end confdefs.h. */
73365 #include <math.h>
73367 main ()
73369 _hypot(0, 0);
73371 return 0;
73373 _ACEOF
73374 if ac_fn_cxx_try_compile "$LINENO"; then :
73375 glibcxx_cv_func__hypot_use=yes
73376 else
73377 glibcxx_cv_func__hypot_use=no
73379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73380 ac_ext=c
73381 ac_cpp='$CPP $CPPFLAGS'
73382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73391 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73393 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73394 for ac_func in _hypot
73395 do :
73396 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73397 if test "x$ac_cv_func__hypot" = x""yes; then :
73398 cat >>confdefs.h <<_ACEOF
73399 #define HAVE__HYPOT 1
73400 _ACEOF
73403 done
73412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73413 $as_echo_n "checking for float trig functions... " >&6; }
73414 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73415 $as_echo_n "(cached) " >&6
73416 else
73419 ac_ext=cpp
73420 ac_cpp='$CXXCPP $CPPFLAGS'
73421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73426 /* end confdefs.h. */
73427 #include <math.h>
73429 main ()
73431 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73433 return 0;
73435 _ACEOF
73436 if ac_fn_cxx_try_compile "$LINENO"; then :
73437 glibcxx_cv_func_float_trig_use=yes
73438 else
73439 glibcxx_cv_func_float_trig_use=no
73441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73442 ac_ext=c
73443 ac_cpp='$CPP $CPPFLAGS'
73444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73451 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73452 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73453 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73454 do :
73455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73457 eval as_val=\$$as_ac_var
73458 if test "x$as_val" = x""yes; then :
73459 cat >>confdefs.h <<_ACEOF
73460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73461 _ACEOF
73464 done
73466 else
73467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73468 $as_echo_n "checking for _float trig functions... " >&6; }
73469 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73470 $as_echo_n "(cached) " >&6
73471 else
73474 ac_ext=cpp
73475 ac_cpp='$CXXCPP $CPPFLAGS'
73476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73481 /* end confdefs.h. */
73482 #include <math.h>
73484 main ()
73486 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73488 return 0;
73490 _ACEOF
73491 if ac_fn_cxx_try_compile "$LINENO"; then :
73492 glibcxx_cv_func__float_trig_use=yes
73493 else
73494 glibcxx_cv_func__float_trig_use=no
73496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73497 ac_ext=c
73498 ac_cpp='$CPP $CPPFLAGS'
73499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73506 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73507 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73508 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73509 do :
73510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73512 eval as_val=\$$as_ac_var
73513 if test "x$as_val" = x""yes; then :
73514 cat >>confdefs.h <<_ACEOF
73515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73516 _ACEOF
73519 done
73528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73529 $as_echo_n "checking for float round functions... " >&6; }
73530 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73531 $as_echo_n "(cached) " >&6
73532 else
73535 ac_ext=cpp
73536 ac_cpp='$CXXCPP $CPPFLAGS'
73537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73542 /* end confdefs.h. */
73543 #include <math.h>
73545 main ()
73547 ceilf (0); floorf (0);
73549 return 0;
73551 _ACEOF
73552 if ac_fn_cxx_try_compile "$LINENO"; then :
73553 glibcxx_cv_func_float_round_use=yes
73554 else
73555 glibcxx_cv_func_float_round_use=no
73557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73558 ac_ext=c
73559 ac_cpp='$CPP $CPPFLAGS'
73560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73567 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73568 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73569 for ac_func in ceilf floorf
73570 do :
73571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73573 eval as_val=\$$as_ac_var
73574 if test "x$as_val" = x""yes; then :
73575 cat >>confdefs.h <<_ACEOF
73576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73577 _ACEOF
73580 done
73582 else
73583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73584 $as_echo_n "checking for _float round functions... " >&6; }
73585 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73586 $as_echo_n "(cached) " >&6
73587 else
73590 ac_ext=cpp
73591 ac_cpp='$CXXCPP $CPPFLAGS'
73592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73597 /* end confdefs.h. */
73598 #include <math.h>
73600 main ()
73602 _ceilf (0); _floorf (0);
73604 return 0;
73606 _ACEOF
73607 if ac_fn_cxx_try_compile "$LINENO"; then :
73608 glibcxx_cv_func__float_round_use=yes
73609 else
73610 glibcxx_cv_func__float_round_use=no
73612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73613 ac_ext=c
73614 ac_cpp='$CPP $CPPFLAGS'
73615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73622 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73623 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73624 for ac_func in _ceilf _floorf
73625 do :
73626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73628 eval as_val=\$$as_ac_var
73629 if test "x$as_val" = x""yes; then :
73630 cat >>confdefs.h <<_ACEOF
73631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73632 _ACEOF
73635 done
73645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73646 $as_echo_n "checking for expf declaration... " >&6; }
73647 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73648 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73649 $as_echo_n "(cached) " >&6
73650 else
73653 ac_ext=cpp
73654 ac_cpp='$CXXCPP $CPPFLAGS'
73655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73660 /* end confdefs.h. */
73661 #include <math.h>
73662 #ifdef HAVE_IEEEFP_H
73663 #include <ieeefp.h>
73664 #endif
73667 main ()
73669 expf(0);
73671 return 0;
73673 _ACEOF
73674 if ac_fn_cxx_try_compile "$LINENO"; then :
73675 glibcxx_cv_func_expf_use=yes
73676 else
73677 glibcxx_cv_func_expf_use=no
73679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73680 ac_ext=c
73681 ac_cpp='$CPP $CPPFLAGS'
73682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73691 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73693 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73694 for ac_func in expf
73695 do :
73696 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73697 if test "x$ac_cv_func_expf" = x""yes; then :
73698 cat >>confdefs.h <<_ACEOF
73699 #define HAVE_EXPF 1
73700 _ACEOF
73703 done
73705 else
73707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73708 $as_echo_n "checking for _expf declaration... " >&6; }
73709 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73710 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73711 $as_echo_n "(cached) " >&6
73712 else
73715 ac_ext=cpp
73716 ac_cpp='$CXXCPP $CPPFLAGS'
73717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73722 /* end confdefs.h. */
73723 #include <math.h>
73724 #ifdef HAVE_IEEEFP_H
73725 #include <ieeefp.h>
73726 #endif
73729 main ()
73731 _expf(0);
73733 return 0;
73735 _ACEOF
73736 if ac_fn_cxx_try_compile "$LINENO"; then :
73737 glibcxx_cv_func__expf_use=yes
73738 else
73739 glibcxx_cv_func__expf_use=no
73741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73742 ac_ext=c
73743 ac_cpp='$CPP $CPPFLAGS'
73744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73753 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73755 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73756 for ac_func in _expf
73757 do :
73758 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73759 if test "x$ac_cv_func__expf" = x""yes; then :
73760 cat >>confdefs.h <<_ACEOF
73761 #define HAVE__EXPF 1
73762 _ACEOF
73765 done
73774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73775 $as_echo_n "checking for isnanf declaration... " >&6; }
73776 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73777 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73778 $as_echo_n "(cached) " >&6
73779 else
73782 ac_ext=cpp
73783 ac_cpp='$CXXCPP $CPPFLAGS'
73784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73789 /* end confdefs.h. */
73790 #include <math.h>
73791 #ifdef HAVE_IEEEFP_H
73792 #include <ieeefp.h>
73793 #endif
73796 main ()
73798 isnanf(0);
73800 return 0;
73802 _ACEOF
73803 if ac_fn_cxx_try_compile "$LINENO"; then :
73804 glibcxx_cv_func_isnanf_use=yes
73805 else
73806 glibcxx_cv_func_isnanf_use=no
73808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73809 ac_ext=c
73810 ac_cpp='$CPP $CPPFLAGS'
73811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73820 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73822 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73823 for ac_func in isnanf
73824 do :
73825 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73826 if test "x$ac_cv_func_isnanf" = x""yes; then :
73827 cat >>confdefs.h <<_ACEOF
73828 #define HAVE_ISNANF 1
73829 _ACEOF
73832 done
73834 else
73836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73837 $as_echo_n "checking for _isnanf declaration... " >&6; }
73838 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73839 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73840 $as_echo_n "(cached) " >&6
73841 else
73844 ac_ext=cpp
73845 ac_cpp='$CXXCPP $CPPFLAGS'
73846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73851 /* end confdefs.h. */
73852 #include <math.h>
73853 #ifdef HAVE_IEEEFP_H
73854 #include <ieeefp.h>
73855 #endif
73858 main ()
73860 _isnanf(0);
73862 return 0;
73864 _ACEOF
73865 if ac_fn_cxx_try_compile "$LINENO"; then :
73866 glibcxx_cv_func__isnanf_use=yes
73867 else
73868 glibcxx_cv_func__isnanf_use=no
73870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73871 ac_ext=c
73872 ac_cpp='$CPP $CPPFLAGS'
73873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73882 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73884 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73885 for ac_func in _isnanf
73886 do :
73887 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73888 if test "x$ac_cv_func__isnanf" = x""yes; then :
73889 cat >>confdefs.h <<_ACEOF
73890 #define HAVE__ISNANF 1
73891 _ACEOF
73894 done
73903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73904 $as_echo_n "checking for isinff declaration... " >&6; }
73905 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73906 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73907 $as_echo_n "(cached) " >&6
73908 else
73911 ac_ext=cpp
73912 ac_cpp='$CXXCPP $CPPFLAGS'
73913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73918 /* end confdefs.h. */
73919 #include <math.h>
73920 #ifdef HAVE_IEEEFP_H
73921 #include <ieeefp.h>
73922 #endif
73925 main ()
73927 isinff(0);
73929 return 0;
73931 _ACEOF
73932 if ac_fn_cxx_try_compile "$LINENO"; then :
73933 glibcxx_cv_func_isinff_use=yes
73934 else
73935 glibcxx_cv_func_isinff_use=no
73937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73938 ac_ext=c
73939 ac_cpp='$CPP $CPPFLAGS'
73940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73949 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73951 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73952 for ac_func in isinff
73953 do :
73954 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73955 if test "x$ac_cv_func_isinff" = x""yes; then :
73956 cat >>confdefs.h <<_ACEOF
73957 #define HAVE_ISINFF 1
73958 _ACEOF
73961 done
73963 else
73965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73966 $as_echo_n "checking for _isinff declaration... " >&6; }
73967 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73968 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73969 $as_echo_n "(cached) " >&6
73970 else
73973 ac_ext=cpp
73974 ac_cpp='$CXXCPP $CPPFLAGS'
73975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73980 /* end confdefs.h. */
73981 #include <math.h>
73982 #ifdef HAVE_IEEEFP_H
73983 #include <ieeefp.h>
73984 #endif
73987 main ()
73989 _isinff(0);
73991 return 0;
73993 _ACEOF
73994 if ac_fn_cxx_try_compile "$LINENO"; then :
73995 glibcxx_cv_func__isinff_use=yes
73996 else
73997 glibcxx_cv_func__isinff_use=no
73999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74000 ac_ext=c
74001 ac_cpp='$CPP $CPPFLAGS'
74002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74011 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74013 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74014 for ac_func in _isinff
74015 do :
74016 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74017 if test "x$ac_cv_func__isinff" = x""yes; then :
74018 cat >>confdefs.h <<_ACEOF
74019 #define HAVE__ISINFF 1
74020 _ACEOF
74023 done
74032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74033 $as_echo_n "checking for atan2f declaration... " >&6; }
74034 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74035 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74036 $as_echo_n "(cached) " >&6
74037 else
74040 ac_ext=cpp
74041 ac_cpp='$CXXCPP $CPPFLAGS'
74042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74047 /* end confdefs.h. */
74048 #include <math.h>
74050 main ()
74052 atan2f(0, 0);
74054 return 0;
74056 _ACEOF
74057 if ac_fn_cxx_try_compile "$LINENO"; then :
74058 glibcxx_cv_func_atan2f_use=yes
74059 else
74060 glibcxx_cv_func_atan2f_use=no
74062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74063 ac_ext=c
74064 ac_cpp='$CPP $CPPFLAGS'
74065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74074 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74076 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74077 for ac_func in atan2f
74078 do :
74079 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74080 if test "x$ac_cv_func_atan2f" = x""yes; then :
74081 cat >>confdefs.h <<_ACEOF
74082 #define HAVE_ATAN2F 1
74083 _ACEOF
74086 done
74088 else
74090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74091 $as_echo_n "checking for _atan2f declaration... " >&6; }
74092 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74093 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74094 $as_echo_n "(cached) " >&6
74095 else
74098 ac_ext=cpp
74099 ac_cpp='$CXXCPP $CPPFLAGS'
74100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74105 /* end confdefs.h. */
74106 #include <math.h>
74108 main ()
74110 _atan2f(0, 0);
74112 return 0;
74114 _ACEOF
74115 if ac_fn_cxx_try_compile "$LINENO"; then :
74116 glibcxx_cv_func__atan2f_use=yes
74117 else
74118 glibcxx_cv_func__atan2f_use=no
74120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74121 ac_ext=c
74122 ac_cpp='$CPP $CPPFLAGS'
74123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74132 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74134 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74135 for ac_func in _atan2f
74136 do :
74137 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74138 if test "x$ac_cv_func__atan2f" = x""yes; then :
74139 cat >>confdefs.h <<_ACEOF
74140 #define HAVE__ATAN2F 1
74141 _ACEOF
74144 done
74153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74154 $as_echo_n "checking for fabsf declaration... " >&6; }
74155 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74156 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74157 $as_echo_n "(cached) " >&6
74158 else
74161 ac_ext=cpp
74162 ac_cpp='$CXXCPP $CPPFLAGS'
74163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74168 /* end confdefs.h. */
74169 #include <math.h>
74170 #ifdef HAVE_IEEEFP_H
74171 #include <ieeefp.h>
74172 #endif
74175 main ()
74177 fabsf(0);
74179 return 0;
74181 _ACEOF
74182 if ac_fn_cxx_try_compile "$LINENO"; then :
74183 glibcxx_cv_func_fabsf_use=yes
74184 else
74185 glibcxx_cv_func_fabsf_use=no
74187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74188 ac_ext=c
74189 ac_cpp='$CPP $CPPFLAGS'
74190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74199 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74201 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74202 for ac_func in fabsf
74203 do :
74204 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74205 if test "x$ac_cv_func_fabsf" = x""yes; then :
74206 cat >>confdefs.h <<_ACEOF
74207 #define HAVE_FABSF 1
74208 _ACEOF
74211 done
74213 else
74215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74216 $as_echo_n "checking for _fabsf declaration... " >&6; }
74217 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74218 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74219 $as_echo_n "(cached) " >&6
74220 else
74223 ac_ext=cpp
74224 ac_cpp='$CXXCPP $CPPFLAGS'
74225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74230 /* end confdefs.h. */
74231 #include <math.h>
74232 #ifdef HAVE_IEEEFP_H
74233 #include <ieeefp.h>
74234 #endif
74237 main ()
74239 _fabsf(0);
74241 return 0;
74243 _ACEOF
74244 if ac_fn_cxx_try_compile "$LINENO"; then :
74245 glibcxx_cv_func__fabsf_use=yes
74246 else
74247 glibcxx_cv_func__fabsf_use=no
74249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74250 ac_ext=c
74251 ac_cpp='$CPP $CPPFLAGS'
74252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74261 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74263 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74264 for ac_func in _fabsf
74265 do :
74266 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74267 if test "x$ac_cv_func__fabsf" = x""yes; then :
74268 cat >>confdefs.h <<_ACEOF
74269 #define HAVE__FABSF 1
74270 _ACEOF
74273 done
74282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74283 $as_echo_n "checking for fmodf declaration... " >&6; }
74284 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74285 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74286 $as_echo_n "(cached) " >&6
74287 else
74290 ac_ext=cpp
74291 ac_cpp='$CXXCPP $CPPFLAGS'
74292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74297 /* end confdefs.h. */
74298 #include <math.h>
74300 main ()
74302 fmodf(0, 0);
74304 return 0;
74306 _ACEOF
74307 if ac_fn_cxx_try_compile "$LINENO"; then :
74308 glibcxx_cv_func_fmodf_use=yes
74309 else
74310 glibcxx_cv_func_fmodf_use=no
74312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74313 ac_ext=c
74314 ac_cpp='$CPP $CPPFLAGS'
74315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74324 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74326 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74327 for ac_func in fmodf
74328 do :
74329 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74330 if test "x$ac_cv_func_fmodf" = x""yes; then :
74331 cat >>confdefs.h <<_ACEOF
74332 #define HAVE_FMODF 1
74333 _ACEOF
74336 done
74338 else
74340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74341 $as_echo_n "checking for _fmodf declaration... " >&6; }
74342 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74343 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74344 $as_echo_n "(cached) " >&6
74345 else
74348 ac_ext=cpp
74349 ac_cpp='$CXXCPP $CPPFLAGS'
74350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74355 /* end confdefs.h. */
74356 #include <math.h>
74358 main ()
74360 _fmodf(0, 0);
74362 return 0;
74364 _ACEOF
74365 if ac_fn_cxx_try_compile "$LINENO"; then :
74366 glibcxx_cv_func__fmodf_use=yes
74367 else
74368 glibcxx_cv_func__fmodf_use=no
74370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74371 ac_ext=c
74372 ac_cpp='$CPP $CPPFLAGS'
74373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74382 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74384 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74385 for ac_func in _fmodf
74386 do :
74387 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74388 if test "x$ac_cv_func__fmodf" = x""yes; then :
74389 cat >>confdefs.h <<_ACEOF
74390 #define HAVE__FMODF 1
74391 _ACEOF
74394 done
74403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74404 $as_echo_n "checking for frexpf declaration... " >&6; }
74405 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74406 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74407 $as_echo_n "(cached) " >&6
74408 else
74411 ac_ext=cpp
74412 ac_cpp='$CXXCPP $CPPFLAGS'
74413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74418 /* end confdefs.h. */
74419 #include <math.h>
74421 main ()
74423 frexpf(0, 0);
74425 return 0;
74427 _ACEOF
74428 if ac_fn_cxx_try_compile "$LINENO"; then :
74429 glibcxx_cv_func_frexpf_use=yes
74430 else
74431 glibcxx_cv_func_frexpf_use=no
74433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74434 ac_ext=c
74435 ac_cpp='$CPP $CPPFLAGS'
74436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74445 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74447 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74448 for ac_func in frexpf
74449 do :
74450 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74451 if test "x$ac_cv_func_frexpf" = x""yes; then :
74452 cat >>confdefs.h <<_ACEOF
74453 #define HAVE_FREXPF 1
74454 _ACEOF
74457 done
74459 else
74461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74462 $as_echo_n "checking for _frexpf declaration... " >&6; }
74463 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74464 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74465 $as_echo_n "(cached) " >&6
74466 else
74469 ac_ext=cpp
74470 ac_cpp='$CXXCPP $CPPFLAGS'
74471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74476 /* end confdefs.h. */
74477 #include <math.h>
74479 main ()
74481 _frexpf(0, 0);
74483 return 0;
74485 _ACEOF
74486 if ac_fn_cxx_try_compile "$LINENO"; then :
74487 glibcxx_cv_func__frexpf_use=yes
74488 else
74489 glibcxx_cv_func__frexpf_use=no
74491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74492 ac_ext=c
74493 ac_cpp='$CPP $CPPFLAGS'
74494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74503 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74505 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74506 for ac_func in _frexpf
74507 do :
74508 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74509 if test "x$ac_cv_func__frexpf" = x""yes; then :
74510 cat >>confdefs.h <<_ACEOF
74511 #define HAVE__FREXPF 1
74512 _ACEOF
74515 done
74524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74525 $as_echo_n "checking for hypotf declaration... " >&6; }
74526 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74527 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74528 $as_echo_n "(cached) " >&6
74529 else
74532 ac_ext=cpp
74533 ac_cpp='$CXXCPP $CPPFLAGS'
74534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74539 /* end confdefs.h. */
74540 #include <math.h>
74542 main ()
74544 hypotf(0, 0);
74546 return 0;
74548 _ACEOF
74549 if ac_fn_cxx_try_compile "$LINENO"; then :
74550 glibcxx_cv_func_hypotf_use=yes
74551 else
74552 glibcxx_cv_func_hypotf_use=no
74554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74555 ac_ext=c
74556 ac_cpp='$CPP $CPPFLAGS'
74557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74566 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74568 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74569 for ac_func in hypotf
74570 do :
74571 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74572 if test "x$ac_cv_func_hypotf" = x""yes; then :
74573 cat >>confdefs.h <<_ACEOF
74574 #define HAVE_HYPOTF 1
74575 _ACEOF
74578 done
74580 else
74582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74583 $as_echo_n "checking for _hypotf declaration... " >&6; }
74584 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74585 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74586 $as_echo_n "(cached) " >&6
74587 else
74590 ac_ext=cpp
74591 ac_cpp='$CXXCPP $CPPFLAGS'
74592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74597 /* end confdefs.h. */
74598 #include <math.h>
74600 main ()
74602 _hypotf(0, 0);
74604 return 0;
74606 _ACEOF
74607 if ac_fn_cxx_try_compile "$LINENO"; then :
74608 glibcxx_cv_func__hypotf_use=yes
74609 else
74610 glibcxx_cv_func__hypotf_use=no
74612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74613 ac_ext=c
74614 ac_cpp='$CPP $CPPFLAGS'
74615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74624 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74626 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74627 for ac_func in _hypotf
74628 do :
74629 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74630 if test "x$ac_cv_func__hypotf" = x""yes; then :
74631 cat >>confdefs.h <<_ACEOF
74632 #define HAVE__HYPOTF 1
74633 _ACEOF
74636 done
74645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74646 $as_echo_n "checking for ldexpf declaration... " >&6; }
74647 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74648 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74649 $as_echo_n "(cached) " >&6
74650 else
74653 ac_ext=cpp
74654 ac_cpp='$CXXCPP $CPPFLAGS'
74655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74660 /* end confdefs.h. */
74661 #include <math.h>
74663 main ()
74665 ldexpf(0, 0);
74667 return 0;
74669 _ACEOF
74670 if ac_fn_cxx_try_compile "$LINENO"; then :
74671 glibcxx_cv_func_ldexpf_use=yes
74672 else
74673 glibcxx_cv_func_ldexpf_use=no
74675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74676 ac_ext=c
74677 ac_cpp='$CPP $CPPFLAGS'
74678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74687 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74689 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74690 for ac_func in ldexpf
74691 do :
74692 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74693 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74694 cat >>confdefs.h <<_ACEOF
74695 #define HAVE_LDEXPF 1
74696 _ACEOF
74699 done
74701 else
74703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74704 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74705 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74706 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74707 $as_echo_n "(cached) " >&6
74708 else
74711 ac_ext=cpp
74712 ac_cpp='$CXXCPP $CPPFLAGS'
74713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74718 /* end confdefs.h. */
74719 #include <math.h>
74721 main ()
74723 _ldexpf(0, 0);
74725 return 0;
74727 _ACEOF
74728 if ac_fn_cxx_try_compile "$LINENO"; then :
74729 glibcxx_cv_func__ldexpf_use=yes
74730 else
74731 glibcxx_cv_func__ldexpf_use=no
74733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74734 ac_ext=c
74735 ac_cpp='$CPP $CPPFLAGS'
74736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74745 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74747 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74748 for ac_func in _ldexpf
74749 do :
74750 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74751 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74752 cat >>confdefs.h <<_ACEOF
74753 #define HAVE__LDEXPF 1
74754 _ACEOF
74757 done
74766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74767 $as_echo_n "checking for logf declaration... " >&6; }
74768 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74769 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74770 $as_echo_n "(cached) " >&6
74771 else
74774 ac_ext=cpp
74775 ac_cpp='$CXXCPP $CPPFLAGS'
74776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74781 /* end confdefs.h. */
74782 #include <math.h>
74783 #ifdef HAVE_IEEEFP_H
74784 #include <ieeefp.h>
74785 #endif
74788 main ()
74790 logf(0);
74792 return 0;
74794 _ACEOF
74795 if ac_fn_cxx_try_compile "$LINENO"; then :
74796 glibcxx_cv_func_logf_use=yes
74797 else
74798 glibcxx_cv_func_logf_use=no
74800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74801 ac_ext=c
74802 ac_cpp='$CPP $CPPFLAGS'
74803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74812 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74814 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74815 for ac_func in logf
74816 do :
74817 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74818 if test "x$ac_cv_func_logf" = x""yes; then :
74819 cat >>confdefs.h <<_ACEOF
74820 #define HAVE_LOGF 1
74821 _ACEOF
74824 done
74826 else
74828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74829 $as_echo_n "checking for _logf declaration... " >&6; }
74830 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74831 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74832 $as_echo_n "(cached) " >&6
74833 else
74836 ac_ext=cpp
74837 ac_cpp='$CXXCPP $CPPFLAGS'
74838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74843 /* end confdefs.h. */
74844 #include <math.h>
74845 #ifdef HAVE_IEEEFP_H
74846 #include <ieeefp.h>
74847 #endif
74850 main ()
74852 _logf(0);
74854 return 0;
74856 _ACEOF
74857 if ac_fn_cxx_try_compile "$LINENO"; then :
74858 glibcxx_cv_func__logf_use=yes
74859 else
74860 glibcxx_cv_func__logf_use=no
74862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74863 ac_ext=c
74864 ac_cpp='$CPP $CPPFLAGS'
74865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74874 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74876 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74877 for ac_func in _logf
74878 do :
74879 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74880 if test "x$ac_cv_func__logf" = x""yes; then :
74881 cat >>confdefs.h <<_ACEOF
74882 #define HAVE__LOGF 1
74883 _ACEOF
74886 done
74895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74896 $as_echo_n "checking for log10f declaration... " >&6; }
74897 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74898 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74899 $as_echo_n "(cached) " >&6
74900 else
74903 ac_ext=cpp
74904 ac_cpp='$CXXCPP $CPPFLAGS'
74905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74910 /* end confdefs.h. */
74911 #include <math.h>
74912 #ifdef HAVE_IEEEFP_H
74913 #include <ieeefp.h>
74914 #endif
74917 main ()
74919 log10f(0);
74921 return 0;
74923 _ACEOF
74924 if ac_fn_cxx_try_compile "$LINENO"; then :
74925 glibcxx_cv_func_log10f_use=yes
74926 else
74927 glibcxx_cv_func_log10f_use=no
74929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74930 ac_ext=c
74931 ac_cpp='$CPP $CPPFLAGS'
74932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74941 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74943 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74944 for ac_func in log10f
74945 do :
74946 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74947 if test "x$ac_cv_func_log10f" = x""yes; then :
74948 cat >>confdefs.h <<_ACEOF
74949 #define HAVE_LOG10F 1
74950 _ACEOF
74953 done
74955 else
74957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74958 $as_echo_n "checking for _log10f declaration... " >&6; }
74959 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74960 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74961 $as_echo_n "(cached) " >&6
74962 else
74965 ac_ext=cpp
74966 ac_cpp='$CXXCPP $CPPFLAGS'
74967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74972 /* end confdefs.h. */
74973 #include <math.h>
74974 #ifdef HAVE_IEEEFP_H
74975 #include <ieeefp.h>
74976 #endif
74979 main ()
74981 _log10f(0);
74983 return 0;
74985 _ACEOF
74986 if ac_fn_cxx_try_compile "$LINENO"; then :
74987 glibcxx_cv_func__log10f_use=yes
74988 else
74989 glibcxx_cv_func__log10f_use=no
74991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74992 ac_ext=c
74993 ac_cpp='$CPP $CPPFLAGS'
74994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75003 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75005 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75006 for ac_func in _log10f
75007 do :
75008 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75009 if test "x$ac_cv_func__log10f" = x""yes; then :
75010 cat >>confdefs.h <<_ACEOF
75011 #define HAVE__LOG10F 1
75012 _ACEOF
75015 done
75024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75025 $as_echo_n "checking for modff declaration... " >&6; }
75026 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75027 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75028 $as_echo_n "(cached) " >&6
75029 else
75032 ac_ext=cpp
75033 ac_cpp='$CXXCPP $CPPFLAGS'
75034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75039 /* end confdefs.h. */
75040 #include <math.h>
75042 main ()
75044 modff(0, 0);
75046 return 0;
75048 _ACEOF
75049 if ac_fn_cxx_try_compile "$LINENO"; then :
75050 glibcxx_cv_func_modff_use=yes
75051 else
75052 glibcxx_cv_func_modff_use=no
75054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75055 ac_ext=c
75056 ac_cpp='$CPP $CPPFLAGS'
75057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75066 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75068 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75069 for ac_func in modff
75070 do :
75071 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75072 if test "x$ac_cv_func_modff" = x""yes; then :
75073 cat >>confdefs.h <<_ACEOF
75074 #define HAVE_MODFF 1
75075 _ACEOF
75078 done
75080 else
75082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75083 $as_echo_n "checking for _modff declaration... " >&6; }
75084 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75085 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75086 $as_echo_n "(cached) " >&6
75087 else
75090 ac_ext=cpp
75091 ac_cpp='$CXXCPP $CPPFLAGS'
75092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75097 /* end confdefs.h. */
75098 #include <math.h>
75100 main ()
75102 _modff(0, 0);
75104 return 0;
75106 _ACEOF
75107 if ac_fn_cxx_try_compile "$LINENO"; then :
75108 glibcxx_cv_func__modff_use=yes
75109 else
75110 glibcxx_cv_func__modff_use=no
75112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75113 ac_ext=c
75114 ac_cpp='$CPP $CPPFLAGS'
75115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75124 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75126 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75127 for ac_func in _modff
75128 do :
75129 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75130 if test "x$ac_cv_func__modff" = x""yes; then :
75131 cat >>confdefs.h <<_ACEOF
75132 #define HAVE__MODFF 1
75133 _ACEOF
75136 done
75145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75146 $as_echo_n "checking for modf declaration... " >&6; }
75147 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75148 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75149 $as_echo_n "(cached) " >&6
75150 else
75153 ac_ext=cpp
75154 ac_cpp='$CXXCPP $CPPFLAGS'
75155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75160 /* end confdefs.h. */
75161 #include <math.h>
75163 main ()
75165 modf(0, 0);
75167 return 0;
75169 _ACEOF
75170 if ac_fn_cxx_try_compile "$LINENO"; then :
75171 glibcxx_cv_func_modf_use=yes
75172 else
75173 glibcxx_cv_func_modf_use=no
75175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75176 ac_ext=c
75177 ac_cpp='$CPP $CPPFLAGS'
75178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75187 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75189 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75190 for ac_func in modf
75191 do :
75192 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75193 if test "x$ac_cv_func_modf" = x""yes; then :
75194 cat >>confdefs.h <<_ACEOF
75195 #define HAVE_MODF 1
75196 _ACEOF
75199 done
75201 else
75203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75204 $as_echo_n "checking for _modf declaration... " >&6; }
75205 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75206 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75207 $as_echo_n "(cached) " >&6
75208 else
75211 ac_ext=cpp
75212 ac_cpp='$CXXCPP $CPPFLAGS'
75213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75218 /* end confdefs.h. */
75219 #include <math.h>
75221 main ()
75223 _modf(0, 0);
75225 return 0;
75227 _ACEOF
75228 if ac_fn_cxx_try_compile "$LINENO"; then :
75229 glibcxx_cv_func__modf_use=yes
75230 else
75231 glibcxx_cv_func__modf_use=no
75233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75234 ac_ext=c
75235 ac_cpp='$CPP $CPPFLAGS'
75236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75245 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75247 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75248 for ac_func in _modf
75249 do :
75250 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75251 if test "x$ac_cv_func__modf" = x""yes; then :
75252 cat >>confdefs.h <<_ACEOF
75253 #define HAVE__MODF 1
75254 _ACEOF
75257 done
75266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75267 $as_echo_n "checking for powf declaration... " >&6; }
75268 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75269 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75270 $as_echo_n "(cached) " >&6
75271 else
75274 ac_ext=cpp
75275 ac_cpp='$CXXCPP $CPPFLAGS'
75276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75281 /* end confdefs.h. */
75282 #include <math.h>
75284 main ()
75286 powf(0, 0);
75288 return 0;
75290 _ACEOF
75291 if ac_fn_cxx_try_compile "$LINENO"; then :
75292 glibcxx_cv_func_powf_use=yes
75293 else
75294 glibcxx_cv_func_powf_use=no
75296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75297 ac_ext=c
75298 ac_cpp='$CPP $CPPFLAGS'
75299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75308 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75310 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75311 for ac_func in powf
75312 do :
75313 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75314 if test "x$ac_cv_func_powf" = x""yes; then :
75315 cat >>confdefs.h <<_ACEOF
75316 #define HAVE_POWF 1
75317 _ACEOF
75320 done
75322 else
75324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75325 $as_echo_n "checking for _powf declaration... " >&6; }
75326 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75327 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75328 $as_echo_n "(cached) " >&6
75329 else
75332 ac_ext=cpp
75333 ac_cpp='$CXXCPP $CPPFLAGS'
75334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75339 /* end confdefs.h. */
75340 #include <math.h>
75342 main ()
75344 _powf(0, 0);
75346 return 0;
75348 _ACEOF
75349 if ac_fn_cxx_try_compile "$LINENO"; then :
75350 glibcxx_cv_func__powf_use=yes
75351 else
75352 glibcxx_cv_func__powf_use=no
75354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75355 ac_ext=c
75356 ac_cpp='$CPP $CPPFLAGS'
75357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75366 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75368 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75369 for ac_func in _powf
75370 do :
75371 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75372 if test "x$ac_cv_func__powf" = x""yes; then :
75373 cat >>confdefs.h <<_ACEOF
75374 #define HAVE__POWF 1
75375 _ACEOF
75378 done
75387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75388 $as_echo_n "checking for sqrtf declaration... " >&6; }
75389 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75390 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75391 $as_echo_n "(cached) " >&6
75392 else
75395 ac_ext=cpp
75396 ac_cpp='$CXXCPP $CPPFLAGS'
75397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75402 /* end confdefs.h. */
75403 #include <math.h>
75404 #ifdef HAVE_IEEEFP_H
75405 #include <ieeefp.h>
75406 #endif
75409 main ()
75411 sqrtf(0);
75413 return 0;
75415 _ACEOF
75416 if ac_fn_cxx_try_compile "$LINENO"; then :
75417 glibcxx_cv_func_sqrtf_use=yes
75418 else
75419 glibcxx_cv_func_sqrtf_use=no
75421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75422 ac_ext=c
75423 ac_cpp='$CPP $CPPFLAGS'
75424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75433 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75435 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75436 for ac_func in sqrtf
75437 do :
75438 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75439 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75440 cat >>confdefs.h <<_ACEOF
75441 #define HAVE_SQRTF 1
75442 _ACEOF
75445 done
75447 else
75449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75450 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75451 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75452 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75453 $as_echo_n "(cached) " >&6
75454 else
75457 ac_ext=cpp
75458 ac_cpp='$CXXCPP $CPPFLAGS'
75459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75464 /* end confdefs.h. */
75465 #include <math.h>
75466 #ifdef HAVE_IEEEFP_H
75467 #include <ieeefp.h>
75468 #endif
75471 main ()
75473 _sqrtf(0);
75475 return 0;
75477 _ACEOF
75478 if ac_fn_cxx_try_compile "$LINENO"; then :
75479 glibcxx_cv_func__sqrtf_use=yes
75480 else
75481 glibcxx_cv_func__sqrtf_use=no
75483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75484 ac_ext=c
75485 ac_cpp='$CPP $CPPFLAGS'
75486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75495 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75497 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75498 for ac_func in _sqrtf
75499 do :
75500 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75501 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75502 cat >>confdefs.h <<_ACEOF
75503 #define HAVE__SQRTF 1
75504 _ACEOF
75507 done
75516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75517 $as_echo_n "checking for sincosf declaration... " >&6; }
75518 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75519 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75520 $as_echo_n "(cached) " >&6
75521 else
75524 ac_ext=cpp
75525 ac_cpp='$CXXCPP $CPPFLAGS'
75526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75531 /* end confdefs.h. */
75532 #include <math.h>
75534 main ()
75536 sincosf(0, 0, 0);
75538 return 0;
75540 _ACEOF
75541 if ac_fn_cxx_try_compile "$LINENO"; then :
75542 glibcxx_cv_func_sincosf_use=yes
75543 else
75544 glibcxx_cv_func_sincosf_use=no
75546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75547 ac_ext=c
75548 ac_cpp='$CPP $CPPFLAGS'
75549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75558 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75560 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75561 for ac_func in sincosf
75562 do :
75563 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75564 if test "x$ac_cv_func_sincosf" = x""yes; then :
75565 cat >>confdefs.h <<_ACEOF
75566 #define HAVE_SINCOSF 1
75567 _ACEOF
75570 done
75572 else
75574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75575 $as_echo_n "checking for _sincosf declaration... " >&6; }
75576 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75577 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75578 $as_echo_n "(cached) " >&6
75579 else
75582 ac_ext=cpp
75583 ac_cpp='$CXXCPP $CPPFLAGS'
75584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75589 /* end confdefs.h. */
75590 #include <math.h>
75592 main ()
75594 _sincosf(0, 0, 0);
75596 return 0;
75598 _ACEOF
75599 if ac_fn_cxx_try_compile "$LINENO"; then :
75600 glibcxx_cv_func__sincosf_use=yes
75601 else
75602 glibcxx_cv_func__sincosf_use=no
75604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75605 ac_ext=c
75606 ac_cpp='$CPP $CPPFLAGS'
75607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75616 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75618 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75619 for ac_func in _sincosf
75620 do :
75621 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75622 if test "x$ac_cv_func__sincosf" = x""yes; then :
75623 cat >>confdefs.h <<_ACEOF
75624 #define HAVE__SINCOSF 1
75625 _ACEOF
75628 done
75637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75638 $as_echo_n "checking for finitef declaration... " >&6; }
75639 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75640 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75641 $as_echo_n "(cached) " >&6
75642 else
75645 ac_ext=cpp
75646 ac_cpp='$CXXCPP $CPPFLAGS'
75647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75652 /* end confdefs.h. */
75653 #include <math.h>
75654 #ifdef HAVE_IEEEFP_H
75655 #include <ieeefp.h>
75656 #endif
75659 main ()
75661 finitef(0);
75663 return 0;
75665 _ACEOF
75666 if ac_fn_cxx_try_compile "$LINENO"; then :
75667 glibcxx_cv_func_finitef_use=yes
75668 else
75669 glibcxx_cv_func_finitef_use=no
75671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75672 ac_ext=c
75673 ac_cpp='$CPP $CPPFLAGS'
75674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75683 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75685 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75686 for ac_func in finitef
75687 do :
75688 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75689 if test "x$ac_cv_func_finitef" = x""yes; then :
75690 cat >>confdefs.h <<_ACEOF
75691 #define HAVE_FINITEF 1
75692 _ACEOF
75695 done
75697 else
75699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75700 $as_echo_n "checking for _finitef declaration... " >&6; }
75701 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75702 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75703 $as_echo_n "(cached) " >&6
75704 else
75707 ac_ext=cpp
75708 ac_cpp='$CXXCPP $CPPFLAGS'
75709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75714 /* end confdefs.h. */
75715 #include <math.h>
75716 #ifdef HAVE_IEEEFP_H
75717 #include <ieeefp.h>
75718 #endif
75721 main ()
75723 _finitef(0);
75725 return 0;
75727 _ACEOF
75728 if ac_fn_cxx_try_compile "$LINENO"; then :
75729 glibcxx_cv_func__finitef_use=yes
75730 else
75731 glibcxx_cv_func__finitef_use=no
75733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75734 ac_ext=c
75735 ac_cpp='$CPP $CPPFLAGS'
75736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75745 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75747 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75748 for ac_func in _finitef
75749 do :
75750 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75751 if test "x$ac_cv_func__finitef" = x""yes; then :
75752 cat >>confdefs.h <<_ACEOF
75753 #define HAVE__FINITEF 1
75754 _ACEOF
75757 done
75766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75767 $as_echo_n "checking for long double trig functions... " >&6; }
75768 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75769 $as_echo_n "(cached) " >&6
75770 else
75773 ac_ext=cpp
75774 ac_cpp='$CXXCPP $CPPFLAGS'
75775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75780 /* end confdefs.h. */
75781 #include <math.h>
75783 main ()
75785 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75787 return 0;
75789 _ACEOF
75790 if ac_fn_cxx_try_compile "$LINENO"; then :
75791 glibcxx_cv_func_long_double_trig_use=yes
75792 else
75793 glibcxx_cv_func_long_double_trig_use=no
75795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75796 ac_ext=c
75797 ac_cpp='$CPP $CPPFLAGS'
75798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75805 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75806 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75807 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75808 do :
75809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75810 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75811 eval as_val=\$$as_ac_var
75812 if test "x$as_val" = x""yes; then :
75813 cat >>confdefs.h <<_ACEOF
75814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75815 _ACEOF
75818 done
75820 else
75821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75822 $as_echo_n "checking for _long double trig functions... " >&6; }
75823 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75824 $as_echo_n "(cached) " >&6
75825 else
75828 ac_ext=cpp
75829 ac_cpp='$CXXCPP $CPPFLAGS'
75830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75835 /* end confdefs.h. */
75836 #include <math.h>
75838 main ()
75840 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75842 return 0;
75844 _ACEOF
75845 if ac_fn_cxx_try_compile "$LINENO"; then :
75846 glibcxx_cv_func__long_double_trig_use=yes
75847 else
75848 glibcxx_cv_func__long_double_trig_use=no
75850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75851 ac_ext=c
75852 ac_cpp='$CPP $CPPFLAGS'
75853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75860 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75861 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75862 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75863 do :
75864 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75865 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75866 eval as_val=\$$as_ac_var
75867 if test "x$as_val" = x""yes; then :
75868 cat >>confdefs.h <<_ACEOF
75869 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75870 _ACEOF
75873 done
75882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75883 $as_echo_n "checking for long double round functions... " >&6; }
75884 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75885 $as_echo_n "(cached) " >&6
75886 else
75889 ac_ext=cpp
75890 ac_cpp='$CXXCPP $CPPFLAGS'
75891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75896 /* end confdefs.h. */
75897 #include <math.h>
75899 main ()
75901 ceill (0); floorl (0);
75903 return 0;
75905 _ACEOF
75906 if ac_fn_cxx_try_compile "$LINENO"; then :
75907 glibcxx_cv_func_long_double_round_use=yes
75908 else
75909 glibcxx_cv_func_long_double_round_use=no
75911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75912 ac_ext=c
75913 ac_cpp='$CPP $CPPFLAGS'
75914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75921 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75922 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75923 for ac_func in ceill floorl
75924 do :
75925 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75926 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75927 eval as_val=\$$as_ac_var
75928 if test "x$as_val" = x""yes; then :
75929 cat >>confdefs.h <<_ACEOF
75930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75931 _ACEOF
75934 done
75936 else
75937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75938 $as_echo_n "checking for _long double round functions... " >&6; }
75939 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75940 $as_echo_n "(cached) " >&6
75941 else
75944 ac_ext=cpp
75945 ac_cpp='$CXXCPP $CPPFLAGS'
75946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75951 /* end confdefs.h. */
75952 #include <math.h>
75954 main ()
75956 _ceill (0); _floorl (0);
75958 return 0;
75960 _ACEOF
75961 if ac_fn_cxx_try_compile "$LINENO"; then :
75962 glibcxx_cv_func__long_double_round_use=yes
75963 else
75964 glibcxx_cv_func__long_double_round_use=no
75966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75967 ac_ext=c
75968 ac_cpp='$CPP $CPPFLAGS'
75969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75976 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75977 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75978 for ac_func in _ceill _floorl
75979 do :
75980 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75981 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75982 eval as_val=\$$as_ac_var
75983 if test "x$as_val" = x""yes; then :
75984 cat >>confdefs.h <<_ACEOF
75985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75986 _ACEOF
75989 done
75999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76000 $as_echo_n "checking for isnanl declaration... " >&6; }
76001 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76002 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76003 $as_echo_n "(cached) " >&6
76004 else
76007 ac_ext=cpp
76008 ac_cpp='$CXXCPP $CPPFLAGS'
76009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76014 /* end confdefs.h. */
76015 #include <math.h>
76016 #ifdef HAVE_IEEEFP_H
76017 #include <ieeefp.h>
76018 #endif
76021 main ()
76023 isnanl(0);
76025 return 0;
76027 _ACEOF
76028 if ac_fn_cxx_try_compile "$LINENO"; then :
76029 glibcxx_cv_func_isnanl_use=yes
76030 else
76031 glibcxx_cv_func_isnanl_use=no
76033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76034 ac_ext=c
76035 ac_cpp='$CPP $CPPFLAGS'
76036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76045 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76047 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76048 for ac_func in isnanl
76049 do :
76050 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76051 if test "x$ac_cv_func_isnanl" = x""yes; then :
76052 cat >>confdefs.h <<_ACEOF
76053 #define HAVE_ISNANL 1
76054 _ACEOF
76057 done
76059 else
76061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76062 $as_echo_n "checking for _isnanl declaration... " >&6; }
76063 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76064 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76065 $as_echo_n "(cached) " >&6
76066 else
76069 ac_ext=cpp
76070 ac_cpp='$CXXCPP $CPPFLAGS'
76071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76076 /* end confdefs.h. */
76077 #include <math.h>
76078 #ifdef HAVE_IEEEFP_H
76079 #include <ieeefp.h>
76080 #endif
76083 main ()
76085 _isnanl(0);
76087 return 0;
76089 _ACEOF
76090 if ac_fn_cxx_try_compile "$LINENO"; then :
76091 glibcxx_cv_func__isnanl_use=yes
76092 else
76093 glibcxx_cv_func__isnanl_use=no
76095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76096 ac_ext=c
76097 ac_cpp='$CPP $CPPFLAGS'
76098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76107 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76109 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76110 for ac_func in _isnanl
76111 do :
76112 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76113 if test "x$ac_cv_func__isnanl" = x""yes; then :
76114 cat >>confdefs.h <<_ACEOF
76115 #define HAVE__ISNANL 1
76116 _ACEOF
76119 done
76128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76129 $as_echo_n "checking for isinfl declaration... " >&6; }
76130 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76131 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76132 $as_echo_n "(cached) " >&6
76133 else
76136 ac_ext=cpp
76137 ac_cpp='$CXXCPP $CPPFLAGS'
76138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76143 /* end confdefs.h. */
76144 #include <math.h>
76145 #ifdef HAVE_IEEEFP_H
76146 #include <ieeefp.h>
76147 #endif
76150 main ()
76152 isinfl(0);
76154 return 0;
76156 _ACEOF
76157 if ac_fn_cxx_try_compile "$LINENO"; then :
76158 glibcxx_cv_func_isinfl_use=yes
76159 else
76160 glibcxx_cv_func_isinfl_use=no
76162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76163 ac_ext=c
76164 ac_cpp='$CPP $CPPFLAGS'
76165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76174 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76176 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76177 for ac_func in isinfl
76178 do :
76179 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76180 if test "x$ac_cv_func_isinfl" = x""yes; then :
76181 cat >>confdefs.h <<_ACEOF
76182 #define HAVE_ISINFL 1
76183 _ACEOF
76186 done
76188 else
76190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76191 $as_echo_n "checking for _isinfl declaration... " >&6; }
76192 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76193 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76194 $as_echo_n "(cached) " >&6
76195 else
76198 ac_ext=cpp
76199 ac_cpp='$CXXCPP $CPPFLAGS'
76200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76205 /* end confdefs.h. */
76206 #include <math.h>
76207 #ifdef HAVE_IEEEFP_H
76208 #include <ieeefp.h>
76209 #endif
76212 main ()
76214 _isinfl(0);
76216 return 0;
76218 _ACEOF
76219 if ac_fn_cxx_try_compile "$LINENO"; then :
76220 glibcxx_cv_func__isinfl_use=yes
76221 else
76222 glibcxx_cv_func__isinfl_use=no
76224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76225 ac_ext=c
76226 ac_cpp='$CPP $CPPFLAGS'
76227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76236 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76238 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76239 for ac_func in _isinfl
76240 do :
76241 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76242 if test "x$ac_cv_func__isinfl" = x""yes; then :
76243 cat >>confdefs.h <<_ACEOF
76244 #define HAVE__ISINFL 1
76245 _ACEOF
76248 done
76257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76258 $as_echo_n "checking for atan2l declaration... " >&6; }
76259 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76260 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76261 $as_echo_n "(cached) " >&6
76262 else
76265 ac_ext=cpp
76266 ac_cpp='$CXXCPP $CPPFLAGS'
76267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76272 /* end confdefs.h. */
76273 #include <math.h>
76275 main ()
76277 atan2l(0, 0);
76279 return 0;
76281 _ACEOF
76282 if ac_fn_cxx_try_compile "$LINENO"; then :
76283 glibcxx_cv_func_atan2l_use=yes
76284 else
76285 glibcxx_cv_func_atan2l_use=no
76287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76288 ac_ext=c
76289 ac_cpp='$CPP $CPPFLAGS'
76290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76299 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76301 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76302 for ac_func in atan2l
76303 do :
76304 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76305 if test "x$ac_cv_func_atan2l" = x""yes; then :
76306 cat >>confdefs.h <<_ACEOF
76307 #define HAVE_ATAN2L 1
76308 _ACEOF
76311 done
76313 else
76315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76316 $as_echo_n "checking for _atan2l declaration... " >&6; }
76317 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76318 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76319 $as_echo_n "(cached) " >&6
76320 else
76323 ac_ext=cpp
76324 ac_cpp='$CXXCPP $CPPFLAGS'
76325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76330 /* end confdefs.h. */
76331 #include <math.h>
76333 main ()
76335 _atan2l(0, 0);
76337 return 0;
76339 _ACEOF
76340 if ac_fn_cxx_try_compile "$LINENO"; then :
76341 glibcxx_cv_func__atan2l_use=yes
76342 else
76343 glibcxx_cv_func__atan2l_use=no
76345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76346 ac_ext=c
76347 ac_cpp='$CPP $CPPFLAGS'
76348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76357 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76359 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76360 for ac_func in _atan2l
76361 do :
76362 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76363 if test "x$ac_cv_func__atan2l" = x""yes; then :
76364 cat >>confdefs.h <<_ACEOF
76365 #define HAVE__ATAN2L 1
76366 _ACEOF
76369 done
76378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76379 $as_echo_n "checking for expl declaration... " >&6; }
76380 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76381 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76382 $as_echo_n "(cached) " >&6
76383 else
76386 ac_ext=cpp
76387 ac_cpp='$CXXCPP $CPPFLAGS'
76388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76393 /* end confdefs.h. */
76394 #include <math.h>
76395 #ifdef HAVE_IEEEFP_H
76396 #include <ieeefp.h>
76397 #endif
76400 main ()
76402 expl(0);
76404 return 0;
76406 _ACEOF
76407 if ac_fn_cxx_try_compile "$LINENO"; then :
76408 glibcxx_cv_func_expl_use=yes
76409 else
76410 glibcxx_cv_func_expl_use=no
76412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76413 ac_ext=c
76414 ac_cpp='$CPP $CPPFLAGS'
76415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76424 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76426 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76427 for ac_func in expl
76428 do :
76429 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76430 if test "x$ac_cv_func_expl" = x""yes; then :
76431 cat >>confdefs.h <<_ACEOF
76432 #define HAVE_EXPL 1
76433 _ACEOF
76436 done
76438 else
76440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76441 $as_echo_n "checking for _expl declaration... " >&6; }
76442 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76443 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76444 $as_echo_n "(cached) " >&6
76445 else
76448 ac_ext=cpp
76449 ac_cpp='$CXXCPP $CPPFLAGS'
76450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76455 /* end confdefs.h. */
76456 #include <math.h>
76457 #ifdef HAVE_IEEEFP_H
76458 #include <ieeefp.h>
76459 #endif
76462 main ()
76464 _expl(0);
76466 return 0;
76468 _ACEOF
76469 if ac_fn_cxx_try_compile "$LINENO"; then :
76470 glibcxx_cv_func__expl_use=yes
76471 else
76472 glibcxx_cv_func__expl_use=no
76474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76475 ac_ext=c
76476 ac_cpp='$CPP $CPPFLAGS'
76477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76486 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76488 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76489 for ac_func in _expl
76490 do :
76491 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76492 if test "x$ac_cv_func__expl" = x""yes; then :
76493 cat >>confdefs.h <<_ACEOF
76494 #define HAVE__EXPL 1
76495 _ACEOF
76498 done
76507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76508 $as_echo_n "checking for fabsl declaration... " >&6; }
76509 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76510 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76511 $as_echo_n "(cached) " >&6
76512 else
76515 ac_ext=cpp
76516 ac_cpp='$CXXCPP $CPPFLAGS'
76517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76522 /* end confdefs.h. */
76523 #include <math.h>
76524 #ifdef HAVE_IEEEFP_H
76525 #include <ieeefp.h>
76526 #endif
76529 main ()
76531 fabsl(0);
76533 return 0;
76535 _ACEOF
76536 if ac_fn_cxx_try_compile "$LINENO"; then :
76537 glibcxx_cv_func_fabsl_use=yes
76538 else
76539 glibcxx_cv_func_fabsl_use=no
76541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76542 ac_ext=c
76543 ac_cpp='$CPP $CPPFLAGS'
76544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76553 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76555 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76556 for ac_func in fabsl
76557 do :
76558 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76559 if test "x$ac_cv_func_fabsl" = x""yes; then :
76560 cat >>confdefs.h <<_ACEOF
76561 #define HAVE_FABSL 1
76562 _ACEOF
76565 done
76567 else
76569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76570 $as_echo_n "checking for _fabsl declaration... " >&6; }
76571 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76572 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76573 $as_echo_n "(cached) " >&6
76574 else
76577 ac_ext=cpp
76578 ac_cpp='$CXXCPP $CPPFLAGS'
76579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76584 /* end confdefs.h. */
76585 #include <math.h>
76586 #ifdef HAVE_IEEEFP_H
76587 #include <ieeefp.h>
76588 #endif
76591 main ()
76593 _fabsl(0);
76595 return 0;
76597 _ACEOF
76598 if ac_fn_cxx_try_compile "$LINENO"; then :
76599 glibcxx_cv_func__fabsl_use=yes
76600 else
76601 glibcxx_cv_func__fabsl_use=no
76603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76604 ac_ext=c
76605 ac_cpp='$CPP $CPPFLAGS'
76606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76615 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76617 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76618 for ac_func in _fabsl
76619 do :
76620 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76621 if test "x$ac_cv_func__fabsl" = x""yes; then :
76622 cat >>confdefs.h <<_ACEOF
76623 #define HAVE__FABSL 1
76624 _ACEOF
76627 done
76636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76637 $as_echo_n "checking for fmodl declaration... " >&6; }
76638 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76639 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76640 $as_echo_n "(cached) " >&6
76641 else
76644 ac_ext=cpp
76645 ac_cpp='$CXXCPP $CPPFLAGS'
76646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76651 /* end confdefs.h. */
76652 #include <math.h>
76654 main ()
76656 fmodl(0, 0);
76658 return 0;
76660 _ACEOF
76661 if ac_fn_cxx_try_compile "$LINENO"; then :
76662 glibcxx_cv_func_fmodl_use=yes
76663 else
76664 glibcxx_cv_func_fmodl_use=no
76666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76667 ac_ext=c
76668 ac_cpp='$CPP $CPPFLAGS'
76669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76678 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76680 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76681 for ac_func in fmodl
76682 do :
76683 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76684 if test "x$ac_cv_func_fmodl" = x""yes; then :
76685 cat >>confdefs.h <<_ACEOF
76686 #define HAVE_FMODL 1
76687 _ACEOF
76690 done
76692 else
76694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76695 $as_echo_n "checking for _fmodl declaration... " >&6; }
76696 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76697 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76698 $as_echo_n "(cached) " >&6
76699 else
76702 ac_ext=cpp
76703 ac_cpp='$CXXCPP $CPPFLAGS'
76704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76709 /* end confdefs.h. */
76710 #include <math.h>
76712 main ()
76714 _fmodl(0, 0);
76716 return 0;
76718 _ACEOF
76719 if ac_fn_cxx_try_compile "$LINENO"; then :
76720 glibcxx_cv_func__fmodl_use=yes
76721 else
76722 glibcxx_cv_func__fmodl_use=no
76724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76725 ac_ext=c
76726 ac_cpp='$CPP $CPPFLAGS'
76727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76736 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76738 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76739 for ac_func in _fmodl
76740 do :
76741 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76742 if test "x$ac_cv_func__fmodl" = x""yes; then :
76743 cat >>confdefs.h <<_ACEOF
76744 #define HAVE__FMODL 1
76745 _ACEOF
76748 done
76757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76758 $as_echo_n "checking for frexpl declaration... " >&6; }
76759 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76760 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76761 $as_echo_n "(cached) " >&6
76762 else
76765 ac_ext=cpp
76766 ac_cpp='$CXXCPP $CPPFLAGS'
76767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76772 /* end confdefs.h. */
76773 #include <math.h>
76775 main ()
76777 frexpl(0, 0);
76779 return 0;
76781 _ACEOF
76782 if ac_fn_cxx_try_compile "$LINENO"; then :
76783 glibcxx_cv_func_frexpl_use=yes
76784 else
76785 glibcxx_cv_func_frexpl_use=no
76787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76788 ac_ext=c
76789 ac_cpp='$CPP $CPPFLAGS'
76790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76799 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76801 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76802 for ac_func in frexpl
76803 do :
76804 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76805 if test "x$ac_cv_func_frexpl" = x""yes; then :
76806 cat >>confdefs.h <<_ACEOF
76807 #define HAVE_FREXPL 1
76808 _ACEOF
76811 done
76813 else
76815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76816 $as_echo_n "checking for _frexpl declaration... " >&6; }
76817 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76818 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76819 $as_echo_n "(cached) " >&6
76820 else
76823 ac_ext=cpp
76824 ac_cpp='$CXXCPP $CPPFLAGS'
76825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76830 /* end confdefs.h. */
76831 #include <math.h>
76833 main ()
76835 _frexpl(0, 0);
76837 return 0;
76839 _ACEOF
76840 if ac_fn_cxx_try_compile "$LINENO"; then :
76841 glibcxx_cv_func__frexpl_use=yes
76842 else
76843 glibcxx_cv_func__frexpl_use=no
76845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76846 ac_ext=c
76847 ac_cpp='$CPP $CPPFLAGS'
76848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76857 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76859 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76860 for ac_func in _frexpl
76861 do :
76862 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76863 if test "x$ac_cv_func__frexpl" = x""yes; then :
76864 cat >>confdefs.h <<_ACEOF
76865 #define HAVE__FREXPL 1
76866 _ACEOF
76869 done
76878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76879 $as_echo_n "checking for hypotl declaration... " >&6; }
76880 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76881 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76882 $as_echo_n "(cached) " >&6
76883 else
76886 ac_ext=cpp
76887 ac_cpp='$CXXCPP $CPPFLAGS'
76888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76893 /* end confdefs.h. */
76894 #include <math.h>
76896 main ()
76898 hypotl(0, 0);
76900 return 0;
76902 _ACEOF
76903 if ac_fn_cxx_try_compile "$LINENO"; then :
76904 glibcxx_cv_func_hypotl_use=yes
76905 else
76906 glibcxx_cv_func_hypotl_use=no
76908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76909 ac_ext=c
76910 ac_cpp='$CPP $CPPFLAGS'
76911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76920 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76922 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76923 for ac_func in hypotl
76924 do :
76925 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76926 if test "x$ac_cv_func_hypotl" = x""yes; then :
76927 cat >>confdefs.h <<_ACEOF
76928 #define HAVE_HYPOTL 1
76929 _ACEOF
76932 done
76934 else
76936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76937 $as_echo_n "checking for _hypotl declaration... " >&6; }
76938 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76939 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76940 $as_echo_n "(cached) " >&6
76941 else
76944 ac_ext=cpp
76945 ac_cpp='$CXXCPP $CPPFLAGS'
76946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76951 /* end confdefs.h. */
76952 #include <math.h>
76954 main ()
76956 _hypotl(0, 0);
76958 return 0;
76960 _ACEOF
76961 if ac_fn_cxx_try_compile "$LINENO"; then :
76962 glibcxx_cv_func__hypotl_use=yes
76963 else
76964 glibcxx_cv_func__hypotl_use=no
76966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76967 ac_ext=c
76968 ac_cpp='$CPP $CPPFLAGS'
76969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76978 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76980 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76981 for ac_func in _hypotl
76982 do :
76983 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76984 if test "x$ac_cv_func__hypotl" = x""yes; then :
76985 cat >>confdefs.h <<_ACEOF
76986 #define HAVE__HYPOTL 1
76987 _ACEOF
76990 done
76999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77000 $as_echo_n "checking for ldexpl declaration... " >&6; }
77001 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77002 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77003 $as_echo_n "(cached) " >&6
77004 else
77007 ac_ext=cpp
77008 ac_cpp='$CXXCPP $CPPFLAGS'
77009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77014 /* end confdefs.h. */
77015 #include <math.h>
77017 main ()
77019 ldexpl(0, 0);
77021 return 0;
77023 _ACEOF
77024 if ac_fn_cxx_try_compile "$LINENO"; then :
77025 glibcxx_cv_func_ldexpl_use=yes
77026 else
77027 glibcxx_cv_func_ldexpl_use=no
77029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77030 ac_ext=c
77031 ac_cpp='$CPP $CPPFLAGS'
77032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77041 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77043 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77044 for ac_func in ldexpl
77045 do :
77046 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77047 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77048 cat >>confdefs.h <<_ACEOF
77049 #define HAVE_LDEXPL 1
77050 _ACEOF
77053 done
77055 else
77057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77058 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77059 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77060 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77061 $as_echo_n "(cached) " >&6
77062 else
77065 ac_ext=cpp
77066 ac_cpp='$CXXCPP $CPPFLAGS'
77067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77072 /* end confdefs.h. */
77073 #include <math.h>
77075 main ()
77077 _ldexpl(0, 0);
77079 return 0;
77081 _ACEOF
77082 if ac_fn_cxx_try_compile "$LINENO"; then :
77083 glibcxx_cv_func__ldexpl_use=yes
77084 else
77085 glibcxx_cv_func__ldexpl_use=no
77087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77088 ac_ext=c
77089 ac_cpp='$CPP $CPPFLAGS'
77090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77099 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77101 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77102 for ac_func in _ldexpl
77103 do :
77104 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77105 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77106 cat >>confdefs.h <<_ACEOF
77107 #define HAVE__LDEXPL 1
77108 _ACEOF
77111 done
77120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77121 $as_echo_n "checking for logl declaration... " >&6; }
77122 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77123 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77124 $as_echo_n "(cached) " >&6
77125 else
77128 ac_ext=cpp
77129 ac_cpp='$CXXCPP $CPPFLAGS'
77130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77135 /* end confdefs.h. */
77136 #include <math.h>
77137 #ifdef HAVE_IEEEFP_H
77138 #include <ieeefp.h>
77139 #endif
77142 main ()
77144 logl(0);
77146 return 0;
77148 _ACEOF
77149 if ac_fn_cxx_try_compile "$LINENO"; then :
77150 glibcxx_cv_func_logl_use=yes
77151 else
77152 glibcxx_cv_func_logl_use=no
77154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77155 ac_ext=c
77156 ac_cpp='$CPP $CPPFLAGS'
77157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77166 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77168 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77169 for ac_func in logl
77170 do :
77171 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77172 if test "x$ac_cv_func_logl" = x""yes; then :
77173 cat >>confdefs.h <<_ACEOF
77174 #define HAVE_LOGL 1
77175 _ACEOF
77178 done
77180 else
77182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77183 $as_echo_n "checking for _logl declaration... " >&6; }
77184 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77185 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77186 $as_echo_n "(cached) " >&6
77187 else
77190 ac_ext=cpp
77191 ac_cpp='$CXXCPP $CPPFLAGS'
77192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77197 /* end confdefs.h. */
77198 #include <math.h>
77199 #ifdef HAVE_IEEEFP_H
77200 #include <ieeefp.h>
77201 #endif
77204 main ()
77206 _logl(0);
77208 return 0;
77210 _ACEOF
77211 if ac_fn_cxx_try_compile "$LINENO"; then :
77212 glibcxx_cv_func__logl_use=yes
77213 else
77214 glibcxx_cv_func__logl_use=no
77216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77217 ac_ext=c
77218 ac_cpp='$CPP $CPPFLAGS'
77219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77228 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77230 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77231 for ac_func in _logl
77232 do :
77233 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77234 if test "x$ac_cv_func__logl" = x""yes; then :
77235 cat >>confdefs.h <<_ACEOF
77236 #define HAVE__LOGL 1
77237 _ACEOF
77240 done
77249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77250 $as_echo_n "checking for log10l declaration... " >&6; }
77251 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77252 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77253 $as_echo_n "(cached) " >&6
77254 else
77257 ac_ext=cpp
77258 ac_cpp='$CXXCPP $CPPFLAGS'
77259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77264 /* end confdefs.h. */
77265 #include <math.h>
77266 #ifdef HAVE_IEEEFP_H
77267 #include <ieeefp.h>
77268 #endif
77271 main ()
77273 log10l(0);
77275 return 0;
77277 _ACEOF
77278 if ac_fn_cxx_try_compile "$LINENO"; then :
77279 glibcxx_cv_func_log10l_use=yes
77280 else
77281 glibcxx_cv_func_log10l_use=no
77283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77284 ac_ext=c
77285 ac_cpp='$CPP $CPPFLAGS'
77286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77295 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77297 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77298 for ac_func in log10l
77299 do :
77300 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77301 if test "x$ac_cv_func_log10l" = x""yes; then :
77302 cat >>confdefs.h <<_ACEOF
77303 #define HAVE_LOG10L 1
77304 _ACEOF
77307 done
77309 else
77311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77312 $as_echo_n "checking for _log10l declaration... " >&6; }
77313 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77314 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77315 $as_echo_n "(cached) " >&6
77316 else
77319 ac_ext=cpp
77320 ac_cpp='$CXXCPP $CPPFLAGS'
77321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77326 /* end confdefs.h. */
77327 #include <math.h>
77328 #ifdef HAVE_IEEEFP_H
77329 #include <ieeefp.h>
77330 #endif
77333 main ()
77335 _log10l(0);
77337 return 0;
77339 _ACEOF
77340 if ac_fn_cxx_try_compile "$LINENO"; then :
77341 glibcxx_cv_func__log10l_use=yes
77342 else
77343 glibcxx_cv_func__log10l_use=no
77345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77346 ac_ext=c
77347 ac_cpp='$CPP $CPPFLAGS'
77348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77357 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77359 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77360 for ac_func in _log10l
77361 do :
77362 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77363 if test "x$ac_cv_func__log10l" = x""yes; then :
77364 cat >>confdefs.h <<_ACEOF
77365 #define HAVE__LOG10L 1
77366 _ACEOF
77369 done
77378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77379 $as_echo_n "checking for modfl declaration... " >&6; }
77380 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77381 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77382 $as_echo_n "(cached) " >&6
77383 else
77386 ac_ext=cpp
77387 ac_cpp='$CXXCPP $CPPFLAGS'
77388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77393 /* end confdefs.h. */
77394 #include <math.h>
77396 main ()
77398 modfl(0, 0);
77400 return 0;
77402 _ACEOF
77403 if ac_fn_cxx_try_compile "$LINENO"; then :
77404 glibcxx_cv_func_modfl_use=yes
77405 else
77406 glibcxx_cv_func_modfl_use=no
77408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77409 ac_ext=c
77410 ac_cpp='$CPP $CPPFLAGS'
77411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77420 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77422 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77423 for ac_func in modfl
77424 do :
77425 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77426 if test "x$ac_cv_func_modfl" = x""yes; then :
77427 cat >>confdefs.h <<_ACEOF
77428 #define HAVE_MODFL 1
77429 _ACEOF
77432 done
77434 else
77436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77437 $as_echo_n "checking for _modfl declaration... " >&6; }
77438 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77439 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77440 $as_echo_n "(cached) " >&6
77441 else
77444 ac_ext=cpp
77445 ac_cpp='$CXXCPP $CPPFLAGS'
77446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77451 /* end confdefs.h. */
77452 #include <math.h>
77454 main ()
77456 _modfl(0, 0);
77458 return 0;
77460 _ACEOF
77461 if ac_fn_cxx_try_compile "$LINENO"; then :
77462 glibcxx_cv_func__modfl_use=yes
77463 else
77464 glibcxx_cv_func__modfl_use=no
77466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77467 ac_ext=c
77468 ac_cpp='$CPP $CPPFLAGS'
77469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77478 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77480 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77481 for ac_func in _modfl
77482 do :
77483 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77484 if test "x$ac_cv_func__modfl" = x""yes; then :
77485 cat >>confdefs.h <<_ACEOF
77486 #define HAVE__MODFL 1
77487 _ACEOF
77490 done
77499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77500 $as_echo_n "checking for powl declaration... " >&6; }
77501 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77502 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77503 $as_echo_n "(cached) " >&6
77504 else
77507 ac_ext=cpp
77508 ac_cpp='$CXXCPP $CPPFLAGS'
77509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77514 /* end confdefs.h. */
77515 #include <math.h>
77517 main ()
77519 powl(0, 0);
77521 return 0;
77523 _ACEOF
77524 if ac_fn_cxx_try_compile "$LINENO"; then :
77525 glibcxx_cv_func_powl_use=yes
77526 else
77527 glibcxx_cv_func_powl_use=no
77529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77530 ac_ext=c
77531 ac_cpp='$CPP $CPPFLAGS'
77532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77541 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77543 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77544 for ac_func in powl
77545 do :
77546 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77547 if test "x$ac_cv_func_powl" = x""yes; then :
77548 cat >>confdefs.h <<_ACEOF
77549 #define HAVE_POWL 1
77550 _ACEOF
77553 done
77555 else
77557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77558 $as_echo_n "checking for _powl declaration... " >&6; }
77559 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77560 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77561 $as_echo_n "(cached) " >&6
77562 else
77565 ac_ext=cpp
77566 ac_cpp='$CXXCPP $CPPFLAGS'
77567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77572 /* end confdefs.h. */
77573 #include <math.h>
77575 main ()
77577 _powl(0, 0);
77579 return 0;
77581 _ACEOF
77582 if ac_fn_cxx_try_compile "$LINENO"; then :
77583 glibcxx_cv_func__powl_use=yes
77584 else
77585 glibcxx_cv_func__powl_use=no
77587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77588 ac_ext=c
77589 ac_cpp='$CPP $CPPFLAGS'
77590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77599 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77601 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77602 for ac_func in _powl
77603 do :
77604 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77605 if test "x$ac_cv_func__powl" = x""yes; then :
77606 cat >>confdefs.h <<_ACEOF
77607 #define HAVE__POWL 1
77608 _ACEOF
77611 done
77620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77621 $as_echo_n "checking for sqrtl declaration... " >&6; }
77622 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77623 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77624 $as_echo_n "(cached) " >&6
77625 else
77628 ac_ext=cpp
77629 ac_cpp='$CXXCPP $CPPFLAGS'
77630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77635 /* end confdefs.h. */
77636 #include <math.h>
77637 #ifdef HAVE_IEEEFP_H
77638 #include <ieeefp.h>
77639 #endif
77642 main ()
77644 sqrtl(0);
77646 return 0;
77648 _ACEOF
77649 if ac_fn_cxx_try_compile "$LINENO"; then :
77650 glibcxx_cv_func_sqrtl_use=yes
77651 else
77652 glibcxx_cv_func_sqrtl_use=no
77654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77655 ac_ext=c
77656 ac_cpp='$CPP $CPPFLAGS'
77657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77666 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77668 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77669 for ac_func in sqrtl
77670 do :
77671 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77672 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77673 cat >>confdefs.h <<_ACEOF
77674 #define HAVE_SQRTL 1
77675 _ACEOF
77678 done
77680 else
77682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77683 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77684 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77685 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77686 $as_echo_n "(cached) " >&6
77687 else
77690 ac_ext=cpp
77691 ac_cpp='$CXXCPP $CPPFLAGS'
77692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77697 /* end confdefs.h. */
77698 #include <math.h>
77699 #ifdef HAVE_IEEEFP_H
77700 #include <ieeefp.h>
77701 #endif
77704 main ()
77706 _sqrtl(0);
77708 return 0;
77710 _ACEOF
77711 if ac_fn_cxx_try_compile "$LINENO"; then :
77712 glibcxx_cv_func__sqrtl_use=yes
77713 else
77714 glibcxx_cv_func__sqrtl_use=no
77716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77717 ac_ext=c
77718 ac_cpp='$CPP $CPPFLAGS'
77719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77728 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77730 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77731 for ac_func in _sqrtl
77732 do :
77733 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77734 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77735 cat >>confdefs.h <<_ACEOF
77736 #define HAVE__SQRTL 1
77737 _ACEOF
77740 done
77749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77750 $as_echo_n "checking for sincosl declaration... " >&6; }
77751 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77752 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77753 $as_echo_n "(cached) " >&6
77754 else
77757 ac_ext=cpp
77758 ac_cpp='$CXXCPP $CPPFLAGS'
77759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77764 /* end confdefs.h. */
77765 #include <math.h>
77767 main ()
77769 sincosl(0, 0, 0);
77771 return 0;
77773 _ACEOF
77774 if ac_fn_cxx_try_compile "$LINENO"; then :
77775 glibcxx_cv_func_sincosl_use=yes
77776 else
77777 glibcxx_cv_func_sincosl_use=no
77779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77780 ac_ext=c
77781 ac_cpp='$CPP $CPPFLAGS'
77782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77791 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77793 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77794 for ac_func in sincosl
77795 do :
77796 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77797 if test "x$ac_cv_func_sincosl" = x""yes; then :
77798 cat >>confdefs.h <<_ACEOF
77799 #define HAVE_SINCOSL 1
77800 _ACEOF
77803 done
77805 else
77807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77808 $as_echo_n "checking for _sincosl declaration... " >&6; }
77809 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77810 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77811 $as_echo_n "(cached) " >&6
77812 else
77815 ac_ext=cpp
77816 ac_cpp='$CXXCPP $CPPFLAGS'
77817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77822 /* end confdefs.h. */
77823 #include <math.h>
77825 main ()
77827 _sincosl(0, 0, 0);
77829 return 0;
77831 _ACEOF
77832 if ac_fn_cxx_try_compile "$LINENO"; then :
77833 glibcxx_cv_func__sincosl_use=yes
77834 else
77835 glibcxx_cv_func__sincosl_use=no
77837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77838 ac_ext=c
77839 ac_cpp='$CPP $CPPFLAGS'
77840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77849 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77851 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77852 for ac_func in _sincosl
77853 do :
77854 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77855 if test "x$ac_cv_func__sincosl" = x""yes; then :
77856 cat >>confdefs.h <<_ACEOF
77857 #define HAVE__SINCOSL 1
77858 _ACEOF
77861 done
77870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77871 $as_echo_n "checking for finitel declaration... " >&6; }
77872 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77873 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77874 $as_echo_n "(cached) " >&6
77875 else
77878 ac_ext=cpp
77879 ac_cpp='$CXXCPP $CPPFLAGS'
77880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77885 /* end confdefs.h. */
77886 #include <math.h>
77887 #ifdef HAVE_IEEEFP_H
77888 #include <ieeefp.h>
77889 #endif
77892 main ()
77894 finitel(0);
77896 return 0;
77898 _ACEOF
77899 if ac_fn_cxx_try_compile "$LINENO"; then :
77900 glibcxx_cv_func_finitel_use=yes
77901 else
77902 glibcxx_cv_func_finitel_use=no
77904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77905 ac_ext=c
77906 ac_cpp='$CPP $CPPFLAGS'
77907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77916 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77918 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77919 for ac_func in finitel
77920 do :
77921 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77922 if test "x$ac_cv_func_finitel" = x""yes; then :
77923 cat >>confdefs.h <<_ACEOF
77924 #define HAVE_FINITEL 1
77925 _ACEOF
77928 done
77930 else
77932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77933 $as_echo_n "checking for _finitel declaration... " >&6; }
77934 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77935 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77936 $as_echo_n "(cached) " >&6
77937 else
77940 ac_ext=cpp
77941 ac_cpp='$CXXCPP $CPPFLAGS'
77942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77947 /* end confdefs.h. */
77948 #include <math.h>
77949 #ifdef HAVE_IEEEFP_H
77950 #include <ieeefp.h>
77951 #endif
77954 main ()
77956 _finitel(0);
77958 return 0;
77960 _ACEOF
77961 if ac_fn_cxx_try_compile "$LINENO"; then :
77962 glibcxx_cv_func__finitel_use=yes
77963 else
77964 glibcxx_cv_func__finitel_use=no
77966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77967 ac_ext=c
77968 ac_cpp='$CPP $CPPFLAGS'
77969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77978 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77980 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77981 for ac_func in _finitel
77982 do :
77983 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77984 if test "x$ac_cv_func__finitel" = x""yes; then :
77985 cat >>confdefs.h <<_ACEOF
77986 #define HAVE__FINITEL 1
77987 _ACEOF
77990 done
77998 LIBS="$ac_save_LIBS"
77999 CXXFLAGS="$ac_save_CXXFLAGS"
78002 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78003 ac_save_CXXFLAGS="$CXXFLAGS"
78004 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78008 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78009 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78010 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78011 $as_echo_n "(cached) " >&6
78012 else
78015 ac_ext=cpp
78016 ac_cpp='$CXXCPP $CPPFLAGS'
78017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78022 /* end confdefs.h. */
78023 #include <stdlib.h>
78025 main ()
78027 at_quick_exit(0);
78029 return 0;
78031 _ACEOF
78032 if ac_fn_cxx_try_compile "$LINENO"; then :
78033 glibcxx_cv_func_at_quick_exit_use=yes
78034 else
78035 glibcxx_cv_func_at_quick_exit_use=no
78037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78038 ac_ext=c
78039 ac_cpp='$CPP $CPPFLAGS'
78040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78049 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78050 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78051 for ac_func in at_quick_exit
78052 do :
78053 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78054 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78055 cat >>confdefs.h <<_ACEOF
78056 #define HAVE_AT_QUICK_EXIT 1
78057 _ACEOF
78060 done
78065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78066 $as_echo_n "checking for quick_exit declaration... " >&6; }
78067 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78068 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78069 $as_echo_n "(cached) " >&6
78070 else
78073 ac_ext=cpp
78074 ac_cpp='$CXXCPP $CPPFLAGS'
78075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78080 /* end confdefs.h. */
78081 #include <stdlib.h>
78083 main ()
78085 quick_exit(0);
78087 return 0;
78089 _ACEOF
78090 if ac_fn_cxx_try_compile "$LINENO"; then :
78091 glibcxx_cv_func_quick_exit_use=yes
78092 else
78093 glibcxx_cv_func_quick_exit_use=no
78095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78096 ac_ext=c
78097 ac_cpp='$CPP $CPPFLAGS'
78098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78107 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78108 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78109 for ac_func in quick_exit
78110 do :
78111 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78112 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78113 cat >>confdefs.h <<_ACEOF
78114 #define HAVE_QUICK_EXIT 1
78115 _ACEOF
78118 done
78123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78124 $as_echo_n "checking for strtold declaration... " >&6; }
78125 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78126 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78127 $as_echo_n "(cached) " >&6
78128 else
78131 ac_ext=cpp
78132 ac_cpp='$CXXCPP $CPPFLAGS'
78133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78138 /* end confdefs.h. */
78139 #include <stdlib.h>
78141 main ()
78143 strtold(0, 0);
78145 return 0;
78147 _ACEOF
78148 if ac_fn_cxx_try_compile "$LINENO"; then :
78149 glibcxx_cv_func_strtold_use=yes
78150 else
78151 glibcxx_cv_func_strtold_use=no
78153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78154 ac_ext=c
78155 ac_cpp='$CPP $CPPFLAGS'
78156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78165 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78166 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78167 for ac_func in strtold
78168 do :
78169 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78170 if test "x$ac_cv_func_strtold" = x""yes; then :
78171 cat >>confdefs.h <<_ACEOF
78172 #define HAVE_STRTOLD 1
78173 _ACEOF
78176 done
78183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78184 $as_echo_n "checking for strtof declaration... " >&6; }
78185 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78186 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78187 $as_echo_n "(cached) " >&6
78188 else
78191 ac_ext=cpp
78192 ac_cpp='$CXXCPP $CPPFLAGS'
78193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78198 /* end confdefs.h. */
78199 #include <stdlib.h>
78201 main ()
78203 strtof(0, 0);
78205 return 0;
78207 _ACEOF
78208 if ac_fn_cxx_try_compile "$LINENO"; then :
78209 glibcxx_cv_func_strtof_use=yes
78210 else
78211 glibcxx_cv_func_strtof_use=no
78213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78214 ac_ext=c
78215 ac_cpp='$CPP $CPPFLAGS'
78216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78225 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78226 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78227 for ac_func in strtof
78228 do :
78229 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78230 if test "x$ac_cv_func_strtof" = x""yes; then :
78231 cat >>confdefs.h <<_ACEOF
78232 #define HAVE_STRTOF 1
78233 _ACEOF
78236 done
78243 CXXFLAGS="$ac_save_CXXFLAGS"
78246 *-vxworks)
78247 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78249 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78251 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78253 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78255 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78257 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78259 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78261 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78263 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78265 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78267 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78269 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78271 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78273 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78275 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78277 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78279 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78281 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78283 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78285 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78289 as_fn_error "No support for this host/target combination." "$LINENO" 5
78291 esac
78295 # At some point, we should differentiate between architectures
78296 # like x86, which have long double versions, and alpha/powerpc/etc.,
78297 # which don't. For the time being, punt.
78298 if test x"long_double_math_on_this_cpu" = x"yes"; then
78299 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78301 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78303 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78305 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78307 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78309 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78311 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78313 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78315 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78317 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78319 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78321 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78323 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78325 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78327 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78329 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78331 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78333 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78335 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78337 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78339 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78341 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78343 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78348 # Check for _Unwind_GetIPInfo.
78351 # Check whether --with-system-libunwind was given.
78352 if test "${with_system_libunwind+set}" = set; then :
78353 withval=$with_system_libunwind;
78356 # If system-libunwind was not specifically set, pick a default setting.
78357 if test x$with_system_libunwind = x; then
78358 case ${target} in
78359 ia64-*-hpux*) with_system_libunwind=yes ;;
78360 *) with_system_libunwind=no ;;
78361 esac
78363 # Based on system-libunwind and target, do we have ipinfo?
78364 if test x$with_system_libunwind = xyes; then
78365 case ${target} in
78366 ia64-*-*) have_unwind_getipinfo=no ;;
78367 *) have_unwind_getipinfo=yes ;;
78368 esac
78369 else
78370 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78372 case ${target} in
78373 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78374 *) have_unwind_getipinfo=yes ;;
78375 esac
78379 if test x$have_unwind_getipinfo = xyes; then
78381 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78386 # Check whether --enable-linux-futex was given.
78387 if test "${enable_linux_futex+set}" = set; then :
78388 enableval=$enable_linux_futex;
78389 case "$enableval" in
78390 yes|no|default) ;;
78391 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78392 esac
78394 else
78395 enable_linux_futex=default
78399 case "$target" in
78400 *-linux*)
78401 case "$enable_linux_futex" in
78402 default)
78403 # If headers don't have gettid/futex syscalls definition, then
78404 # default to no, otherwise there will be compile time failures.
78405 # Otherwise, default to yes. If we don't detect we are
78406 # compiled/linked against NPTL and not cross-compiling, check
78407 # if programs are run by default against NPTL and if not, issue
78408 # a warning.
78409 enable_linux_futex=no
78410 if test x$gcc_no_link = xyes; then
78411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78414 /* end confdefs.h. */
78415 #include <sys/syscall.h>
78416 int lk;
78418 main ()
78420 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78422 return 0;
78424 _ACEOF
78425 if ac_fn_c_try_link "$LINENO"; then :
78426 save_LIBS="$LIBS"
78427 LIBS="-lpthread $LIBS"
78428 if test x$gcc_no_link = xyes; then
78429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78432 /* end confdefs.h. */
78433 #ifndef _GNU_SOURCE
78434 #define _GNU_SOURCE 1
78435 #endif
78436 #include <pthread.h>
78437 pthread_t th; void *status;
78439 main ()
78441 pthread_tryjoin_np (th, &status);
78443 return 0;
78445 _ACEOF
78446 if ac_fn_c_try_link "$LINENO"; then :
78447 enable_linux_futex=yes
78448 else
78449 if test x$cross_compiling = xno; then
78450 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78451 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78453 If so, please configure with --disable-linux-futex" >&5
78454 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78455 If so, please configure with --disable-linux-futex" >&2;}
78458 enable_linux_futex=yes
78460 rm -f core conftest.err conftest.$ac_objext \
78461 conftest$ac_exeext conftest.$ac_ext
78462 LIBS="$save_LIBS"
78464 rm -f core conftest.err conftest.$ac_objext \
78465 conftest$ac_exeext conftest.$ac_ext
78467 yes)
78468 if test x$gcc_no_link = xyes; then
78469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78472 /* end confdefs.h. */
78473 #include <sys/syscall.h>
78474 int lk;
78476 main ()
78478 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78480 return 0;
78482 _ACEOF
78483 if ac_fn_c_try_link "$LINENO"; then :
78485 else
78486 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78488 rm -f core conftest.err conftest.$ac_objext \
78489 conftest$ac_exeext conftest.$ac_ext
78491 esac
78494 enable_linux_futex=no
78496 esac
78497 if test x$enable_linux_futex = xyes; then
78499 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78506 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78508 acx_cv_header_stdint=stddef.h
78509 acx_cv_header_stdint_kind="(already complete)"
78510 for i in stdint.h $inttype_headers; do
78511 unset ac_cv_type_uintptr_t
78512 unset ac_cv_type_uintmax_t
78513 unset ac_cv_type_int_least32_t
78514 unset ac_cv_type_int_fast32_t
78515 unset ac_cv_type_uint64_t
78516 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78517 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78518 #include <$i>
78520 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78521 acx_cv_header_stdint=$i
78522 else
78523 continue
78526 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78527 #include <$i>
78529 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78531 else
78532 acx_cv_header_stdint_kind="(mostly complete)"
78535 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78536 #include <$i>
78538 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78540 else
78541 acx_cv_header_stdint_kind="(mostly complete)"
78544 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78545 #include <$i>
78547 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78549 else
78550 acx_cv_header_stdint_kind="(mostly complete)"
78553 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78554 #include <$i>
78556 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78558 else
78559 acx_cv_header_stdint_kind="(lacks uint64_t)"
78562 break
78563 done
78564 if test "$acx_cv_header_stdint" = stddef.h; then
78565 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78566 for i in stdint.h $inttype_headers; do
78567 unset ac_cv_type_uintptr_t
78568 unset ac_cv_type_uint32_t
78569 unset ac_cv_type_uint64_t
78570 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78571 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78572 #include <$i>
78574 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78575 acx_cv_header_stdint=$i
78576 else
78577 continue
78580 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78581 #include <$i>
78583 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78587 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78588 #include <$i>
78590 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78594 break
78595 done
78597 if test "$acx_cv_header_stdint" = stddef.h; then
78598 acx_cv_header_stdint_kind="(u_intXX_t style)"
78599 for i in sys/types.h $inttype_headers; do
78600 unset ac_cv_type_u_int32_t
78601 unset ac_cv_type_u_int64_t
78602 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78603 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78604 #include <$i>
78606 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78607 acx_cv_header_stdint=$i
78608 else
78609 continue
78612 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78613 #include <$i>
78615 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78619 break
78620 done
78622 if test "$acx_cv_header_stdint" = stddef.h; then
78623 acx_cv_header_stdint_kind="(using manual detection)"
78626 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78627 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78628 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78629 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78630 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78632 # ----------------- Summarize what we found so far
78634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78635 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78637 case `$as_basename -- include/gstdint.h ||
78638 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78639 Xinclude/gstdint.h : 'X\(//\)$' \| \
78640 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78641 $as_echo X/include/gstdint.h |
78642 sed '/^.*\/\([^/][^/]*\)\/*$/{
78643 s//\1/
78646 /^X\/\(\/\/\)$/{
78647 s//\1/
78650 /^X\/\(\/\).*/{
78651 s//\1/
78654 s/.*/./; q'` in
78655 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78656 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78657 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78658 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78659 *) ;;
78660 esac
78662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78663 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78665 # ----------------- done included file, check C basic types --------
78667 # Lacking an uintptr_t? Test size of void *
78668 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78669 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78670 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78671 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78672 # This bug is HP SR number 8606223364.
78673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78674 $as_echo_n "checking size of void *... " >&6; }
78675 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78676 $as_echo_n "(cached) " >&6
78677 else
78678 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78680 else
78681 if test "$ac_cv_type_void_p" = yes; then
78682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78684 { as_fn_set_status 77
78685 as_fn_error "cannot compute sizeof (void *)
78686 See \`config.log' for more details." "$LINENO" 5; }; }
78687 else
78688 ac_cv_sizeof_void_p=0
78693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78694 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78698 cat >>confdefs.h <<_ACEOF
78699 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78700 _ACEOF
78703 esac
78705 # Lacking an uint64_t? Test size of long
78706 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78707 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78710 # This bug is HP SR number 8606223364.
78711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78712 $as_echo_n "checking size of long... " >&6; }
78713 if test "${ac_cv_sizeof_long+set}" = set; then :
78714 $as_echo_n "(cached) " >&6
78715 else
78716 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78718 else
78719 if test "$ac_cv_type_long" = yes; then
78720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78722 { as_fn_set_status 77
78723 as_fn_error "cannot compute sizeof (long)
78724 See \`config.log' for more details." "$LINENO" 5; }; }
78725 else
78726 ac_cv_sizeof_long=0
78731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78732 $as_echo "$ac_cv_sizeof_long" >&6; }
78736 cat >>confdefs.h <<_ACEOF
78737 #define SIZEOF_LONG $ac_cv_sizeof_long
78738 _ACEOF
78741 esac
78743 if test $acx_cv_header_stdint = stddef.h; then
78744 # Lacking a good header? Test size of everything and deduce all types.
78745 # The cast to long int works around a bug in the HP C Compiler
78746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78748 # This bug is HP SR number 8606223364.
78749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78750 $as_echo_n "checking size of int... " >&6; }
78751 if test "${ac_cv_sizeof_int+set}" = set; then :
78752 $as_echo_n "(cached) " >&6
78753 else
78754 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78756 else
78757 if test "$ac_cv_type_int" = yes; then
78758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78760 { as_fn_set_status 77
78761 as_fn_error "cannot compute sizeof (int)
78762 See \`config.log' for more details." "$LINENO" 5; }; }
78763 else
78764 ac_cv_sizeof_int=0
78769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78770 $as_echo "$ac_cv_sizeof_int" >&6; }
78774 cat >>confdefs.h <<_ACEOF
78775 #define SIZEOF_INT $ac_cv_sizeof_int
78776 _ACEOF
78779 # The cast to long int works around a bug in the HP C Compiler
78780 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78781 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78782 # This bug is HP SR number 8606223364.
78783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78784 $as_echo_n "checking size of short... " >&6; }
78785 if test "${ac_cv_sizeof_short+set}" = set; then :
78786 $as_echo_n "(cached) " >&6
78787 else
78788 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78790 else
78791 if test "$ac_cv_type_short" = yes; then
78792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78794 { as_fn_set_status 77
78795 as_fn_error "cannot compute sizeof (short)
78796 See \`config.log' for more details." "$LINENO" 5; }; }
78797 else
78798 ac_cv_sizeof_short=0
78803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78804 $as_echo "$ac_cv_sizeof_short" >&6; }
78808 cat >>confdefs.h <<_ACEOF
78809 #define SIZEOF_SHORT $ac_cv_sizeof_short
78810 _ACEOF
78813 # The cast to long int works around a bug in the HP C Compiler
78814 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78815 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78816 # This bug is HP SR number 8606223364.
78817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78818 $as_echo_n "checking size of char... " >&6; }
78819 if test "${ac_cv_sizeof_char+set}" = set; then :
78820 $as_echo_n "(cached) " >&6
78821 else
78822 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78824 else
78825 if test "$ac_cv_type_char" = yes; then
78826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78828 { as_fn_set_status 77
78829 as_fn_error "cannot compute sizeof (char)
78830 See \`config.log' for more details." "$LINENO" 5; }; }
78831 else
78832 ac_cv_sizeof_char=0
78837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78838 $as_echo "$ac_cv_sizeof_char" >&6; }
78842 cat >>confdefs.h <<_ACEOF
78843 #define SIZEOF_CHAR $ac_cv_sizeof_char
78844 _ACEOF
78848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78849 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78850 case "$ac_cv_sizeof_char" in
78851 1) acx_cv_type_int8_t=char ;;
78852 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78853 esac
78854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78855 $as_echo "$acx_cv_type_int8_t" >&6; }
78857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78858 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78859 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78860 2:*) acx_cv_type_int16_t=int ;;
78861 *:2) acx_cv_type_int16_t=short ;;
78862 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78863 esac
78864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78865 $as_echo "$acx_cv_type_int16_t" >&6; }
78867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78868 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78869 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78870 4:*) acx_cv_type_int32_t=int ;;
78871 *:4) acx_cv_type_int32_t=long ;;
78872 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78873 esac
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78875 $as_echo "$acx_cv_type_int32_t" >&6; }
78878 # These tests are here to make the output prettier
78880 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78881 case "$ac_cv_sizeof_long" in
78882 8) acx_cv_type_int64_t=long ;;
78883 esac
78884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78885 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78887 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78890 # Now we can use the above types
78892 if test "$ac_cv_type_uintptr_t" != yes; then
78893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78894 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78895 case $ac_cv_sizeof_void_p in
78896 2) acx_cv_type_intptr_t=int16_t ;;
78897 4) acx_cv_type_intptr_t=int32_t ;;
78898 8) acx_cv_type_intptr_t=int64_t ;;
78899 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78900 esac
78901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78902 $as_echo "$acx_cv_type_intptr_t" >&6; }
78905 # ----------------- done all checks, emit header -------------
78906 ac_config_commands="$ac_config_commands include/gstdint.h"
78912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78913 $as_echo_n "checking for GNU c++filt... " >&6; }
78914 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78915 $as_echo_n "(cached) " >&6
78916 else
78917 if test -z "$CXXFILT"; then
78918 ac_path_CXXFILT_found=false
78919 # Loop through the user's path and test for each of PROGNAME-LIST
78920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78921 for as_dir in $PATH
78923 IFS=$as_save_IFS
78924 test -z "$as_dir" && as_dir=.
78925 for ac_prog in c++filt gc++filt; do
78926 for ac_exec_ext in '' $ac_executable_extensions; do
78927 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78928 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78929 # Check for GNU $ac_path_CXXFILT
78930 case `"$ac_path_CXXFILT" --version 2>&1` in
78931 *GNU*)
78932 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78933 esac
78935 $ac_path_CXXFILT_found && break 3
78936 done
78937 done
78938 done
78939 IFS=$as_save_IFS
78940 if test -z "$ac_cv_path_CXXFILT"; then
78943 else
78944 ac_cv_path_CXXFILT=$CXXFILT
78948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78949 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78950 CXXFILT=$ac_cv_path_CXXFILT
78954 # Check whether --enable-symvers was given.
78955 if test "${enable_symvers+set}" = set; then :
78956 enableval=$enable_symvers;
78957 case "$enableval" in
78958 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78959 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78960 esac
78962 else
78963 enable_symvers=yes
78968 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78969 # don't know enough about $LD to do tricks...
78971 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78972 # with extern "C++" in version scripts.
78975 # Turn a 'yes' into a suitable default.
78976 if test x$enable_symvers = xyes ; then
78977 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78978 enable_symvers=no
78979 else
78980 if test $with_gnu_ld = yes ; then
78981 case ${target_os} in
78982 hpux*)
78983 enable_symvers=no ;;
78985 enable_symvers=gnu ;;
78986 esac
78987 else
78988 case ${target_os} in
78989 darwin*)
78990 enable_symvers=darwin ;;
78991 # Sun symbol versioning exists since Solaris 2.5.
78992 solaris2.[5-9]* | solaris2.1[0-9]*)
78993 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78994 # version scripts, so disable symbol versioning if none can be
78995 # found.
78996 if test -z "$ac_cv_path_CXXFILT"; then
78997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78998 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79000 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79002 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79003 enable_symvers=no
79004 else
79005 enable_symvers=sun
79009 enable_symvers=no ;;
79010 esac
79015 # Check to see if 'darwin' or 'darwin-export' can win.
79016 if test x$enable_symvers = xdarwin-export ; then
79017 enable_symvers=darwin
79020 # Check if 'sun' was requested on non-Solaris 2 platforms.
79021 if test x$enable_symvers = xsun ; then
79022 case ${target_os} in
79023 solaris2*)
79024 # All fine.
79027 # Unlikely to work.
79028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79029 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79031 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79033 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79034 enable_symvers=no
79036 esac
79039 # Check to see if 'gnu' can win.
79040 if test $enable_symvers = gnu ||
79041 test $enable_symvers = gnu-versioned-namespace ||
79042 test $enable_symvers = sun; then
79043 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79045 $as_echo_n "checking for shared libgcc... " >&6; }
79046 ac_save_CFLAGS="$CFLAGS"
79047 CFLAGS=' -lgcc_s'
79048 if test x$gcc_no_link = xyes; then
79049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79052 /* end confdefs.h. */
79055 main ()
79057 return 0;
79059 return 0;
79061 _ACEOF
79062 if ac_fn_c_try_link "$LINENO"; then :
79063 glibcxx_shared_libgcc=yes
79064 else
79065 glibcxx_shared_libgcc=no
79067 rm -f core conftest.err conftest.$ac_objext \
79068 conftest$ac_exeext conftest.$ac_ext
79069 CFLAGS="$ac_save_CFLAGS"
79070 if test $glibcxx_shared_libgcc = no; then
79071 cat > conftest.c <<EOF
79072 int main (void) { return 0; }
79074 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79075 -shared -shared-libgcc -o conftest.so \
79076 conftest.c -v 2>&1 >/dev/null \
79077 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79078 rm -f conftest.c conftest.so
79079 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79080 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79081 if test x$gcc_no_link = xyes; then
79082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79085 /* end confdefs.h. */
79088 main ()
79090 return 0;
79092 return 0;
79094 _ACEOF
79095 if ac_fn_c_try_link "$LINENO"; then :
79096 glibcxx_shared_libgcc=yes
79098 rm -f core conftest.err conftest.$ac_objext \
79099 conftest$ac_exeext conftest.$ac_ext
79100 CFLAGS="$ac_save_CFLAGS"
79103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79104 $as_echo "$glibcxx_shared_libgcc" >&6; }
79106 # For GNU ld, we need at least this version. The format is described in
79107 # GLIBCXX_CHECK_LINKER_FEATURES above.
79108 glibcxx_min_gnu_ld_version=21400
79110 # If no shared libgcc, can't win.
79111 if test $glibcxx_shared_libgcc != yes; then
79112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79113 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79115 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79117 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79118 enable_symvers=no
79119 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79120 : All interesting versions of Sun ld support sun style symbol versioning.
79121 elif test $with_gnu_ld != yes ; then
79122 # just fail for now
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79124 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79126 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79128 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79129 enable_symvers=no
79130 elif test $glibcxx_ld_is_gold = yes ; then
79131 : All versions of gold support symbol versioning.
79132 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79133 # The right tools, the right setup, but too old. Fallbacks?
79134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79135 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79137 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79139 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79141 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79143 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79144 enable_symvers=no
79148 # For libtool versioning info, format is CURRENT:REVISION:AGE
79149 libtool_VERSION=6:26:0
79151 # Everything parsed; figure out what files and settings to use.
79152 case $enable_symvers in
79154 SYMVER_FILE=config/abi/pre/none.ver
79156 gnu)
79157 SYMVER_FILE=config/abi/pre/gnu.ver
79159 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79162 gnu-versioned-namespace)
79163 libtool_VERSION=8:0:0
79164 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79166 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79169 darwin)
79170 SYMVER_FILE=config/abi/pre/gnu.ver
79172 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79175 sun)
79176 SYMVER_FILE=config/abi/pre/gnu.ver
79178 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79181 esac
79183 if test x$enable_symvers != xno ; then
79185 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79190 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79191 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79192 $as_echo_n "(cached) " >&6
79193 else
79195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79196 /* end confdefs.h. */
79197 void foo (void); __asm (".symver foo, bar@SYMVER");
79199 main ()
79203 return 0;
79205 _ACEOF
79206 if ac_fn_c_try_compile "$LINENO"; then :
79207 glibcxx_cv_have_as_symver_directive=yes
79208 else
79209 glibcxx_cv_have_as_symver_directive=no
79211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79214 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79215 if test $glibcxx_cv_have_as_symver_directive = yes; then
79217 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79228 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79229 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79231 if test $enable_symvers != no ; then
79232 case ${target_os} in
79233 # The Solaris 2 runtime linker doesn't support the GNU extension of
79234 # binding the same symbol to different versions
79235 solaris2*)
79237 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79240 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79243 esac
79246 # Now, set up compatibility support, if any.
79247 # In addition, need this to deal with std::size_t mangling in
79248 # src/compatibility.cc. In a perfect world, could use
79249 # typeid(std::size_t).name()[0] to do direct substitution.
79250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79251 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79252 ac_save_CFLAGS="$CFLAGS"
79253 CFLAGS="-Werror"
79254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79255 /* end confdefs.h. */
79258 main ()
79260 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79262 return 0;
79264 _ACEOF
79265 if ac_fn_c_try_compile "$LINENO"; then :
79266 glibcxx_size_t_is_i=yes
79267 else
79268 glibcxx_size_t_is_i=no
79270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79271 CFLAGS=$ac_save_CFLAGS
79272 if test "$glibcxx_size_t_is_i" = yes; then
79274 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79278 $as_echo "$glibcxx_size_t_is_i" >&6; }
79280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79281 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79282 ac_save_CFLAGS="$CFLAGS"
79283 CFLAGS="-Werror"
79284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79285 /* end confdefs.h. */
79288 main ()
79290 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79292 return 0;
79294 _ACEOF
79295 if ac_fn_c_try_compile "$LINENO"; then :
79296 glibcxx_ptrdiff_t_is_i=yes
79297 else
79298 glibcxx_ptrdiff_t_is_i=no
79300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79301 CFLAGS=$ac_save_CFLAGS
79302 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79304 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79308 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79313 # Check whether --enable-libstdcxx-visibility was given.
79314 if test "${enable_libstdcxx_visibility+set}" = set; then :
79315 enableval=$enable_libstdcxx_visibility;
79316 case "$enableval" in
79317 yes|no) ;;
79318 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79319 esac
79321 else
79322 enable_libstdcxx_visibility=yes
79327 if test x$enable_libstdcxx_visibility = xyes ; then
79328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79329 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79330 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79331 $as_echo_n "(cached) " >&6
79332 else
79334 save_CFLAGS="$CFLAGS"
79335 CFLAGS="$CFLAGS -Werror"
79336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79337 /* end confdefs.h. */
79338 void __attribute__((visibility("hidden"))) foo(void) { }
79340 main ()
79344 return 0;
79346 _ACEOF
79347 if ac_fn_c_try_compile "$LINENO"; then :
79348 glibcxx_cv_have_attribute_visibility=yes
79349 else
79350 glibcxx_cv_have_attribute_visibility=no
79352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79353 CFLAGS="$save_CFLAGS"
79355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79356 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79357 if test $glibcxx_cv_have_attribute_visibility = no; then
79358 enable_libstdcxx_visibility=no
79363 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79364 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79368 # Check whether --enable-libstdcxx-dual-abi was given.
79369 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79370 enableval=$enable_libstdcxx_dual_abi;
79371 case "$enableval" in
79372 yes|no) ;;
79373 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79374 esac
79376 else
79377 enable_libstdcxx_dual_abi=yes
79381 if test x$enable_symvers = xgnu-versioned-namespace; then
79382 # gnu-versioned-namespace is incompatible with the dual ABI.
79383 enable_libstdcxx_dual_abi="no"
79385 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79386 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79387 $as_echo "$as_me: dual ABI is disabled" >&6;}
79388 default_libstdcxx_abi="gcc4-compatible"
79393 if test x$enable_libstdcxx_dual_abi = xyes; then
79394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79395 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79397 # Check whether --with-default-libstdcxx-abi was given.
79398 if test "${with_default_libstdcxx_abi+set}" = set; then :
79399 withval=$with_default_libstdcxx_abi; case "$withval" in
79400 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79401 new|cxx11) default_libstdcxx_abi="new" ;;
79402 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79403 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79404 esac
79406 else
79407 default_libstdcxx_abi="new"
79410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79411 $as_echo "${default_libstdcxx_abi}" >&6; }
79413 if test $default_libstdcxx_abi = "new"; then
79414 glibcxx_cxx11_abi=1
79415 glibcxx_cxx98_abi=0
79416 else
79417 glibcxx_cxx11_abi=0
79418 glibcxx_cxx98_abi=1
79424 ac_ldbl_compat=no
79425 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79426 case "$target" in
79427 powerpc*-*-linux* | \
79428 sparc*-*-linux* | \
79429 s390*-*-linux* | \
79430 alpha*-*-linux*)
79431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79432 /* end confdefs.h. */
79435 main ()
79438 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79439 #error no need for long double compatibility
79440 #endif
79443 return 0;
79445 _ACEOF
79446 if ac_fn_c_try_compile "$LINENO"; then :
79447 ac_ldbl_compat=yes
79448 else
79449 ac_ldbl_compat=no
79451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79452 if test "$ac_ldbl_compat" = yes; then
79454 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79456 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79457 case "$target" in
79458 powerpc*-*-linux*)
79459 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79460 esac
79462 esac
79466 # Check if assembler supports disabling hardware capability support.
79468 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79470 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79471 # with a different meaning.
79472 case ${target_os} in
79473 solaris2*)
79474 ac_save_CFLAGS="$CFLAGS"
79475 CFLAGS="$CFLAGS -Wa,-nH"
79477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79478 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79480 /* end confdefs.h. */
79483 main ()
79485 return 0;
79487 return 0;
79489 _ACEOF
79490 if ac_fn_c_try_compile "$LINENO"; then :
79491 ac_hwcap_flags=yes
79492 else
79493 ac_hwcap_flags=no
79495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79496 if test "$ac_hwcap_flags" = "yes"; then
79497 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79500 $as_echo "$ac_hwcap_flags" >&6; }
79502 CFLAGS="$ac_save_CFLAGS"
79504 esac
79509 # Check if assembler supports rdrand opcode.
79511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79512 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79513 if test "${ac_cv_x86_rdrand+set}" = set; then :
79514 $as_echo_n "(cached) " >&6
79515 else
79517 ac_cv_x86_rdrand=no
79518 case "$target" in
79519 i?86-*-* | \
79520 x86_64-*-*)
79521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79522 /* end confdefs.h. */
79525 main ()
79527 asm("rdrand %eax");
79529 return 0;
79531 _ACEOF
79532 if ac_fn_c_try_compile "$LINENO"; then :
79533 ac_cv_x86_rdrand=yes
79534 else
79535 ac_cv_x86_rdrand=no
79537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79538 esac
79542 if test $ac_cv_x86_rdrand = yes; then
79544 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79548 $as_echo "$ac_cv_x86_rdrand" >&6; }
79551 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79553 # Do checks for resource limit functions.
79555 setrlimit_have_headers=yes
79556 for ac_header in unistd.h sys/time.h sys/resource.h
79557 do :
79558 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79559 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79560 eval as_val=\$$as_ac_Header
79561 if test "x$as_val" = x""yes; then :
79562 cat >>confdefs.h <<_ACEOF
79563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79564 _ACEOF
79566 else
79567 setrlimit_have_headers=no
79570 done
79572 # If don't have the headers, then we can't run the tests now, and we
79573 # won't be seeing any of these during testsuite compilation.
79574 if test $setrlimit_have_headers = yes; then
79575 # Can't do these in a loop, else the resulting syntax is wrong.
79577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79578 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79580 /* end confdefs.h. */
79581 #include <unistd.h>
79582 #include <sys/time.h>
79583 #include <sys/resource.h>
79586 main ()
79588 int f = RLIMIT_DATA ;
79590 return 0;
79592 _ACEOF
79593 if ac_fn_c_try_compile "$LINENO"; then :
79594 glibcxx_mresult=1
79595 else
79596 glibcxx_mresult=0
79598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79600 cat >>confdefs.h <<_ACEOF
79601 #define HAVE_LIMIT_DATA $glibcxx_mresult
79602 _ACEOF
79604 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79606 $as_echo "$res" >&6; }
79609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79610 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79612 /* end confdefs.h. */
79613 #include <unistd.h>
79614 #include <sys/time.h>
79615 #include <sys/resource.h>
79618 main ()
79620 int f = RLIMIT_RSS ;
79622 return 0;
79624 _ACEOF
79625 if ac_fn_c_try_compile "$LINENO"; then :
79626 glibcxx_mresult=1
79627 else
79628 glibcxx_mresult=0
79630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79632 cat >>confdefs.h <<_ACEOF
79633 #define HAVE_LIMIT_RSS $glibcxx_mresult
79634 _ACEOF
79636 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79638 $as_echo "$res" >&6; }
79641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79642 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79644 /* end confdefs.h. */
79645 #include <unistd.h>
79646 #include <sys/time.h>
79647 #include <sys/resource.h>
79650 main ()
79652 int f = RLIMIT_VMEM ;
79654 return 0;
79656 _ACEOF
79657 if ac_fn_c_try_compile "$LINENO"; then :
79658 glibcxx_mresult=1
79659 else
79660 glibcxx_mresult=0
79662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79664 cat >>confdefs.h <<_ACEOF
79665 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79666 _ACEOF
79668 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79670 $as_echo "$res" >&6; }
79673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79674 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79676 /* end confdefs.h. */
79677 #include <unistd.h>
79678 #include <sys/time.h>
79679 #include <sys/resource.h>
79682 main ()
79684 int f = RLIMIT_AS ;
79686 return 0;
79688 _ACEOF
79689 if ac_fn_c_try_compile "$LINENO"; then :
79690 glibcxx_mresult=1
79691 else
79692 glibcxx_mresult=0
79694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79696 cat >>confdefs.h <<_ACEOF
79697 #define HAVE_LIMIT_AS $glibcxx_mresult
79698 _ACEOF
79700 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79702 $as_echo "$res" >&6; }
79705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79706 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79708 /* end confdefs.h. */
79709 #include <unistd.h>
79710 #include <sys/time.h>
79711 #include <sys/resource.h>
79714 main ()
79716 int f = RLIMIT_FSIZE ;
79718 return 0;
79720 _ACEOF
79721 if ac_fn_c_try_compile "$LINENO"; then :
79722 glibcxx_mresult=1
79723 else
79724 glibcxx_mresult=0
79726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79728 cat >>confdefs.h <<_ACEOF
79729 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79730 _ACEOF
79732 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79734 $as_echo "$res" >&6; }
79737 # Check for rlimit, setrlimit.
79738 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79739 $as_echo_n "(cached) " >&6
79740 else
79742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79743 /* end confdefs.h. */
79744 #include <unistd.h>
79745 #include <sys/time.h>
79746 #include <sys/resource.h>
79749 main ()
79751 struct rlimit r;
79752 setrlimit(0, &r);
79754 return 0;
79756 _ACEOF
79757 if ac_fn_c_try_compile "$LINENO"; then :
79758 glibcxx_cv_setrlimit=yes
79759 else
79760 glibcxx_cv_setrlimit=no
79762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79769 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79770 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79771 ac_res_limits=yes
79773 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79775 else
79776 ac_res_limits=no
79778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79779 $as_echo "$ac_res_limits" >&6; }
79782 if $GLIBCXX_IS_NATIVE ; then
79783 # Look for setenv, so that extended locale tests can be performed.
79785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79786 $as_echo_n "checking for setenv declaration... " >&6; }
79787 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79788 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79789 $as_echo_n "(cached) " >&6
79790 else
79793 ac_ext=cpp
79794 ac_cpp='$CXXCPP $CPPFLAGS'
79795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79800 /* end confdefs.h. */
79801 #include <stdlib.h>
79803 main ()
79805 setenv(0, 0, 0);
79807 return 0;
79809 _ACEOF
79810 if ac_fn_cxx_try_compile "$LINENO"; then :
79811 glibcxx_cv_func_setenv_use=yes
79812 else
79813 glibcxx_cv_func_setenv_use=no
79815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79816 ac_ext=c
79817 ac_cpp='$CPP $CPPFLAGS'
79818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79827 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79828 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79829 for ac_func in setenv
79830 do :
79831 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79832 if test "x$ac_cv_func_setenv" = x""yes; then :
79833 cat >>confdefs.h <<_ACEOF
79834 #define HAVE_SETENV 1
79835 _ACEOF
79838 done
79844 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79845 test $enable_symvers != no; then
79846 case "$host" in
79847 *-*-cygwin*)
79848 enable_abi_check=no ;;
79850 enable_abi_check=yes ;;
79851 esac
79852 else
79853 # Only build this as native, since automake does not understand
79854 # CXX_FOR_BUILD.
79855 enable_abi_check=no
79858 # Export file names for ABI checking.
79859 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79861 baseline_subdir_switch="$abi_baseline_subdir_switch"
79865 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79867 # Check whether --enable-libstdcxx-threads was given.
79868 if test "${enable_libstdcxx_threads+set}" = set; then :
79869 enableval=$enable_libstdcxx_threads;
79870 case "$enableval" in
79871 yes|no) ;;
79872 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79873 esac
79875 else
79876 enable_libstdcxx_threads=auto
79881 if test x$enable_libstdcxx_threads = xauto ||
79882 test x$enable_libstdcxx_threads = xyes; then
79885 ac_ext=cpp
79886 ac_cpp='$CXXCPP $CPPFLAGS'
79887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79892 ac_save_CXXFLAGS="$CXXFLAGS"
79893 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79894 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79896 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79897 case $target_thread_file in
79898 posix)
79899 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79900 esac
79902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79903 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79906 /* end confdefs.h. */
79907 #include <unistd.h>
79909 main ()
79912 // In case of POSIX threads check _POSIX_TIMEOUTS.
79913 #if (defined(_PTHREADS) \
79914 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79915 #error
79916 #endif
79919 return 0;
79921 _ACEOF
79922 if ac_fn_cxx_try_compile "$LINENO"; then :
79923 ac_gthread_use_mutex_timedlock=1
79924 else
79925 ac_gthread_use_mutex_timedlock=0
79927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79930 cat >>confdefs.h <<_ACEOF
79931 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79932 _ACEOF
79935 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79936 else res_mutex_timedlock=no ; fi
79937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79938 $as_echo "$res_mutex_timedlock" >&6; }
79940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79941 $as_echo_n "checking for gthreads library... " >&6; }
79943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79944 /* end confdefs.h. */
79945 #include "gthr.h"
79947 main ()
79950 #ifndef __GTHREADS_CXX0X
79951 #error
79952 #endif
79955 return 0;
79957 _ACEOF
79958 if ac_fn_cxx_try_compile "$LINENO"; then :
79959 ac_has_gthreads=yes
79960 else
79961 ac_has_gthreads=no
79963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79964 else
79965 ac_has_gthreads=no
79968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79969 $as_echo "$ac_has_gthreads" >&6; }
79971 if test x"$ac_has_gthreads" = x"yes"; then
79973 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79976 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79977 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79979 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79981 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79987 CXXFLAGS="$ac_save_CXXFLAGS"
79988 ac_ext=c
79989 ac_cpp='$CPP $CPPFLAGS'
79990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79996 # For Filesystem TS.
79997 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79998 do :
79999 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80000 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80001 eval as_val=\$$as_ac_Header
80002 if test "x$as_val" = x""yes; then :
80003 cat >>confdefs.h <<_ACEOF
80004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80005 _ACEOF
80009 done
80012 # Check whether --enable-libstdcxx-filesystem-ts was given.
80013 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80014 enableval=$enable_libstdcxx_filesystem_ts;
80015 case "$enableval" in
80016 yes|no|auto) ;;
80017 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80018 esac
80020 else
80021 enable_libstdcxx_filesystem_ts=auto
80026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80027 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80028 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80029 enable_libstdcxx_filesystem_ts=no
80031 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80032 case "${target_os}" in
80033 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80034 enable_libstdcxx_filesystem_ts=yes
80036 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80037 enable_libstdcxx_filesystem_ts=yes
80039 rtems*)
80040 enable_libstdcxx_filesystem_ts=yes
80042 solaris*)
80043 enable_libstdcxx_filesystem_ts=yes
80046 enable_libstdcxx_filesystem_ts=no
80048 esac
80050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80051 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80054 if test $enable_libstdcxx_filesystem_ts = yes; then
80056 ac_ext=cpp
80057 ac_cpp='$CXXCPP $CPPFLAGS'
80058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80062 ac_save_CXXFLAGS="$CXXFLAGS"
80063 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80065 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80066 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80067 $as_echo_n "(cached) " >&6
80068 else
80069 if test x$gcc_no_link = xyes; then
80070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80071 /* end confdefs.h. */
80072 #include <dirent.h>
80074 main ()
80077 struct dirent d;
80078 if (sizeof d.d_type) return 0;
80081 return 0;
80083 _ACEOF
80084 if ac_fn_cxx_try_compile "$LINENO"; then :
80085 glibcxx_cv_dirent_d_type=yes
80086 else
80087 glibcxx_cv_dirent_d_type=no
80089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80090 else
80091 if test x$gcc_no_link = xyes; then
80092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80095 /* end confdefs.h. */
80096 #include <dirent.h>
80098 main ()
80101 struct dirent d;
80102 if (sizeof d.d_type) return 0;
80105 return 0;
80107 _ACEOF
80108 if ac_fn_cxx_try_link "$LINENO"; then :
80109 glibcxx_cv_dirent_d_type=yes
80110 else
80111 glibcxx_cv_dirent_d_type=no
80113 rm -f core conftest.err conftest.$ac_objext \
80114 conftest$ac_exeext conftest.$ac_ext
80119 if test $glibcxx_cv_dirent_d_type = yes; then
80121 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80125 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80127 $as_echo_n "checking for realpath... " >&6; }
80128 if test "${glibcxx_cv_realpath+set}" = set; then :
80129 $as_echo_n "(cached) " >&6
80130 else
80131 if test x$gcc_no_link = xyes; then
80132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80133 /* end confdefs.h. */
80135 #include <limits.h>
80136 #include <stdlib.h>
80137 #include <unistd.h>
80140 main ()
80143 #if _XOPEN_VERSION < 500
80144 #error
80145 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80146 char *tmp = realpath((const char*)NULL, (char*)NULL);
80147 #else
80148 #error
80149 #endif
80152 return 0;
80154 _ACEOF
80155 if ac_fn_cxx_try_compile "$LINENO"; then :
80156 glibcxx_cv_realpath=yes
80157 else
80158 glibcxx_cv_realpath=no
80160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80161 else
80162 if test x$gcc_no_link = xyes; then
80163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80166 /* end confdefs.h. */
80168 #include <limits.h>
80169 #include <stdlib.h>
80170 #include <unistd.h>
80173 main ()
80176 #if _XOPEN_VERSION < 500
80177 #error
80178 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80179 char *tmp = realpath((const char*)NULL, (char*)NULL);
80180 #else
80181 #error
80182 #endif
80185 return 0;
80187 _ACEOF
80188 if ac_fn_cxx_try_link "$LINENO"; then :
80189 glibcxx_cv_realpath=yes
80190 else
80191 glibcxx_cv_realpath=no
80193 rm -f core conftest.err conftest.$ac_objext \
80194 conftest$ac_exeext conftest.$ac_ext
80199 if test $glibcxx_cv_realpath = yes; then
80201 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80205 $as_echo "$glibcxx_cv_realpath" >&6; }
80206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80207 $as_echo_n "checking for utimensat... " >&6; }
80208 if test "${glibcxx_cv_utimensat+set}" = set; then :
80209 $as_echo_n "(cached) " >&6
80210 else
80211 if test x$gcc_no_link = xyes; then
80212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80213 /* end confdefs.h. */
80215 #include <fcntl.h>
80216 #include <sys/stat.h>
80219 main ()
80222 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80223 int i = utimensat(AT_FDCWD, "path", ts, 0);
80226 return 0;
80228 _ACEOF
80229 if ac_fn_cxx_try_compile "$LINENO"; then :
80230 glibcxx_cv_utimensat=yes
80231 else
80232 glibcxx_cv_utimensat=no
80234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80235 else
80236 if test x$gcc_no_link = xyes; then
80237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80240 /* end confdefs.h. */
80242 #include <fcntl.h>
80243 #include <sys/stat.h>
80246 main ()
80249 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80250 int i = utimensat(AT_FDCWD, "path", ts, 0);
80253 return 0;
80255 _ACEOF
80256 if ac_fn_cxx_try_link "$LINENO"; then :
80257 glibcxx_cv_utimensat=yes
80258 else
80259 glibcxx_cv_utimensat=no
80261 rm -f core conftest.err conftest.$ac_objext \
80262 conftest$ac_exeext conftest.$ac_ext
80267 if test $glibcxx_cv_utimensat = yes; then
80269 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80273 $as_echo "$glibcxx_cv_utimensat" >&6; }
80274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80275 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80276 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80277 $as_echo_n "(cached) " >&6
80278 else
80279 if test x$gcc_no_link = xyes; then
80280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80281 /* end confdefs.h. */
80282 #include <sys/stat.h>
80284 main ()
80287 struct stat st;
80288 return st.st_mtim.tv_nsec;
80291 return 0;
80293 _ACEOF
80294 if ac_fn_cxx_try_compile "$LINENO"; then :
80295 glibcxx_cv_st_mtim=yes
80296 else
80297 glibcxx_cv_st_mtim=no
80299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80300 else
80301 if test x$gcc_no_link = xyes; then
80302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80305 /* end confdefs.h. */
80306 #include <sys/stat.h>
80308 main ()
80311 struct stat st;
80312 return st.st_mtim.tv_nsec;
80315 return 0;
80317 _ACEOF
80318 if ac_fn_cxx_try_link "$LINENO"; then :
80319 glibcxx_cv_st_mtim=yes
80320 else
80321 glibcxx_cv_st_mtim=no
80323 rm -f core conftest.err conftest.$ac_objext \
80324 conftest$ac_exeext conftest.$ac_ext
80329 if test $glibcxx_cv_st_mtim = yes; then
80331 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80335 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80337 $as_echo_n "checking for fchmod... " >&6; }
80338 if test "${glibcxx_cv_fchmod+set}" = set; then :
80339 $as_echo_n "(cached) " >&6
80340 else
80341 if test x$gcc_no_link = xyes; then
80342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80343 /* end confdefs.h. */
80344 #include <sys/stat.h>
80346 main ()
80348 fchmod(1, S_IWUSR);
80350 return 0;
80352 _ACEOF
80353 if ac_fn_cxx_try_compile "$LINENO"; then :
80354 glibcxx_cv_fchmod=yes
80355 else
80356 glibcxx_cv_fchmod=no
80358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80359 else
80360 if test x$gcc_no_link = xyes; then
80361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80364 /* end confdefs.h. */
80365 #include <sys/stat.h>
80367 main ()
80369 fchmod(1, S_IWUSR);
80371 return 0;
80373 _ACEOF
80374 if ac_fn_cxx_try_link "$LINENO"; then :
80375 glibcxx_cv_fchmod=yes
80376 else
80377 glibcxx_cv_fchmod=no
80379 rm -f core conftest.err conftest.$ac_objext \
80380 conftest$ac_exeext conftest.$ac_ext
80385 if test $glibcxx_cv_fchmod = yes; then
80387 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80391 $as_echo "$glibcxx_cv_fchmod" >&6; }
80392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80393 $as_echo_n "checking for fchmodat... " >&6; }
80394 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80395 $as_echo_n "(cached) " >&6
80396 else
80397 if test x$gcc_no_link = xyes; then
80398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80399 /* end confdefs.h. */
80401 #include <fcntl.h>
80402 #include <sys/stat.h>
80405 main ()
80407 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80409 return 0;
80411 _ACEOF
80412 if ac_fn_cxx_try_compile "$LINENO"; then :
80413 glibcxx_cv_fchmodat=yes
80414 else
80415 glibcxx_cv_fchmodat=no
80417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80418 else
80419 if test x$gcc_no_link = xyes; then
80420 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80423 /* end confdefs.h. */
80425 #include <fcntl.h>
80426 #include <sys/stat.h>
80429 main ()
80431 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80433 return 0;
80435 _ACEOF
80436 if ac_fn_cxx_try_link "$LINENO"; then :
80437 glibcxx_cv_fchmodat=yes
80438 else
80439 glibcxx_cv_fchmodat=no
80441 rm -f core conftest.err conftest.$ac_objext \
80442 conftest$ac_exeext conftest.$ac_ext
80447 if test $glibcxx_cv_fchmodat = yes; then
80449 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80453 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80455 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80456 if test "${glibcxx_cv_sendfile+set}" = set; then :
80457 $as_echo_n "(cached) " >&6
80458 else
80459 case "${target_os}" in
80460 gnu* | linux* | solaris*)
80461 if test x$gcc_no_link = xyes; then
80462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80463 /* end confdefs.h. */
80464 #include <sys/sendfile.h>
80466 main ()
80468 sendfile(1, 2, (off_t*)0, sizeof 1);
80470 return 0;
80472 _ACEOF
80473 if ac_fn_cxx_try_compile "$LINENO"; then :
80474 glibcxx_cv_sendfile=yes
80475 else
80476 glibcxx_cv_sendfile=no
80478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80479 else
80480 if test x$gcc_no_link = xyes; then
80481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80484 /* end confdefs.h. */
80485 #include <sys/sendfile.h>
80487 main ()
80489 sendfile(1, 2, (off_t*)0, sizeof 1);
80491 return 0;
80493 _ACEOF
80494 if ac_fn_cxx_try_link "$LINENO"; then :
80495 glibcxx_cv_sendfile=yes
80496 else
80497 glibcxx_cv_sendfile=no
80499 rm -f core conftest.err conftest.$ac_objext \
80500 conftest$ac_exeext conftest.$ac_ext
80504 glibcxx_cv_sendfile=no
80506 esac
80510 if test $glibcxx_cv_sendfile = yes; then
80512 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80516 $as_echo "$glibcxx_cv_sendfile" >&6; }
80517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
80518 $as_echo_n "checking for link... " >&6; }
80519 if test "${glibcxx_cv_link+set}" = set; then :
80520 $as_echo_n "(cached) " >&6
80521 else
80522 if test x$gcc_no_link = xyes; then
80523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80524 /* end confdefs.h. */
80525 #include <unistd.h>
80527 main ()
80529 link("", "");
80531 return 0;
80533 _ACEOF
80534 if ac_fn_cxx_try_compile "$LINENO"; then :
80535 glibcxx_cv_link=yes
80536 else
80537 glibcxx_cv_link=no
80539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80540 else
80541 if test x$gcc_no_link = xyes; then
80542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80545 /* end confdefs.h. */
80546 #include <unistd.h>
80548 main ()
80550 link("", "");
80552 return 0;
80554 _ACEOF
80555 if ac_fn_cxx_try_link "$LINENO"; then :
80556 glibcxx_cv_link=yes
80557 else
80558 glibcxx_cv_link=no
80560 rm -f core conftest.err conftest.$ac_objext \
80561 conftest$ac_exeext conftest.$ac_ext
80566 if test $glibcxx_cv_link = yes; then
80568 $as_echo "#define HAVE_LINK 1" >>confdefs.h
80571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
80572 $as_echo "$glibcxx_cv_link" >&6; }
80573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
80574 $as_echo_n "checking for readlink... " >&6; }
80575 if test "${glibcxx_cv_readlink+set}" = set; then :
80576 $as_echo_n "(cached) " >&6
80577 else
80578 if test x$gcc_no_link = xyes; then
80579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80580 /* end confdefs.h. */
80581 #include <unistd.h>
80583 main ()
80585 char buf[32]; readlink("", buf, sizeof(buf));
80587 return 0;
80589 _ACEOF
80590 if ac_fn_cxx_try_compile "$LINENO"; then :
80591 glibcxx_cv_readlink=yes
80592 else
80593 glibcxx_cv_readlink=no
80595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80596 else
80597 if test x$gcc_no_link = xyes; then
80598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80601 /* end confdefs.h. */
80602 #include <unistd.h>
80604 main ()
80606 char buf[32]; readlink("", buf, sizeof(buf));
80608 return 0;
80610 _ACEOF
80611 if ac_fn_cxx_try_link "$LINENO"; then :
80612 glibcxx_cv_readlink=yes
80613 else
80614 glibcxx_cv_readlink=no
80616 rm -f core conftest.err conftest.$ac_objext \
80617 conftest$ac_exeext conftest.$ac_ext
80622 if test $glibcxx_cv_readlink = yes; then
80624 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
80627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
80628 $as_echo "$glibcxx_cv_readlink" >&6; }
80629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
80630 $as_echo_n "checking for symlink... " >&6; }
80631 if test "${glibcxx_cv_symlink+set}" = set; then :
80632 $as_echo_n "(cached) " >&6
80633 else
80634 if test x$gcc_no_link = xyes; then
80635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80636 /* end confdefs.h. */
80637 #include <unistd.h>
80639 main ()
80641 symlink("", "");
80643 return 0;
80645 _ACEOF
80646 if ac_fn_cxx_try_compile "$LINENO"; then :
80647 glibcxx_cv_symlink=yes
80648 else
80649 glibcxx_cv_symlink=no
80651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80652 else
80653 if test x$gcc_no_link = xyes; then
80654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80657 /* end confdefs.h. */
80658 #include <unistd.h>
80660 main ()
80662 symlink("", "");
80664 return 0;
80666 _ACEOF
80667 if ac_fn_cxx_try_link "$LINENO"; then :
80668 glibcxx_cv_symlink=yes
80669 else
80670 glibcxx_cv_symlink=no
80672 rm -f core conftest.err conftest.$ac_objext \
80673 conftest$ac_exeext conftest.$ac_ext
80678 if test $glibcxx_cv_symlink = yes; then
80680 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
80683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
80684 $as_echo "$glibcxx_cv_symlink" >&6; }
80685 CXXFLAGS="$ac_save_CXXFLAGS"
80686 ac_ext=c
80687 ac_cpp='$CPP $CPPFLAGS'
80688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80695 # For Transactional Memory TS
80697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80698 $as_echo_n "checking how size_t is mangled... " >&6; }
80699 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80700 $as_echo_n "(cached) " >&6
80701 else
80703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80704 /* end confdefs.h. */
80707 main ()
80709 extern __SIZE_TYPE__ x; extern unsigned long x;
80711 return 0;
80713 _ACEOF
80714 if ac_fn_c_try_compile "$LINENO"; then :
80715 glibcxx_cv_size_t_mangling=m
80716 else
80718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80719 /* end confdefs.h. */
80722 main ()
80724 extern __SIZE_TYPE__ x; extern unsigned int x;
80726 return 0;
80728 _ACEOF
80729 if ac_fn_c_try_compile "$LINENO"; then :
80730 glibcxx_cv_size_t_mangling=j
80731 else
80733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80734 /* end confdefs.h. */
80737 main ()
80739 extern __SIZE_TYPE__ x; extern unsigned long long x;
80741 return 0;
80743 _ACEOF
80744 if ac_fn_c_try_compile "$LINENO"; then :
80745 glibcxx_cv_size_t_mangling=y
80746 else
80748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80749 /* end confdefs.h. */
80752 main ()
80754 extern __SIZE_TYPE__ x; extern unsigned short x;
80756 return 0;
80758 _ACEOF
80759 if ac_fn_c_try_compile "$LINENO"; then :
80760 glibcxx_cv_size_t_mangling=t
80761 else
80763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80764 /* end confdefs.h. */
80767 main ()
80769 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80771 return 0;
80773 _ACEOF
80774 if ac_fn_c_try_compile "$LINENO"; then :
80775 glibcxx_cv_size_t_mangling=u6uint20
80776 else
80777 glibcxx_cv_size_t_mangling=x
80779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80795 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80796 if test $glibcxx_cv_size_t_mangling = x; then
80797 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80800 cat >>confdefs.h <<_ACEOF
80801 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80802 _ACEOF
80806 # Check which release added std::exception_ptr for the target
80808 if test $enable_symvers != no; then
80809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80810 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80811 case ${target} in
80812 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80813 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80814 ac_exception_ptr_since_gcc46=yes
80817 # If the value of this macro changes then we will need to hardcode
80818 # yes/no here for additional targets based on the original value.
80819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80820 /* end confdefs.h. */
80823 main ()
80826 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80827 # error atomic int not always lock free
80828 #endif
80831 return 0;
80833 _ACEOF
80834 if ac_fn_c_try_compile "$LINENO"; then :
80835 ac_exception_ptr_since_gcc46=yes
80836 else
80837 ac_exception_ptr_since_gcc46=no
80839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80841 esac
80842 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80844 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80847 $as_echo "4.6.0" >&6; }
80848 else
80849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80850 $as_echo "7.1.0" >&6; }
80855 # Define documentation rules conditionally.
80857 # See if makeinfo has been installed and is modern enough
80858 # that we can use it.
80860 # Extract the first word of "makeinfo", so it can be a program name with args.
80861 set dummy makeinfo; 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_MAKEINFO+set}" = set; then :
80865 $as_echo_n "(cached) " >&6
80866 else
80867 if test -n "$MAKEINFO"; then
80868 ac_cv_prog_MAKEINFO="$MAKEINFO" # 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_MAKEINFO="makeinfo"
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
80887 MAKEINFO=$ac_cv_prog_MAKEINFO
80888 if test -n "$MAKEINFO"; then
80889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80890 $as_echo "$MAKEINFO" >&6; }
80891 else
80892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80893 $as_echo "no" >&6; }
80897 if test -n "$MAKEINFO"; then
80898 # Found it, now check the version.
80899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80900 $as_echo_n "checking for modern makeinfo... " >&6; }
80901 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80902 $as_echo_n "(cached) " >&6
80903 else
80904 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80905 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80907 case $ac_prog_version in
80908 '') gcc_cv_prog_makeinfo_modern=no;;
80909 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80910 *) gcc_cv_prog_makeinfo_modern=no;;
80911 esac
80914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80915 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80916 else
80917 gcc_cv_prog_makeinfo_modern=no
80919 if test $gcc_cv_prog_makeinfo_modern = no; then
80920 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80923 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80924 BUILD_INFO_TRUE=
80925 BUILD_INFO_FALSE='#'
80926 else
80927 BUILD_INFO_TRUE='#'
80928 BUILD_INFO_FALSE=
80932 # Check for doxygen
80933 # Extract the first word of "doxygen", so it can be a program name with args.
80934 set dummy doxygen; ac_word=$2
80935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80936 $as_echo_n "checking for $ac_word... " >&6; }
80937 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80938 $as_echo_n "(cached) " >&6
80939 else
80940 if test -n "$DOXYGEN"; then
80941 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80942 else
80943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80944 for as_dir in $PATH
80946 IFS=$as_save_IFS
80947 test -z "$as_dir" && as_dir=.
80948 for ac_exec_ext in '' $ac_executable_extensions; do
80949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80950 ac_cv_prog_DOXYGEN="yes"
80951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80952 break 2
80954 done
80955 done
80956 IFS=$as_save_IFS
80958 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80961 DOXYGEN=$ac_cv_prog_DOXYGEN
80962 if test -n "$DOXYGEN"; then
80963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80964 $as_echo "$DOXYGEN" >&6; }
80965 else
80966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80967 $as_echo "no" >&6; }
80971 # Extract the first word of "dot", so it can be a program name with args.
80972 set dummy dot; ac_word=$2
80973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80974 $as_echo_n "checking for $ac_word... " >&6; }
80975 if test "${ac_cv_prog_DOT+set}" = set; then :
80976 $as_echo_n "(cached) " >&6
80977 else
80978 if test -n "$DOT"; then
80979 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80980 else
80981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80982 for as_dir in $PATH
80984 IFS=$as_save_IFS
80985 test -z "$as_dir" && as_dir=.
80986 for ac_exec_ext in '' $ac_executable_extensions; do
80987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80988 ac_cv_prog_DOT="yes"
80989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80990 break 2
80992 done
80993 done
80994 IFS=$as_save_IFS
80996 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80999 DOT=$ac_cv_prog_DOT
81000 if test -n "$DOT"; then
81001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81002 $as_echo "$DOT" >&6; }
81003 else
81004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81005 $as_echo "no" >&6; }
81010 # Check for docbook
81011 # Extract the first word of "xsltproc", so it can be a program name with args.
81012 set dummy xsltproc; ac_word=$2
81013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81014 $as_echo_n "checking for $ac_word... " >&6; }
81015 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
81016 $as_echo_n "(cached) " >&6
81017 else
81018 if test -n "$XSLTPROC"; then
81019 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81020 else
81021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81022 for as_dir in $PATH
81024 IFS=$as_save_IFS
81025 test -z "$as_dir" && as_dir=.
81026 for ac_exec_ext in '' $ac_executable_extensions; do
81027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81028 ac_cv_prog_XSLTPROC="yes"
81029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81030 break 2
81032 done
81033 done
81034 IFS=$as_save_IFS
81036 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81039 XSLTPROC=$ac_cv_prog_XSLTPROC
81040 if test -n "$XSLTPROC"; then
81041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81042 $as_echo "$XSLTPROC" >&6; }
81043 else
81044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81045 $as_echo "no" >&6; }
81049 # Extract the first word of "xmllint", so it can be a program name with args.
81050 set dummy xmllint; ac_word=$2
81051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81052 $as_echo_n "checking for $ac_word... " >&6; }
81053 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
81054 $as_echo_n "(cached) " >&6
81055 else
81056 if test -n "$XMLLINT"; then
81057 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81058 else
81059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81060 for as_dir in $PATH
81062 IFS=$as_save_IFS
81063 test -z "$as_dir" && as_dir=.
81064 for ac_exec_ext in '' $ac_executable_extensions; do
81065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81066 ac_cv_prog_XMLLINT="yes"
81067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81068 break 2
81070 done
81071 done
81072 IFS=$as_save_IFS
81074 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81077 XMLLINT=$ac_cv_prog_XMLLINT
81078 if test -n "$XMLLINT"; then
81079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81080 $as_echo "$XMLLINT" >&6; }
81081 else
81082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81083 $as_echo "no" >&6; }
81089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81090 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81091 glibcxx_stylesheets=no
81092 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
81093 glibcxx_stylesheets=yes
81095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81096 $as_echo "$glibcxx_stylesheets" >&6; }
81098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81099 $as_echo_n "checking for local stylesheet directory... " >&6; }
81100 glibcxx_local_stylesheets=no
81101 if test x"$glibcxx_stylesheets" = x"yes"; then
81102 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81103 glibcxx_local_stylesheets=yes
81104 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81106 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81107 glibcxx_local_stylesheets=yes
81108 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81110 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81111 glibcxx_local_stylesheets=yes
81112 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81116 $as_echo "$glibcxx_local_stylesheets" >&6; }
81118 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81120 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81121 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81122 else
81123 glibcxx_stylesheets=no
81126 # Check for epub3 dependencies.
81127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81128 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81129 glibcxx_epub_stylesheets=no
81130 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81131 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81132 glibcxx_epub_stylesheets=yes
81135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81136 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81137 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81138 BUILD_EPUB_TRUE=
81139 BUILD_EPUB_FALSE='#'
81140 else
81141 BUILD_EPUB_TRUE='#'
81142 BUILD_EPUB_FALSE=
81148 # Check for xml/html dependencies.
81149 if test $ac_cv_prog_DOXYGEN = "yes" &&
81150 test $ac_cv_prog_DOT = "yes" &&
81151 test $ac_cv_prog_XSLTPROC = "yes" &&
81152 test $ac_cv_prog_XMLLINT = "yes" &&
81153 test $glibcxx_stylesheets = "yes"; then
81154 BUILD_XML_TRUE=
81155 BUILD_XML_FALSE='#'
81156 else
81157 BUILD_XML_TRUE='#'
81158 BUILD_XML_FALSE=
81162 if test $ac_cv_prog_DOXYGEN = "yes" &&
81163 test $ac_cv_prog_DOT = "yes" &&
81164 test $ac_cv_prog_XSLTPROC = "yes" &&
81165 test $ac_cv_prog_XMLLINT = "yes" &&
81166 test $glibcxx_stylesheets = "yes"; then
81167 BUILD_HTML_TRUE=
81168 BUILD_HTML_FALSE='#'
81169 else
81170 BUILD_HTML_TRUE='#'
81171 BUILD_HTML_FALSE=
81175 # Check for man dependencies.
81176 if test $ac_cv_prog_DOXYGEN = "yes" &&
81177 test $ac_cv_prog_DOT = "yes"; then
81178 BUILD_MAN_TRUE=
81179 BUILD_MAN_FALSE='#'
81180 else
81181 BUILD_MAN_TRUE='#'
81182 BUILD_MAN_FALSE=
81186 # Check for pdf dependencies.
81187 # Extract the first word of "dblatex", so it can be a program name with args.
81188 set dummy dblatex; ac_word=$2
81189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81190 $as_echo_n "checking for $ac_word... " >&6; }
81191 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81192 $as_echo_n "(cached) " >&6
81193 else
81194 if test -n "$DBLATEX"; then
81195 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81196 else
81197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81198 for as_dir in $PATH
81200 IFS=$as_save_IFS
81201 test -z "$as_dir" && as_dir=.
81202 for ac_exec_ext in '' $ac_executable_extensions; do
81203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81204 ac_cv_prog_DBLATEX="yes"
81205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81206 break 2
81208 done
81209 done
81210 IFS=$as_save_IFS
81212 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81215 DBLATEX=$ac_cv_prog_DBLATEX
81216 if test -n "$DBLATEX"; then
81217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81218 $as_echo "$DBLATEX" >&6; }
81219 else
81220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81221 $as_echo "no" >&6; }
81225 # Extract the first word of "pdflatex", so it can be a program name with args.
81226 set dummy pdflatex; ac_word=$2
81227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81228 $as_echo_n "checking for $ac_word... " >&6; }
81229 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81230 $as_echo_n "(cached) " >&6
81231 else
81232 if test -n "$PDFLATEX"; then
81233 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81234 else
81235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81236 for as_dir in $PATH
81238 IFS=$as_save_IFS
81239 test -z "$as_dir" && as_dir=.
81240 for ac_exec_ext in '' $ac_executable_extensions; do
81241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81242 ac_cv_prog_PDFLATEX="yes"
81243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81244 break 2
81246 done
81247 done
81248 IFS=$as_save_IFS
81250 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81253 PDFLATEX=$ac_cv_prog_PDFLATEX
81254 if test -n "$PDFLATEX"; then
81255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81256 $as_echo "$PDFLATEX" >&6; }
81257 else
81258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81259 $as_echo "no" >&6; }
81263 if test $ac_cv_prog_DBLATEX = "yes" &&
81264 test $ac_cv_prog_PDFLATEX = "yes"; then
81265 BUILD_PDF_TRUE=
81266 BUILD_PDF_FALSE='#'
81267 else
81268 BUILD_PDF_TRUE='#'
81269 BUILD_PDF_FALSE=
81273 case "$build" in
81274 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81275 * ) glibcxx_include_dir_notparallel=no ;;
81276 esac
81277 if test $glibcxx_include_dir_notparallel = "yes"; then
81278 INCLUDE_DIR_NOTPARALLEL_TRUE=
81279 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81280 else
81281 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81282 INCLUDE_DIR_NOTPARALLEL_FALSE=
81286 # Propagate the target-specific source directories through the build chain.
81287 ATOMICITY_SRCDIR=config/${atomicity_dir}
81288 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81289 ATOMIC_FLAGS=${atomic_flags}
81290 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81291 OS_INC_SRCDIR=config/${os_include_dir}
81292 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81293 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81294 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81295 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81307 # Add CET specific flags if Intel CET is enabled.
81308 # Check whether --enable-cet was given.
81309 if test "${enable_cet+set}" = set; then :
81310 enableval=$enable_cet;
81311 case "$enableval" in
81312 yes|no|auto) ;;
81313 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81314 esac
81316 else
81317 enable_cet=no
81321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81322 $as_echo_n "checking for CET support... " >&6; }
81324 case "$host" in
81325 i[34567]86-*-linux* | x86_64-*-linux*)
81326 case "$enable_cet" in
81327 auto)
81328 # Check if target supports multi-byte NOPs
81329 # and if assembler supports CET insn.
81330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81331 /* end confdefs.h. */
81334 main ()
81337 #if !defined(__SSE2__)
81338 #error target does not support multi-byte NOPs
81339 #else
81340 asm ("setssbsy");
81341 #endif
81344 return 0;
81346 _ACEOF
81347 if ac_fn_c_try_compile "$LINENO"; then :
81348 enable_cet=yes
81349 else
81350 enable_cet=no
81352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81354 yes)
81355 # Check if assembler supports CET.
81356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81357 /* end confdefs.h. */
81360 main ()
81362 asm ("setssbsy");
81364 return 0;
81366 _ACEOF
81367 if ac_fn_c_try_compile "$LINENO"; then :
81369 else
81370 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81374 esac
81377 enable_cet=no
81379 esac
81380 if test x$enable_cet = xyes; then
81381 CET_FLAGS="-fcf-protection -mshstk"
81382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81383 $as_echo "yes" >&6; }
81384 else
81385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81386 $as_echo "no" >&6; }
81389 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81390 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81394 # Determine cross-compile flags and AM_CONDITIONALs.
81395 #AC_SUBST(GLIBCXX_IS_NATIVE)
81396 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81397 if test $is_hosted = yes; then
81398 GLIBCXX_HOSTED_TRUE=
81399 GLIBCXX_HOSTED_FALSE='#'
81400 else
81401 GLIBCXX_HOSTED_TRUE='#'
81402 GLIBCXX_HOSTED_FALSE=
81406 if test $enable_libstdcxx_pch = yes; then
81407 GLIBCXX_BUILD_PCH_TRUE=
81408 GLIBCXX_BUILD_PCH_FALSE='#'
81409 else
81410 GLIBCXX_BUILD_PCH_TRUE='#'
81411 GLIBCXX_BUILD_PCH_FALSE=
81415 if test $enable_float128 = yes; then
81416 ENABLE_FLOAT128_TRUE=
81417 ENABLE_FLOAT128_FALSE='#'
81418 else
81419 ENABLE_FLOAT128_TRUE='#'
81420 ENABLE_FLOAT128_FALSE=
81424 if test $enable_libstdcxx_allocator_flag = new; then
81425 ENABLE_ALLOCATOR_NEW_TRUE=
81426 ENABLE_ALLOCATOR_NEW_FALSE='#'
81427 else
81428 ENABLE_ALLOCATOR_NEW_TRUE='#'
81429 ENABLE_ALLOCATOR_NEW_FALSE=
81433 if test $enable_cheaders = c; then
81434 GLIBCXX_C_HEADERS_C_TRUE=
81435 GLIBCXX_C_HEADERS_C_FALSE='#'
81436 else
81437 GLIBCXX_C_HEADERS_C_TRUE='#'
81438 GLIBCXX_C_HEADERS_C_FALSE=
81442 if test $enable_cheaders = c_std; then
81443 GLIBCXX_C_HEADERS_C_STD_TRUE=
81444 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81445 else
81446 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81447 GLIBCXX_C_HEADERS_C_STD_FALSE=
81451 if test $enable_cheaders = c_global; then
81452 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81453 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81454 else
81455 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81456 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81460 if test $c_compatibility = yes; then
81461 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81462 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81463 else
81464 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81465 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81469 if test $enable_libstdcxx_debug = yes; then
81470 GLIBCXX_BUILD_DEBUG_TRUE=
81471 GLIBCXX_BUILD_DEBUG_FALSE='#'
81472 else
81473 GLIBCXX_BUILD_DEBUG_TRUE='#'
81474 GLIBCXX_BUILD_DEBUG_FALSE=
81478 if test $enable_extern_template = yes; then
81479 ENABLE_EXTERN_TEMPLATE_TRUE=
81480 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81481 else
81482 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81483 ENABLE_EXTERN_TEMPLATE_FALSE=
81487 if test $python_mod_dir != no; then
81488 ENABLE_PYTHONDIR_TRUE=
81489 ENABLE_PYTHONDIR_FALSE='#'
81490 else
81491 ENABLE_PYTHONDIR_TRUE='#'
81492 ENABLE_PYTHONDIR_FALSE=
81496 if test $enable_werror = yes; then
81497 ENABLE_WERROR_TRUE=
81498 ENABLE_WERROR_FALSE='#'
81499 else
81500 ENABLE_WERROR_TRUE='#'
81501 ENABLE_WERROR_FALSE=
81505 if test $enable_vtable_verify = yes; then
81506 ENABLE_VTABLE_VERIFY_TRUE=
81507 ENABLE_VTABLE_VERIFY_FALSE='#'
81508 else
81509 ENABLE_VTABLE_VERIFY_TRUE='#'
81510 ENABLE_VTABLE_VERIFY_FALSE=
81514 if test $enable_symvers != no; then
81515 ENABLE_SYMVERS_TRUE=
81516 ENABLE_SYMVERS_FALSE='#'
81517 else
81518 ENABLE_SYMVERS_TRUE='#'
81519 ENABLE_SYMVERS_FALSE=
81523 if test $enable_symvers = gnu; then
81524 ENABLE_SYMVERS_GNU_TRUE=
81525 ENABLE_SYMVERS_GNU_FALSE='#'
81526 else
81527 ENABLE_SYMVERS_GNU_TRUE='#'
81528 ENABLE_SYMVERS_GNU_FALSE=
81532 if test $enable_symvers = gnu-versioned-namespace; then
81533 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81534 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81535 else
81536 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81537 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81541 if test $enable_symvers = darwin; then
81542 ENABLE_SYMVERS_DARWIN_TRUE=
81543 ENABLE_SYMVERS_DARWIN_FALSE='#'
81544 else
81545 ENABLE_SYMVERS_DARWIN_TRUE='#'
81546 ENABLE_SYMVERS_DARWIN_FALSE=
81550 if test $enable_symvers = sun; then
81551 ENABLE_SYMVERS_SUN_TRUE=
81552 ENABLE_SYMVERS_SUN_FALSE='#'
81553 else
81554 ENABLE_SYMVERS_SUN_TRUE='#'
81555 ENABLE_SYMVERS_SUN_FALSE=
81559 if test $enable_libstdcxx_visibility = yes; then
81560 ENABLE_VISIBILITY_TRUE=
81561 ENABLE_VISIBILITY_FALSE='#'
81562 else
81563 ENABLE_VISIBILITY_TRUE='#'
81564 ENABLE_VISIBILITY_FALSE=
81568 if test $enable_libstdcxx_dual_abi = yes; then
81569 ENABLE_DUAL_ABI_TRUE=
81570 ENABLE_DUAL_ABI_FALSE='#'
81571 else
81572 ENABLE_DUAL_ABI_TRUE='#'
81573 ENABLE_DUAL_ABI_FALSE=
81577 if test $glibcxx_cxx11_abi = 1; then
81578 ENABLE_CXX11_ABI_TRUE=
81579 ENABLE_CXX11_ABI_FALSE='#'
81580 else
81581 ENABLE_CXX11_ABI_TRUE='#'
81582 ENABLE_CXX11_ABI_FALSE=
81586 if test $ac_ldbl_compat = yes; then
81587 GLIBCXX_LDBL_COMPAT_TRUE=
81588 GLIBCXX_LDBL_COMPAT_FALSE='#'
81589 else
81590 GLIBCXX_LDBL_COMPAT_TRUE='#'
81591 GLIBCXX_LDBL_COMPAT_FALSE=
81595 if test $enable_libstdcxx_filesystem_ts = yes; then
81596 ENABLE_FILESYSTEM_TS_TRUE=
81597 ENABLE_FILESYSTEM_TS_FALSE='#'
81598 else
81599 ENABLE_FILESYSTEM_TS_TRUE='#'
81600 ENABLE_FILESYSTEM_TS_FALSE=
81606 cat >confcache <<\_ACEOF
81607 # This file is a shell script that caches the results of configure
81608 # tests run on this system so they can be shared between configure
81609 # scripts and configure runs, see configure's option --config-cache.
81610 # It is not useful on other systems. If it contains results you don't
81611 # want to keep, you may remove or edit it.
81613 # config.status only pays attention to the cache file if you give it
81614 # the --recheck option to rerun configure.
81616 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81617 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81618 # following values.
81620 _ACEOF
81622 # The following way of writing the cache mishandles newlines in values,
81623 # but we know of no workaround that is simple, portable, and efficient.
81624 # So, we kill variables containing newlines.
81625 # Ultrix sh set writes to stderr and can't be redirected directly,
81626 # and sets the high bit in the cache file unless we assign to the vars.
81628 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81629 eval ac_val=\$$ac_var
81630 case $ac_val in #(
81631 *${as_nl}*)
81632 case $ac_var in #(
81633 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81634 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81635 esac
81636 case $ac_var in #(
81637 _ | IFS | as_nl) ;; #(
81638 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81639 *) { eval $ac_var=; unset $ac_var;} ;;
81640 esac ;;
81641 esac
81642 done
81644 (set) 2>&1 |
81645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81646 *${as_nl}ac_space=\ *)
81647 # `set' does not quote correctly, so add quotes: double-quote
81648 # substitution turns \\\\ into \\, and sed turns \\ into \.
81649 sed -n \
81650 "s/'/'\\\\''/g;
81651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81652 ;; #(
81654 # `set' quotes correctly as required by POSIX, so do not add quotes.
81655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81657 esac |
81658 sort
81660 sed '
81661 /^ac_cv_env_/b end
81662 t clear
81663 :clear
81664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81665 t end
81666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81667 :end' >>confcache
81668 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81669 if test -w "$cache_file"; then
81670 test "x$cache_file" != "x/dev/null" &&
81671 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81672 $as_echo "$as_me: updating cache $cache_file" >&6;}
81673 cat confcache >$cache_file
81674 else
81675 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81676 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81679 rm -f confcache
81681 if test ${multilib} = yes; then
81682 multilib_arg="--enable-multilib"
81683 else
81684 multilib_arg=
81687 # Export all the install information.
81689 glibcxx_toolexecdir=no
81690 glibcxx_toolexeclibdir=no
81691 glibcxx_prefixdir=$prefix
81693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81694 $as_echo_n "checking for gxx-include-dir... " >&6; }
81696 # Check whether --with-gxx-include-dir was given.
81697 if test "${with_gxx_include_dir+set}" = set; then :
81698 withval=$with_gxx_include_dir; case "$withval" in
81699 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81700 no) gxx_include_dir=no ;;
81701 *) gxx_include_dir=$withval ;;
81702 esac
81703 else
81704 gxx_include_dir=no
81707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81708 $as_echo "$gxx_include_dir" >&6; }
81710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81711 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81712 # Check whether --enable-version-specific-runtime-libs was given.
81713 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81714 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81715 yes) version_specific_libs=yes ;;
81716 no) version_specific_libs=no ;;
81717 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81718 esac
81719 else
81720 version_specific_libs=no
81723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81724 $as_echo "$version_specific_libs" >&6; }
81726 # Default case for install directory for include files.
81727 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81728 gxx_include_dir='include/c++/${gcc_version}'
81729 if test -n "$with_cross_host" &&
81730 test x"$with_cross_host" != x"no"; then
81731 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81732 else
81733 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81737 # Version-specific runtime libs processing.
81738 if test $version_specific_libs = yes; then
81739 # Need the gcc compiler version to know where to install libraries
81740 # and header files if --enable-version-specific-runtime-libs option
81741 # is selected. FIXME: these variables are misnamed, there are
81742 # no executables installed in _toolexecdir or _toolexeclibdir.
81743 if test x"$gxx_include_dir" = x"no"; then
81744 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81746 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81747 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81750 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81751 # Install a library built with a cross compiler in tooldir, not libdir.
81752 if test x"$glibcxx_toolexecdir" = x"no"; then
81753 if test -n "$with_cross_host" &&
81754 test x"$with_cross_host" != x"no"; then
81755 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81756 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81757 else
81758 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81759 glibcxx_toolexeclibdir='${libdir}'
81761 multi_os_directory=`$CXX -print-multi-os-directory`
81762 case $multi_os_directory in
81763 .) ;; # Avoid trailing /.
81764 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81765 esac
81768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81769 $as_echo_n "checking for install location... " >&6; }
81770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81771 $as_echo "$gxx_include_dir" >&6; }
81779 # Export all the include and flag information to Makefiles.
81781 # Used for every C++ compile we perform.
81782 GLIBCXX_INCLUDES="\
81783 -I$glibcxx_builddir/include/$host_alias \
81784 -I$glibcxx_builddir/include \
81785 -I$glibcxx_srcdir/libsupc++"
81787 # For Canadian crosses, pick this up too.
81788 if test $CANADIAN = yes; then
81789 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81792 # Stuff in the actual top level. Currently only used by libsupc++ to
81793 # get unwind* headers from the libgcc dir.
81794 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81795 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81797 # Now, export this to all the little Makefiles....
81802 # Optimization flags that are probably a good idea for thrill-seekers. Just
81803 # uncomment the lines below and make, everything else is ready to go...
81804 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81805 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81808 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
81812 # Determine what GCC version number to use in filesystem paths.
81814 get_gcc_base_ver="cat"
81816 # Check whether --with-gcc-major-version-only was given.
81817 if test "${with_gcc_major_version_only+set}" = set; then :
81818 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81819 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
81827 ac_config_files="$ac_config_files Makefile"
81829 ac_config_files="$ac_config_files scripts/testsuite_flags"
81831 ac_config_files="$ac_config_files scripts/extract_symvers"
81833 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81836 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81837 # that multilib installs will end up installed in the correct place.
81838 # The testsuite needs it for multilib-aware ABI baseline files.
81839 # To work around this not being passed down from config-ml.in ->
81840 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81841 # append it here. Only modify Makefiles that have just been created.
81843 # Also, get rid of this simulated-VPATH thing that automake does.
81844 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81847 ac_config_commands="$ac_config_commands generate-headers"
81850 cat >confcache <<\_ACEOF
81851 # This file is a shell script that caches the results of configure
81852 # tests run on this system so they can be shared between configure
81853 # scripts and configure runs, see configure's option --config-cache.
81854 # It is not useful on other systems. If it contains results you don't
81855 # want to keep, you may remove or edit it.
81857 # config.status only pays attention to the cache file if you give it
81858 # the --recheck option to rerun configure.
81860 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81861 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81862 # following values.
81864 _ACEOF
81866 # The following way of writing the cache mishandles newlines in values,
81867 # but we know of no workaround that is simple, portable, and efficient.
81868 # So, we kill variables containing newlines.
81869 # Ultrix sh set writes to stderr and can't be redirected directly,
81870 # and sets the high bit in the cache file unless we assign to the vars.
81872 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81873 eval ac_val=\$$ac_var
81874 case $ac_val in #(
81875 *${as_nl}*)
81876 case $ac_var in #(
81877 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81878 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81879 esac
81880 case $ac_var in #(
81881 _ | IFS | as_nl) ;; #(
81882 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81883 *) { eval $ac_var=; unset $ac_var;} ;;
81884 esac ;;
81885 esac
81886 done
81888 (set) 2>&1 |
81889 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81890 *${as_nl}ac_space=\ *)
81891 # `set' does not quote correctly, so add quotes: double-quote
81892 # substitution turns \\\\ into \\, and sed turns \\ into \.
81893 sed -n \
81894 "s/'/'\\\\''/g;
81895 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81896 ;; #(
81898 # `set' quotes correctly as required by POSIX, so do not add quotes.
81899 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81901 esac |
81902 sort
81904 sed '
81905 /^ac_cv_env_/b end
81906 t clear
81907 :clear
81908 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81909 t end
81910 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81911 :end' >>confcache
81912 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81913 if test -w "$cache_file"; then
81914 test "x$cache_file" != "x/dev/null" &&
81915 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81916 $as_echo "$as_me: updating cache $cache_file" >&6;}
81917 cat confcache >$cache_file
81918 else
81919 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81920 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81923 rm -f confcache
81925 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81926 # Let make expand exec_prefix.
81927 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81929 DEFS=-DHAVE_CONFIG_H
81931 ac_libobjs=
81932 ac_ltlibobjs=
81933 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81934 # 1. Remove the extension, and $U if already installed.
81935 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81936 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81937 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81938 # will be set to the directory where LIBOBJS objects are built.
81939 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81940 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81941 done
81942 LIBOBJS=$ac_libobjs
81944 LTLIBOBJS=$ac_ltlibobjs
81947 if test -n "$EXEEXT"; then
81948 am__EXEEXT_TRUE=
81949 am__EXEEXT_FALSE='#'
81950 else
81951 am__EXEEXT_TRUE='#'
81952 am__EXEEXT_FALSE=
81955 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81956 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81959 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81960 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81963 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81964 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81967 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
81968 as_fn_error "conditional \"ENABLE_FLOAT128\" was never defined.
81969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81971 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81972 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81975 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81976 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81979 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81980 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81983 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81984 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81987 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81988 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81991 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81992 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81995 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81996 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81999 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82000 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
82001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82003 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82004 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
82005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82007 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82008 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
82009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82011 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82012 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82015 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82016 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
82017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82019 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82020 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82023 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82024 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82027 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82028 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82031 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82032 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82035 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82036 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
82037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82039 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82040 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
82041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82043 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82044 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
82045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82047 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82048 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82051 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82052 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82055 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82056 as_fn_error "conditional \"BUILD_INFO\" was never defined.
82057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82059 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82060 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
82061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82063 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82064 as_fn_error "conditional \"BUILD_XML\" was never defined.
82065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82067 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82068 as_fn_error "conditional \"BUILD_HTML\" was never defined.
82069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82071 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82072 as_fn_error "conditional \"BUILD_MAN\" was never defined.
82073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82075 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82076 as_fn_error "conditional \"BUILD_PDF\" was never defined.
82077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82079 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82080 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82084 : ${CONFIG_STATUS=./config.status}
82085 ac_write_fail=0
82086 ac_clean_files_save=$ac_clean_files
82087 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82088 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82089 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82090 as_write_fail=0
82091 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82092 #! $SHELL
82093 # Generated by $as_me.
82094 # Run this file to recreate the current configuration.
82095 # Compiler output produced by configure, useful for debugging
82096 # configure, is in config.log if it exists.
82098 debug=false
82099 ac_cs_recheck=false
82100 ac_cs_silent=false
82102 SHELL=\${CONFIG_SHELL-$SHELL}
82103 export SHELL
82104 _ASEOF
82105 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82106 ## -------------------- ##
82107 ## M4sh Initialization. ##
82108 ## -------------------- ##
82110 # Be more Bourne compatible
82111 DUALCASE=1; export DUALCASE # for MKS sh
82112 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82113 emulate sh
82114 NULLCMD=:
82115 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82116 # is contrary to our usage. Disable this feature.
82117 alias -g '${1+"$@"}'='"$@"'
82118 setopt NO_GLOB_SUBST
82119 else
82120 case `(set -o) 2>/dev/null` in #(
82121 *posix*) :
82122 set -o posix ;; #(
82123 *) :
82125 esac
82129 as_nl='
82131 export as_nl
82132 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82133 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82134 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82135 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82136 # Prefer a ksh shell builtin over an external printf program on Solaris,
82137 # but without wasting forks for bash or zsh.
82138 if test -z "$BASH_VERSION$ZSH_VERSION" \
82139 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82140 as_echo='print -r --'
82141 as_echo_n='print -rn --'
82142 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82143 as_echo='printf %s\n'
82144 as_echo_n='printf %s'
82145 else
82146 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82147 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82148 as_echo_n='/usr/ucb/echo -n'
82149 else
82150 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82151 as_echo_n_body='eval
82152 arg=$1;
82153 case $arg in #(
82154 *"$as_nl"*)
82155 expr "X$arg" : "X\\(.*\\)$as_nl";
82156 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82157 esac;
82158 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82160 export as_echo_n_body
82161 as_echo_n='sh -c $as_echo_n_body as_echo'
82163 export as_echo_body
82164 as_echo='sh -c $as_echo_body as_echo'
82167 # The user is always right.
82168 if test "${PATH_SEPARATOR+set}" != set; then
82169 PATH_SEPARATOR=:
82170 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82171 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82172 PATH_SEPARATOR=';'
82177 # IFS
82178 # We need space, tab and new line, in precisely that order. Quoting is
82179 # there to prevent editors from complaining about space-tab.
82180 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82181 # splitting by setting IFS to empty value.)
82182 IFS=" "" $as_nl"
82184 # Find who we are. Look in the path if we contain no directory separator.
82185 case $0 in #((
82186 *[\\/]* ) as_myself=$0 ;;
82187 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82188 for as_dir in $PATH
82190 IFS=$as_save_IFS
82191 test -z "$as_dir" && as_dir=.
82192 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82193 done
82194 IFS=$as_save_IFS
82197 esac
82198 # We did not find ourselves, most probably we were run as `sh COMMAND'
82199 # in which case we are not to be found in the path.
82200 if test "x$as_myself" = x; then
82201 as_myself=$0
82203 if test ! -f "$as_myself"; then
82204 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82205 exit 1
82208 # Unset variables that we do not need and which cause bugs (e.g. in
82209 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82210 # suppresses any "Segmentation fault" message there. '((' could
82211 # trigger a bug in pdksh 5.2.14.
82212 for as_var in BASH_ENV ENV MAIL MAILPATH
82213 do eval test x\${$as_var+set} = xset \
82214 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82215 done
82216 PS1='$ '
82217 PS2='> '
82218 PS4='+ '
82220 # NLS nuisances.
82221 LC_ALL=C
82222 export LC_ALL
82223 LANGUAGE=C
82224 export LANGUAGE
82226 # CDPATH.
82227 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82230 # as_fn_error ERROR [LINENO LOG_FD]
82231 # ---------------------------------
82232 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82233 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82234 # script with status $?, using 1 if that was 0.
82235 as_fn_error ()
82237 as_status=$?; test $as_status -eq 0 && as_status=1
82238 if test "$3"; then
82239 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82240 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82242 $as_echo "$as_me: error: $1" >&2
82243 as_fn_exit $as_status
82244 } # as_fn_error
82247 # as_fn_set_status STATUS
82248 # -----------------------
82249 # Set $? to STATUS, without forking.
82250 as_fn_set_status ()
82252 return $1
82253 } # as_fn_set_status
82255 # as_fn_exit STATUS
82256 # -----------------
82257 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82258 as_fn_exit ()
82260 set +e
82261 as_fn_set_status $1
82262 exit $1
82263 } # as_fn_exit
82265 # as_fn_unset VAR
82266 # ---------------
82267 # Portably unset VAR.
82268 as_fn_unset ()
82270 { eval $1=; unset $1;}
82272 as_unset=as_fn_unset
82273 # as_fn_append VAR VALUE
82274 # ----------------------
82275 # Append the text in VALUE to the end of the definition contained in VAR. Take
82276 # advantage of any shell optimizations that allow amortized linear growth over
82277 # repeated appends, instead of the typical quadratic growth present in naive
82278 # implementations.
82279 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82280 eval 'as_fn_append ()
82282 eval $1+=\$2
82284 else
82285 as_fn_append ()
82287 eval $1=\$$1\$2
82289 fi # as_fn_append
82291 # as_fn_arith ARG...
82292 # ------------------
82293 # Perform arithmetic evaluation on the ARGs, and store the result in the
82294 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82295 # must be portable across $(()) and expr.
82296 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82297 eval 'as_fn_arith ()
82299 as_val=$(( $* ))
82301 else
82302 as_fn_arith ()
82304 as_val=`expr "$@" || test $? -eq 1`
82306 fi # as_fn_arith
82309 if expr a : '\(a\)' >/dev/null 2>&1 &&
82310 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82311 as_expr=expr
82312 else
82313 as_expr=false
82316 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82317 as_basename=basename
82318 else
82319 as_basename=false
82322 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82323 as_dirname=dirname
82324 else
82325 as_dirname=false
82328 as_me=`$as_basename -- "$0" ||
82329 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82330 X"$0" : 'X\(//\)$' \| \
82331 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82332 $as_echo X/"$0" |
82333 sed '/^.*\/\([^/][^/]*\)\/*$/{
82334 s//\1/
82337 /^X\/\(\/\/\)$/{
82338 s//\1/
82341 /^X\/\(\/\).*/{
82342 s//\1/
82345 s/.*/./; q'`
82347 # Avoid depending upon Character Ranges.
82348 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82349 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82350 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82351 as_cr_digits='0123456789'
82352 as_cr_alnum=$as_cr_Letters$as_cr_digits
82354 ECHO_C= ECHO_N= ECHO_T=
82355 case `echo -n x` in #(((((
82356 -n*)
82357 case `echo 'xy\c'` in
82358 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82359 xy) ECHO_C='\c';;
82360 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82361 ECHO_T=' ';;
82362 esac;;
82364 ECHO_N='-n';;
82365 esac
82367 rm -f conf$$ conf$$.exe conf$$.file
82368 if test -d conf$$.dir; then
82369 rm -f conf$$.dir/conf$$.file
82370 else
82371 rm -f conf$$.dir
82372 mkdir conf$$.dir 2>/dev/null
82374 if (echo >conf$$.file) 2>/dev/null; then
82375 if ln -s conf$$.file conf$$ 2>/dev/null; then
82376 as_ln_s='ln -s'
82377 # ... but there are two gotchas:
82378 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82379 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82380 # In both cases, we have to default to `cp -p'.
82381 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82382 as_ln_s='cp -p'
82383 elif ln conf$$.file conf$$ 2>/dev/null; then
82384 as_ln_s=ln
82385 else
82386 as_ln_s='cp -p'
82388 else
82389 as_ln_s='cp -p'
82391 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82392 rmdir conf$$.dir 2>/dev/null
82395 # as_fn_mkdir_p
82396 # -------------
82397 # Create "$as_dir" as a directory, including parents if necessary.
82398 as_fn_mkdir_p ()
82401 case $as_dir in #(
82402 -*) as_dir=./$as_dir;;
82403 esac
82404 test -d "$as_dir" || eval $as_mkdir_p || {
82405 as_dirs=
82406 while :; do
82407 case $as_dir in #(
82408 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82409 *) as_qdir=$as_dir;;
82410 esac
82411 as_dirs="'$as_qdir' $as_dirs"
82412 as_dir=`$as_dirname -- "$as_dir" ||
82413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82414 X"$as_dir" : 'X\(//\)[^/]' \| \
82415 X"$as_dir" : 'X\(//\)$' \| \
82416 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82417 $as_echo X"$as_dir" |
82418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82419 s//\1/
82422 /^X\(\/\/\)[^/].*/{
82423 s//\1/
82426 /^X\(\/\/\)$/{
82427 s//\1/
82430 /^X\(\/\).*/{
82431 s//\1/
82434 s/.*/./; q'`
82435 test -d "$as_dir" && break
82436 done
82437 test -z "$as_dirs" || eval "mkdir $as_dirs"
82438 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82441 } # as_fn_mkdir_p
82442 if mkdir -p . 2>/dev/null; then
82443 as_mkdir_p='mkdir -p "$as_dir"'
82444 else
82445 test -d ./-p && rmdir ./-p
82446 as_mkdir_p=false
82449 if test -x / >/dev/null 2>&1; then
82450 as_test_x='test -x'
82451 else
82452 if ls -dL / >/dev/null 2>&1; then
82453 as_ls_L_option=L
82454 else
82455 as_ls_L_option=
82457 as_test_x='
82458 eval sh -c '\''
82459 if test -d "$1"; then
82460 test -d "$1/.";
82461 else
82462 case $1 in #(
82463 -*)set "./$1";;
82464 esac;
82465 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82466 ???[sx]*):;;*)false;;esac;fi
82467 '\'' sh
82470 as_executable_p=$as_test_x
82472 # Sed expression to map a string onto a valid CPP name.
82473 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82475 # Sed expression to map a string onto a valid variable name.
82476 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82479 exec 6>&1
82480 ## ----------------------------------- ##
82481 ## Main body of $CONFIG_STATUS script. ##
82482 ## ----------------------------------- ##
82483 _ASEOF
82484 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82487 # Save the log message, to keep $0 and so on meaningful, and to
82488 # report actual input values of CONFIG_FILES etc. instead of their
82489 # values after options handling.
82490 ac_log="
82491 This file was extended by package-unused $as_me version-unused, which was
82492 generated by GNU Autoconf 2.64. Invocation command line was
82494 CONFIG_FILES = $CONFIG_FILES
82495 CONFIG_HEADERS = $CONFIG_HEADERS
82496 CONFIG_LINKS = $CONFIG_LINKS
82497 CONFIG_COMMANDS = $CONFIG_COMMANDS
82498 $ $0 $@
82500 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82503 _ACEOF
82505 case $ac_config_files in *"
82506 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82507 esac
82509 case $ac_config_headers in *"
82510 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82511 esac
82514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82515 # Files that config.status was made for.
82516 config_files="$ac_config_files"
82517 config_headers="$ac_config_headers"
82518 config_commands="$ac_config_commands"
82520 _ACEOF
82522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82523 ac_cs_usage="\
82524 \`$as_me' instantiates files and other configuration actions
82525 from templates according to the current configuration. Unless the files
82526 and actions are specified as TAGs, all are instantiated by default.
82528 Usage: $0 [OPTION]... [TAG]...
82530 -h, --help print this help, then exit
82531 -V, --version print version number and configuration settings, then exit
82532 -q, --quiet, --silent
82533 do not print progress messages
82534 -d, --debug don't remove temporary files
82535 --recheck update $as_me by reconfiguring in the same conditions
82536 --file=FILE[:TEMPLATE]
82537 instantiate the configuration file FILE
82538 --header=FILE[:TEMPLATE]
82539 instantiate the configuration header FILE
82541 Configuration files:
82542 $config_files
82544 Configuration headers:
82545 $config_headers
82547 Configuration commands:
82548 $config_commands
82550 Report bugs to the package provider."
82552 _ACEOF
82553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82554 ac_cs_version="\\
82555 package-unused config.status version-unused
82556 configured by $0, generated by GNU Autoconf 2.64,
82557 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82559 Copyright (C) 2009 Free Software Foundation, Inc.
82560 This config.status script is free software; the Free Software Foundation
82561 gives unlimited permission to copy, distribute and modify it."
82563 ac_pwd='$ac_pwd'
82564 srcdir='$srcdir'
82565 INSTALL='$INSTALL'
82566 MKDIR_P='$MKDIR_P'
82567 AWK='$AWK'
82568 test -n "\$AWK" || AWK=awk
82569 _ACEOF
82571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82572 # The default lists apply if the user does not specify any file.
82573 ac_need_defaults=:
82574 while test $# != 0
82576 case $1 in
82577 --*=*)
82578 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82579 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82580 ac_shift=:
82583 ac_option=$1
82584 ac_optarg=$2
82585 ac_shift=shift
82587 esac
82589 case $ac_option in
82590 # Handling of the options.
82591 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82592 ac_cs_recheck=: ;;
82593 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82594 $as_echo "$ac_cs_version"; exit ;;
82595 --debug | --debu | --deb | --de | --d | -d )
82596 debug=: ;;
82597 --file | --fil | --fi | --f )
82598 $ac_shift
82599 case $ac_optarg in
82600 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82601 esac
82602 as_fn_append CONFIG_FILES " '$ac_optarg'"
82603 ac_need_defaults=false;;
82604 --header | --heade | --head | --hea )
82605 $ac_shift
82606 case $ac_optarg in
82607 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82608 esac
82609 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82610 ac_need_defaults=false;;
82611 --he | --h)
82612 # Conflict between --help and --header
82613 as_fn_error "ambiguous option: \`$1'
82614 Try \`$0 --help' for more information.";;
82615 --help | --hel | -h )
82616 $as_echo "$ac_cs_usage"; exit ;;
82617 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82618 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82619 ac_cs_silent=: ;;
82621 # This is an error.
82622 -*) as_fn_error "unrecognized option: \`$1'
82623 Try \`$0 --help' for more information." ;;
82625 *) as_fn_append ac_config_targets " $1"
82626 ac_need_defaults=false ;;
82628 esac
82629 shift
82630 done
82632 ac_configure_extra_args=
82634 if $ac_cs_silent; then
82635 exec 6>/dev/null
82636 ac_configure_extra_args="$ac_configure_extra_args --silent"
82639 _ACEOF
82640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82641 if \$ac_cs_recheck; then
82642 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82643 shift
82644 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82645 CONFIG_SHELL='$SHELL'
82646 export CONFIG_SHELL
82647 exec "\$@"
82650 _ACEOF
82651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82652 exec 5>>config.log
82654 echo
82655 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82656 ## Running $as_me. ##
82657 _ASBOX
82658 $as_echo "$ac_log"
82659 } >&5
82661 _ACEOF
82662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82664 # INIT-COMMANDS
82667 srcdir="$srcdir"
82668 host="$host"
82669 target="$target"
82670 with_multisubdir="$with_multisubdir"
82671 with_multisrctop="$with_multisrctop"
82672 with_target_subdir="$with_target_subdir"
82673 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82674 multi_basedir="$multi_basedir"
82675 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82676 CC="$CC"
82677 CXX="$CXX"
82678 GFORTRAN="$GFORTRAN"
82681 # The HP-UX ksh and POSIX shell print the target directory to stdout
82682 # if CDPATH is set.
82683 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82685 sed_quote_subst='$sed_quote_subst'
82686 double_quote_subst='$double_quote_subst'
82687 delay_variable_subst='$delay_variable_subst'
82688 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82689 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82690 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82691 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82692 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82693 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82694 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82695 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82696 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82697 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82698 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82699 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82700 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82701 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82702 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82703 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82704 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82705 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82706 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82707 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82708 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82709 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82710 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82711 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82712 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82713 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82714 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82715 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82716 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82717 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82718 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82719 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82720 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82721 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82722 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82723 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82724 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82725 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82726 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82727 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82728 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82729 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82730 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82731 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82732 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82733 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82734 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82735 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82736 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"`'
82737 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82738 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82739 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82740 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82741 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82742 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82743 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82744 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82745 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82746 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82747 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82748 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82749 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82750 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82751 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82752 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82753 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82754 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82755 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82756 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82757 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82758 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82759 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82760 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82761 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82762 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82763 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82764 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82765 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82766 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82767 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82768 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82769 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82770 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82771 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82772 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82773 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82774 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82775 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82776 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82777 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82778 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82779 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82780 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82781 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82782 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82783 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82784 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82785 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82786 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82787 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82788 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82789 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82790 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82791 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82792 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82793 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82794 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82795 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82796 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82797 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82798 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82799 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82800 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82801 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82802 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82803 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82804 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82805 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82806 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82807 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82808 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82809 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82810 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82811 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82812 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82813 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82814 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82815 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82816 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82817 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82818 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82819 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82820 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82821 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82822 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82823 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82824 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82825 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82826 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82827 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82828 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82829 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82830 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82831 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82832 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82833 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82834 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82835 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82836 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82837 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82838 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82839 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82840 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82841 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82842 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82843 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82844 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82845 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82846 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82847 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82848 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82849 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82850 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82851 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82852 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82853 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82854 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82855 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82856 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82857 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82858 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82859 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82860 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82861 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82862 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82864 LTCC='$LTCC'
82865 LTCFLAGS='$LTCFLAGS'
82866 compiler='$compiler_DEFAULT'
82868 # A function that is used when there is no print builtin or printf.
82869 func_fallback_echo ()
82871 eval 'cat <<_LTECHO_EOF
82873 _LTECHO_EOF'
82876 # Quote evaled strings.
82877 for var in SHELL \
82878 ECHO \
82879 SED \
82880 GREP \
82881 EGREP \
82882 FGREP \
82883 LD \
82884 NM \
82885 LN_S \
82886 lt_SP2NL \
82887 lt_NL2SP \
82888 reload_flag \
82889 OBJDUMP \
82890 deplibs_check_method \
82891 file_magic_cmd \
82892 AR \
82893 AR_FLAGS \
82894 STRIP \
82895 RANLIB \
82896 CC \
82897 CFLAGS \
82898 compiler \
82899 lt_cv_sys_global_symbol_pipe \
82900 lt_cv_sys_global_symbol_to_cdecl \
82901 lt_cv_sys_global_symbol_to_c_name_address \
82902 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82903 lt_prog_compiler_no_builtin_flag \
82904 lt_prog_compiler_wl \
82905 lt_prog_compiler_pic \
82906 lt_prog_compiler_static \
82907 lt_cv_prog_compiler_c_o \
82908 need_locks \
82909 DSYMUTIL \
82910 NMEDIT \
82911 LIPO \
82912 OTOOL \
82913 OTOOL64 \
82914 shrext_cmds \
82915 export_dynamic_flag_spec \
82916 whole_archive_flag_spec \
82917 compiler_needs_object \
82918 with_gnu_ld \
82919 allow_undefined_flag \
82920 no_undefined_flag \
82921 hardcode_libdir_flag_spec \
82922 hardcode_libdir_flag_spec_ld \
82923 hardcode_libdir_separator \
82924 fix_srcfile_path \
82925 exclude_expsyms \
82926 include_expsyms \
82927 file_list_spec \
82928 variables_saved_for_relink \
82929 libname_spec \
82930 library_names_spec \
82931 soname_spec \
82932 install_override_mode \
82933 finish_eval \
82934 old_striplib \
82935 striplib \
82936 compiler_lib_search_dirs \
82937 predep_objects \
82938 postdep_objects \
82939 predeps \
82940 postdeps \
82941 compiler_lib_search_path \
82942 LD_CXX \
82943 reload_flag_CXX \
82944 compiler_CXX \
82945 lt_prog_compiler_no_builtin_flag_CXX \
82946 lt_prog_compiler_wl_CXX \
82947 lt_prog_compiler_pic_CXX \
82948 lt_prog_compiler_static_CXX \
82949 lt_cv_prog_compiler_c_o_CXX \
82950 export_dynamic_flag_spec_CXX \
82951 whole_archive_flag_spec_CXX \
82952 compiler_needs_object_CXX \
82953 with_gnu_ld_CXX \
82954 allow_undefined_flag_CXX \
82955 no_undefined_flag_CXX \
82956 hardcode_libdir_flag_spec_CXX \
82957 hardcode_libdir_flag_spec_ld_CXX \
82958 hardcode_libdir_separator_CXX \
82959 fix_srcfile_path_CXX \
82960 exclude_expsyms_CXX \
82961 include_expsyms_CXX \
82962 file_list_spec_CXX \
82963 compiler_lib_search_dirs_CXX \
82964 predep_objects_CXX \
82965 postdep_objects_CXX \
82966 predeps_CXX \
82967 postdeps_CXX \
82968 compiler_lib_search_path_CXX; do
82969 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82970 *[\\\\\\\`\\"\\\$]*)
82971 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82974 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82976 esac
82977 done
82979 # Double-quote double-evaled strings.
82980 for var in reload_cmds \
82981 old_postinstall_cmds \
82982 old_postuninstall_cmds \
82983 old_archive_cmds \
82984 extract_expsyms_cmds \
82985 old_archive_from_new_cmds \
82986 old_archive_from_expsyms_cmds \
82987 archive_cmds \
82988 archive_expsym_cmds \
82989 module_cmds \
82990 module_expsym_cmds \
82991 export_symbols_cmds \
82992 prelink_cmds \
82993 postinstall_cmds \
82994 postuninstall_cmds \
82995 finish_cmds \
82996 sys_lib_search_path_spec \
82997 sys_lib_dlsearch_path_spec \
82998 reload_cmds_CXX \
82999 old_archive_cmds_CXX \
83000 old_archive_from_new_cmds_CXX \
83001 old_archive_from_expsyms_cmds_CXX \
83002 archive_cmds_CXX \
83003 archive_expsym_cmds_CXX \
83004 module_cmds_CXX \
83005 module_expsym_cmds_CXX \
83006 export_symbols_cmds_CXX \
83007 prelink_cmds_CXX; do
83008 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83009 *[\\\\\\\`\\"\\\$]*)
83010 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83013 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83015 esac
83016 done
83018 ac_aux_dir='$ac_aux_dir'
83019 xsi_shell='$xsi_shell'
83020 lt_shell_append='$lt_shell_append'
83022 # See if we are running on zsh, and set the options which allow our
83023 # commands through without removal of \ escapes INIT.
83024 if test -n "\${ZSH_VERSION+set}" ; then
83025 setopt NO_GLOB_SUBST
83029 PACKAGE='$PACKAGE'
83030 VERSION='$VERSION'
83031 TIMESTAMP='$TIMESTAMP'
83032 RM='$RM'
83033 ofile='$ofile'
83040 GCC="$GCC"
83041 CC="$CC"
83042 acx_cv_header_stdint="$acx_cv_header_stdint"
83043 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83044 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83045 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83046 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83047 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83048 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83049 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83050 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83051 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83052 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83053 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83054 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83055 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83058 _ACEOF
83060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83062 # Handling of arguments.
83063 for ac_config_target in $ac_config_targets
83065 case $ac_config_target in
83066 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83067 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83068 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83069 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83070 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83071 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83072 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83073 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83074 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83075 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83076 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83077 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83078 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83079 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83080 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83081 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83082 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83083 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83084 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83085 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83087 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83088 esac
83089 done
83092 # If the user did not use the arguments to specify the items to instantiate,
83093 # then the envvar interface is used. Set only those that are not.
83094 # We use the long form for the default assignment because of an extremely
83095 # bizarre bug on SunOS 4.1.3.
83096 if $ac_need_defaults; then
83097 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83098 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83099 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83102 # Have a temporary directory for convenience. Make it in the build tree
83103 # simply because there is no reason against having it here, and in addition,
83104 # creating and moving files from /tmp can sometimes cause problems.
83105 # Hook for its removal unless debugging.
83106 # Note that there is a small window in which the directory will not be cleaned:
83107 # after its creation but before its name has been assigned to `$tmp'.
83108 $debug ||
83110 tmp=
83111 trap 'exit_status=$?
83112 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
83114 trap 'as_fn_exit 1' 1 2 13 15
83116 # Create a (secure) tmp directory for tmp files.
83119 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83120 test -n "$tmp" && test -d "$tmp"
83121 } ||
83123 tmp=./conf$$-$RANDOM
83124 (umask 077 && mkdir "$tmp")
83125 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
83127 # Set up the scripts for CONFIG_FILES section.
83128 # No need to generate them if there are no CONFIG_FILES.
83129 # This happens for instance with `./config.status config.h'.
83130 if test -n "$CONFIG_FILES"; then
83133 ac_cr=`echo X | tr X '\015'`
83134 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83135 # But we know of no other shell where ac_cr would be empty at this
83136 # point, so we can use a bashism as a fallback.
83137 if test "x$ac_cr" = x; then
83138 eval ac_cr=\$\'\\r\'
83140 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83141 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83142 ac_cs_awk_cr='\r'
83143 else
83144 ac_cs_awk_cr=$ac_cr
83147 echo 'BEGIN {' >"$tmp/subs1.awk" &&
83148 _ACEOF
83152 echo "cat >conf$$subs.awk <<_ACEOF" &&
83153 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83154 echo "_ACEOF"
83155 } >conf$$subs.sh ||
83156 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
83158 ac_delim='%!_!# '
83159 for ac_last_try in false false false false false :; do
83160 . ./conf$$subs.sh ||
83161 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83163 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83164 if test $ac_delim_n = $ac_delim_num; then
83165 break
83166 elif $ac_last_try; then
83167 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83168 else
83169 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83171 done
83172 rm -f conf$$subs.sh
83174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83175 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
83176 _ACEOF
83177 sed -n '
83179 s/^/S["/; s/!.*/"]=/
83182 s/^[^!]*!//
83183 :repl
83184 t repl
83185 s/'"$ac_delim"'$//
83186 t delim
83189 s/\(.\{148\}\).*/\1/
83190 t more1
83191 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83194 b repl
83195 :more1
83196 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83199 s/.\{148\}//
83200 t nl
83201 :delim
83203 s/\(.\{148\}\).*/\1/
83204 t more2
83205 s/["\\]/\\&/g; s/^/"/; s/$/"/
83208 :more2
83209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83212 s/.\{148\}//
83213 t delim
83214 ' <conf$$subs.awk | sed '
83215 /^[^""]/{
83217 s/\n//
83219 ' >>$CONFIG_STATUS || ac_write_fail=1
83220 rm -f conf$$subs.awk
83221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83222 _ACAWK
83223 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83224 for (key in S) S_is_set[key] = 1
83225 FS = "\a"
83229 line = $ 0
83230 nfields = split(line, field, "@")
83231 substed = 0
83232 len = length(field[1])
83233 for (i = 2; i < nfields; i++) {
83234 key = field[i]
83235 keylen = length(key)
83236 if (S_is_set[key]) {
83237 value = S[key]
83238 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83239 len += length(value) + length(field[++i])
83240 substed = 1
83241 } else
83242 len += 1 + keylen
83245 print line
83248 _ACAWK
83249 _ACEOF
83250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83251 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83252 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83253 else
83255 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83256 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83257 _ACEOF
83259 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83260 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83261 # trailing colons and then remove the whole line if VPATH becomes empty
83262 # (actually we leave an empty line to preserve line numbers).
83263 if test "x$srcdir" = x.; then
83264 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83265 s/:*\$(srcdir):*/:/
83266 s/:*\${srcdir}:*/:/
83267 s/:*@srcdir@:*/:/
83268 s/^\([^=]*=[ ]*\):*/\1/
83269 s/:*$//
83270 s/^[^=]*=[ ]*$//
83274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83275 fi # test -n "$CONFIG_FILES"
83277 # Set up the scripts for CONFIG_HEADERS section.
83278 # No need to generate them if there are no CONFIG_HEADERS.
83279 # This happens for instance with `./config.status Makefile'.
83280 if test -n "$CONFIG_HEADERS"; then
83281 cat >"$tmp/defines.awk" <<\_ACAWK ||
83282 BEGIN {
83283 _ACEOF
83285 # Transform confdefs.h into an awk script `defines.awk', embedded as
83286 # here-document in config.status, that substitutes the proper values into
83287 # config.h.in to produce config.h.
83289 # Create a delimiter string that does not exist in confdefs.h, to ease
83290 # handling of long lines.
83291 ac_delim='%!_!# '
83292 for ac_last_try in false false :; do
83293 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83294 if test -z "$ac_t"; then
83295 break
83296 elif $ac_last_try; then
83297 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83298 else
83299 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83301 done
83303 # For the awk script, D is an array of macro values keyed by name,
83304 # likewise P contains macro parameters if any. Preserve backslash
83305 # newline sequences.
83307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83308 sed -n '
83309 s/.\{148\}/&'"$ac_delim"'/g
83310 t rset
83311 :rset
83312 s/^[ ]*#[ ]*define[ ][ ]*/ /
83313 t def
83315 :def
83316 s/\\$//
83317 t bsnl
83318 s/["\\]/\\&/g
83319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83320 D["\1"]=" \3"/p
83321 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83323 :bsnl
83324 s/["\\]/\\&/g
83325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83326 D["\1"]=" \3\\\\\\n"\\/p
83327 t cont
83328 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83329 t cont
83331 :cont
83333 s/.\{148\}/&'"$ac_delim"'/g
83334 t clear
83335 :clear
83336 s/\\$//
83337 t bsnlc
83338 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83340 :bsnlc
83341 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83342 b cont
83343 ' <confdefs.h | sed '
83344 s/'"$ac_delim"'/"\\\
83345 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83348 for (key in D) D_is_set[key] = 1
83349 FS = "\a"
83351 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83352 line = \$ 0
83353 split(line, arg, " ")
83354 if (arg[1] == "#") {
83355 defundef = arg[2]
83356 mac1 = arg[3]
83357 } else {
83358 defundef = substr(arg[1], 2)
83359 mac1 = arg[2]
83361 split(mac1, mac2, "(") #)
83362 macro = mac2[1]
83363 prefix = substr(line, 1, index(line, defundef) - 1)
83364 if (D_is_set[macro]) {
83365 # Preserve the white space surrounding the "#".
83366 print prefix "define", macro P[macro] D[macro]
83367 next
83368 } else {
83369 # Replace #undef with comments. This is necessary, for example,
83370 # in the case of _POSIX_SOURCE, which is predefined and required
83371 # on some systems where configure will not decide to define it.
83372 if (defundef == "undef") {
83373 print "/*", prefix defundef, macro, "*/"
83374 next
83378 { print }
83379 _ACAWK
83380 _ACEOF
83381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83382 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83383 fi # test -n "$CONFIG_HEADERS"
83386 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83387 shift
83388 for ac_tag
83390 case $ac_tag in
83391 :[FHLC]) ac_mode=$ac_tag; continue;;
83392 esac
83393 case $ac_mode$ac_tag in
83394 :[FHL]*:*);;
83395 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83396 :[FH]-) ac_tag=-:-;;
83397 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83398 esac
83399 ac_save_IFS=$IFS
83400 IFS=:
83401 set x $ac_tag
83402 IFS=$ac_save_IFS
83403 shift
83404 ac_file=$1
83405 shift
83407 case $ac_mode in
83408 :L) ac_source=$1;;
83409 :[FH])
83410 ac_file_inputs=
83411 for ac_f
83413 case $ac_f in
83414 -) ac_f="$tmp/stdin";;
83415 *) # Look for the file first in the build tree, then in the source tree
83416 # (if the path is not absolute). The absolute path cannot be DOS-style,
83417 # because $ac_f cannot contain `:'.
83418 test -f "$ac_f" ||
83419 case $ac_f in
83420 [\\/$]*) false;;
83421 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83422 esac ||
83423 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83424 esac
83425 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83426 as_fn_append ac_file_inputs " '$ac_f'"
83427 done
83429 # Let's still pretend it is `configure' which instantiates (i.e., don't
83430 # use $as_me), people would be surprised to read:
83431 # /* config.h. Generated by config.status. */
83432 configure_input='Generated from '`
83433 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83434 `' by configure.'
83435 if test x"$ac_file" != x-; then
83436 configure_input="$ac_file. $configure_input"
83437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83438 $as_echo "$as_me: creating $ac_file" >&6;}
83440 # Neutralize special characters interpreted by sed in replacement strings.
83441 case $configure_input in #(
83442 *\&* | *\|* | *\\* )
83443 ac_sed_conf_input=`$as_echo "$configure_input" |
83444 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83445 *) ac_sed_conf_input=$configure_input;;
83446 esac
83448 case $ac_tag in
83449 *:-:* | *:-) cat >"$tmp/stdin" \
83450 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83451 esac
83453 esac
83455 ac_dir=`$as_dirname -- "$ac_file" ||
83456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83457 X"$ac_file" : 'X\(//\)[^/]' \| \
83458 X"$ac_file" : 'X\(//\)$' \| \
83459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83460 $as_echo X"$ac_file" |
83461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83462 s//\1/
83465 /^X\(\/\/\)[^/].*/{
83466 s//\1/
83469 /^X\(\/\/\)$/{
83470 s//\1/
83473 /^X\(\/\).*/{
83474 s//\1/
83477 s/.*/./; q'`
83478 as_dir="$ac_dir"; as_fn_mkdir_p
83479 ac_builddir=.
83481 case "$ac_dir" in
83482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83484 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83485 # A ".." for each directory in $ac_dir_suffix.
83486 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83487 case $ac_top_builddir_sub in
83488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83490 esac ;;
83491 esac
83492 ac_abs_top_builddir=$ac_pwd
83493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83494 # for backward compatibility:
83495 ac_top_builddir=$ac_top_build_prefix
83497 case $srcdir in
83498 .) # We are building in place.
83499 ac_srcdir=.
83500 ac_top_srcdir=$ac_top_builddir_sub
83501 ac_abs_top_srcdir=$ac_pwd ;;
83502 [\\/]* | ?:[\\/]* ) # Absolute name.
83503 ac_srcdir=$srcdir$ac_dir_suffix;
83504 ac_top_srcdir=$srcdir
83505 ac_abs_top_srcdir=$srcdir ;;
83506 *) # Relative name.
83507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83508 ac_top_srcdir=$ac_top_build_prefix$srcdir
83509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83510 esac
83511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83514 case $ac_mode in
83517 # CONFIG_FILE
83520 case $INSTALL in
83521 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83522 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83523 esac
83524 ac_MKDIR_P=$MKDIR_P
83525 case $MKDIR_P in
83526 [\\/$]* | ?:[\\/]* ) ;;
83527 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83528 esac
83529 _ACEOF
83531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83532 # If the template does not know about datarootdir, expand it.
83533 # FIXME: This hack should be removed a few years after 2.60.
83534 ac_datarootdir_hack=; ac_datarootdir_seen=
83535 ac_sed_dataroot='
83536 /datarootdir/ {
83540 /@datadir@/p
83541 /@docdir@/p
83542 /@infodir@/p
83543 /@localedir@/p
83544 /@mandir@/p'
83545 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83546 *datarootdir*) ac_datarootdir_seen=yes;;
83547 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83549 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83550 _ACEOF
83551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83552 ac_datarootdir_hack='
83553 s&@datadir@&$datadir&g
83554 s&@docdir@&$docdir&g
83555 s&@infodir@&$infodir&g
83556 s&@localedir@&$localedir&g
83557 s&@mandir@&$mandir&g
83558 s&\\\${datarootdir}&$datarootdir&g' ;;
83559 esac
83560 _ACEOF
83562 # Neutralize VPATH when `$srcdir' = `.'.
83563 # Shell code in configure.ac might set extrasub.
83564 # FIXME: do we really want to maintain this feature?
83565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83566 ac_sed_extra="$ac_vpsub
83567 $extrasub
83568 _ACEOF
83569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83572 s|@configure_input@|$ac_sed_conf_input|;t t
83573 s&@top_builddir@&$ac_top_builddir_sub&;t t
83574 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83575 s&@srcdir@&$ac_srcdir&;t t
83576 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83577 s&@top_srcdir@&$ac_top_srcdir&;t t
83578 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83579 s&@builddir@&$ac_builddir&;t t
83580 s&@abs_builddir@&$ac_abs_builddir&;t t
83581 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83582 s&@INSTALL@&$ac_INSTALL&;t t
83583 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83584 $ac_datarootdir_hack
83586 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83587 || as_fn_error "could not create $ac_file" "$LINENO" 5
83589 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83590 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83591 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83593 which seems to be undefined. Please make sure it is defined." >&5
83594 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83595 which seems to be undefined. Please make sure it is defined." >&2;}
83597 rm -f "$tmp/stdin"
83598 case $ac_file in
83599 -) cat "$tmp/out" && rm -f "$tmp/out";;
83600 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83601 esac \
83602 || as_fn_error "could not create $ac_file" "$LINENO" 5
83606 # CONFIG_HEADER
83608 if test x"$ac_file" != x-; then
83610 $as_echo "/* $configure_input */" \
83611 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83612 } >"$tmp/config.h" \
83613 || as_fn_error "could not create $ac_file" "$LINENO" 5
83614 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83615 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83616 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83617 else
83618 rm -f "$ac_file"
83619 mv "$tmp/config.h" "$ac_file" \
83620 || as_fn_error "could not create $ac_file" "$LINENO" 5
83622 else
83623 $as_echo "/* $configure_input */" \
83624 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83625 || as_fn_error "could not create -" "$LINENO" 5
83627 # Compute "$ac_file"'s index in $config_headers.
83628 _am_arg="$ac_file"
83629 _am_stamp_count=1
83630 for _am_header in $config_headers :; do
83631 case $_am_header in
83632 $_am_arg | $_am_arg:* )
83633 break ;;
83635 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83636 esac
83637 done
83638 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83639 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83640 X"$_am_arg" : 'X\(//\)[^/]' \| \
83641 X"$_am_arg" : 'X\(//\)$' \| \
83642 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83643 $as_echo X"$_am_arg" |
83644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83645 s//\1/
83648 /^X\(\/\/\)[^/].*/{
83649 s//\1/
83652 /^X\(\/\/\)$/{
83653 s//\1/
83656 /^X\(\/\).*/{
83657 s//\1/
83660 s/.*/./; q'`/stamp-h$_am_stamp_count
83663 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83664 $as_echo "$as_me: executing $ac_file commands" >&6;}
83666 esac
83669 case $ac_file$ac_mode in
83670 "default-1":C)
83671 # Only add multilib support code if we just rebuilt the top-level
83672 # Makefile.
83673 case " $CONFIG_FILES " in
83674 *" Makefile "*)
83675 ac_file=Makefile . ${multi_basedir}/config-ml.in
83677 esac ;;
83678 "libtool":C)
83680 # See if we are running on zsh, and set the options which allow our
83681 # commands through without removal of \ escapes.
83682 if test -n "${ZSH_VERSION+set}" ; then
83683 setopt NO_GLOB_SUBST
83686 cfgfile="${ofile}T"
83687 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83688 $RM "$cfgfile"
83690 cat <<_LT_EOF >> "$cfgfile"
83691 #! $SHELL
83693 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83694 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83695 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83696 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83698 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83699 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83700 # Written by Gordon Matzigkeit, 1996
83702 # This file is part of GNU Libtool.
83704 # GNU Libtool is free software; you can redistribute it and/or
83705 # modify it under the terms of the GNU General Public License as
83706 # published by the Free Software Foundation; either version 2 of
83707 # the License, or (at your option) any later version.
83709 # As a special exception to the GNU General Public License,
83710 # if you distribute this file as part of a program or library that
83711 # is built using GNU Libtool, you may include this file under the
83712 # same distribution terms that you use for the rest of that program.
83714 # GNU Libtool is distributed in the hope that it will be useful,
83715 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83716 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83717 # GNU General Public License for more details.
83719 # You should have received a copy of the GNU General Public License
83720 # along with GNU Libtool; see the file COPYING. If not, a copy
83721 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83722 # obtained by writing to the Free Software Foundation, Inc.,
83723 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83726 # The names of the tagged configurations supported by this script.
83727 available_tags="CXX "
83729 # ### BEGIN LIBTOOL CONFIG
83731 # Which release of libtool.m4 was used?
83732 macro_version=$macro_version
83733 macro_revision=$macro_revision
83735 # Whether or not to build shared libraries.
83736 build_libtool_libs=$enable_shared
83738 # Whether or not to build static libraries.
83739 build_old_libs=$enable_static
83741 # What type of objects to build.
83742 pic_mode=$pic_mode
83744 # Whether or not to optimize for fast installation.
83745 fast_install=$enable_fast_install
83747 # Shell to use when invoking shell scripts.
83748 SHELL=$lt_SHELL
83750 # An echo program that protects backslashes.
83751 ECHO=$lt_ECHO
83753 # The host system.
83754 host_alias=$host_alias
83755 host=$host
83756 host_os=$host_os
83758 # The build system.
83759 build_alias=$build_alias
83760 build=$build
83761 build_os=$build_os
83763 # A sed program that does not truncate output.
83764 SED=$lt_SED
83766 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83767 Xsed="\$SED -e 1s/^X//"
83769 # A grep program that handles long lines.
83770 GREP=$lt_GREP
83772 # An ERE matcher.
83773 EGREP=$lt_EGREP
83775 # A literal string matcher.
83776 FGREP=$lt_FGREP
83778 # A BSD- or MS-compatible name lister.
83779 NM=$lt_NM
83781 # Whether we need soft or hard links.
83782 LN_S=$lt_LN_S
83784 # What is the maximum length of a command?
83785 max_cmd_len=$max_cmd_len
83787 # Object file suffix (normally "o").
83788 objext=$ac_objext
83790 # Executable file suffix (normally "").
83791 exeext=$exeext
83793 # whether the shell understands "unset".
83794 lt_unset=$lt_unset
83796 # turn spaces into newlines.
83797 SP2NL=$lt_lt_SP2NL
83799 # turn newlines into spaces.
83800 NL2SP=$lt_lt_NL2SP
83802 # An object symbol dumper.
83803 OBJDUMP=$lt_OBJDUMP
83805 # Method to check whether dependent libraries are shared objects.
83806 deplibs_check_method=$lt_deplibs_check_method
83808 # Command to use when deplibs_check_method == "file_magic".
83809 file_magic_cmd=$lt_file_magic_cmd
83811 # The archiver.
83812 AR=$lt_AR
83813 AR_FLAGS=$lt_AR_FLAGS
83815 # A symbol stripping program.
83816 STRIP=$lt_STRIP
83818 # Commands used to install an old-style archive.
83819 RANLIB=$lt_RANLIB
83820 old_postinstall_cmds=$lt_old_postinstall_cmds
83821 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83823 # Whether to use a lock for old archive extraction.
83824 lock_old_archive_extraction=$lock_old_archive_extraction
83826 # A C compiler.
83827 LTCC=$lt_CC
83829 # LTCC compiler flags.
83830 LTCFLAGS=$lt_CFLAGS
83832 # Take the output of nm and produce a listing of raw symbols and C names.
83833 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83835 # Transform the output of nm in a proper C declaration.
83836 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83838 # Transform the output of nm in a C name address pair.
83839 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83841 # Transform the output of nm in a C name address pair when lib prefix is needed.
83842 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83844 # The name of the directory that contains temporary libtool files.
83845 objdir=$objdir
83847 # Used to examine libraries when file_magic_cmd begins with "file".
83848 MAGIC_CMD=$MAGIC_CMD
83850 # Must we lock files when doing compilation?
83851 need_locks=$lt_need_locks
83853 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83854 DSYMUTIL=$lt_DSYMUTIL
83856 # Tool to change global to local symbols on Mac OS X.
83857 NMEDIT=$lt_NMEDIT
83859 # Tool to manipulate fat objects and archives on Mac OS X.
83860 LIPO=$lt_LIPO
83862 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83863 OTOOL=$lt_OTOOL
83865 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83866 OTOOL64=$lt_OTOOL64
83868 # Old archive suffix (normally "a").
83869 libext=$libext
83871 # Shared library suffix (normally ".so").
83872 shrext_cmds=$lt_shrext_cmds
83874 # The commands to extract the exported symbol list from a shared archive.
83875 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83877 # Variables whose values should be saved in libtool wrapper scripts and
83878 # restored at link time.
83879 variables_saved_for_relink=$lt_variables_saved_for_relink
83881 # Do we need the "lib" prefix for modules?
83882 need_lib_prefix=$need_lib_prefix
83884 # Do we need a version for libraries?
83885 need_version=$need_version
83887 # Library versioning type.
83888 version_type=$version_type
83890 # Shared library runtime path variable.
83891 runpath_var=$runpath_var
83893 # Shared library path variable.
83894 shlibpath_var=$shlibpath_var
83896 # Is shlibpath searched before the hard-coded library search path?
83897 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83899 # Format of library name prefix.
83900 libname_spec=$lt_libname_spec
83902 # List of archive names. First name is the real one, the rest are links.
83903 # The last name is the one that the linker finds with -lNAME
83904 library_names_spec=$lt_library_names_spec
83906 # The coded name of the library, if different from the real name.
83907 soname_spec=$lt_soname_spec
83909 # Permission mode override for installation of shared libraries.
83910 install_override_mode=$lt_install_override_mode
83912 # Command to use after installation of a shared archive.
83913 postinstall_cmds=$lt_postinstall_cmds
83915 # Command to use after uninstallation of a shared archive.
83916 postuninstall_cmds=$lt_postuninstall_cmds
83918 # Commands used to finish a libtool library installation in a directory.
83919 finish_cmds=$lt_finish_cmds
83921 # As "finish_cmds", except a single script fragment to be evaled but
83922 # not shown.
83923 finish_eval=$lt_finish_eval
83925 # Whether we should hardcode library paths into libraries.
83926 hardcode_into_libs=$hardcode_into_libs
83928 # Compile-time system search path for libraries.
83929 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83931 # Run-time system search path for libraries.
83932 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83934 # Whether dlopen is supported.
83935 dlopen_support=$enable_dlopen
83937 # Whether dlopen of programs is supported.
83938 dlopen_self=$enable_dlopen_self
83940 # Whether dlopen of statically linked programs is supported.
83941 dlopen_self_static=$enable_dlopen_self_static
83943 # Commands to strip libraries.
83944 old_striplib=$lt_old_striplib
83945 striplib=$lt_striplib
83948 # The linker used to build libraries.
83949 LD=$lt_LD
83951 # How to create reloadable object files.
83952 reload_flag=$lt_reload_flag
83953 reload_cmds=$lt_reload_cmds
83955 # Commands used to build an old-style archive.
83956 old_archive_cmds=$lt_old_archive_cmds
83958 # A language specific compiler.
83959 CC=$lt_compiler
83961 # Is the compiler the GNU compiler?
83962 with_gcc=$GCC
83964 # Compiler flag to turn off builtin functions.
83965 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83967 # How to pass a linker flag through the compiler.
83968 wl=$lt_lt_prog_compiler_wl
83970 # Additional compiler flags for building library objects.
83971 pic_flag=$lt_lt_prog_compiler_pic
83973 # Compiler flag to prevent dynamic linking.
83974 link_static_flag=$lt_lt_prog_compiler_static
83976 # Does compiler simultaneously support -c and -o options?
83977 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83979 # Whether or not to add -lc for building shared libraries.
83980 build_libtool_need_lc=$archive_cmds_need_lc
83982 # Whether or not to disallow shared libs when runtime libs are static.
83983 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83985 # Compiler flag to allow reflexive dlopens.
83986 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83988 # Compiler flag to generate shared objects directly from archives.
83989 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83991 # Whether the compiler copes with passing no objects directly.
83992 compiler_needs_object=$lt_compiler_needs_object
83994 # Create an old-style archive from a shared archive.
83995 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83997 # Create a temporary old-style archive to link instead of a shared archive.
83998 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84000 # Commands used to build a shared archive.
84001 archive_cmds=$lt_archive_cmds
84002 archive_expsym_cmds=$lt_archive_expsym_cmds
84004 # Commands used to build a loadable module if different from building
84005 # a shared archive.
84006 module_cmds=$lt_module_cmds
84007 module_expsym_cmds=$lt_module_expsym_cmds
84009 # Whether we are building with GNU ld or not.
84010 with_gnu_ld=$lt_with_gnu_ld
84012 # Flag that allows shared libraries with undefined symbols to be built.
84013 allow_undefined_flag=$lt_allow_undefined_flag
84015 # Flag that enforces no undefined symbols.
84016 no_undefined_flag=$lt_no_undefined_flag
84018 # Flag to hardcode \$libdir into a binary during linking.
84019 # This must work even if \$libdir does not exist
84020 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84022 # If ld is used when linking, flag to hardcode \$libdir into a binary
84023 # during linking. This must work even if \$libdir does not exist.
84024 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84026 # Whether we need a single "-rpath" flag with a separated argument.
84027 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84029 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84030 # DIR into the resulting binary.
84031 hardcode_direct=$hardcode_direct
84033 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84034 # DIR into the resulting binary and the resulting library dependency is
84035 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84036 # library is relocated.
84037 hardcode_direct_absolute=$hardcode_direct_absolute
84039 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84040 # into the resulting binary.
84041 hardcode_minus_L=$hardcode_minus_L
84043 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84044 # into the resulting binary.
84045 hardcode_shlibpath_var=$hardcode_shlibpath_var
84047 # Set to "yes" if building a shared library automatically hardcodes DIR
84048 # into the library and all subsequent libraries and executables linked
84049 # against it.
84050 hardcode_automatic=$hardcode_automatic
84052 # Set to yes if linker adds runtime paths of dependent libraries
84053 # to runtime path list.
84054 inherit_rpath=$inherit_rpath
84056 # Whether libtool must link a program against all its dependency libraries.
84057 link_all_deplibs=$link_all_deplibs
84059 # Fix the shell variable \$srcfile for the compiler.
84060 fix_srcfile_path=$lt_fix_srcfile_path
84062 # Set to "yes" if exported symbols are required.
84063 always_export_symbols=$always_export_symbols
84065 # The commands to list exported symbols.
84066 export_symbols_cmds=$lt_export_symbols_cmds
84068 # Symbols that should not be listed in the preloaded symbols.
84069 exclude_expsyms=$lt_exclude_expsyms
84071 # Symbols that must always be exported.
84072 include_expsyms=$lt_include_expsyms
84074 # Commands necessary for linking programs (against libraries) with templates.
84075 prelink_cmds=$lt_prelink_cmds
84077 # Specify filename containing input files.
84078 file_list_spec=$lt_file_list_spec
84080 # How to hardcode a shared library path into an executable.
84081 hardcode_action=$hardcode_action
84083 # The directories searched by this compiler when creating a shared library.
84084 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84086 # Dependencies to place before and after the objects being linked to
84087 # create a shared library.
84088 predep_objects=$lt_predep_objects
84089 postdep_objects=$lt_postdep_objects
84090 predeps=$lt_predeps
84091 postdeps=$lt_postdeps
84093 # The library search path used internally by the compiler when linking
84094 # a shared library.
84095 compiler_lib_search_path=$lt_compiler_lib_search_path
84097 # ### END LIBTOOL CONFIG
84099 _LT_EOF
84101 case $host_os in
84102 aix3*)
84103 cat <<\_LT_EOF >> "$cfgfile"
84104 # AIX sometimes has problems with the GCC collect2 program. For some
84105 # reason, if we set the COLLECT_NAMES environment variable, the problems
84106 # vanish in a puff of smoke.
84107 if test "X${COLLECT_NAMES+set}" != Xset; then
84108 COLLECT_NAMES=
84109 export COLLECT_NAMES
84111 _LT_EOF
84113 esac
84116 ltmain="$ac_aux_dir/ltmain.sh"
84119 # We use sed instead of cat because bash on DJGPP gets confused if
84120 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84121 # text mode, it properly converts lines to CR/LF. This bash problem
84122 # is reportedly fixed, but why not run on old versions too?
84123 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84124 || (rm -f "$cfgfile"; exit 1)
84126 case $xsi_shell in
84127 yes)
84128 cat << \_LT_EOF >> "$cfgfile"
84130 # func_dirname file append nondir_replacement
84131 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84132 # otherwise set result to NONDIR_REPLACEMENT.
84133 func_dirname ()
84135 case ${1} in
84136 */*) func_dirname_result="${1%/*}${2}" ;;
84137 * ) func_dirname_result="${3}" ;;
84138 esac
84141 # func_basename file
84142 func_basename ()
84144 func_basename_result="${1##*/}"
84147 # func_dirname_and_basename file append nondir_replacement
84148 # perform func_basename and func_dirname in a single function
84149 # call:
84150 # dirname: Compute the dirname of FILE. If nonempty,
84151 # add APPEND to the result, otherwise set result
84152 # to NONDIR_REPLACEMENT.
84153 # value returned in "$func_dirname_result"
84154 # basename: Compute filename of FILE.
84155 # value retuned in "$func_basename_result"
84156 # Implementation must be kept synchronized with func_dirname
84157 # and func_basename. For efficiency, we do not delegate to
84158 # those functions but instead duplicate the functionality here.
84159 func_dirname_and_basename ()
84161 case ${1} in
84162 */*) func_dirname_result="${1%/*}${2}" ;;
84163 * ) func_dirname_result="${3}" ;;
84164 esac
84165 func_basename_result="${1##*/}"
84168 # func_stripname prefix suffix name
84169 # strip PREFIX and SUFFIX off of NAME.
84170 # PREFIX and SUFFIX must not contain globbing or regex special
84171 # characters, hashes, percent signs, but SUFFIX may contain a leading
84172 # dot (in which case that matches only a dot).
84173 func_stripname ()
84175 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84176 # positional parameters, so assign one to ordinary parameter first.
84177 func_stripname_result=${3}
84178 func_stripname_result=${func_stripname_result#"${1}"}
84179 func_stripname_result=${func_stripname_result%"${2}"}
84182 # func_opt_split
84183 func_opt_split ()
84185 func_opt_split_opt=${1%%=*}
84186 func_opt_split_arg=${1#*=}
84189 # func_lo2o object
84190 func_lo2o ()
84192 case ${1} in
84193 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84194 *) func_lo2o_result=${1} ;;
84195 esac
84198 # func_xform libobj-or-source
84199 func_xform ()
84201 func_xform_result=${1%.*}.lo
84204 # func_arith arithmetic-term...
84205 func_arith ()
84207 func_arith_result=$(( $* ))
84210 # func_len string
84211 # STRING may not start with a hyphen.
84212 func_len ()
84214 func_len_result=${#1}
84217 _LT_EOF
84219 *) # Bourne compatible functions.
84220 cat << \_LT_EOF >> "$cfgfile"
84222 # func_dirname file append nondir_replacement
84223 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84224 # otherwise set result to NONDIR_REPLACEMENT.
84225 func_dirname ()
84227 # Extract subdirectory from the argument.
84228 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84229 if test "X$func_dirname_result" = "X${1}"; then
84230 func_dirname_result="${3}"
84231 else
84232 func_dirname_result="$func_dirname_result${2}"
84236 # func_basename file
84237 func_basename ()
84239 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84243 # func_stripname prefix suffix name
84244 # strip PREFIX and SUFFIX off of NAME.
84245 # PREFIX and SUFFIX must not contain globbing or regex special
84246 # characters, hashes, percent signs, but SUFFIX may contain a leading
84247 # dot (in which case that matches only a dot).
84248 # func_strip_suffix prefix name
84249 func_stripname ()
84251 case ${2} in
84252 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84253 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84254 esac
84257 # sed scripts:
84258 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84259 my_sed_long_arg='1s/^-[^=]*=//'
84261 # func_opt_split
84262 func_opt_split ()
84264 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84265 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84268 # func_lo2o object
84269 func_lo2o ()
84271 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84274 # func_xform libobj-or-source
84275 func_xform ()
84277 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84280 # func_arith arithmetic-term...
84281 func_arith ()
84283 func_arith_result=`expr "$@"`
84286 # func_len string
84287 # STRING may not start with a hyphen.
84288 func_len ()
84290 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84293 _LT_EOF
84294 esac
84296 case $lt_shell_append in
84297 yes)
84298 cat << \_LT_EOF >> "$cfgfile"
84300 # func_append var value
84301 # Append VALUE to the end of shell variable VAR.
84302 func_append ()
84304 eval "$1+=\$2"
84306 _LT_EOF
84309 cat << \_LT_EOF >> "$cfgfile"
84311 # func_append var value
84312 # Append VALUE to the end of shell variable VAR.
84313 func_append ()
84315 eval "$1=\$$1\$2"
84318 _LT_EOF
84320 esac
84323 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84324 || (rm -f "$cfgfile"; exit 1)
84326 mv -f "$cfgfile" "$ofile" ||
84327 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84328 chmod +x "$ofile"
84331 cat <<_LT_EOF >> "$ofile"
84333 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84335 # The linker used to build libraries.
84336 LD=$lt_LD_CXX
84338 # How to create reloadable object files.
84339 reload_flag=$lt_reload_flag_CXX
84340 reload_cmds=$lt_reload_cmds_CXX
84342 # Commands used to build an old-style archive.
84343 old_archive_cmds=$lt_old_archive_cmds_CXX
84345 # A language specific compiler.
84346 CC=$lt_compiler_CXX
84348 # Is the compiler the GNU compiler?
84349 with_gcc=$GCC_CXX
84351 # Compiler flag to turn off builtin functions.
84352 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84354 # How to pass a linker flag through the compiler.
84355 wl=$lt_lt_prog_compiler_wl_CXX
84357 # Additional compiler flags for building library objects.
84358 pic_flag=$lt_lt_prog_compiler_pic_CXX
84360 # Compiler flag to prevent dynamic linking.
84361 link_static_flag=$lt_lt_prog_compiler_static_CXX
84363 # Does compiler simultaneously support -c and -o options?
84364 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84366 # Whether or not to add -lc for building shared libraries.
84367 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84369 # Whether or not to disallow shared libs when runtime libs are static.
84370 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84372 # Compiler flag to allow reflexive dlopens.
84373 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84375 # Compiler flag to generate shared objects directly from archives.
84376 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84378 # Whether the compiler copes with passing no objects directly.
84379 compiler_needs_object=$lt_compiler_needs_object_CXX
84381 # Create an old-style archive from a shared archive.
84382 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84384 # Create a temporary old-style archive to link instead of a shared archive.
84385 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84387 # Commands used to build a shared archive.
84388 archive_cmds=$lt_archive_cmds_CXX
84389 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84391 # Commands used to build a loadable module if different from building
84392 # a shared archive.
84393 module_cmds=$lt_module_cmds_CXX
84394 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84396 # Whether we are building with GNU ld or not.
84397 with_gnu_ld=$lt_with_gnu_ld_CXX
84399 # Flag that allows shared libraries with undefined symbols to be built.
84400 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84402 # Flag that enforces no undefined symbols.
84403 no_undefined_flag=$lt_no_undefined_flag_CXX
84405 # Flag to hardcode \$libdir into a binary during linking.
84406 # This must work even if \$libdir does not exist
84407 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84409 # If ld is used when linking, flag to hardcode \$libdir into a binary
84410 # during linking. This must work even if \$libdir does not exist.
84411 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84413 # Whether we need a single "-rpath" flag with a separated argument.
84414 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84416 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84417 # DIR into the resulting binary.
84418 hardcode_direct=$hardcode_direct_CXX
84420 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84421 # DIR into the resulting binary and the resulting library dependency is
84422 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84423 # library is relocated.
84424 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84426 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84427 # into the resulting binary.
84428 hardcode_minus_L=$hardcode_minus_L_CXX
84430 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84431 # into the resulting binary.
84432 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84434 # Set to "yes" if building a shared library automatically hardcodes DIR
84435 # into the library and all subsequent libraries and executables linked
84436 # against it.
84437 hardcode_automatic=$hardcode_automatic_CXX
84439 # Set to yes if linker adds runtime paths of dependent libraries
84440 # to runtime path list.
84441 inherit_rpath=$inherit_rpath_CXX
84443 # Whether libtool must link a program against all its dependency libraries.
84444 link_all_deplibs=$link_all_deplibs_CXX
84446 # Fix the shell variable \$srcfile for the compiler.
84447 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84449 # Set to "yes" if exported symbols are required.
84450 always_export_symbols=$always_export_symbols_CXX
84452 # The commands to list exported symbols.
84453 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84455 # Symbols that should not be listed in the preloaded symbols.
84456 exclude_expsyms=$lt_exclude_expsyms_CXX
84458 # Symbols that must always be exported.
84459 include_expsyms=$lt_include_expsyms_CXX
84461 # Commands necessary for linking programs (against libraries) with templates.
84462 prelink_cmds=$lt_prelink_cmds_CXX
84464 # Specify filename containing input files.
84465 file_list_spec=$lt_file_list_spec_CXX
84467 # How to hardcode a shared library path into an executable.
84468 hardcode_action=$hardcode_action_CXX
84470 # The directories searched by this compiler when creating a shared library.
84471 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84473 # Dependencies to place before and after the objects being linked to
84474 # create a shared library.
84475 predep_objects=$lt_predep_objects_CXX
84476 postdep_objects=$lt_postdep_objects_CXX
84477 predeps=$lt_predeps_CXX
84478 postdeps=$lt_postdeps_CXX
84480 # The library search path used internally by the compiler when linking
84481 # a shared library.
84482 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84484 # ### END LIBTOOL TAG CONFIG: CXX
84485 _LT_EOF
84488 "include/gstdint.h":C)
84489 if test "$GCC" = yes; then
84490 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84491 else
84492 echo "/* generated for $CC */" > tmp-stdint.h
84495 sed 's/^ *//' >> tmp-stdint.h <<EOF
84497 #ifndef GCC_GENERATED_STDINT_H
84498 #define GCC_GENERATED_STDINT_H 1
84500 #include <sys/types.h>
84503 if test "$acx_cv_header_stdint" != stdint.h; then
84504 echo "#include <stddef.h>" >> tmp-stdint.h
84506 if test "$acx_cv_header_stdint" != stddef.h; then
84507 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84510 sed 's/^ *//' >> tmp-stdint.h <<EOF
84511 /* glibc uses these symbols as guards to prevent redefinitions. */
84512 #ifdef __int8_t_defined
84513 #define _INT8_T
84514 #define _INT16_T
84515 #define _INT32_T
84516 #endif
84517 #ifdef __uint32_t_defined
84518 #define _UINT32_T
84519 #endif
84523 # ----------------- done header, emit basic int types -------------
84524 if test "$acx_cv_header_stdint" = stddef.h; then
84525 sed 's/^ *//' >> tmp-stdint.h <<EOF
84527 #ifndef _UINT8_T
84528 #define _UINT8_T
84529 #ifndef __uint8_t_defined
84530 #define __uint8_t_defined
84531 #ifndef uint8_t
84532 typedef unsigned $acx_cv_type_int8_t uint8_t;
84533 #endif
84534 #endif
84535 #endif
84537 #ifndef _UINT16_T
84538 #define _UINT16_T
84539 #ifndef __uint16_t_defined
84540 #define __uint16_t_defined
84541 #ifndef uint16_t
84542 typedef unsigned $acx_cv_type_int16_t uint16_t;
84543 #endif
84544 #endif
84545 #endif
84547 #ifndef _UINT32_T
84548 #define _UINT32_T
84549 #ifndef __uint32_t_defined
84550 #define __uint32_t_defined
84551 #ifndef uint32_t
84552 typedef unsigned $acx_cv_type_int32_t uint32_t;
84553 #endif
84554 #endif
84555 #endif
84557 #ifndef _INT8_T
84558 #define _INT8_T
84559 #ifndef __int8_t_defined
84560 #define __int8_t_defined
84561 #ifndef int8_t
84562 typedef $acx_cv_type_int8_t int8_t;
84563 #endif
84564 #endif
84565 #endif
84567 #ifndef _INT16_T
84568 #define _INT16_T
84569 #ifndef __int16_t_defined
84570 #define __int16_t_defined
84571 #ifndef int16_t
84572 typedef $acx_cv_type_int16_t int16_t;
84573 #endif
84574 #endif
84575 #endif
84577 #ifndef _INT32_T
84578 #define _INT32_T
84579 #ifndef __int32_t_defined
84580 #define __int32_t_defined
84581 #ifndef int32_t
84582 typedef $acx_cv_type_int32_t int32_t;
84583 #endif
84584 #endif
84585 #endif
84587 elif test "$ac_cv_type_u_int32_t" = yes; then
84588 sed 's/^ *//' >> tmp-stdint.h <<EOF
84590 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84591 #ifndef _INT8_T
84592 #define _INT8_T
84593 #endif
84594 #ifndef _INT16_T
84595 #define _INT16_T
84596 #endif
84597 #ifndef _INT32_T
84598 #define _INT32_T
84599 #endif
84601 #ifndef _UINT8_T
84602 #define _UINT8_T
84603 #ifndef __uint8_t_defined
84604 #define __uint8_t_defined
84605 #ifndef uint8_t
84606 typedef u_int8_t uint8_t;
84607 #endif
84608 #endif
84609 #endif
84611 #ifndef _UINT16_T
84612 #define _UINT16_T
84613 #ifndef __uint16_t_defined
84614 #define __uint16_t_defined
84615 #ifndef uint16_t
84616 typedef u_int16_t uint16_t;
84617 #endif
84618 #endif
84619 #endif
84621 #ifndef _UINT32_T
84622 #define _UINT32_T
84623 #ifndef __uint32_t_defined
84624 #define __uint32_t_defined
84625 #ifndef uint32_t
84626 typedef u_int32_t uint32_t;
84627 #endif
84628 #endif
84629 #endif
84631 else
84632 sed 's/^ *//' >> tmp-stdint.h <<EOF
84634 /* Some systems have guard macros to prevent redefinitions, define them. */
84635 #ifndef _INT8_T
84636 #define _INT8_T
84637 #endif
84638 #ifndef _INT16_T
84639 #define _INT16_T
84640 #endif
84641 #ifndef _INT32_T
84642 #define _INT32_T
84643 #endif
84644 #ifndef _UINT8_T
84645 #define _UINT8_T
84646 #endif
84647 #ifndef _UINT16_T
84648 #define _UINT16_T
84649 #endif
84650 #ifndef _UINT32_T
84651 #define _UINT32_T
84652 #endif
84656 # ------------- done basic int types, emit int64_t types ------------
84657 if test "$ac_cv_type_uint64_t" = yes; then
84658 sed 's/^ *//' >> tmp-stdint.h <<EOF
84660 /* system headers have good uint64_t and int64_t */
84661 #ifndef _INT64_T
84662 #define _INT64_T
84663 #endif
84664 #ifndef _UINT64_T
84665 #define _UINT64_T
84666 #endif
84668 elif test "$ac_cv_type_u_int64_t" = yes; then
84669 sed 's/^ *//' >> tmp-stdint.h <<EOF
84671 /* system headers have an u_int64_t (and int64_t) */
84672 #ifndef _INT64_T
84673 #define _INT64_T
84674 #endif
84675 #ifndef _UINT64_T
84676 #define _UINT64_T
84677 #ifndef __uint64_t_defined
84678 #define __uint64_t_defined
84679 #ifndef uint64_t
84680 typedef u_int64_t uint64_t;
84681 #endif
84682 #endif
84683 #endif
84685 elif test -n "$acx_cv_type_int64_t"; then
84686 sed 's/^ *//' >> tmp-stdint.h <<EOF
84688 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84689 #ifndef _INT64_T
84690 #define _INT64_T
84691 #ifndef int64_t
84692 typedef $acx_cv_type_int64_t int64_t;
84693 #endif
84694 #endif
84695 #ifndef _UINT64_T
84696 #define _UINT64_T
84697 #ifndef __uint64_t_defined
84698 #define __uint64_t_defined
84699 #ifndef uint64_t
84700 typedef unsigned $acx_cv_type_int64_t uint64_t;
84701 #endif
84702 #endif
84703 #endif
84705 else
84706 sed 's/^ *//' >> tmp-stdint.h <<EOF
84708 /* some common heuristics for int64_t, using compiler-specific tests */
84709 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84710 #ifndef _INT64_T
84711 #define _INT64_T
84712 #ifndef __int64_t_defined
84713 #ifndef int64_t
84714 typedef long long int64_t;
84715 #endif
84716 #endif
84717 #endif
84718 #ifndef _UINT64_T
84719 #define _UINT64_T
84720 #ifndef uint64_t
84721 typedef unsigned long long uint64_t;
84722 #endif
84723 #endif
84725 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84726 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84727 does not implement __extension__. But that compiler doesn't define
84728 __GNUC_MINOR__. */
84729 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84730 # define __extension__
84731 # endif
84733 # ifndef _INT64_T
84734 # define _INT64_T
84735 # ifndef int64_t
84736 __extension__ typedef long long int64_t;
84737 # endif
84738 # endif
84739 # ifndef _UINT64_T
84740 # define _UINT64_T
84741 # ifndef uint64_t
84742 __extension__ typedef unsigned long long uint64_t;
84743 # endif
84744 # endif
84746 #elif !defined __STRICT_ANSI__
84747 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84749 # ifndef _INT64_T
84750 # define _INT64_T
84751 # ifndef int64_t
84752 typedef __int64 int64_t;
84753 # endif
84754 # endif
84755 # ifndef _UINT64_T
84756 # define _UINT64_T
84757 # ifndef uint64_t
84758 typedef unsigned __int64 uint64_t;
84759 # endif
84760 # endif
84761 # endif /* compiler */
84763 #endif /* ANSI version */
84767 # ------------- done int64_t types, emit intptr types ------------
84768 if test "$ac_cv_type_uintptr_t" != yes; then
84769 sed 's/^ *//' >> tmp-stdint.h <<EOF
84771 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84772 #ifndef __uintptr_t_defined
84773 #ifndef uintptr_t
84774 typedef u$acx_cv_type_intptr_t uintptr_t;
84775 #endif
84776 #endif
84777 #ifndef __intptr_t_defined
84778 #ifndef intptr_t
84779 typedef $acx_cv_type_intptr_t intptr_t;
84780 #endif
84781 #endif
84785 # ------------- done intptr types, emit int_least types ------------
84786 if test "$ac_cv_type_int_least32_t" != yes; then
84787 sed 's/^ *//' >> tmp-stdint.h <<EOF
84789 /* Define int_least types */
84790 typedef int8_t int_least8_t;
84791 typedef int16_t int_least16_t;
84792 typedef int32_t int_least32_t;
84793 #ifdef _INT64_T
84794 typedef int64_t int_least64_t;
84795 #endif
84797 typedef uint8_t uint_least8_t;
84798 typedef uint16_t uint_least16_t;
84799 typedef uint32_t uint_least32_t;
84800 #ifdef _UINT64_T
84801 typedef uint64_t uint_least64_t;
84802 #endif
84806 # ------------- done intptr types, emit int_fast types ------------
84807 if test "$ac_cv_type_int_fast32_t" != yes; then
84808 sed 's/^ *//' >> tmp-stdint.h <<EOF
84810 /* Define int_fast types. short is often slow */
84811 typedef int8_t int_fast8_t;
84812 typedef int int_fast16_t;
84813 typedef int32_t int_fast32_t;
84814 #ifdef _INT64_T
84815 typedef int64_t int_fast64_t;
84816 #endif
84818 typedef uint8_t uint_fast8_t;
84819 typedef unsigned int uint_fast16_t;
84820 typedef uint32_t uint_fast32_t;
84821 #ifdef _UINT64_T
84822 typedef uint64_t uint_fast64_t;
84823 #endif
84827 if test "$ac_cv_type_uintmax_t" != yes; then
84828 sed 's/^ *//' >> tmp-stdint.h <<EOF
84830 /* Define intmax based on what we found */
84831 #ifndef intmax_t
84832 #ifdef _INT64_T
84833 typedef int64_t intmax_t;
84834 #else
84835 typedef long intmax_t;
84836 #endif
84837 #endif
84838 #ifndef uintmax_t
84839 #ifdef _UINT64_T
84840 typedef uint64_t uintmax_t;
84841 #else
84842 typedef unsigned long uintmax_t;
84843 #endif
84844 #endif
84848 sed 's/^ *//' >> tmp-stdint.h <<EOF
84850 #endif /* GCC_GENERATED_STDINT_H */
84853 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84854 rm -f tmp-stdint.h
84855 else
84856 mv -f tmp-stdint.h include/gstdint.h
84860 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84861 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84862 "include/Makefile":F) cat > vpsed$$ << \_EOF
84863 s!`test -f '$<' || echo '$(srcdir)/'`!!
84864 _EOF
84865 sed -f vpsed$$ $ac_file > tmp$$
84866 mv tmp$$ $ac_file
84867 rm vpsed$$
84868 echo 'MULTISUBDIR =' >> $ac_file
84869 ml_norecursion=yes
84870 . ${multi_basedir}/config-ml.in
84871 { ml_norecursion=; unset ml_norecursion;}
84873 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84874 s!`test -f '$<' || echo '$(srcdir)/'`!!
84875 _EOF
84876 sed -f vpsed$$ $ac_file > tmp$$
84877 mv tmp$$ $ac_file
84878 rm vpsed$$
84879 echo 'MULTISUBDIR =' >> $ac_file
84880 ml_norecursion=yes
84881 . ${multi_basedir}/config-ml.in
84882 { ml_norecursion=; unset ml_norecursion;}
84884 "src/Makefile":F) cat > vpsed$$ << \_EOF
84885 s!`test -f '$<' || echo '$(srcdir)/'`!!
84886 _EOF
84887 sed -f vpsed$$ $ac_file > tmp$$
84888 mv tmp$$ $ac_file
84889 rm vpsed$$
84890 echo 'MULTISUBDIR =' >> $ac_file
84891 ml_norecursion=yes
84892 . ${multi_basedir}/config-ml.in
84893 { ml_norecursion=; unset ml_norecursion;}
84895 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84896 s!`test -f '$<' || echo '$(srcdir)/'`!!
84897 _EOF
84898 sed -f vpsed$$ $ac_file > tmp$$
84899 mv tmp$$ $ac_file
84900 rm vpsed$$
84901 echo 'MULTISUBDIR =' >> $ac_file
84902 ml_norecursion=yes
84903 . ${multi_basedir}/config-ml.in
84904 { ml_norecursion=; unset ml_norecursion;}
84906 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84907 s!`test -f '$<' || echo '$(srcdir)/'`!!
84908 _EOF
84909 sed -f vpsed$$ $ac_file > tmp$$
84910 mv tmp$$ $ac_file
84911 rm vpsed$$
84912 echo 'MULTISUBDIR =' >> $ac_file
84913 ml_norecursion=yes
84914 . ${multi_basedir}/config-ml.in
84915 { ml_norecursion=; unset ml_norecursion;}
84917 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
84918 s!`test -f '$<' || echo '$(srcdir)/'`!!
84919 _EOF
84920 sed -f vpsed$$ $ac_file > tmp$$
84921 mv tmp$$ $ac_file
84922 rm vpsed$$
84923 echo 'MULTISUBDIR =' >> $ac_file
84924 ml_norecursion=yes
84925 . ${multi_basedir}/config-ml.in
84926 { ml_norecursion=; unset ml_norecursion;}
84928 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84929 s!`test -f '$<' || echo '$(srcdir)/'`!!
84930 _EOF
84931 sed -f vpsed$$ $ac_file > tmp$$
84932 mv tmp$$ $ac_file
84933 rm vpsed$$
84934 echo 'MULTISUBDIR =' >> $ac_file
84935 ml_norecursion=yes
84936 . ${multi_basedir}/config-ml.in
84937 { ml_norecursion=; unset ml_norecursion;}
84939 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84940 s!`test -f '$<' || echo '$(srcdir)/'`!!
84941 _EOF
84942 sed -f vpsed$$ $ac_file > tmp$$
84943 mv tmp$$ $ac_file
84944 rm vpsed$$
84945 echo 'MULTISUBDIR =' >> $ac_file
84946 ml_norecursion=yes
84947 . ${multi_basedir}/config-ml.in
84948 { ml_norecursion=; unset ml_norecursion;}
84950 "po/Makefile":F) cat > vpsed$$ << \_EOF
84951 s!`test -f '$<' || echo '$(srcdir)/'`!!
84952 _EOF
84953 sed -f vpsed$$ $ac_file > tmp$$
84954 mv tmp$$ $ac_file
84955 rm vpsed$$
84956 echo 'MULTISUBDIR =' >> $ac_file
84957 ml_norecursion=yes
84958 . ${multi_basedir}/config-ml.in
84959 { ml_norecursion=; unset ml_norecursion;}
84961 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84962 s!`test -f '$<' || echo '$(srcdir)/'`!!
84963 _EOF
84964 sed -f vpsed$$ $ac_file > tmp$$
84965 mv tmp$$ $ac_file
84966 rm vpsed$$
84967 echo 'MULTISUBDIR =' >> $ac_file
84968 ml_norecursion=yes
84969 . ${multi_basedir}/config-ml.in
84970 { ml_norecursion=; unset ml_norecursion;}
84972 "python/Makefile":F) cat > vpsed$$ << \_EOF
84973 s!`test -f '$<' || echo '$(srcdir)/'`!!
84974 _EOF
84975 sed -f vpsed$$ $ac_file > tmp$$
84976 mv tmp$$ $ac_file
84977 rm vpsed$$
84978 echo 'MULTISUBDIR =' >> $ac_file
84979 ml_norecursion=yes
84980 . ${multi_basedir}/config-ml.in
84981 { ml_norecursion=; unset ml_norecursion;}
84983 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84985 esac
84986 done # for ac_tag
84989 as_fn_exit 0
84990 _ACEOF
84991 ac_clean_files=$ac_clean_files_save
84993 test $ac_write_fail = 0 ||
84994 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84997 # configure is writing to config.log, and then calls config.status.
84998 # config.status does its own redirection, appending to config.log.
84999 # Unfortunately, on DOS this fails, as config.log is still kept open
85000 # by configure, so config.status won't be able to write to it; its
85001 # output is simply discarded. So we exec the FD to /dev/null,
85002 # effectively closing config.log, so it can be properly (re)opened and
85003 # appended to by config.status. When coming back to configure, we
85004 # need to make the FD available again.
85005 if test "$no_create" != yes; then
85006 ac_cs_success=:
85007 ac_config_status_args=
85008 test "$silent" = yes &&
85009 ac_config_status_args="$ac_config_status_args --quiet"
85010 exec 5>/dev/null
85011 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85012 exec 5>>config.log
85013 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85014 # would make configure fail if this is the last instruction.
85015 $ac_cs_success || as_fn_exit $?
85017 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85019 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}