2012-09-04 Janus Weil <janus@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / configure
blob9ea8042a1ca9d00350a95b24781c49ae5168325f
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 PIC_CXXFLAGS
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 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_PDF_FALSE
622 BUILD_PDF_TRUE
623 PDFLATEX
624 DBLATEX
625 BUILD_MAN_FALSE
626 BUILD_MAN_TRUE
627 BUILD_HTML_FALSE
628 BUILD_HTML_TRUE
629 BUILD_XML_FALSE
630 BUILD_XML_TRUE
631 BUILD_EPUB_FALSE
632 BUILD_EPUB_TRUE
633 XSL_STYLE_DIR
634 XMLLINT
635 XSLTPROC
637 DOXYGEN
638 BUILD_INFO_FALSE
639 BUILD_INFO_TRUE
640 baseline_subdir_switch
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 libtool_VERSION
647 ENABLE_SYMVERS_SUN_FALSE
648 ENABLE_SYMVERS_SUN_TRUE
649 ENABLE_SYMVERS_DARWIN_FALSE
650 ENABLE_SYMVERS_DARWIN_TRUE
651 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
652 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
653 ENABLE_SYMVERS_GNU_FALSE
654 ENABLE_SYMVERS_GNU_TRUE
655 ENABLE_SYMVERS_FALSE
656 ENABLE_SYMVERS_TRUE
657 port_specific_symbol_files
658 SYMVER_FILE
659 CXXFILT
660 LTLIBICONV
661 LIBICONV
662 OPT_LDFLAGS
663 SECTION_LDFLAGS
664 GLIBCXX_LIBS
665 ENABLE_WERROR_FALSE
666 ENABLE_WERROR_TRUE
667 ENABLE_PYTHONDIR_FALSE
668 ENABLE_PYTHONDIR_TRUE
669 python_mod_dir
670 ENABLE_EXTERN_TEMPLATE_FALSE
671 ENABLE_EXTERN_TEMPLATE_TRUE
672 EXTRA_CXX_FLAGS
673 ENABLE_PARALLEL_FALSE
674 ENABLE_PARALLEL_TRUE
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
727 ac_ct_DUMPBIN
728 DUMPBIN
730 FGREP
732 LIBTOOL
733 EGREP
734 GREP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
742 LN_S
743 toplevel_srcdir
744 toplevel_builddir
745 glibcxx_srcdir
746 glibcxx_builddir
747 ac_ct_CXX
748 CXXFLAGS
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
757 am__untar
758 am__tar
759 AMTAR
760 am__leading_dot
761 SET_MAKE
763 mkdir_p
764 MKDIR_P
765 INSTALL_STRIP_PROGRAM
766 STRIP
767 install_sh
768 MAKEINFO
769 AUTOHEADER
770 AUTOMAKE
771 AUTOCONF
772 ACLOCAL
773 VERSION
774 PACKAGE
775 CYGPATH_W
776 am__isrc
777 INSTALL_DATA
778 INSTALL_SCRIPT
779 INSTALL_PROGRAM
780 target_os
781 target_vendor
782 target_cpu
783 target
784 host_os
785 host_vendor
786 host_cpu
787 host
788 build_os
789 build_vendor
790 build_cpu
791 build
792 multi_basedir
793 target_alias
794 host_alias
795 build_alias
796 LIBS
797 ECHO_T
798 ECHO_N
799 ECHO_C
800 DEFS
801 mandir
802 localedir
803 libdir
804 psdir
805 pdfdir
806 dvidir
807 htmldir
808 infodir
809 docdir
810 oldincludedir
811 includedir
812 localstatedir
813 sharedstatedir
814 sysconfdir
815 datadir
816 datarootdir
817 libexecdir
818 sbindir
819 bindir
820 program_transform_name
821 prefix
822 exec_prefix
823 PACKAGE_URL
824 PACKAGE_BUGREPORT
825 PACKAGE_STRING
826 PACKAGE_VERSION
827 PACKAGE_TARNAME
828 PACKAGE_NAME
829 PATH_SEPARATOR
830 SHELL'
831 ac_subst_files=''
832 ac_user_opts='
833 enable_option_checking
834 enable_multilib
835 with_target_subdir
836 with_cross_host
837 with_newlib
838 enable_maintainer_mode
839 enable_shared
840 enable_static
841 with_pic
842 enable_fast_install
843 with_gnu_ld
844 enable_libtool_lock
845 enable_hosted_libstdcxx
846 enable_sjlj_exceptions
847 enable_libstdcxx_pch
848 enable_cstdio
849 enable_clocale
850 enable_nls
851 enable_libstdcxx_allocator
852 enable_cheaders
853 enable_long_long
854 enable_wchar_t
855 enable_c99
856 enable_concept_checks
857 enable_libstdcxx_debug_flags
858 enable_libstdcxx_debug
859 enable_cxx_flags
860 enable_fully_dynamic_string
861 enable_extern_template
862 with_python_dir
863 enable_werror
864 enable_libstdcxx_time
865 enable_tls
866 enable_rpath
867 with_libiconv_prefix
868 with_system_libunwind
869 enable_linux_futex
870 enable_symvers
871 enable_libstdcxx_visibility
872 enable_libstdcxx_threads
873 with_gxx_include_dir
874 enable_version_specific_runtime_libs
876 ac_precious_vars='build_alias
877 host_alias
878 target_alias
880 CFLAGS
881 LDFLAGS
882 LIBS
883 CPPFLAGS
885 CXXFLAGS
888 CXXCPP
889 CXXFILT'
892 # Initialize some variables set by options.
893 ac_init_help=
894 ac_init_version=false
895 ac_unrecognized_opts=
896 ac_unrecognized_sep=
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
899 cache_file=/dev/null
900 exec_prefix=NONE
901 no_create=
902 no_recursion=
903 prefix=NONE
904 program_prefix=NONE
905 program_suffix=NONE
906 program_transform_name=s,x,x,
907 silent=
908 site=
909 srcdir=
910 verbose=
911 x_includes=NONE
912 x_libraries=NONE
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir='${exec_prefix}/bin'
921 sbindir='${exec_prefix}/sbin'
922 libexecdir='${exec_prefix}/libexec'
923 datarootdir='${prefix}/share'
924 datadir='${datarootdir}'
925 sysconfdir='${prefix}/etc'
926 sharedstatedir='${prefix}/com'
927 localstatedir='${prefix}/var'
928 includedir='${prefix}/include'
929 oldincludedir='/usr/include'
930 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir='${datarootdir}/info'
932 htmldir='${docdir}'
933 dvidir='${docdir}'
934 pdfdir='${docdir}'
935 psdir='${docdir}'
936 libdir='${exec_prefix}/lib'
937 localedir='${datarootdir}/locale'
938 mandir='${datarootdir}/man'
940 ac_prev=
941 ac_dashdash=
942 for ac_option
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\$ac_option
947 ac_prev=
948 continue
951 case $ac_option in
952 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953 *) ac_optarg=yes ;;
954 esac
956 # Accept the important Cygnus configure options, so we can diagnose typos.
958 case $ac_dashdash$ac_option in
960 ac_dashdash=yes ;;
962 -bindir | --bindir | --bindi | --bind | --bin | --bi)
963 ac_prev=bindir ;;
964 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
965 bindir=$ac_optarg ;;
967 -build | --build | --buil | --bui | --bu)
968 ac_prev=build_alias ;;
969 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
970 build_alias=$ac_optarg ;;
972 -cache-file | --cache-file | --cache-fil | --cache-fi \
973 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
974 ac_prev=cache_file ;;
975 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
976 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
977 cache_file=$ac_optarg ;;
979 --config-cache | -C)
980 cache_file=config.cache ;;
982 -datadir | --datadir | --datadi | --datad)
983 ac_prev=datadir ;;
984 -datadir=* | --datadir=* | --datadi=* | --datad=*)
985 datadir=$ac_optarg ;;
987 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
988 | --dataroo | --dataro | --datar)
989 ac_prev=datarootdir ;;
990 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
991 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
992 datarootdir=$ac_optarg ;;
994 -disable-* | --disable-*)
995 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 as_fn_error "invalid feature name: $ac_useropt"
999 ac_useropt_orig=$ac_useropt
1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1003 "enable_$ac_useropt"
1004 "*) ;;
1005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1006 ac_unrecognized_sep=', ';;
1007 esac
1008 eval enable_$ac_useropt=no ;;
1010 -docdir | --docdir | --docdi | --doc | --do)
1011 ac_prev=docdir ;;
1012 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1013 docdir=$ac_optarg ;;
1015 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1016 ac_prev=dvidir ;;
1017 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1018 dvidir=$ac_optarg ;;
1020 -enable-* | --enable-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error "invalid feature name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1029 "enable_$ac_useropt"
1030 "*) ;;
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1033 esac
1034 eval enable_$ac_useropt=\$ac_optarg ;;
1036 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1037 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1038 | --exec | --exe | --ex)
1039 ac_prev=exec_prefix ;;
1040 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1041 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1042 | --exec=* | --exe=* | --ex=*)
1043 exec_prefix=$ac_optarg ;;
1045 -gas | --gas | --ga | --g)
1046 # Obsolete; use --with-gas.
1047 with_gas=yes ;;
1049 -help | --help | --hel | --he | -h)
1050 ac_init_help=long ;;
1051 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1052 ac_init_help=recursive ;;
1053 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1054 ac_init_help=short ;;
1056 -host | --host | --hos | --ho)
1057 ac_prev=host_alias ;;
1058 -host=* | --host=* | --hos=* | --ho=*)
1059 host_alias=$ac_optarg ;;
1061 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1062 ac_prev=htmldir ;;
1063 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1064 | --ht=*)
1065 htmldir=$ac_optarg ;;
1067 -includedir | --includedir | --includedi | --included | --include \
1068 | --includ | --inclu | --incl | --inc)
1069 ac_prev=includedir ;;
1070 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1071 | --includ=* | --inclu=* | --incl=* | --inc=*)
1072 includedir=$ac_optarg ;;
1074 -infodir | --infodir | --infodi | --infod | --info | --inf)
1075 ac_prev=infodir ;;
1076 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1077 infodir=$ac_optarg ;;
1079 -libdir | --libdir | --libdi | --libd)
1080 ac_prev=libdir ;;
1081 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1082 libdir=$ac_optarg ;;
1084 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1085 | --libexe | --libex | --libe)
1086 ac_prev=libexecdir ;;
1087 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1088 | --libexe=* | --libex=* | --libe=*)
1089 libexecdir=$ac_optarg ;;
1091 -localedir | --localedir | --localedi | --localed | --locale)
1092 ac_prev=localedir ;;
1093 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1094 localedir=$ac_optarg ;;
1096 -localstatedir | --localstatedir | --localstatedi | --localstated \
1097 | --localstate | --localstat | --localsta | --localst | --locals)
1098 ac_prev=localstatedir ;;
1099 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1100 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1101 localstatedir=$ac_optarg ;;
1103 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1104 ac_prev=mandir ;;
1105 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1106 mandir=$ac_optarg ;;
1108 -nfp | --nfp | --nf)
1109 # Obsolete; use --without-fp.
1110 with_fp=no ;;
1112 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1113 | --no-cr | --no-c | -n)
1114 no_create=yes ;;
1116 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1117 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1118 no_recursion=yes ;;
1120 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1121 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1122 | --oldin | --oldi | --old | --ol | --o)
1123 ac_prev=oldincludedir ;;
1124 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1125 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1126 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1127 oldincludedir=$ac_optarg ;;
1129 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1130 ac_prev=prefix ;;
1131 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1132 prefix=$ac_optarg ;;
1134 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1135 | --program-pre | --program-pr | --program-p)
1136 ac_prev=program_prefix ;;
1137 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1138 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1139 program_prefix=$ac_optarg ;;
1141 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1142 | --program-suf | --program-su | --program-s)
1143 ac_prev=program_suffix ;;
1144 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1145 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1146 program_suffix=$ac_optarg ;;
1148 -program-transform-name | --program-transform-name \
1149 | --program-transform-nam | --program-transform-na \
1150 | --program-transform-n | --program-transform- \
1151 | --program-transform | --program-transfor \
1152 | --program-transfo | --program-transf \
1153 | --program-trans | --program-tran \
1154 | --progr-tra | --program-tr | --program-t)
1155 ac_prev=program_transform_name ;;
1156 -program-transform-name=* | --program-transform-name=* \
1157 | --program-transform-nam=* | --program-transform-na=* \
1158 | --program-transform-n=* | --program-transform-=* \
1159 | --program-transform=* | --program-transfor=* \
1160 | --program-transfo=* | --program-transf=* \
1161 | --program-trans=* | --program-tran=* \
1162 | --progr-tra=* | --program-tr=* | --program-t=*)
1163 program_transform_name=$ac_optarg ;;
1165 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1166 ac_prev=pdfdir ;;
1167 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1168 pdfdir=$ac_optarg ;;
1170 -psdir | --psdir | --psdi | --psd | --ps)
1171 ac_prev=psdir ;;
1172 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1173 psdir=$ac_optarg ;;
1175 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1176 | -silent | --silent | --silen | --sile | --sil)
1177 silent=yes ;;
1179 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1180 ac_prev=sbindir ;;
1181 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1182 | --sbi=* | --sb=*)
1183 sbindir=$ac_optarg ;;
1185 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1186 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1187 | --sharedst | --shareds | --shared | --share | --shar \
1188 | --sha | --sh)
1189 ac_prev=sharedstatedir ;;
1190 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1191 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1192 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1193 | --sha=* | --sh=*)
1194 sharedstatedir=$ac_optarg ;;
1196 -site | --site | --sit)
1197 ac_prev=site ;;
1198 -site=* | --site=* | --sit=*)
1199 site=$ac_optarg ;;
1201 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1202 ac_prev=srcdir ;;
1203 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1204 srcdir=$ac_optarg ;;
1206 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1207 | --syscon | --sysco | --sysc | --sys | --sy)
1208 ac_prev=sysconfdir ;;
1209 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1210 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1211 sysconfdir=$ac_optarg ;;
1213 -target | --target | --targe | --targ | --tar | --ta | --t)
1214 ac_prev=target_alias ;;
1215 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1216 target_alias=$ac_optarg ;;
1218 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1219 verbose=yes ;;
1221 -version | --version | --versio | --versi | --vers | -V)
1222 ac_init_version=: ;;
1224 -with-* | --with-*)
1225 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1228 as_fn_error "invalid package name: $ac_useropt"
1229 ac_useropt_orig=$ac_useropt
1230 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 case $ac_user_opts in
1233 "with_$ac_useropt"
1234 "*) ;;
1235 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1236 ac_unrecognized_sep=', ';;
1237 esac
1238 eval with_$ac_useropt=\$ac_optarg ;;
1240 -without-* | --without-*)
1241 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1244 as_fn_error "invalid package name: $ac_useropt"
1245 ac_useropt_orig=$ac_useropt
1246 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247 case $ac_user_opts in
1249 "with_$ac_useropt"
1250 "*) ;;
1251 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1252 ac_unrecognized_sep=', ';;
1253 esac
1254 eval with_$ac_useropt=no ;;
1256 --x)
1257 # Obsolete; use --with-x.
1258 with_x=yes ;;
1260 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1261 | --x-incl | --x-inc | --x-in | --x-i)
1262 ac_prev=x_includes ;;
1263 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1264 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1265 x_includes=$ac_optarg ;;
1267 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1268 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1269 ac_prev=x_libraries ;;
1270 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1271 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1272 x_libraries=$ac_optarg ;;
1274 -*) as_fn_error "unrecognized option: \`$ac_option'
1275 Try \`$0 --help' for more information."
1278 *=*)
1279 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1280 # Reject names that are not valid shell variable names.
1281 case $ac_envvar in #(
1282 '' | [0-9]* | *[!_$as_cr_alnum]* )
1283 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1284 esac
1285 eval $ac_envvar=\$ac_optarg
1286 export $ac_envvar ;;
1289 # FIXME: should be removed in autoconf 3.0.
1290 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1292 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1296 esac
1297 done
1299 if test -n "$ac_prev"; then
1300 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1301 as_fn_error "missing argument to $ac_option"
1304 if test -n "$ac_unrecognized_opts"; then
1305 case $enable_option_checking in
1306 no) ;;
1307 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1308 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1309 esac
1312 # Check all directory arguments for consistency.
1313 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1314 datadir sysconfdir sharedstatedir localstatedir includedir \
1315 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1316 libdir localedir mandir
1318 eval ac_val=\$$ac_var
1319 # Remove trailing slashes.
1320 case $ac_val in
1321 */ )
1322 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1323 eval $ac_var=\$ac_val;;
1324 esac
1325 # Be sure to have absolute directory names.
1326 case $ac_val in
1327 [\\/$]* | ?:[\\/]* ) continue;;
1328 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1329 esac
1330 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1331 done
1333 # There might be people who depend on the old broken behavior: `$host'
1334 # used to hold the argument of --host etc.
1335 # FIXME: To remove some day.
1336 build=$build_alias
1337 host=$host_alias
1338 target=$target_alias
1340 # FIXME: To remove some day.
1341 if test "x$host_alias" != x; then
1342 if test "x$build_alias" = x; then
1343 cross_compiling=maybe
1344 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1345 If a cross compiler is detected then cross compile mode will be used." >&2
1346 elif test "x$build_alias" != "x$host_alias"; then
1347 cross_compiling=yes
1351 ac_tool_prefix=
1352 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1354 test "$silent" = yes && exec 6>/dev/null
1357 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1358 ac_ls_di=`ls -di .` &&
1359 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1360 as_fn_error "working directory cannot be determined"
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362 as_fn_error "pwd does not report name of working directory"
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367 ac_srcdir_defaulted=yes
1368 # Try the directory containing this script, then the parent directory.
1369 ac_confdir=`$as_dirname -- "$as_myself" ||
1370 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371 X"$as_myself" : 'X\(//\)[^/]' \| \
1372 X"$as_myself" : 'X\(//\)$' \| \
1373 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1374 $as_echo X"$as_myself" |
1375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376 s//\1/
1379 /^X\(\/\/\)[^/].*/{
1380 s//\1/
1383 /^X\(\/\/\)$/{
1384 s//\1/
1387 /^X\(\/\).*/{
1388 s//\1/
1391 s/.*/./; q'`
1392 srcdir=$ac_confdir
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 srcdir=..
1396 else
1397 ac_srcdir_defaulted=no
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1401 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1403 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 ac_abs_confdir=`(
1405 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1406 pwd)`
1407 # When building in place, set srcdir=.
1408 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 srcdir=.
1411 # Remove unnecessary trailing slashes from srcdir.
1412 # Double slashes in file names in object file debugging info
1413 # mess up M-x gdb in Emacs.
1414 case $srcdir in
1415 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 esac
1417 for ac_var in $ac_precious_vars; do
1418 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1419 eval ac_env_${ac_var}_value=\$${ac_var}
1420 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1421 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 done
1425 # Report the --help message.
1427 if test "$ac_init_help" = "long"; then
1428 # Omit some internal or obsolete options to make the list less imposing.
1429 # This message is too long to be a string in the A/UX 3.1 sh.
1430 cat <<_ACEOF
1431 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE. See below for descriptions of some of the useful variables.
1438 Defaults for the options are specified in brackets.
1440 Configuration:
1441 -h, --help display this help and exit
1442 --help=short display options specific to this package
1443 --help=recursive display the short help of all the included packages
1444 -V, --version display version information and exit
1445 -q, --quiet, --silent do not print \`checking...' messages
1446 --cache-file=FILE cache test results in FILE [disabled]
1447 -C, --config-cache alias for \`--cache-file=config.cache'
1448 -n, --no-create do not create output files
1449 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 [$ac_default_prefix]
1454 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1455 [PREFIX]
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1462 For better control, use the options below.
1464 Fine tuning of the installation directories:
1465 --bindir=DIR user executables [EPREFIX/bin]
1466 --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 --libexecdir=DIR program executables [EPREFIX/libexec]
1468 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1469 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1470 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1471 --libdir=DIR object code libraries [EPREFIX/lib]
1472 --includedir=DIR C header files [PREFIX/include]
1473 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1474 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1475 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1476 --infodir=DIR info documentation [DATAROOTDIR/info]
1477 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1478 --mandir=DIR man documentation [DATAROOTDIR/man]
1479 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1480 --htmldir=DIR html documentation [DOCDIR]
1481 --dvidir=DIR dvi documentation [DOCDIR]
1482 --pdfdir=DIR pdf documentation [DOCDIR]
1483 --psdir=DIR ps documentation [DOCDIR]
1484 _ACEOF
1486 cat <<\_ACEOF
1488 Program names:
1489 --program-prefix=PREFIX prepend PREFIX to installed program names
1490 --program-suffix=SUFFIX append SUFFIX to installed program names
1491 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1493 System types:
1494 --build=BUILD configure for building on BUILD [guessed]
1495 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1496 --target=TARGET configure for building compilers for TARGET [HOST]
1497 _ACEOF
1500 if test -n "$ac_init_help"; then
1501 case $ac_init_help in
1502 short | recursive ) echo "Configuration of package-unused version-unused:";;
1503 esac
1504 cat <<\_ACEOF
1506 Optional Features:
1507 --disable-option-checking ignore unrecognized --enable/--with options
1508 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1509 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1510 --enable-multilib build many library versions (default)
1511 --enable-maintainer-mode enable make rules and dependencies not useful
1512 (and sometimes confusing) to the casual installer
1513 --enable-shared[=PKGS] build shared libraries [default=yes]
1514 --enable-static[=PKGS] build static libraries [default=yes]
1515 --enable-fast-install[=PKGS]
1516 optimize for fast installation [default=yes]
1517 --disable-libtool-lock avoid locking (might break parallel builds)
1518 --disable-hosted-libstdcxx
1519 only build freestanding C++ runtime support
1520 --enable-sjlj-exceptions
1521 force use of builtin_setjmp for exceptions
1522 [default=auto]
1523 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1524 [default=$is_hosted]
1525 --enable-cstdio[=PACKAGE]
1526 use target-specific I/O package [default=stdio]
1527 --enable-clocale[=MODEL]
1528 use MODEL for target locale package [default=auto]
1529 --enable-nls use Native Language Support (default)
1530 --enable-libstdcxx-allocator[=KIND]
1531 use KIND for target std::allocator base
1532 [default=auto]
1533 --enable-cheaders[=KIND]
1534 construct "C" headers for g++ [default=$c_model]
1535 --enable-long-long enable template specializations for 'long long'
1536 [default=yes]
1537 --enable-wchar_t enable template specializations for 'wchar_t'
1538 [default=yes]
1539 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1540 --enable-concept-checks use Boost-derived template checks [default=no]
1541 --enable-libstdcxx-debug-flags=FLAGS
1542 pass compiler FLAGS when building debug library
1543 [default="-gdwarf-4 -g3 -O0"]
1544 --enable-libstdcxx-debug
1545 build extra debug library [default=no]
1546 --enable-cxx-flags=FLAGS
1547 pass compiler FLAGS when building library [default=]
1548 --enable-fully-dynamic-string
1549 do not put empty strings in per-process static
1550 memory [default=no]
1551 --enable-extern-template
1552 enable extern template [default=yes]
1553 --enable-werror turns on -Werror [default=yes]
1554 --enable-libstdcxx-time[=KIND]
1555 use KIND for check type [default=no]
1556 --enable-tls Use thread-local storage [default=yes]
1557 --disable-rpath do not hardcode runtime library paths
1558 --enable-linux-futex use the Linux futex system call [default=default]
1559 --enable-symvers[=STYLE]
1560 enables symbol versioning of the shared library
1561 [default=yes]
1562 --enable-libstdcxx-visibility
1563 enables visibility safe usage [default=yes]
1564 --enable-libstdcxx-threads
1565 enable C++11 threads support [default=auto]
1566 --enable-version-specific-runtime-libs
1567 Specify that runtime libraries should be installed
1568 in a compiler-specific directory
1570 Optional Packages:
1571 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1572 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1573 --with-target-subdir=SUBDIR
1574 configuring in a subdirectory
1575 --with-cross-host=HOST configuring with a cross compiler
1576 --with-newlib assume newlib as a system C library
1577 --with-pic try to use only PIC/non-PIC objects [default=use
1578 both]
1579 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1580 --with-python-dir the location to install Python modules. This path is
1581 relative starting from the prefix.
1582 --with-gnu-ld assume the C compiler uses GNU ld default=no
1583 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1584 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1585 --with-system-libunwind use installed libunwind
1586 --with-gxx-include-dir=DIR
1587 installation directory for include files
1589 Some influential environment variables:
1590 CC C compiler command
1591 CFLAGS C compiler flags
1592 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1593 nonstandard directory <lib dir>
1594 LIBS libraries to pass to the linker, e.g. -l<library>
1595 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1596 you have headers in a nonstandard directory <include dir>
1597 CXX C++ compiler command
1598 CXXFLAGS C++ compiler flags
1599 CPP C preprocessor
1600 CXXCPP C++ preprocessor
1601 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1602 `c++filt', `gc++filt' on PATH.
1604 Use these variables to override the choices made by `configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1607 Report bugs to the package provider.
1608 _ACEOF
1609 ac_status=$?
1612 if test "$ac_init_help" = "recursive"; then
1613 # If there are subdirs, report their specific --help.
1614 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1615 test -d "$ac_dir" ||
1616 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1617 continue
1618 ac_builddir=.
1620 case "$ac_dir" in
1621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1623 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1624 # A ".." for each directory in $ac_dir_suffix.
1625 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1626 case $ac_top_builddir_sub in
1627 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1629 esac ;;
1630 esac
1631 ac_abs_top_builddir=$ac_pwd
1632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1633 # for backward compatibility:
1634 ac_top_builddir=$ac_top_build_prefix
1636 case $srcdir in
1637 .) # We are building in place.
1638 ac_srcdir=.
1639 ac_top_srcdir=$ac_top_builddir_sub
1640 ac_abs_top_srcdir=$ac_pwd ;;
1641 [\\/]* | ?:[\\/]* ) # Absolute name.
1642 ac_srcdir=$srcdir$ac_dir_suffix;
1643 ac_top_srcdir=$srcdir
1644 ac_abs_top_srcdir=$srcdir ;;
1645 *) # Relative name.
1646 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1647 ac_top_srcdir=$ac_top_build_prefix$srcdir
1648 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1649 esac
1650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1652 cd "$ac_dir" || { ac_status=$?; continue; }
1653 # Check for guested configure.
1654 if test -f "$ac_srcdir/configure.gnu"; then
1655 echo &&
1656 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1657 elif test -f "$ac_srcdir/configure"; then
1658 echo &&
1659 $SHELL "$ac_srcdir/configure" --help=recursive
1660 else
1661 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662 fi || ac_status=$?
1663 cd "$ac_pwd" || { ac_status=$?; break; }
1664 done
1667 test -n "$ac_init_help" && exit $ac_status
1668 if $ac_init_version; then
1669 cat <<\_ACEOF
1670 package-unused configure version-unused
1671 generated by GNU Autoconf 2.64
1673 Copyright (C) 2009 Free Software Foundation, Inc.
1674 This configure script is free software; the Free Software Foundation
1675 gives unlimited permission to copy, distribute and modify it.
1676 _ACEOF
1677 exit
1680 ## ------------------------ ##
1681 ## Autoconf initialization. ##
1682 ## ------------------------ ##
1684 # ac_fn_c_try_compile LINENO
1685 # --------------------------
1686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1687 ac_fn_c_try_compile ()
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext
1691 if { { ac_try="$ac_compile"
1692 case "(($ac_try" in
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_compile") 2>conftest.err
1699 ac_status=$?
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest.$ac_objext; then :
1710 ac_retval=0
1711 else
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1715 ac_retval=1
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718 return $ac_retval
1720 } # ac_fn_c_try_compile
1722 # ac_fn_cxx_try_compile LINENO
1723 # ----------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_cxx_try_compile ()
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 rm -f conftest.$ac_objext
1729 if { { ac_try="$ac_compile"
1730 case "(($ac_try" in
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1733 esac
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_compile") 2>conftest.err
1737 ac_status=$?
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_cxx_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest.$ac_objext; then :
1748 ac_retval=0
1749 else
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1753 ac_retval=1
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756 return $ac_retval
1758 } # ac_fn_cxx_try_compile
1760 # ac_fn_c_try_cpp LINENO
1761 # ----------------------
1762 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_c_try_cpp ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 if { { ac_try="$ac_cpp conftest.$ac_ext"
1767 case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1774 ac_status=$?
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } >/dev/null && {
1782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1784 }; then :
1785 ac_retval=0
1786 else
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1790 ac_retval=1
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 return $ac_retval
1795 } # ac_fn_c_try_cpp
1797 # ac_fn_c_try_link LINENO
1798 # -----------------------
1799 # Try to link conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_c_try_link ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 rm -f conftest.$ac_objext conftest$ac_exeext
1804 if { { ac_try="$ac_link"
1805 case "(($ac_try" in
1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1808 esac
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_link") 2>conftest.err
1812 ac_status=$?
1813 if test -s conftest.err; then
1814 grep -v '^ *+' conftest.err >conftest.er1
1815 cat conftest.er1 >&5
1816 mv -f conftest.er1 conftest.err
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && {
1820 test -z "$ac_c_werror_flag" ||
1821 test ! -s conftest.err
1822 } && test -s conftest$ac_exeext && {
1823 test "$cross_compiling" = yes ||
1824 $as_test_x conftest$ac_exeext
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 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1835 # interfere with the next link command; also delete a directory that is
1836 # left behind by Apple's compiler. We do this before executing the actions.
1837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1838 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839 return $ac_retval
1841 } # ac_fn_c_try_link
1843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1844 # -------------------------------------------------------
1845 # Tests whether HEADER exists and can be compiled using the include files in
1846 # INCLUDES, setting the cache variable VAR accordingly.
1847 ac_fn_c_check_header_compile ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 $as_echo_n "(cached) " >&6
1854 else
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1858 #include <$2>
1859 _ACEOF
1860 if ac_fn_c_try_compile "$LINENO"; then :
1861 eval "$3=yes"
1862 else
1863 eval "$3=no"
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867 eval ac_res=\$$3
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872 } # ac_fn_c_check_header_compile
1874 # ac_fn_c_try_run LINENO
1875 # ----------------------
1876 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1877 # that executables *can* be run.
1878 ac_fn_c_try_run ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 if { { ac_try="$ac_link"
1882 case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_link") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1892 { { case "(($ac_try" in
1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894 *) ac_try_echo=$ac_try;;
1895 esac
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_try") 2>&5
1899 ac_status=$?
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; }; }; then :
1902 ac_retval=0
1903 else
1904 $as_echo "$as_me: program exited with status $ac_status" >&5
1905 $as_echo "$as_me: failed program was:" >&5
1906 sed 's/^/| /' conftest.$ac_ext >&5
1908 ac_retval=$ac_status
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912 return $ac_retval
1914 } # ac_fn_c_try_run
1916 # ac_fn_c_check_func LINENO FUNC VAR
1917 # ----------------------------------
1918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1919 ac_fn_c_check_func ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1925 $as_echo_n "(cached) " >&6
1926 else
1927 if test x$gcc_no_link = xyes; then
1928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1932 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1934 #define $2 innocuous_$2
1936 /* System header to define __stub macros and hopefully few prototypes,
1937 which can conflict with char $2 (); below.
1938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1939 <limits.h> exists even on freestanding compilers. */
1941 #ifdef __STDC__
1942 # include <limits.h>
1943 #else
1944 # include <assert.h>
1945 #endif
1947 #undef $2
1949 /* Override any GCC internal prototype to avoid an error.
1950 Use char because int might match the return type of a GCC
1951 builtin and then its argument prototype would still apply. */
1952 #ifdef __cplusplus
1953 extern "C"
1954 #endif
1955 char $2 ();
1956 /* The GNU C library defines this for functions which it implements
1957 to always fail with ENOSYS. Some functions are actually named
1958 something starting with __ and the normal name is an alias. */
1959 #if defined __stub_$2 || defined __stub___$2
1960 choke me
1961 #endif
1964 main ()
1966 return $2 ();
1968 return 0;
1970 _ACEOF
1971 if ac_fn_c_try_link "$LINENO"; then :
1972 eval "$3=yes"
1973 else
1974 eval "$3=no"
1976 rm -f core conftest.err conftest.$ac_objext \
1977 conftest$ac_exeext conftest.$ac_ext
1979 eval ac_res=\$$3
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984 } # ac_fn_c_check_func
1986 # ac_fn_cxx_try_cpp LINENO
1987 # ------------------------
1988 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_cpp ()
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 if { { ac_try="$ac_cpp conftest.$ac_ext"
1993 case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2000 ac_status=$?
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2003 cat conftest.er1 >&5
2004 mv -f conftest.er1 conftest.err
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } >/dev/null && {
2008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2009 test ! -s conftest.err
2010 }; then :
2011 ac_retval=0
2012 else
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2016 ac_retval=1
2018 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2019 return $ac_retval
2021 } # ac_fn_cxx_try_cpp
2023 # ac_fn_cxx_try_link LINENO
2024 # -------------------------
2025 # Try to link conftest.$ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_link ()
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 rm -f conftest.$ac_objext conftest$ac_exeext
2030 if { { ac_try="$ac_link"
2031 case "(($ac_try" in
2032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2033 *) ac_try_echo=$ac_try;;
2034 esac
2035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_link") 2>conftest.err
2038 ac_status=$?
2039 if test -s conftest.err; then
2040 grep -v '^ *+' conftest.err >conftest.er1
2041 cat conftest.er1 >&5
2042 mv -f conftest.er1 conftest.err
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && {
2046 test -z "$ac_cxx_werror_flag" ||
2047 test ! -s conftest.err
2048 } && test -s conftest$ac_exeext && {
2049 test "$cross_compiling" = yes ||
2050 $as_test_x conftest$ac_exeext
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 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2060 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2061 # interfere with the next link command; also delete a directory that is
2062 # left behind by Apple's compiler. We do this before executing the actions.
2063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2065 return $ac_retval
2067 } # ac_fn_cxx_try_link
2069 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2070 # -------------------------------------------------------
2071 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2072 # the include files in INCLUDES and setting the cache variable VAR
2073 # accordingly.
2074 ac_fn_c_check_header_mongrel ()
2076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 $as_echo_n "(cached) " >&6
2083 eval ac_res=\$$3
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2085 $as_echo "$ac_res" >&6; }
2086 else
2087 # Is the header compilable?
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2089 $as_echo_n "checking $2 usability... " >&6; }
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2093 #include <$2>
2094 _ACEOF
2095 if ac_fn_c_try_compile "$LINENO"; then :
2096 ac_header_compiler=yes
2097 else
2098 ac_header_compiler=no
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2102 $as_echo "$ac_header_compiler" >&6; }
2104 # Is the header present?
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2106 $as_echo_n "checking $2 presence... " >&6; }
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2109 #include <$2>
2110 _ACEOF
2111 if ac_fn_c_try_cpp "$LINENO"; then :
2112 ac_header_preproc=yes
2113 else
2114 ac_header_preproc=no
2116 rm -f conftest.err conftest.$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2118 $as_echo "$ac_header_preproc" >&6; }
2120 # So? What about this header?
2121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2122 yes:no: )
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2124 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2126 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2128 no:yes:* )
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2130 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2132 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2134 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2136 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2138 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2140 esac
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2144 $as_echo_n "(cached) " >&6
2145 else
2146 eval "$3=\$ac_header_compiler"
2148 eval ac_res=\$$3
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2150 $as_echo "$ac_res" >&6; }
2152 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2154 } # ac_fn_c_check_header_mongrel
2156 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2157 # ---------------------------------------------------------
2158 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2159 # the include files in INCLUDES and setting the cache variable VAR
2160 # accordingly.
2161 ac_fn_cxx_check_header_mongrel ()
2163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2166 $as_echo_n "checking for $2... " >&6; }
2167 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2168 $as_echo_n "(cached) " >&6
2170 eval ac_res=\$$3
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2172 $as_echo "$ac_res" >&6; }
2173 else
2174 # Is the header compilable?
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2176 $as_echo_n "checking $2 usability... " >&6; }
2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2180 #include <$2>
2181 _ACEOF
2182 if ac_fn_cxx_try_compile "$LINENO"; then :
2183 ac_header_compiler=yes
2184 else
2185 ac_header_compiler=no
2187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2189 $as_echo "$ac_header_compiler" >&6; }
2191 # Is the header present?
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2193 $as_echo_n "checking $2 presence... " >&6; }
2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2195 /* end confdefs.h. */
2196 #include <$2>
2197 _ACEOF
2198 if ac_fn_cxx_try_cpp "$LINENO"; then :
2199 ac_header_preproc=yes
2200 else
2201 ac_header_preproc=no
2203 rm -f conftest.err conftest.$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2205 $as_echo "$ac_header_preproc" >&6; }
2207 # So? What about this header?
2208 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2209 yes:no: )
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2211 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2213 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2215 no:yes:* )
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2217 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2219 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2221 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2223 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2225 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2227 esac
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2229 $as_echo_n "checking for $2... " >&6; }
2230 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2231 $as_echo_n "(cached) " >&6
2232 else
2233 eval "$3=\$ac_header_compiler"
2235 eval ac_res=\$$3
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2237 $as_echo "$ac_res" >&6; }
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2241 } # ac_fn_cxx_check_header_mongrel
2243 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2244 # --------------------------------------------
2245 # Tries to find the compile-time value of EXPR in a program that includes
2246 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2247 # computed
2248 ac_fn_c_compute_int ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 if test "$cross_compiling" = yes; then
2252 # Depending upon the size, compute the lo and hi bounds.
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2257 main ()
2259 static int test_array [1 - 2 * !(($2) >= 0)];
2260 test_array [0] = 0
2263 return 0;
2265 _ACEOF
2266 if ac_fn_c_try_compile "$LINENO"; then :
2267 ac_lo=0 ac_mid=0
2268 while :; do
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2273 main ()
2275 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2276 test_array [0] = 0
2279 return 0;
2281 _ACEOF
2282 if ac_fn_c_try_compile "$LINENO"; then :
2283 ac_hi=$ac_mid; break
2284 else
2285 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2286 if test $ac_lo -le $ac_mid; then
2287 ac_lo= ac_hi=
2288 break
2290 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 done
2294 else
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2299 main ()
2301 static int test_array [1 - 2 * !(($2) < 0)];
2302 test_array [0] = 0
2305 return 0;
2307 _ACEOF
2308 if ac_fn_c_try_compile "$LINENO"; then :
2309 ac_hi=-1 ac_mid=-1
2310 while :; do
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2315 main ()
2317 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2318 test_array [0] = 0
2321 return 0;
2323 _ACEOF
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_lo=$ac_mid; break
2326 else
2327 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2328 if test $ac_mid -le $ac_hi; then
2329 ac_lo= ac_hi=
2330 break
2332 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 done
2336 else
2337 ac_lo= ac_hi=
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 # Binary search between lo and hi bounds.
2343 while test "x$ac_lo" != "x$ac_hi"; do
2344 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2349 main ()
2351 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2352 test_array [0] = 0
2355 return 0;
2357 _ACEOF
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359 ac_hi=$ac_mid
2360 else
2361 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 done
2365 case $ac_lo in #((
2366 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2367 '') ac_retval=1 ;;
2368 esac
2369 else
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2373 static long int longval () { return $2; }
2374 static unsigned long int ulongval () { return $2; }
2375 #include <stdio.h>
2376 #include <stdlib.h>
2378 main ()
2381 FILE *f = fopen ("conftest.val", "w");
2382 if (! f)
2383 return 1;
2384 if (($2) < 0)
2386 long int i = longval ();
2387 if (i != ($2))
2388 return 1;
2389 fprintf (f, "%ld", i);
2391 else
2393 unsigned long int i = ulongval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%lu", i);
2398 /* Do not output a trailing newline, as this causes \r\n confusion
2399 on some platforms. */
2400 return ferror (f) || fclose (f) != 0;
2403 return 0;
2405 _ACEOF
2406 if ac_fn_c_try_run "$LINENO"; then :
2407 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2408 else
2409 ac_retval=1
2411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2412 conftest.$ac_objext conftest.beam conftest.$ac_ext
2413 rm -f conftest.val
2416 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2417 return $ac_retval
2419 } # ac_fn_c_compute_int
2421 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2422 # -------------------------------------------
2423 # Tests whether TYPE exists after having included INCLUDES, setting cache
2424 # variable VAR accordingly.
2425 ac_fn_c_check_type ()
2427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2429 $as_echo_n "checking for $2... " >&6; }
2430 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2431 $as_echo_n "(cached) " >&6
2432 else
2433 eval "$3=no"
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2438 main ()
2440 if (sizeof ($2))
2441 return 0;
2443 return 0;
2445 _ACEOF
2446 if ac_fn_c_try_compile "$LINENO"; then :
2447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2451 main ()
2453 if (sizeof (($2)))
2454 return 0;
2456 return 0;
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2461 else
2462 eval "$3=yes"
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468 eval ac_res=\$$3
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2470 $as_echo "$ac_res" >&6; }
2471 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2473 } # ac_fn_c_check_type
2474 cat >config.log <<_ACEOF
2475 This file contains any messages produced by compilers while
2476 running configure, to aid debugging if configure makes a mistake.
2478 It was created by package-unused $as_me version-unused, which was
2479 generated by GNU Autoconf 2.64. Invocation command line was
2481 $ $0 $@
2483 _ACEOF
2484 exec 5>>config.log
2486 cat <<_ASUNAME
2487 ## --------- ##
2488 ## Platform. ##
2489 ## --------- ##
2491 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2492 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2493 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2494 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2495 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2497 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2498 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2500 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2501 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2502 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2503 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2504 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2505 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2506 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2508 _ASUNAME
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 for as_dir in $PATH
2513 IFS=$as_save_IFS
2514 test -z "$as_dir" && as_dir=.
2515 $as_echo "PATH: $as_dir"
2516 done
2517 IFS=$as_save_IFS
2519 } >&5
2521 cat >&5 <<_ACEOF
2524 ## ----------- ##
2525 ## Core tests. ##
2526 ## ----------- ##
2528 _ACEOF
2531 # Keep a trace of the command line.
2532 # Strip out --no-create and --no-recursion so they do not pile up.
2533 # Strip out --silent because we don't want to record it for future runs.
2534 # Also quote any args containing shell meta-characters.
2535 # Make two passes to allow for proper duplicate-argument suppression.
2536 ac_configure_args=
2537 ac_configure_args0=
2538 ac_configure_args1=
2539 ac_must_keep_next=false
2540 for ac_pass in 1 2
2542 for ac_arg
2544 case $ac_arg in
2545 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2546 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2547 | -silent | --silent | --silen | --sile | --sil)
2548 continue ;;
2549 *\'*)
2550 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2551 esac
2552 case $ac_pass in
2553 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2555 as_fn_append ac_configure_args1 " '$ac_arg'"
2556 if test $ac_must_keep_next = true; then
2557 ac_must_keep_next=false # Got value, back to normal.
2558 else
2559 case $ac_arg in
2560 *=* | --config-cache | -C | -disable-* | --disable-* \
2561 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2562 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2563 | -with-* | --with-* | -without-* | --without-* | --x)
2564 case "$ac_configure_args0 " in
2565 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2566 esac
2568 -* ) ac_must_keep_next=true ;;
2569 esac
2571 as_fn_append ac_configure_args " '$ac_arg'"
2573 esac
2574 done
2575 done
2576 { ac_configure_args0=; unset ac_configure_args0;}
2577 { ac_configure_args1=; unset ac_configure_args1;}
2579 # When interrupted or exit'd, cleanup temporary files, and complete
2580 # config.log. We remove comments because anyway the quotes in there
2581 # would cause problems or look ugly.
2582 # WARNING: Use '\'' to represent an apostrophe within the trap.
2583 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2584 trap 'exit_status=$?
2585 # Save into config.log some information that might help in debugging.
2587 echo
2589 cat <<\_ASBOX
2590 ## ---------------- ##
2591 ## Cache variables. ##
2592 ## ---------------- ##
2593 _ASBOX
2594 echo
2595 # The following way of writing the cache mishandles newlines in values,
2597 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2598 eval ac_val=\$$ac_var
2599 case $ac_val in #(
2600 *${as_nl}*)
2601 case $ac_var in #(
2602 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2603 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2604 esac
2605 case $ac_var in #(
2606 _ | IFS | as_nl) ;; #(
2607 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2608 *) { eval $ac_var=; unset $ac_var;} ;;
2609 esac ;;
2610 esac
2611 done
2612 (set) 2>&1 |
2613 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2614 *${as_nl}ac_space=\ *)
2615 sed -n \
2616 "s/'\''/'\''\\\\'\'''\''/g;
2617 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2618 ;; #(
2620 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2622 esac |
2623 sort
2625 echo
2627 cat <<\_ASBOX
2628 ## ----------------- ##
2629 ## Output variables. ##
2630 ## ----------------- ##
2631 _ASBOX
2632 echo
2633 for ac_var in $ac_subst_vars
2635 eval ac_val=\$$ac_var
2636 case $ac_val in
2637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2638 esac
2639 $as_echo "$ac_var='\''$ac_val'\''"
2640 done | sort
2641 echo
2643 if test -n "$ac_subst_files"; then
2644 cat <<\_ASBOX
2645 ## ------------------- ##
2646 ## File substitutions. ##
2647 ## ------------------- ##
2648 _ASBOX
2649 echo
2650 for ac_var in $ac_subst_files
2652 eval ac_val=\$$ac_var
2653 case $ac_val in
2654 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2655 esac
2656 $as_echo "$ac_var='\''$ac_val'\''"
2657 done | sort
2658 echo
2661 if test -s confdefs.h; then
2662 cat <<\_ASBOX
2663 ## ----------- ##
2664 ## confdefs.h. ##
2665 ## ----------- ##
2666 _ASBOX
2667 echo
2668 cat confdefs.h
2669 echo
2671 test "$ac_signal" != 0 &&
2672 $as_echo "$as_me: caught signal $ac_signal"
2673 $as_echo "$as_me: exit $exit_status"
2674 } >&5
2675 rm -f core *.core core.conftest.* &&
2676 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2677 exit $exit_status
2679 for ac_signal in 1 2 13 15; do
2680 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2681 done
2682 ac_signal=0
2684 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2685 rm -f -r conftest* confdefs.h
2687 $as_echo "/* confdefs.h */" > confdefs.h
2689 # Predefined preprocessor variables.
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE_NAME "$PACKAGE_NAME"
2693 _ACEOF
2695 cat >>confdefs.h <<_ACEOF
2696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2697 _ACEOF
2699 cat >>confdefs.h <<_ACEOF
2700 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2701 _ACEOF
2703 cat >>confdefs.h <<_ACEOF
2704 #define PACKAGE_STRING "$PACKAGE_STRING"
2705 _ACEOF
2707 cat >>confdefs.h <<_ACEOF
2708 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2709 _ACEOF
2711 cat >>confdefs.h <<_ACEOF
2712 #define PACKAGE_URL "$PACKAGE_URL"
2713 _ACEOF
2716 # Let the site file select an alternate cache file if it wants to.
2717 # Prefer an explicitly selected file to automatically selected ones.
2718 ac_site_file1=NONE
2719 ac_site_file2=NONE
2720 if test -n "$CONFIG_SITE"; then
2721 ac_site_file1=$CONFIG_SITE
2722 elif test "x$prefix" != xNONE; then
2723 ac_site_file1=$prefix/share/config.site
2724 ac_site_file2=$prefix/etc/config.site
2725 else
2726 ac_site_file1=$ac_default_prefix/share/config.site
2727 ac_site_file2=$ac_default_prefix/etc/config.site
2729 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2731 test "x$ac_site_file" = xNONE && continue
2732 if test -r "$ac_site_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2734 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2735 sed 's/^/| /' "$ac_site_file" >&5
2736 . "$ac_site_file"
2738 done
2740 if test -r "$cache_file"; then
2741 # Some versions of bash will fail to source /dev/null (special
2742 # files actually), so we avoid doing that.
2743 if test -f "$cache_file"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2745 $as_echo "$as_me: loading cache $cache_file" >&6;}
2746 case $cache_file in
2747 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2748 *) . "./$cache_file";;
2749 esac
2751 else
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2753 $as_echo "$as_me: creating cache $cache_file" >&6;}
2754 >$cache_file
2757 # Check that the precious variables saved in the cache have kept the same
2758 # value.
2759 ac_cache_corrupted=false
2760 for ac_var in $ac_precious_vars; do
2761 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2762 eval ac_new_set=\$ac_env_${ac_var}_set
2763 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2764 eval ac_new_val=\$ac_env_${ac_var}_value
2765 case $ac_old_set,$ac_new_set in
2766 set,)
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2768 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2769 ac_cache_corrupted=: ;;
2770 ,set)
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2772 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2773 ac_cache_corrupted=: ;;
2774 ,);;
2776 if test "x$ac_old_val" != "x$ac_new_val"; then
2777 # differences in whitespace do not lead to failure.
2778 ac_old_val_w=`echo x $ac_old_val`
2779 ac_new_val_w=`echo x $ac_new_val`
2780 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2782 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2783 ac_cache_corrupted=:
2784 else
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2786 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2787 eval $ac_var=\$ac_old_val
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2790 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2792 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2793 fi;;
2794 esac
2795 # Pass precious variables to config.status.
2796 if test "$ac_new_set" = set; then
2797 case $ac_new_val in
2798 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2799 *) ac_arg=$ac_var=$ac_new_val ;;
2800 esac
2801 case " $ac_configure_args " in
2802 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2803 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2804 esac
2806 done
2807 if $ac_cache_corrupted; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2811 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2812 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2814 ## -------------------- ##
2815 ## Main body of script. ##
2816 ## -------------------- ##
2818 ac_ext=c
2819 ac_cpp='$CPP $CPPFLAGS'
2820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2829 ac_config_headers="$ac_config_headers config.h"
2832 # This works around the fact that libtool configuration may change LD
2833 # for this particular configuration, but some shells, instead of
2834 # keeping the changes in LD private, export them just because LD is
2835 # exported. Only used at the end of this file.
2836 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2838 # Find the rest of the source tree framework.
2839 # Default to --enable-multilib
2840 # Check whether --enable-multilib was given.
2841 if test "${enable_multilib+set}" = set; then :
2842 enableval=$enable_multilib; case "$enableval" in
2843 yes) multilib=yes ;;
2844 no) multilib=no ;;
2845 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2846 esac
2847 else
2848 multilib=yes
2852 # We may get other options which we leave undocumented:
2853 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2854 # See config-ml.in if you want the gory details.
2856 if test "$srcdir" = "."; then
2857 if test "$with_target_subdir" != "."; then
2858 multi_basedir="$srcdir/$with_multisrctop../.."
2859 else
2860 multi_basedir="$srcdir/$with_multisrctop.."
2862 else
2863 multi_basedir="$srcdir/.."
2867 # Even if the default multilib is not a cross compilation,
2868 # it may be that some of the other multilibs are.
2869 if test $cross_compiling = no && test $multilib = yes \
2870 && test "x${with_multisubdir}" != x ; then
2871 cross_compiling=maybe
2874 ac_config_commands="$ac_config_commands default-1"
2877 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2879 # You will slowly go insane if you do not grok the following fact: when
2880 # building v3 as part of the compiler, the top-level /target/ becomes the
2881 # library's /host/. configure then causes --target to default to --host,
2882 # exactly like any other package using autoconf. Therefore, 'target' and
2883 # 'host' will always be the same. This makes sense both for native and
2884 # cross compilers, just think about it for a little while. :-)
2886 # Also, if v3 is being configured as part of a cross compiler, the top-level
2887 # configure script will pass the "real" host as $with_cross_host.
2889 # Do not delete or change the following two lines. For why, see
2890 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2891 ac_aux_dir=
2892 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2893 for ac_t in install-sh install.sh shtool; do
2894 if test -f "$ac_dir/$ac_t"; then
2895 ac_aux_dir=$ac_dir
2896 ac_install_sh="$ac_aux_dir/$ac_t -c"
2897 break 2
2899 done
2900 done
2901 if test -z "$ac_aux_dir"; then
2902 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2905 # These three variables are undocumented and unsupported,
2906 # and are intended to be withdrawn in a future Autoconf release.
2907 # They can cause serious problems if a builder's source tree is in a directory
2908 # whose full name contains unusual characters.
2909 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2910 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2911 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2914 # Make sure we can run config.sub.
2915 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2916 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2919 $as_echo_n "checking build system type... " >&6; }
2920 if test "${ac_cv_build+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2922 else
2923 ac_build_alias=$build_alias
2924 test "x$ac_build_alias" = x &&
2925 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2926 test "x$ac_build_alias" = x &&
2927 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2928 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2929 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2933 $as_echo "$ac_cv_build" >&6; }
2934 case $ac_cv_build in
2935 *-*-*) ;;
2936 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2937 esac
2938 build=$ac_cv_build
2939 ac_save_IFS=$IFS; IFS='-'
2940 set x $ac_cv_build
2941 shift
2942 build_cpu=$1
2943 build_vendor=$2
2944 shift; shift
2945 # Remember, the first character of IFS is used to create $*,
2946 # except with old shells:
2947 build_os=$*
2948 IFS=$ac_save_IFS
2949 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2953 $as_echo_n "checking host system type... " >&6; }
2954 if test "${ac_cv_host+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2956 else
2957 if test "x$host_alias" = x; then
2958 ac_cv_host=$ac_cv_build
2959 else
2960 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2961 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2966 $as_echo "$ac_cv_host" >&6; }
2967 case $ac_cv_host in
2968 *-*-*) ;;
2969 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2970 esac
2971 host=$ac_cv_host
2972 ac_save_IFS=$IFS; IFS='-'
2973 set x $ac_cv_host
2974 shift
2975 host_cpu=$1
2976 host_vendor=$2
2977 shift; shift
2978 # Remember, the first character of IFS is used to create $*,
2979 # except with old shells:
2980 host_os=$*
2981 IFS=$ac_save_IFS
2982 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2986 $as_echo_n "checking target system type... " >&6; }
2987 if test "${ac_cv_target+set}" = set; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 if test "x$target_alias" = x; then
2991 ac_cv_target=$ac_cv_host
2992 else
2993 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2994 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2999 $as_echo "$ac_cv_target" >&6; }
3000 case $ac_cv_target in
3001 *-*-*) ;;
3002 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3003 esac
3004 target=$ac_cv_target
3005 ac_save_IFS=$IFS; IFS='-'
3006 set x $ac_cv_target
3007 shift
3008 target_cpu=$1
3009 target_vendor=$2
3010 shift; shift
3011 # Remember, the first character of IFS is used to create $*,
3012 # except with old shells:
3013 target_os=$*
3014 IFS=$ac_save_IFS
3015 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3018 # The aliases save the names the user supplied, while $host etc.
3019 # will get canonicalized.
3020 test -n "$target_alias" &&
3021 test "$program_prefix$program_suffix$program_transform_name" = \
3022 NONENONEs,x,x, &&
3023 program_prefix=${target_alias}-
3025 target_alias=${target_alias-$host_alias}
3027 # Handy for debugging:
3028 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3030 if test "$build" != "$host"; then
3031 # We are being configured with some form of cross compiler.
3032 GLIBCXX_IS_NATIVE=false
3033 case "$host","$target" in
3034 # Darwin crosses can use the host system's libraries and headers,
3035 # because of the fat library support. Of course, it must be the
3036 # same version of Darwin on both sides. Allow the user to
3037 # just say --target=foo-darwin without a version number to mean
3038 # "the version on this system".
3039 *-*-darwin*,*-*-darwin*)
3040 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3041 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3042 if test $hostos = $targetos -o $targetos = darwin ; then
3043 GLIBCXX_IS_NATIVE=true
3050 esac
3051 else
3052 GLIBCXX_IS_NATIVE=true
3055 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3056 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3057 # 1.x: minimum required version
3058 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3059 # of other PACKAGE_* variables will, however, and there's nothing
3060 # we can do about that; they come from AC_INIT).
3061 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3062 # file in the top srcdir, etc, etc), so stop complaining.
3063 # no-dependencies: turns off auto dependency generation (just for now)
3064 # no-dist: we don't want 'dist' and related rules.
3065 # -Wall: turns on all automake warnings...
3066 # -Wno-portability: ...except this one, since GNU make is now required.
3067 am__api_version='1.11'
3069 # Find a good install program. We prefer a C program (faster),
3070 # so one script is as good as another. But avoid the broken or
3071 # incompatible versions:
3072 # SysV /etc/install, /usr/sbin/install
3073 # SunOS /usr/etc/install
3074 # IRIX /sbin/install
3075 # AIX /bin/install
3076 # AmigaOS /C/install, which installs bootblocks on floppy discs
3077 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3078 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3079 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3080 # OS/2's system install, which has a completely different semantic
3081 # ./install, which can be erroneously created by make from ./install.sh.
3082 # Reject install programs that cannot install multiple files.
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3084 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3085 if test -z "$INSTALL"; then
3086 if test "${ac_cv_path_install+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3088 else
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in $PATH
3092 IFS=$as_save_IFS
3093 test -z "$as_dir" && as_dir=.
3094 # Account for people who put trailing slashes in PATH elements.
3095 case $as_dir/ in #((
3096 ./ | .// | /[cC]/* | \
3097 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3098 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3099 /usr/ucb/* ) ;;
3101 # OSF1 and SCO ODT 3.0 have their own names for install.
3102 # Don't use installbsd from OSF since it installs stuff as root
3103 # by default.
3104 for ac_prog in ginstall scoinst install; do
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3107 if test $ac_prog = install &&
3108 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3109 # AIX install. It has an incompatible calling convention.
3111 elif test $ac_prog = install &&
3112 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3113 # program-specific install script used by HP pwplus--don't use.
3115 else
3116 rm -rf conftest.one conftest.two conftest.dir
3117 echo one > conftest.one
3118 echo two > conftest.two
3119 mkdir conftest.dir
3120 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3121 test -s conftest.one && test -s conftest.two &&
3122 test -s conftest.dir/conftest.one &&
3123 test -s conftest.dir/conftest.two
3124 then
3125 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3126 break 3
3130 done
3131 done
3133 esac
3135 done
3136 IFS=$as_save_IFS
3138 rm -rf conftest.one conftest.two conftest.dir
3141 if test "${ac_cv_path_install+set}" = set; then
3142 INSTALL=$ac_cv_path_install
3143 else
3144 # As a last resort, use the slow shell script. Don't cache a
3145 # value for INSTALL within a source directory, because that will
3146 # break other packages using the cache if that directory is
3147 # removed, or if the value is a relative name.
3148 INSTALL=$ac_install_sh
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3152 $as_echo "$INSTALL" >&6; }
3154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3155 # It thinks the first close brace ends the variable substitution.
3156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3160 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3163 $as_echo_n "checking whether build environment is sane... " >&6; }
3164 # Just in case
3165 sleep 1
3166 echo timestamp > conftest.file
3167 # Reject unsafe characters in $srcdir or the absolute working directory
3168 # name. Accept space and tab only in the latter.
3169 am_lf='
3171 case `pwd` in
3172 *[\\\"\#\$\&\'\`$am_lf]*)
3173 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3174 esac
3175 case $srcdir in
3176 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3177 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3178 esac
3180 # Do `set' in a subshell so we don't clobber the current shell's
3181 # arguments. Must try -L first in case configure is actually a
3182 # symlink; some systems play weird games with the mod time of symlinks
3183 # (eg FreeBSD returns the mod time of the symlink's containing
3184 # directory).
3185 if (
3186 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3187 if test "$*" = "X"; then
3188 # -L didn't work.
3189 set X `ls -t "$srcdir/configure" conftest.file`
3191 rm -f conftest.file
3192 if test "$*" != "X $srcdir/configure conftest.file" \
3193 && test "$*" != "X conftest.file $srcdir/configure"; then
3195 # If neither matched, then we have a broken ls. This can happen
3196 # if, for instance, CONFIG_SHELL is bash and it inherits a
3197 # broken ls alias from the environment. This has actually
3198 # happened. Such a system could not be considered "sane".
3199 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3200 alias in your environment" "$LINENO" 5
3203 test "$2" = conftest.file
3205 then
3206 # Ok.
3208 else
3209 as_fn_error "newly created file is older than distributed files!
3210 Check your system clock" "$LINENO" 5
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3214 test "$program_prefix" != NONE &&
3215 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3216 # Use a double $ so make ignores it.
3217 test "$program_suffix" != NONE &&
3218 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3219 # Double any \ or $.
3220 # By default was `s,x,x', remove it if useless.
3221 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3222 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3224 # expand $ac_aux_dir to an absolute path
3225 am_aux_dir=`cd $ac_aux_dir && pwd`
3227 if test x"${MISSING+set}" != xset; then
3228 case $am_aux_dir in
3229 *\ * | *\ *)
3230 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3232 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3233 esac
3235 # Use eval to expand $SHELL
3236 if eval "$MISSING --run true"; then
3237 am_missing_run="$MISSING --run "
3238 else
3239 am_missing_run=
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3241 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3244 if test x"${install_sh}" != xset; then
3245 case $am_aux_dir in
3246 *\ * | *\ *)
3247 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3249 install_sh="\${SHELL} $am_aux_dir/install-sh"
3250 esac
3253 # Installed binaries are usually stripped using `strip' when the user
3254 # run `make install-strip'. However `strip' might not be the right
3255 # tool to use in cross-compilation environments, therefore Automake
3256 # will honor the `STRIP' environment variable to overrule this program.
3257 if test "$cross_compiling" != no; then
3258 if test -n "$ac_tool_prefix"; then
3259 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}strip; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_STRIP+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3265 else
3266 if test -n "$STRIP"; then
3267 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3268 else
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3272 IFS=$as_save_IFS
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 break 2
3280 done
3281 done
3282 IFS=$as_save_IFS
3286 STRIP=$ac_cv_prog_STRIP
3287 if test -n "$STRIP"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3289 $as_echo "$STRIP" >&6; }
3290 else
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3297 if test -z "$ac_cv_prog_STRIP"; then
3298 ac_ct_STRIP=$STRIP
3299 # Extract the first word of "strip", so it can be a program name with args.
3300 set dummy strip; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 if test -n "$ac_ct_STRIP"; then
3307 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3312 IFS=$as_save_IFS
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 ac_cv_prog_ac_ct_STRIP="strip"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 break 2
3320 done
3321 done
3322 IFS=$as_save_IFS
3326 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3327 if test -n "$ac_ct_STRIP"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3329 $as_echo "$ac_ct_STRIP" >&6; }
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3335 if test "x$ac_ct_STRIP" = x; then
3336 STRIP=":"
3337 else
3338 case $cross_compiling:$ac_tool_warned in
3339 yes:)
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3343 esac
3344 STRIP=$ac_ct_STRIP
3346 else
3347 STRIP="$ac_cv_prog_STRIP"
3351 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3354 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3355 if test -z "$MKDIR_P"; then
3356 if test "${ac_cv_path_mkdir+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3362 IFS=$as_save_IFS
3363 test -z "$as_dir" && as_dir=.
3364 for ac_prog in mkdir gmkdir; do
3365 for ac_exec_ext in '' $ac_executable_extensions; do
3366 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3367 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3368 'mkdir (GNU coreutils) '* | \
3369 'mkdir (coreutils) '* | \
3370 'mkdir (fileutils) '4.1*)
3371 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3372 break 3;;
3373 esac
3374 done
3375 done
3376 done
3377 IFS=$as_save_IFS
3381 if test "${ac_cv_path_mkdir+set}" = set; then
3382 MKDIR_P="$ac_cv_path_mkdir -p"
3383 else
3384 # As a last resort, use the slow shell script. Don't cache a
3385 # value for MKDIR_P within a source directory, because that will
3386 # break other packages using the cache if that directory is
3387 # removed, or if the value is a relative name.
3388 test -d ./--version && rmdir ./--version
3389 MKDIR_P="$ac_install_sh -d"
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3393 $as_echo "$MKDIR_P" >&6; }
3395 mkdir_p="$MKDIR_P"
3396 case $mkdir_p in
3397 [\\/$]* | ?:[\\/]*) ;;
3398 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3399 esac
3401 for ac_prog in gawk mawk nawk awk
3403 # Extract the first word of "$ac_prog", so it can be a program name with args.
3404 set dummy $ac_prog; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_AWK+set}" = set; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 if test -n "$AWK"; then
3411 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3412 else
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3416 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_prog_AWK="$ac_prog"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 break 2
3424 done
3425 done
3426 IFS=$as_save_IFS
3430 AWK=$ac_cv_prog_AWK
3431 if test -n "$AWK"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3433 $as_echo "$AWK" >&6; }
3434 else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3440 test -n "$AWK" && break
3441 done
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3444 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3445 set x ${MAKE-make}
3446 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3447 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3448 $as_echo_n "(cached) " >&6
3449 else
3450 cat >conftest.make <<\_ACEOF
3451 SHELL = /bin/sh
3452 all:
3453 @echo '@@@%%%=$(MAKE)=@@@%%%'
3454 _ACEOF
3455 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3456 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3457 *@@@%%%=?*=@@@%%%*)
3458 eval ac_cv_prog_make_${ac_make}_set=yes;;
3460 eval ac_cv_prog_make_${ac_make}_set=no;;
3461 esac
3462 rm -f conftest.make
3464 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3466 $as_echo "yes" >&6; }
3467 SET_MAKE=
3468 else
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3471 SET_MAKE="MAKE=${MAKE-make}"
3474 rm -rf .tst 2>/dev/null
3475 mkdir .tst 2>/dev/null
3476 if test -d .tst; then
3477 am__leading_dot=.
3478 else
3479 am__leading_dot=_
3481 rmdir .tst 2>/dev/null
3483 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3484 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3485 # is not polluted with repeated "-I."
3486 am__isrc=' -I$(srcdir)'
3487 # test to see if srcdir already configured
3488 if test -f $srcdir/config.status; then
3489 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3493 # test whether we have cygpath
3494 if test -z "$CYGPATH_W"; then
3495 if (cygpath --version) >/dev/null 2>/dev/null; then
3496 CYGPATH_W='cygpath -w'
3497 else
3498 CYGPATH_W=echo
3503 # Define the identity of the package.
3504 PACKAGE='libstdc++'
3505 VERSION='version-unused'
3508 # Some tools Automake needs.
3510 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3513 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3516 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3519 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3522 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3524 # We need awk for the "check" target. The system "awk" is bad on
3525 # some platforms.
3526 # Always define AMTAR for backward compatibility.
3528 AMTAR=${AMTAR-"${am_missing_run}tar"}
3530 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3539 # -fno-builtin must be present here so that a non-conflicting form of
3540 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3542 save_CXXFLAGS="$CXXFLAGS"
3543 CXXFLAGS="$CXXFLAGS -fno-builtin"
3544 ac_ext=c
3545 ac_cpp='$CPP $CPPFLAGS'
3546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 if test -n "$ac_tool_prefix"; then
3550 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3551 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if test "${ac_cv_prog_CC+set}" = set; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 if test -n "$CC"; then
3558 ac_cv_prog_CC="$CC" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3567 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 break 2
3571 done
3572 done
3573 IFS=$as_save_IFS
3577 CC=$ac_cv_prog_CC
3578 if test -n "$CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3580 $as_echo "$CC" >&6; }
3581 else
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3588 if test -z "$ac_cv_prog_CC"; then
3589 ac_ct_CC=$CC
3590 # Extract the first word of "gcc", so it can be a program name with args.
3591 set dummy gcc; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 if test -n "$ac_ct_CC"; then
3598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3599 else
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 for as_dir in $PATH
3603 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607 ac_cv_prog_ac_ct_CC="gcc"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2
3611 done
3612 done
3613 IFS=$as_save_IFS
3617 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3618 if test -n "$ac_ct_CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3620 $as_echo "$ac_ct_CC" >&6; }
3621 else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3626 if test "x$ac_ct_CC" = x; then
3627 CC=""
3628 else
3629 case $cross_compiling:$ac_tool_warned in
3630 yes:)
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3633 ac_tool_warned=yes ;;
3634 esac
3635 CC=$ac_ct_CC
3637 else
3638 CC="$ac_cv_prog_CC"
3641 if test -z "$CC"; then
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}cc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 ac_cv_prog_CC="${ac_tool_prefix}cc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3664 done
3665 done
3666 IFS=$as_save_IFS
3670 CC=$ac_cv_prog_CC
3671 if test -n "$CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3682 if test -z "$CC"; then
3683 # Extract the first word of "cc", so it can be a program name with args.
3684 set dummy cc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_CC+set}" = set; then :
3688 $as_echo_n "(cached) " >&6
3689 else
3690 if test -n "$CC"; then
3691 ac_cv_prog_CC="$CC" # Let the user override the test.
3692 else
3693 ac_prog_rejected=no
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3702 ac_prog_rejected=yes
3703 continue
3705 ac_cv_prog_CC="cc"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 break 2
3709 done
3710 done
3711 IFS=$as_save_IFS
3713 if test $ac_prog_rejected = yes; then
3714 # We found a bogon in the path, so make sure we never use it.
3715 set dummy $ac_cv_prog_CC
3716 shift
3717 if test $# != 0; then
3718 # We chose a different compiler from the bogus one.
3719 # However, it has the same basename, so the bogon will be chosen
3720 # first if we set CC to just the basename; use the full file name.
3721 shift
3722 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3727 CC=$ac_cv_prog_CC
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3738 if test -z "$CC"; then
3739 if test -n "$ac_tool_prefix"; then
3740 for ac_prog in cl.exe
3742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_CC+set}" = set; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC="$CC" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3755 IFS=$as_save_IFS
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3763 done
3764 done
3765 IFS=$as_save_IFS
3769 CC=$ac_cv_prog_CC
3770 if test -n "$CC"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3772 $as_echo "$CC" >&6; }
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3779 test -n "$CC" && break
3780 done
3782 if test -z "$CC"; then
3783 ac_ct_CC=$CC
3784 for ac_prog in cl.exe
3786 # Extract the first word of "$ac_prog", so it can be a program name with args.
3787 set dummy $ac_prog; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 if test -n "$ac_ct_CC"; then
3794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 ac_cv_prog_ac_ct_CC="$ac_prog"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 break 2
3807 done
3808 done
3809 IFS=$as_save_IFS
3813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3814 if test -n "$ac_ct_CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3816 $as_echo "$ac_ct_CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3823 test -n "$ac_ct_CC" && break
3824 done
3826 if test "x$ac_ct_CC" = x; then
3827 CC=""
3828 else
3829 case $cross_compiling:$ac_tool_warned in
3830 yes:)
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3833 ac_tool_warned=yes ;;
3834 esac
3835 CC=$ac_ct_CC
3842 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844 as_fn_error "no acceptable C compiler found in \$PATH
3845 See \`config.log' for more details." "$LINENO" 5; }
3847 # Provide some information about the compiler.
3848 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3849 set X $ac_compile
3850 ac_compiler=$2
3851 for ac_option in --version -v -V -qversion; do
3852 { { ac_try="$ac_compiler $ac_option >&5"
3853 case "(($ac_try" in
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3856 esac
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3860 ac_status=$?
3861 if test -s conftest.err; then
3862 sed '10a\
3863 ... rest of stderr output deleted ...
3864 10q' conftest.err >conftest.er1
3865 cat conftest.er1 >&5
3866 rm -f conftest.er1 conftest.err
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }
3870 done
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3876 main ()
3880 return 0;
3882 _ACEOF
3883 # FIXME: Cleanup?
3884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3885 (eval $ac_link) 2>&5
3886 ac_status=$?
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }; then :
3889 gcc_no_link=no
3890 else
3891 gcc_no_link=yes
3893 if test x$gcc_no_link = xyes; then
3894 # Setting cross_compile will disable run tests; it will
3895 # also disable AC_CHECK_FILE but that's generally
3896 # correct if we can't link.
3897 cross_compiling=yes
3898 EXEEXT=
3899 else
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3904 main ()
3908 return 0;
3910 _ACEOF
3911 ac_clean_files_save=$ac_clean_files
3912 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3913 # Try to create an executable without -o first, disregard a.out.
3914 # It will help us diagnose broken compilers, and finding out an intuition
3915 # of exeext.
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3917 $as_echo_n "checking for C compiler default output file name... " >&6; }
3918 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3920 # The possible output files:
3921 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3923 ac_rmfiles=
3924 for ac_file in $ac_files
3926 case $ac_file in
3927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3928 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3929 esac
3930 done
3931 rm -f $ac_rmfiles
3933 if { { ac_try="$ac_link_default"
3934 case "(($ac_try" in
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link_default") 2>&5
3941 ac_status=$?
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }; then :
3944 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3945 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3946 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3947 # so that the user can short-circuit this test for compilers unknown to
3948 # Autoconf.
3949 for ac_file in $ac_files ''
3951 test -f "$ac_file" || continue
3952 case $ac_file in
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3955 [ab].out )
3956 # We found the default executable, but exeext='' is most
3957 # certainly right.
3958 break;;
3959 *.* )
3960 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3961 then :; else
3962 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3964 # We set ac_cv_exeext here because the later test for it is not
3965 # safe: cross compilers may not add the suffix if given an `-o'
3966 # argument, so we may need to know it at that point already.
3967 # Even if this section looks crufty: it has the advantage of
3968 # actually working.
3969 break;;
3971 break;;
3972 esac
3973 done
3974 test "$ac_cv_exeext" = no && ac_cv_exeext=
3976 else
3977 ac_file=''
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3980 $as_echo "$ac_file" >&6; }
3981 if test -z "$ac_file"; then :
3982 $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 { as_fn_set_status 77
3988 as_fn_error "C compiler cannot create executables
3989 See \`config.log' for more details." "$LINENO" 5; }; }
3991 ac_exeext=$ac_cv_exeext
3993 # Check that the compiler produces executables we can run. If not, either
3994 # the compiler is broken, or we cross compile.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3996 $as_echo_n "checking whether the C compiler works... " >&6; }
3997 # If not cross compiling, check that we can run a simple program.
3998 if test "$cross_compiling" != yes; then
3999 if { ac_try='./$ac_file'
4000 { { case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006 (eval "$ac_try") 2>&5
4007 ac_status=$?
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; }; }; then
4010 cross_compiling=no
4011 else
4012 if test "$cross_compiling" = maybe; then
4013 cross_compiling=yes
4014 else
4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 as_fn_error "cannot run C compiled programs.
4018 If you meant to cross compile, use \`--host'.
4019 See \`config.log' for more details." "$LINENO" 5; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4024 $as_echo "yes" >&6; }
4026 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4027 ac_clean_files=$ac_clean_files_save
4028 # Check that the compiler produces executables we can run. If not, either
4029 # the compiler is broken, or we cross compile.
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4031 $as_echo_n "checking whether we are cross compiling... " >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4033 $as_echo "$cross_compiling" >&6; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4036 $as_echo_n "checking for suffix of executables... " >&6; }
4037 if { { ac_try="$ac_link"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link") 2>&5
4045 ac_status=$?
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; then :
4048 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4049 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
4051 # `rm'.
4052 for ac_file in conftest.exe conftest conftest.*; do
4053 test -f "$ac_file" || continue
4054 case $ac_file in
4055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4056 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 break;;
4058 * ) break;;
4059 esac
4060 done
4061 else
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error "cannot compute suffix of executables: cannot compile and link
4065 See \`config.log' for more details." "$LINENO" 5; }
4067 rm -f conftest$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4069 $as_echo "$ac_cv_exeext" >&6; }
4071 rm -f conftest.$ac_ext
4072 EXEEXT=$ac_cv_exeext
4073 ac_exeext=$EXEEXT
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4076 $as_echo_n "checking for suffix of object files... " >&6; }
4077 if test "${ac_cv_objext+set}" = set; then :
4078 $as_echo_n "(cached) " >&6
4079 else
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4084 main ()
4088 return 0;
4090 _ACEOF
4091 rm -f conftest.o conftest.obj
4092 if { { ac_try="$ac_compile"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_compile") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 for ac_file in conftest.o conftest.obj conftest.*; do
4104 test -f "$ac_file" || continue;
4105 case $ac_file in
4106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4107 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4108 break;;
4109 esac
4110 done
4111 else
4112 $as_echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error "cannot compute suffix of object files: cannot compile
4118 See \`config.log' for more details." "$LINENO" 5; }
4120 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4123 $as_echo "$ac_cv_objext" >&6; }
4124 OBJEXT=$ac_cv_objext
4125 ac_objext=$OBJEXT
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4127 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4128 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4135 main ()
4137 #ifndef __GNUC__
4138 choke me
4139 #endif
4142 return 0;
4144 _ACEOF
4145 if ac_fn_c_try_compile "$LINENO"; then :
4146 ac_compiler_gnu=yes
4147 else
4148 ac_compiler_gnu=no
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4155 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4156 if test $ac_compiler_gnu = yes; then
4157 GCC=yes
4158 else
4159 GCC=
4161 ac_test_CFLAGS=${CFLAGS+set}
4162 ac_save_CFLAGS=$CFLAGS
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4164 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4165 if test "${ac_cv_prog_cc_g+set}" = set; then :
4166 $as_echo_n "(cached) " >&6
4167 else
4168 ac_save_c_werror_flag=$ac_c_werror_flag
4169 ac_c_werror_flag=yes
4170 ac_cv_prog_cc_g=no
4171 CFLAGS="-g"
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4176 main ()
4180 return 0;
4182 _ACEOF
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 ac_cv_prog_cc_g=yes
4185 else
4186 CFLAGS=""
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4191 main ()
4195 return 0;
4197 _ACEOF
4198 if ac_fn_c_try_compile "$LINENO"; then :
4200 else
4201 ac_c_werror_flag=$ac_save_c_werror_flag
4202 CFLAGS="-g"
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4207 main ()
4211 return 0;
4213 _ACEOF
4214 if ac_fn_c_try_compile "$LINENO"; then :
4215 ac_cv_prog_cc_g=yes
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 ac_c_werror_flag=$ac_save_c_werror_flag
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4225 $as_echo "$ac_cv_prog_cc_g" >&6; }
4226 if test "$ac_test_CFLAGS" = set; then
4227 CFLAGS=$ac_save_CFLAGS
4228 elif test $ac_cv_prog_cc_g = yes; then
4229 if test "$GCC" = yes; then
4230 CFLAGS="-g -O2"
4231 else
4232 CFLAGS="-g"
4234 else
4235 if test "$GCC" = yes; then
4236 CFLAGS="-O2"
4237 else
4238 CFLAGS=
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4242 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4243 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 ac_cv_prog_cc_c89=no
4247 ac_save_CC=$CC
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4250 #include <stdarg.h>
4251 #include <stdio.h>
4252 #include <sys/types.h>
4253 #include <sys/stat.h>
4254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4255 struct buf { int x; };
4256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4257 static char *e (p, i)
4258 char **p;
4259 int i;
4261 return p[i];
4263 static char *f (char * (*g) (char **, int), char **p, ...)
4265 char *s;
4266 va_list v;
4267 va_start (v,p);
4268 s = g (p, va_arg (v,int));
4269 va_end (v);
4270 return s;
4273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4274 function prototypes and stuff, but not '\xHH' hex character constants.
4275 These don't provoke an error unfortunately, instead are silently treated
4276 as 'x'. The following induces an error, until -std is added to get
4277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4278 array size at least. It's necessary to write '\x00'==0 to get something
4279 that's true only with -std. */
4280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4283 inside strings and character constants. */
4284 #define FOO(x) 'x'
4285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4287 int test (int i, double x);
4288 struct s1 {int (*f) (int a);};
4289 struct s2 {int (*f) (double a);};
4290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 int argc;
4292 char **argv;
4294 main ()
4296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4298 return 0;
4300 _ACEOF
4301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4304 CC="$ac_save_CC $ac_arg"
4305 if ac_fn_c_try_compile "$LINENO"; then :
4306 ac_cv_prog_cc_c89=$ac_arg
4308 rm -f core conftest.err conftest.$ac_objext
4309 test "x$ac_cv_prog_cc_c89" != "xno" && break
4310 done
4311 rm -f conftest.$ac_ext
4312 CC=$ac_save_CC
4315 # AC_CACHE_VAL
4316 case "x$ac_cv_prog_cc_c89" in
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4319 $as_echo "none needed" >&6; } ;;
4320 xno)
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4322 $as_echo "unsupported" >&6; } ;;
4324 CC="$CC $ac_cv_prog_cc_c89"
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4327 esac
4328 if test "x$ac_cv_prog_cc_c89" != xno; then :
4332 ac_ext=c
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4338 ac_ext=cpp
4339 ac_cpp='$CXXCPP $CPPFLAGS'
4340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4343 if test -z "$CXX"; then
4344 if test -n "$CCC"; then
4345 CXX=$CCC
4346 else
4347 if test -n "$ac_tool_prefix"; then
4348 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_prog_CXX+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$CXX"; then
4358 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4371 done
4372 done
4373 IFS=$as_save_IFS
4377 CXX=$ac_cv_prog_CXX
4378 if test -n "$CXX"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4380 $as_echo "$CXX" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4387 test -n "$CXX" && break
4388 done
4390 if test -z "$CXX"; then
4391 ac_ct_CXX=$CXX
4392 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4394 # Extract the first word of "$ac_prog", so it can be a program name with args.
4395 set dummy $ac_prog; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 if test -n "$ac_ct_CXX"; then
4402 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4403 else
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH
4407 IFS=$as_save_IFS
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 ac_cv_prog_ac_ct_CXX="$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 break 2
4415 done
4416 done
4417 IFS=$as_save_IFS
4421 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4422 if test -n "$ac_ct_CXX"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4424 $as_echo "$ac_ct_CXX" >&6; }
4425 else
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4431 test -n "$ac_ct_CXX" && break
4432 done
4434 if test "x$ac_ct_CXX" = x; then
4435 CXX="g++"
4436 else
4437 case $cross_compiling:$ac_tool_warned in
4438 yes:)
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441 ac_tool_warned=yes ;;
4442 esac
4443 CXX=$ac_ct_CXX
4449 # Provide some information about the compiler.
4450 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4451 set X $ac_compile
4452 ac_compiler=$2
4453 for ac_option in --version -v -V -qversion; do
4454 { { ac_try="$ac_compiler $ac_option >&5"
4455 case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4462 ac_status=$?
4463 if test -s conftest.err; then
4464 sed '10a\
4465 ... rest of stderr output deleted ...
4466 10q' conftest.err >conftest.er1
4467 cat conftest.er1 >&5
4468 rm -f conftest.er1 conftest.err
4470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471 test $ac_status = 0; }
4472 done
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4475 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4476 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4483 main ()
4485 #ifndef __GNUC__
4486 choke me
4487 #endif
4490 return 0;
4492 _ACEOF
4493 if ac_fn_cxx_try_compile "$LINENO"; then :
4494 ac_compiler_gnu=yes
4495 else
4496 ac_compiler_gnu=no
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4503 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4504 if test $ac_compiler_gnu = yes; then
4505 GXX=yes
4506 else
4507 GXX=
4509 ac_test_CXXFLAGS=${CXXFLAGS+set}
4510 ac_save_CXXFLAGS=$CXXFLAGS
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4512 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4513 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4517 ac_cxx_werror_flag=yes
4518 ac_cv_prog_cxx_g=no
4519 CXXFLAGS="-g"
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4524 main ()
4528 return 0;
4530 _ACEOF
4531 if ac_fn_cxx_try_compile "$LINENO"; then :
4532 ac_cv_prog_cxx_g=yes
4533 else
4534 CXXFLAGS=""
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4539 main ()
4543 return 0;
4545 _ACEOF
4546 if ac_fn_cxx_try_compile "$LINENO"; then :
4548 else
4549 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4550 CXXFLAGS="-g"
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4555 main ()
4559 return 0;
4561 _ACEOF
4562 if ac_fn_cxx_try_compile "$LINENO"; then :
4563 ac_cv_prog_cxx_g=yes
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4573 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4574 if test "$ac_test_CXXFLAGS" = set; then
4575 CXXFLAGS=$ac_save_CXXFLAGS
4576 elif test $ac_cv_prog_cxx_g = yes; then
4577 if test "$GXX" = yes; then
4578 CXXFLAGS="-g -O2"
4579 else
4580 CXXFLAGS="-g"
4582 else
4583 if test "$GXX" = yes; then
4584 CXXFLAGS="-O2"
4585 else
4586 CXXFLAGS=
4589 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4595 CXXFLAGS="$save_CXXFLAGS"
4597 # Runs configure.host, and assorted other critical bits. Sets
4598 # up critical shell variables.
4600 ac_ext=c
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4606 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4607 # On Suns, sometimes $CPP names a directory.
4608 if test -n "$CPP" && test -d "$CPP"; then
4609 CPP=
4611 if test -z "$CPP"; then
4612 if test "${ac_cv_prog_CPP+set}" = set; then :
4613 $as_echo_n "(cached) " >&6
4614 else
4615 # Double quotes because CPP needs to be expanded
4616 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4618 ac_preproc_ok=false
4619 for ac_c_preproc_warn_flag in '' yes
4621 # Use a header file that comes with gcc, so configuring glibc
4622 # with a fresh cross-compiler works.
4623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4624 # <limits.h> exists even on freestanding compilers.
4625 # On the NeXT, cc -E runs the code through the compiler's parser,
4626 # not just through cpp. "Syntax error" is here to catch this case.
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4629 #ifdef __STDC__
4630 # include <limits.h>
4631 #else
4632 # include <assert.h>
4633 #endif
4634 Syntax error
4635 _ACEOF
4636 if ac_fn_c_try_cpp "$LINENO"; then :
4638 else
4639 # Broken: fails on valid input.
4640 continue
4642 rm -f conftest.err conftest.$ac_ext
4644 # OK, works on sane cases. Now check whether nonexistent headers
4645 # can be detected and how.
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648 #include <ac_nonexistent.h>
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4651 # Broken: success on invalid input.
4652 continue
4653 else
4654 # Passes both tests.
4655 ac_preproc_ok=:
4656 break
4658 rm -f conftest.err conftest.$ac_ext
4660 done
4661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4662 rm -f conftest.err conftest.$ac_ext
4663 if $ac_preproc_ok; then :
4664 break
4667 done
4668 ac_cv_prog_CPP=$CPP
4671 CPP=$ac_cv_prog_CPP
4672 else
4673 ac_cv_prog_CPP=$CPP
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4676 $as_echo "$CPP" >&6; }
4677 ac_preproc_ok=false
4678 for ac_c_preproc_warn_flag in '' yes
4680 # Use a header file that comes with gcc, so configuring glibc
4681 # with a fresh cross-compiler works.
4682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4683 # <limits.h> exists even on freestanding compilers.
4684 # On the NeXT, cc -E runs the code through the compiler's parser,
4685 # not just through cpp. "Syntax error" is here to catch this case.
4686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4688 #ifdef __STDC__
4689 # include <limits.h>
4690 #else
4691 # include <assert.h>
4692 #endif
4693 Syntax error
4694 _ACEOF
4695 if ac_fn_c_try_cpp "$LINENO"; then :
4697 else
4698 # Broken: fails on valid input.
4699 continue
4701 rm -f conftest.err conftest.$ac_ext
4703 # OK, works on sane cases. Now check whether nonexistent headers
4704 # can be detected and how.
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #include <ac_nonexistent.h>
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4710 # Broken: success on invalid input.
4711 continue
4712 else
4713 # Passes both tests.
4714 ac_preproc_ok=:
4715 break
4717 rm -f conftest.err conftest.$ac_ext
4719 done
4720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4721 rm -f conftest.err conftest.$ac_ext
4722 if $ac_preproc_ok; then :
4724 else
4725 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4727 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4728 See \`config.log' for more details." "$LINENO" 5; }
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4739 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4740 if test "${ac_cv_path_GREP+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 if test -z "$GREP"; then
4744 ac_path_GREP_found=false
4745 # Loop through the user's path and test for each of PROGNAME-LIST
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4749 IFS=$as_save_IFS
4750 test -z "$as_dir" && as_dir=.
4751 for ac_prog in grep ggrep; do
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4755 # Check for GNU ac_path_GREP and select it if it is found.
4756 # Check for GNU $ac_path_GREP
4757 case `"$ac_path_GREP" --version 2>&1` in
4758 *GNU*)
4759 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4761 ac_count=0
4762 $as_echo_n 0123456789 >"conftest.in"
4763 while :
4765 cat "conftest.in" "conftest.in" >"conftest.tmp"
4766 mv "conftest.tmp" "conftest.in"
4767 cp "conftest.in" "conftest.nl"
4768 $as_echo 'GREP' >> "conftest.nl"
4769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4771 as_fn_arith $ac_count + 1 && ac_count=$as_val
4772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4773 # Best one so far, save it but keep looking for a better one
4774 ac_cv_path_GREP="$ac_path_GREP"
4775 ac_path_GREP_max=$ac_count
4777 # 10*(2^10) chars as input seems more than enough
4778 test $ac_count -gt 10 && break
4779 done
4780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4781 esac
4783 $ac_path_GREP_found && break 3
4784 done
4785 done
4786 done
4787 IFS=$as_save_IFS
4788 if test -z "$ac_cv_path_GREP"; then
4789 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4791 else
4792 ac_cv_path_GREP=$GREP
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4797 $as_echo "$ac_cv_path_GREP" >&6; }
4798 GREP="$ac_cv_path_GREP"
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4802 $as_echo_n "checking for egrep... " >&6; }
4803 if test "${ac_cv_path_EGREP+set}" = set; then :
4804 $as_echo_n "(cached) " >&6
4805 else
4806 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4807 then ac_cv_path_EGREP="$GREP -E"
4808 else
4809 if test -z "$EGREP"; then
4810 ac_path_EGREP_found=false
4811 # Loop through the user's path and test for each of PROGNAME-LIST
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_prog in egrep; do
4818 for ac_exec_ext in '' $ac_executable_extensions; do
4819 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4820 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4821 # Check for GNU ac_path_EGREP and select it if it is found.
4822 # Check for GNU $ac_path_EGREP
4823 case `"$ac_path_EGREP" --version 2>&1` in
4824 *GNU*)
4825 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4827 ac_count=0
4828 $as_echo_n 0123456789 >"conftest.in"
4829 while :
4831 cat "conftest.in" "conftest.in" >"conftest.tmp"
4832 mv "conftest.tmp" "conftest.in"
4833 cp "conftest.in" "conftest.nl"
4834 $as_echo 'EGREP' >> "conftest.nl"
4835 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4836 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4837 as_fn_arith $ac_count + 1 && ac_count=$as_val
4838 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4839 # Best one so far, save it but keep looking for a better one
4840 ac_cv_path_EGREP="$ac_path_EGREP"
4841 ac_path_EGREP_max=$ac_count
4843 # 10*(2^10) chars as input seems more than enough
4844 test $ac_count -gt 10 && break
4845 done
4846 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4847 esac
4849 $ac_path_EGREP_found && break 3
4850 done
4851 done
4852 done
4853 IFS=$as_save_IFS
4854 if test -z "$ac_cv_path_EGREP"; then
4855 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4857 else
4858 ac_cv_path_EGREP=$EGREP
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4864 $as_echo "$ac_cv_path_EGREP" >&6; }
4865 EGREP="$ac_cv_path_EGREP"
4869 # Keep these sync'd with the list in Makefile.am. The first provides an
4870 # expandable list at autoconf time; the second provides an expandable list
4871 # (i.e., shell variable) at configure time.
4873 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4875 # These need to be absolute paths, yet at the same time need to
4876 # canonicalize only relative paths, because then amd will not unmount
4877 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4878 glibcxx_builddir=`${PWDCMD-pwd}`
4879 case $srcdir in
4880 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4881 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4882 esac
4883 toplevel_builddir=${glibcxx_builddir}/..
4884 toplevel_srcdir=${glibcxx_srcdir}/..
4890 # We use these options to decide which functions to include. They are
4891 # set from the top level.
4893 # Check whether --with-target-subdir was given.
4894 if test "${with_target_subdir+set}" = set; then :
4895 withval=$with_target_subdir;
4900 # Check whether --with-cross-host was given.
4901 if test "${with_cross_host+set}" = set; then :
4902 withval=$with_cross_host;
4907 # Check whether --with-newlib was given.
4908 if test "${with_newlib+set}" = set; then :
4909 withval=$with_newlib;
4913 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4914 # available). Uncomment the next line to force a particular method.
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4916 $as_echo_n "checking whether ln -s works... " >&6; }
4917 LN_S=$as_ln_s
4918 if test "$LN_S" = "ln -s"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4920 $as_echo "yes" >&6; }
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4923 $as_echo "no, using $LN_S" >&6; }
4926 #LN_S='cp -p'
4928 if test -n "$ac_tool_prefix"; then
4929 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}as; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if test "${ac_cv_prog_AS+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$AS"; then
4937 ac_cv_prog_AS="$AS" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_prog_AS="${ac_tool_prefix}as"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4950 done
4951 done
4952 IFS=$as_save_IFS
4956 AS=$ac_cv_prog_AS
4957 if test -n "$AS"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4959 $as_echo "$AS" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4967 if test -z "$ac_cv_prog_AS"; then
4968 ac_ct_AS=$AS
4969 # Extract the first word of "as", so it can be a program name with args.
4970 set dummy as; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4975 else
4976 if test -n "$ac_ct_AS"; then
4977 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4982 IFS=$as_save_IFS
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_ac_ct_AS="as"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 break 2
4990 done
4991 done
4992 IFS=$as_save_IFS
4996 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4997 if test -n "$ac_ct_AS"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4999 $as_echo "$ac_ct_AS" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5005 if test "x$ac_ct_AS" = x; then
5006 AS=""
5007 else
5008 case $cross_compiling:$ac_tool_warned in
5009 yes:)
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5012 ac_tool_warned=yes ;;
5013 esac
5014 AS=$ac_ct_AS
5016 else
5017 AS="$ac_cv_prog_AS"
5020 if test -n "$ac_tool_prefix"; then
5021 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5022 set dummy ${ac_tool_prefix}ar; ac_word=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if test "${ac_cv_prog_AR+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 if test -n "$AR"; then
5029 ac_cv_prog_AR="$AR" # Let the user override the test.
5030 else
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $PATH
5034 IFS=$as_save_IFS
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_AR="${ac_tool_prefix}ar"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 break 2
5042 done
5043 done
5044 IFS=$as_save_IFS
5048 AR=$ac_cv_prog_AR
5049 if test -n "$AR"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5051 $as_echo "$AR" >&6; }
5052 else
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5059 if test -z "$ac_cv_prog_AR"; then
5060 ac_ct_AR=$AR
5061 # Extract the first word of "ar", so it can be a program name with args.
5062 set dummy ar; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5066 $as_echo_n "(cached) " >&6
5067 else
5068 if test -n "$ac_ct_AR"; then
5069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5070 else
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5074 IFS=$as_save_IFS
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_ac_ct_AR="ar"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 break 2
5082 done
5083 done
5084 IFS=$as_save_IFS
5088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5089 if test -n "$ac_ct_AR"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5091 $as_echo "$ac_ct_AR" >&6; }
5092 else
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5097 if test "x$ac_ct_AR" = x; then
5098 AR=""
5099 else
5100 case $cross_compiling:$ac_tool_warned in
5101 yes:)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned=yes ;;
5105 esac
5106 AR=$ac_ct_AR
5108 else
5109 AR="$ac_cv_prog_AR"
5112 if test -n "$ac_tool_prefix"; then
5113 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5114 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5118 $as_echo_n "(cached) " >&6
5119 else
5120 if test -n "$RANLIB"; then
5121 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5122 else
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 for as_dir in $PATH
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5134 done
5135 done
5136 IFS=$as_save_IFS
5140 RANLIB=$ac_cv_prog_RANLIB
5141 if test -n "$RANLIB"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5143 $as_echo "$RANLIB" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5151 if test -z "$ac_cv_prog_RANLIB"; then
5152 ac_ct_RANLIB=$RANLIB
5153 # Extract the first word of "ranlib", so it can be a program name with args.
5154 set dummy ranlib; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 if test -n "$ac_ct_RANLIB"; then
5161 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5166 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_prog_ac_ct_RANLIB="ranlib"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 break 2
5174 done
5175 done
5176 IFS=$as_save_IFS
5180 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5181 if test -n "$ac_ct_RANLIB"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5183 $as_echo "$ac_ct_RANLIB" >&6; }
5184 else
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5189 if test "x$ac_ct_RANLIB" = x; then
5190 RANLIB="ranlib-not-found-in-path-error"
5191 else
5192 case $cross_compiling:$ac_tool_warned in
5193 yes:)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196 ac_tool_warned=yes ;;
5197 esac
5198 RANLIB=$ac_ct_RANLIB
5200 else
5201 RANLIB="$ac_cv_prog_RANLIB"
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5207 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5208 # Check whether --enable-maintainer-mode was given.
5209 if test "${enable_maintainer_mode+set}" = set; then :
5210 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5211 else
5212 USE_MAINTAINER_MODE=no
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5216 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5217 if test $USE_MAINTAINER_MODE = yes; then
5218 MAINTAINER_MODE_TRUE=
5219 MAINTAINER_MODE_FALSE='#'
5220 else
5221 MAINTAINER_MODE_TRUE='#'
5222 MAINTAINER_MODE_FALSE=
5225 MAINT=$MAINTAINER_MODE_TRUE
5229 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5230 # which are themselves conditionally expanded.
5231 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5232 ## other macros from doing the same. This should be automated.) -pme
5234 # Check for C library flavor since GNU/Linux platforms use different
5235 # configuration directories depending on the C library in use.
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5239 #include <stdio.h>
5240 #if __UCLIBC__
5241 _using_uclibc
5242 #endif
5244 _ACEOF
5245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5246 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5247 uclibc=yes
5248 else
5249 uclibc=no
5251 rm -f conftest*
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5257 #include <stdio.h>
5258 #if __BIONIC__
5259 _using_bionic
5260 #endif
5262 _ACEOF
5263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5264 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5265 bionic=yes
5266 else
5267 bionic=no
5269 rm -f conftest*
5272 # Find platform-specific directories containing configuration info.
5273 # Also possibly modify flags used elsewhere, as needed by the platform.
5275 . $glibcxx_srcdir/configure.host
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5277 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5279 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5283 if test "x${with_newlib}" != "xyes"; then
5284 enable_dlopen=yes
5289 case `pwd` in
5290 *\ * | *\ *)
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5292 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5293 esac
5297 macro_version='2.2.7a'
5298 macro_revision='1.3134'
5312 ltmain="$ac_aux_dir/ltmain.sh"
5314 # Backslashify metacharacters that are still active within
5315 # double-quoted strings.
5316 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5318 # Same as above, but do not quote variable references.
5319 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5321 # Sed substitution to delay expansion of an escaped shell variable in a
5322 # double_quote_subst'ed string.
5323 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5325 # Sed substitution to delay expansion of an escaped single quote.
5326 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5328 # Sed substitution to avoid accidental globbing in evaled expressions
5329 no_glob_subst='s/\*/\\\*/g'
5331 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5332 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5333 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5336 $as_echo_n "checking how to print strings... " >&6; }
5337 # Test print first, because it will be a builtin if present.
5338 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5339 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5340 ECHO='print -r --'
5341 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5342 ECHO='printf %s\n'
5343 else
5344 # Use this function as a fallback that always works.
5345 func_fallback_echo ()
5347 eval 'cat <<_LTECHO_EOF
5349 _LTECHO_EOF'
5351 ECHO='func_fallback_echo'
5354 # func_echo_all arg...
5355 # Invoke $ECHO with all args, space-separated.
5356 func_echo_all ()
5358 $ECHO ""
5361 case "$ECHO" in
5362 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5363 $as_echo "printf" >&6; } ;;
5364 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5365 $as_echo "print -r" >&6; } ;;
5366 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5367 $as_echo "cat" >&6; } ;;
5368 esac
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5384 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5385 if test "${ac_cv_path_SED+set}" = set; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5389 for ac_i in 1 2 3 4 5 6 7; do
5390 ac_script="$ac_script$as_nl$ac_script"
5391 done
5392 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5393 { ac_script=; unset ac_script;}
5394 if test -z "$SED"; then
5395 ac_path_SED_found=false
5396 # Loop through the user's path and test for each of PROGNAME-LIST
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5400 IFS=$as_save_IFS
5401 test -z "$as_dir" && as_dir=.
5402 for ac_prog in sed gsed; do
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5405 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5406 # Check for GNU ac_path_SED and select it if it is found.
5407 # Check for GNU $ac_path_SED
5408 case `"$ac_path_SED" --version 2>&1` in
5409 *GNU*)
5410 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5412 ac_count=0
5413 $as_echo_n 0123456789 >"conftest.in"
5414 while :
5416 cat "conftest.in" "conftest.in" >"conftest.tmp"
5417 mv "conftest.tmp" "conftest.in"
5418 cp "conftest.in" "conftest.nl"
5419 $as_echo '' >> "conftest.nl"
5420 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5422 as_fn_arith $ac_count + 1 && ac_count=$as_val
5423 if test $ac_count -gt ${ac_path_SED_max-0}; then
5424 # Best one so far, save it but keep looking for a better one
5425 ac_cv_path_SED="$ac_path_SED"
5426 ac_path_SED_max=$ac_count
5428 # 10*(2^10) chars as input seems more than enough
5429 test $ac_count -gt 10 && break
5430 done
5431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5432 esac
5434 $ac_path_SED_found && break 3
5435 done
5436 done
5437 done
5438 IFS=$as_save_IFS
5439 if test -z "$ac_cv_path_SED"; then
5440 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5442 else
5443 ac_cv_path_SED=$SED
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5448 $as_echo "$ac_cv_path_SED" >&6; }
5449 SED="$ac_cv_path_SED"
5450 rm -f conftest.sed
5452 test -z "$SED" && SED=sed
5453 Xsed="$SED -e 1s/^X//"
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5466 $as_echo_n "checking for fgrep... " >&6; }
5467 if test "${ac_cv_path_FGREP+set}" = set; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5471 then ac_cv_path_FGREP="$GREP -F"
5472 else
5473 if test -z "$FGREP"; then
5474 ac_path_FGREP_found=false
5475 # Loop through the user's path and test for each of PROGNAME-LIST
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_prog in fgrep; do
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5484 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5485 # Check for GNU ac_path_FGREP and select it if it is found.
5486 # Check for GNU $ac_path_FGREP
5487 case `"$ac_path_FGREP" --version 2>&1` in
5488 *GNU*)
5489 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5491 ac_count=0
5492 $as_echo_n 0123456789 >"conftest.in"
5493 while :
5495 cat "conftest.in" "conftest.in" >"conftest.tmp"
5496 mv "conftest.tmp" "conftest.in"
5497 cp "conftest.in" "conftest.nl"
5498 $as_echo 'FGREP' >> "conftest.nl"
5499 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5500 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5501 as_fn_arith $ac_count + 1 && ac_count=$as_val
5502 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5503 # Best one so far, save it but keep looking for a better one
5504 ac_cv_path_FGREP="$ac_path_FGREP"
5505 ac_path_FGREP_max=$ac_count
5507 # 10*(2^10) chars as input seems more than enough
5508 test $ac_count -gt 10 && break
5509 done
5510 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5511 esac
5513 $ac_path_FGREP_found && break 3
5514 done
5515 done
5516 done
5517 IFS=$as_save_IFS
5518 if test -z "$ac_cv_path_FGREP"; then
5519 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5521 else
5522 ac_cv_path_FGREP=$FGREP
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5528 $as_echo "$ac_cv_path_FGREP" >&6; }
5529 FGREP="$ac_cv_path_FGREP"
5532 test -z "$GREP" && GREP=grep
5552 # Check whether --with-gnu-ld was given.
5553 if test "${with_gnu_ld+set}" = set; then :
5554 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5555 else
5556 with_gnu_ld=no
5559 ac_prog=ld
5560 if test "$GCC" = yes; then
5561 # Check if gcc -print-prog-name=ld gives a path.
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5563 $as_echo_n "checking for ld used by $CC... " >&6; }
5564 case $host in
5565 *-*-mingw*)
5566 # gcc leaves a trailing carriage return which upsets mingw
5567 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5569 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5570 esac
5571 case $ac_prog in
5572 # Accept absolute paths.
5573 [\\/]* | ?:[\\/]*)
5574 re_direlt='/[^/][^/]*/\.\./'
5575 # Canonicalize the pathname of ld
5576 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5577 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5578 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5579 done
5580 test -z "$LD" && LD="$ac_prog"
5583 # If it fails, then pretend we aren't using GCC.
5584 ac_prog=ld
5587 # If it is relative, then search for the first ld in PATH.
5588 with_gnu_ld=unknown
5590 esac
5591 elif test "$with_gnu_ld" = yes; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5593 $as_echo_n "checking for GNU ld... " >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5596 $as_echo_n "checking for non-GNU ld... " >&6; }
5598 if test "${lt_cv_path_LD+set}" = set; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 if test -z "$LD"; then
5602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5603 for ac_dir in $PATH; do
5604 IFS="$lt_save_ifs"
5605 test -z "$ac_dir" && ac_dir=.
5606 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5607 lt_cv_path_LD="$ac_dir/$ac_prog"
5608 # Check to see if the program is GNU ld. I'd rather use --version,
5609 # but apparently some variants of GNU ld only accept -v.
5610 # Break only if it was the GNU/non-GNU ld that we prefer.
5611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5612 *GNU* | *'with BFD'*)
5613 test "$with_gnu_ld" != no && break
5616 test "$with_gnu_ld" != yes && break
5618 esac
5620 done
5621 IFS="$lt_save_ifs"
5622 else
5623 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5627 LD="$lt_cv_path_LD"
5628 if test -n "$LD"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5630 $as_echo "$LD" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5635 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5637 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5638 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5642 case `$LD -v 2>&1 </dev/null` in
5643 *GNU* | *'with BFD'*)
5644 lt_cv_prog_gnu_ld=yes
5647 lt_cv_prog_gnu_ld=no
5649 esac
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5652 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5653 with_gnu_ld=$lt_cv_prog_gnu_ld
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5664 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5665 if test "${lt_cv_path_NM+set}" = set; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 if test -n "$NM"; then
5669 # Let the user override the test.
5670 lt_cv_path_NM="$NM"
5671 else
5672 lt_nm_to_check="${ac_tool_prefix}nm"
5673 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5674 lt_nm_to_check="$lt_nm_to_check nm"
5676 for lt_tmp_nm in $lt_nm_to_check; do
5677 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5678 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5679 IFS="$lt_save_ifs"
5680 test -z "$ac_dir" && ac_dir=.
5681 tmp_nm="$ac_dir/$lt_tmp_nm"
5682 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5683 # Check to see if the nm accepts a BSD-compat flag.
5684 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5685 # nm: unknown option "B" ignored
5686 # Tru64's nm complains that /dev/null is an invalid object file
5687 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5688 */dev/null* | *'Invalid file or object type'*)
5689 lt_cv_path_NM="$tmp_nm -B"
5690 break
5693 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5694 */dev/null*)
5695 lt_cv_path_NM="$tmp_nm -p"
5696 break
5699 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5700 continue # so that we can try to find one that supports BSD flags
5702 esac
5704 esac
5706 done
5707 IFS="$lt_save_ifs"
5708 done
5709 : ${lt_cv_path_NM=no}
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5713 $as_echo "$lt_cv_path_NM" >&6; }
5714 if test "$lt_cv_path_NM" != "no"; then
5715 NM="$lt_cv_path_NM"
5716 else
5717 # Didn't find any BSD compatible name lister, look for dumpbin.
5718 if test -n "$DUMPBIN"; then :
5719 # Let the user override the test.
5720 else
5721 if test -n "$ac_tool_prefix"; then
5722 for ac_prog in dumpbin "link -dump"
5724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 if test -n "$DUMPBIN"; then
5732 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5737 IFS=$as_save_IFS
5738 test -z "$as_dir" && as_dir=.
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 break 2
5745 done
5746 done
5747 IFS=$as_save_IFS
5751 DUMPBIN=$ac_cv_prog_DUMPBIN
5752 if test -n "$DUMPBIN"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5754 $as_echo "$DUMPBIN" >&6; }
5755 else
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5761 test -n "$DUMPBIN" && break
5762 done
5764 if test -z "$DUMPBIN"; then
5765 ac_ct_DUMPBIN=$DUMPBIN
5766 for ac_prog in dumpbin "link -dump"
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy $ac_prog; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$ac_ct_DUMPBIN"; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5785 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5789 done
5790 done
5791 IFS=$as_save_IFS
5795 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5796 if test -n "$ac_ct_DUMPBIN"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5798 $as_echo "$ac_ct_DUMPBIN" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5805 test -n "$ac_ct_DUMPBIN" && break
5806 done
5808 if test "x$ac_ct_DUMPBIN" = x; then
5809 DUMPBIN=":"
5810 else
5811 case $cross_compiling:$ac_tool_warned in
5812 yes:)
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5815 ac_tool_warned=yes ;;
5816 esac
5817 DUMPBIN=$ac_ct_DUMPBIN
5821 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5822 *COFF*)
5823 DUMPBIN="$DUMPBIN -symbols"
5826 DUMPBIN=:
5828 esac
5831 if test "$DUMPBIN" != ":"; then
5832 NM="$DUMPBIN"
5835 test -z "$NM" && NM=nm
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5843 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5844 if test "${lt_cv_nm_interface+set}" = set; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 lt_cv_nm_interface="BSD nm"
5848 echo "int some_variable = 0;" > conftest.$ac_ext
5849 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5850 (eval "$ac_compile" 2>conftest.err)
5851 cat conftest.err >&5
5852 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5853 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5854 cat conftest.err >&5
5855 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5856 cat conftest.out >&5
5857 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5858 lt_cv_nm_interface="MS dumpbin"
5860 rm -f conftest*
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5863 $as_echo "$lt_cv_nm_interface" >&6; }
5865 # find the maximum length of command line arguments
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5867 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5868 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5872 teststring="ABCD"
5874 case $build_os in
5875 msdosdjgpp*)
5876 # On DJGPP, this test can blow up pretty badly due to problems in libc
5877 # (any single argument exceeding 2000 bytes causes a buffer overrun
5878 # during glob expansion). Even if it were fixed, the result of this
5879 # check would be larger than it should be.
5880 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5883 gnu*)
5884 # Under GNU Hurd, this test is not required because there is
5885 # no limit to the length of command line arguments.
5886 # Libtool will interpret -1 as no limit whatsoever
5887 lt_cv_sys_max_cmd_len=-1;
5890 cygwin* | mingw* | cegcc*)
5891 # On Win9x/ME, this test blows up -- it succeeds, but takes
5892 # about 5 minutes as the teststring grows exponentially.
5893 # Worse, since 9x/ME are not pre-emptively multitasking,
5894 # you end up with a "frozen" computer, even though with patience
5895 # the test eventually succeeds (with a max line length of 256k).
5896 # Instead, let's just punt: use the minimum linelength reported by
5897 # all of the supported platforms: 8192 (on NT/2K/XP).
5898 lt_cv_sys_max_cmd_len=8192;
5901 mint*)
5902 # On MiNT this can take a long time and run out of memory.
5903 lt_cv_sys_max_cmd_len=8192;
5906 amigaos*)
5907 # On AmigaOS with pdksh, this test takes hours, literally.
5908 # So we just punt and use a minimum line length of 8192.
5909 lt_cv_sys_max_cmd_len=8192;
5912 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5913 # This has been around since 386BSD, at least. Likely further.
5914 if test -x /sbin/sysctl; then
5915 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5916 elif test -x /usr/sbin/sysctl; then
5917 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5918 else
5919 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5921 # And add a safety zone
5922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5926 interix*)
5927 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5928 lt_cv_sys_max_cmd_len=196608
5931 osf*)
5932 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5933 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5934 # nice to cause kernel panics so lets avoid the loop below.
5935 # First set a reasonable default.
5936 lt_cv_sys_max_cmd_len=16384
5938 if test -x /sbin/sysconfig; then
5939 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5940 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5941 esac
5944 sco3.2v5*)
5945 lt_cv_sys_max_cmd_len=102400
5947 sysv5* | sco5v6* | sysv4.2uw2*)
5948 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5949 if test -n "$kargmax"; then
5950 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5951 else
5952 lt_cv_sys_max_cmd_len=32768
5956 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5957 if test -n "$lt_cv_sys_max_cmd_len"; then
5958 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5959 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5960 else
5961 # Make teststring a little bigger before we do anything with it.
5962 # a 1K string should be a reasonable start.
5963 for i in 1 2 3 4 5 6 7 8 ; do
5964 teststring=$teststring$teststring
5965 done
5966 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5967 # If test is not a shell built-in, we'll probably end up computing a
5968 # maximum length that is only half of the actual maximum length, but
5969 # we can't tell.
5970 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5971 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5972 test $i != 17 # 1/2 MB should be enough
5974 i=`expr $i + 1`
5975 teststring=$teststring$teststring
5976 done
5977 # Only check the string length outside the loop.
5978 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5979 teststring=
5980 # Add a significant safety factor because C++ compilers can tack on
5981 # massive amounts of additional arguments before passing them to the
5982 # linker. It appears as though 1/2 is a usable value.
5983 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5986 esac
5990 if test -n $lt_cv_sys_max_cmd_len ; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5992 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5993 else
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5995 $as_echo "none" >&6; }
5997 max_cmd_len=$lt_cv_sys_max_cmd_len
6004 : ${CP="cp -f"}
6005 : ${MV="mv -f"}
6006 : ${RM="rm -f"}
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6009 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6010 # Try some XSI features
6011 xsi_shell=no
6012 ( _lt_dummy="a/b/c"
6013 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6014 = c,a/b,, \
6015 && eval 'test $(( 1 + 1 )) -eq 2 \
6016 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6017 && xsi_shell=yes
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6019 $as_echo "$xsi_shell" >&6; }
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6023 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6024 lt_shell_append=no
6025 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6026 >/dev/null 2>&1 \
6027 && lt_shell_append=yes
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6029 $as_echo "$lt_shell_append" >&6; }
6032 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6033 lt_unset=unset
6034 else
6035 lt_unset=false
6042 # test EBCDIC or ASCII
6043 case `echo X|tr X '\101'` in
6044 A) # ASCII based system
6045 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6046 lt_SP2NL='tr \040 \012'
6047 lt_NL2SP='tr \015\012 \040\040'
6049 *) # EBCDIC based system
6050 lt_SP2NL='tr \100 \n'
6051 lt_NL2SP='tr \r\n \100\100'
6053 esac
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6064 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6065 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 lt_cv_ld_reload_flag='-r'
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6071 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6072 reload_flag=$lt_cv_ld_reload_flag
6073 case $reload_flag in
6074 "" | " "*) ;;
6075 *) reload_flag=" $reload_flag" ;;
6076 esac
6077 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6078 case $host_os in
6079 darwin*)
6080 if test "$GCC" = yes; then
6081 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6082 else
6083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 esac
6096 if test -n "$ac_tool_prefix"; then
6097 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test -n "$OBJDUMP"; then
6105 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6114 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 break 2
6118 done
6119 done
6120 IFS=$as_save_IFS
6124 OBJDUMP=$ac_cv_prog_OBJDUMP
6125 if test -n "$OBJDUMP"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6127 $as_echo "$OBJDUMP" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6135 if test -z "$ac_cv_prog_OBJDUMP"; then
6136 ac_ct_OBJDUMP=$OBJDUMP
6137 # Extract the first word of "objdump", so it can be a program name with args.
6138 set dummy objdump; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6142 $as_echo_n "(cached) " >&6
6143 else
6144 if test -n "$ac_ct_OBJDUMP"; then
6145 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6158 done
6159 done
6160 IFS=$as_save_IFS
6164 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6165 if test -n "$ac_ct_OBJDUMP"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6167 $as_echo "$ac_ct_OBJDUMP" >&6; }
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6173 if test "x$ac_ct_OBJDUMP" = x; then
6174 OBJDUMP="false"
6175 else
6176 case $cross_compiling:$ac_tool_warned in
6177 yes:)
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6180 ac_tool_warned=yes ;;
6181 esac
6182 OBJDUMP=$ac_ct_OBJDUMP
6184 else
6185 OBJDUMP="$ac_cv_prog_OBJDUMP"
6188 test -z "$OBJDUMP" && OBJDUMP=objdump
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6199 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6200 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6201 $as_echo_n "(cached) " >&6
6202 else
6203 lt_cv_file_magic_cmd='$MAGIC_CMD'
6204 lt_cv_file_magic_test_file=
6205 lt_cv_deplibs_check_method='unknown'
6206 # Need to set the preceding variable on all platforms that support
6207 # interlibrary dependencies.
6208 # 'none' -- dependencies not supported.
6209 # `unknown' -- same as none, but documents that we really don't know.
6210 # 'pass_all' -- all dependencies passed with no checks.
6211 # 'test_compile' -- check by making test program.
6212 # 'file_magic [[regex]]' -- check by looking for files in library path
6213 # which responds to the $file_magic_cmd with a given extended regex.
6214 # If you have `file' or equivalent on your system and you're not sure
6215 # whether `pass_all' will *always* work, you probably want this one.
6217 case $host_os in
6218 aix[4-9]*)
6219 lt_cv_deplibs_check_method=pass_all
6222 beos*)
6223 lt_cv_deplibs_check_method=pass_all
6226 bsdi[45]*)
6227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6228 lt_cv_file_magic_cmd='/usr/bin/file -L'
6229 lt_cv_file_magic_test_file=/shlib/libc.so
6232 cygwin*)
6233 # func_win32_libid is a shell function defined in ltmain.sh
6234 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6235 lt_cv_file_magic_cmd='func_win32_libid'
6238 mingw* | pw32*)
6239 # Base MSYS/MinGW do not provide the 'file' command needed by
6240 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6241 # unless we find 'file', for example because we are cross-compiling.
6242 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6243 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6244 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6245 lt_cv_file_magic_cmd='func_win32_libid'
6246 else
6247 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6248 lt_cv_file_magic_cmd='$OBJDUMP -f'
6252 cegcc*)
6253 # use the weaker test based on 'objdump'. See mingw*.
6254 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6258 darwin* | rhapsody*)
6259 lt_cv_deplibs_check_method=pass_all
6262 freebsd* | dragonfly*)
6263 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6264 case $host_cpu in
6265 i*86 )
6266 # Not sure whether the presence of OpenBSD here was a mistake.
6267 # Let's accept both of them until this is cleared up.
6268 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6269 lt_cv_file_magic_cmd=/usr/bin/file
6270 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6272 esac
6273 else
6274 lt_cv_deplibs_check_method=pass_all
6278 gnu*)
6279 lt_cv_deplibs_check_method=pass_all
6282 haiku*)
6283 lt_cv_deplibs_check_method=pass_all
6286 hpux10.20* | hpux11*)
6287 lt_cv_file_magic_cmd=/usr/bin/file
6288 case $host_cpu in
6289 ia64*)
6290 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6291 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6293 hppa*64*)
6294 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]'
6295 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6299 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6301 esac
6304 interix[3-9]*)
6305 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6306 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6309 irix5* | irix6* | nonstopux*)
6310 case $LD in
6311 *-32|*"-32 ") libmagic=32-bit;;
6312 *-n32|*"-n32 ") libmagic=N32;;
6313 *-64|*"-64 ") libmagic=64-bit;;
6314 *) libmagic=never-match;;
6315 esac
6316 lt_cv_deplibs_check_method=pass_all
6319 # This must be Linux ELF.
6320 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6321 lt_cv_deplibs_check_method=pass_all
6324 netbsd*)
6325 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6327 else
6328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6332 newos6*)
6333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6334 lt_cv_file_magic_cmd=/usr/bin/file
6335 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6338 *nto* | *qnx*)
6339 lt_cv_deplibs_check_method=pass_all
6342 openbsd*)
6343 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6344 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6345 else
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6350 osf3* | osf4* | osf5*)
6351 lt_cv_deplibs_check_method=pass_all
6354 rdos*)
6355 lt_cv_deplibs_check_method=pass_all
6358 solaris*)
6359 lt_cv_deplibs_check_method=pass_all
6362 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6363 lt_cv_deplibs_check_method=pass_all
6366 sysv4 | sysv4.3*)
6367 case $host_vendor in
6368 motorola)
6369 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]'
6370 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6372 ncr)
6373 lt_cv_deplibs_check_method=pass_all
6375 sequent)
6376 lt_cv_file_magic_cmd='/bin/file'
6377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6379 sni)
6380 lt_cv_file_magic_cmd='/bin/file'
6381 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6382 lt_cv_file_magic_test_file=/lib/libc.so
6384 siemens)
6385 lt_cv_deplibs_check_method=pass_all
6388 lt_cv_deplibs_check_method=pass_all
6390 esac
6393 tpf*)
6394 lt_cv_deplibs_check_method=pass_all
6396 esac
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6400 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6401 file_magic_cmd=$lt_cv_file_magic_cmd
6402 deplibs_check_method=$lt_cv_deplibs_check_method
6403 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6416 if test -n "$ac_tool_prefix"; then
6417 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6418 set dummy ${ac_tool_prefix}ar; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if test "${ac_cv_prog_AR+set}" = set; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 if test -n "$AR"; then
6425 ac_cv_prog_AR="$AR" # Let the user override the test.
6426 else
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 for as_dir in $PATH
6430 IFS=$as_save_IFS
6431 test -z "$as_dir" && as_dir=.
6432 for ac_exec_ext in '' $ac_executable_extensions; do
6433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434 ac_cv_prog_AR="${ac_tool_prefix}ar"
6435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 break 2
6438 done
6439 done
6440 IFS=$as_save_IFS
6444 AR=$ac_cv_prog_AR
6445 if test -n "$AR"; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6447 $as_echo "$AR" >&6; }
6448 else
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6455 if test -z "$ac_cv_prog_AR"; then
6456 ac_ct_AR=$AR
6457 # Extract the first word of "ar", so it can be a program name with args.
6458 set dummy ar; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 if test -n "$ac_ct_AR"; then
6465 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_prog_ac_ct_AR="ar"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 break 2
6478 done
6479 done
6480 IFS=$as_save_IFS
6484 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6485 if test -n "$ac_ct_AR"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6487 $as_echo "$ac_ct_AR" >&6; }
6488 else
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6493 if test "x$ac_ct_AR" = x; then
6494 AR="false"
6495 else
6496 case $cross_compiling:$ac_tool_warned in
6497 yes:)
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6501 esac
6502 AR=$ac_ct_AR
6504 else
6505 AR="$ac_cv_prog_AR"
6508 test -z "$AR" && AR=ar
6509 test -z "$AR_FLAGS" && AR_FLAGS=cru
6521 if test -n "$ac_tool_prefix"; then
6522 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6523 set dummy ${ac_tool_prefix}strip; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if test "${ac_cv_prog_STRIP+set}" = set; then :
6527 $as_echo_n "(cached) " >&6
6528 else
6529 if test -n "$STRIP"; then
6530 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6535 IFS=$as_save_IFS
6536 test -z "$as_dir" && as_dir=.
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6539 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 break 2
6543 done
6544 done
6545 IFS=$as_save_IFS
6549 STRIP=$ac_cv_prog_STRIP
6550 if test -n "$STRIP"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6552 $as_echo "$STRIP" >&6; }
6553 else
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6560 if test -z "$ac_cv_prog_STRIP"; then
6561 ac_ct_STRIP=$STRIP
6562 # Extract the first word of "strip", so it can be a program name with args.
6563 set dummy strip; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 if test -n "$ac_ct_STRIP"; then
6570 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579 ac_cv_prog_ac_ct_STRIP="strip"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6583 done
6584 done
6585 IFS=$as_save_IFS
6589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6590 if test -n "$ac_ct_STRIP"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6592 $as_echo "$ac_ct_STRIP" >&6; }
6593 else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6598 if test "x$ac_ct_STRIP" = x; then
6599 STRIP=":"
6600 else
6601 case $cross_compiling:$ac_tool_warned in
6602 yes:)
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605 ac_tool_warned=yes ;;
6606 esac
6607 STRIP=$ac_ct_STRIP
6609 else
6610 STRIP="$ac_cv_prog_STRIP"
6613 test -z "$STRIP" && STRIP=:
6620 if test -n "$ac_tool_prefix"; then
6621 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6622 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 if test -n "$RANLIB"; then
6629 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6634 IFS=$as_save_IFS
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 break 2
6642 done
6643 done
6644 IFS=$as_save_IFS
6648 RANLIB=$ac_cv_prog_RANLIB
6649 if test -n "$RANLIB"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6651 $as_echo "$RANLIB" >&6; }
6652 else
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6659 if test -z "$ac_cv_prog_RANLIB"; then
6660 ac_ct_RANLIB=$RANLIB
6661 # Extract the first word of "ranlib", so it can be a program name with args.
6662 set dummy ranlib; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 if test -n "$ac_ct_RANLIB"; then
6669 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678 ac_cv_prog_ac_ct_RANLIB="ranlib"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 break 2
6682 done
6683 done
6684 IFS=$as_save_IFS
6688 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6689 if test -n "$ac_ct_RANLIB"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6691 $as_echo "$ac_ct_RANLIB" >&6; }
6692 else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6697 if test "x$ac_ct_RANLIB" = x; then
6698 RANLIB=":"
6699 else
6700 case $cross_compiling:$ac_tool_warned in
6701 yes:)
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6704 ac_tool_warned=yes ;;
6705 esac
6706 RANLIB=$ac_ct_RANLIB
6708 else
6709 RANLIB="$ac_cv_prog_RANLIB"
6712 test -z "$RANLIB" && RANLIB=:
6719 # Determine commands to create old-style static archives.
6720 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6721 old_postinstall_cmds='chmod 644 $oldlib'
6722 old_postuninstall_cmds=
6724 if test -n "$RANLIB"; then
6725 case $host_os in
6726 openbsd*)
6727 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6730 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6732 esac
6733 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6736 case $host_os in
6737 darwin*)
6738 lock_old_archive_extraction=yes ;;
6740 lock_old_archive_extraction=no ;;
6741 esac
6781 # If no C compiler was specified, use CC.
6782 LTCC=${LTCC-"$CC"}
6784 # If no C compiler flags were specified, use CFLAGS.
6785 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6787 # Allow CC to be a program name with arguments.
6788 compiler=$CC
6791 # Check for command to grab the raw symbol name followed by C symbol from nm.
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6793 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6794 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6795 $as_echo_n "(cached) " >&6
6796 else
6798 # These are sane defaults that work on at least a few old systems.
6799 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6801 # Character class describing NM global symbol codes.
6802 symcode='[BCDEGRST]'
6804 # Regexp to match symbols that can be accessed directly from C.
6805 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6807 # Define system-specific variables.
6808 case $host_os in
6809 aix*)
6810 symcode='[BCDT]'
6812 cygwin* | mingw* | pw32* | cegcc*)
6813 symcode='[ABCDGISTW]'
6815 hpux*)
6816 if test "$host_cpu" = ia64; then
6817 symcode='[ABCDEGRST]'
6820 irix* | nonstopux*)
6821 symcode='[BCDEGRST]'
6823 osf*)
6824 symcode='[BCDEGQRST]'
6826 solaris*)
6827 symcode='[BDRT]'
6829 sco3.2v5*)
6830 symcode='[DT]'
6832 sysv4.2uw2*)
6833 symcode='[DT]'
6835 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6836 symcode='[ABDT]'
6838 sysv4)
6839 symcode='[DFNSTU]'
6841 esac
6843 # If we're using GNU nm, then use its standard symbol codes.
6844 case `$NM -V 2>&1` in
6845 *GNU* | *'with BFD'*)
6846 symcode='[ABCDGIRSTW]' ;;
6847 esac
6849 # Transform an extracted symbol line into a proper C declaration.
6850 # Some systems (esp. on ia64) link data and code symbols differently,
6851 # so use this general approach.
6852 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6854 # Transform an extracted symbol line into symbol name and symbol address
6855 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6856 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'"
6858 # Handle CRLF in mingw tool chain
6859 opt_cr=
6860 case $build_os in
6861 mingw*)
6862 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6864 esac
6866 # Try without a prefix underscore, then with it.
6867 for ac_symprfx in "" "_"; do
6869 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6870 symxfrm="\\1 $ac_symprfx\\2 \\2"
6872 # Write the raw and C identifiers.
6873 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6874 # Fake it for dumpbin and say T for any non-static function
6875 # and D for any global variable.
6876 # Also find C++ and __fastcall symbols from MSVC++,
6877 # which start with @ or ?.
6878 lt_cv_sys_global_symbol_pipe="$AWK '"\
6879 " {last_section=section; section=\$ 3};"\
6880 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6881 " \$ 0!~/External *\|/{next};"\
6882 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6883 " {if(hide[section]) next};"\
6884 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6885 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6886 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6887 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6888 " ' prfx=^$ac_symprfx"
6889 else
6890 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6893 # Check to see that the pipe works correctly.
6894 pipe_works=no
6896 rm -f conftest*
6897 cat > conftest.$ac_ext <<_LT_EOF
6898 #ifdef __cplusplus
6899 extern "C" {
6900 #endif
6901 char nm_test_var;
6902 void nm_test_func(void);
6903 void nm_test_func(void){}
6904 #ifdef __cplusplus
6906 #endif
6907 int main(){nm_test_var='a';nm_test_func();return(0);}
6908 _LT_EOF
6910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6911 (eval $ac_compile) 2>&5
6912 ac_status=$?
6913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914 test $ac_status = 0; }; then
6915 # Now try to grab the symbols.
6916 nlist=conftest.nm
6917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6918 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6919 ac_status=$?
6920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921 test $ac_status = 0; } && test -s "$nlist"; then
6922 # Try sorting and uniquifying the output.
6923 if sort "$nlist" | uniq > "$nlist"T; then
6924 mv -f "$nlist"T "$nlist"
6925 else
6926 rm -f "$nlist"T
6929 # Make sure that we snagged all the symbols we need.
6930 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6931 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6932 cat <<_LT_EOF > conftest.$ac_ext
6933 #ifdef __cplusplus
6934 extern "C" {
6935 #endif
6937 _LT_EOF
6938 # Now generate the symbol file.
6939 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6941 cat <<_LT_EOF >> conftest.$ac_ext
6943 /* The mapping between symbol names and symbols. */
6944 const struct {
6945 const char *name;
6946 void *address;
6948 lt__PROGRAM__LTX_preloaded_symbols[] =
6950 { "@PROGRAM@", (void *) 0 },
6951 _LT_EOF
6952 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6953 cat <<\_LT_EOF >> conftest.$ac_ext
6954 {0, (void *) 0}
6957 /* This works around a problem in FreeBSD linker */
6958 #ifdef FREEBSD_WORKAROUND
6959 static const void *lt_preloaded_setup() {
6960 return lt__PROGRAM__LTX_preloaded_symbols;
6962 #endif
6964 #ifdef __cplusplus
6966 #endif
6967 _LT_EOF
6968 # Now try linking the two files.
6969 mv conftest.$ac_objext conftstm.$ac_objext
6970 lt_save_LIBS="$LIBS"
6971 lt_save_CFLAGS="$CFLAGS"
6972 LIBS="conftstm.$ac_objext"
6973 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6975 (eval $ac_link) 2>&5
6976 ac_status=$?
6977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6978 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6979 pipe_works=yes
6981 LIBS="$lt_save_LIBS"
6982 CFLAGS="$lt_save_CFLAGS"
6983 else
6984 echo "cannot find nm_test_func in $nlist" >&5
6986 else
6987 echo "cannot find nm_test_var in $nlist" >&5
6989 else
6990 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6992 else
6993 echo "$progname: failed program was:" >&5
6994 cat conftest.$ac_ext >&5
6996 rm -rf conftest* conftst*
6998 # Do not use the global_symbol_pipe unless it works.
6999 if test "$pipe_works" = yes; then
7000 break
7001 else
7002 lt_cv_sys_global_symbol_pipe=
7004 done
7008 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7009 lt_cv_sys_global_symbol_to_cdecl=
7011 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7013 $as_echo "failed" >&6; }
7014 else
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7016 $as_echo "ok" >&6; }
7040 # Check whether --enable-libtool-lock was given.
7041 if test "${enable_libtool_lock+set}" = set; then :
7042 enableval=$enable_libtool_lock;
7045 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7047 # Some flags need to be propagated to the compiler or linker for good
7048 # libtool support.
7049 case $host in
7050 ia64-*-hpux*)
7051 # Find out which ABI we are using.
7052 echo 'int i;' > conftest.$ac_ext
7053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054 (eval $ac_compile) 2>&5
7055 ac_status=$?
7056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7057 test $ac_status = 0; }; then
7058 case `/usr/bin/file conftest.$ac_objext` in
7059 *ELF-32*)
7060 HPUX_IA64_MODE="32"
7062 *ELF-64*)
7063 HPUX_IA64_MODE="64"
7065 esac
7067 rm -rf conftest*
7069 *-*-irix6*)
7070 # Find out which ABI we are using.
7071 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7073 (eval $ac_compile) 2>&5
7074 ac_status=$?
7075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7076 test $ac_status = 0; }; then
7077 if test "$lt_cv_prog_gnu_ld" = yes; then
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *32-bit*)
7080 LD="${LD-ld} -melf32bsmip"
7082 *N32*)
7083 LD="${LD-ld} -melf32bmipn32"
7085 *64-bit*)
7086 LD="${LD-ld} -melf64bmip"
7088 esac
7089 else
7090 case `/usr/bin/file conftest.$ac_objext` in
7091 *32-bit*)
7092 LD="${LD-ld} -32"
7094 *N32*)
7095 LD="${LD-ld} -n32"
7097 *64-bit*)
7098 LD="${LD-ld} -64"
7100 esac
7103 rm -rf conftest*
7106 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7107 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7108 # Find out which ABI we are using.
7109 echo 'int i;' > conftest.$ac_ext
7110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7111 (eval $ac_compile) 2>&5
7112 ac_status=$?
7113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7114 test $ac_status = 0; }; then
7115 case `/usr/bin/file conftest.o` in
7116 *32-bit*)
7117 case $host in
7118 x86_64-*kfreebsd*-gnu)
7119 LD="${LD-ld} -m elf_i386_fbsd"
7121 x86_64-*linux*)
7122 case `/usr/bin/file conftest.o` in
7123 *x86-64*)
7124 LD="${LD-ld} -m elf32_x86_64"
7127 LD="${LD-ld} -m elf_i386"
7129 esac
7131 ppc64-*linux*|powerpc64-*linux*)
7132 LD="${LD-ld} -m elf32ppclinux"
7134 s390x-*linux*)
7135 LD="${LD-ld} -m elf_s390"
7137 sparc64-*linux*)
7138 LD="${LD-ld} -m elf32_sparc"
7140 esac
7142 *64-bit*)
7143 case $host in
7144 x86_64-*kfreebsd*-gnu)
7145 LD="${LD-ld} -m elf_x86_64_fbsd"
7147 x86_64-*linux*)
7148 LD="${LD-ld} -m elf_x86_64"
7150 ppc*-*linux*|powerpc*-*linux*)
7151 LD="${LD-ld} -m elf64ppc"
7153 s390*-*linux*|s390*-*tpf*)
7154 LD="${LD-ld} -m elf64_s390"
7156 sparc*-*linux*)
7157 LD="${LD-ld} -m elf64_sparc"
7159 esac
7161 esac
7163 rm -rf conftest*
7166 *-*-sco3.2v5*)
7167 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7168 SAVE_CFLAGS="$CFLAGS"
7169 CFLAGS="$CFLAGS -belf"
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7171 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7172 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7173 $as_echo_n "(cached) " >&6
7174 else
7175 ac_ext=c
7176 ac_cpp='$CPP $CPPFLAGS'
7177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7181 if test x$gcc_no_link = xyes; then
7182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7185 /* end confdefs.h. */
7188 main ()
7192 return 0;
7194 _ACEOF
7195 if ac_fn_c_try_link "$LINENO"; then :
7196 lt_cv_cc_needs_belf=yes
7197 else
7198 lt_cv_cc_needs_belf=no
7200 rm -f core conftest.err conftest.$ac_objext \
7201 conftest$ac_exeext conftest.$ac_ext
7202 ac_ext=c
7203 ac_cpp='$CPP $CPPFLAGS'
7204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7210 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7211 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7212 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7213 CFLAGS="$SAVE_CFLAGS"
7216 sparc*-*solaris*)
7217 # Find out which ABI we are using.
7218 echo 'int i;' > conftest.$ac_ext
7219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7220 (eval $ac_compile) 2>&5
7221 ac_status=$?
7222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7223 test $ac_status = 0; }; then
7224 case `/usr/bin/file conftest.o` in
7225 *64-bit*)
7226 case $lt_cv_prog_gnu_ld in
7227 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7229 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7230 LD="${LD-ld} -64"
7233 esac
7235 esac
7237 rm -rf conftest*
7239 esac
7241 need_locks="$enable_libtool_lock"
7244 case $host_os in
7245 rhapsody* | darwin*)
7246 if test -n "$ac_tool_prefix"; then
7247 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7248 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7252 $as_echo_n "(cached) " >&6
7253 else
7254 if test -n "$DSYMUTIL"; then
7255 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7256 else
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 for as_dir in $PATH
7260 IFS=$as_save_IFS
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266 break 2
7268 done
7269 done
7270 IFS=$as_save_IFS
7274 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7275 if test -n "$DSYMUTIL"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7277 $as_echo "$DSYMUTIL" >&6; }
7278 else
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7285 if test -z "$ac_cv_prog_DSYMUTIL"; then
7286 ac_ct_DSYMUTIL=$DSYMUTIL
7287 # Extract the first word of "dsymutil", so it can be a program name with args.
7288 set dummy dsymutil; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 $as_echo_n "checking for $ac_word... " >&6; }
7291 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7292 $as_echo_n "(cached) " >&6
7293 else
7294 if test -n "$ac_ct_DSYMUTIL"; then
7295 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7296 else
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 for as_dir in $PATH
7300 IFS=$as_save_IFS
7301 test -z "$as_dir" && as_dir=.
7302 for ac_exec_ext in '' $ac_executable_extensions; do
7303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7304 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306 break 2
7308 done
7309 done
7310 IFS=$as_save_IFS
7314 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7315 if test -n "$ac_ct_DSYMUTIL"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7317 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7318 else
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7323 if test "x$ac_ct_DSYMUTIL" = x; then
7324 DSYMUTIL=":"
7325 else
7326 case $cross_compiling:$ac_tool_warned in
7327 yes:)
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7330 ac_tool_warned=yes ;;
7331 esac
7332 DSYMUTIL=$ac_ct_DSYMUTIL
7334 else
7335 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7338 if test -n "$ac_tool_prefix"; then
7339 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7340 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 if test -n "$NMEDIT"; then
7347 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7352 IFS=$as_save_IFS
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7356 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 break 2
7360 done
7361 done
7362 IFS=$as_save_IFS
7366 NMEDIT=$ac_cv_prog_NMEDIT
7367 if test -n "$NMEDIT"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7369 $as_echo "$NMEDIT" >&6; }
7370 else
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7377 if test -z "$ac_cv_prog_NMEDIT"; then
7378 ac_ct_NMEDIT=$NMEDIT
7379 # Extract the first word of "nmedit", so it can be a program name with args.
7380 set dummy nmedit; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$ac_ct_NMEDIT"; then
7387 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7407 if test -n "$ac_ct_NMEDIT"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7409 $as_echo "$ac_ct_NMEDIT" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7415 if test "x$ac_ct_NMEDIT" = x; then
7416 NMEDIT=":"
7417 else
7418 case $cross_compiling:$ac_tool_warned in
7419 yes:)
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7422 ac_tool_warned=yes ;;
7423 esac
7424 NMEDIT=$ac_ct_NMEDIT
7426 else
7427 NMEDIT="$ac_cv_prog_NMEDIT"
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7432 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if test "${ac_cv_prog_LIPO+set}" = set; then :
7436 $as_echo_n "(cached) " >&6
7437 else
7438 if test -n "$LIPO"; then
7439 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7440 else
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 for as_dir in $PATH
7444 IFS=$as_save_IFS
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7448 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 break 2
7452 done
7453 done
7454 IFS=$as_save_IFS
7458 LIPO=$ac_cv_prog_LIPO
7459 if test -n "$LIPO"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7461 $as_echo "$LIPO" >&6; }
7462 else
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7469 if test -z "$ac_cv_prog_LIPO"; then
7470 ac_ct_LIPO=$LIPO
7471 # Extract the first word of "lipo", so it can be a program name with args.
7472 set dummy lipo; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7477 else
7478 if test -n "$ac_ct_LIPO"; then
7479 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_prog_ac_ct_LIPO="lipo"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7492 done
7493 done
7494 IFS=$as_save_IFS
7498 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7499 if test -n "$ac_ct_LIPO"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7501 $as_echo "$ac_ct_LIPO" >&6; }
7502 else
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7507 if test "x$ac_ct_LIPO" = x; then
7508 LIPO=":"
7509 else
7510 case $cross_compiling:$ac_tool_warned in
7511 yes:)
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned=yes ;;
7515 esac
7516 LIPO=$ac_ct_LIPO
7518 else
7519 LIPO="$ac_cv_prog_LIPO"
7522 if test -n "$ac_tool_prefix"; then
7523 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7524 set dummy ${ac_tool_prefix}otool; ac_word=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 $as_echo_n "checking for $ac_word... " >&6; }
7527 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7528 $as_echo_n "(cached) " >&6
7529 else
7530 if test -n "$OTOOL"; then
7531 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7532 else
7533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534 for as_dir in $PATH
7536 IFS=$as_save_IFS
7537 test -z "$as_dir" && as_dir=.
7538 for ac_exec_ext in '' $ac_executable_extensions; do
7539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7540 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 break 2
7544 done
7545 done
7546 IFS=$as_save_IFS
7550 OTOOL=$ac_cv_prog_OTOOL
7551 if test -n "$OTOOL"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7553 $as_echo "$OTOOL" >&6; }
7554 else
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556 $as_echo "no" >&6; }
7561 if test -z "$ac_cv_prog_OTOOL"; then
7562 ac_ct_OTOOL=$OTOOL
7563 # Extract the first word of "otool", so it can be a program name with args.
7564 set dummy otool; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7569 else
7570 if test -n "$ac_ct_OTOOL"; then
7571 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7572 else
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574 for as_dir in $PATH
7576 IFS=$as_save_IFS
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_ac_ct_OTOOL="otool"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 break 2
7584 done
7585 done
7586 IFS=$as_save_IFS
7590 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7591 if test -n "$ac_ct_OTOOL"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7593 $as_echo "$ac_ct_OTOOL" >&6; }
7594 else
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7599 if test "x$ac_ct_OTOOL" = x; then
7600 OTOOL=":"
7601 else
7602 case $cross_compiling:$ac_tool_warned in
7603 yes:)
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7606 ac_tool_warned=yes ;;
7607 esac
7608 OTOOL=$ac_ct_OTOOL
7610 else
7611 OTOOL="$ac_cv_prog_OTOOL"
7614 if test -n "$ac_tool_prefix"; then
7615 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7616 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7620 $as_echo_n "(cached) " >&6
7621 else
7622 if test -n "$OTOOL64"; then
7623 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7624 else
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 for as_dir in $PATH
7628 IFS=$as_save_IFS
7629 test -z "$as_dir" && as_dir=.
7630 for ac_exec_ext in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7634 break 2
7636 done
7637 done
7638 IFS=$as_save_IFS
7642 OTOOL64=$ac_cv_prog_OTOOL64
7643 if test -n "$OTOOL64"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7645 $as_echo "$OTOOL64" >&6; }
7646 else
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7653 if test -z "$ac_cv_prog_OTOOL64"; then
7654 ac_ct_OTOOL64=$OTOOL64
7655 # Extract the first word of "otool64", so it can be a program name with args.
7656 set dummy otool64; ac_word=$2
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658 $as_echo_n "checking for $ac_word... " >&6; }
7659 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7660 $as_echo_n "(cached) " >&6
7661 else
7662 if test -n "$ac_ct_OTOOL64"; then
7663 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7664 else
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666 for as_dir in $PATH
7668 IFS=$as_save_IFS
7669 test -z "$as_dir" && as_dir=.
7670 for ac_exec_ext in '' $ac_executable_extensions; do
7671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7672 ac_cv_prog_ac_ct_OTOOL64="otool64"
7673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7674 break 2
7676 done
7677 done
7678 IFS=$as_save_IFS
7682 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7683 if test -n "$ac_ct_OTOOL64"; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7685 $as_echo "$ac_ct_OTOOL64" >&6; }
7686 else
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7688 $as_echo "no" >&6; }
7691 if test "x$ac_ct_OTOOL64" = x; then
7692 OTOOL64=":"
7693 else
7694 case $cross_compiling:$ac_tool_warned in
7695 yes:)
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7698 ac_tool_warned=yes ;;
7699 esac
7700 OTOOL64=$ac_ct_OTOOL64
7702 else
7703 OTOOL64="$ac_cv_prog_OTOOL64"
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7733 $as_echo_n "checking for -single_module linker flag... " >&6; }
7734 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7735 $as_echo_n "(cached) " >&6
7736 else
7737 lt_cv_apple_cc_single_mod=no
7738 if test -z "${LT_MULTI_MODULE}"; then
7739 # By default we will add the -single_module flag. You can override
7740 # by either setting the environment variable LT_MULTI_MODULE
7741 # non-empty at configure time, or by adding -multi_module to the
7742 # link flags.
7743 rm -rf libconftest.dylib*
7744 echo "int foo(void){return 1;}" > conftest.c
7745 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7746 -dynamiclib -Wl,-single_module conftest.c" >&5
7747 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7748 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7749 _lt_result=$?
7750 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7751 lt_cv_apple_cc_single_mod=yes
7752 else
7753 cat conftest.err >&5
7755 rm -rf libconftest.dylib*
7756 rm -f conftest.*
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7760 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7762 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7763 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7764 $as_echo_n "(cached) " >&6
7765 else
7766 lt_cv_ld_exported_symbols_list=no
7767 save_LDFLAGS=$LDFLAGS
7768 echo "_main" > conftest.sym
7769 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7770 if test x$gcc_no_link = xyes; then
7771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h. */
7777 main ()
7781 return 0;
7783 _ACEOF
7784 if ac_fn_c_try_link "$LINENO"; then :
7785 lt_cv_ld_exported_symbols_list=yes
7786 else
7787 lt_cv_ld_exported_symbols_list=no
7789 rm -f core conftest.err conftest.$ac_objext \
7790 conftest$ac_exeext conftest.$ac_ext
7791 LDFLAGS="$save_LDFLAGS"
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7795 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7797 $as_echo_n "checking for -force_load linker flag... " >&6; }
7798 if test "${lt_cv_ld_force_load+set}" = set; then :
7799 $as_echo_n "(cached) " >&6
7800 else
7801 lt_cv_ld_force_load=no
7802 cat > conftest.c << _LT_EOF
7803 int forced_loaded() { return 2;}
7804 _LT_EOF
7805 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7806 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7807 echo "$AR cru libconftest.a conftest.o" >&5
7808 $AR cru libconftest.a conftest.o 2>&5
7809 cat > conftest.c << _LT_EOF
7810 int main() { return 0;}
7811 _LT_EOF
7812 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7813 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7814 _lt_result=$?
7815 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7816 lt_cv_ld_force_load=yes
7817 else
7818 cat conftest.err >&5
7820 rm -f conftest.err libconftest.a conftest conftest.c
7821 rm -rf conftest.dSYM
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7825 $as_echo "$lt_cv_ld_force_load" >&6; }
7826 case $host_os in
7827 rhapsody* | darwin1.[012])
7828 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7829 darwin1.*)
7830 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7831 darwin*) # darwin 5.x on
7832 # if running on 10.5 or later, the deployment target defaults
7833 # to the OS version, if on x86, and 10.4, the deployment
7834 # target defaults to 10.4. Don't you love it?
7835 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7836 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7837 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7838 10.[012]*)
7839 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7840 10.*)
7841 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7842 esac
7844 esac
7845 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7846 _lt_dar_single_mod='$single_module'
7848 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7849 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7850 else
7851 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7853 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7854 _lt_dsymutil='~$DSYMUTIL $lib || :'
7855 else
7856 _lt_dsymutil=
7859 esac
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7862 $as_echo_n "checking for ANSI C header files... " >&6; }
7863 if test "${ac_cv_header_stdc+set}" = set; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7867 /* end confdefs.h. */
7868 #include <stdlib.h>
7869 #include <stdarg.h>
7870 #include <string.h>
7871 #include <float.h>
7874 main ()
7878 return 0;
7880 _ACEOF
7881 if ac_fn_c_try_compile "$LINENO"; then :
7882 ac_cv_header_stdc=yes
7883 else
7884 ac_cv_header_stdc=no
7886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7888 if test $ac_cv_header_stdc = yes; then
7889 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h. */
7892 #include <string.h>
7894 _ACEOF
7895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7896 $EGREP "memchr" >/dev/null 2>&1; then :
7898 else
7899 ac_cv_header_stdc=no
7901 rm -f conftest*
7905 if test $ac_cv_header_stdc = yes; then
7906 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7908 /* end confdefs.h. */
7909 #include <stdlib.h>
7911 _ACEOF
7912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7913 $EGREP "free" >/dev/null 2>&1; then :
7915 else
7916 ac_cv_header_stdc=no
7918 rm -f conftest*
7922 if test $ac_cv_header_stdc = yes; then
7923 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7924 if test "$cross_compiling" = yes; then :
7926 else
7927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7928 /* end confdefs.h. */
7929 #include <ctype.h>
7930 #include <stdlib.h>
7931 #if ((' ' & 0x0FF) == 0x020)
7932 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7933 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7934 #else
7935 # define ISLOWER(c) \
7936 (('a' <= (c) && (c) <= 'i') \
7937 || ('j' <= (c) && (c) <= 'r') \
7938 || ('s' <= (c) && (c) <= 'z'))
7939 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7940 #endif
7942 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7944 main ()
7946 int i;
7947 for (i = 0; i < 256; i++)
7948 if (XOR (islower (i), ISLOWER (i))
7949 || toupper (i) != TOUPPER (i))
7950 return 2;
7951 return 0;
7953 _ACEOF
7954 if ac_fn_c_try_run "$LINENO"; then :
7956 else
7957 ac_cv_header_stdc=no
7959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7960 conftest.$ac_objext conftest.beam conftest.$ac_ext
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7966 $as_echo "$ac_cv_header_stdc" >&6; }
7967 if test $ac_cv_header_stdc = yes; then
7969 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7973 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7974 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7975 inttypes.h stdint.h unistd.h
7976 do :
7977 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7978 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7980 eval as_val=\$$as_ac_Header
7981 if test "x$as_val" = x""yes; then :
7982 cat >>confdefs.h <<_ACEOF
7983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7984 _ACEOF
7988 done
7991 for ac_header in dlfcn.h
7992 do :
7993 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7995 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7996 cat >>confdefs.h <<_ACEOF
7997 #define HAVE_DLFCN_H 1
7998 _ACEOF
8002 done
8009 # Set options
8014 enable_win32_dll=no
8017 # Check whether --enable-shared was given.
8018 if test "${enable_shared+set}" = set; then :
8019 enableval=$enable_shared; p=${PACKAGE-default}
8020 case $enableval in
8021 yes) enable_shared=yes ;;
8022 no) enable_shared=no ;;
8024 enable_shared=no
8025 # Look at the argument we got. We use all the common list separators.
8026 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8027 for pkg in $enableval; do
8028 IFS="$lt_save_ifs"
8029 if test "X$pkg" = "X$p"; then
8030 enable_shared=yes
8032 done
8033 IFS="$lt_save_ifs"
8035 esac
8036 else
8037 enable_shared=yes
8048 # Check whether --enable-static was given.
8049 if test "${enable_static+set}" = set; then :
8050 enableval=$enable_static; p=${PACKAGE-default}
8051 case $enableval in
8052 yes) enable_static=yes ;;
8053 no) enable_static=no ;;
8055 enable_static=no
8056 # Look at the argument we got. We use all the common list separators.
8057 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8058 for pkg in $enableval; do
8059 IFS="$lt_save_ifs"
8060 if test "X$pkg" = "X$p"; then
8061 enable_static=yes
8063 done
8064 IFS="$lt_save_ifs"
8066 esac
8067 else
8068 enable_static=yes
8080 # Check whether --with-pic was given.
8081 if test "${with_pic+set}" = set; then :
8082 withval=$with_pic; pic_mode="$withval"
8083 else
8084 pic_mode=default
8088 test -z "$pic_mode" && pic_mode=default
8096 # Check whether --enable-fast-install was given.
8097 if test "${enable_fast_install+set}" = set; then :
8098 enableval=$enable_fast_install; p=${PACKAGE-default}
8099 case $enableval in
8100 yes) enable_fast_install=yes ;;
8101 no) enable_fast_install=no ;;
8103 enable_fast_install=no
8104 # Look at the argument we got. We use all the common list separators.
8105 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8106 for pkg in $enableval; do
8107 IFS="$lt_save_ifs"
8108 if test "X$pkg" = "X$p"; then
8109 enable_fast_install=yes
8111 done
8112 IFS="$lt_save_ifs"
8114 esac
8115 else
8116 enable_fast_install=yes
8129 # This can be used to rebuild libtool when needed
8130 LIBTOOL_DEPS="$ltmain"
8132 # Always use our own libtool.
8133 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8160 test -z "$LN_S" && LN_S="ln -s"
8175 if test -n "${ZSH_VERSION+set}" ; then
8176 setopt NO_GLOB_SUBST
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8180 $as_echo_n "checking for objdir... " >&6; }
8181 if test "${lt_cv_objdir+set}" = set; then :
8182 $as_echo_n "(cached) " >&6
8183 else
8184 rm -f .libs 2>/dev/null
8185 mkdir .libs 2>/dev/null
8186 if test -d .libs; then
8187 lt_cv_objdir=.libs
8188 else
8189 # MS-DOS does not allow filenames that begin with a dot.
8190 lt_cv_objdir=_libs
8192 rmdir .libs 2>/dev/null
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8195 $as_echo "$lt_cv_objdir" >&6; }
8196 objdir=$lt_cv_objdir
8202 cat >>confdefs.h <<_ACEOF
8203 #define LT_OBJDIR "$lt_cv_objdir/"
8204 _ACEOF
8209 case $host_os in
8210 aix3*)
8211 # AIX sometimes has problems with the GCC collect2 program. For some
8212 # reason, if we set the COLLECT_NAMES environment variable, the problems
8213 # vanish in a puff of smoke.
8214 if test "X${COLLECT_NAMES+set}" != Xset; then
8215 COLLECT_NAMES=
8216 export COLLECT_NAMES
8219 esac
8221 # Global variables:
8222 ofile=libtool
8223 can_build_shared=yes
8225 # All known linkers require a `.a' archive for static linking (except MSVC,
8226 # which needs '.lib').
8227 libext=a
8229 with_gnu_ld="$lt_cv_prog_gnu_ld"
8231 old_CC="$CC"
8232 old_CFLAGS="$CFLAGS"
8234 # Set sane defaults for various variables
8235 test -z "$CC" && CC=cc
8236 test -z "$LTCC" && LTCC=$CC
8237 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8238 test -z "$LD" && LD=ld
8239 test -z "$ac_objext" && ac_objext=o
8241 for cc_temp in $compiler""; do
8242 case $cc_temp in
8243 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8244 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8245 \-*) ;;
8246 *) break;;
8247 esac
8248 done
8249 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8252 # Only perform the check for file, if the check method requires it
8253 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8254 case $deplibs_check_method in
8255 file_magic*)
8256 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8258 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8259 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 case $MAGIC_CMD in
8263 [\\/*] | ?:[\\/]*)
8264 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8267 lt_save_MAGIC_CMD="$MAGIC_CMD"
8268 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8269 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8270 for ac_dir in $ac_dummy; do
8271 IFS="$lt_save_ifs"
8272 test -z "$ac_dir" && ac_dir=.
8273 if test -f $ac_dir/${ac_tool_prefix}file; then
8274 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8275 if test -n "$file_magic_test_file"; then
8276 case $deplibs_check_method in
8277 "file_magic "*)
8278 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8279 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8280 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8281 $EGREP "$file_magic_regex" > /dev/null; then
8283 else
8284 cat <<_LT_EOF 1>&2
8286 *** Warning: the command libtool uses to detect shared libraries,
8287 *** $file_magic_cmd, produces output that libtool cannot recognize.
8288 *** The result is that libtool may fail to recognize shared libraries
8289 *** as such. This will affect the creation of libtool libraries that
8290 *** depend on shared libraries, but programs linked with such libtool
8291 *** libraries will work regardless of this problem. Nevertheless, you
8292 *** may want to report the problem to your system manager and/or to
8293 *** bug-libtool@gnu.org
8295 _LT_EOF
8296 fi ;;
8297 esac
8299 break
8301 done
8302 IFS="$lt_save_ifs"
8303 MAGIC_CMD="$lt_save_MAGIC_CMD"
8305 esac
8308 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8309 if test -n "$MAGIC_CMD"; then
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8311 $as_echo "$MAGIC_CMD" >&6; }
8312 else
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8314 $as_echo "no" >&6; }
8321 if test -z "$lt_cv_path_MAGIC_CMD"; then
8322 if test -n "$ac_tool_prefix"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8324 $as_echo_n "checking for file... " >&6; }
8325 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8326 $as_echo_n "(cached) " >&6
8327 else
8328 case $MAGIC_CMD in
8329 [\\/*] | ?:[\\/]*)
8330 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8333 lt_save_MAGIC_CMD="$MAGIC_CMD"
8334 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8335 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8336 for ac_dir in $ac_dummy; do
8337 IFS="$lt_save_ifs"
8338 test -z "$ac_dir" && ac_dir=.
8339 if test -f $ac_dir/file; then
8340 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8341 if test -n "$file_magic_test_file"; then
8342 case $deplibs_check_method in
8343 "file_magic "*)
8344 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8345 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8346 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8347 $EGREP "$file_magic_regex" > /dev/null; then
8349 else
8350 cat <<_LT_EOF 1>&2
8352 *** Warning: the command libtool uses to detect shared libraries,
8353 *** $file_magic_cmd, produces output that libtool cannot recognize.
8354 *** The result is that libtool may fail to recognize shared libraries
8355 *** as such. This will affect the creation of libtool libraries that
8356 *** depend on shared libraries, but programs linked with such libtool
8357 *** libraries will work regardless of this problem. Nevertheless, you
8358 *** may want to report the problem to your system manager and/or to
8359 *** bug-libtool@gnu.org
8361 _LT_EOF
8362 fi ;;
8363 esac
8365 break
8367 done
8368 IFS="$lt_save_ifs"
8369 MAGIC_CMD="$lt_save_MAGIC_CMD"
8371 esac
8374 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8375 if test -n "$MAGIC_CMD"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8377 $as_echo "$MAGIC_CMD" >&6; }
8378 else
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8380 $as_echo "no" >&6; }
8384 else
8385 MAGIC_CMD=:
8391 esac
8393 # Use C for the default configuration in the libtool script
8395 lt_save_CC="$CC"
8396 ac_ext=c
8397 ac_cpp='$CPP $CPPFLAGS'
8398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8403 # Source file extension for C test sources.
8404 ac_ext=c
8406 # Object file extension for compiled C test sources.
8407 objext=o
8408 objext=$objext
8410 # Code to be used in simple compile tests
8411 lt_simple_compile_test_code="int some_variable = 0;"
8413 # Code to be used in simple link tests
8414 lt_simple_link_test_code='int main(){return(0);}'
8422 # If no C compiler was specified, use CC.
8423 LTCC=${LTCC-"$CC"}
8425 # If no C compiler flags were specified, use CFLAGS.
8426 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8428 # Allow CC to be a program name with arguments.
8429 compiler=$CC
8431 # Save the default compiler, since it gets overwritten when the other
8432 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8433 compiler_DEFAULT=$CC
8435 # save warnings/boilerplate of simple test code
8436 ac_outfile=conftest.$ac_objext
8437 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8438 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8439 _lt_compiler_boilerplate=`cat conftest.err`
8440 $RM conftest*
8442 ac_outfile=conftest.$ac_objext
8443 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8444 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8445 _lt_linker_boilerplate=`cat conftest.err`
8446 $RM -r conftest*
8449 ## CAVEAT EMPTOR:
8450 ## There is no encapsulation within the following macros, do not change
8451 ## the running order or otherwise move them around unless you know exactly
8452 ## what you are doing...
8453 if test -n "$compiler"; then
8455 lt_prog_compiler_no_builtin_flag=
8457 if test "$GCC" = yes; then
8458 case $cc_basename in
8459 nvcc*)
8460 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8462 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8463 esac
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8466 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8467 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8468 $as_echo_n "(cached) " >&6
8469 else
8470 lt_cv_prog_compiler_rtti_exceptions=no
8471 ac_outfile=conftest.$ac_objext
8472 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8473 lt_compiler_flag="-fno-rtti -fno-exceptions"
8474 # Insert the option either (1) after the last *FLAGS variable, or
8475 # (2) before a word containing "conftest.", or (3) at the end.
8476 # Note that $ac_compile itself does not contain backslashes and begins
8477 # with a dollar sign (not a hyphen), so the echo should work correctly.
8478 # The option is referenced via a variable to avoid confusing sed.
8479 lt_compile=`echo "$ac_compile" | $SED \
8480 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8481 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8482 -e 's:$: $lt_compiler_flag:'`
8483 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8484 (eval "$lt_compile" 2>conftest.err)
8485 ac_status=$?
8486 cat conftest.err >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 if (exit $ac_status) && test -s "$ac_outfile"; then
8489 # The compiler can only warn and ignore the option if not recognized
8490 # So say no if there are warnings other than the usual output.
8491 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8492 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8493 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8494 lt_cv_prog_compiler_rtti_exceptions=yes
8497 $RM conftest*
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8501 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8503 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8504 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8505 else
8516 lt_prog_compiler_wl=
8517 lt_prog_compiler_pic=
8518 lt_prog_compiler_static=
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8521 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8523 if test "$GCC" = yes; then
8524 lt_prog_compiler_wl='-Wl,'
8525 lt_prog_compiler_static='-static'
8527 case $host_os in
8528 aix*)
8529 # All AIX code is PIC.
8530 if test "$host_cpu" = ia64; then
8531 # AIX 5 now supports IA64 processor
8532 lt_prog_compiler_static='-Bstatic'
8536 amigaos*)
8537 case $host_cpu in
8538 powerpc)
8539 # see comment about AmigaOS4 .so support
8540 lt_prog_compiler_pic='-fPIC'
8542 m68k)
8543 # FIXME: we need at least 68020 code to build shared libraries, but
8544 # adding the `-m68020' flag to GCC prevents building anything better,
8545 # like `-m68040'.
8546 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8548 esac
8551 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8552 # PIC is the default for these OSes.
8555 mingw* | cygwin* | pw32* | os2* | cegcc*)
8556 # This hack is so that the source file can tell whether it is being
8557 # built for inclusion in a dll (and should export symbols for example).
8558 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8559 # (--disable-auto-import) libraries
8560 lt_prog_compiler_pic='-DDLL_EXPORT'
8563 darwin* | rhapsody*)
8564 # PIC is the default on this platform
8565 # Common symbols not allowed in MH_DYLIB files
8566 lt_prog_compiler_pic='-fno-common'
8569 haiku*)
8570 # PIC is the default for Haiku.
8571 # The "-static" flag exists, but is broken.
8572 lt_prog_compiler_static=
8575 hpux*)
8576 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8577 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8578 # sets the default TLS model and affects inlining.
8579 case $host_cpu in
8580 hppa*64*)
8581 # +Z the default
8584 lt_prog_compiler_pic='-fPIC'
8586 esac
8589 interix[3-9]*)
8590 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8591 # Instead, we relocate shared libraries at runtime.
8594 msdosdjgpp*)
8595 # Just because we use GCC doesn't mean we suddenly get shared libraries
8596 # on systems that don't support them.
8597 lt_prog_compiler_can_build_shared=no
8598 enable_shared=no
8601 *nto* | *qnx*)
8602 # QNX uses GNU C++, but need to define -shared option too, otherwise
8603 # it will coredump.
8604 lt_prog_compiler_pic='-fPIC -shared'
8607 sysv4*MP*)
8608 if test -d /usr/nec; then
8609 lt_prog_compiler_pic=-Kconform_pic
8614 lt_prog_compiler_pic='-fPIC'
8616 esac
8618 case $cc_basename in
8619 nvcc*) # Cuda Compiler Driver 2.2
8620 lt_prog_compiler_wl='-Xlinker '
8621 lt_prog_compiler_pic='-Xcompiler -fPIC'
8623 esac
8624 else
8625 # PORTME Check for flag to pass linker flags through the system compiler.
8626 case $host_os in
8627 aix*)
8628 lt_prog_compiler_wl='-Wl,'
8629 if test "$host_cpu" = ia64; then
8630 # AIX 5 now supports IA64 processor
8631 lt_prog_compiler_static='-Bstatic'
8632 else
8633 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8637 mingw* | cygwin* | pw32* | os2* | cegcc*)
8638 # This hack is so that the source file can tell whether it is being
8639 # built for inclusion in a dll (and should export symbols for example).
8640 lt_prog_compiler_pic='-DDLL_EXPORT'
8643 hpux9* | hpux10* | hpux11*)
8644 lt_prog_compiler_wl='-Wl,'
8645 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8646 # not for PA HP-UX.
8647 case $host_cpu in
8648 hppa*64*|ia64*)
8649 # +Z the default
8652 lt_prog_compiler_pic='+Z'
8654 esac
8655 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8656 lt_prog_compiler_static='${wl}-a ${wl}archive'
8659 irix5* | irix6* | nonstopux*)
8660 lt_prog_compiler_wl='-Wl,'
8661 # PIC (with -KPIC) is the default.
8662 lt_prog_compiler_static='-non_shared'
8665 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8666 case $cc_basename in
8667 # old Intel for x86_64 which still supported -KPIC.
8668 ecc*)
8669 lt_prog_compiler_wl='-Wl,'
8670 lt_prog_compiler_pic='-KPIC'
8671 lt_prog_compiler_static='-static'
8673 # icc used to be incompatible with GCC.
8674 # ICC 10 doesn't accept -KPIC any more.
8675 icc* | ifort*)
8676 lt_prog_compiler_wl='-Wl,'
8677 lt_prog_compiler_pic='-fPIC'
8678 lt_prog_compiler_static='-static'
8680 # Lahey Fortran 8.1.
8681 lf95*)
8682 lt_prog_compiler_wl='-Wl,'
8683 lt_prog_compiler_pic='--shared'
8684 lt_prog_compiler_static='--static'
8686 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8687 # Portland Group compilers (*not* the Pentium gcc compiler,
8688 # which looks to be a dead project)
8689 lt_prog_compiler_wl='-Wl,'
8690 lt_prog_compiler_pic='-fpic'
8691 lt_prog_compiler_static='-Bstatic'
8693 ccc*)
8694 lt_prog_compiler_wl='-Wl,'
8695 # All Alpha code is PIC.
8696 lt_prog_compiler_static='-non_shared'
8698 xl* | bgxl* | bgf* | mpixl*)
8699 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8700 lt_prog_compiler_wl='-Wl,'
8701 lt_prog_compiler_pic='-qpic'
8702 lt_prog_compiler_static='-qstaticlink'
8705 case `$CC -V 2>&1 | sed 5q` in
8706 *Sun\ F* | *Sun*Fortran*)
8707 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-Bstatic'
8710 lt_prog_compiler_wl=''
8712 *Sun\ C*)
8713 # Sun C 5.9
8714 lt_prog_compiler_pic='-KPIC'
8715 lt_prog_compiler_static='-Bstatic'
8716 lt_prog_compiler_wl='-Wl,'
8718 esac
8720 esac
8723 newsos6)
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8728 *nto* | *qnx*)
8729 # QNX uses GNU C++, but need to define -shared option too, otherwise
8730 # it will coredump.
8731 lt_prog_compiler_pic='-fPIC -shared'
8734 osf3* | osf4* | osf5*)
8735 lt_prog_compiler_wl='-Wl,'
8736 # All OSF/1 code is PIC.
8737 lt_prog_compiler_static='-non_shared'
8740 rdos*)
8741 lt_prog_compiler_static='-non_shared'
8744 solaris*)
8745 lt_prog_compiler_pic='-KPIC'
8746 lt_prog_compiler_static='-Bstatic'
8747 case $cc_basename in
8748 f77* | f90* | f95*)
8749 lt_prog_compiler_wl='-Qoption ld ';;
8751 lt_prog_compiler_wl='-Wl,';;
8752 esac
8755 sunos4*)
8756 lt_prog_compiler_wl='-Qoption ld '
8757 lt_prog_compiler_pic='-PIC'
8758 lt_prog_compiler_static='-Bstatic'
8761 sysv4 | sysv4.2uw2* | sysv4.3*)
8762 lt_prog_compiler_wl='-Wl,'
8763 lt_prog_compiler_pic='-KPIC'
8764 lt_prog_compiler_static='-Bstatic'
8767 sysv4*MP*)
8768 if test -d /usr/nec ;then
8769 lt_prog_compiler_pic='-Kconform_pic'
8770 lt_prog_compiler_static='-Bstatic'
8774 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8775 lt_prog_compiler_wl='-Wl,'
8776 lt_prog_compiler_pic='-KPIC'
8777 lt_prog_compiler_static='-Bstatic'
8780 unicos*)
8781 lt_prog_compiler_wl='-Wl,'
8782 lt_prog_compiler_can_build_shared=no
8785 uts4*)
8786 lt_prog_compiler_pic='-pic'
8787 lt_prog_compiler_static='-Bstatic'
8791 lt_prog_compiler_can_build_shared=no
8793 esac
8796 case $host_os in
8797 # For platforms which do not support PIC, -DPIC is meaningless:
8798 *djgpp*)
8799 lt_prog_compiler_pic=
8802 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8804 esac
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8806 $as_echo "$lt_prog_compiler_pic" >&6; }
8814 # Check to make sure the PIC flag actually works.
8816 if test -n "$lt_prog_compiler_pic"; then
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8818 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8819 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8820 $as_echo_n "(cached) " >&6
8821 else
8822 lt_cv_prog_compiler_pic_works=no
8823 ac_outfile=conftest.$ac_objext
8824 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8825 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8826 # Insert the option either (1) after the last *FLAGS variable, or
8827 # (2) before a word containing "conftest.", or (3) at the end.
8828 # Note that $ac_compile itself does not contain backslashes and begins
8829 # with a dollar sign (not a hyphen), so the echo should work correctly.
8830 # The option is referenced via a variable to avoid confusing sed.
8831 lt_compile=`echo "$ac_compile" | $SED \
8832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8834 -e 's:$: $lt_compiler_flag:'`
8835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8836 (eval "$lt_compile" 2>conftest.err)
8837 ac_status=$?
8838 cat conftest.err >&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 if (exit $ac_status) && test -s "$ac_outfile"; then
8841 # The compiler can only warn and ignore the option if not recognized
8842 # So say no if there are warnings other than the usual output.
8843 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8844 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8845 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8846 lt_cv_prog_compiler_pic_works=yes
8849 $RM conftest*
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8853 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8855 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8856 case $lt_prog_compiler_pic in
8857 "" | " "*) ;;
8858 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8859 esac
8860 else
8861 lt_prog_compiler_pic=
8862 lt_prog_compiler_can_build_shared=no
8873 # Check to make sure the static flag actually works.
8875 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8877 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8878 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8879 $as_echo_n "(cached) " >&6
8880 else
8881 lt_cv_prog_compiler_static_works=no
8882 save_LDFLAGS="$LDFLAGS"
8883 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8884 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8885 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8886 # The linker can only warn and ignore the option if not recognized
8887 # So say no if there are warnings
8888 if test -s conftest.err; then
8889 # Append any errors to the config.log.
8890 cat conftest.err 1>&5
8891 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8892 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8893 if diff conftest.exp conftest.er2 >/dev/null; then
8894 lt_cv_prog_compiler_static_works=yes
8896 else
8897 lt_cv_prog_compiler_static_works=yes
8900 $RM -r conftest*
8901 LDFLAGS="$save_LDFLAGS"
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8905 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8907 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8909 else
8910 lt_prog_compiler_static=
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8921 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8922 $as_echo_n "(cached) " >&6
8923 else
8924 lt_cv_prog_compiler_c_o=no
8925 $RM -r conftest 2>/dev/null
8926 mkdir conftest
8927 cd conftest
8928 mkdir out
8929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8931 lt_compiler_flag="-o out/conftest2.$ac_objext"
8932 # Insert the option either (1) after the last *FLAGS variable, or
8933 # (2) before a word containing "conftest.", or (3) at the end.
8934 # Note that $ac_compile itself does not contain backslashes and begins
8935 # with a dollar sign (not a hyphen), so the echo should work correctly.
8936 lt_compile=`echo "$ac_compile" | $SED \
8937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8939 -e 's:$: $lt_compiler_flag:'`
8940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8941 (eval "$lt_compile" 2>out/conftest.err)
8942 ac_status=$?
8943 cat out/conftest.err >&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8946 then
8947 # The compiler can only warn and ignore the option if not recognized
8948 # So say no if there are warnings
8949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8952 lt_cv_prog_compiler_c_o=yes
8955 chmod u+w . 2>&5
8956 $RM conftest*
8957 # SGI C++ compiler will create directory out/ii_files/ for
8958 # template instantiation
8959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8960 $RM out/* && rmdir out
8961 cd ..
8962 $RM -r conftest
8963 $RM conftest*
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8967 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8975 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8976 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8977 $as_echo_n "(cached) " >&6
8978 else
8979 lt_cv_prog_compiler_c_o=no
8980 $RM -r conftest 2>/dev/null
8981 mkdir conftest
8982 cd conftest
8983 mkdir out
8984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8986 lt_compiler_flag="-o out/conftest2.$ac_objext"
8987 # Insert the option either (1) after the last *FLAGS variable, or
8988 # (2) before a word containing "conftest.", or (3) at the end.
8989 # Note that $ac_compile itself does not contain backslashes and begins
8990 # with a dollar sign (not a hyphen), so the echo should work correctly.
8991 lt_compile=`echo "$ac_compile" | $SED \
8992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8994 -e 's:$: $lt_compiler_flag:'`
8995 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8996 (eval "$lt_compile" 2>out/conftest.err)
8997 ac_status=$?
8998 cat out/conftest.err >&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9001 then
9002 # The compiler can only warn and ignore the option if not recognized
9003 # So say no if there are warnings
9004 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9005 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9006 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9007 lt_cv_prog_compiler_c_o=yes
9010 chmod u+w . 2>&5
9011 $RM conftest*
9012 # SGI C++ compiler will create directory out/ii_files/ for
9013 # template instantiation
9014 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9015 $RM out/* && rmdir out
9016 cd ..
9017 $RM -r conftest
9018 $RM conftest*
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9022 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9027 hard_links="nottested"
9028 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9029 # do not overwrite the value of need_locks provided by the user
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9031 $as_echo_n "checking if we can lock with hard links... " >&6; }
9032 hard_links=yes
9033 $RM conftest*
9034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9035 touch conftest.a
9036 ln conftest.a conftest.b 2>&5 || hard_links=no
9037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9039 $as_echo "$hard_links" >&6; }
9040 if test "$hard_links" = no; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9042 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9043 need_locks=warn
9045 else
9046 need_locks=no
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9055 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9057 runpath_var=
9058 allow_undefined_flag=
9059 always_export_symbols=no
9060 archive_cmds=
9061 archive_expsym_cmds=
9062 compiler_needs_object=no
9063 enable_shared_with_static_runtimes=no
9064 export_dynamic_flag_spec=
9065 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9066 hardcode_automatic=no
9067 hardcode_direct=no
9068 hardcode_direct_absolute=no
9069 hardcode_libdir_flag_spec=
9070 hardcode_libdir_flag_spec_ld=
9071 hardcode_libdir_separator=
9072 hardcode_minus_L=no
9073 hardcode_shlibpath_var=unsupported
9074 inherit_rpath=no
9075 link_all_deplibs=unknown
9076 module_cmds=
9077 module_expsym_cmds=
9078 old_archive_from_new_cmds=
9079 old_archive_from_expsyms_cmds=
9080 thread_safe_flag_spec=
9081 whole_archive_flag_spec=
9082 # include_expsyms should be a list of space-separated symbols to be *always*
9083 # included in the symbol list
9084 include_expsyms=
9085 # exclude_expsyms can be an extended regexp of symbols to exclude
9086 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9087 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9088 # as well as any symbol that contains `d'.
9089 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9090 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9091 # platforms (ab)use it in PIC code, but their linkers get confused if
9092 # the symbol is explicitly referenced. Since portable code cannot
9093 # rely on this symbol name, it's probably fine to never include it in
9094 # preloaded symbol tables.
9095 # Exclude shared library initialization/finalization symbols.
9096 extract_expsyms_cmds=
9098 case $host_os in
9099 cygwin* | mingw* | pw32* | cegcc*)
9100 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9101 # When not using gcc, we currently assume that we are using
9102 # Microsoft Visual C++.
9103 if test "$GCC" != yes; then
9104 with_gnu_ld=no
9107 interix*)
9108 # we just hope/assume this is gcc and not c89 (= MSVC++)
9109 with_gnu_ld=yes
9111 openbsd*)
9112 with_gnu_ld=no
9114 esac
9116 ld_shlibs=yes
9118 # On some targets, GNU ld is compatible enough with the native linker
9119 # that we're better off using the native interface for both.
9120 lt_use_gnu_ld_interface=no
9121 if test "$with_gnu_ld" = yes; then
9122 case $host_os in
9123 aix*)
9124 # The AIX port of GNU ld has always aspired to compatibility
9125 # with the native linker. However, as the warning in the GNU ld
9126 # block says, versions before 2.19.5* couldn't really create working
9127 # shared libraries, regardless of the interface used.
9128 case `$LD -v 2>&1` in
9129 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9130 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9131 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9133 lt_use_gnu_ld_interface=yes
9135 esac
9138 lt_use_gnu_ld_interface=yes
9140 esac
9143 if test "$lt_use_gnu_ld_interface" = yes; then
9144 # If archive_cmds runs LD, not CC, wlarc should be empty
9145 wlarc='${wl}'
9147 # Set some defaults for GNU ld with shared library support. These
9148 # are reset later if shared libraries are not supported. Putting them
9149 # here allows them to be overridden if necessary.
9150 runpath_var=LD_RUN_PATH
9151 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9152 export_dynamic_flag_spec='${wl}--export-dynamic'
9153 # ancient GNU ld didn't support --whole-archive et. al.
9154 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9155 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9156 else
9157 whole_archive_flag_spec=
9159 supports_anon_versioning=no
9160 case `$LD -v 2>&1` in
9161 *GNU\ gold*) supports_anon_versioning=yes ;;
9162 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9163 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9164 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9165 *\ 2.11.*) ;; # other 2.11 versions
9166 *) supports_anon_versioning=yes ;;
9167 esac
9169 # See if GNU ld supports shared libraries.
9170 case $host_os in
9171 aix[3-9]*)
9172 # On AIX/PPC, the GNU linker is very broken
9173 if test "$host_cpu" != ia64; then
9174 ld_shlibs=no
9175 cat <<_LT_EOF 1>&2
9177 *** Warning: the GNU linker, at least up to release 2.19, is reported
9178 *** to be unable to reliably create shared libraries on AIX.
9179 *** Therefore, libtool is disabling shared libraries support. If you
9180 *** really care for shared libraries, you may want to install binutils
9181 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9182 *** You will then need to restart the configuration process.
9184 _LT_EOF
9188 amigaos*)
9189 case $host_cpu in
9190 powerpc)
9191 # see comment about AmigaOS4 .so support
9192 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9193 archive_expsym_cmds=''
9195 m68k)
9196 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)'
9197 hardcode_libdir_flag_spec='-L$libdir'
9198 hardcode_minus_L=yes
9200 esac
9203 beos*)
9204 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9205 allow_undefined_flag=unsupported
9206 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9207 # support --undefined. This deserves some investigation. FIXME
9208 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9209 else
9210 ld_shlibs=no
9214 cygwin* | mingw* | pw32* | cegcc*)
9215 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9216 # as there is no search path for DLLs.
9217 hardcode_libdir_flag_spec='-L$libdir'
9218 export_dynamic_flag_spec='${wl}--export-all-symbols'
9219 allow_undefined_flag=unsupported
9220 always_export_symbols=no
9221 enable_shared_with_static_runtimes=yes
9222 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9224 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9226 # If the export-symbols file already is a .def file (1st line
9227 # is EXPORTS), use it as is; otherwise, prepend...
9228 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9229 cp $export_symbols $output_objdir/$soname.def;
9230 else
9231 echo EXPORTS > $output_objdir/$soname.def;
9232 cat $export_symbols >> $output_objdir/$soname.def;
9234 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 else
9236 ld_shlibs=no
9240 haiku*)
9241 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9242 link_all_deplibs=yes
9245 interix[3-9]*)
9246 hardcode_direct=no
9247 hardcode_shlibpath_var=no
9248 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9249 export_dynamic_flag_spec='${wl}-E'
9250 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9251 # Instead, shared libraries are loaded at an image base (0x10000000 by
9252 # default) and relocated if they conflict, which is a slow very memory
9253 # consuming and fragmenting process. To avoid this, we pick a random,
9254 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9255 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9256 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9257 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'
9260 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9261 tmp_diet=no
9262 if test "$host_os" = linux-dietlibc; then
9263 case $cc_basename in
9264 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9265 esac
9267 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9268 && test "$tmp_diet" = no
9269 then
9270 tmp_addflag=
9271 tmp_sharedflag='-shared'
9272 case $cc_basename,$host_cpu in
9273 pgcc*) # Portland Group C compiler
9274 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'
9275 tmp_addflag=' $pic_flag'
9277 pgf77* | pgf90* | pgf95* | pgfortran*)
9278 # Portland Group f77 and f90 compilers
9279 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'
9280 tmp_addflag=' $pic_flag -Mnomain' ;;
9281 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9282 tmp_addflag=' -i_dynamic' ;;
9283 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9284 tmp_addflag=' -i_dynamic -nofor_main' ;;
9285 ifc* | ifort*) # Intel Fortran compiler
9286 tmp_addflag=' -nofor_main' ;;
9287 lf95*) # Lahey Fortran 8.1
9288 whole_archive_flag_spec=
9289 tmp_sharedflag='--shared' ;;
9290 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9291 tmp_sharedflag='-qmkshrobj'
9292 tmp_addflag= ;;
9293 nvcc*) # Cuda Compiler Driver 2.2
9294 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'
9295 compiler_needs_object=yes
9297 esac
9298 case `$CC -V 2>&1 | sed 5q` in
9299 *Sun\ C*) # Sun C 5.9
9300 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'
9301 compiler_needs_object=yes
9302 tmp_sharedflag='-G' ;;
9303 *Sun\ F*) # Sun Fortran 8.3
9304 tmp_sharedflag='-G' ;;
9305 esac
9306 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9308 if test "x$supports_anon_versioning" = xyes; then
9309 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9310 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9311 echo "local: *; };" >> $output_objdir/$libname.ver~
9312 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9315 case $cc_basename in
9316 xlf* | bgf* | bgxlf* | mpixlf*)
9317 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9318 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9319 hardcode_libdir_flag_spec=
9320 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9321 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9322 if test "x$supports_anon_versioning" = xyes; then
9323 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9324 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9325 echo "local: *; };" >> $output_objdir/$libname.ver~
9326 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9329 esac
9330 else
9331 ld_shlibs=no
9335 netbsd*)
9336 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9337 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9338 wlarc=
9339 else
9340 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9341 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345 solaris*)
9346 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9347 ld_shlibs=no
9348 cat <<_LT_EOF 1>&2
9350 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9351 *** create shared libraries on Solaris systems. Therefore, libtool
9352 *** is disabling shared libraries support. We urge you to upgrade GNU
9353 *** binutils to release 2.9.1 or newer. Another option is to modify
9354 *** your PATH or compiler configuration so that the native linker is
9355 *** used, and then restart.
9357 _LT_EOF
9358 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9359 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9361 else
9362 ld_shlibs=no
9366 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9367 case `$LD -v 2>&1` in
9368 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9369 ld_shlibs=no
9370 cat <<_LT_EOF 1>&2
9372 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9373 *** reliably create shared libraries on SCO systems. Therefore, libtool
9374 *** is disabling shared libraries support. We urge you to upgrade GNU
9375 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9379 _LT_EOF
9382 # For security reasons, it is highly recommended that you always
9383 # use absolute paths for naming shared libraries, and exclude the
9384 # DT_RUNPATH tag from executables and libraries. But doing so
9385 # requires that you compile everything twice, which is a pain.
9386 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9387 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9388 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9389 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9390 else
9391 ld_shlibs=no
9394 esac
9397 sunos4*)
9398 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9399 wlarc=
9400 hardcode_direct=yes
9401 hardcode_shlibpath_var=no
9405 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9406 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9407 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9408 else
9409 ld_shlibs=no
9412 esac
9414 if test "$ld_shlibs" = no; then
9415 runpath_var=
9416 hardcode_libdir_flag_spec=
9417 export_dynamic_flag_spec=
9418 whole_archive_flag_spec=
9420 else
9421 # PORTME fill in a description of your system's linker (not GNU ld)
9422 case $host_os in
9423 aix3*)
9424 allow_undefined_flag=unsupported
9425 always_export_symbols=yes
9426 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'
9427 # Note: this linker hardcodes the directories in LIBPATH if there
9428 # are no directories specified by -L.
9429 hardcode_minus_L=yes
9430 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9431 # Neither direct hardcoding nor static linking is supported with a
9432 # broken collect2.
9433 hardcode_direct=unsupported
9437 aix[4-9]*)
9438 if test "$host_cpu" = ia64; then
9439 # On IA64, the linker does run time linking by default, so we don't
9440 # have to do anything special.
9441 aix_use_runtimelinking=no
9442 exp_sym_flag='-Bexport'
9443 no_entry_flag=""
9444 else
9445 # If we're using GNU nm, then we don't want the "-C" option.
9446 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9447 # Also, AIX nm treats weak defined symbols like other global
9448 # defined symbols, whereas GNU nm marks them as "W".
9449 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9450 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'
9451 else
9452 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9454 aix_use_runtimelinking=no
9456 # Test if we are trying to use run time linking or normal
9457 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9458 # need to do runtime linking.
9459 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9460 for ld_flag in $LDFLAGS; do
9461 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9462 aix_use_runtimelinking=yes
9463 break
9465 done
9467 esac
9469 exp_sym_flag='-bexport'
9470 no_entry_flag='-bnoentry'
9473 # When large executables or shared objects are built, AIX ld can
9474 # have problems creating the table of contents. If linking a library
9475 # or program results in "error TOC overflow" add -mminimal-toc to
9476 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9477 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9479 archive_cmds=''
9480 hardcode_direct=yes
9481 hardcode_direct_absolute=yes
9482 hardcode_libdir_separator=':'
9483 link_all_deplibs=yes
9484 file_list_spec='${wl}-f,'
9486 if test "$GCC" = yes; then
9487 case $host_os in aix4.[012]|aix4.[012].*)
9488 # We only want to do this on AIX 4.2 and lower, the check
9489 # below for broken collect2 doesn't work under 4.3+
9490 collect2name=`${CC} -print-prog-name=collect2`
9491 if test -f "$collect2name" &&
9492 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9493 then
9494 # We have reworked collect2
9496 else
9497 # We have old collect2
9498 hardcode_direct=unsupported
9499 # It fails to find uninstalled libraries when the uninstalled
9500 # path is not listed in the libpath. Setting hardcode_minus_L
9501 # to unsupported forces relinking
9502 hardcode_minus_L=yes
9503 hardcode_libdir_flag_spec='-L$libdir'
9504 hardcode_libdir_separator=
9507 esac
9508 shared_flag='-shared'
9509 if test "$aix_use_runtimelinking" = yes; then
9510 shared_flag="$shared_flag "'${wl}-G'
9512 else
9513 # not using gcc
9514 if test "$host_cpu" = ia64; then
9515 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9516 # chokes on -Wl,-G. The following line is correct:
9517 shared_flag='-G'
9518 else
9519 if test "$aix_use_runtimelinking" = yes; then
9520 shared_flag='${wl}-G'
9521 else
9522 shared_flag='${wl}-bM:SRE'
9527 export_dynamic_flag_spec='${wl}-bexpall'
9528 # It seems that -bexpall does not export symbols beginning with
9529 # underscore (_), so it is better to generate a list of symbols to export.
9530 always_export_symbols=yes
9531 if test "$aix_use_runtimelinking" = yes; then
9532 # Warning - without using the other runtime loading flags (-brtl),
9533 # -berok will link without error, but may produce a broken library.
9534 allow_undefined_flag='-berok'
9535 # Determine the default libpath from the value encoded in an
9536 # empty executable.
9537 if test x$gcc_no_link = xyes; then
9538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9544 main ()
9548 return 0;
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9553 lt_aix_libpath_sed='
9554 /Import File Strings/,/^$/ {
9555 /^0/ {
9556 s/^0 *\(.*\)$/\1/
9560 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9561 # Check for a 64-bit object if we didn't find anything.
9562 if test -z "$aix_libpath"; then
9563 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9566 rm -f core conftest.err conftest.$ac_objext \
9567 conftest$ac_exeext conftest.$ac_ext
9568 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9570 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9571 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"
9572 else
9573 if test "$host_cpu" = ia64; then
9574 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9575 allow_undefined_flag="-z nodefs"
9576 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"
9577 else
9578 # Determine the default libpath from the value encoded in an
9579 # empty executable.
9580 if test x$gcc_no_link = xyes; then
9581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9587 main ()
9591 return 0;
9593 _ACEOF
9594 if ac_fn_c_try_link "$LINENO"; then :
9596 lt_aix_libpath_sed='
9597 /Import File Strings/,/^$/ {
9598 /^0/ {
9599 s/^0 *\(.*\)$/\1/
9603 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9604 # Check for a 64-bit object if we didn't find anything.
9605 if test -z "$aix_libpath"; then
9606 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9613 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9614 # Warning - without using the other run time loading flags,
9615 # -berok will link without error, but may produce a broken library.
9616 no_undefined_flag=' ${wl}-bernotok'
9617 allow_undefined_flag=' ${wl}-berok'
9618 if test "$with_gnu_ld" = yes; then
9619 # We only use this code for GNU lds that support --whole-archive.
9620 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9621 else
9622 # Exported symbols can be pulled into shared objects from archives
9623 whole_archive_flag_spec='$convenience'
9625 archive_cmds_need_lc=yes
9626 # This is similar to how AIX traditionally builds its shared libraries.
9627 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'
9632 amigaos*)
9633 case $host_cpu in
9634 powerpc)
9635 # see comment about AmigaOS4 .so support
9636 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9637 archive_expsym_cmds=''
9639 m68k)
9640 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)'
9641 hardcode_libdir_flag_spec='-L$libdir'
9642 hardcode_minus_L=yes
9644 esac
9647 bsdi[45]*)
9648 export_dynamic_flag_spec=-rdynamic
9651 cygwin* | mingw* | pw32* | cegcc*)
9652 # When not using gcc, we currently assume that we are using
9653 # Microsoft Visual C++.
9654 # hardcode_libdir_flag_spec is actually meaningless, as there is
9655 # no search path for DLLs.
9656 hardcode_libdir_flag_spec=' '
9657 allow_undefined_flag=unsupported
9658 # Tell ltmain to make .lib files, not .a files.
9659 libext=lib
9660 # Tell ltmain to make .dll files, not .so files.
9661 shrext_cmds=".dll"
9662 # FIXME: Setting linknames here is a bad hack.
9663 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9664 # The linker will automatically build a .lib file if we build a DLL.
9665 old_archive_from_new_cmds='true'
9666 # FIXME: Should let the user specify the lib program.
9667 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9668 fix_srcfile_path='`cygpath -w "$srcfile"`'
9669 enable_shared_with_static_runtimes=yes
9672 darwin* | rhapsody*)
9675 archive_cmds_need_lc=no
9676 hardcode_direct=no
9677 hardcode_automatic=yes
9678 hardcode_shlibpath_var=unsupported
9679 if test "$lt_cv_ld_force_load" = "yes"; then
9680 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\"`'
9681 else
9682 whole_archive_flag_spec=''
9684 link_all_deplibs=yes
9685 allow_undefined_flag="$_lt_dar_allow_undefined"
9686 case $cc_basename in
9687 ifort*) _lt_dar_can_shared=yes ;;
9688 *) _lt_dar_can_shared=$GCC ;;
9689 esac
9690 if test "$_lt_dar_can_shared" = "yes"; then
9691 output_verbose_link_cmd=func_echo_all
9692 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9693 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9694 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}"
9695 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}"
9697 else
9698 ld_shlibs=no
9703 dgux*)
9704 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9705 hardcode_libdir_flag_spec='-L$libdir'
9706 hardcode_shlibpath_var=no
9709 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9710 # support. Future versions do this automatically, but an explicit c++rt0.o
9711 # does not break anything, and helps significantly (at the cost of a little
9712 # extra space).
9713 freebsd2.2*)
9714 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9715 hardcode_libdir_flag_spec='-R$libdir'
9716 hardcode_direct=yes
9717 hardcode_shlibpath_var=no
9720 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9721 freebsd2.*)
9722 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9723 hardcode_direct=yes
9724 hardcode_minus_L=yes
9725 hardcode_shlibpath_var=no
9728 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9729 freebsd* | dragonfly*)
9730 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9731 hardcode_libdir_flag_spec='-R$libdir'
9732 hardcode_direct=yes
9733 hardcode_shlibpath_var=no
9736 hpux9*)
9737 if test "$GCC" = yes; then
9738 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'
9739 else
9740 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'
9742 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9743 hardcode_libdir_separator=:
9744 hardcode_direct=yes
9746 # hardcode_minus_L: Not really in the search PATH,
9747 # but as the default location of the library.
9748 hardcode_minus_L=yes
9749 export_dynamic_flag_spec='${wl}-E'
9752 hpux10*)
9753 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9754 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9755 else
9756 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9758 if test "$with_gnu_ld" = no; then
9759 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9760 hardcode_libdir_flag_spec_ld='+b $libdir'
9761 hardcode_libdir_separator=:
9762 hardcode_direct=yes
9763 hardcode_direct_absolute=yes
9764 export_dynamic_flag_spec='${wl}-E'
9765 # hardcode_minus_L: Not really in the search PATH,
9766 # but as the default location of the library.
9767 hardcode_minus_L=yes
9771 hpux11*)
9772 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9773 case $host_cpu in
9774 hppa*64*)
9775 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9777 ia64*)
9778 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9781 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9783 esac
9784 else
9785 case $host_cpu in
9786 hppa*64*)
9787 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9789 ia64*)
9790 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9794 # Older versions of the 11.00 compiler do not understand -b yet
9795 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9797 $as_echo_n "checking if $CC understands -b... " >&6; }
9798 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9799 $as_echo_n "(cached) " >&6
9800 else
9801 lt_cv_prog_compiler__b=no
9802 save_LDFLAGS="$LDFLAGS"
9803 LDFLAGS="$LDFLAGS -b"
9804 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9805 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9806 # The linker can only warn and ignore the option if not recognized
9807 # So say no if there are warnings
9808 if test -s conftest.err; then
9809 # Append any errors to the config.log.
9810 cat conftest.err 1>&5
9811 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9812 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9813 if diff conftest.exp conftest.er2 >/dev/null; then
9814 lt_cv_prog_compiler__b=yes
9816 else
9817 lt_cv_prog_compiler__b=yes
9820 $RM -r conftest*
9821 LDFLAGS="$save_LDFLAGS"
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9825 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9827 if test x"$lt_cv_prog_compiler__b" = xyes; then
9828 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9829 else
9830 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9834 esac
9836 if test "$with_gnu_ld" = no; then
9837 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9838 hardcode_libdir_separator=:
9840 case $host_cpu in
9841 hppa*64*|ia64*)
9842 hardcode_direct=no
9843 hardcode_shlibpath_var=no
9846 hardcode_direct=yes
9847 hardcode_direct_absolute=yes
9848 export_dynamic_flag_spec='${wl}-E'
9850 # hardcode_minus_L: Not really in the search PATH,
9851 # but as the default location of the library.
9852 hardcode_minus_L=yes
9854 esac
9858 irix5* | irix6* | nonstopux*)
9859 if test "$GCC" = yes; then
9860 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'
9861 # Try to use the -exported_symbol ld option, if it does not
9862 # work, assume that -exports_file does not work either and
9863 # implicitly export all symbols.
9864 save_LDFLAGS="$LDFLAGS"
9865 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9866 if test x$gcc_no_link = xyes; then
9867 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9871 int foo(void) {}
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9874 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'
9877 rm -f core conftest.err conftest.$ac_objext \
9878 conftest$ac_exeext conftest.$ac_ext
9879 LDFLAGS="$save_LDFLAGS"
9880 else
9881 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'
9882 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'
9884 archive_cmds_need_lc='no'
9885 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9886 hardcode_libdir_separator=:
9887 inherit_rpath=yes
9888 link_all_deplibs=yes
9891 netbsd*)
9892 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9893 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9894 else
9895 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9897 hardcode_libdir_flag_spec='-R$libdir'
9898 hardcode_direct=yes
9899 hardcode_shlibpath_var=no
9902 newsos6)
9903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9904 hardcode_direct=yes
9905 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9906 hardcode_libdir_separator=:
9907 hardcode_shlibpath_var=no
9910 *nto* | *qnx*)
9913 openbsd*)
9914 if test -f /usr/libexec/ld.so; then
9915 hardcode_direct=yes
9916 hardcode_shlibpath_var=no
9917 hardcode_direct_absolute=yes
9918 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9919 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9920 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9921 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9922 export_dynamic_flag_spec='${wl}-E'
9923 else
9924 case $host_os in
9925 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9926 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9927 hardcode_libdir_flag_spec='-R$libdir'
9930 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9931 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9933 esac
9935 else
9936 ld_shlibs=no
9940 os2*)
9941 hardcode_libdir_flag_spec='-L$libdir'
9942 hardcode_minus_L=yes
9943 allow_undefined_flag=unsupported
9944 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'
9945 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9948 osf3*)
9949 if test "$GCC" = yes; then
9950 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9951 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'
9952 else
9953 allow_undefined_flag=' -expect_unresolved \*'
9954 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'
9956 archive_cmds_need_lc='no'
9957 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9958 hardcode_libdir_separator=:
9961 osf4* | osf5*) # as osf3* with the addition of -msym flag
9962 if test "$GCC" = yes; then
9963 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9964 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'
9965 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9966 else
9967 allow_undefined_flag=' -expect_unresolved \*'
9968 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'
9969 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~
9970 $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'
9972 # Both c and cxx compiler support -rpath directly
9973 hardcode_libdir_flag_spec='-rpath $libdir'
9975 archive_cmds_need_lc='no'
9976 hardcode_libdir_separator=:
9979 solaris*)
9980 no_undefined_flag=' -z defs'
9981 if test "$GCC" = yes; then
9982 wlarc='${wl}'
9983 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9984 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9985 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9986 else
9987 case `$CC -V 2>&1` in
9988 *"Compilers 5.0"*)
9989 wlarc=''
9990 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9991 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9992 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9995 wlarc='${wl}'
9996 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9997 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9998 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10000 esac
10002 hardcode_libdir_flag_spec='-R$libdir'
10003 hardcode_shlibpath_var=no
10004 case $host_os in
10005 solaris2.[0-5] | solaris2.[0-5].*) ;;
10007 # The compiler driver will combine and reorder linker options,
10008 # but understands `-z linker_flag'. GCC discards it without `$wl',
10009 # but is careful enough not to reorder.
10010 # Supported since Solaris 2.6 (maybe 2.5.1?)
10011 if test "$GCC" = yes; then
10012 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10013 else
10014 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10017 esac
10018 link_all_deplibs=yes
10021 sunos4*)
10022 if test "x$host_vendor" = xsequent; then
10023 # Use $CC to link under sequent, because it throws in some extra .o
10024 # files that make .init and .fini sections work.
10025 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10026 else
10027 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10029 hardcode_libdir_flag_spec='-L$libdir'
10030 hardcode_direct=yes
10031 hardcode_minus_L=yes
10032 hardcode_shlibpath_var=no
10035 sysv4)
10036 case $host_vendor in
10037 sni)
10038 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10039 hardcode_direct=yes # is this really true???
10041 siemens)
10042 ## LD is ld it makes a PLAMLIB
10043 ## CC just makes a GrossModule.
10044 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10045 reload_cmds='$CC -r -o $output$reload_objs'
10046 hardcode_direct=no
10048 motorola)
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10052 esac
10053 runpath_var='LD_RUN_PATH'
10054 hardcode_shlibpath_var=no
10057 sysv4.3*)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_shlibpath_var=no
10060 export_dynamic_flag_spec='-Bexport'
10063 sysv4*MP*)
10064 if test -d /usr/nec; then
10065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_shlibpath_var=no
10067 runpath_var=LD_RUN_PATH
10068 hardcode_runpath_var=yes
10069 ld_shlibs=yes
10073 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10074 no_undefined_flag='${wl}-z,text'
10075 archive_cmds_need_lc=no
10076 hardcode_shlibpath_var=no
10077 runpath_var='LD_RUN_PATH'
10079 if test "$GCC" = yes; then
10080 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10082 else
10083 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 sysv5* | sco3.2v5* | sco5v6*)
10089 # Note: We can NOT use -z defs as we might desire, because we do not
10090 # link with -lc, and that would cause any symbols used from libc to
10091 # always be unresolved, which means just about no library would
10092 # ever link correctly. If we're not using GNU ld we use -z text
10093 # though, which does catch some bad symbols but isn't as heavy-handed
10094 # as -z defs.
10095 no_undefined_flag='${wl}-z,text'
10096 allow_undefined_flag='${wl}-z,nodefs'
10097 archive_cmds_need_lc=no
10098 hardcode_shlibpath_var=no
10099 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10100 hardcode_libdir_separator=':'
10101 link_all_deplibs=yes
10102 export_dynamic_flag_spec='${wl}-Bexport'
10103 runpath_var='LD_RUN_PATH'
10105 if test "$GCC" = yes; then
10106 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10108 else
10109 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10114 uts4*)
10115 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10116 hardcode_libdir_flag_spec='-L$libdir'
10117 hardcode_shlibpath_var=no
10121 ld_shlibs=no
10123 esac
10125 if test x$host_vendor = xsni; then
10126 case $host in
10127 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10128 export_dynamic_flag_spec='${wl}-Blargedynsym'
10130 esac
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10135 $as_echo "$ld_shlibs" >&6; }
10136 test "$ld_shlibs" = no && can_build_shared=no
10138 with_gnu_ld=$with_gnu_ld
10155 # Do we need to explicitly link libc?
10157 case "x$archive_cmds_need_lc" in
10158 x|xyes)
10159 # Assume -lc should be added
10160 archive_cmds_need_lc=yes
10162 if test "$enable_shared" = yes && test "$GCC" = yes; then
10163 case $archive_cmds in
10164 *'~'*)
10165 # FIXME: we may have to deal with multi-command sequences.
10167 '$CC '*)
10168 # Test whether the compiler implicitly links with -lc since on some
10169 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10170 # to ld, don't add -lc before -lgcc.
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10172 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10173 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 $RM conftest*
10177 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10180 (eval $ac_compile) 2>&5
10181 ac_status=$?
10182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10183 test $ac_status = 0; } 2>conftest.err; then
10184 soname=conftest
10185 lib=conftest
10186 libobjs=conftest.$ac_objext
10187 deplibs=
10188 wl=$lt_prog_compiler_wl
10189 pic_flag=$lt_prog_compiler_pic
10190 compiler_flags=-v
10191 linker_flags=-v
10192 verstring=
10193 output_objdir=.
10194 libname=conftest
10195 lt_save_allow_undefined_flag=$allow_undefined_flag
10196 allow_undefined_flag=
10197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10198 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10199 ac_status=$?
10200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10201 test $ac_status = 0; }
10202 then
10203 lt_cv_archive_cmds_need_lc=no
10204 else
10205 lt_cv_archive_cmds_need_lc=yes
10207 allow_undefined_flag=$lt_save_allow_undefined_flag
10208 else
10209 cat conftest.err 1>&5
10211 $RM conftest*
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10215 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10216 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10218 esac
10221 esac
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10380 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10382 if test "$GCC" = yes; then
10383 case $host_os in
10384 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10385 *) lt_awk_arg="/^libraries:/" ;;
10386 esac
10387 case $host_os in
10388 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10389 *) lt_sed_strip_eq="s,=/,/,g" ;;
10390 esac
10391 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10392 case $lt_search_path_spec in
10393 *\;*)
10394 # if the path contains ";" then we assume it to be the separator
10395 # otherwise default to the standard path separator (i.e. ":") - it is
10396 # assumed that no part of a normal pathname contains ";" but that should
10397 # okay in the real world where ";" in dirpaths is itself problematic.
10398 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10401 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10403 esac
10404 # Ok, now we have the path, separated by spaces, we can step through it
10405 # and add multilib dir if necessary.
10406 lt_tmp_lt_search_path_spec=
10407 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10408 for lt_sys_path in $lt_search_path_spec; do
10409 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10410 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10411 else
10412 test -d "$lt_sys_path" && \
10413 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10415 done
10416 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10417 BEGIN {RS=" "; FS="/|\n";} {
10418 lt_foo="";
10419 lt_count=0;
10420 for (lt_i = NF; lt_i > 0; lt_i--) {
10421 if ($lt_i != "" && $lt_i != ".") {
10422 if ($lt_i == "..") {
10423 lt_count++;
10424 } else {
10425 if (lt_count == 0) {
10426 lt_foo="/" $lt_i lt_foo;
10427 } else {
10428 lt_count--;
10433 if (lt_foo != "") { lt_freq[lt_foo]++; }
10434 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10436 # AWK program above erroneously prepends '/' to C:/dos/paths
10437 # for these hosts.
10438 case $host_os in
10439 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10440 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10441 esac
10442 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10443 else
10444 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10446 library_names_spec=
10447 libname_spec='lib$name'
10448 soname_spec=
10449 shrext_cmds=".so"
10450 postinstall_cmds=
10451 postuninstall_cmds=
10452 finish_cmds=
10453 finish_eval=
10454 shlibpath_var=
10455 shlibpath_overrides_runpath=unknown
10456 version_type=none
10457 dynamic_linker="$host_os ld.so"
10458 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10459 need_lib_prefix=unknown
10460 hardcode_into_libs=no
10462 # when you set need_version to no, make sure it does not cause -set_version
10463 # flags to be left without arguments
10464 need_version=unknown
10466 case $host_os in
10467 aix3*)
10468 version_type=linux
10469 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10470 shlibpath_var=LIBPATH
10472 # AIX 3 has no versioning support, so we append a major version to the name.
10473 soname_spec='${libname}${release}${shared_ext}$major'
10476 aix[4-9]*)
10477 version_type=linux
10478 need_lib_prefix=no
10479 need_version=no
10480 hardcode_into_libs=yes
10481 if test "$host_cpu" = ia64; then
10482 # AIX 5 supports IA64
10483 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10484 shlibpath_var=LD_LIBRARY_PATH
10485 else
10486 # With GCC up to 2.95.x, collect2 would create an import file
10487 # for dependence libraries. The import file would start with
10488 # the line `#! .'. This would cause the generated library to
10489 # depend on `.', always an invalid library. This was fixed in
10490 # development snapshots of GCC prior to 3.0.
10491 case $host_os in
10492 aix4 | aix4.[01] | aix4.[01].*)
10493 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10494 echo ' yes '
10495 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10497 else
10498 can_build_shared=no
10501 esac
10502 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10503 # soname into executable. Probably we can add versioning support to
10504 # collect2, so additional links can be useful in future.
10505 if test "$aix_use_runtimelinking" = yes; then
10506 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10507 # instead of lib<name>.a to let people know that these are not
10508 # typical AIX shared libraries.
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 else
10511 # We preserve .a as extension for shared libraries through AIX4.2
10512 # and later when we are not doing run time linking.
10513 library_names_spec='${libname}${release}.a $libname.a'
10514 soname_spec='${libname}${release}${shared_ext}$major'
10516 shlibpath_var=LIBPATH
10520 amigaos*)
10521 case $host_cpu in
10522 powerpc)
10523 # Since July 2007 AmigaOS4 officially supports .so libraries.
10524 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527 m68k)
10528 library_names_spec='$libname.ixlibrary $libname.a'
10529 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10530 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'
10532 esac
10535 beos*)
10536 library_names_spec='${libname}${shared_ext}'
10537 dynamic_linker="$host_os ld.so"
10538 shlibpath_var=LIBRARY_PATH
10541 bsdi[45]*)
10542 version_type=linux
10543 need_version=no
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545 soname_spec='${libname}${release}${shared_ext}$major'
10546 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10547 shlibpath_var=LD_LIBRARY_PATH
10548 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10549 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10550 # the default ld.so.conf also contains /usr/contrib/lib and
10551 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10552 # libtool to hard-code these into programs
10555 cygwin* | mingw* | pw32* | cegcc*)
10556 version_type=windows
10557 shrext_cmds=".dll"
10558 need_version=no
10559 need_lib_prefix=no
10561 case $GCC,$host_os in
10562 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10563 library_names_spec='$libname.dll.a'
10564 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10565 postinstall_cmds='base_file=`basename \${file}`~
10566 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10567 dldir=$destdir/`dirname \$dlpath`~
10568 test -d \$dldir || mkdir -p \$dldir~
10569 $install_prog $dir/$dlname \$dldir/$dlname~
10570 chmod a+x \$dldir/$dlname~
10571 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10572 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10574 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10575 dlpath=$dir/\$dldll~
10576 $RM \$dlpath'
10577 shlibpath_overrides_runpath=yes
10579 case $host_os in
10580 cygwin*)
10581 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10582 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10584 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10586 mingw* | cegcc*)
10587 # MinGW DLLs use traditional 'lib' prefix
10588 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10590 pw32*)
10591 # pw32 DLLs use 'pw' prefix rather than 'lib'
10592 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10594 esac
10598 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10600 esac
10601 dynamic_linker='Win32 ld.exe'
10602 # FIXME: first we should search . and the directory the executable is in
10603 shlibpath_var=PATH
10606 darwin* | rhapsody*)
10607 dynamic_linker="$host_os dyld"
10608 version_type=darwin
10609 need_lib_prefix=no
10610 need_version=no
10611 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10612 soname_spec='${libname}${release}${major}$shared_ext'
10613 shlibpath_overrides_runpath=yes
10614 shlibpath_var=DYLD_LIBRARY_PATH
10615 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10617 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10618 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10621 dgux*)
10622 version_type=linux
10623 need_lib_prefix=no
10624 need_version=no
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10626 soname_spec='${libname}${release}${shared_ext}$major'
10627 shlibpath_var=LD_LIBRARY_PATH
10630 freebsd* | dragonfly*)
10631 # DragonFly does not have aout. When/if they implement a new
10632 # versioning mechanism, adjust this.
10633 if test -x /usr/bin/objformat; then
10634 objformat=`/usr/bin/objformat`
10635 else
10636 case $host_os in
10637 freebsd[23].*) objformat=aout ;;
10638 *) objformat=elf ;;
10639 esac
10641 version_type=freebsd-$objformat
10642 case $version_type in
10643 freebsd-elf*)
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10645 need_version=no
10646 need_lib_prefix=no
10648 freebsd-*)
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10650 need_version=yes
10652 esac
10653 shlibpath_var=LD_LIBRARY_PATH
10654 case $host_os in
10655 freebsd2.*)
10656 shlibpath_overrides_runpath=yes
10658 freebsd3.[01]* | freebsdelf3.[01]*)
10659 shlibpath_overrides_runpath=yes
10660 hardcode_into_libs=yes
10662 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10663 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10664 shlibpath_overrides_runpath=no
10665 hardcode_into_libs=yes
10667 *) # from 4.6 on, and DragonFly
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10671 esac
10674 gnu*)
10675 version_type=linux
10676 need_lib_prefix=no
10677 need_version=no
10678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10679 soname_spec='${libname}${release}${shared_ext}$major'
10680 shlibpath_var=LD_LIBRARY_PATH
10681 hardcode_into_libs=yes
10684 haiku*)
10685 version_type=linux
10686 need_lib_prefix=no
10687 need_version=no
10688 dynamic_linker="$host_os runtime_loader"
10689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10690 soname_spec='${libname}${release}${shared_ext}$major'
10691 shlibpath_var=LIBRARY_PATH
10692 shlibpath_overrides_runpath=yes
10693 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10694 hardcode_into_libs=yes
10697 hpux9* | hpux10* | hpux11*)
10698 # Give a soname corresponding to the major version so that dld.sl refuses to
10699 # link against other versions.
10700 version_type=sunos
10701 need_lib_prefix=no
10702 need_version=no
10703 case $host_cpu in
10704 ia64*)
10705 shrext_cmds='.so'
10706 hardcode_into_libs=yes
10707 dynamic_linker="$host_os dld.so"
10708 shlibpath_var=LD_LIBRARY_PATH
10709 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 soname_spec='${libname}${release}${shared_ext}$major'
10712 if test "X$HPUX_IA64_MODE" = X32; then
10713 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10714 else
10715 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10717 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10719 hppa*64*)
10720 shrext_cmds='.sl'
10721 hardcode_into_libs=yes
10722 dynamic_linker="$host_os dld.sl"
10723 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10724 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10726 soname_spec='${libname}${release}${shared_ext}$major'
10727 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10728 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10731 shrext_cmds='.sl'
10732 dynamic_linker="$host_os dld.sl"
10733 shlibpath_var=SHLIB_PATH
10734 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10736 soname_spec='${libname}${release}${shared_ext}$major'
10738 esac
10739 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10740 postinstall_cmds='chmod 555 $lib'
10741 # or fails outright, so override atomically:
10742 install_override_mode=555
10745 interix[3-9]*)
10746 version_type=linux
10747 need_lib_prefix=no
10748 need_version=no
10749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10750 soname_spec='${libname}${release}${shared_ext}$major'
10751 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10752 shlibpath_var=LD_LIBRARY_PATH
10753 shlibpath_overrides_runpath=no
10754 hardcode_into_libs=yes
10757 irix5* | irix6* | nonstopux*)
10758 case $host_os in
10759 nonstopux*) version_type=nonstopux ;;
10761 if test "$lt_cv_prog_gnu_ld" = yes; then
10762 version_type=linux
10763 else
10764 version_type=irix
10765 fi ;;
10766 esac
10767 need_lib_prefix=no
10768 need_version=no
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10771 case $host_os in
10772 irix5* | nonstopux*)
10773 libsuff= shlibsuff=
10776 case $LD in # libtool.m4 will add one of these switches to LD
10777 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10778 libsuff= shlibsuff= libmagic=32-bit;;
10779 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10780 libsuff=32 shlibsuff=N32 libmagic=N32;;
10781 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10782 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10783 *) libsuff= shlibsuff= libmagic=never-match;;
10784 esac
10786 esac
10787 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10788 shlibpath_overrides_runpath=no
10789 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10790 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10791 hardcode_into_libs=yes
10794 # No shared lib support for Linux oldld, aout, or coff.
10795 linux*oldld* | linux*aout* | linux*coff*)
10796 dynamic_linker=no
10799 # This must be Linux ELF.
10800 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10801 version_type=linux
10802 need_lib_prefix=no
10803 need_version=no
10804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10805 soname_spec='${libname}${release}${shared_ext}$major'
10806 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10807 shlibpath_var=LD_LIBRARY_PATH
10808 shlibpath_overrides_runpath=no
10810 # Some binutils ld are patched to set DT_RUNPATH
10811 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10812 $as_echo_n "(cached) " >&6
10813 else
10814 lt_cv_shlibpath_overrides_runpath=no
10815 save_LDFLAGS=$LDFLAGS
10816 save_libdir=$libdir
10817 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10818 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10819 if test x$gcc_no_link = xyes; then
10820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10826 main ()
10830 return 0;
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"; then :
10834 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10835 lt_cv_shlibpath_overrides_runpath=yes
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10840 LDFLAGS=$save_LDFLAGS
10841 libdir=$save_libdir
10845 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10847 # This implies no fast_install, which is unacceptable.
10848 # Some rework will be needed to allow for fast_install
10849 # before this can be enabled.
10850 hardcode_into_libs=yes
10852 # Append ld.so.conf contents to the search path
10853 if test -f /etc/ld.so.conf; then
10854 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' ' '`
10855 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10858 # We used to test for /lib/ld.so.1 and disable shared libraries on
10859 # powerpc, because MkLinux only supported shared libraries with the
10860 # GNU dynamic linker. Since this was broken with cross compilers,
10861 # most powerpc-linux boxes support dynamic linking these days and
10862 # people can always --disable-shared, the test was removed, and we
10863 # assume the GNU/Linux dynamic linker is in use.
10864 dynamic_linker='GNU/Linux ld.so'
10867 netbsd*)
10868 version_type=sunos
10869 need_lib_prefix=no
10870 need_version=no
10871 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10873 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10874 dynamic_linker='NetBSD (a.out) ld.so'
10875 else
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10878 dynamic_linker='NetBSD ld.elf_so'
10880 shlibpath_var=LD_LIBRARY_PATH
10881 shlibpath_overrides_runpath=yes
10882 hardcode_into_libs=yes
10885 newsos6)
10886 version_type=linux
10887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10888 shlibpath_var=LD_LIBRARY_PATH
10889 shlibpath_overrides_runpath=yes
10892 *nto* | *qnx*)
10893 version_type=qnx
10894 need_lib_prefix=no
10895 need_version=no
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 shlibpath_var=LD_LIBRARY_PATH
10899 shlibpath_overrides_runpath=no
10900 hardcode_into_libs=yes
10901 dynamic_linker='ldqnx.so'
10904 openbsd*)
10905 version_type=sunos
10906 sys_lib_dlsearch_path_spec="/usr/lib"
10907 need_lib_prefix=no
10908 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10909 case $host_os in
10910 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10911 *) need_version=no ;;
10912 esac
10913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10914 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10917 case $host_os in
10918 openbsd2.[89] | openbsd2.[89].*)
10919 shlibpath_overrides_runpath=no
10922 shlibpath_overrides_runpath=yes
10924 esac
10925 else
10926 shlibpath_overrides_runpath=yes
10930 os2*)
10931 libname_spec='$name'
10932 shrext_cmds=".dll"
10933 need_lib_prefix=no
10934 library_names_spec='$libname${shared_ext} $libname.a'
10935 dynamic_linker='OS/2 ld.exe'
10936 shlibpath_var=LIBPATH
10939 osf3* | osf4* | osf5*)
10940 version_type=osf
10941 need_lib_prefix=no
10942 need_version=no
10943 soname_spec='${libname}${release}${shared_ext}$major'
10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10945 shlibpath_var=LD_LIBRARY_PATH
10946 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10947 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10950 rdos*)
10951 dynamic_linker=no
10954 solaris*)
10955 version_type=linux
10956 need_lib_prefix=no
10957 need_version=no
10958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10959 soname_spec='${libname}${release}${shared_ext}$major'
10960 shlibpath_var=LD_LIBRARY_PATH
10961 shlibpath_overrides_runpath=yes
10962 hardcode_into_libs=yes
10963 # ldd complains unless libraries are executable
10964 postinstall_cmds='chmod +x $lib'
10967 sunos4*)
10968 version_type=sunos
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10970 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10971 shlibpath_var=LD_LIBRARY_PATH
10972 shlibpath_overrides_runpath=yes
10973 if test "$with_gnu_ld" = yes; then
10974 need_lib_prefix=no
10976 need_version=yes
10979 sysv4 | sysv4.3*)
10980 version_type=linux
10981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10982 soname_spec='${libname}${release}${shared_ext}$major'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 case $host_vendor in
10985 sni)
10986 shlibpath_overrides_runpath=no
10987 need_lib_prefix=no
10988 runpath_var=LD_RUN_PATH
10990 siemens)
10991 need_lib_prefix=no
10993 motorola)
10994 need_lib_prefix=no
10995 need_version=no
10996 shlibpath_overrides_runpath=no
10997 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10999 esac
11002 sysv4*MP*)
11003 if test -d /usr/nec ;then
11004 version_type=linux
11005 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11006 soname_spec='$libname${shared_ext}.$major'
11007 shlibpath_var=LD_LIBRARY_PATH
11011 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11012 version_type=freebsd-elf
11013 need_lib_prefix=no
11014 need_version=no
11015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11016 soname_spec='${libname}${release}${shared_ext}$major'
11017 shlibpath_var=LD_LIBRARY_PATH
11018 shlibpath_overrides_runpath=yes
11019 hardcode_into_libs=yes
11020 if test "$with_gnu_ld" = yes; then
11021 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11022 else
11023 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11024 case $host_os in
11025 sco3.2v5*)
11026 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11028 esac
11030 sys_lib_dlsearch_path_spec='/usr/lib'
11033 tpf*)
11034 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11035 version_type=linux
11036 need_lib_prefix=no
11037 need_version=no
11038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=no
11041 hardcode_into_libs=yes
11044 uts4*)
11045 version_type=linux
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047 soname_spec='${libname}${release}${shared_ext}$major'
11048 shlibpath_var=LD_LIBRARY_PATH
11052 dynamic_linker=no
11054 esac
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11056 $as_echo "$dynamic_linker" >&6; }
11057 test "$dynamic_linker" = no && can_build_shared=no
11059 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11060 if test "$GCC" = yes; then
11061 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11064 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11065 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11067 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11068 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11163 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11164 hardcode_action=
11165 if test -n "$hardcode_libdir_flag_spec" ||
11166 test -n "$runpath_var" ||
11167 test "X$hardcode_automatic" = "Xyes" ; then
11169 # We can hardcode non-existent directories.
11170 if test "$hardcode_direct" != no &&
11171 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11172 # have to relink, otherwise we might link with an installed library
11173 # when we should be linking with a yet-to-be-installed one
11174 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11175 test "$hardcode_minus_L" != no; then
11176 # Linking always hardcodes the temporary library directory.
11177 hardcode_action=relink
11178 else
11179 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11180 hardcode_action=immediate
11182 else
11183 # We cannot hardcode anything, or else we can only hardcode existing
11184 # directories.
11185 hardcode_action=unsupported
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11188 $as_echo "$hardcode_action" >&6; }
11190 if test "$hardcode_action" = relink ||
11191 test "$inherit_rpath" = yes; then
11192 # Fast installation is not supported
11193 enable_fast_install=no
11194 elif test "$shlibpath_overrides_runpath" = yes ||
11195 test "$enable_shared" = no; then
11196 # Fast installation is not necessary
11197 enable_fast_install=needless
11205 if test "x$enable_dlopen" != xyes; then
11206 enable_dlopen=unknown
11207 enable_dlopen_self=unknown
11208 enable_dlopen_self_static=unknown
11209 else
11210 lt_cv_dlopen=no
11211 lt_cv_dlopen_libs=
11213 case $host_os in
11214 beos*)
11215 lt_cv_dlopen="load_add_on"
11216 lt_cv_dlopen_libs=
11217 lt_cv_dlopen_self=yes
11220 mingw* | pw32* | cegcc*)
11221 lt_cv_dlopen="LoadLibrary"
11222 lt_cv_dlopen_libs=
11225 cygwin*)
11226 lt_cv_dlopen="dlopen"
11227 lt_cv_dlopen_libs=
11230 darwin*)
11231 # if libdl is installed we need to link against it
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11233 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11234 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-ldl $LIBS"
11239 if test x$gcc_no_link = xyes; then
11240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11245 /* Override any GCC internal prototype to avoid an error.
11246 Use char because int might match the return type of a GCC
11247 builtin and then its argument prototype would still apply. */
11248 #ifdef __cplusplus
11249 extern "C"
11250 #endif
11251 char dlopen ();
11253 main ()
11255 return dlopen ();
11257 return 0;
11259 _ACEOF
11260 if ac_fn_c_try_link "$LINENO"; then :
11261 ac_cv_lib_dl_dlopen=yes
11262 else
11263 ac_cv_lib_dl_dlopen=no
11265 rm -f core conftest.err conftest.$ac_objext \
11266 conftest$ac_exeext conftest.$ac_ext
11267 LIBS=$ac_check_lib_save_LIBS
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11270 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11271 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11272 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11273 else
11275 lt_cv_dlopen="dyld"
11276 lt_cv_dlopen_libs=
11277 lt_cv_dlopen_self=yes
11284 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11285 if test "x$ac_cv_func_shl_load" = x""yes; then :
11286 lt_cv_dlopen="shl_load"
11287 else
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11289 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11290 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_lib_save_LIBS=$LIBS
11294 LIBS="-ldld $LIBS"
11295 if test x$gcc_no_link = xyes; then
11296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11304 #ifdef __cplusplus
11305 extern "C"
11306 #endif
11307 char shl_load ();
11309 main ()
11311 return shl_load ();
11313 return 0;
11315 _ACEOF
11316 if ac_fn_c_try_link "$LINENO"; then :
11317 ac_cv_lib_dld_shl_load=yes
11318 else
11319 ac_cv_lib_dld_shl_load=no
11321 rm -f core conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 LIBS=$ac_check_lib_save_LIBS
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11326 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11327 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11328 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11329 else
11330 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11331 if test "x$ac_cv_func_dlopen" = x""yes; then :
11332 lt_cv_dlopen="dlopen"
11333 else
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11335 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11336 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_lib_save_LIBS=$LIBS
11340 LIBS="-ldl $LIBS"
11341 if test x$gcc_no_link = xyes; then
11342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11347 /* Override any GCC internal prototype to avoid an error.
11348 Use char because int might match the return type of a GCC
11349 builtin and then its argument prototype would still apply. */
11350 #ifdef __cplusplus
11351 extern "C"
11352 #endif
11353 char dlopen ();
11355 main ()
11357 return dlopen ();
11359 return 0;
11361 _ACEOF
11362 if ac_fn_c_try_link "$LINENO"; then :
11363 ac_cv_lib_dl_dlopen=yes
11364 else
11365 ac_cv_lib_dl_dlopen=no
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_lib_save_LIBS
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11372 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11373 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11374 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11375 else
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11377 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11378 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11379 $as_echo_n "(cached) " >&6
11380 else
11381 ac_check_lib_save_LIBS=$LIBS
11382 LIBS="-lsvld $LIBS"
11383 if test x$gcc_no_link = xyes; then
11384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11389 /* Override any GCC internal prototype to avoid an error.
11390 Use char because int might match the return type of a GCC
11391 builtin and then its argument prototype would still apply. */
11392 #ifdef __cplusplus
11393 extern "C"
11394 #endif
11395 char dlopen ();
11397 main ()
11399 return dlopen ();
11401 return 0;
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"; then :
11405 ac_cv_lib_svld_dlopen=yes
11406 else
11407 ac_cv_lib_svld_dlopen=no
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_lib_save_LIBS
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11414 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11415 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11416 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11417 else
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11419 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11420 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11421 $as_echo_n "(cached) " >&6
11422 else
11423 ac_check_lib_save_LIBS=$LIBS
11424 LIBS="-ldld $LIBS"
11425 if test x$gcc_no_link = xyes; then
11426 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h. */
11431 /* Override any GCC internal prototype to avoid an error.
11432 Use char because int might match the return type of a GCC
11433 builtin and then its argument prototype would still apply. */
11434 #ifdef __cplusplus
11435 extern "C"
11436 #endif
11437 char dld_link ();
11439 main ()
11441 return dld_link ();
11443 return 0;
11445 _ACEOF
11446 if ac_fn_c_try_link "$LINENO"; then :
11447 ac_cv_lib_dld_dld_link=yes
11448 else
11449 ac_cv_lib_dld_dld_link=no
11451 rm -f core conftest.err conftest.$ac_objext \
11452 conftest$ac_exeext conftest.$ac_ext
11453 LIBS=$ac_check_lib_save_LIBS
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11456 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11457 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11458 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11477 esac
11479 if test "x$lt_cv_dlopen" != xno; then
11480 enable_dlopen=yes
11481 else
11482 enable_dlopen=no
11485 case $lt_cv_dlopen in
11486 dlopen)
11487 save_CPPFLAGS="$CPPFLAGS"
11488 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11490 save_LDFLAGS="$LDFLAGS"
11491 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11493 save_LIBS="$LIBS"
11494 LIBS="$lt_cv_dlopen_libs $LIBS"
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11497 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11498 if test "${lt_cv_dlopen_self+set}" = set; then :
11499 $as_echo_n "(cached) " >&6
11500 else
11501 if test "$cross_compiling" = yes; then :
11502 lt_cv_dlopen_self=cross
11503 else
11504 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11505 lt_status=$lt_dlunknown
11506 cat > conftest.$ac_ext <<_LT_EOF
11507 #line 11507 "configure"
11508 #include "confdefs.h"
11510 #if HAVE_DLFCN_H
11511 #include <dlfcn.h>
11512 #endif
11514 #include <stdio.h>
11516 #ifdef RTLD_GLOBAL
11517 # define LT_DLGLOBAL RTLD_GLOBAL
11518 #else
11519 # ifdef DL_GLOBAL
11520 # define LT_DLGLOBAL DL_GLOBAL
11521 # else
11522 # define LT_DLGLOBAL 0
11523 # endif
11524 #endif
11526 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11527 find out it does not work in some platform. */
11528 #ifndef LT_DLLAZY_OR_NOW
11529 # ifdef RTLD_LAZY
11530 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11531 # else
11532 # ifdef DL_LAZY
11533 # define LT_DLLAZY_OR_NOW DL_LAZY
11534 # else
11535 # ifdef RTLD_NOW
11536 # define LT_DLLAZY_OR_NOW RTLD_NOW
11537 # else
11538 # ifdef DL_NOW
11539 # define LT_DLLAZY_OR_NOW DL_NOW
11540 # else
11541 # define LT_DLLAZY_OR_NOW 0
11542 # endif
11543 # endif
11544 # endif
11545 # endif
11546 #endif
11548 /* When -fvisbility=hidden is used, assume the code has been annotated
11549 correspondingly for the symbols needed. */
11550 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11551 void fnord () __attribute__((visibility("default")));
11552 #endif
11554 void fnord () { int i=42; }
11555 int main ()
11557 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11558 int status = $lt_dlunknown;
11560 if (self)
11562 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11563 else
11565 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11566 else puts (dlerror ());
11568 /* dlclose (self); */
11570 else
11571 puts (dlerror ());
11573 return status;
11575 _LT_EOF
11576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11577 (eval $ac_link) 2>&5
11578 ac_status=$?
11579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11580 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11581 (./conftest; exit; ) >&5 2>/dev/null
11582 lt_status=$?
11583 case x$lt_status in
11584 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11585 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11586 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11587 esac
11588 else :
11589 # compilation failed
11590 lt_cv_dlopen_self=no
11593 rm -fr conftest*
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11598 $as_echo "$lt_cv_dlopen_self" >&6; }
11600 if test "x$lt_cv_dlopen_self" = xyes; then
11601 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11603 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11604 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11605 $as_echo_n "(cached) " >&6
11606 else
11607 if test "$cross_compiling" = yes; then :
11608 lt_cv_dlopen_self_static=cross
11609 else
11610 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11611 lt_status=$lt_dlunknown
11612 cat > conftest.$ac_ext <<_LT_EOF
11613 #line 11613 "configure"
11614 #include "confdefs.h"
11616 #if HAVE_DLFCN_H
11617 #include <dlfcn.h>
11618 #endif
11620 #include <stdio.h>
11622 #ifdef RTLD_GLOBAL
11623 # define LT_DLGLOBAL RTLD_GLOBAL
11624 #else
11625 # ifdef DL_GLOBAL
11626 # define LT_DLGLOBAL DL_GLOBAL
11627 # else
11628 # define LT_DLGLOBAL 0
11629 # endif
11630 #endif
11632 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11633 find out it does not work in some platform. */
11634 #ifndef LT_DLLAZY_OR_NOW
11635 # ifdef RTLD_LAZY
11636 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11637 # else
11638 # ifdef DL_LAZY
11639 # define LT_DLLAZY_OR_NOW DL_LAZY
11640 # else
11641 # ifdef RTLD_NOW
11642 # define LT_DLLAZY_OR_NOW RTLD_NOW
11643 # else
11644 # ifdef DL_NOW
11645 # define LT_DLLAZY_OR_NOW DL_NOW
11646 # else
11647 # define LT_DLLAZY_OR_NOW 0
11648 # endif
11649 # endif
11650 # endif
11651 # endif
11652 #endif
11654 /* When -fvisbility=hidden is used, assume the code has been annotated
11655 correspondingly for the symbols needed. */
11656 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11657 void fnord () __attribute__((visibility("default")));
11658 #endif
11660 void fnord () { int i=42; }
11661 int main ()
11663 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11664 int status = $lt_dlunknown;
11666 if (self)
11668 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11669 else
11671 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11672 else puts (dlerror ());
11674 /* dlclose (self); */
11676 else
11677 puts (dlerror ());
11679 return status;
11681 _LT_EOF
11682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11683 (eval $ac_link) 2>&5
11684 ac_status=$?
11685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11686 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11687 (./conftest; exit; ) >&5 2>/dev/null
11688 lt_status=$?
11689 case x$lt_status in
11690 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11691 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11692 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11693 esac
11694 else :
11695 # compilation failed
11696 lt_cv_dlopen_self_static=no
11699 rm -fr conftest*
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11704 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11707 CPPFLAGS="$save_CPPFLAGS"
11708 LDFLAGS="$save_LDFLAGS"
11709 LIBS="$save_LIBS"
11711 esac
11713 case $lt_cv_dlopen_self in
11714 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11715 *) enable_dlopen_self=unknown ;;
11716 esac
11718 case $lt_cv_dlopen_self_static in
11719 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11720 *) enable_dlopen_self_static=unknown ;;
11721 esac
11740 striplib=
11741 old_striplib=
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11743 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11744 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11745 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11746 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11748 $as_echo "yes" >&6; }
11749 else
11750 # FIXME - insert some real tests, host_os isn't really good enough
11751 case $host_os in
11752 darwin*)
11753 if test -n "$STRIP" ; then
11754 striplib="$STRIP -x"
11755 old_striplib="$STRIP -S"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11760 $as_echo "no" >&6; }
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11765 $as_echo "no" >&6; }
11767 esac
11781 # Report which library types will actually be built
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11783 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11785 $as_echo "$can_build_shared" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11788 $as_echo_n "checking whether to build shared libraries... " >&6; }
11789 test "$can_build_shared" = "no" && enable_shared=no
11791 # On AIX, shared libraries and static libraries use the same namespace, and
11792 # are all built from PIC.
11793 case $host_os in
11794 aix3*)
11795 test "$enable_shared" = yes && enable_static=no
11796 if test -n "$RANLIB"; then
11797 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11798 postinstall_cmds='$RANLIB $lib'
11802 aix[4-9]*)
11803 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11804 test "$enable_shared" = yes && enable_static=no
11807 esac
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11809 $as_echo "$enable_shared" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11812 $as_echo_n "checking whether to build static libraries... " >&6; }
11813 # Make sure either enable_shared or enable_static is yes.
11814 test "$enable_shared" = yes || enable_static=yes
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11816 $as_echo "$enable_static" >&6; }
11822 ac_ext=c
11823 ac_cpp='$CPP $CPPFLAGS'
11824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11828 CC="$lt_save_CC"
11830 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11831 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11832 (test "X$CXX" != "Xg++"))) ; then
11833 ac_ext=cpp
11834 ac_cpp='$CXXCPP $CPPFLAGS'
11835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11839 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11840 if test -z "$CXXCPP"; then
11841 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 # Double quotes because CXXCPP needs to be expanded
11845 for CXXCPP in "$CXX -E" "/lib/cpp"
11847 ac_preproc_ok=false
11848 for ac_cxx_preproc_warn_flag in '' yes
11850 # Use a header file that comes with gcc, so configuring glibc
11851 # with a fresh cross-compiler works.
11852 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11853 # <limits.h> exists even on freestanding compilers.
11854 # On the NeXT, cc -E runs the code through the compiler's parser,
11855 # not just through cpp. "Syntax error" is here to catch this case.
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11858 #ifdef __STDC__
11859 # include <limits.h>
11860 #else
11861 # include <assert.h>
11862 #endif
11863 Syntax error
11864 _ACEOF
11865 if ac_fn_cxx_try_cpp "$LINENO"; then :
11867 else
11868 # Broken: fails on valid input.
11869 continue
11871 rm -f conftest.err conftest.$ac_ext
11873 # OK, works on sane cases. Now check whether nonexistent headers
11874 # can be detected and how.
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11877 #include <ac_nonexistent.h>
11878 _ACEOF
11879 if ac_fn_cxx_try_cpp "$LINENO"; then :
11880 # Broken: success on invalid input.
11881 continue
11882 else
11883 # Passes both tests.
11884 ac_preproc_ok=:
11885 break
11887 rm -f conftest.err conftest.$ac_ext
11889 done
11890 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11891 rm -f conftest.err conftest.$ac_ext
11892 if $ac_preproc_ok; then :
11893 break
11896 done
11897 ac_cv_prog_CXXCPP=$CXXCPP
11900 CXXCPP=$ac_cv_prog_CXXCPP
11901 else
11902 ac_cv_prog_CXXCPP=$CXXCPP
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11905 $as_echo "$CXXCPP" >&6; }
11906 ac_preproc_ok=false
11907 for ac_cxx_preproc_warn_flag in '' yes
11909 # Use a header file that comes with gcc, so configuring glibc
11910 # with a fresh cross-compiler works.
11911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11912 # <limits.h> exists even on freestanding compilers.
11913 # On the NeXT, cc -E runs the code through the compiler's parser,
11914 # not just through cpp. "Syntax error" is here to catch this case.
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11917 #ifdef __STDC__
11918 # include <limits.h>
11919 #else
11920 # include <assert.h>
11921 #endif
11922 Syntax error
11923 _ACEOF
11924 if ac_fn_cxx_try_cpp "$LINENO"; then :
11926 else
11927 # Broken: fails on valid input.
11928 continue
11930 rm -f conftest.err conftest.$ac_ext
11932 # OK, works on sane cases. Now check whether nonexistent headers
11933 # can be detected and how.
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 #include <ac_nonexistent.h>
11937 _ACEOF
11938 if ac_fn_cxx_try_cpp "$LINENO"; then :
11939 # Broken: success on invalid input.
11940 continue
11941 else
11942 # Passes both tests.
11943 ac_preproc_ok=:
11944 break
11946 rm -f conftest.err conftest.$ac_ext
11948 done
11949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11950 rm -f conftest.err conftest.$ac_ext
11951 if $ac_preproc_ok; then :
11953 else
11954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11956 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11957 See \`config.log' for more details." "$LINENO" 5; }
11960 ac_ext=c
11961 ac_cpp='$CPP $CPPFLAGS'
11962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11966 else
11967 _lt_caught_CXX_error=yes
11970 ac_ext=cpp
11971 ac_cpp='$CXXCPP $CPPFLAGS'
11972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11976 archive_cmds_need_lc_CXX=no
11977 allow_undefined_flag_CXX=
11978 always_export_symbols_CXX=no
11979 archive_expsym_cmds_CXX=
11980 compiler_needs_object_CXX=no
11981 export_dynamic_flag_spec_CXX=
11982 hardcode_direct_CXX=no
11983 hardcode_direct_absolute_CXX=no
11984 hardcode_libdir_flag_spec_CXX=
11985 hardcode_libdir_flag_spec_ld_CXX=
11986 hardcode_libdir_separator_CXX=
11987 hardcode_minus_L_CXX=no
11988 hardcode_shlibpath_var_CXX=unsupported
11989 hardcode_automatic_CXX=no
11990 inherit_rpath_CXX=no
11991 module_cmds_CXX=
11992 module_expsym_cmds_CXX=
11993 link_all_deplibs_CXX=unknown
11994 old_archive_cmds_CXX=$old_archive_cmds
11995 reload_flag_CXX=$reload_flag
11996 reload_cmds_CXX=$reload_cmds
11997 no_undefined_flag_CXX=
11998 whole_archive_flag_spec_CXX=
11999 enable_shared_with_static_runtimes_CXX=no
12001 # Source file extension for C++ test sources.
12002 ac_ext=cpp
12004 # Object file extension for compiled C++ test sources.
12005 objext=o
12006 objext_CXX=$objext
12008 # No sense in running all these tests if we already determined that
12009 # the CXX compiler isn't working. Some variables (like enable_shared)
12010 # are currently assumed to apply to all compilers on this platform,
12011 # and will be corrupted by setting them based on a non-working compiler.
12012 if test "$_lt_caught_CXX_error" != yes; then
12013 # Code to be used in simple compile tests
12014 lt_simple_compile_test_code="int some_variable = 0;"
12016 # Code to be used in simple link tests
12017 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12019 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12026 # If no C compiler was specified, use CC.
12027 LTCC=${LTCC-"$CC"}
12029 # If no C compiler flags were specified, use CFLAGS.
12030 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12032 # Allow CC to be a program name with arguments.
12033 compiler=$CC
12036 # save warnings/boilerplate of simple test code
12037 ac_outfile=conftest.$ac_objext
12038 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12039 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12040 _lt_compiler_boilerplate=`cat conftest.err`
12041 $RM conftest*
12043 ac_outfile=conftest.$ac_objext
12044 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12045 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12046 _lt_linker_boilerplate=`cat conftest.err`
12047 $RM -r conftest*
12050 # Allow CC to be a program name with arguments.
12051 lt_save_CC=$CC
12052 lt_save_LD=$LD
12053 lt_save_GCC=$GCC
12054 GCC=$GXX
12055 lt_save_with_gnu_ld=$with_gnu_ld
12056 lt_save_path_LD=$lt_cv_path_LD
12057 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12058 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12059 else
12060 $as_unset lt_cv_prog_gnu_ld
12062 if test -n "${lt_cv_path_LDCXX+set}"; then
12063 lt_cv_path_LD=$lt_cv_path_LDCXX
12064 else
12065 $as_unset lt_cv_path_LD
12067 test -z "${LDCXX+set}" || LD=$LDCXX
12068 CC=${CXX-"c++"}
12069 compiler=$CC
12070 compiler_CXX=$CC
12071 for cc_temp in $compiler""; do
12072 case $cc_temp in
12073 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12074 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12075 \-*) ;;
12076 *) break;;
12077 esac
12078 done
12079 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12082 if test -n "$compiler"; then
12083 # We don't want -fno-exception when compiling C++ code, so set the
12084 # no_builtin_flag separately
12085 if test "$GXX" = yes; then
12086 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12087 else
12088 lt_prog_compiler_no_builtin_flag_CXX=
12091 if test "$GXX" = yes; then
12092 # Set up default GNU C++ configuration
12096 # Check whether --with-gnu-ld was given.
12097 if test "${with_gnu_ld+set}" = set; then :
12098 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12099 else
12100 with_gnu_ld=no
12103 ac_prog=ld
12104 if test "$GCC" = yes; then
12105 # Check if gcc -print-prog-name=ld gives a path.
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12107 $as_echo_n "checking for ld used by $CC... " >&6; }
12108 case $host in
12109 *-*-mingw*)
12110 # gcc leaves a trailing carriage return which upsets mingw
12111 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12113 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12114 esac
12115 case $ac_prog in
12116 # Accept absolute paths.
12117 [\\/]* | ?:[\\/]*)
12118 re_direlt='/[^/][^/]*/\.\./'
12119 # Canonicalize the pathname of ld
12120 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12121 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12122 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12123 done
12124 test -z "$LD" && LD="$ac_prog"
12127 # If it fails, then pretend we aren't using GCC.
12128 ac_prog=ld
12131 # If it is relative, then search for the first ld in PATH.
12132 with_gnu_ld=unknown
12134 esac
12135 elif test "$with_gnu_ld" = yes; then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12137 $as_echo_n "checking for GNU ld... " >&6; }
12138 else
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12140 $as_echo_n "checking for non-GNU ld... " >&6; }
12142 if test "${lt_cv_path_LD+set}" = set; then :
12143 $as_echo_n "(cached) " >&6
12144 else
12145 if test -z "$LD"; then
12146 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12147 for ac_dir in $PATH; do
12148 IFS="$lt_save_ifs"
12149 test -z "$ac_dir" && ac_dir=.
12150 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12151 lt_cv_path_LD="$ac_dir/$ac_prog"
12152 # Check to see if the program is GNU ld. I'd rather use --version,
12153 # but apparently some variants of GNU ld only accept -v.
12154 # Break only if it was the GNU/non-GNU ld that we prefer.
12155 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12156 *GNU* | *'with BFD'*)
12157 test "$with_gnu_ld" != no && break
12160 test "$with_gnu_ld" != yes && break
12162 esac
12164 done
12165 IFS="$lt_save_ifs"
12166 else
12167 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12171 LD="$lt_cv_path_LD"
12172 if test -n "$LD"; then
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12174 $as_echo "$LD" >&6; }
12175 else
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12177 $as_echo "no" >&6; }
12179 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12181 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12182 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12186 case `$LD -v 2>&1 </dev/null` in
12187 *GNU* | *'with BFD'*)
12188 lt_cv_prog_gnu_ld=yes
12191 lt_cv_prog_gnu_ld=no
12193 esac
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12196 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12197 with_gnu_ld=$lt_cv_prog_gnu_ld
12205 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12206 # archiving commands below assume that GNU ld is being used.
12207 if test "$with_gnu_ld" = yes; then
12208 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12209 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12211 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12212 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12214 # If archive_cmds runs LD, not CC, wlarc should be empty
12215 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12216 # investigate it a little bit more. (MM)
12217 wlarc='${wl}'
12219 # ancient GNU ld didn't support --whole-archive et. al.
12220 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12221 $GREP 'no-whole-archive' > /dev/null; then
12222 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12223 else
12224 whole_archive_flag_spec_CXX=
12226 else
12227 with_gnu_ld=no
12228 wlarc=
12230 # A generic and very simple default shared library creation
12231 # command for GNU C++ for the case where it uses the native
12232 # linker, instead of GNU ld. If possible, this setting should
12233 # overridden to take advantage of the native linker features on
12234 # the platform it is being used on.
12235 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12238 # Commands to make compiler produce verbose output that lists
12239 # what "hidden" libraries, object files and flags are used when
12240 # linking a shared library.
12241 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12243 else
12244 GXX=no
12245 with_gnu_ld=no
12246 wlarc=
12249 # PORTME: fill in a description of your system's C++ link characteristics
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12251 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12252 ld_shlibs_CXX=yes
12253 case $host_os in
12254 aix3*)
12255 # FIXME: insert proper C++ library support
12256 ld_shlibs_CXX=no
12258 aix[4-9]*)
12259 if test "$host_cpu" = ia64; then
12260 # On IA64, the linker does run time linking by default, so we don't
12261 # have to do anything special.
12262 aix_use_runtimelinking=no
12263 exp_sym_flag='-Bexport'
12264 no_entry_flag=""
12265 else
12266 aix_use_runtimelinking=no
12268 # Test if we are trying to use run time linking or normal
12269 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12270 # need to do runtime linking.
12271 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12272 for ld_flag in $LDFLAGS; do
12273 case $ld_flag in
12274 *-brtl*)
12275 aix_use_runtimelinking=yes
12276 break
12278 esac
12279 done
12281 esac
12283 exp_sym_flag='-bexport'
12284 no_entry_flag='-bnoentry'
12287 # When large executables or shared objects are built, AIX ld can
12288 # have problems creating the table of contents. If linking a library
12289 # or program results in "error TOC overflow" add -mminimal-toc to
12290 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12291 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12293 archive_cmds_CXX=''
12294 hardcode_direct_CXX=yes
12295 hardcode_direct_absolute_CXX=yes
12296 hardcode_libdir_separator_CXX=':'
12297 link_all_deplibs_CXX=yes
12298 file_list_spec_CXX='${wl}-f,'
12300 if test "$GXX" = yes; then
12301 case $host_os in aix4.[012]|aix4.[012].*)
12302 # We only want to do this on AIX 4.2 and lower, the check
12303 # below for broken collect2 doesn't work under 4.3+
12304 collect2name=`${CC} -print-prog-name=collect2`
12305 if test -f "$collect2name" &&
12306 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12307 then
12308 # We have reworked collect2
12310 else
12311 # We have old collect2
12312 hardcode_direct_CXX=unsupported
12313 # It fails to find uninstalled libraries when the uninstalled
12314 # path is not listed in the libpath. Setting hardcode_minus_L
12315 # to unsupported forces relinking
12316 hardcode_minus_L_CXX=yes
12317 hardcode_libdir_flag_spec_CXX='-L$libdir'
12318 hardcode_libdir_separator_CXX=
12320 esac
12321 shared_flag='-shared'
12322 if test "$aix_use_runtimelinking" = yes; then
12323 shared_flag="$shared_flag "'${wl}-G'
12325 else
12326 # not using gcc
12327 if test "$host_cpu" = ia64; then
12328 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12329 # chokes on -Wl,-G. The following line is correct:
12330 shared_flag='-G'
12331 else
12332 if test "$aix_use_runtimelinking" = yes; then
12333 shared_flag='${wl}-G'
12334 else
12335 shared_flag='${wl}-bM:SRE'
12340 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12341 # It seems that -bexpall does not export symbols beginning with
12342 # underscore (_), so it is better to generate a list of symbols to
12343 # export.
12344 always_export_symbols_CXX=yes
12345 if test "$aix_use_runtimelinking" = yes; then
12346 # Warning - without using the other runtime loading flags (-brtl),
12347 # -berok will link without error, but may produce a broken library.
12348 allow_undefined_flag_CXX='-berok'
12349 # Determine the default libpath from the value encoded in an empty
12350 # executable.
12351 if test x$gcc_no_link = xyes; then
12352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12358 main ()
12362 return 0;
12364 _ACEOF
12365 if ac_fn_cxx_try_link "$LINENO"; then :
12367 lt_aix_libpath_sed='
12368 /Import File Strings/,/^$/ {
12369 /^0/ {
12370 s/^0 *\(.*\)$/\1/
12374 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12375 # Check for a 64-bit object if we didn't find anything.
12376 if test -z "$aix_libpath"; then
12377 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12380 rm -f core conftest.err conftest.$ac_objext \
12381 conftest$ac_exeext conftest.$ac_ext
12382 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12384 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12386 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"
12387 else
12388 if test "$host_cpu" = ia64; then
12389 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12390 allow_undefined_flag_CXX="-z nodefs"
12391 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"
12392 else
12393 # Determine the default libpath from the value encoded in an
12394 # empty executable.
12395 if test x$gcc_no_link = xyes; then
12396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12402 main ()
12406 return 0;
12408 _ACEOF
12409 if ac_fn_cxx_try_link "$LINENO"; then :
12411 lt_aix_libpath_sed='
12412 /Import File Strings/,/^$/ {
12413 /^0/ {
12414 s/^0 *\(.*\)$/\1/
12418 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12419 # Check for a 64-bit object if we didn't find anything.
12420 if test -z "$aix_libpath"; then
12421 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12424 rm -f core conftest.err conftest.$ac_objext \
12425 conftest$ac_exeext conftest.$ac_ext
12426 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12428 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12429 # Warning - without using the other run time loading flags,
12430 # -berok will link without error, but may produce a broken library.
12431 no_undefined_flag_CXX=' ${wl}-bernotok'
12432 allow_undefined_flag_CXX=' ${wl}-berok'
12433 if test "$with_gnu_ld" = yes; then
12434 # We only use this code for GNU lds that support --whole-archive.
12435 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12436 else
12437 # Exported symbols can be pulled into shared objects from archives
12438 whole_archive_flag_spec_CXX='$convenience'
12440 archive_cmds_need_lc_CXX=yes
12441 # This is similar to how AIX traditionally builds its shared
12442 # libraries.
12443 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'
12448 beos*)
12449 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12450 allow_undefined_flag_CXX=unsupported
12451 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12452 # support --undefined. This deserves some investigation. FIXME
12453 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12454 else
12455 ld_shlibs_CXX=no
12459 chorus*)
12460 case $cc_basename in
12462 # FIXME: insert proper C++ library support
12463 ld_shlibs_CXX=no
12465 esac
12468 cygwin* | mingw* | pw32* | cegcc*)
12469 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12470 # as there is no search path for DLLs.
12471 hardcode_libdir_flag_spec_CXX='-L$libdir'
12472 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12473 allow_undefined_flag_CXX=unsupported
12474 always_export_symbols_CXX=no
12475 enable_shared_with_static_runtimes_CXX=yes
12477 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12478 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'
12479 # If the export-symbols file already is a .def file (1st line
12480 # is EXPORTS), use it as is; otherwise, prepend...
12481 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12482 cp $export_symbols $output_objdir/$soname.def;
12483 else
12484 echo EXPORTS > $output_objdir/$soname.def;
12485 cat $export_symbols >> $output_objdir/$soname.def;
12487 $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'
12488 else
12489 ld_shlibs_CXX=no
12492 darwin* | rhapsody*)
12495 archive_cmds_need_lc_CXX=no
12496 hardcode_direct_CXX=no
12497 hardcode_automatic_CXX=yes
12498 hardcode_shlibpath_var_CXX=unsupported
12499 if test "$lt_cv_ld_force_load" = "yes"; then
12500 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\"`'
12501 else
12502 whole_archive_flag_spec_CXX=''
12504 link_all_deplibs_CXX=yes
12505 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12506 case $cc_basename in
12507 ifort*) _lt_dar_can_shared=yes ;;
12508 *) _lt_dar_can_shared=$GCC ;;
12509 esac
12510 if test "$_lt_dar_can_shared" = "yes"; then
12511 output_verbose_link_cmd=func_echo_all
12512 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}"
12513 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12514 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}"
12515 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}"
12516 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12517 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}"
12518 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}"
12521 else
12522 ld_shlibs_CXX=no
12527 dgux*)
12528 case $cc_basename in
12529 ec++*)
12530 # FIXME: insert proper C++ library support
12531 ld_shlibs_CXX=no
12533 ghcx*)
12534 # Green Hills C++ Compiler
12535 # FIXME: insert proper C++ library support
12536 ld_shlibs_CXX=no
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12542 esac
12545 freebsd2.*)
12546 # C++ shared libraries reported to be fairly broken before
12547 # switch to ELF
12548 ld_shlibs_CXX=no
12551 freebsd-elf*)
12552 archive_cmds_need_lc_CXX=no
12555 freebsd* | dragonfly*)
12556 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12557 # conventions
12558 ld_shlibs_CXX=yes
12561 gnu*)
12564 haiku*)
12565 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12566 link_all_deplibs_CXX=yes
12569 hpux9*)
12570 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12571 hardcode_libdir_separator_CXX=:
12572 export_dynamic_flag_spec_CXX='${wl}-E'
12573 hardcode_direct_CXX=yes
12574 hardcode_minus_L_CXX=yes # Not in the search PATH,
12575 # but as the default
12576 # location of the library.
12578 case $cc_basename in
12579 CC*)
12580 # FIXME: insert proper C++ library support
12581 ld_shlibs_CXX=no
12583 aCC*)
12584 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'
12585 # Commands to make compiler produce verbose output that lists
12586 # what "hidden" libraries, object files and flags are used when
12587 # linking a shared library.
12589 # There doesn't appear to be a way to prevent this compiler from
12590 # explicitly linking system object files so we need to strip them
12591 # from the output so that they don't get included in the library
12592 # dependencies.
12593 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"'
12596 if test "$GXX" = yes; then
12597 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'
12598 else
12599 # FIXME: insert proper C++ library support
12600 ld_shlibs_CXX=no
12603 esac
12606 hpux10*|hpux11*)
12607 if test $with_gnu_ld = no; then
12608 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12609 hardcode_libdir_separator_CXX=:
12611 case $host_cpu in
12612 hppa*64*|ia64*)
12615 export_dynamic_flag_spec_CXX='${wl}-E'
12617 esac
12619 case $host_cpu in
12620 hppa*64*|ia64*)
12621 hardcode_direct_CXX=no
12622 hardcode_shlibpath_var_CXX=no
12625 hardcode_direct_CXX=yes
12626 hardcode_direct_absolute_CXX=yes
12627 hardcode_minus_L_CXX=yes # Not in the search PATH,
12628 # but as the default
12629 # location of the library.
12631 esac
12633 case $cc_basename in
12634 CC*)
12635 # FIXME: insert proper C++ library support
12636 ld_shlibs_CXX=no
12638 aCC*)
12639 case $host_cpu in
12640 hppa*64*)
12641 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12643 ia64*)
12644 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12647 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12649 esac
12650 # Commands to make compiler produce verbose output that lists
12651 # what "hidden" libraries, object files and flags are used when
12652 # linking a shared library.
12654 # There doesn't appear to be a way to prevent this compiler from
12655 # explicitly linking system object files so we need to strip them
12656 # from the output so that they don't get included in the library
12657 # dependencies.
12658 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"'
12661 if test "$GXX" = yes; then
12662 if test $with_gnu_ld = no; then
12663 case $host_cpu in
12664 hppa*64*)
12665 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12667 ia64*)
12668 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12671 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'
12673 esac
12675 else
12676 # FIXME: insert proper C++ library support
12677 ld_shlibs_CXX=no
12680 esac
12683 interix[3-9]*)
12684 hardcode_direct_CXX=no
12685 hardcode_shlibpath_var_CXX=no
12686 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12687 export_dynamic_flag_spec_CXX='${wl}-E'
12688 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12689 # Instead, shared libraries are loaded at an image base (0x10000000 by
12690 # default) and relocated if they conflict, which is a slow very memory
12691 # consuming and fragmenting process. To avoid this, we pick a random,
12692 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12693 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12694 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'
12695 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'
12697 irix5* | irix6*)
12698 case $cc_basename in
12699 CC*)
12700 # SGI C++
12701 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'
12703 # Archives containing C++ object files must be created using
12704 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12705 # necessary to make sure instantiated templates are included
12706 # in the archive.
12707 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12710 if test "$GXX" = yes; then
12711 if test "$with_gnu_ld" = no; then
12712 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'
12713 else
12714 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'
12717 link_all_deplibs_CXX=yes
12719 esac
12720 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12721 hardcode_libdir_separator_CXX=:
12722 inherit_rpath_CXX=yes
12725 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12726 case $cc_basename in
12727 KCC*)
12728 # Kuck and Associates, Inc. (KAI) C++ Compiler
12730 # KCC will only create a shared library if the output file
12731 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12732 # to its proper name (with version) after linking.
12733 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'
12734 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'
12735 # Commands to make compiler produce verbose output that lists
12736 # what "hidden" libraries, object files and flags are used when
12737 # linking a shared library.
12739 # There doesn't appear to be a way to prevent this compiler from
12740 # explicitly linking system object files so we need to strip them
12741 # from the output so that they don't get included in the library
12742 # dependencies.
12743 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"'
12745 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12746 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12748 # Archives containing C++ object files must be created using
12749 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12750 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12752 icpc* | ecpc* )
12753 # Intel C++
12754 with_gnu_ld=yes
12755 # version 8.0 and above of icpc choke on multiply defined symbols
12756 # if we add $predep_objects and $postdep_objects, however 7.1 and
12757 # earlier do not add the objects themselves.
12758 case `$CC -V 2>&1` in
12759 *"Version 7."*)
12760 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12761 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'
12763 *) # Version 8.0 or newer
12764 tmp_idyn=
12765 case $host_cpu in
12766 ia64*) tmp_idyn=' -i_dynamic';;
12767 esac
12768 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12769 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'
12771 esac
12772 archive_cmds_need_lc_CXX=no
12773 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12774 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12775 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12777 pgCC* | pgcpp*)
12778 # Portland Group C++ compiler
12779 case `$CC -V` in
12780 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12781 prelink_cmds_CXX='tpldir=Template.dir~
12782 rm -rf $tpldir~
12783 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12784 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12785 old_archive_cmds_CXX='tpldir=Template.dir~
12786 rm -rf $tpldir~
12787 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12788 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12789 $RANLIB $oldlib'
12790 archive_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12793 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12794 archive_expsym_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12797 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12799 *) # Version 6 and above use weak symbols
12800 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12801 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'
12803 esac
12805 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12806 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12807 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'
12809 cxx*)
12810 # Compaq C++
12811 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12812 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'
12814 runpath_var=LD_RUN_PATH
12815 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12816 hardcode_libdir_separator_CXX=:
12818 # Commands to make compiler produce verbose output that lists
12819 # what "hidden" libraries, object files and flags are used when
12820 # linking a shared library.
12822 # There doesn't appear to be a way to prevent this compiler from
12823 # explicitly linking system object files so we need to strip them
12824 # from the output so that they don't get included in the library
12825 # dependencies.
12826 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'
12828 xl* | mpixl* | bgxl*)
12829 # IBM XL 8.0 on PPC, with GNU ld
12830 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12831 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12832 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12833 if test "x$supports_anon_versioning" = xyes; then
12834 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12835 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12836 echo "local: *; };" >> $output_objdir/$libname.ver~
12837 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12841 case `$CC -V 2>&1 | sed 5q` in
12842 *Sun\ C*)
12843 # Sun C++ 5.9
12844 no_undefined_flag_CXX=' -zdefs'
12845 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12846 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'
12847 hardcode_libdir_flag_spec_CXX='-R$libdir'
12848 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'
12849 compiler_needs_object_CXX=yes
12851 # Not sure whether something based on
12852 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12853 # would be better.
12854 output_verbose_link_cmd='func_echo_all'
12856 # Archives containing C++ object files must be created using
12857 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12858 # necessary to make sure instantiated templates are included
12859 # in the archive.
12860 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12862 esac
12864 esac
12867 lynxos*)
12868 # FIXME: insert proper C++ library support
12869 ld_shlibs_CXX=no
12872 m88k*)
12873 # FIXME: insert proper C++ library support
12874 ld_shlibs_CXX=no
12877 mvs*)
12878 case $cc_basename in
12879 cxx*)
12880 # FIXME: insert proper C++ library support
12881 ld_shlibs_CXX=no
12884 # FIXME: insert proper C++ library support
12885 ld_shlibs_CXX=no
12887 esac
12890 netbsd*)
12891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12892 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12893 wlarc=
12894 hardcode_libdir_flag_spec_CXX='-R$libdir'
12895 hardcode_direct_CXX=yes
12896 hardcode_shlibpath_var_CXX=no
12898 # Workaround some broken pre-1.5 toolchains
12899 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12902 *nto* | *qnx*)
12903 ld_shlibs_CXX=yes
12906 openbsd2*)
12907 # C++ shared libraries are fairly broken
12908 ld_shlibs_CXX=no
12911 openbsd*)
12912 if test -f /usr/libexec/ld.so; then
12913 hardcode_direct_CXX=yes
12914 hardcode_shlibpath_var_CXX=no
12915 hardcode_direct_absolute_CXX=yes
12916 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12917 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12918 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12919 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12920 export_dynamic_flag_spec_CXX='${wl}-E'
12921 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12923 output_verbose_link_cmd=func_echo_all
12924 else
12925 ld_shlibs_CXX=no
12929 osf3* | osf4* | osf5*)
12930 case $cc_basename in
12931 KCC*)
12932 # Kuck and Associates, Inc. (KAI) C++ Compiler
12934 # KCC will only create a shared library if the output file
12935 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12936 # to its proper name (with version) after linking.
12937 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'
12939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940 hardcode_libdir_separator_CXX=:
12942 # Archives containing C++ object files must be created using
12943 # the KAI C++ compiler.
12944 case $host in
12945 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12946 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12947 esac
12949 RCC*)
12950 # Rational C++ 2.4.1
12951 # FIXME: insert proper C++ library support
12952 ld_shlibs_CXX=no
12954 cxx*)
12955 case $host in
12956 osf3*)
12957 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12958 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'
12959 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12962 allow_undefined_flag_CXX=' -expect_unresolved \*'
12963 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'
12964 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12965 echo "-hidden">> $lib.exp~
12966 $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~
12967 $RM $lib.exp'
12968 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12970 esac
12972 hardcode_libdir_separator_CXX=:
12974 # Commands to make compiler produce verbose output that lists
12975 # what "hidden" libraries, object files and flags are used when
12976 # linking a shared library.
12978 # There doesn't appear to be a way to prevent this compiler from
12979 # explicitly linking system object files so we need to strip them
12980 # from the output so that they don't get included in the library
12981 # dependencies.
12982 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"'
12985 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12986 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12987 case $host in
12988 osf3*)
12989 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'
12992 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'
12994 esac
12996 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12997 hardcode_libdir_separator_CXX=:
12999 # Commands to make compiler produce verbose output that lists
13000 # what "hidden" libraries, object files and flags are used when
13001 # linking a shared library.
13002 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13004 else
13005 # FIXME: insert proper C++ library support
13006 ld_shlibs_CXX=no
13009 esac
13012 psos*)
13013 # FIXME: insert proper C++ library support
13014 ld_shlibs_CXX=no
13017 sunos4*)
13018 case $cc_basename in
13019 CC*)
13020 # Sun C++ 4.x
13021 # FIXME: insert proper C++ library support
13022 ld_shlibs_CXX=no
13024 lcc*)
13025 # Lucid
13026 # FIXME: insert proper C++ library support
13027 ld_shlibs_CXX=no
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13033 esac
13036 solaris*)
13037 case $cc_basename in
13038 CC*)
13039 # Sun C++ 4.2, 5.x and Centerline C++
13040 archive_cmds_need_lc_CXX=yes
13041 no_undefined_flag_CXX=' -zdefs'
13042 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13043 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13044 $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'
13046 hardcode_libdir_flag_spec_CXX='-R$libdir'
13047 hardcode_shlibpath_var_CXX=no
13048 case $host_os in
13049 solaris2.[0-5] | solaris2.[0-5].*) ;;
13051 # The compiler driver will combine and reorder linker options,
13052 # but understands `-z linker_flag'.
13053 # Supported since Solaris 2.6 (maybe 2.5.1?)
13054 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13056 esac
13057 link_all_deplibs_CXX=yes
13059 output_verbose_link_cmd='func_echo_all'
13061 # Archives containing C++ object files must be created using
13062 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13063 # necessary to make sure instantiated templates are included
13064 # in the archive.
13065 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13067 gcx*)
13068 # Green Hills C++ Compiler
13069 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13071 # The C++ compiler must be used to create the archive.
13072 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13075 # GNU C++ compiler with Solaris linker
13076 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13077 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13078 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13079 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13080 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13081 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13083 # Commands to make compiler produce verbose output that lists
13084 # what "hidden" libraries, object files and flags are used when
13085 # linking a shared library.
13086 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13087 else
13088 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13089 # platform.
13090 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13091 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13092 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13094 # Commands to make compiler produce verbose output that lists
13095 # what "hidden" libraries, object files and flags are used when
13096 # linking a shared library.
13097 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13100 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13101 case $host_os in
13102 solaris2.[0-5] | solaris2.[0-5].*) ;;
13104 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13106 esac
13109 esac
13112 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13113 no_undefined_flag_CXX='${wl}-z,text'
13114 archive_cmds_need_lc_CXX=no
13115 hardcode_shlibpath_var_CXX=no
13116 runpath_var='LD_RUN_PATH'
13118 case $cc_basename in
13119 CC*)
13120 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13121 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13124 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13125 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13127 esac
13130 sysv5* | sco3.2v5* | sco5v6*)
13131 # Note: We can NOT use -z defs as we might desire, because we do not
13132 # link with -lc, and that would cause any symbols used from libc to
13133 # always be unresolved, which means just about no library would
13134 # ever link correctly. If we're not using GNU ld we use -z text
13135 # though, which does catch some bad symbols but isn't as heavy-handed
13136 # as -z defs.
13137 no_undefined_flag_CXX='${wl}-z,text'
13138 allow_undefined_flag_CXX='${wl}-z,nodefs'
13139 archive_cmds_need_lc_CXX=no
13140 hardcode_shlibpath_var_CXX=no
13141 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13142 hardcode_libdir_separator_CXX=':'
13143 link_all_deplibs_CXX=yes
13144 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13145 runpath_var='LD_RUN_PATH'
13147 case $cc_basename in
13148 CC*)
13149 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13150 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13151 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13152 '"$old_archive_cmds_CXX"
13153 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13154 '"$reload_cmds_CXX"
13157 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13158 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 esac
13163 tandem*)
13164 case $cc_basename in
13165 NCC*)
13166 # NonStop-UX NCC 3.20
13167 # FIXME: insert proper C++ library support
13168 ld_shlibs_CXX=no
13171 # FIXME: insert proper C++ library support
13172 ld_shlibs_CXX=no
13174 esac
13177 vxworks*)
13178 # FIXME: insert proper C++ library support
13179 ld_shlibs_CXX=no
13183 # FIXME: insert proper C++ library support
13184 ld_shlibs_CXX=no
13186 esac
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13189 $as_echo "$ld_shlibs_CXX" >&6; }
13190 test "$ld_shlibs_CXX" = no && can_build_shared=no
13192 GCC_CXX="$GXX"
13193 LD_CXX="$LD"
13195 ## CAVEAT EMPTOR:
13196 ## There is no encapsulation within the following macros, do not change
13197 ## the running order or otherwise move them around unless you know exactly
13198 ## what you are doing...
13199 # Dependencies to place before and after the object being linked:
13200 predep_objects_CXX=
13201 postdep_objects_CXX=
13202 predeps_CXX=
13203 postdeps_CXX=
13204 compiler_lib_search_path_CXX=
13206 cat > conftest.$ac_ext <<_LT_EOF
13207 class Foo
13209 public:
13210 Foo (void) { a = 0; }
13211 private:
13212 int a;
13214 _LT_EOF
13216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13217 (eval $ac_compile) 2>&5
13218 ac_status=$?
13219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13220 test $ac_status = 0; }; then
13221 # Parse the compiler output and extract the necessary
13222 # objects, libraries and library flags.
13224 # Sentinel used to keep track of whether or not we are before
13225 # the conftest object file.
13226 pre_test_object_deps_done=no
13228 for p in `eval "$output_verbose_link_cmd"`; do
13229 case $p in
13231 -L* | -R* | -l*)
13232 # Some compilers place space between "-{L,R}" and the path.
13233 # Remove the space.
13234 if test $p = "-L" ||
13235 test $p = "-R"; then
13236 prev=$p
13237 continue
13238 else
13239 prev=
13242 if test "$pre_test_object_deps_done" = no; then
13243 case $p in
13244 -L* | -R*)
13245 # Internal compiler library paths should come after those
13246 # provided the user. The postdeps already come after the
13247 # user supplied libs so there is no need to process them.
13248 if test -z "$compiler_lib_search_path_CXX"; then
13249 compiler_lib_search_path_CXX="${prev}${p}"
13250 else
13251 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13254 # The "-l" case would never come before the object being
13255 # linked, so don't bother handling this case.
13256 esac
13257 else
13258 if test -z "$postdeps_CXX"; then
13259 postdeps_CXX="${prev}${p}"
13260 else
13261 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13266 *.$objext)
13267 # This assumes that the test object file only shows up
13268 # once in the compiler output.
13269 if test "$p" = "conftest.$objext"; then
13270 pre_test_object_deps_done=yes
13271 continue
13274 if test "$pre_test_object_deps_done" = no; then
13275 if test -z "$predep_objects_CXX"; then
13276 predep_objects_CXX="$p"
13277 else
13278 predep_objects_CXX="$predep_objects_CXX $p"
13280 else
13281 if test -z "$postdep_objects_CXX"; then
13282 postdep_objects_CXX="$p"
13283 else
13284 postdep_objects_CXX="$postdep_objects_CXX $p"
13289 *) ;; # Ignore the rest.
13291 esac
13292 done
13294 # Clean up.
13295 rm -f a.out a.exe
13296 else
13297 echo "libtool.m4: error: problem compiling CXX test program"
13300 $RM -f confest.$objext
13302 # PORTME: override above test on systems where it is broken
13303 case $host_os in
13304 interix[3-9]*)
13305 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13306 # hack all around it, let's just trust "g++" to DTRT.
13307 predep_objects_CXX=
13308 postdep_objects_CXX=
13309 postdeps_CXX=
13312 linux*)
13313 case `$CC -V 2>&1 | sed 5q` in
13314 *Sun\ C*)
13315 # Sun C++ 5.9
13317 # The more standards-conforming stlport4 library is
13318 # incompatible with the Cstd library. Avoid specifying
13319 # it if it's in CXXFLAGS. Ignore libCrun as
13320 # -library=stlport4 depends on it.
13321 case " $CXX $CXXFLAGS " in
13322 *" -library=stlport4 "*)
13323 solaris_use_stlport4=yes
13325 esac
13327 if test "$solaris_use_stlport4" != yes; then
13328 postdeps_CXX='-library=Cstd -library=Crun'
13331 esac
13334 solaris*)
13335 case $cc_basename in
13336 CC*)
13337 # The more standards-conforming stlport4 library is
13338 # incompatible with the Cstd library. Avoid specifying
13339 # it if it's in CXXFLAGS. Ignore libCrun as
13340 # -library=stlport4 depends on it.
13341 case " $CXX $CXXFLAGS " in
13342 *" -library=stlport4 "*)
13343 solaris_use_stlport4=yes
13345 esac
13347 # Adding this requires a known-good setup of shared libraries for
13348 # Sun compiler versions before 5.6, else PIC objects from an old
13349 # archive will be linked into the output, leading to subtle bugs.
13350 if test "$solaris_use_stlport4" != yes; then
13351 postdeps_CXX='-library=Cstd -library=Crun'
13354 esac
13356 esac
13359 case " $postdeps_CXX " in
13360 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13361 esac
13362 compiler_lib_search_dirs_CXX=
13363 if test -n "${compiler_lib_search_path_CXX}"; then
13364 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13397 lt_prog_compiler_wl_CXX=
13398 lt_prog_compiler_pic_CXX=
13399 lt_prog_compiler_static_CXX=
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13402 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13404 # C++ specific cases for pic, static, wl, etc.
13405 if test "$GXX" = yes; then
13406 lt_prog_compiler_wl_CXX='-Wl,'
13407 lt_prog_compiler_static_CXX='-static'
13409 case $host_os in
13410 aix*)
13411 # All AIX code is PIC.
13412 if test "$host_cpu" = ia64; then
13413 # AIX 5 now supports IA64 processor
13414 lt_prog_compiler_static_CXX='-Bstatic'
13418 amigaos*)
13419 case $host_cpu in
13420 powerpc)
13421 # see comment about AmigaOS4 .so support
13422 lt_prog_compiler_pic_CXX='-fPIC'
13424 m68k)
13425 # FIXME: we need at least 68020 code to build shared libraries, but
13426 # adding the `-m68020' flag to GCC prevents building anything better,
13427 # like `-m68040'.
13428 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13430 esac
13433 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13434 # PIC is the default for these OSes.
13436 mingw* | cygwin* | os2* | pw32* | cegcc*)
13437 # This hack is so that the source file can tell whether it is being
13438 # built for inclusion in a dll (and should export symbols for example).
13439 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13440 # (--disable-auto-import) libraries
13441 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13443 darwin* | rhapsody*)
13444 # PIC is the default on this platform
13445 # Common symbols not allowed in MH_DYLIB files
13446 lt_prog_compiler_pic_CXX='-fno-common'
13448 *djgpp*)
13449 # DJGPP does not support shared libraries at all
13450 lt_prog_compiler_pic_CXX=
13452 haiku*)
13453 # PIC is the default for Haiku.
13454 # The "-static" flag exists, but is broken.
13455 lt_prog_compiler_static_CXX=
13457 interix[3-9]*)
13458 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13459 # Instead, we relocate shared libraries at runtime.
13461 sysv4*MP*)
13462 if test -d /usr/nec; then
13463 lt_prog_compiler_pic_CXX=-Kconform_pic
13466 hpux*)
13467 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13468 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13469 # sets the default TLS model and affects inlining.
13470 case $host_cpu in
13471 hppa*64*)
13474 lt_prog_compiler_pic_CXX='-fPIC'
13476 esac
13478 *qnx* | *nto*)
13479 # QNX uses GNU C++, but need to define -shared option too, otherwise
13480 # it will coredump.
13481 lt_prog_compiler_pic_CXX='-fPIC -shared'
13484 lt_prog_compiler_pic_CXX='-fPIC'
13486 esac
13487 else
13488 case $host_os in
13489 aix[4-9]*)
13490 # All AIX code is PIC.
13491 if test "$host_cpu" = ia64; then
13492 # AIX 5 now supports IA64 processor
13493 lt_prog_compiler_static_CXX='-Bstatic'
13494 else
13495 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13498 chorus*)
13499 case $cc_basename in
13500 cxch68*)
13501 # Green Hills C++ Compiler
13502 # _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"
13504 esac
13506 dgux*)
13507 case $cc_basename in
13508 ec++*)
13509 lt_prog_compiler_pic_CXX='-KPIC'
13511 ghcx*)
13512 # Green Hills C++ Compiler
13513 lt_prog_compiler_pic_CXX='-pic'
13517 esac
13519 freebsd* | dragonfly*)
13520 # FreeBSD uses GNU C++
13522 hpux9* | hpux10* | hpux11*)
13523 case $cc_basename in
13524 CC*)
13525 lt_prog_compiler_wl_CXX='-Wl,'
13526 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13527 if test "$host_cpu" != ia64; then
13528 lt_prog_compiler_pic_CXX='+Z'
13531 aCC*)
13532 lt_prog_compiler_wl_CXX='-Wl,'
13533 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13534 case $host_cpu in
13535 hppa*64*|ia64*)
13536 # +Z the default
13539 lt_prog_compiler_pic_CXX='+Z'
13541 esac
13545 esac
13547 interix*)
13548 # This is c89, which is MS Visual C++ (no shared libs)
13549 # Anyone wants to do a port?
13551 irix5* | irix6* | nonstopux*)
13552 case $cc_basename in
13553 CC*)
13554 lt_prog_compiler_wl_CXX='-Wl,'
13555 lt_prog_compiler_static_CXX='-non_shared'
13556 # CC pic flag -KPIC is the default.
13560 esac
13562 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13563 case $cc_basename in
13564 KCC*)
13565 # KAI C++ Compiler
13566 lt_prog_compiler_wl_CXX='--backend -Wl,'
13567 lt_prog_compiler_pic_CXX='-fPIC'
13569 ecpc* )
13570 # old Intel C++ for x86_64 which still supported -KPIC.
13571 lt_prog_compiler_wl_CXX='-Wl,'
13572 lt_prog_compiler_pic_CXX='-KPIC'
13573 lt_prog_compiler_static_CXX='-static'
13575 icpc* )
13576 # Intel C++, used to be incompatible with GCC.
13577 # ICC 10 doesn't accept -KPIC any more.
13578 lt_prog_compiler_wl_CXX='-Wl,'
13579 lt_prog_compiler_pic_CXX='-fPIC'
13580 lt_prog_compiler_static_CXX='-static'
13582 pgCC* | pgcpp*)
13583 # Portland Group C++ compiler
13584 lt_prog_compiler_wl_CXX='-Wl,'
13585 lt_prog_compiler_pic_CXX='-fpic'
13586 lt_prog_compiler_static_CXX='-Bstatic'
13588 cxx*)
13589 # Compaq C++
13590 # Make sure the PIC flag is empty. It appears that all Alpha
13591 # Linux and Compaq Tru64 Unix objects are PIC.
13592 lt_prog_compiler_pic_CXX=
13593 lt_prog_compiler_static_CXX='-non_shared'
13595 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13596 # IBM XL 8.0, 9.0 on PPC and BlueGene
13597 lt_prog_compiler_wl_CXX='-Wl,'
13598 lt_prog_compiler_pic_CXX='-qpic'
13599 lt_prog_compiler_static_CXX='-qstaticlink'
13602 case `$CC -V 2>&1 | sed 5q` in
13603 *Sun\ C*)
13604 # Sun C++ 5.9
13605 lt_prog_compiler_pic_CXX='-KPIC'
13606 lt_prog_compiler_static_CXX='-Bstatic'
13607 lt_prog_compiler_wl_CXX='-Qoption ld '
13609 esac
13611 esac
13613 lynxos*)
13615 m88k*)
13617 mvs*)
13618 case $cc_basename in
13619 cxx*)
13620 lt_prog_compiler_pic_CXX='-W c,exportall'
13624 esac
13626 netbsd*)
13628 *qnx* | *nto*)
13629 # QNX uses GNU C++, but need to define -shared option too, otherwise
13630 # it will coredump.
13631 lt_prog_compiler_pic_CXX='-fPIC -shared'
13633 osf3* | osf4* | osf5*)
13634 case $cc_basename in
13635 KCC*)
13636 lt_prog_compiler_wl_CXX='--backend -Wl,'
13638 RCC*)
13639 # Rational C++ 2.4.1
13640 lt_prog_compiler_pic_CXX='-pic'
13642 cxx*)
13643 # Digital/Compaq C++
13644 lt_prog_compiler_wl_CXX='-Wl,'
13645 # Make sure the PIC flag is empty. It appears that all Alpha
13646 # Linux and Compaq Tru64 Unix objects are PIC.
13647 lt_prog_compiler_pic_CXX=
13648 lt_prog_compiler_static_CXX='-non_shared'
13652 esac
13654 psos*)
13656 solaris*)
13657 case $cc_basename in
13658 CC*)
13659 # Sun C++ 4.2, 5.x and Centerline C++
13660 lt_prog_compiler_pic_CXX='-KPIC'
13661 lt_prog_compiler_static_CXX='-Bstatic'
13662 lt_prog_compiler_wl_CXX='-Qoption ld '
13664 gcx*)
13665 # Green Hills C++ Compiler
13666 lt_prog_compiler_pic_CXX='-PIC'
13670 esac
13672 sunos4*)
13673 case $cc_basename in
13674 CC*)
13675 # Sun C++ 4.x
13676 lt_prog_compiler_pic_CXX='-pic'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13679 lcc*)
13680 # Lucid
13681 lt_prog_compiler_pic_CXX='-pic'
13685 esac
13687 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13688 case $cc_basename in
13689 CC*)
13690 lt_prog_compiler_wl_CXX='-Wl,'
13691 lt_prog_compiler_pic_CXX='-KPIC'
13692 lt_prog_compiler_static_CXX='-Bstatic'
13694 esac
13696 tandem*)
13697 case $cc_basename in
13698 NCC*)
13699 # NonStop-UX NCC 3.20
13700 lt_prog_compiler_pic_CXX='-KPIC'
13704 esac
13706 vxworks*)
13709 lt_prog_compiler_can_build_shared_CXX=no
13711 esac
13714 case $host_os in
13715 # For platforms which do not support PIC, -DPIC is meaningless:
13716 *djgpp*)
13717 lt_prog_compiler_pic_CXX=
13720 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13722 esac
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13724 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13729 # Check to make sure the PIC flag actually works.
13731 if test -n "$lt_prog_compiler_pic_CXX"; then
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13733 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13734 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13735 $as_echo_n "(cached) " >&6
13736 else
13737 lt_cv_prog_compiler_pic_works_CXX=no
13738 ac_outfile=conftest.$ac_objext
13739 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13740 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13741 # Insert the option either (1) after the last *FLAGS variable, or
13742 # (2) before a word containing "conftest.", or (3) at the end.
13743 # Note that $ac_compile itself does not contain backslashes and begins
13744 # with a dollar sign (not a hyphen), so the echo should work correctly.
13745 # The option is referenced via a variable to avoid confusing sed.
13746 lt_compile=`echo "$ac_compile" | $SED \
13747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13749 -e 's:$: $lt_compiler_flag:'`
13750 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13751 (eval "$lt_compile" 2>conftest.err)
13752 ac_status=$?
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 if (exit $ac_status) && test -s "$ac_outfile"; then
13756 # The compiler can only warn and ignore the option if not recognized
13757 # So say no if there are warnings other than the usual output.
13758 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13759 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13760 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13761 lt_cv_prog_compiler_pic_works_CXX=yes
13764 $RM conftest*
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13768 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13770 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13771 case $lt_prog_compiler_pic_CXX in
13772 "" | " "*) ;;
13773 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13774 esac
13775 else
13776 lt_prog_compiler_pic_CXX=
13777 lt_prog_compiler_can_build_shared_CXX=no
13785 # Check to make sure the static flag actually works.
13787 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13789 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13790 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13791 $as_echo_n "(cached) " >&6
13792 else
13793 lt_cv_prog_compiler_static_works_CXX=no
13794 save_LDFLAGS="$LDFLAGS"
13795 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13796 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13797 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13798 # The linker can only warn and ignore the option if not recognized
13799 # So say no if there are warnings
13800 if test -s conftest.err; then
13801 # Append any errors to the config.log.
13802 cat conftest.err 1>&5
13803 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13804 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13805 if diff conftest.exp conftest.er2 >/dev/null; then
13806 lt_cv_prog_compiler_static_works_CXX=yes
13808 else
13809 lt_cv_prog_compiler_static_works_CXX=yes
13812 $RM -r conftest*
13813 LDFLAGS="$save_LDFLAGS"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13817 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13819 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13821 else
13822 lt_prog_compiler_static_CXX=
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13829 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13830 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13831 $as_echo_n "(cached) " >&6
13832 else
13833 lt_cv_prog_compiler_c_o_CXX=no
13834 $RM -r conftest 2>/dev/null
13835 mkdir conftest
13836 cd conftest
13837 mkdir out
13838 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13840 lt_compiler_flag="-o out/conftest2.$ac_objext"
13841 # Insert the option either (1) after the last *FLAGS variable, or
13842 # (2) before a word containing "conftest.", or (3) at the end.
13843 # Note that $ac_compile itself does not contain backslashes and begins
13844 # with a dollar sign (not a hyphen), so the echo should work correctly.
13845 lt_compile=`echo "$ac_compile" | $SED \
13846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13848 -e 's:$: $lt_compiler_flag:'`
13849 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13850 (eval "$lt_compile" 2>out/conftest.err)
13851 ac_status=$?
13852 cat out/conftest.err >&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13855 then
13856 # The compiler can only warn and ignore the option if not recognized
13857 # So say no if there are warnings
13858 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13859 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13860 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13861 lt_cv_prog_compiler_c_o_CXX=yes
13864 chmod u+w . 2>&5
13865 $RM conftest*
13866 # SGI C++ compiler will create directory out/ii_files/ for
13867 # template instantiation
13868 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13869 $RM out/* && rmdir out
13870 cd ..
13871 $RM -r conftest
13872 $RM conftest*
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13876 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13881 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13882 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13883 $as_echo_n "(cached) " >&6
13884 else
13885 lt_cv_prog_compiler_c_o_CXX=no
13886 $RM -r conftest 2>/dev/null
13887 mkdir conftest
13888 cd conftest
13889 mkdir out
13890 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13892 lt_compiler_flag="-o out/conftest2.$ac_objext"
13893 # Insert the option either (1) after the last *FLAGS variable, or
13894 # (2) before a word containing "conftest.", or (3) at the end.
13895 # Note that $ac_compile itself does not contain backslashes and begins
13896 # with a dollar sign (not a hyphen), so the echo should work correctly.
13897 lt_compile=`echo "$ac_compile" | $SED \
13898 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13900 -e 's:$: $lt_compiler_flag:'`
13901 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13902 (eval "$lt_compile" 2>out/conftest.err)
13903 ac_status=$?
13904 cat out/conftest.err >&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13907 then
13908 # The compiler can only warn and ignore the option if not recognized
13909 # So say no if there are warnings
13910 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13911 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13912 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13913 lt_cv_prog_compiler_c_o_CXX=yes
13916 chmod u+w . 2>&5
13917 $RM conftest*
13918 # SGI C++ compiler will create directory out/ii_files/ for
13919 # template instantiation
13920 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13921 $RM out/* && rmdir out
13922 cd ..
13923 $RM -r conftest
13924 $RM conftest*
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13928 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13933 hard_links="nottested"
13934 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13935 # do not overwrite the value of need_locks provided by the user
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13937 $as_echo_n "checking if we can lock with hard links... " >&6; }
13938 hard_links=yes
13939 $RM conftest*
13940 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13941 touch conftest.a
13942 ln conftest.a conftest.b 2>&5 || hard_links=no
13943 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13945 $as_echo "$hard_links" >&6; }
13946 if test "$hard_links" = no; then
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13948 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13949 need_locks=warn
13951 else
13952 need_locks=no
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13958 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13960 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13961 case $host_os in
13962 aix[4-9]*)
13963 # If we're using GNU nm, then we don't want the "-C" option.
13964 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13965 # Also, AIX nm treats weak defined symbols like other global defined
13966 # symbols, whereas GNU nm marks them as "W".
13967 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13968 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'
13969 else
13970 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13973 pw32*)
13974 export_symbols_cmds_CXX="$ltdll_cmds"
13976 cygwin* | mingw* | cegcc*)
13977 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'
13980 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13982 esac
13983 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13986 $as_echo "$ld_shlibs_CXX" >&6; }
13987 test "$ld_shlibs_CXX" = no && can_build_shared=no
13989 with_gnu_ld_CXX=$with_gnu_ld
13997 # Do we need to explicitly link libc?
13999 case "x$archive_cmds_need_lc_CXX" in
14000 x|xyes)
14001 # Assume -lc should be added
14002 archive_cmds_need_lc_CXX=yes
14004 if test "$enable_shared" = yes && test "$GCC" = yes; then
14005 case $archive_cmds_CXX in
14006 *'~'*)
14007 # FIXME: we may have to deal with multi-command sequences.
14009 '$CC '*)
14010 # Test whether the compiler implicitly links with -lc since on some
14011 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14012 # to ld, don't add -lc before -lgcc.
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14014 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14015 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14016 $as_echo_n "(cached) " >&6
14017 else
14018 $RM conftest*
14019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14022 (eval $ac_compile) 2>&5
14023 ac_status=$?
14024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14025 test $ac_status = 0; } 2>conftest.err; then
14026 soname=conftest
14027 lib=conftest
14028 libobjs=conftest.$ac_objext
14029 deplibs=
14030 wl=$lt_prog_compiler_wl_CXX
14031 pic_flag=$lt_prog_compiler_pic_CXX
14032 compiler_flags=-v
14033 linker_flags=-v
14034 verstring=
14035 output_objdir=.
14036 libname=conftest
14037 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14038 allow_undefined_flag_CXX=
14039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14040 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14041 ac_status=$?
14042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14043 test $ac_status = 0; }
14044 then
14045 lt_cv_archive_cmds_need_lc_CXX=no
14046 else
14047 lt_cv_archive_cmds_need_lc_CXX=yes
14049 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14050 else
14051 cat conftest.err 1>&5
14053 $RM conftest*
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14057 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14058 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14060 esac
14063 esac
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14129 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14131 library_names_spec=
14132 libname_spec='lib$name'
14133 soname_spec=
14134 shrext_cmds=".so"
14135 postinstall_cmds=
14136 postuninstall_cmds=
14137 finish_cmds=
14138 finish_eval=
14139 shlibpath_var=
14140 shlibpath_overrides_runpath=unknown
14141 version_type=none
14142 dynamic_linker="$host_os ld.so"
14143 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14144 need_lib_prefix=unknown
14145 hardcode_into_libs=no
14147 # when you set need_version to no, make sure it does not cause -set_version
14148 # flags to be left without arguments
14149 need_version=unknown
14151 case $host_os in
14152 aix3*)
14153 version_type=linux
14154 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14155 shlibpath_var=LIBPATH
14157 # AIX 3 has no versioning support, so we append a major version to the name.
14158 soname_spec='${libname}${release}${shared_ext}$major'
14161 aix[4-9]*)
14162 version_type=linux
14163 need_lib_prefix=no
14164 need_version=no
14165 hardcode_into_libs=yes
14166 if test "$host_cpu" = ia64; then
14167 # AIX 5 supports IA64
14168 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14169 shlibpath_var=LD_LIBRARY_PATH
14170 else
14171 # With GCC up to 2.95.x, collect2 would create an import file
14172 # for dependence libraries. The import file would start with
14173 # the line `#! .'. This would cause the generated library to
14174 # depend on `.', always an invalid library. This was fixed in
14175 # development snapshots of GCC prior to 3.0.
14176 case $host_os in
14177 aix4 | aix4.[01] | aix4.[01].*)
14178 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14179 echo ' yes '
14180 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14182 else
14183 can_build_shared=no
14186 esac
14187 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14188 # soname into executable. Probably we can add versioning support to
14189 # collect2, so additional links can be useful in future.
14190 if test "$aix_use_runtimelinking" = yes; then
14191 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14192 # instead of lib<name>.a to let people know that these are not
14193 # typical AIX shared libraries.
14194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14195 else
14196 # We preserve .a as extension for shared libraries through AIX4.2
14197 # and later when we are not doing run time linking.
14198 library_names_spec='${libname}${release}.a $libname.a'
14199 soname_spec='${libname}${release}${shared_ext}$major'
14201 shlibpath_var=LIBPATH
14205 amigaos*)
14206 case $host_cpu in
14207 powerpc)
14208 # Since July 2007 AmigaOS4 officially supports .so libraries.
14209 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14212 m68k)
14213 library_names_spec='$libname.ixlibrary $libname.a'
14214 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14215 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'
14217 esac
14220 beos*)
14221 library_names_spec='${libname}${shared_ext}'
14222 dynamic_linker="$host_os ld.so"
14223 shlibpath_var=LIBRARY_PATH
14226 bsdi[45]*)
14227 version_type=linux
14228 need_version=no
14229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14230 soname_spec='${libname}${release}${shared_ext}$major'
14231 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14232 shlibpath_var=LD_LIBRARY_PATH
14233 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14234 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14235 # the default ld.so.conf also contains /usr/contrib/lib and
14236 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14237 # libtool to hard-code these into programs
14240 cygwin* | mingw* | pw32* | cegcc*)
14241 version_type=windows
14242 shrext_cmds=".dll"
14243 need_version=no
14244 need_lib_prefix=no
14246 case $GCC,$host_os in
14247 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14248 library_names_spec='$libname.dll.a'
14249 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14250 postinstall_cmds='base_file=`basename \${file}`~
14251 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14252 dldir=$destdir/`dirname \$dlpath`~
14253 test -d \$dldir || mkdir -p \$dldir~
14254 $install_prog $dir/$dlname \$dldir/$dlname~
14255 chmod a+x \$dldir/$dlname~
14256 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14257 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14259 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14260 dlpath=$dir/\$dldll~
14261 $RM \$dlpath'
14262 shlibpath_overrides_runpath=yes
14264 case $host_os in
14265 cygwin*)
14266 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14267 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14270 mingw* | cegcc*)
14271 # MinGW DLLs use traditional 'lib' prefix
14272 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14274 pw32*)
14275 # pw32 DLLs use 'pw' prefix rather than 'lib'
14276 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14278 esac
14282 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14284 esac
14285 dynamic_linker='Win32 ld.exe'
14286 # FIXME: first we should search . and the directory the executable is in
14287 shlibpath_var=PATH
14290 darwin* | rhapsody*)
14291 dynamic_linker="$host_os dyld"
14292 version_type=darwin
14293 need_lib_prefix=no
14294 need_version=no
14295 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14296 soname_spec='${libname}${release}${major}$shared_ext'
14297 shlibpath_overrides_runpath=yes
14298 shlibpath_var=DYLD_LIBRARY_PATH
14299 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14301 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14304 dgux*)
14305 version_type=linux
14306 need_lib_prefix=no
14307 need_version=no
14308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14309 soname_spec='${libname}${release}${shared_ext}$major'
14310 shlibpath_var=LD_LIBRARY_PATH
14313 freebsd* | dragonfly*)
14314 # DragonFly does not have aout. When/if they implement a new
14315 # versioning mechanism, adjust this.
14316 if test -x /usr/bin/objformat; then
14317 objformat=`/usr/bin/objformat`
14318 else
14319 case $host_os in
14320 freebsd[23].*) objformat=aout ;;
14321 *) objformat=elf ;;
14322 esac
14324 version_type=freebsd-$objformat
14325 case $version_type in
14326 freebsd-elf*)
14327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14328 need_version=no
14329 need_lib_prefix=no
14331 freebsd-*)
14332 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14333 need_version=yes
14335 esac
14336 shlibpath_var=LD_LIBRARY_PATH
14337 case $host_os in
14338 freebsd2.*)
14339 shlibpath_overrides_runpath=yes
14341 freebsd3.[01]* | freebsdelf3.[01]*)
14342 shlibpath_overrides_runpath=yes
14343 hardcode_into_libs=yes
14345 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14346 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14347 shlibpath_overrides_runpath=no
14348 hardcode_into_libs=yes
14350 *) # from 4.6 on, and DragonFly
14351 shlibpath_overrides_runpath=yes
14352 hardcode_into_libs=yes
14354 esac
14357 gnu*)
14358 version_type=linux
14359 need_lib_prefix=no
14360 need_version=no
14361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14362 soname_spec='${libname}${release}${shared_ext}$major'
14363 shlibpath_var=LD_LIBRARY_PATH
14364 hardcode_into_libs=yes
14367 haiku*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 dynamic_linker="$host_os runtime_loader"
14372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14373 soname_spec='${libname}${release}${shared_ext}$major'
14374 shlibpath_var=LIBRARY_PATH
14375 shlibpath_overrides_runpath=yes
14376 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14377 hardcode_into_libs=yes
14380 hpux9* | hpux10* | hpux11*)
14381 # Give a soname corresponding to the major version so that dld.sl refuses to
14382 # link against other versions.
14383 version_type=sunos
14384 need_lib_prefix=no
14385 need_version=no
14386 case $host_cpu in
14387 ia64*)
14388 shrext_cmds='.so'
14389 hardcode_into_libs=yes
14390 dynamic_linker="$host_os dld.so"
14391 shlibpath_var=LD_LIBRARY_PATH
14392 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14394 soname_spec='${libname}${release}${shared_ext}$major'
14395 if test "X$HPUX_IA64_MODE" = X32; then
14396 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14397 else
14398 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14400 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14402 hppa*64*)
14403 shrext_cmds='.sl'
14404 hardcode_into_libs=yes
14405 dynamic_linker="$host_os dld.sl"
14406 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14407 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14409 soname_spec='${libname}${release}${shared_ext}$major'
14410 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14411 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14414 shrext_cmds='.sl'
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=SHLIB_PATH
14417 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14421 esac
14422 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14423 postinstall_cmds='chmod 555 $lib'
14424 # or fails outright, so override atomically:
14425 install_override_mode=555
14428 interix[3-9]*)
14429 version_type=linux
14430 need_lib_prefix=no
14431 need_version=no
14432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14433 soname_spec='${libname}${release}${shared_ext}$major'
14434 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14435 shlibpath_var=LD_LIBRARY_PATH
14436 shlibpath_overrides_runpath=no
14437 hardcode_into_libs=yes
14440 irix5* | irix6* | nonstopux*)
14441 case $host_os in
14442 nonstopux*) version_type=nonstopux ;;
14444 if test "$lt_cv_prog_gnu_ld" = yes; then
14445 version_type=linux
14446 else
14447 version_type=irix
14448 fi ;;
14449 esac
14450 need_lib_prefix=no
14451 need_version=no
14452 soname_spec='${libname}${release}${shared_ext}$major'
14453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14454 case $host_os in
14455 irix5* | nonstopux*)
14456 libsuff= shlibsuff=
14459 case $LD in # libtool.m4 will add one of these switches to LD
14460 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14461 libsuff= shlibsuff= libmagic=32-bit;;
14462 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14463 libsuff=32 shlibsuff=N32 libmagic=N32;;
14464 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14465 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14466 *) libsuff= shlibsuff= libmagic=never-match;;
14467 esac
14469 esac
14470 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14471 shlibpath_overrides_runpath=no
14472 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14473 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14474 hardcode_into_libs=yes
14477 # No shared lib support for Linux oldld, aout, or coff.
14478 linux*oldld* | linux*aout* | linux*coff*)
14479 dynamic_linker=no
14482 # This must be Linux ELF.
14483 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14484 version_type=linux
14485 need_lib_prefix=no
14486 need_version=no
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14488 soname_spec='${libname}${release}${shared_ext}$major'
14489 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14490 shlibpath_var=LD_LIBRARY_PATH
14491 shlibpath_overrides_runpath=no
14493 # Some binutils ld are patched to set DT_RUNPATH
14494 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 lt_cv_shlibpath_overrides_runpath=no
14498 save_LDFLAGS=$LDFLAGS
14499 save_libdir=$libdir
14500 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14501 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14502 if test x$gcc_no_link = xyes; then
14503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506 /* end confdefs.h. */
14509 main ()
14513 return 0;
14515 _ACEOF
14516 if ac_fn_cxx_try_link "$LINENO"; then :
14517 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14518 lt_cv_shlibpath_overrides_runpath=yes
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 LDFLAGS=$save_LDFLAGS
14524 libdir=$save_libdir
14528 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14530 # This implies no fast_install, which is unacceptable.
14531 # Some rework will be needed to allow for fast_install
14532 # before this can be enabled.
14533 hardcode_into_libs=yes
14535 # Append ld.so.conf contents to the search path
14536 if test -f /etc/ld.so.conf; then
14537 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' ' '`
14538 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14541 # We used to test for /lib/ld.so.1 and disable shared libraries on
14542 # powerpc, because MkLinux only supported shared libraries with the
14543 # GNU dynamic linker. Since this was broken with cross compilers,
14544 # most powerpc-linux boxes support dynamic linking these days and
14545 # people can always --disable-shared, the test was removed, and we
14546 # assume the GNU/Linux dynamic linker is in use.
14547 dynamic_linker='GNU/Linux ld.so'
14550 netbsd*)
14551 version_type=sunos
14552 need_lib_prefix=no
14553 need_version=no
14554 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14556 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14557 dynamic_linker='NetBSD (a.out) ld.so'
14558 else
14559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14560 soname_spec='${libname}${release}${shared_ext}$major'
14561 dynamic_linker='NetBSD ld.elf_so'
14563 shlibpath_var=LD_LIBRARY_PATH
14564 shlibpath_overrides_runpath=yes
14565 hardcode_into_libs=yes
14568 newsos6)
14569 version_type=linux
14570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14571 shlibpath_var=LD_LIBRARY_PATH
14572 shlibpath_overrides_runpath=yes
14575 *nto* | *qnx*)
14576 version_type=qnx
14577 need_lib_prefix=no
14578 need_version=no
14579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14580 soname_spec='${libname}${release}${shared_ext}$major'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=no
14583 hardcode_into_libs=yes
14584 dynamic_linker='ldqnx.so'
14587 openbsd*)
14588 version_type=sunos
14589 sys_lib_dlsearch_path_spec="/usr/lib"
14590 need_lib_prefix=no
14591 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14592 case $host_os in
14593 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14594 *) need_version=no ;;
14595 esac
14596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14597 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14598 shlibpath_var=LD_LIBRARY_PATH
14599 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14600 case $host_os in
14601 openbsd2.[89] | openbsd2.[89].*)
14602 shlibpath_overrides_runpath=no
14605 shlibpath_overrides_runpath=yes
14607 esac
14608 else
14609 shlibpath_overrides_runpath=yes
14613 os2*)
14614 libname_spec='$name'
14615 shrext_cmds=".dll"
14616 need_lib_prefix=no
14617 library_names_spec='$libname${shared_ext} $libname.a'
14618 dynamic_linker='OS/2 ld.exe'
14619 shlibpath_var=LIBPATH
14622 osf3* | osf4* | osf5*)
14623 version_type=osf
14624 need_lib_prefix=no
14625 need_version=no
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14628 shlibpath_var=LD_LIBRARY_PATH
14629 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14630 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14633 rdos*)
14634 dynamic_linker=no
14637 solaris*)
14638 version_type=linux
14639 need_lib_prefix=no
14640 need_version=no
14641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14642 soname_spec='${libname}${release}${shared_ext}$major'
14643 shlibpath_var=LD_LIBRARY_PATH
14644 shlibpath_overrides_runpath=yes
14645 hardcode_into_libs=yes
14646 # ldd complains unless libraries are executable
14647 postinstall_cmds='chmod +x $lib'
14650 sunos4*)
14651 version_type=sunos
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14653 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 if test "$with_gnu_ld" = yes; then
14657 need_lib_prefix=no
14659 need_version=yes
14662 sysv4 | sysv4.3*)
14663 version_type=linux
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 shlibpath_var=LD_LIBRARY_PATH
14667 case $host_vendor in
14668 sni)
14669 shlibpath_overrides_runpath=no
14670 need_lib_prefix=no
14671 runpath_var=LD_RUN_PATH
14673 siemens)
14674 need_lib_prefix=no
14676 motorola)
14677 need_lib_prefix=no
14678 need_version=no
14679 shlibpath_overrides_runpath=no
14680 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14682 esac
14685 sysv4*MP*)
14686 if test -d /usr/nec ;then
14687 version_type=linux
14688 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14689 soname_spec='$libname${shared_ext}.$major'
14690 shlibpath_var=LD_LIBRARY_PATH
14694 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14695 version_type=freebsd-elf
14696 need_lib_prefix=no
14697 need_version=no
14698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14699 soname_spec='${libname}${release}${shared_ext}$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 shlibpath_overrides_runpath=yes
14702 hardcode_into_libs=yes
14703 if test "$with_gnu_ld" = yes; then
14704 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14705 else
14706 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14707 case $host_os in
14708 sco3.2v5*)
14709 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14711 esac
14713 sys_lib_dlsearch_path_spec='/usr/lib'
14716 tpf*)
14717 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14718 version_type=linux
14719 need_lib_prefix=no
14720 need_version=no
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14722 shlibpath_var=LD_LIBRARY_PATH
14723 shlibpath_overrides_runpath=no
14724 hardcode_into_libs=yes
14727 uts4*)
14728 version_type=linux
14729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14730 soname_spec='${libname}${release}${shared_ext}$major'
14731 shlibpath_var=LD_LIBRARY_PATH
14735 dynamic_linker=no
14737 esac
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14739 $as_echo "$dynamic_linker" >&6; }
14740 test "$dynamic_linker" = no && can_build_shared=no
14742 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14743 if test "$GCC" = yes; then
14744 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14747 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14748 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14750 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14751 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14792 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14793 hardcode_action_CXX=
14794 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14795 test -n "$runpath_var_CXX" ||
14796 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14798 # We can hardcode non-existent directories.
14799 if test "$hardcode_direct_CXX" != no &&
14800 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14801 # have to relink, otherwise we might link with an installed library
14802 # when we should be linking with a yet-to-be-installed one
14803 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14804 test "$hardcode_minus_L_CXX" != no; then
14805 # Linking always hardcodes the temporary library directory.
14806 hardcode_action_CXX=relink
14807 else
14808 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14809 hardcode_action_CXX=immediate
14811 else
14812 # We cannot hardcode anything, or else we can only hardcode existing
14813 # directories.
14814 hardcode_action_CXX=unsupported
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14817 $as_echo "$hardcode_action_CXX" >&6; }
14819 if test "$hardcode_action_CXX" = relink ||
14820 test "$inherit_rpath_CXX" = yes; then
14821 # Fast installation is not supported
14822 enable_fast_install=no
14823 elif test "$shlibpath_overrides_runpath" = yes ||
14824 test "$enable_shared" = no; then
14825 # Fast installation is not necessary
14826 enable_fast_install=needless
14835 fi # test -n "$compiler"
14837 CC=$lt_save_CC
14838 LDCXX=$LD
14839 LD=$lt_save_LD
14840 GCC=$lt_save_GCC
14841 with_gnu_ld=$lt_save_with_gnu_ld
14842 lt_cv_path_LDCXX=$lt_cv_path_LD
14843 lt_cv_path_LD=$lt_save_path_LD
14844 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14845 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14846 fi # test "$_lt_caught_CXX_error" != yes
14848 ac_ext=c
14849 ac_cpp='$CPP $CPPFLAGS'
14850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14866 ac_config_commands="$ac_config_commands libtool"
14871 # Only expand once:
14877 case $host in
14878 *-cygwin* | *-mingw*)
14879 # 'host' will be top-level target in the case of a target lib,
14880 # we must compare to with_cross_host to decide if this is a native
14881 # or cross-compiler and select where to install dlls appropriately.
14882 if test -n "$with_cross_host" &&
14883 test x"$with_cross_host" != x"no"; then
14884 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14885 else
14886 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14890 lt_host_flags=
14892 esac
14899 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14900 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14902 # Possibly disable most of the library.
14903 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14904 ## than just ignoring the results. Faster /and/ more correct, win win.
14906 # Check whether --enable-hosted-libstdcxx was given.
14907 if test "${enable_hosted_libstdcxx+set}" = set; then :
14908 enableval=$enable_hosted_libstdcxx;
14909 else
14910 case "$host" in
14911 arm*-*-symbianelf*)
14912 enable_hosted_libstdcxx=no
14915 enable_hosted_libstdcxx=yes
14917 esac
14920 if test "$enable_hosted_libstdcxx" = no; then
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14922 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14923 is_hosted=no
14924 hosted_define=0
14925 enable_abi_check=no
14926 enable_libstdcxx_pch=no
14927 else
14928 is_hosted=yes
14929 hosted_define=1
14933 cat >>confdefs.h <<_ACEOF
14934 #define _GLIBCXX_HOSTED $hosted_define
14935 _ACEOF
14939 # Enable compiler support that doesn't require linking.
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14942 $as_echo_n "checking for exception model to use... " >&6; }
14944 ac_ext=cpp
14945 ac_cpp='$CXXCPP $CPPFLAGS'
14946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14950 # Check whether --enable-sjlj-exceptions was given.
14951 if test "${enable_sjlj_exceptions+set}" = set; then :
14952 enableval=$enable_sjlj_exceptions;
14953 case "$enableval" in
14954 yes|no|auto) ;;
14955 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14956 esac
14958 else
14959 enable_sjlj_exceptions=auto
14964 if test $enable_sjlj_exceptions = auto; then
14965 # Botheration. Now we've got to detect the exception model. Link tests
14966 # against libgcc.a are problematic since we've not been given proper -L
14967 # bits for single-tree newlib and libgloss.
14969 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14970 cat > conftest.$ac_ext << EOF
14971 #line 14971 "configure"
14972 struct S { ~S(); };
14973 void bar();
14974 void foo()
14976 S s;
14977 bar();
14980 old_CXXFLAGS="$CXXFLAGS"
14981 CXXFLAGS=-S
14982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14983 (eval $ac_compile) 2>&5
14984 ac_status=$?
14985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14986 test $ac_status = 0; }; then
14987 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14988 enable_sjlj_exceptions=yes
14989 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14990 enable_sjlj_exceptions=no
14991 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14992 enable_sjlj_exceptions=no
14995 CXXFLAGS="$old_CXXFLAGS"
14996 rm -f conftest*
14999 # This is a tad weird, for hysterical raisins. We have to map
15000 # enable/disable to two different models.
15001 case $enable_sjlj_exceptions in
15002 yes)
15004 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15006 ac_exception_model_name=sjlj
15009 ac_exception_model_name="call frame"
15012 as_fn_error "unable to detect exception model" "$LINENO" 5
15014 esac
15015 ac_ext=c
15016 ac_cpp='$CPP $CPPFLAGS'
15017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15022 $as_echo "$ac_exception_model_name" >&6; }
15025 # Check whether --enable-libstdcxx-pch was given.
15026 if test "${enable_libstdcxx_pch+set}" = set; then :
15027 enableval=$enable_libstdcxx_pch;
15028 case "$enableval" in
15029 yes|no) ;;
15030 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15031 esac
15033 else
15034 enable_libstdcxx_pch=$is_hosted
15038 if test $enable_libstdcxx_pch = yes; then
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15040 $as_echo_n "checking for compiler with PCH support... " >&6; }
15041 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15042 $as_echo_n "(cached) " >&6
15043 else
15044 ac_save_CXXFLAGS="$CXXFLAGS"
15045 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15047 ac_ext=cpp
15048 ac_cpp='$CXXCPP $CPPFLAGS'
15049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15053 echo '#include <math.h>' > conftest.h
15054 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15055 -o conftest.h.gch 1>&5 2>&1 &&
15056 echo '#error "pch failed"' > conftest.h &&
15057 echo '#include "conftest.h"' > conftest.cc &&
15058 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15059 then
15060 glibcxx_cv_prog_CXX_pch=yes
15061 else
15062 glibcxx_cv_prog_CXX_pch=no
15064 rm -f conftest*
15065 CXXFLAGS=$ac_save_CXXFLAGS
15066 ac_ext=c
15067 ac_cpp='$CPP $CPPFLAGS'
15068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15075 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15076 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15080 $as_echo_n "checking for enabled PCH... " >&6; }
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15082 $as_echo "$enable_libstdcxx_pch" >&6; }
15085 if test $enable_libstdcxx_pch = yes; then
15086 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15087 else
15088 glibcxx_PCHFLAGS=""
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15094 $as_echo_n "checking for thread model used by GCC... " >&6; }
15095 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15097 $as_echo "$target_thread_file" >&6; }
15101 ac_ext=cpp
15102 ac_cpp='$CXXCPP $CPPFLAGS'
15103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15107 old_CXXFLAGS="$CXXFLAGS"
15109 # Do link tests if possible, instead asm tests, limited to some platforms
15110 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15111 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15112 atomic_builtins_link_tests=no
15113 if test x$gcc_no_link != xyes; then
15114 # Can do link tests. Limit to some tested platforms
15115 case "$host" in
15116 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15117 atomic_builtins_link_tests=yes
15119 esac
15122 if test x$atomic_builtins_link_tests = xyes; then
15124 # Do link tests.
15126 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15129 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15130 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15131 $as_echo_n "(cached) " >&6
15132 else
15134 if test x$gcc_no_link = xyes; then
15135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15141 main ()
15143 typedef bool atomic_type;
15144 atomic_type c1;
15145 atomic_type c2;
15146 atomic_type c3(0);
15147 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15148 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15149 __ATOMIC_RELAXED);
15150 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15151 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15154 return 0;
15156 _ACEOF
15157 if ac_fn_cxx_try_link "$LINENO"; then :
15158 glibcxx_cv_atomic_bool=yes
15159 else
15160 glibcxx_cv_atomic_bool=no
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15168 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15171 $as_echo_n "checking for atomic builtins for short... " >&6; }
15172 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15173 $as_echo_n "(cached) " >&6
15174 else
15176 if test x$gcc_no_link = xyes; then
15177 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15183 main ()
15185 typedef short atomic_type;
15186 atomic_type c1;
15187 atomic_type c2;
15188 atomic_type c3(0);
15189 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15190 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15191 __ATOMIC_RELAXED);
15192 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15193 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15196 return 0;
15198 _ACEOF
15199 if ac_fn_cxx_try_link "$LINENO"; then :
15200 glibcxx_cv_atomic_short=yes
15201 else
15202 glibcxx_cv_atomic_short=no
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15210 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15213 $as_echo_n "checking for atomic builtins for int... " >&6; }
15214 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15218 if test x$gcc_no_link = xyes; then
15219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15225 main ()
15227 typedef int atomic_type;
15228 atomic_type c1;
15229 atomic_type c2;
15230 atomic_type c3(0);
15231 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15232 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15233 __ATOMIC_RELAXED);
15234 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15235 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15238 return 0;
15240 _ACEOF
15241 if ac_fn_cxx_try_link "$LINENO"; then :
15242 glibcxx_cv_atomic_int=yes
15243 else
15244 glibcxx_cv_atomic_int=no
15246 rm -f core conftest.err conftest.$ac_objext \
15247 conftest$ac_exeext conftest.$ac_ext
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15252 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15255 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15256 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15257 $as_echo_n "(cached) " >&6
15258 else
15260 if test x$gcc_no_link = xyes; then
15261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15267 main ()
15269 typedef long long atomic_type;
15270 atomic_type c1;
15271 atomic_type c2;
15272 atomic_type c3(0);
15273 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15274 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15275 __ATOMIC_RELAXED);
15276 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15277 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15280 return 0;
15282 _ACEOF
15283 if ac_fn_cxx_try_link "$LINENO"; then :
15284 glibcxx_cv_atomic_long_long=yes
15285 else
15286 glibcxx_cv_atomic_long_long=no
15288 rm -f core conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15294 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15296 else
15298 # Do asm tests.
15300 # Compile unoptimized.
15301 CXXFLAGS='-O0 -S'
15303 # Fake what AC_TRY_COMPILE does.
15305 cat > conftest.$ac_ext << EOF
15306 #line 15306 "configure"
15307 int main()
15309 typedef bool atomic_type;
15310 atomic_type c1;
15311 atomic_type c2;
15312 atomic_type c3(0);
15313 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15314 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15315 __ATOMIC_RELAXED);
15316 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15317 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15319 return 0;
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15324 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15326 (eval $ac_compile) 2>&5
15327 ac_status=$?
15328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15329 test $ac_status = 0; }; then
15330 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15331 glibcxx_cv_atomic_bool=no
15332 else
15333 glibcxx_cv_atomic_bool=yes
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15337 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15338 rm -f conftest*
15340 cat > conftest.$ac_ext << EOF
15341 #line 15341 "configure"
15342 int main()
15344 typedef short atomic_type;
15345 atomic_type c1;
15346 atomic_type c2;
15347 atomic_type c3(0);
15348 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15349 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15350 __ATOMIC_RELAXED);
15351 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15352 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15354 return 0;
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15359 $as_echo_n "checking for atomic builtins for short... " >&6; }
15360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15361 (eval $ac_compile) 2>&5
15362 ac_status=$?
15363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15364 test $ac_status = 0; }; then
15365 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15366 glibcxx_cv_atomic_short=no
15367 else
15368 glibcxx_cv_atomic_short=yes
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15372 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15373 rm -f conftest*
15375 cat > conftest.$ac_ext << EOF
15376 #line 15376 "configure"
15377 int main()
15379 // NB: _Atomic_word not necessarily int.
15380 typedef int atomic_type;
15381 atomic_type c1;
15382 atomic_type c2;
15383 atomic_type c3(0);
15384 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15385 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15386 __ATOMIC_RELAXED);
15387 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15388 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15390 return 0;
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15395 $as_echo_n "checking for atomic builtins for int... " >&6; }
15396 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15397 (eval $ac_compile) 2>&5
15398 ac_status=$?
15399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15400 test $ac_status = 0; }; then
15401 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15402 glibcxx_cv_atomic_int=no
15403 else
15404 glibcxx_cv_atomic_int=yes
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15408 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15409 rm -f conftest*
15411 cat > conftest.$ac_ext << EOF
15412 #line 15412 "configure"
15413 int main()
15415 typedef long long atomic_type;
15416 atomic_type c1;
15417 atomic_type c2;
15418 atomic_type c3(0);
15419 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15420 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15421 __ATOMIC_RELAXED);
15422 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15423 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15425 return 0;
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15430 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15432 (eval $ac_compile) 2>&5
15433 ac_status=$?
15434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15435 test $ac_status = 0; }; then
15436 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15437 glibcxx_cv_atomic_long_long=no
15438 else
15439 glibcxx_cv_atomic_long_long=yes
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15443 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15444 rm -f conftest*
15448 CXXFLAGS="$old_CXXFLAGS"
15449 ac_ext=c
15450 ac_cpp='$CPP $CPPFLAGS'
15451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15456 # Set atomicity_dir to builtins if all but the long long test above passes.
15457 if test $glibcxx_cv_atomic_bool = yes \
15458 && test $glibcxx_cv_atomic_short = yes \
15459 && test $glibcxx_cv_atomic_int = yes; then
15461 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15463 atomicity_dir=cpu/generic/atomicity_builtins
15466 # If still generic, set to mutex.
15467 if test $atomicity_dir = "cpu/generic" ; then
15468 atomicity_dir=cpu/generic/atomicity_mutex
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15470 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15471 if test "x$target_thread_file" = xsingle; then
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15473 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15475 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15476 else
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15478 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15480 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15487 # Fake what AC_TRY_COMPILE does, without linking as this is
15488 # unnecessary for this test.
15490 cat > conftest.$ac_ext << EOF
15491 #line 15491 "configure"
15492 int main()
15494 _Decimal32 d1;
15495 _Decimal64 d2;
15496 _Decimal128 d3;
15497 return 0;
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15502 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15504 (eval $ac_compile) 2>&5
15505 ac_status=$?
15506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15507 test $ac_status = 0; }; then
15509 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15511 enable_dfp=yes
15512 else
15513 enable_dfp=no
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15516 $as_echo "$enable_dfp" >&6; }
15517 rm -f conftest*
15522 ac_ext=cpp
15523 ac_cpp='$CXXCPP $CPPFLAGS'
15524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15529 # Fake what AC_TRY_COMPILE does, without linking as this is
15530 # unnecessary for this test.
15532 cat > conftest.$ac_ext << EOF
15533 #line 15533 "configure"
15534 template<typename T1, typename T2>
15535 struct same
15536 { typedef T2 type; };
15538 template<typename T>
15539 struct same<T, T>;
15541 int main()
15543 typename same<long, __int128>::type i1;
15544 typename same<long long, __int128>::type i2;
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15549 $as_echo_n "checking for __int128... " >&6; }
15550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15551 (eval $ac_compile) 2>&5
15552 ac_status=$?
15553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15554 test $ac_status = 0; }; then
15556 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15558 enable_int128=yes
15559 else
15560 enable_int128=no
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15563 $as_echo "$enable_int128" >&6; }
15564 rm -f conftest*
15566 cat > conftest.$ac_ext << EOF
15567 #line 15567 "configure"
15568 template<typename T1, typename T2>
15569 struct same
15570 { typedef T2 type; };
15572 template<typename T>
15573 struct same<T, T>;
15575 int main()
15577 typename same<double, __float128>::type f1;
15578 typename same<long double, __float128>::type f2;
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15583 $as_echo_n "checking for __float128... " >&6; }
15584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15585 (eval $ac_compile) 2>&5
15586 ac_status=$?
15587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15588 test $ac_status = 0; }; then
15590 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15592 enable_float128=yes
15593 else
15594 enable_float128=no
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15597 $as_echo "$enable_float128" >&6; }
15598 rm -f conftest*
15600 ac_ext=c
15601 ac_cpp='$CPP $CPPFLAGS'
15602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15608 # Checks for compiler support that doesn't require linking.
15610 # All these tests are for C++; save the language and the compiler flags.
15611 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15612 # found in GLIBCXX_CONFIGURE.
15614 ac_ext=cpp
15615 ac_cpp='$CXXCPP $CPPFLAGS'
15616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15621 ac_save_CXXFLAGS="$CXXFLAGS"
15623 # Check for maintainer-mode bits.
15624 if test x"$USE_MAINTAINER_MODE" = xno; then
15625 WERROR=''
15626 else
15627 WERROR='-Werror'
15630 # Check for -ffunction-sections -fdata-sections
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15632 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15633 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15636 int foo; void bar() { };
15638 main ()
15642 return 0;
15644 _ACEOF
15645 if ac_fn_cxx_try_compile "$LINENO"; then :
15646 ac_fdsections=yes
15647 else
15648 ac_fdsections=no
15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15651 if test "$ac_test_CXXFLAGS" = set; then
15652 CXXFLAGS="$ac_save_CXXFLAGS"
15653 else
15654 # this is the suspicious part
15655 CXXFLAGS=''
15657 if test x"$ac_fdsections" = x"yes"; then
15658 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15661 $as_echo "$ac_fdsections" >&6; }
15663 ac_ext=c
15664 ac_cpp='$CPP $CPPFLAGS'
15665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15673 # Enable all the variable C++ runtime options that don't require linking.
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15676 $as_echo_n "checking for underlying I/O to use... " >&6; }
15677 # Check whether --enable-cstdio was given.
15678 if test "${enable_cstdio+set}" = set; then :
15679 enableval=$enable_cstdio;
15680 case "$enableval" in
15681 stdio) ;;
15682 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15683 esac
15685 else
15686 enable_cstdio=stdio
15691 # Now that libio has been removed, you can have any color you want as long
15692 # as it's black. This is one big no-op until other packages are added, but
15693 # showing the framework never hurts.
15694 case ${enable_cstdio} in
15695 stdio)
15696 CSTDIO_H=config/io/c_io_stdio.h
15697 BASIC_FILE_H=config/io/basic_file_stdio.h
15698 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15700 $as_echo "stdio" >&6; }
15702 esac
15709 # Check whether --enable-clocale was given.
15710 if test "${enable_clocale+set}" = set; then :
15711 enableval=$enable_clocale;
15712 case "$enableval" in
15713 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15714 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15715 esac
15717 else
15718 enable_clocale=auto
15723 # Deal with gettext issues. Default to not using it (=no) until we detect
15724 # support for it later. Let the user turn it off via --e/d, but let that
15725 # default to on for easier handling.
15726 USE_NLS=no
15727 # Check whether --enable-nls was given.
15728 if test "${enable_nls+set}" = set; then :
15729 enableval=$enable_nls;
15730 else
15731 enable_nls=yes
15735 # Either a known package, or "auto"
15736 if test $enable_clocale = no || test $enable_clocale = yes; then
15737 enable_clocale=auto
15739 enable_clocale_flag=$enable_clocale
15741 # Probe for locale model to use if none specified.
15742 # Default to "generic".
15743 if test $enable_clocale_flag = auto; then
15744 case ${target_os} in
15745 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15746 enable_clocale_flag=gnu
15748 darwin* | freebsd*)
15749 enable_clocale_flag=darwin
15752 if test x"$with_newlib" = x"yes"; then
15753 enable_clocale_flag=newlib
15754 else
15755 enable_clocale_flag=generic
15758 esac
15761 # Sanity check model, and test for special functionality.
15762 if test $enable_clocale_flag = gnu; then
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15766 #include <features.h>
15767 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15768 _GLIBCXX_ok
15769 #endif
15771 _ACEOF
15772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15773 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15774 enable_clocale_flag=gnu
15775 else
15776 enable_clocale_flag=generic
15778 rm -f conftest*
15781 # Set it to scream when it hurts.
15782 ac_save_CFLAGS="$CFLAGS"
15783 CFLAGS="-Wimplicit-function-declaration -Werror"
15785 # Use strxfrm_l if available.
15786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15787 /* end confdefs.h. */
15788 #define _GNU_SOURCE 1
15789 #include <string.h>
15790 #include <locale.h>
15792 main ()
15794 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15796 return 0;
15798 _ACEOF
15799 if ac_fn_c_try_compile "$LINENO"; then :
15801 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15806 # Use strerror_l if available.
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15809 #define _GNU_SOURCE 1
15810 #include <string.h>
15811 #include <locale.h>
15813 main ()
15815 __locale_t loc; strerror_l(5, loc);
15817 return 0;
15819 _ACEOF
15820 if ac_fn_c_try_compile "$LINENO"; then :
15822 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15827 CFLAGS="$ac_save_CFLAGS"
15830 # Perhaps use strerror_r if available, and strerror_l isn't.
15831 ac_save_CFLAGS="$CFLAGS"
15832 CFLAGS="-Wimplicit-function-declaration -Werror"
15833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15834 /* end confdefs.h. */
15835 #define _GNU_SOURCE 1
15836 #include <string.h>
15837 #include <locale.h>
15839 main ()
15841 char s[128]; strerror_r(5, s, 128);
15843 return 0;
15845 _ACEOF
15846 if ac_fn_c_try_compile "$LINENO"; then :
15848 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15852 CFLAGS="$ac_save_CFLAGS"
15854 # Set configure bits for specified locale package
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15856 $as_echo_n "checking for C locale to use... " >&6; }
15857 case ${enable_clocale_flag} in
15858 generic)
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15860 $as_echo "generic" >&6; }
15862 CLOCALE_H=config/locale/generic/c_locale.h
15863 CLOCALE_CC=config/locale/generic/c_locale.cc
15864 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15865 CCOLLATE_CC=config/locale/generic/collate_members.cc
15866 CCTYPE_CC=config/locale/generic/ctype_members.cc
15867 CMESSAGES_H=config/locale/generic/messages_members.h
15868 CMESSAGES_CC=config/locale/generic/messages_members.cc
15869 CMONEY_CC=config/locale/generic/monetary_members.cc
15870 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15871 CTIME_H=config/locale/generic/time_members.h
15872 CTIME_CC=config/locale/generic/time_members.cc
15873 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15875 darwin)
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15877 $as_echo "darwin or freebsd" >&6; }
15879 CLOCALE_H=config/locale/generic/c_locale.h
15880 CLOCALE_CC=config/locale/generic/c_locale.cc
15881 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15882 CCOLLATE_CC=config/locale/generic/collate_members.cc
15883 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15884 CMESSAGES_H=config/locale/generic/messages_members.h
15885 CMESSAGES_CC=config/locale/generic/messages_members.cc
15886 CMONEY_CC=config/locale/generic/monetary_members.cc
15887 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15888 CTIME_H=config/locale/generic/time_members.h
15889 CTIME_CC=config/locale/generic/time_members.cc
15890 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15893 gnu)
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15895 $as_echo "gnu" >&6; }
15897 # Declare intention to use gettext, and add support for specific
15898 # languages.
15899 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15900 ALL_LINGUAS="de fr"
15902 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15903 # Extract the first word of "msgfmt", so it can be a program name with args.
15904 set dummy msgfmt; ac_word=$2
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15906 $as_echo_n "checking for $ac_word... " >&6; }
15907 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15908 $as_echo_n "(cached) " >&6
15909 else
15910 if test -n "$check_msgfmt"; then
15911 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15912 else
15913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15914 for as_dir in $PATH
15916 IFS=$as_save_IFS
15917 test -z "$as_dir" && as_dir=.
15918 for ac_exec_ext in '' $ac_executable_extensions; do
15919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15920 ac_cv_prog_check_msgfmt="yes"
15921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15922 break 2
15924 done
15925 done
15926 IFS=$as_save_IFS
15928 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15931 check_msgfmt=$ac_cv_prog_check_msgfmt
15932 if test -n "$check_msgfmt"; then
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15934 $as_echo "$check_msgfmt" >&6; }
15935 else
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15937 $as_echo "no" >&6; }
15941 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15942 USE_NLS=yes
15944 # Export the build objects.
15945 for ling in $ALL_LINGUAS; do \
15946 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15947 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15948 done
15952 CLOCALE_H=config/locale/gnu/c_locale.h
15953 CLOCALE_CC=config/locale/gnu/c_locale.cc
15954 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15955 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15956 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15957 CMESSAGES_H=config/locale/gnu/messages_members.h
15958 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15959 CMONEY_CC=config/locale/gnu/monetary_members.cc
15960 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15961 CTIME_H=config/locale/gnu/time_members.h
15962 CTIME_CC=config/locale/gnu/time_members.cc
15963 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15965 ieee_1003.1-2001)
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15967 $as_echo "IEEE 1003.1" >&6; }
15969 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15970 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15971 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15972 CCOLLATE_CC=config/locale/generic/collate_members.cc
15973 CCTYPE_CC=config/locale/generic/ctype_members.cc
15974 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15975 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15976 CMONEY_CC=config/locale/generic/monetary_members.cc
15977 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15978 CTIME_H=config/locale/generic/time_members.h
15979 CTIME_CC=config/locale/generic/time_members.cc
15980 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15982 newlib)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15984 $as_echo "newlib" >&6; }
15986 CLOCALE_H=config/locale/generic/c_locale.h
15987 CLOCALE_CC=config/locale/generic/c_locale.cc
15988 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989 CCOLLATE_CC=config/locale/generic/collate_members.cc
15990 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15991 CMESSAGES_H=config/locale/generic/messages_members.h
15992 CMESSAGES_CC=config/locale/generic/messages_members.cc
15993 CMONEY_CC=config/locale/generic/monetary_members.cc
15994 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995 CTIME_H=config/locale/generic/time_members.h
15996 CTIME_CC=config/locale/generic/time_members.cc
15997 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15999 esac
16001 # This is where the testsuite looks for locale catalogs, using the
16002 # -DLOCALEDIR define during testsuite compilation.
16003 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16006 # A standalone libintl (e.g., GNU libintl) may be in use.
16007 if test $USE_NLS = yes; then
16008 for ac_header in libintl.h
16009 do :
16010 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16011 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16012 cat >>confdefs.h <<_ACEOF
16013 #define HAVE_LIBINTL_H 1
16014 _ACEOF
16016 else
16017 USE_NLS=no
16020 done
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16023 $as_echo_n "checking for library containing gettext... " >&6; }
16024 if test "${ac_cv_search_gettext+set}" = set; then :
16025 $as_echo_n "(cached) " >&6
16026 else
16027 ac_func_search_save_LIBS=$LIBS
16028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16029 /* end confdefs.h. */
16031 /* Override any GCC internal prototype to avoid an error.
16032 Use char because int might match the return type of a GCC
16033 builtin and then its argument prototype would still apply. */
16034 #ifdef __cplusplus
16035 extern "C"
16036 #endif
16037 char gettext ();
16039 main ()
16041 return gettext ();
16043 return 0;
16045 _ACEOF
16046 for ac_lib in '' intl; do
16047 if test -z "$ac_lib"; then
16048 ac_res="none required"
16049 else
16050 ac_res=-l$ac_lib
16051 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16053 if test x$gcc_no_link = xyes; then
16054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16056 if ac_fn_c_try_link "$LINENO"; then :
16057 ac_cv_search_gettext=$ac_res
16059 rm -f core conftest.err conftest.$ac_objext \
16060 conftest$ac_exeext
16061 if test "${ac_cv_search_gettext+set}" = set; then :
16062 break
16064 done
16065 if test "${ac_cv_search_gettext+set}" = set; then :
16067 else
16068 ac_cv_search_gettext=no
16070 rm conftest.$ac_ext
16071 LIBS=$ac_func_search_save_LIBS
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16074 $as_echo "$ac_cv_search_gettext" >&6; }
16075 ac_res=$ac_cv_search_gettext
16076 if test "$ac_res" != no; then :
16077 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16079 else
16080 USE_NLS=no
16084 if test $USE_NLS = yes; then
16086 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16106 $as_echo_n "checking for std::allocator base class... " >&6; }
16107 # Check whether --enable-libstdcxx-allocator was given.
16108 if test "${enable_libstdcxx_allocator+set}" = set; then :
16109 enableval=$enable_libstdcxx_allocator;
16110 case "$enableval" in
16111 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16112 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16113 esac
16115 else
16116 enable_libstdcxx_allocator=auto
16121 # If they didn't use this option switch, or if they specified --enable
16122 # with no specific model, we'll have to look for one. If they
16123 # specified --disable (???), do likewise.
16124 if test $enable_libstdcxx_allocator = no ||
16125 test $enable_libstdcxx_allocator = yes;
16126 then
16127 enable_libstdcxx_allocator=auto
16130 # Either a known package, or "auto". Auto implies the default choice
16131 # for a particular platform.
16132 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16134 # Probe for host-specific support if no specific model is specified.
16135 # Default to "new".
16136 if test $enable_libstdcxx_allocator_flag = auto; then
16137 case ${target_os} in
16138 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16139 enable_libstdcxx_allocator_flag=new
16142 enable_libstdcxx_allocator_flag=new
16144 esac
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16147 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16150 # Set configure bits for specified locale package
16151 case ${enable_libstdcxx_allocator_flag} in
16152 bitmap)
16153 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16154 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16156 malloc)
16157 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16158 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16161 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16162 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16164 new)
16165 ALLOCATOR_H=config/allocator/new_allocator_base.h
16166 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16168 pool)
16169 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16170 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16172 esac
16178 # Check whether --enable-cheaders was given.
16179 if test "${enable_cheaders+set}" = set; then :
16180 enableval=$enable_cheaders;
16181 case "$enableval" in
16182 c|c_std|c_global) ;;
16183 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16184 esac
16186 else
16187 enable_cheaders=$c_model
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16192 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16194 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16196 # Allow overrides to configure.host here.
16197 if test $enable_cheaders = c_global; then
16198 c_compatibility=yes
16207 # Check whether --enable-long-long was given.
16208 if test "${enable_long_long+set}" = set; then :
16209 enableval=$enable_long_long;
16210 case "$enableval" in
16211 yes|no) ;;
16212 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16213 esac
16215 else
16216 enable_long_long=yes
16220 if test $enable_long_long = yes; then
16222 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16226 $as_echo_n "checking for enabled long long specializations... " >&6; }
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16228 $as_echo "$enable_long_long" >&6; }
16231 # Check whether --enable-wchar_t was given.
16232 if test "${enable_wchar_t+set}" = set; then :
16233 enableval=$enable_wchar_t;
16234 case "$enableval" in
16235 yes|no) ;;
16236 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16237 esac
16239 else
16240 enable_wchar_t=yes
16245 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16246 for ac_header in wchar.h
16247 do :
16248 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16249 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16250 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_WCHAR_H 1
16252 _ACEOF
16253 ac_has_wchar_h=yes
16254 else
16255 ac_has_wchar_h=no
16258 done
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16261 $as_echo_n "checking for mbstate_t... " >&6; }
16262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16263 /* end confdefs.h. */
16264 #include <wchar.h>
16266 main ()
16268 mbstate_t teststate;
16270 return 0;
16272 _ACEOF
16273 if ac_fn_c_try_compile "$LINENO"; then :
16274 have_mbstate_t=yes
16275 else
16276 have_mbstate_t=no
16278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16280 $as_echo "$have_mbstate_t" >&6; }
16281 if test x"$have_mbstate_t" = xyes; then
16283 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16287 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16288 # ac_has_wchar_h.
16289 for ac_header in wctype.h
16290 do :
16291 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16292 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16293 cat >>confdefs.h <<_ACEOF
16294 #define HAVE_WCTYPE_H 1
16295 _ACEOF
16296 ac_has_wctype_h=yes
16297 else
16298 ac_has_wctype_h=no
16301 done
16304 if test x"$enable_wchar_t" = x"yes"; then
16307 ac_ext=cpp
16308 ac_cpp='$CXXCPP $CPPFLAGS'
16309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16314 if test x"$ac_has_wchar_h" = xyes &&
16315 test x"$ac_has_wctype_h" = xyes; then
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 #include <wchar.h>
16319 #include <stddef.h>
16320 wint_t i;
16321 long l = WEOF;
16322 long j = WCHAR_MIN;
16323 long k = WCHAR_MAX;
16324 namespace test
16326 using ::btowc;
16327 using ::fgetwc;
16328 using ::fgetws;
16329 using ::fputwc;
16330 using ::fputws;
16331 using ::fwide;
16332 using ::fwprintf;
16333 using ::fwscanf;
16334 using ::getwc;
16335 using ::getwchar;
16336 using ::mbrlen;
16337 using ::mbrtowc;
16338 using ::mbsinit;
16339 using ::mbsrtowcs;
16340 using ::putwc;
16341 using ::putwchar;
16342 using ::swprintf;
16343 using ::swscanf;
16344 using ::ungetwc;
16345 using ::vfwprintf;
16346 using ::vswprintf;
16347 using ::vwprintf;
16348 using ::wcrtomb;
16349 using ::wcscat;
16350 using ::wcschr;
16351 using ::wcscmp;
16352 using ::wcscoll;
16353 using ::wcscpy;
16354 using ::wcscspn;
16355 using ::wcsftime;
16356 using ::wcslen;
16357 using ::wcsncat;
16358 using ::wcsncmp;
16359 using ::wcsncpy;
16360 using ::wcspbrk;
16361 using ::wcsrchr;
16362 using ::wcsrtombs;
16363 using ::wcsspn;
16364 using ::wcsstr;
16365 using ::wcstod;
16366 using ::wcstok;
16367 using ::wcstol;
16368 using ::wcstoul;
16369 using ::wcsxfrm;
16370 using ::wctob;
16371 using ::wmemchr;
16372 using ::wmemcmp;
16373 using ::wmemcpy;
16374 using ::wmemmove;
16375 using ::wmemset;
16376 using ::wprintf;
16377 using ::wscanf;
16381 main ()
16385 return 0;
16387 _ACEOF
16388 if ac_fn_cxx_try_compile "$LINENO"; then :
16390 else
16391 enable_wchar_t=no
16393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16394 else
16395 enable_wchar_t=no
16398 ac_ext=c
16399 ac_cpp='$CPP $CPPFLAGS'
16400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16406 if test x"$enable_wchar_t" = x"yes"; then
16408 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16413 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16415 $as_echo "$enable_wchar_t" >&6; }
16419 # Check whether --enable-c99 was given.
16420 if test "${enable_c99+set}" = set; then :
16421 enableval=$enable_c99;
16422 case "$enableval" in
16423 yes|no) ;;
16424 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16425 esac
16427 else
16428 enable_c99=yes
16433 if test x"$enable_c99" = x"yes"; then
16436 ac_ext=cpp
16437 ac_cpp='$CXXCPP $CPPFLAGS'
16438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16443 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16444 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16445 # spuriously enabled.
16446 # Long term, -std=c++0x could be even better, could manage to explicitely
16447 # request C99 facilities to the underlying C headers.
16448 ac_save_CXXFLAGS="$CXXFLAGS"
16449 CXXFLAGS="$CXXFLAGS -std=c++98"
16450 ac_save_LIBS="$LIBS"
16451 ac_save_gcc_no_link="$gcc_no_link"
16453 if test x$gcc_no_link != xyes; then
16454 # Use -fno-exceptions to that the C driver can link these tests without
16455 # hitting undefined references to personality routines.
16456 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16458 $as_echo_n "checking for sin in -lm... " >&6; }
16459 if test "${ac_cv_lib_m_sin+set}" = set; then :
16460 $as_echo_n "(cached) " >&6
16461 else
16462 ac_check_lib_save_LIBS=$LIBS
16463 LIBS="-lm $LIBS"
16464 if test x$gcc_no_link = xyes; then
16465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16468 /* end confdefs.h. */
16470 /* Override any GCC internal prototype to avoid an error.
16471 Use char because int might match the return type of a GCC
16472 builtin and then its argument prototype would still apply. */
16473 #ifdef __cplusplus
16474 extern "C"
16475 #endif
16476 char sin ();
16478 main ()
16480 return sin ();
16482 return 0;
16484 _ACEOF
16485 if ac_fn_cxx_try_link "$LINENO"; then :
16486 ac_cv_lib_m_sin=yes
16487 else
16488 ac_cv_lib_m_sin=no
16490 rm -f core conftest.err conftest.$ac_objext \
16491 conftest$ac_exeext conftest.$ac_ext
16492 LIBS=$ac_check_lib_save_LIBS
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16495 $as_echo "$ac_cv_lib_m_sin" >&6; }
16496 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16498 LIBS="$LIBS -lm"
16500 else
16502 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16503 gcc_no_link=yes
16509 # Check for the existence of <math.h> functions used if C99 is enabled.
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16511 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16512 if test "${glibcxx_cv_c99_math+set}" = set; then :
16513 $as_echo_n "(cached) " >&6
16514 else
16516 if test x$gcc_no_link = xyes; then
16517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16519 #include <math.h>
16520 volatile double d1, d2;
16521 volatile int i;
16523 main ()
16525 i = fpclassify(d1);
16526 i = isfinite(d1);
16527 i = isinf(d1);
16528 i = isnan(d1);
16529 i = isnormal(d1);
16530 i = signbit(d1);
16531 i = isgreater(d1, d2);
16532 i = isgreaterequal(d1, d2);
16533 i = isless(d1, d2);
16534 i = islessequal(d1, d2);
16535 i = islessgreater(d1, d2);
16536 i = islessgreater(d1, d2);
16537 i = isunordered(d1, d2);
16540 return 0;
16542 _ACEOF
16543 if ac_fn_cxx_try_compile "$LINENO"; then :
16544 glibcxx_cv_c99_math=yes
16545 else
16546 glibcxx_cv_c99_math=no
16548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16549 else
16550 if test x$gcc_no_link = xyes; then
16551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16554 /* end confdefs.h. */
16555 #include <math.h>
16556 volatile double d1, d2;
16557 volatile int i;
16559 main ()
16561 i = fpclassify(d1);
16562 i = isfinite(d1);
16563 i = isinf(d1);
16564 i = isnan(d1);
16565 i = isnormal(d1);
16566 i = signbit(d1);
16567 i = isgreater(d1, d2);
16568 i = isgreaterequal(d1, d2);
16569 i = isless(d1, d2);
16570 i = islessequal(d1, d2);
16571 i = islessgreater(d1, d2);
16572 i = islessgreater(d1, d2);
16573 i = isunordered(d1, d2);
16576 return 0;
16578 _ACEOF
16579 if ac_fn_cxx_try_link "$LINENO"; then :
16580 glibcxx_cv_c99_math=yes
16581 else
16582 glibcxx_cv_c99_math=no
16584 rm -f core conftest.err conftest.$ac_objext \
16585 conftest$ac_exeext conftest.$ac_ext
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16591 $as_echo "$glibcxx_cv_c99_math" >&6; }
16592 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16594 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16598 # Check for the existence of <complex.h> complex math functions.
16599 # This is necessary even though libstdc++ uses the builtin versions
16600 # of these functions, because if the builtin cannot be used, a reference
16601 # to the library function is emitted.
16602 for ac_header in tgmath.h
16603 do :
16604 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16605 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16606 cat >>confdefs.h <<_ACEOF
16607 #define HAVE_TGMATH_H 1
16608 _ACEOF
16609 ac_has_tgmath_h=yes
16610 else
16611 ac_has_tgmath_h=no
16614 done
16616 for ac_header in complex.h
16617 do :
16618 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16619 if test "x$ac_cv_header_complex_h" = x""yes; then :
16620 cat >>confdefs.h <<_ACEOF
16621 #define HAVE_COMPLEX_H 1
16622 _ACEOF
16623 ac_has_complex_h=yes
16624 else
16625 ac_has_complex_h=no
16628 done
16630 glibcxx_cv_c99_complex=no;
16631 if test x"$ac_has_complex_h" = x"yes"; then
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16633 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16634 if test x$gcc_no_link = xyes; then
16635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16636 /* end confdefs.h. */
16637 #include <complex.h>
16638 typedef __complex__ float float_type;
16639 typedef __complex__ double double_type;
16640 typedef __complex__ long double ld_type;
16641 volatile float_type tmpf;
16642 volatile double_type tmpd;
16643 volatile ld_type tmpld;
16644 volatile float f;
16645 volatile double d;
16646 volatile long double ld;
16648 main ()
16650 f = cabsf(tmpf);
16651 f = cargf(tmpf);
16652 tmpf = ccosf(tmpf);
16653 tmpf = ccoshf(tmpf);
16654 tmpf = cexpf(tmpf);
16655 tmpf = clogf(tmpf);
16656 tmpf = csinf(tmpf);
16657 tmpf = csinhf(tmpf);
16658 tmpf = csqrtf(tmpf);
16659 tmpf = ctanf(tmpf);
16660 tmpf = ctanhf(tmpf);
16661 tmpf = cpowf(tmpf, tmpf);
16662 tmpf = cprojf(tmpf);
16663 d = cabs(tmpd);
16664 d = carg(tmpd);
16665 tmpd = ccos(tmpd);
16666 tmpd = ccosh(tmpd);
16667 tmpd = cexp(tmpd);
16668 tmpd = clog(tmpd);
16669 tmpd = csin(tmpd);
16670 tmpd = csinh(tmpd);
16671 tmpd = csqrt(tmpd);
16672 tmpd = ctan(tmpd);
16673 tmpd = ctanh(tmpd);
16674 tmpd = cpow(tmpd, tmpd);
16675 tmpd = cproj(tmpd);
16676 ld = cabsl(tmpld);
16677 ld = cargl(tmpld);
16678 tmpld = ccosl(tmpld);
16679 tmpld = ccoshl(tmpld);
16680 tmpld = cexpl(tmpld);
16681 tmpld = clogl(tmpld);
16682 tmpld = csinl(tmpld);
16683 tmpld = csinhl(tmpld);
16684 tmpld = csqrtl(tmpld);
16685 tmpld = ctanl(tmpld);
16686 tmpld = ctanhl(tmpld);
16687 tmpld = cpowl(tmpld, tmpld);
16688 tmpld = cprojl(tmpld);
16691 return 0;
16693 _ACEOF
16694 if ac_fn_cxx_try_compile "$LINENO"; then :
16695 glibcxx_cv_c99_complex=yes
16696 else
16697 glibcxx_cv_c99_complex=no
16699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16700 else
16701 if test x$gcc_no_link = xyes; then
16702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16706 #include <complex.h>
16707 typedef __complex__ float float_type;
16708 typedef __complex__ double double_type;
16709 typedef __complex__ long double ld_type;
16710 volatile float_type tmpf;
16711 volatile double_type tmpd;
16712 volatile ld_type tmpld;
16713 volatile float f;
16714 volatile double d;
16715 volatile long double ld;
16717 main ()
16719 f = cabsf(tmpf);
16720 f = cargf(tmpf);
16721 tmpf = ccosf(tmpf);
16722 tmpf = ccoshf(tmpf);
16723 tmpf = cexpf(tmpf);
16724 tmpf = clogf(tmpf);
16725 tmpf = csinf(tmpf);
16726 tmpf = csinhf(tmpf);
16727 tmpf = csqrtf(tmpf);
16728 tmpf = ctanf(tmpf);
16729 tmpf = ctanhf(tmpf);
16730 tmpf = cpowf(tmpf, tmpf);
16731 tmpf = cprojf(tmpf);
16732 d = cabs(tmpd);
16733 d = carg(tmpd);
16734 tmpd = ccos(tmpd);
16735 tmpd = ccosh(tmpd);
16736 tmpd = cexp(tmpd);
16737 tmpd = clog(tmpd);
16738 tmpd = csin(tmpd);
16739 tmpd = csinh(tmpd);
16740 tmpd = csqrt(tmpd);
16741 tmpd = ctan(tmpd);
16742 tmpd = ctanh(tmpd);
16743 tmpd = cpow(tmpd, tmpd);
16744 tmpd = cproj(tmpd);
16745 ld = cabsl(tmpld);
16746 ld = cargl(tmpld);
16747 tmpld = ccosl(tmpld);
16748 tmpld = ccoshl(tmpld);
16749 tmpld = cexpl(tmpld);
16750 tmpld = clogl(tmpld);
16751 tmpld = csinl(tmpld);
16752 tmpld = csinhl(tmpld);
16753 tmpld = csqrtl(tmpld);
16754 tmpld = ctanl(tmpld);
16755 tmpld = ctanhl(tmpld);
16756 tmpld = cpowl(tmpld, tmpld);
16757 tmpld = cprojl(tmpld);
16760 return 0;
16762 _ACEOF
16763 if ac_fn_cxx_try_link "$LINENO"; then :
16764 glibcxx_cv_c99_complex=yes
16765 else
16766 glibcxx_cv_c99_complex=no
16768 rm -f core conftest.err conftest.$ac_objext \
16769 conftest$ac_exeext conftest.$ac_ext
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16773 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16774 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16776 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16780 # Check for the existence in <stdio.h> of vscanf, et. al.
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16782 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16783 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16784 $as_echo_n "(cached) " >&6
16785 else
16787 if test x$gcc_no_link = xyes; then
16788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h. */
16790 #include <stdio.h>
16791 #include <stdarg.h>
16792 void foo(char* fmt, ...)
16794 va_list args; va_start(args, fmt);
16795 vfscanf(stderr, "%i", args);
16796 vscanf("%i", args);
16797 vsnprintf(fmt, 0, "%i", args);
16798 vsscanf(fmt, "%i", args);
16801 main ()
16803 snprintf("12", 0, "%i");
16805 return 0;
16807 _ACEOF
16808 if ac_fn_cxx_try_compile "$LINENO"; then :
16809 glibcxx_cv_c99_stdio=yes
16810 else
16811 glibcxx_cv_c99_stdio=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 <stdio.h>
16821 #include <stdarg.h>
16822 void foo(char* fmt, ...)
16824 va_list args; va_start(args, fmt);
16825 vfscanf(stderr, "%i", args);
16826 vscanf("%i", args);
16827 vsnprintf(fmt, 0, "%i", args);
16828 vsscanf(fmt, "%i", args);
16831 main ()
16833 snprintf("12", 0, "%i");
16835 return 0;
16837 _ACEOF
16838 if ac_fn_cxx_try_link "$LINENO"; then :
16839 glibcxx_cv_c99_stdio=yes
16840 else
16841 glibcxx_cv_c99_stdio=no
16843 rm -f core conftest.err conftest.$ac_objext \
16844 conftest$ac_exeext conftest.$ac_ext
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16850 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16852 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16854 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16855 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16856 $as_echo_n "(cached) " >&6
16857 else
16859 if test x$gcc_no_link = xyes; then
16860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16861 /* end confdefs.h. */
16862 #include <stdlib.h>
16863 volatile float f;
16864 volatile long double ld;
16865 volatile unsigned long long ll;
16866 lldiv_t mydivt;
16868 main ()
16870 char* tmp;
16871 f = strtof("gnu", &tmp);
16872 ld = strtold("gnu", &tmp);
16873 ll = strtoll("gnu", &tmp, 10);
16874 ll = strtoull("gnu", &tmp, 10);
16875 ll = llabs(10);
16876 mydivt = lldiv(10,1);
16877 ll = mydivt.quot;
16878 ll = mydivt.rem;
16879 ll = atoll("10");
16880 _Exit(0);
16883 return 0;
16885 _ACEOF
16886 if ac_fn_cxx_try_compile "$LINENO"; then :
16887 glibcxx_cv_c99_stdlib=yes
16888 else
16889 glibcxx_cv_c99_stdlib=no
16891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16892 else
16893 if test x$gcc_no_link = xyes; then
16894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16898 #include <stdlib.h>
16899 volatile float f;
16900 volatile long double ld;
16901 volatile unsigned long long ll;
16902 lldiv_t mydivt;
16904 main ()
16906 char* tmp;
16907 f = strtof("gnu", &tmp);
16908 ld = strtold("gnu", &tmp);
16909 ll = strtoll("gnu", &tmp, 10);
16910 ll = strtoull("gnu", &tmp, 10);
16911 ll = llabs(10);
16912 mydivt = lldiv(10,1);
16913 ll = mydivt.quot;
16914 ll = mydivt.rem;
16915 ll = atoll("10");
16916 _Exit(0);
16919 return 0;
16921 _ACEOF
16922 if ac_fn_cxx_try_link "$LINENO"; then :
16923 glibcxx_cv_c99_stdlib=yes
16924 else
16925 glibcxx_cv_c99_stdlib=no
16927 rm -f core conftest.err conftest.$ac_objext \
16928 conftest$ac_exeext conftest.$ac_ext
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16934 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16936 # Check for the existence in <wchar.h> of wcstold, etc.
16937 glibcxx_cv_c99_wchar=no;
16938 if test x"$ac_has_wchar_h" = xyes &&
16939 test x"$ac_has_wctype_h" = xyes; then
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16941 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16944 #include <wchar.h>
16945 namespace test
16947 using ::wcstold;
16948 using ::wcstoll;
16949 using ::wcstoull;
16953 main ()
16957 return 0;
16959 _ACEOF
16960 if ac_fn_cxx_try_compile "$LINENO"; then :
16961 glibcxx_cv_c99_wchar=yes
16962 else
16963 glibcxx_cv_c99_wchar=no
16965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16967 # Checks for wide character functions that may not be present.
16968 # Injection of these is wrapped with guard macros.
16969 # NB: only put functions here, instead of immediately above, if
16970 # absolutely necessary.
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16973 #include <wchar.h>
16974 namespace test { using ::vfwscanf; }
16976 main ()
16980 return 0;
16982 _ACEOF
16983 if ac_fn_cxx_try_compile "$LINENO"; then :
16985 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16992 #include <wchar.h>
16993 namespace test { using ::vswscanf; }
16995 main ()
16999 return 0;
17001 _ACEOF
17002 if ac_fn_cxx_try_compile "$LINENO"; then :
17004 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17010 /* end confdefs.h. */
17011 #include <wchar.h>
17012 namespace test { using ::vwscanf; }
17014 main ()
17018 return 0;
17020 _ACEOF
17021 if ac_fn_cxx_try_compile "$LINENO"; then :
17023 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 #include <wchar.h>
17031 namespace test { using ::wcstof; }
17033 main ()
17037 return 0;
17039 _ACEOF
17040 if ac_fn_cxx_try_compile "$LINENO"; then :
17042 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17049 #include <wctype.h>
17051 main ()
17053 wint_t t; int i = iswblank(t);
17055 return 0;
17057 _ACEOF
17058 if ac_fn_cxx_try_compile "$LINENO"; then :
17060 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17066 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17069 # Option parsed, now set things appropriately.
17070 if test x"$glibcxx_cv_c99_math" = x"no" ||
17071 test x"$glibcxx_cv_c99_complex" = x"no" ||
17072 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17073 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17074 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17075 enable_c99=no;
17076 else
17078 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17082 gcc_no_link="$ac_save_gcc_no_link"
17083 LIBS="$ac_save_LIBS"
17084 CXXFLAGS="$ac_save_CXXFLAGS"
17085 ac_ext=c
17086 ac_cpp='$CPP $CPPFLAGS'
17087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17094 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17096 $as_echo "$enable_c99" >&6; }
17099 # Check whether --enable-concept-checks was given.
17100 if test "${enable_concept_checks+set}" = set; then :
17101 enableval=$enable_concept_checks;
17102 case "$enableval" in
17103 yes|no) ;;
17104 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17105 esac
17107 else
17108 enable_concept_checks=no
17112 if test $enable_concept_checks = yes; then
17114 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17119 # Check whether --enable-libstdcxx-debug-flags was given.
17120 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17121 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17122 xno | x) enable_libstdcxx_debug_flags= ;;
17123 x-*) ;;
17124 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17125 esac
17126 else
17127 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17132 # Option parsed, now set things appropriately
17133 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17137 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17141 $as_echo_n "checking for additional debug build... " >&6; }
17142 # Check whether --enable-libstdcxx-debug was given.
17143 if test "${enable_libstdcxx_debug+set}" = set; then :
17144 enableval=$enable_libstdcxx_debug;
17145 case "$enableval" in
17146 yes|no) ;;
17147 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17148 esac
17150 else
17151 enable_libstdcxx_debug=no
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17156 $as_echo "$enable_libstdcxx_debug" >&6; }
17161 enable_parallel=no;
17163 # See if configured libgomp/omp.h exists. (libgomp may be in
17164 # noconfigdirs but not explicitly disabled.)
17165 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17166 enable_parallel=yes;
17167 else
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17169 $as_echo "$as_me: target-libgomp not built" >&6;}
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17173 $as_echo_n "checking for parallel mode support... " >&6; }
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17175 $as_echo "$enable_parallel" >&6; }
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17179 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17180 # Check whether --enable-cxx-flags was given.
17181 if test "${enable_cxx_flags+set}" = set; then :
17182 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17183 xno | x) enable_cxx_flags= ;;
17184 x-*) ;;
17185 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17186 esac
17187 else
17188 enable_cxx_flags=
17193 # Run through flags (either default or command-line) and set anything
17194 # extra (e.g., #defines) that must accompany particular g++ options.
17195 if test -n "$enable_cxx_flags"; then
17196 for f in $enable_cxx_flags; do
17197 case "$f" in
17198 -fhonor-std) ;;
17199 -*) ;;
17200 *) # and we're trying to pass /what/ exactly?
17201 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17202 esac
17203 done
17206 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17208 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17212 # Check whether --enable-fully-dynamic-string was given.
17213 if test "${enable_fully_dynamic_string+set}" = set; then :
17214 enableval=$enable_fully_dynamic_string;
17215 case "$enableval" in
17216 yes|no) ;;
17217 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17218 esac
17220 else
17221 enable_fully_dynamic_string=no
17225 if test $enable_fully_dynamic_string = yes; then
17226 enable_fully_dynamic_string_def=1
17227 else
17228 enable_fully_dynamic_string_def=0
17231 cat >>confdefs.h <<_ACEOF
17232 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17233 _ACEOF
17238 # Check whether --enable-extern-template was given.
17239 if test "${enable_extern_template+set}" = set; then :
17240 enableval=$enable_extern_template;
17241 case "$enableval" in
17242 yes|no) ;;
17243 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17244 esac
17246 else
17247 enable_extern_template=yes
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17253 $as_echo_n "checking for extern template support... " >&6; }
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17255 $as_echo "$enable_extern_template" >&6; }
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17262 $as_echo_n "checking for custom python install directory... " >&6; }
17264 # Check whether --with-python-dir was given.
17265 if test "${with_python_dir+set}" = set; then :
17266 withval=$with_python_dir; with_python_dir=$withval
17267 else
17268 with_python_dir="no"
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17272 $as_echo "${with_python_dir}" >&6; }
17274 # Needed for installing Python modules during make install.
17275 python_mod_dir="${with_python_dir}"
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17281 $as_echo_n "checking for -Werror... " >&6; }
17282 # Check whether --enable-werror was given.
17283 if test "${enable_werror+set}" = set; then :
17284 enableval=$enable_werror;
17285 case "$enableval" in
17286 yes|no) ;;
17287 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17288 esac
17290 else
17291 enable_werror=yes
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17296 $as_echo "$enable_werror" >&6; }
17300 # Checks for operating systems support that doesn't require linking.
17304 ac_ext=cpp
17305 ac_cpp='$CXXCPP $CPPFLAGS'
17306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17312 $as_echo_n "checking for gets declaration... " >&6; }
17313 if test "${glibcxx_cv_gets+set}" = set; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319 #include <stdio.h>
17320 namespace test
17322 using ::gets;
17325 _ACEOF
17326 if ac_fn_cxx_try_compile "$LINENO"; then :
17327 glibcxx_cv_gets=yes
17328 else
17329 glibcxx_cv_gets=no
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336 if test $glibcxx_cv_gets = yes; then
17338 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17342 $as_echo "$glibcxx_cv_gets" >&6; }
17344 ac_ext=c
17345 ac_cpp='$CPP $CPPFLAGS'
17346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17354 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17355 if test "${glibcxx_cv_system_error1+set}" = set; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17361 #include <errno.h>
17363 main ()
17365 int i = EOWNERDEAD;
17367 return 0;
17369 _ACEOF
17370 if ac_fn_c_try_compile "$LINENO"; then :
17371 glibcxx_cv_system_error1=yes
17372 else
17373 glibcxx_cv_system_error1=no
17375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17380 $as_echo "$glibcxx_cv_system_error1" >&6; }
17381 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17383 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17387 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17388 if test "${glibcxx_cv_system_error2+set}" = set; then :
17389 $as_echo_n "(cached) " >&6
17390 else
17392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17394 #include <errno.h>
17396 main ()
17398 int i = ENOTRECOVERABLE;
17400 return 0;
17402 _ACEOF
17403 if ac_fn_c_try_compile "$LINENO"; then :
17404 glibcxx_cv_system_error2=yes
17405 else
17406 glibcxx_cv_system_error2=no
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17413 $as_echo "$glibcxx_cv_system_error2" >&6; }
17414 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17416 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17420 $as_echo_n "checking for ENOLINK... " >&6; }
17421 if test "${glibcxx_cv_system_error3+set}" = set; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426 /* end confdefs.h. */
17427 #include <errno.h>
17429 main ()
17431 int i = ENOLINK;
17433 return 0;
17435 _ACEOF
17436 if ac_fn_c_try_compile "$LINENO"; then :
17437 glibcxx_cv_system_error3=yes
17438 else
17439 glibcxx_cv_system_error3=no
17441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17446 $as_echo "$glibcxx_cv_system_error3" >&6; }
17447 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17449 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17453 $as_echo_n "checking for EPROTO... " >&6; }
17454 if test "${glibcxx_cv_system_error4+set}" = set; then :
17455 $as_echo_n "(cached) " >&6
17456 else
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17460 #include <errno.h>
17462 main ()
17464 int i = EPROTO;
17466 return 0;
17468 _ACEOF
17469 if ac_fn_c_try_compile "$LINENO"; then :
17470 glibcxx_cv_system_error4=yes
17471 else
17472 glibcxx_cv_system_error4=no
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17479 $as_echo "$glibcxx_cv_system_error4" >&6; }
17480 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17482 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17486 $as_echo_n "checking for ENODATA... " >&6; }
17487 if test "${glibcxx_cv_system_error5+set}" = set; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #include <errno.h>
17495 main ()
17497 int i = ENODATA;
17499 return 0;
17501 _ACEOF
17502 if ac_fn_c_try_compile "$LINENO"; then :
17503 glibcxx_cv_system_error5=yes
17504 else
17505 glibcxx_cv_system_error5=no
17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17512 $as_echo "$glibcxx_cv_system_error5" >&6; }
17513 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17515 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17519 $as_echo_n "checking for ENOSR... " >&6; }
17520 if test "${glibcxx_cv_system_error6+set}" = set; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17526 #include <errno.h>
17528 main ()
17530 int i = ENOSR;
17532 return 0;
17534 _ACEOF
17535 if ac_fn_c_try_compile "$LINENO"; then :
17536 glibcxx_cv_system_error6=yes
17537 else
17538 glibcxx_cv_system_error6=no
17540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17545 $as_echo "$glibcxx_cv_system_error6" >&6; }
17546 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17548 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17552 $as_echo_n "checking for ENOSTR... " >&6; }
17553 if test "${glibcxx_cv_system_error7+set}" = set; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17559 #include <errno.h>
17561 main ()
17563 int i = ENOSTR;
17565 return 0;
17567 _ACEOF
17568 if ac_fn_c_try_compile "$LINENO"; then :
17569 glibcxx_cv_system_error7=yes
17570 else
17571 glibcxx_cv_system_error7=no
17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17578 $as_echo "$glibcxx_cv_system_error7" >&6; }
17579 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17581 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17585 $as_echo_n "checking for ETIME... " >&6; }
17586 if test "${glibcxx_cv_system_error8+set}" = set; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 #include <errno.h>
17594 main ()
17596 int i = ETIME;
17598 return 0;
17600 _ACEOF
17601 if ac_fn_c_try_compile "$LINENO"; then :
17602 glibcxx_cv_system_error8=yes
17603 else
17604 glibcxx_cv_system_error8=no
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17611 $as_echo "$glibcxx_cv_system_error8" >&6; }
17612 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17614 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17618 $as_echo_n "checking for EBADMSG... " >&6; }
17619 if test "${glibcxx_cv_system_error9+set}" = set; then :
17620 $as_echo_n "(cached) " >&6
17621 else
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 #include <errno.h>
17627 main ()
17629 int i = EBADMSG;
17631 return 0;
17633 _ACEOF
17634 if ac_fn_c_try_compile "$LINENO"; then :
17635 glibcxx_cv_system_error9=yes
17636 else
17637 glibcxx_cv_system_error9=no
17639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17644 $as_echo "$glibcxx_cv_system_error9" >&6; }
17645 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17647 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17651 $as_echo_n "checking for ECANCELED... " >&6; }
17652 if test "${glibcxx_cv_system_error10+set}" = set; then :
17653 $as_echo_n "(cached) " >&6
17654 else
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <errno.h>
17660 main ()
17662 int i = ECANCELED;
17664 return 0;
17666 _ACEOF
17667 if ac_fn_c_try_compile "$LINENO"; then :
17668 glibcxx_cv_system_error10=yes
17669 else
17670 glibcxx_cv_system_error10=no
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17677 $as_echo "$glibcxx_cv_system_error10" >&6; }
17678 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17680 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17684 $as_echo_n "checking for EOVERFLOW... " >&6; }
17685 if test "${glibcxx_cv_system_error11+set}" = set; then :
17686 $as_echo_n "(cached) " >&6
17687 else
17689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17690 /* end confdefs.h. */
17691 #include <errno.h>
17693 main ()
17695 int i = EOVERFLOW;
17697 return 0;
17699 _ACEOF
17700 if ac_fn_c_try_compile "$LINENO"; then :
17701 glibcxx_cv_system_error11=yes
17702 else
17703 glibcxx_cv_system_error11=no
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17710 $as_echo "$glibcxx_cv_system_error11" >&6; }
17711 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17713 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17717 $as_echo_n "checking for ENOTSUP... " >&6; }
17718 if test "${glibcxx_cv_system_error12+set}" = set; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h. */
17724 #include <errno.h>
17726 main ()
17728 int i = ENOTSUP;
17730 return 0;
17732 _ACEOF
17733 if ac_fn_c_try_compile "$LINENO"; then :
17734 glibcxx_cv_system_error12=yes
17735 else
17736 glibcxx_cv_system_error12=no
17738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17743 $as_echo "$glibcxx_cv_system_error12" >&6; }
17744 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17746 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17750 $as_echo_n "checking for EIDRM... " >&6; }
17751 if test "${glibcxx_cv_system_error13+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 <errno.h>
17759 main ()
17761 int i = EIDRM;
17763 return 0;
17765 _ACEOF
17766 if ac_fn_c_try_compile "$LINENO"; then :
17767 glibcxx_cv_system_error13=yes
17768 else
17769 glibcxx_cv_system_error13=no
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17776 $as_echo "$glibcxx_cv_system_error13" >&6; }
17777 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17779 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17783 $as_echo_n "checking for ETXTBSY... " >&6; }
17784 if test "${glibcxx_cv_system_error14+set}" = set; then :
17785 $as_echo_n "(cached) " >&6
17786 else
17788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17789 /* end confdefs.h. */
17790 #include <errno.h>
17792 main ()
17794 int i = ETXTBSY;
17796 return 0;
17798 _ACEOF
17799 if ac_fn_c_try_compile "$LINENO"; then :
17800 glibcxx_cv_system_error14=yes
17801 else
17802 glibcxx_cv_system_error14=no
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17809 $as_echo "$glibcxx_cv_system_error14" >&6; }
17810 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17812 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17816 $as_echo_n "checking for ECHILD... " >&6; }
17817 if test "${glibcxx_cv_system_error15+set}" = set; then :
17818 $as_echo_n "(cached) " >&6
17819 else
17821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17822 /* end confdefs.h. */
17823 #include <errno.h>
17825 main ()
17827 int i = ECHILD;
17829 return 0;
17831 _ACEOF
17832 if ac_fn_c_try_compile "$LINENO"; then :
17833 glibcxx_cv_system_error15=yes
17834 else
17835 glibcxx_cv_system_error15=no
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17842 $as_echo "$glibcxx_cv_system_error15" >&6; }
17843 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17845 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17849 $as_echo_n "checking for ENOSPC... " >&6; }
17850 if test "${glibcxx_cv_system_error16+set}" = set; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 #include <errno.h>
17858 main ()
17860 int i = ENOSPC;
17862 return 0;
17864 _ACEOF
17865 if ac_fn_c_try_compile "$LINENO"; then :
17866 glibcxx_cv_system_error16=yes
17867 else
17868 glibcxx_cv_system_error16=no
17870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17875 $as_echo "$glibcxx_cv_system_error16" >&6; }
17876 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17878 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17882 $as_echo_n "checking for EPERM... " >&6; }
17883 if test "${glibcxx_cv_system_error17+set}" = set; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17889 #include <errno.h>
17891 main ()
17893 int i = EPERM;
17895 return 0;
17897 _ACEOF
17898 if ac_fn_c_try_compile "$LINENO"; then :
17899 glibcxx_cv_system_error17=yes
17900 else
17901 glibcxx_cv_system_error17=no
17903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17908 $as_echo "$glibcxx_cv_system_error17" >&6; }
17909 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17911 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17915 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17916 if test "${glibcxx_cv_system_error18+set}" = set; then :
17917 $as_echo_n "(cached) " >&6
17918 else
17920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921 /* end confdefs.h. */
17922 #include <errno.h>
17924 main ()
17926 int i = ETIMEDOUT;
17928 return 0;
17930 _ACEOF
17931 if ac_fn_c_try_compile "$LINENO"; then :
17932 glibcxx_cv_system_error18=yes
17933 else
17934 glibcxx_cv_system_error18=no
17936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17941 $as_echo "$glibcxx_cv_system_error18" >&6; }
17942 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17944 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17948 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17949 if test "${glibcxx_cv_system_error19+set}" = set; then :
17950 $as_echo_n "(cached) " >&6
17951 else
17953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17955 #include <errno.h>
17957 main ()
17959 int i = EWOULDBLOCK;
17961 return 0;
17963 _ACEOF
17964 if ac_fn_c_try_compile "$LINENO"; then :
17965 glibcxx_cv_system_error19=yes
17966 else
17967 glibcxx_cv_system_error19=no
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
17974 $as_echo "$glibcxx_cv_system_error19" >&6; }
17975 if test x"$glibcxx_cv_system_error19" = x"yes"; then
17977 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
17983 # For the streamoff typedef.
17987 ac_ext=cpp
17988 ac_cpp='$CXXCPP $CPPFLAGS'
17989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17995 $as_echo_n "checking for int64_t... " >&6; }
17996 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17997 $as_echo_n "(cached) " >&6
17998 else
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18002 #include <stdint.h>
18004 main ()
18006 int64_t var;
18008 return 0;
18010 _ACEOF
18011 if ac_fn_cxx_try_compile "$LINENO"; then :
18012 glibcxx_cv_INT64_T=yes
18013 else
18014 glibcxx_cv_INT64_T=no
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18021 if test $glibcxx_cv_INT64_T = yes; then
18023 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18026 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18029 $as_echo_n "checking for int64_t as long... " >&6; }
18030 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18031 $as_echo_n "(cached) " >&6
18032 else
18034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18035 /* end confdefs.h. */
18036 #include <stdint.h>
18037 template<typename, typename> struct same { enum { value = -1 }; };
18038 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18039 int array[same<int64_t, long>::value];
18041 main ()
18045 return 0;
18047 _ACEOF
18048 if ac_fn_cxx_try_compile "$LINENO"; then :
18049 glibcxx_cv_int64_t_long=yes
18050 else
18051 glibcxx_cv_int64_t_long=no
18053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18058 if test $glibcxx_cv_int64_t_long = yes; then
18060 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18063 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18067 $as_echo_n "checking for int64_t as long long... " >&6; }
18068 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18069 $as_echo_n "(cached) " >&6
18070 else
18072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18073 /* end confdefs.h. */
18074 #include <stdint.h>
18075 template<typename, typename> struct same { enum { value = -1 }; };
18076 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18077 int array[same<int64_t, long long>::value];
18079 main ()
18083 return 0;
18085 _ACEOF
18086 if ac_fn_cxx_try_compile "$LINENO"; then :
18087 glibcxx_cv_int64_t_long_long=yes
18088 else
18089 glibcxx_cv_int64_t_long_long=no
18091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18096 if test $glibcxx_cv_int64_t_long_long = yes; then
18098 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18101 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18105 ac_ext=c
18106 ac_cpp='$CPP $CPPFLAGS'
18107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18113 # For LFS support.
18116 ac_ext=cpp
18117 ac_cpp='$CXXCPP $CPPFLAGS'
18118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18122 ac_save_CXXFLAGS="$CXXFLAGS"
18123 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18125 $as_echo_n "checking for LFS support... " >&6; }
18126 if test "${glibcxx_cv_LFS+set}" = set; then :
18127 $as_echo_n "(cached) " >&6
18128 else
18130 if test x$gcc_no_link = xyes; then
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18133 #include <unistd.h>
18134 #include <stdio.h>
18135 #include <sys/stat.h>
18138 main ()
18140 FILE* fp;
18141 fopen64("t", "w");
18142 fseeko64(fp, 0, SEEK_CUR);
18143 ftello64(fp);
18144 lseek64(1, 0, SEEK_CUR);
18145 struct stat64 buf;
18146 fstat64(1, &buf);
18148 return 0;
18150 _ACEOF
18151 if ac_fn_cxx_try_compile "$LINENO"; then :
18152 glibcxx_cv_LFS=yes
18153 else
18154 glibcxx_cv_LFS=no
18156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18157 else
18158 if test x$gcc_no_link = xyes; then
18159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18162 /* end confdefs.h. */
18163 #include <unistd.h>
18164 #include <stdio.h>
18165 #include <sys/stat.h>
18168 main ()
18170 FILE* fp;
18171 fopen64("t", "w");
18172 fseeko64(fp, 0, SEEK_CUR);
18173 ftello64(fp);
18174 lseek64(1, 0, SEEK_CUR);
18175 struct stat64 buf;
18176 fstat64(1, &buf);
18178 return 0;
18180 _ACEOF
18181 if ac_fn_cxx_try_link "$LINENO"; then :
18182 glibcxx_cv_LFS=yes
18183 else
18184 glibcxx_cv_LFS=no
18186 rm -f core conftest.err conftest.$ac_objext \
18187 conftest$ac_exeext conftest.$ac_ext
18192 if test $glibcxx_cv_LFS = yes; then
18194 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18198 $as_echo "$glibcxx_cv_LFS" >&6; }
18199 CXXFLAGS="$ac_save_CXXFLAGS"
18200 ac_ext=c
18201 ac_cpp='$CPP $CPPFLAGS'
18202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18208 # For showmanyc_helper().
18209 for ac_header in sys/ioctl.h sys/filio.h
18210 do :
18211 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18212 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18213 eval as_val=\$$as_ac_Header
18214 if test "x$as_val" = x""yes; then :
18215 cat >>confdefs.h <<_ACEOF
18216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18217 _ACEOF
18221 done
18226 ac_ext=cpp
18227 ac_cpp='$CXXCPP $CPPFLAGS'
18228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18232 ac_save_CXXFLAGS="$CXXFLAGS"
18233 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18236 $as_echo_n "checking for poll... " >&6; }
18237 if test "${glibcxx_cv_POLL+set}" = set; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18241 if test x$gcc_no_link = xyes; then
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18244 #include <poll.h>
18246 main ()
18248 struct pollfd pfd[1];
18249 pfd[0].events = POLLIN;
18250 poll(pfd, 1, 0);
18252 return 0;
18254 _ACEOF
18255 if ac_fn_cxx_try_compile "$LINENO"; then :
18256 glibcxx_cv_POLL=yes
18257 else
18258 glibcxx_cv_POLL=no
18260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18261 else
18262 if test x$gcc_no_link = xyes; then
18263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18266 /* end confdefs.h. */
18267 #include <poll.h>
18269 main ()
18271 struct pollfd pfd[1];
18272 pfd[0].events = POLLIN;
18273 poll(pfd, 1, 0);
18275 return 0;
18277 _ACEOF
18278 if ac_fn_cxx_try_link "$LINENO"; then :
18279 glibcxx_cv_POLL=yes
18280 else
18281 glibcxx_cv_POLL=no
18283 rm -f core conftest.err conftest.$ac_objext \
18284 conftest$ac_exeext conftest.$ac_ext
18289 if test $glibcxx_cv_POLL = yes; then
18291 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18295 $as_echo "$glibcxx_cv_POLL" >&6; }
18297 CXXFLAGS="$ac_save_CXXFLAGS"
18298 ac_ext=c
18299 ac_cpp='$CPP $CPPFLAGS'
18300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18308 ac_ext=cpp
18309 ac_cpp='$CXXCPP $CPPFLAGS'
18310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18314 ac_save_CXXFLAGS="$CXXFLAGS"
18315 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18318 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18319 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18323 if test x$gcc_no_link = xyes; then
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #include <sys/stat.h>
18328 main ()
18330 struct stat buffer;
18331 fstat(0, &buffer);
18332 S_ISREG(buffer.st_mode);
18334 return 0;
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_S_ISREG=yes
18339 else
18340 glibcxx_cv_S_ISREG=no
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 else
18344 if test x$gcc_no_link = xyes; then
18345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <sys/stat.h>
18351 main ()
18353 struct stat buffer;
18354 fstat(0, &buffer);
18355 S_ISREG(buffer.st_mode);
18357 return 0;
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361 glibcxx_cv_S_ISREG=yes
18362 else
18363 glibcxx_cv_S_ISREG=no
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18371 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18372 $as_echo_n "(cached) " >&6
18373 else
18375 if test x$gcc_no_link = xyes; then
18376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18378 #include <sys/stat.h>
18380 main ()
18382 struct stat buffer;
18383 fstat(0, &buffer);
18384 S_IFREG & buffer.st_mode;
18386 return 0;
18388 _ACEOF
18389 if ac_fn_cxx_try_compile "$LINENO"; then :
18390 glibcxx_cv_S_IFREG=yes
18391 else
18392 glibcxx_cv_S_IFREG=no
18394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18395 else
18396 if test x$gcc_no_link = xyes; then
18397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18401 #include <sys/stat.h>
18403 main ()
18405 struct stat buffer;
18406 fstat(0, &buffer);
18407 S_IFREG & buffer.st_mode;
18409 return 0;
18411 _ACEOF
18412 if ac_fn_cxx_try_link "$LINENO"; then :
18413 glibcxx_cv_S_IFREG=yes
18414 else
18415 glibcxx_cv_S_IFREG=no
18417 rm -f core conftest.err conftest.$ac_objext \
18418 conftest$ac_exeext conftest.$ac_ext
18423 res=no
18424 if test $glibcxx_cv_S_ISREG = yes; then
18426 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18428 res=S_ISREG
18429 elif test $glibcxx_cv_S_IFREG = yes; then
18431 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18433 res=S_IFREG
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18436 $as_echo "$res" >&6; }
18438 CXXFLAGS="$ac_save_CXXFLAGS"
18439 ac_ext=c
18440 ac_cpp='$CPP $CPPFLAGS'
18441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18447 # For xsputn_2().
18448 for ac_header in sys/uio.h
18449 do :
18450 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18451 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18452 cat >>confdefs.h <<_ACEOF
18453 #define HAVE_SYS_UIO_H 1
18454 _ACEOF
18458 done
18463 ac_ext=cpp
18464 ac_cpp='$CXXCPP $CPPFLAGS'
18465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18469 ac_save_CXXFLAGS="$CXXFLAGS"
18470 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18473 $as_echo_n "checking for writev... " >&6; }
18474 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18475 $as_echo_n "(cached) " >&6
18476 else
18478 if test x$gcc_no_link = xyes; then
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 #include <sys/uio.h>
18483 main ()
18485 struct iovec iov[2];
18486 writev(0, iov, 0);
18488 return 0;
18490 _ACEOF
18491 if ac_fn_cxx_try_compile "$LINENO"; then :
18492 glibcxx_cv_WRITEV=yes
18493 else
18494 glibcxx_cv_WRITEV=no
18496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497 else
18498 if test x$gcc_no_link = xyes; then
18499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18503 #include <sys/uio.h>
18505 main ()
18507 struct iovec iov[2];
18508 writev(0, iov, 0);
18510 return 0;
18512 _ACEOF
18513 if ac_fn_cxx_try_link "$LINENO"; then :
18514 glibcxx_cv_WRITEV=yes
18515 else
18516 glibcxx_cv_WRITEV=no
18518 rm -f core conftest.err conftest.$ac_objext \
18519 conftest$ac_exeext conftest.$ac_ext
18524 if test $glibcxx_cv_WRITEV = yes; then
18526 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18530 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18532 CXXFLAGS="$ac_save_CXXFLAGS"
18533 ac_ext=c
18534 ac_cpp='$CPP $CPPFLAGS'
18535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18541 # For C99 support to TR1.
18545 ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18552 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18553 # undefined and fake C99 facilities may be spuriously enabled.
18554 ac_save_CXXFLAGS="$CXXFLAGS"
18555 CXXFLAGS="$CXXFLAGS -std=c++98"
18557 # Check for the existence of <complex.h> complex math functions used
18558 # by tr1/complex.
18559 for ac_header in complex.h
18560 do :
18561 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18562 if test "x$ac_cv_header_complex_h" = x""yes; then :
18563 cat >>confdefs.h <<_ACEOF
18564 #define HAVE_COMPLEX_H 1
18565 _ACEOF
18566 ac_has_complex_h=yes
18567 else
18568 ac_has_complex_h=no
18571 done
18573 ac_c99_complex_tr1=no;
18574 if test x"$ac_has_complex_h" = x"yes"; then
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18576 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 #include <complex.h>
18581 main ()
18583 typedef __complex__ float float_type; float_type tmpf;
18584 cacosf(tmpf);
18585 casinf(tmpf);
18586 catanf(tmpf);
18587 cacoshf(tmpf);
18588 casinhf(tmpf);
18589 catanhf(tmpf);
18590 typedef __complex__ double double_type; double_type tmpd;
18591 cacos(tmpd);
18592 casin(tmpd);
18593 catan(tmpd);
18594 cacosh(tmpd);
18595 casinh(tmpd);
18596 catanh(tmpd);
18597 typedef __complex__ long double ld_type; ld_type tmpld;
18598 cacosl(tmpld);
18599 casinl(tmpld);
18600 catanl(tmpld);
18601 cacoshl(tmpld);
18602 casinhl(tmpld);
18603 catanhl(tmpld);
18606 return 0;
18608 _ACEOF
18609 if ac_fn_cxx_try_compile "$LINENO"; then :
18610 ac_c99_complex_tr1=yes
18611 else
18612 ac_c99_complex_tr1=no
18614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18617 $as_echo "$ac_c99_complex_tr1" >&6; }
18618 if test x"$ac_c99_complex_tr1" = x"yes"; then
18620 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18624 # Check for the existence of <ctype.h> functions.
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18626 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18627 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18628 $as_echo_n "(cached) " >&6
18629 else
18631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h. */
18633 #include <ctype.h>
18635 main ()
18637 int ch;
18638 int ret;
18639 ret = isblank(ch);
18642 return 0;
18644 _ACEOF
18645 if ac_fn_cxx_try_compile "$LINENO"; then :
18646 glibcxx_cv_c99_ctype_tr1=yes
18647 else
18648 glibcxx_cv_c99_ctype_tr1=no
18650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18655 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18656 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18658 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18662 # Check for the existence of <fenv.h> functions.
18663 for ac_header in fenv.h
18664 do :
18665 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18666 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18667 cat >>confdefs.h <<_ACEOF
18668 #define HAVE_FENV_H 1
18669 _ACEOF
18670 ac_has_fenv_h=yes
18671 else
18672 ac_has_fenv_h=no
18675 done
18677 ac_c99_fenv_tr1=no;
18678 if test x"$ac_has_fenv_h" = x"yes"; then
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18680 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 #include <fenv.h>
18685 main ()
18687 int except, mode;
18688 fexcept_t* pflag;
18689 fenv_t* penv;
18690 int ret;
18691 ret = feclearexcept(except);
18692 ret = fegetexceptflag(pflag, except);
18693 ret = feraiseexcept(except);
18694 ret = fesetexceptflag(pflag, except);
18695 ret = fetestexcept(except);
18696 ret = fegetround();
18697 ret = fesetround(mode);
18698 ret = fegetenv(penv);
18699 ret = feholdexcept(penv);
18700 ret = fesetenv(penv);
18701 ret = feupdateenv(penv);
18704 return 0;
18706 _ACEOF
18707 if ac_fn_cxx_try_compile "$LINENO"; then :
18708 ac_c99_fenv_tr1=yes
18709 else
18710 ac_c99_fenv_tr1=no
18712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18715 $as_echo "$ac_c99_fenv_tr1" >&6; }
18716 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18718 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18722 # Check for the existence of <stdint.h> types.
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18724 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18725 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18726 $as_echo_n "(cached) " >&6
18727 else
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #define __STDC_LIMIT_MACROS
18732 #define __STDC_CONSTANT_MACROS
18733 #include <stdint.h>
18735 main ()
18737 typedef int8_t my_int8_t;
18738 my_int8_t i8 = INT8_MIN;
18739 i8 = INT8_MAX;
18740 typedef int16_t my_int16_t;
18741 my_int16_t i16 = INT16_MIN;
18742 i16 = INT16_MAX;
18743 typedef int32_t my_int32_t;
18744 my_int32_t i32 = INT32_MIN;
18745 i32 = INT32_MAX;
18746 typedef int64_t my_int64_t;
18747 my_int64_t i64 = INT64_MIN;
18748 i64 = INT64_MAX;
18749 typedef int_fast8_t my_int_fast8_t;
18750 my_int_fast8_t if8 = INT_FAST8_MIN;
18751 if8 = INT_FAST8_MAX;
18752 typedef int_fast16_t my_int_fast16_t;
18753 my_int_fast16_t if16 = INT_FAST16_MIN;
18754 if16 = INT_FAST16_MAX;
18755 typedef int_fast32_t my_int_fast32_t;
18756 my_int_fast32_t if32 = INT_FAST32_MIN;
18757 if32 = INT_FAST32_MAX;
18758 typedef int_fast64_t my_int_fast64_t;
18759 my_int_fast64_t if64 = INT_FAST64_MIN;
18760 if64 = INT_FAST64_MAX;
18761 typedef int_least8_t my_int_least8_t;
18762 my_int_least8_t il8 = INT_LEAST8_MIN;
18763 il8 = INT_LEAST8_MAX;
18764 typedef int_least16_t my_int_least16_t;
18765 my_int_least16_t il16 = INT_LEAST16_MIN;
18766 il16 = INT_LEAST16_MAX;
18767 typedef int_least32_t my_int_least32_t;
18768 my_int_least32_t il32 = INT_LEAST32_MIN;
18769 il32 = INT_LEAST32_MAX;
18770 typedef int_least64_t my_int_least64_t;
18771 my_int_least64_t il64 = INT_LEAST64_MIN;
18772 il64 = INT_LEAST64_MAX;
18773 typedef intmax_t my_intmax_t;
18774 my_intmax_t im = INTMAX_MAX;
18775 im = INTMAX_MIN;
18776 typedef intptr_t my_intptr_t;
18777 my_intptr_t ip = INTPTR_MAX;
18778 ip = INTPTR_MIN;
18779 typedef uint8_t my_uint8_t;
18780 my_uint8_t ui8 = UINT8_MAX;
18781 ui8 = UINT8_MAX;
18782 typedef uint16_t my_uint16_t;
18783 my_uint16_t ui16 = UINT16_MAX;
18784 ui16 = UINT16_MAX;
18785 typedef uint32_t my_uint32_t;
18786 my_uint32_t ui32 = UINT32_MAX;
18787 ui32 = UINT32_MAX;
18788 typedef uint64_t my_uint64_t;
18789 my_uint64_t ui64 = UINT64_MAX;
18790 ui64 = UINT64_MAX;
18791 typedef uint_fast8_t my_uint_fast8_t;
18792 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18793 uif8 = UINT_FAST8_MAX;
18794 typedef uint_fast16_t my_uint_fast16_t;
18795 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18796 uif16 = UINT_FAST16_MAX;
18797 typedef uint_fast32_t my_uint_fast32_t;
18798 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18799 uif32 = UINT_FAST32_MAX;
18800 typedef uint_fast64_t my_uint_fast64_t;
18801 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18802 uif64 = UINT_FAST64_MAX;
18803 typedef uint_least8_t my_uint_least8_t;
18804 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18805 uil8 = UINT_LEAST8_MAX;
18806 typedef uint_least16_t my_uint_least16_t;
18807 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18808 uil16 = UINT_LEAST16_MAX;
18809 typedef uint_least32_t my_uint_least32_t;
18810 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18811 uil32 = UINT_LEAST32_MAX;
18812 typedef uint_least64_t my_uint_least64_t;
18813 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18814 uil64 = UINT_LEAST64_MAX;
18815 typedef uintmax_t my_uintmax_t;
18816 my_uintmax_t uim = UINTMAX_MAX;
18817 uim = UINTMAX_MAX;
18818 typedef uintptr_t my_uintptr_t;
18819 my_uintptr_t uip = UINTPTR_MAX;
18820 uip = UINTPTR_MAX;
18823 return 0;
18825 _ACEOF
18826 if ac_fn_cxx_try_compile "$LINENO"; then :
18827 glibcxx_cv_c99_stdint_tr1=yes
18828 else
18829 glibcxx_cv_c99_stdint_tr1=no
18831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18836 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18837 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18839 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18843 # Check for the existence of <math.h> functions.
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18845 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18846 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18847 $as_echo_n "(cached) " >&6
18848 else
18850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18851 /* end confdefs.h. */
18852 #include <math.h>
18854 main ()
18856 typedef double_t my_double_t;
18857 typedef float_t my_float_t;
18858 acosh(0.0);
18859 acoshf(0.0f);
18860 acoshl(0.0l);
18861 asinh(0.0);
18862 asinhf(0.0f);
18863 asinhl(0.0l);
18864 atanh(0.0);
18865 atanhf(0.0f);
18866 atanhl(0.0l);
18867 cbrt(0.0);
18868 cbrtf(0.0f);
18869 cbrtl(0.0l);
18870 copysign(0.0, 0.0);
18871 copysignf(0.0f, 0.0f);
18872 copysignl(0.0l, 0.0l);
18873 erf(0.0);
18874 erff(0.0f);
18875 erfl(0.0l);
18876 erfc(0.0);
18877 erfcf(0.0f);
18878 erfcl(0.0l);
18879 exp2(0.0);
18880 exp2f(0.0f);
18881 exp2l(0.0l);
18882 expm1(0.0);
18883 expm1f(0.0f);
18884 expm1l(0.0l);
18885 fdim(0.0, 0.0);
18886 fdimf(0.0f, 0.0f);
18887 fdiml(0.0l, 0.0l);
18888 fma(0.0, 0.0, 0.0);
18889 fmaf(0.0f, 0.0f, 0.0f);
18890 fmal(0.0l, 0.0l, 0.0l);
18891 fmax(0.0, 0.0);
18892 fmaxf(0.0f, 0.0f);
18893 fmaxl(0.0l, 0.0l);
18894 fmin(0.0, 0.0);
18895 fminf(0.0f, 0.0f);
18896 fminl(0.0l, 0.0l);
18897 hypot(0.0, 0.0);
18898 hypotf(0.0f, 0.0f);
18899 hypotl(0.0l, 0.0l);
18900 ilogb(0.0);
18901 ilogbf(0.0f);
18902 ilogbl(0.0l);
18903 lgamma(0.0);
18904 lgammaf(0.0f);
18905 lgammal(0.0l);
18906 llrint(0.0);
18907 llrintf(0.0f);
18908 llrintl(0.0l);
18909 llround(0.0);
18910 llroundf(0.0f);
18911 llroundl(0.0l);
18912 log1p(0.0);
18913 log1pf(0.0f);
18914 log1pl(0.0l);
18915 log2(0.0);
18916 log2f(0.0f);
18917 log2l(0.0l);
18918 logb(0.0);
18919 logbf(0.0f);
18920 logbl(0.0l);
18921 lrint(0.0);
18922 lrintf(0.0f);
18923 lrintl(0.0l);
18924 lround(0.0);
18925 lroundf(0.0f);
18926 lroundl(0.0l);
18927 nan(0);
18928 nanf(0);
18929 nanl(0);
18930 nearbyint(0.0);
18931 nearbyintf(0.0f);
18932 nearbyintl(0.0l);
18933 nextafter(0.0, 0.0);
18934 nextafterf(0.0f, 0.0f);
18935 nextafterl(0.0l, 0.0l);
18936 nexttoward(0.0, 0.0);
18937 nexttowardf(0.0f, 0.0f);
18938 nexttowardl(0.0l, 0.0l);
18939 remainder(0.0, 0.0);
18940 remainderf(0.0f, 0.0f);
18941 remainderl(0.0l, 0.0l);
18942 remquo(0.0, 0.0, 0);
18943 remquof(0.0f, 0.0f, 0);
18944 remquol(0.0l, 0.0l, 0);
18945 rint(0.0);
18946 rintf(0.0f);
18947 rintl(0.0l);
18948 round(0.0);
18949 roundf(0.0f);
18950 roundl(0.0l);
18951 scalbln(0.0, 0l);
18952 scalblnf(0.0f, 0l);
18953 scalblnl(0.0l, 0l);
18954 scalbn(0.0, 0);
18955 scalbnf(0.0f, 0);
18956 scalbnl(0.0l, 0);
18957 tgamma(0.0);
18958 tgammaf(0.0f);
18959 tgammal(0.0l);
18960 trunc(0.0);
18961 truncf(0.0f);
18962 truncl(0.0l);
18965 return 0;
18967 _ACEOF
18968 if ac_fn_cxx_try_compile "$LINENO"; then :
18969 glibcxx_cv_c99_math_tr1=yes
18970 else
18971 glibcxx_cv_c99_math_tr1=no
18973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18978 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18979 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18981 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18985 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18986 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18987 ac_c99_inttypes_tr1=no;
18988 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18990 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18992 /* end confdefs.h. */
18993 #include <inttypes.h>
18995 main ()
18997 intmax_t i, numer, denom, base;
18998 const char* s;
18999 char** endptr;
19000 intmax_t ret = imaxabs(i);
19001 imaxdiv_t dret = imaxdiv(numer, denom);
19002 ret = strtoimax(s, endptr, base);
19003 uintmax_t uret = strtoumax(s, endptr, base);
19006 return 0;
19008 _ACEOF
19009 if ac_fn_cxx_try_compile "$LINENO"; then :
19010 ac_c99_inttypes_tr1=yes
19011 else
19012 ac_c99_inttypes_tr1=no
19014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19017 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19018 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19020 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19024 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19025 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19026 ac_c99_inttypes_wchar_t_tr1=no;
19027 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19029 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032 #include <inttypes.h>
19034 main ()
19036 intmax_t base;
19037 const wchar_t* s;
19038 wchar_t** endptr;
19039 intmax_t ret = wcstoimax(s, endptr, base);
19040 uintmax_t uret = wcstoumax(s, endptr, base);
19043 return 0;
19045 _ACEOF
19046 if ac_fn_cxx_try_compile "$LINENO"; then :
19047 ac_c99_inttypes_wchar_t_tr1=yes
19048 else
19049 ac_c99_inttypes_wchar_t_tr1=no
19051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19054 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19055 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19057 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19061 # Check for the existence of the <stdbool.h> header.
19062 for ac_header in stdbool.h
19063 do :
19064 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19065 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_STDBOOL_H 1
19068 _ACEOF
19072 done
19075 # Check for the existence of the <stdalign.h> header.
19076 for ac_header in stdalign.h
19077 do :
19078 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19079 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STDALIGN_H 1
19082 _ACEOF
19086 done
19089 CXXFLAGS="$ac_save_CXXFLAGS"
19090 ac_ext=c
19091 ac_cpp='$CPP $CPPFLAGS'
19092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19098 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19102 $as_echo_n "checking for the value of EOF... " >&6; }
19103 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19104 $as_echo_n "(cached) " >&6
19105 else
19107 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19109 else
19110 as_fn_error "computing EOF failed" "$LINENO" 5
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19116 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19118 cat >>confdefs.h <<_ACEOF
19119 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19120 _ACEOF
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19124 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19125 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19126 $as_echo_n "(cached) " >&6
19127 else
19129 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19131 else
19132 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19138 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19140 cat >>confdefs.h <<_ACEOF
19141 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19142 _ACEOF
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19146 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19147 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19148 $as_echo_n "(cached) " >&6
19149 else
19151 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19153 else
19154 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19160 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19162 cat >>confdefs.h <<_ACEOF
19163 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19164 _ACEOF
19168 # For gettimeofday support.
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19172 $as_echo_n "checking for gettimeofday... " >&6; }
19175 ac_ext=cpp
19176 ac_cpp='$CXXCPP $CPPFLAGS'
19177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19181 ac_save_CXXFLAGS="$CXXFLAGS"
19182 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19184 ac_has_gettimeofday=no;
19185 for ac_header in sys/time.h
19186 do :
19187 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19188 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19189 cat >>confdefs.h <<_ACEOF
19190 #define HAVE_SYS_TIME_H 1
19191 _ACEOF
19192 ac_has_sys_time_h=yes
19193 else
19194 ac_has_sys_time_h=no
19197 done
19199 if test x"$ac_has_sys_time_h" = x"yes"; then
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19201 $as_echo_n "checking for gettimeofday... " >&6; }
19202 if test x$gcc_no_link = xyes; then
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 #include <sys/time.h>
19207 main ()
19209 timeval tv; gettimeofday(&tv, 0);
19211 return 0;
19213 _ACEOF
19214 if ac_fn_cxx_try_compile "$LINENO"; then :
19215 ac_has_gettimeofday=yes
19216 else
19217 ac_has_gettimeofday=no
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 else
19221 if test x$gcc_no_link = xyes; then
19222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19226 #include <sys/time.h>
19228 main ()
19230 timeval tv; gettimeofday(&tv, 0);
19232 return 0;
19234 _ACEOF
19235 if ac_fn_cxx_try_link "$LINENO"; then :
19236 ac_has_gettimeofday=yes
19237 else
19238 ac_has_gettimeofday=no
19240 rm -f core conftest.err conftest.$ac_objext \
19241 conftest$ac_exeext conftest.$ac_ext
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19245 $as_echo "$ac_has_gettimeofday" >&6; }
19248 if test x"$ac_has_gettimeofday" = x"yes"; then
19250 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19254 CXXFLAGS="$ac_save_CXXFLAGS"
19255 ac_ext=c
19256 ac_cpp='$CPP $CPPFLAGS'
19257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19263 # For clock_gettime, nanosleep and sched_yield support.
19264 # NB: The default is [no], because otherwise it requires linking.
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19268 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19269 # Check whether --enable-libstdcxx-time was given.
19270 if test "${enable_libstdcxx_time+set}" = set; then :
19271 enableval=$enable_libstdcxx_time;
19272 case "$enableval" in
19273 yes|no|rt) ;;
19274 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19275 esac
19277 else
19278 enable_libstdcxx_time=no
19284 ac_ext=cpp
19285 ac_cpp='$CXXCPP $CPPFLAGS'
19286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19290 ac_save_CXXFLAGS="$CXXFLAGS"
19291 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19292 ac_save_LIBS="$LIBS"
19294 ac_has_clock_monotonic=no
19295 ac_has_clock_realtime=no
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19297 $as_echo "$enable_libstdcxx_time" >&6; }
19299 if test x"$enable_libstdcxx_time" != x"no"; then
19301 if test x"$enable_libstdcxx_time" = x"rt"; then
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19303 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19304 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19305 $as_echo_n "(cached) " >&6
19306 else
19307 ac_func_search_save_LIBS=$LIBS
19308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19309 /* end confdefs.h. */
19311 /* Override any GCC internal prototype to avoid an error.
19312 Use char because int might match the return type of a GCC
19313 builtin and then its argument prototype would still apply. */
19314 #ifdef __cplusplus
19315 extern "C"
19316 #endif
19317 char clock_gettime ();
19319 main ()
19321 return clock_gettime ();
19323 return 0;
19325 _ACEOF
19326 for ac_lib in '' rt posix4; do
19327 if test -z "$ac_lib"; then
19328 ac_res="none required"
19329 else
19330 ac_res=-l$ac_lib
19331 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19333 if test x$gcc_no_link = xyes; then
19334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19336 if ac_fn_cxx_try_link "$LINENO"; then :
19337 ac_cv_search_clock_gettime=$ac_res
19339 rm -f core conftest.err conftest.$ac_objext \
19340 conftest$ac_exeext
19341 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19342 break
19344 done
19345 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19347 else
19348 ac_cv_search_clock_gettime=no
19350 rm conftest.$ac_ext
19351 LIBS=$ac_func_search_save_LIBS
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19354 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19355 ac_res=$ac_cv_search_clock_gettime
19356 if test "$ac_res" != no; then :
19357 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19362 $as_echo_n "checking for library containing nanosleep... " >&6; }
19363 if test "${ac_cv_search_nanosleep+set}" = set; then :
19364 $as_echo_n "(cached) " >&6
19365 else
19366 ac_func_search_save_LIBS=$LIBS
19367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19370 /* Override any GCC internal prototype to avoid an error.
19371 Use char because int might match the return type of a GCC
19372 builtin and then its argument prototype would still apply. */
19373 #ifdef __cplusplus
19374 extern "C"
19375 #endif
19376 char nanosleep ();
19378 main ()
19380 return nanosleep ();
19382 return 0;
19384 _ACEOF
19385 for ac_lib in '' rt posix4; do
19386 if test -z "$ac_lib"; then
19387 ac_res="none required"
19388 else
19389 ac_res=-l$ac_lib
19390 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19392 if test x$gcc_no_link = xyes; then
19393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19395 if ac_fn_cxx_try_link "$LINENO"; then :
19396 ac_cv_search_nanosleep=$ac_res
19398 rm -f core conftest.err conftest.$ac_objext \
19399 conftest$ac_exeext
19400 if test "${ac_cv_search_nanosleep+set}" = set; then :
19401 break
19403 done
19404 if test "${ac_cv_search_nanosleep+set}" = set; then :
19406 else
19407 ac_cv_search_nanosleep=no
19409 rm conftest.$ac_ext
19410 LIBS=$ac_func_search_save_LIBS
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19413 $as_echo "$ac_cv_search_nanosleep" >&6; }
19414 ac_res=$ac_cv_search_nanosleep
19415 if test "$ac_res" != no; then :
19416 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19420 else
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19422 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19423 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19424 $as_echo_n "(cached) " >&6
19425 else
19426 ac_func_search_save_LIBS=$LIBS
19427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19430 /* Override any GCC internal prototype to avoid an error.
19431 Use char because int might match the return type of a GCC
19432 builtin and then its argument prototype would still apply. */
19433 #ifdef __cplusplus
19434 extern "C"
19435 #endif
19436 char clock_gettime ();
19438 main ()
19440 return clock_gettime ();
19442 return 0;
19444 _ACEOF
19445 for ac_lib in '' posix4; do
19446 if test -z "$ac_lib"; then
19447 ac_res="none required"
19448 else
19449 ac_res=-l$ac_lib
19450 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19452 if test x$gcc_no_link = xyes; then
19453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19455 if ac_fn_cxx_try_link "$LINENO"; then :
19456 ac_cv_search_clock_gettime=$ac_res
19458 rm -f core conftest.err conftest.$ac_objext \
19459 conftest$ac_exeext
19460 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19461 break
19463 done
19464 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19466 else
19467 ac_cv_search_clock_gettime=no
19469 rm conftest.$ac_ext
19470 LIBS=$ac_func_search_save_LIBS
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19473 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19474 ac_res=$ac_cv_search_clock_gettime
19475 if test "$ac_res" != no; then :
19476 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19481 $as_echo_n "checking for library containing nanosleep... " >&6; }
19482 if test "${ac_cv_search_nanosleep+set}" = set; then :
19483 $as_echo_n "(cached) " >&6
19484 else
19485 ac_func_search_save_LIBS=$LIBS
19486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19489 /* Override any GCC internal prototype to avoid an error.
19490 Use char because int might match the return type of a GCC
19491 builtin and then its argument prototype would still apply. */
19492 #ifdef __cplusplus
19493 extern "C"
19494 #endif
19495 char nanosleep ();
19497 main ()
19499 return nanosleep ();
19501 return 0;
19503 _ACEOF
19504 for ac_lib in '' posix4; do
19505 if test -z "$ac_lib"; then
19506 ac_res="none required"
19507 else
19508 ac_res=-l$ac_lib
19509 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19511 if test x$gcc_no_link = xyes; then
19512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19514 if ac_fn_cxx_try_link "$LINENO"; then :
19515 ac_cv_search_nanosleep=$ac_res
19517 rm -f core conftest.err conftest.$ac_objext \
19518 conftest$ac_exeext
19519 if test "${ac_cv_search_nanosleep+set}" = set; then :
19520 break
19522 done
19523 if test "${ac_cv_search_nanosleep+set}" = set; then :
19525 else
19526 ac_cv_search_nanosleep=no
19528 rm conftest.$ac_ext
19529 LIBS=$ac_func_search_save_LIBS
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19532 $as_echo "$ac_cv_search_nanosleep" >&6; }
19533 ac_res=$ac_cv_search_nanosleep
19534 if test "$ac_res" != no; then :
19535 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19541 case "$ac_cv_search_clock_gettime" in
19542 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19544 esac
19545 case "$ac_cv_search_nanosleep" in
19546 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19548 esac
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19551 $as_echo_n "checking for library containing sched_yield... " >&6; }
19552 if test "${ac_cv_search_sched_yield+set}" = set; then :
19553 $as_echo_n "(cached) " >&6
19554 else
19555 ac_func_search_save_LIBS=$LIBS
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19559 /* Override any GCC internal prototype to avoid an error.
19560 Use char because int might match the return type of a GCC
19561 builtin and then its argument prototype would still apply. */
19562 #ifdef __cplusplus
19563 extern "C"
19564 #endif
19565 char sched_yield ();
19567 main ()
19569 return sched_yield ();
19571 return 0;
19573 _ACEOF
19574 for ac_lib in '' rt posix4; do
19575 if test -z "$ac_lib"; then
19576 ac_res="none required"
19577 else
19578 ac_res=-l$ac_lib
19579 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19581 if test x$gcc_no_link = xyes; then
19582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19584 if ac_fn_cxx_try_link "$LINENO"; then :
19585 ac_cv_search_sched_yield=$ac_res
19587 rm -f core conftest.err conftest.$ac_objext \
19588 conftest$ac_exeext
19589 if test "${ac_cv_search_sched_yield+set}" = set; then :
19590 break
19592 done
19593 if test "${ac_cv_search_sched_yield+set}" = set; then :
19595 else
19596 ac_cv_search_sched_yield=no
19598 rm conftest.$ac_ext
19599 LIBS=$ac_func_search_save_LIBS
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19602 $as_echo "$ac_cv_search_sched_yield" >&6; }
19603 ac_res=$ac_cv_search_sched_yield
19604 if test "$ac_res" != no; then :
19605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19610 case "$ac_cv_search_sched_yield" in
19611 -lposix4*)
19612 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19614 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19617 -lrt*)
19618 if test x"$enable_libstdcxx_time" = x"rt"; then
19619 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19621 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19627 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19630 esac
19632 for ac_header in unistd.h
19633 do :
19634 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19635 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19636 cat >>confdefs.h <<_ACEOF
19637 #define HAVE_UNISTD_H 1
19638 _ACEOF
19639 ac_has_unistd_h=yes
19640 else
19641 ac_has_unistd_h=no
19644 done
19647 if test x"$ac_has_unistd_h" = x"yes"; then
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19649 $as_echo_n "checking for monotonic clock... " >&6; }
19650 if test x$gcc_no_link = xyes; then
19651 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19654 /* end confdefs.h. */
19655 #include <unistd.h>
19656 #include <time.h>
19659 main ()
19661 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19662 timespec tp;
19663 #endif
19664 clock_gettime(CLOCK_MONOTONIC, &tp);
19667 return 0;
19669 _ACEOF
19670 if ac_fn_cxx_try_link "$LINENO"; then :
19671 ac_has_clock_monotonic=yes
19672 else
19673 ac_has_clock_monotonic=no
19675 rm -f core conftest.err conftest.$ac_objext \
19676 conftest$ac_exeext conftest.$ac_ext
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19679 $as_echo "$ac_has_clock_monotonic" >&6; }
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19682 $as_echo_n "checking for realtime clock... " >&6; }
19683 if test x$gcc_no_link = xyes; then
19684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19688 #include <unistd.h>
19689 #include <time.h>
19692 main ()
19694 #if _POSIX_TIMERS > 0
19695 timespec tp;
19696 #endif
19697 clock_gettime(CLOCK_REALTIME, &tp);
19700 return 0;
19702 _ACEOF
19703 if ac_fn_cxx_try_link "$LINENO"; then :
19704 ac_has_clock_realtime=yes
19705 else
19706 ac_has_clock_realtime=no
19708 rm -f core conftest.err conftest.$ac_objext \
19709 conftest$ac_exeext conftest.$ac_ext
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19712 $as_echo "$ac_has_clock_realtime" >&6; }
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19715 $as_echo_n "checking for nanosleep... " >&6; }
19716 if test x$gcc_no_link = xyes; then
19717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19720 /* end confdefs.h. */
19721 #include <unistd.h>
19722 #include <time.h>
19725 main ()
19727 #if _POSIX_TIMERS > 0
19728 timespec tp;
19729 #endif
19730 nanosleep(&tp, 0);
19733 return 0;
19735 _ACEOF
19736 if ac_fn_cxx_try_link "$LINENO"; then :
19737 ac_has_nanosleep=yes
19738 else
19739 ac_has_nanosleep=no
19741 rm -f core conftest.err conftest.$ac_objext \
19742 conftest$ac_exeext conftest.$ac_ext
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19745 $as_echo "$ac_has_nanosleep" >&6; }
19749 if test x"$ac_has_clock_monotonic" = x"yes"; then
19751 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19755 if test x"$ac_has_clock_realtime" = x"yes"; then
19757 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19761 if test x"$ac_has_nanosleep" = x"yes"; then
19763 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19769 CXXFLAGS="$ac_save_CXXFLAGS"
19770 LIBS="$ac_save_LIBS"
19771 ac_ext=c
19772 ac_cpp='$CPP $CPPFLAGS'
19773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19780 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19781 if test "x$ac_cv_header_locale_h" = x""yes; then :
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19784 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19785 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19786 $as_echo_n "(cached) " >&6
19787 else
19788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19790 #include <locale.h>
19792 main ()
19794 return LC_MESSAGES
19796 return 0;
19798 _ACEOF
19799 if ac_fn_c_try_compile "$LINENO"; then :
19800 ac_cv_val_LC_MESSAGES=yes
19801 else
19802 ac_cv_val_LC_MESSAGES=no
19804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19807 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19808 if test $ac_cv_val_LC_MESSAGES = yes; then
19810 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19819 # For hardware_concurrency
19820 for ac_header in sys/sysinfo.h
19821 do :
19822 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19823 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19824 cat >>confdefs.h <<_ACEOF
19825 #define HAVE_SYS_SYSINFO_H 1
19826 _ACEOF
19830 done
19835 ac_ext=cpp
19836 ac_cpp='$CXXCPP $CPPFLAGS'
19837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19841 ac_save_CXXFLAGS="$CXXFLAGS"
19842 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19845 $as_echo_n "checking for get_nprocs... " >&6; }
19846 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19847 $as_echo_n "(cached) " >&6
19848 else
19850 if test x$gcc_no_link = xyes; then
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19853 #include <sys/sysinfo.h>
19855 main ()
19857 int n = get_nprocs();
19859 return 0;
19861 _ACEOF
19862 if ac_fn_cxx_try_compile "$LINENO"; then :
19863 glibcxx_cv_GET_NPROCS=yes
19864 else
19865 glibcxx_cv_GET_NPROCS=no
19867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19868 else
19869 if test x$gcc_no_link = xyes; then
19870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19874 #include <sys/sysinfo.h>
19876 main ()
19878 int n = get_nprocs();
19880 return 0;
19882 _ACEOF
19883 if ac_fn_cxx_try_link "$LINENO"; then :
19884 glibcxx_cv_GET_NPROCS=yes
19885 else
19886 glibcxx_cv_GET_NPROCS=no
19888 rm -f core conftest.err conftest.$ac_objext \
19889 conftest$ac_exeext conftest.$ac_ext
19894 if test $glibcxx_cv_GET_NPROCS = yes; then
19896 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19900 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19902 CXXFLAGS="$ac_save_CXXFLAGS"
19903 ac_ext=c
19904 ac_cpp='$CPP $CPPFLAGS'
19905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19910 for ac_header in unistd.h
19911 do :
19912 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19913 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19914 cat >>confdefs.h <<_ACEOF
19915 #define HAVE_UNISTD_H 1
19916 _ACEOF
19920 done
19925 ac_ext=cpp
19926 ac_cpp='$CXXCPP $CPPFLAGS'
19927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19931 ac_save_CXXFLAGS="$CXXFLAGS"
19932 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19935 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19936 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19937 $as_echo_n "(cached) " >&6
19938 else
19940 if test x$gcc_no_link = xyes; then
19941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19942 /* end confdefs.h. */
19943 #include <unistd.h>
19945 main ()
19947 int n = sysconf(_SC_NPROCESSORS_ONLN);
19949 return 0;
19951 _ACEOF
19952 if ac_fn_cxx_try_compile "$LINENO"; then :
19953 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19954 else
19955 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19958 else
19959 if test x$gcc_no_link = xyes; then
19960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19964 #include <unistd.h>
19966 main ()
19968 int n = sysconf(_SC_NPROCESSORS_ONLN);
19970 return 0;
19972 _ACEOF
19973 if ac_fn_cxx_try_link "$LINENO"; then :
19974 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19975 else
19976 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19978 rm -f core conftest.err conftest.$ac_objext \
19979 conftest$ac_exeext conftest.$ac_ext
19984 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
19986 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
19990 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
19992 CXXFLAGS="$ac_save_CXXFLAGS"
19993 ac_ext=c
19994 ac_cpp='$CPP $CPPFLAGS'
19995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20003 ac_ext=cpp
20004 ac_cpp='$CXXCPP $CPPFLAGS'
20005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20009 ac_save_CXXFLAGS="$CXXFLAGS"
20010 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20013 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20014 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20015 $as_echo_n "(cached) " >&6
20016 else
20018 if test x$gcc_no_link = xyes; then
20019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20020 /* end confdefs.h. */
20021 #include <unistd.h>
20023 main ()
20025 int n = sysconf(_SC_NPROC_ONLN);
20027 return 0;
20029 _ACEOF
20030 if ac_fn_cxx_try_compile "$LINENO"; then :
20031 glibcxx_cv_SC_NPROC_ONLN=yes
20032 else
20033 glibcxx_cv_SC_NPROC_ONLN=no
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20036 else
20037 if test x$gcc_no_link = xyes; then
20038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20042 #include <unistd.h>
20044 main ()
20046 int n = sysconf(_SC_NPROC_ONLN);
20048 return 0;
20050 _ACEOF
20051 if ac_fn_cxx_try_link "$LINENO"; then :
20052 glibcxx_cv_SC_NPROC_ONLN=yes
20053 else
20054 glibcxx_cv_SC_NPROC_ONLN=no
20056 rm -f core conftest.err conftest.$ac_objext \
20057 conftest$ac_exeext conftest.$ac_ext
20062 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20064 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20068 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20070 CXXFLAGS="$ac_save_CXXFLAGS"
20071 ac_ext=c
20072 ac_cpp='$CPP $CPPFLAGS'
20073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20081 ac_ext=cpp
20082 ac_cpp='$CXXCPP $CPPFLAGS'
20083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20087 ac_save_CXXFLAGS="$CXXFLAGS"
20088 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20091 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20092 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20093 $as_echo_n "(cached) " >&6
20094 else
20096 if test x$gcc_no_link = xyes; then
20097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20099 #include <pthread.h>
20101 main ()
20103 int n = pthread_num_processors_np();
20105 return 0;
20107 _ACEOF
20108 if ac_fn_cxx_try_compile "$LINENO"; then :
20109 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20110 else
20111 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20114 else
20115 if test x$gcc_no_link = xyes; then
20116 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20119 /* end confdefs.h. */
20120 #include <pthread.h>
20122 main ()
20124 int n = pthread_num_processors_np();
20126 return 0;
20128 _ACEOF
20129 if ac_fn_cxx_try_link "$LINENO"; then :
20130 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20131 else
20132 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20134 rm -f core conftest.err conftest.$ac_objext \
20135 conftest$ac_exeext conftest.$ac_ext
20140 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20142 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20146 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20148 CXXFLAGS="$ac_save_CXXFLAGS"
20149 ac_ext=c
20150 ac_cpp='$CPP $CPPFLAGS'
20151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20159 ac_ext=cpp
20160 ac_cpp='$CXXCPP $CPPFLAGS'
20161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20165 ac_save_CXXFLAGS="$CXXFLAGS"
20166 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20169 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20170 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20171 $as_echo_n "(cached) " >&6
20172 else
20174 if test x$gcc_no_link = xyes; then
20175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h. */
20178 #include <stddef.h>
20179 #include <sys/sysctl.h>
20182 main ()
20185 int count;
20186 size_t size = sizeof(count);
20187 int mib[] = { CTL_HW, HW_NCPU };
20188 sysctl(mib, 2, &count, &size, NULL, 0);
20191 return 0;
20193 _ACEOF
20194 if ac_fn_cxx_try_compile "$LINENO"; then :
20195 glibcxx_cv_SYSCTL_HW_NCPU=yes
20196 else
20197 glibcxx_cv_SYSCTL_HW_NCPU=no
20199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200 else
20201 if test x$gcc_no_link = xyes; then
20202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20205 /* end confdefs.h. */
20207 #include <stddef.h>
20208 #include <sys/sysctl.h>
20211 main ()
20214 int count;
20215 size_t size = sizeof(count);
20216 int mib[] = { CTL_HW, HW_NCPU };
20217 sysctl(mib, 2, &count, &size, NULL, 0);
20220 return 0;
20222 _ACEOF
20223 if ac_fn_cxx_try_link "$LINENO"; then :
20224 glibcxx_cv_SYSCTL_HW_NCPU=yes
20225 else
20226 glibcxx_cv_SYSCTL_HW_NCPU=no
20228 rm -f core conftest.err conftest.$ac_objext \
20229 conftest$ac_exeext conftest.$ac_ext
20234 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20236 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20240 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20242 CXXFLAGS="$ac_save_CXXFLAGS"
20243 ac_ext=c
20244 ac_cpp='$CPP $CPPFLAGS'
20245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20251 # Check for available headers.
20252 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20253 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20254 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20255 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20256 wchar.h wctype.h
20257 do :
20258 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20259 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20260 eval as_val=\$$as_ac_Header
20261 if test "x$as_val" = x""yes; then :
20262 cat >>confdefs.h <<_ACEOF
20263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20264 _ACEOF
20268 done
20271 # Only do link tests if native. Else, hardcode.
20272 if $GLIBCXX_IS_NATIVE; then
20274 # We can do more elaborate tests that assume a working linker.
20275 CANADIAN=no
20279 # Check whether --with-gnu-ld was given.
20280 if test "${with_gnu_ld+set}" = set; then :
20281 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20282 else
20283 with_gnu_ld=no
20286 ac_prog=ld
20287 if test "$GCC" = yes; then
20288 # Check if gcc -print-prog-name=ld gives a path.
20289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20290 $as_echo_n "checking for ld used by $CC... " >&6; }
20291 case $host in
20292 *-*-mingw*)
20293 # gcc leaves a trailing carriage return which upsets mingw
20294 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20296 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20297 esac
20298 case $ac_prog in
20299 # Accept absolute paths.
20300 [\\/]* | ?:[\\/]*)
20301 re_direlt='/[^/][^/]*/\.\./'
20302 # Canonicalize the pathname of ld
20303 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20304 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20305 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20306 done
20307 test -z "$LD" && LD="$ac_prog"
20310 # If it fails, then pretend we aren't using GCC.
20311 ac_prog=ld
20314 # If it is relative, then search for the first ld in PATH.
20315 with_gnu_ld=unknown
20317 esac
20318 elif test "$with_gnu_ld" = yes; then
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20320 $as_echo_n "checking for GNU ld... " >&6; }
20321 else
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20323 $as_echo_n "checking for non-GNU ld... " >&6; }
20325 if test "${lt_cv_path_LD+set}" = set; then :
20326 $as_echo_n "(cached) " >&6
20327 else
20328 if test -z "$LD"; then
20329 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20330 for ac_dir in $PATH; do
20331 IFS="$lt_save_ifs"
20332 test -z "$ac_dir" && ac_dir=.
20333 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20334 lt_cv_path_LD="$ac_dir/$ac_prog"
20335 # Check to see if the program is GNU ld. I'd rather use --version,
20336 # but apparently some variants of GNU ld only accept -v.
20337 # Break only if it was the GNU/non-GNU ld that we prefer.
20338 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20339 *GNU* | *'with BFD'*)
20340 test "$with_gnu_ld" != no && break
20343 test "$with_gnu_ld" != yes && break
20345 esac
20347 done
20348 IFS="$lt_save_ifs"
20349 else
20350 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20354 LD="$lt_cv_path_LD"
20355 if test -n "$LD"; then
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20357 $as_echo "$LD" >&6; }
20358 else
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20360 $as_echo "no" >&6; }
20362 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20364 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20365 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20366 $as_echo_n "(cached) " >&6
20367 else
20368 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20369 case `$LD -v 2>&1 </dev/null` in
20370 *GNU* | *'with BFD'*)
20371 lt_cv_prog_gnu_ld=yes
20374 lt_cv_prog_gnu_ld=no
20376 esac
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20379 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20380 with_gnu_ld=$lt_cv_prog_gnu_ld
20388 # If we're not using GNU ld, then there's no point in even trying these
20389 # tests. Check for that first. We should have already tested for gld
20390 # by now (in libtool), but require it now just to be safe...
20391 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20392 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20396 # The name set by libtool depends on the version of libtool. Shame on us
20397 # for depending on an impl detail, but c'est la vie. Older versions used
20398 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20399 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20400 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20401 # set (hence we're using an older libtool), then set it.
20402 if test x${with_gnu_ld+set} != xset; then
20403 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20404 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20405 with_gnu_ld=no
20406 else
20407 with_gnu_ld=$ac_cv_prog_gnu_ld
20411 # Start by getting the version number. I think the libtool test already
20412 # does some of this, but throws away the result.
20413 glibcxx_ld_is_gold=no
20414 if test x"$with_gnu_ld" = x"yes"; then
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20416 $as_echo_n "checking for ld version... " >&6; }
20418 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20419 glibcxx_ld_is_gold=yes
20421 ldver=`$LD --version 2>/dev/null |
20422 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'`
20424 glibcxx_gnu_ld_version=`echo $ldver | \
20425 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20427 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20430 # Set --gc-sections.
20431 glibcxx_have_gc_sections=no
20432 if test "$glibcxx_ld_is_gold" = "yes"; then
20433 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20434 glibcxx_have_gc_sections=yes
20436 else
20437 glibcxx_gcsections_min_ld=21602
20438 if test x"$with_gnu_ld" = x"yes" &&
20439 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20440 glibcxx_have_gc_sections=yes
20443 if test "$glibcxx_have_gc_sections" = "yes"; then
20444 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20445 # NB: This flag only works reliably after 2.16.1. Configure tests
20446 # for this are difficult, so hard wire a value that should work.
20448 ac_test_CFLAGS="${CFLAGS+set}"
20449 ac_save_CFLAGS="$CFLAGS"
20450 CFLAGS='-Wl,--gc-sections'
20452 # Check for -Wl,--gc-sections
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20454 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20455 if test x$gcc_no_link = xyes; then
20456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20459 /* end confdefs.h. */
20460 int one(void) { return 1; }
20461 int two(void) { return 2; }
20464 main ()
20466 two();
20468 return 0;
20470 _ACEOF
20471 if ac_fn_c_try_link "$LINENO"; then :
20472 ac_gcsections=yes
20473 else
20474 ac_gcsections=no
20476 rm -f core conftest.err conftest.$ac_objext \
20477 conftest$ac_exeext conftest.$ac_ext
20478 if test "$ac_gcsections" = "yes"; then
20479 rm -f conftest.c
20480 touch conftest.c
20481 if $CC -c conftest.c; then
20482 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20483 grep "Warning: gc-sections option ignored" > /dev/null; then
20484 ac_gcsections=no
20487 rm -f conftest.c conftest.o conftest
20489 if test "$ac_gcsections" = "yes"; then
20490 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20493 $as_echo "$ac_gcsections" >&6; }
20495 if test "$ac_test_CFLAGS" = set; then
20496 CFLAGS="$ac_save_CFLAGS"
20497 else
20498 # this is the suspicious part
20499 CFLAGS=''
20503 # Set -z,relro.
20504 # Note this is only for shared objects.
20505 ac_ld_relro=no
20506 if test x"$with_gnu_ld" = x"yes"; then
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20508 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20509 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20510 if test -n "$cxx_z_relo"; then
20511 OPT_LDFLAGS="-Wl,-z,relro"
20512 ac_ld_relro=yes
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20515 $as_echo "$ac_ld_relro" >&6; }
20518 # Set linker optimization flags.
20519 if test x"$with_gnu_ld" = x"yes"; then
20520 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20527 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20528 ac_save_CXXFLAGS="$CXXFLAGS"
20529 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20532 $as_echo_n "checking for sin in -lm... " >&6; }
20533 if test "${ac_cv_lib_m_sin+set}" = set; then :
20534 $as_echo_n "(cached) " >&6
20535 else
20536 ac_check_lib_save_LIBS=$LIBS
20537 LIBS="-lm $LIBS"
20538 if test x$gcc_no_link = xyes; then
20539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20542 /* end confdefs.h. */
20544 /* Override any GCC internal prototype to avoid an error.
20545 Use char because int might match the return type of a GCC
20546 builtin and then its argument prototype would still apply. */
20547 #ifdef __cplusplus
20548 extern "C"
20549 #endif
20550 char sin ();
20552 main ()
20554 return sin ();
20556 return 0;
20558 _ACEOF
20559 if ac_fn_c_try_link "$LINENO"; then :
20560 ac_cv_lib_m_sin=yes
20561 else
20562 ac_cv_lib_m_sin=no
20564 rm -f core conftest.err conftest.$ac_objext \
20565 conftest$ac_exeext conftest.$ac_ext
20566 LIBS=$ac_check_lib_save_LIBS
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20569 $as_echo "$ac_cv_lib_m_sin" >&6; }
20570 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20571 libm="-lm"
20574 ac_save_LIBS="$LIBS"
20575 LIBS="$LIBS $libm"
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20580 $as_echo_n "checking for isinf declaration... " >&6; }
20581 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20582 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20583 $as_echo_n "(cached) " >&6
20584 else
20587 ac_ext=cpp
20588 ac_cpp='$CXXCPP $CPPFLAGS'
20589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20594 /* end confdefs.h. */
20595 #include <math.h>
20596 #ifdef HAVE_IEEEFP_H
20597 #include <ieeefp.h>
20598 #endif
20601 main ()
20603 isinf(0);
20605 return 0;
20607 _ACEOF
20608 if ac_fn_cxx_try_compile "$LINENO"; then :
20609 glibcxx_cv_func_isinf_use=yes
20610 else
20611 glibcxx_cv_func_isinf_use=no
20613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20614 ac_ext=c
20615 ac_cpp='$CPP $CPPFLAGS'
20616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20625 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20627 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20628 for ac_func in isinf
20629 do :
20630 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20631 if test "x$ac_cv_func_isinf" = x""yes; then :
20632 cat >>confdefs.h <<_ACEOF
20633 #define HAVE_ISINF 1
20634 _ACEOF
20637 done
20639 else
20641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20642 $as_echo_n "checking for _isinf declaration... " >&6; }
20643 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20644 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20645 $as_echo_n "(cached) " >&6
20646 else
20649 ac_ext=cpp
20650 ac_cpp='$CXXCPP $CPPFLAGS'
20651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h. */
20657 #include <math.h>
20658 #ifdef HAVE_IEEEFP_H
20659 #include <ieeefp.h>
20660 #endif
20663 main ()
20665 _isinf(0);
20667 return 0;
20669 _ACEOF
20670 if ac_fn_cxx_try_compile "$LINENO"; then :
20671 glibcxx_cv_func__isinf_use=yes
20672 else
20673 glibcxx_cv_func__isinf_use=no
20675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20676 ac_ext=c
20677 ac_cpp='$CPP $CPPFLAGS'
20678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20687 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20689 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20690 for ac_func in _isinf
20691 do :
20692 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20693 if test "x$ac_cv_func__isinf" = x""yes; then :
20694 cat >>confdefs.h <<_ACEOF
20695 #define HAVE__ISINF 1
20696 _ACEOF
20699 done
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20709 $as_echo_n "checking for isnan declaration... " >&6; }
20710 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20711 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20712 $as_echo_n "(cached) " >&6
20713 else
20716 ac_ext=cpp
20717 ac_cpp='$CXXCPP $CPPFLAGS'
20718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h. */
20724 #include <math.h>
20725 #ifdef HAVE_IEEEFP_H
20726 #include <ieeefp.h>
20727 #endif
20730 main ()
20732 isnan(0);
20734 return 0;
20736 _ACEOF
20737 if ac_fn_cxx_try_compile "$LINENO"; then :
20738 glibcxx_cv_func_isnan_use=yes
20739 else
20740 glibcxx_cv_func_isnan_use=no
20742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20743 ac_ext=c
20744 ac_cpp='$CPP $CPPFLAGS'
20745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20754 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20756 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20757 for ac_func in isnan
20758 do :
20759 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20760 if test "x$ac_cv_func_isnan" = x""yes; then :
20761 cat >>confdefs.h <<_ACEOF
20762 #define HAVE_ISNAN 1
20763 _ACEOF
20766 done
20768 else
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20771 $as_echo_n "checking for _isnan declaration... " >&6; }
20772 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20773 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20774 $as_echo_n "(cached) " >&6
20775 else
20778 ac_ext=cpp
20779 ac_cpp='$CXXCPP $CPPFLAGS'
20780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h. */
20786 #include <math.h>
20787 #ifdef HAVE_IEEEFP_H
20788 #include <ieeefp.h>
20789 #endif
20792 main ()
20794 _isnan(0);
20796 return 0;
20798 _ACEOF
20799 if ac_fn_cxx_try_compile "$LINENO"; then :
20800 glibcxx_cv_func__isnan_use=yes
20801 else
20802 glibcxx_cv_func__isnan_use=no
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20805 ac_ext=c
20806 ac_cpp='$CPP $CPPFLAGS'
20807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20816 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20818 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20819 for ac_func in _isnan
20820 do :
20821 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20822 if test "x$ac_cv_func__isnan" = x""yes; then :
20823 cat >>confdefs.h <<_ACEOF
20824 #define HAVE__ISNAN 1
20825 _ACEOF
20828 done
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20838 $as_echo_n "checking for finite declaration... " >&6; }
20839 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20840 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20841 $as_echo_n "(cached) " >&6
20842 else
20845 ac_ext=cpp
20846 ac_cpp='$CXXCPP $CPPFLAGS'
20847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20853 #include <math.h>
20854 #ifdef HAVE_IEEEFP_H
20855 #include <ieeefp.h>
20856 #endif
20859 main ()
20861 finite(0);
20863 return 0;
20865 _ACEOF
20866 if ac_fn_cxx_try_compile "$LINENO"; then :
20867 glibcxx_cv_func_finite_use=yes
20868 else
20869 glibcxx_cv_func_finite_use=no
20871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20872 ac_ext=c
20873 ac_cpp='$CPP $CPPFLAGS'
20874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20883 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20885 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20886 for ac_func in finite
20887 do :
20888 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20889 if test "x$ac_cv_func_finite" = x""yes; then :
20890 cat >>confdefs.h <<_ACEOF
20891 #define HAVE_FINITE 1
20892 _ACEOF
20895 done
20897 else
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20900 $as_echo_n "checking for _finite declaration... " >&6; }
20901 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20902 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20903 $as_echo_n "(cached) " >&6
20904 else
20907 ac_ext=cpp
20908 ac_cpp='$CXXCPP $CPPFLAGS'
20909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20915 #include <math.h>
20916 #ifdef HAVE_IEEEFP_H
20917 #include <ieeefp.h>
20918 #endif
20921 main ()
20923 _finite(0);
20925 return 0;
20927 _ACEOF
20928 if ac_fn_cxx_try_compile "$LINENO"; then :
20929 glibcxx_cv_func__finite_use=yes
20930 else
20931 glibcxx_cv_func__finite_use=no
20933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20934 ac_ext=c
20935 ac_cpp='$CPP $CPPFLAGS'
20936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20945 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20947 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20948 for ac_func in _finite
20949 do :
20950 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20951 if test "x$ac_cv_func__finite" = x""yes; then :
20952 cat >>confdefs.h <<_ACEOF
20953 #define HAVE__FINITE 1
20954 _ACEOF
20957 done
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20967 $as_echo_n "checking for sincos declaration... " >&6; }
20968 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20969 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20970 $as_echo_n "(cached) " >&6
20971 else
20974 ac_ext=cpp
20975 ac_cpp='$CXXCPP $CPPFLAGS'
20976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h. */
20982 #include <math.h>
20984 main ()
20986 sincos(0, 0, 0);
20988 return 0;
20990 _ACEOF
20991 if ac_fn_cxx_try_compile "$LINENO"; then :
20992 glibcxx_cv_func_sincos_use=yes
20993 else
20994 glibcxx_cv_func_sincos_use=no
20996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20997 ac_ext=c
20998 ac_cpp='$CPP $CPPFLAGS'
20999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21008 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21010 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21011 for ac_func in sincos
21012 do :
21013 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21014 if test "x$ac_cv_func_sincos" = x""yes; then :
21015 cat >>confdefs.h <<_ACEOF
21016 #define HAVE_SINCOS 1
21017 _ACEOF
21020 done
21022 else
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21025 $as_echo_n "checking for _sincos declaration... " >&6; }
21026 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21027 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21028 $as_echo_n "(cached) " >&6
21029 else
21032 ac_ext=cpp
21033 ac_cpp='$CXXCPP $CPPFLAGS'
21034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21040 #include <math.h>
21042 main ()
21044 _sincos(0, 0, 0);
21046 return 0;
21048 _ACEOF
21049 if ac_fn_cxx_try_compile "$LINENO"; then :
21050 glibcxx_cv_func__sincos_use=yes
21051 else
21052 glibcxx_cv_func__sincos_use=no
21054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21055 ac_ext=c
21056 ac_cpp='$CPP $CPPFLAGS'
21057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21066 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21068 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21069 for ac_func in _sincos
21070 do :
21071 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21072 if test "x$ac_cv_func__sincos" = x""yes; then :
21073 cat >>confdefs.h <<_ACEOF
21074 #define HAVE__SINCOS 1
21075 _ACEOF
21078 done
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21088 $as_echo_n "checking for fpclass declaration... " >&6; }
21089 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21090 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21091 $as_echo_n "(cached) " >&6
21092 else
21095 ac_ext=cpp
21096 ac_cpp='$CXXCPP $CPPFLAGS'
21097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h. */
21103 #include <math.h>
21104 #ifdef HAVE_IEEEFP_H
21105 #include <ieeefp.h>
21106 #endif
21109 main ()
21111 fpclass(0);
21113 return 0;
21115 _ACEOF
21116 if ac_fn_cxx_try_compile "$LINENO"; then :
21117 glibcxx_cv_func_fpclass_use=yes
21118 else
21119 glibcxx_cv_func_fpclass_use=no
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122 ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21133 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21135 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21136 for ac_func in fpclass
21137 do :
21138 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21139 if test "x$ac_cv_func_fpclass" = x""yes; then :
21140 cat >>confdefs.h <<_ACEOF
21141 #define HAVE_FPCLASS 1
21142 _ACEOF
21145 done
21147 else
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21150 $as_echo_n "checking for _fpclass declaration... " >&6; }
21151 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21152 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21153 $as_echo_n "(cached) " >&6
21154 else
21157 ac_ext=cpp
21158 ac_cpp='$CXXCPP $CPPFLAGS'
21159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21164 /* end confdefs.h. */
21165 #include <math.h>
21166 #ifdef HAVE_IEEEFP_H
21167 #include <ieeefp.h>
21168 #endif
21171 main ()
21173 _fpclass(0);
21175 return 0;
21177 _ACEOF
21178 if ac_fn_cxx_try_compile "$LINENO"; then :
21179 glibcxx_cv_func__fpclass_use=yes
21180 else
21181 glibcxx_cv_func__fpclass_use=no
21183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21184 ac_ext=c
21185 ac_cpp='$CPP $CPPFLAGS'
21186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21195 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21197 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21198 for ac_func in _fpclass
21199 do :
21200 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21201 if test "x$ac_cv_func__fpclass" = x""yes; then :
21202 cat >>confdefs.h <<_ACEOF
21203 #define HAVE__FPCLASS 1
21204 _ACEOF
21207 done
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21217 $as_echo_n "checking for qfpclass declaration... " >&6; }
21218 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21219 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21220 $as_echo_n "(cached) " >&6
21221 else
21224 ac_ext=cpp
21225 ac_cpp='$CXXCPP $CPPFLAGS'
21226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h. */
21232 #include <math.h>
21233 #ifdef HAVE_IEEEFP_H
21234 #include <ieeefp.h>
21235 #endif
21238 main ()
21240 qfpclass(0);
21242 return 0;
21244 _ACEOF
21245 if ac_fn_cxx_try_compile "$LINENO"; then :
21246 glibcxx_cv_func_qfpclass_use=yes
21247 else
21248 glibcxx_cv_func_qfpclass_use=no
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 ac_ext=c
21252 ac_cpp='$CPP $CPPFLAGS'
21253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21262 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21264 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21265 for ac_func in qfpclass
21266 do :
21267 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21268 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21269 cat >>confdefs.h <<_ACEOF
21270 #define HAVE_QFPCLASS 1
21271 _ACEOF
21274 done
21276 else
21278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21279 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21280 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21281 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21282 $as_echo_n "(cached) " >&6
21283 else
21286 ac_ext=cpp
21287 ac_cpp='$CXXCPP $CPPFLAGS'
21288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21293 /* end confdefs.h. */
21294 #include <math.h>
21295 #ifdef HAVE_IEEEFP_H
21296 #include <ieeefp.h>
21297 #endif
21300 main ()
21302 _qfpclass(0);
21304 return 0;
21306 _ACEOF
21307 if ac_fn_cxx_try_compile "$LINENO"; then :
21308 glibcxx_cv_func__qfpclass_use=yes
21309 else
21310 glibcxx_cv_func__qfpclass_use=no
21312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21313 ac_ext=c
21314 ac_cpp='$CPP $CPPFLAGS'
21315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21324 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21326 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21327 for ac_func in _qfpclass
21328 do :
21329 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21330 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21331 cat >>confdefs.h <<_ACEOF
21332 #define HAVE__QFPCLASS 1
21333 _ACEOF
21336 done
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21346 $as_echo_n "checking for hypot declaration... " >&6; }
21347 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21348 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21349 $as_echo_n "(cached) " >&6
21350 else
21353 ac_ext=cpp
21354 ac_cpp='$CXXCPP $CPPFLAGS'
21355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21360 /* end confdefs.h. */
21361 #include <math.h>
21363 main ()
21365 hypot(0, 0);
21367 return 0;
21369 _ACEOF
21370 if ac_fn_cxx_try_compile "$LINENO"; then :
21371 glibcxx_cv_func_hypot_use=yes
21372 else
21373 glibcxx_cv_func_hypot_use=no
21375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21376 ac_ext=c
21377 ac_cpp='$CPP $CPPFLAGS'
21378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21387 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21389 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21390 for ac_func in hypot
21391 do :
21392 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21393 if test "x$ac_cv_func_hypot" = x""yes; then :
21394 cat >>confdefs.h <<_ACEOF
21395 #define HAVE_HYPOT 1
21396 _ACEOF
21399 done
21401 else
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21404 $as_echo_n "checking for _hypot declaration... " >&6; }
21405 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21406 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21407 $as_echo_n "(cached) " >&6
21408 else
21411 ac_ext=cpp
21412 ac_cpp='$CXXCPP $CPPFLAGS'
21413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21418 /* end confdefs.h. */
21419 #include <math.h>
21421 main ()
21423 _hypot(0, 0);
21425 return 0;
21427 _ACEOF
21428 if ac_fn_cxx_try_compile "$LINENO"; then :
21429 glibcxx_cv_func__hypot_use=yes
21430 else
21431 glibcxx_cv_func__hypot_use=no
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21434 ac_ext=c
21435 ac_cpp='$CPP $CPPFLAGS'
21436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21445 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21447 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21448 for ac_func in _hypot
21449 do :
21450 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21451 if test "x$ac_cv_func__hypot" = x""yes; then :
21452 cat >>confdefs.h <<_ACEOF
21453 #define HAVE__HYPOT 1
21454 _ACEOF
21457 done
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21467 $as_echo_n "checking for float trig functions... " >&6; }
21468 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21469 $as_echo_n "(cached) " >&6
21470 else
21473 ac_ext=cpp
21474 ac_cpp='$CXXCPP $CPPFLAGS'
21475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21480 /* end confdefs.h. */
21481 #include <math.h>
21483 main ()
21485 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21487 return 0;
21489 _ACEOF
21490 if ac_fn_cxx_try_compile "$LINENO"; then :
21491 glibcxx_cv_func_float_trig_use=yes
21492 else
21493 glibcxx_cv_func_float_trig_use=no
21495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21496 ac_ext=c
21497 ac_cpp='$CPP $CPPFLAGS'
21498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21505 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21506 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21507 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21508 do :
21509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21511 eval as_val=\$$as_ac_var
21512 if test "x$as_val" = x""yes; then :
21513 cat >>confdefs.h <<_ACEOF
21514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21515 _ACEOF
21518 done
21520 else
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21522 $as_echo_n "checking for _float trig functions... " >&6; }
21523 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21524 $as_echo_n "(cached) " >&6
21525 else
21528 ac_ext=cpp
21529 ac_cpp='$CXXCPP $CPPFLAGS'
21530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <math.h>
21538 main ()
21540 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21542 return 0;
21544 _ACEOF
21545 if ac_fn_cxx_try_compile "$LINENO"; then :
21546 glibcxx_cv_func__float_trig_use=yes
21547 else
21548 glibcxx_cv_func__float_trig_use=no
21550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21551 ac_ext=c
21552 ac_cpp='$CPP $CPPFLAGS'
21553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21560 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21561 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21562 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21563 do :
21564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21566 eval as_val=\$$as_ac_var
21567 if test "x$as_val" = x""yes; then :
21568 cat >>confdefs.h <<_ACEOF
21569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21570 _ACEOF
21573 done
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21583 $as_echo_n "checking for float round functions... " >&6; }
21584 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21585 $as_echo_n "(cached) " >&6
21586 else
21589 ac_ext=cpp
21590 ac_cpp='$CXXCPP $CPPFLAGS'
21591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21596 /* end confdefs.h. */
21597 #include <math.h>
21599 main ()
21601 ceilf (0); floorf (0);
21603 return 0;
21605 _ACEOF
21606 if ac_fn_cxx_try_compile "$LINENO"; then :
21607 glibcxx_cv_func_float_round_use=yes
21608 else
21609 glibcxx_cv_func_float_round_use=no
21611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21612 ac_ext=c
21613 ac_cpp='$CPP $CPPFLAGS'
21614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21621 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21622 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21623 for ac_func in ceilf floorf
21624 do :
21625 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21626 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21627 eval as_val=\$$as_ac_var
21628 if test "x$as_val" = x""yes; then :
21629 cat >>confdefs.h <<_ACEOF
21630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21631 _ACEOF
21634 done
21636 else
21637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21638 $as_echo_n "checking for _float round functions... " >&6; }
21639 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21640 $as_echo_n "(cached) " >&6
21641 else
21644 ac_ext=cpp
21645 ac_cpp='$CXXCPP $CPPFLAGS'
21646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21651 /* end confdefs.h. */
21652 #include <math.h>
21654 main ()
21656 _ceilf (0); _floorf (0);
21658 return 0;
21660 _ACEOF
21661 if ac_fn_cxx_try_compile "$LINENO"; then :
21662 glibcxx_cv_func__float_round_use=yes
21663 else
21664 glibcxx_cv_func__float_round_use=no
21666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21667 ac_ext=c
21668 ac_cpp='$CPP $CPPFLAGS'
21669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21676 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21677 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21678 for ac_func in _ceilf _floorf
21679 do :
21680 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21681 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21682 eval as_val=\$$as_ac_var
21683 if test "x$as_val" = x""yes; then :
21684 cat >>confdefs.h <<_ACEOF
21685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21686 _ACEOF
21689 done
21699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21700 $as_echo_n "checking for expf declaration... " >&6; }
21701 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21702 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21703 $as_echo_n "(cached) " >&6
21704 else
21707 ac_ext=cpp
21708 ac_cpp='$CXXCPP $CPPFLAGS'
21709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21714 /* end confdefs.h. */
21715 #include <math.h>
21716 #ifdef HAVE_IEEEFP_H
21717 #include <ieeefp.h>
21718 #endif
21721 main ()
21723 expf(0);
21725 return 0;
21727 _ACEOF
21728 if ac_fn_cxx_try_compile "$LINENO"; then :
21729 glibcxx_cv_func_expf_use=yes
21730 else
21731 glibcxx_cv_func_expf_use=no
21733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21734 ac_ext=c
21735 ac_cpp='$CPP $CPPFLAGS'
21736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21745 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21747 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21748 for ac_func in expf
21749 do :
21750 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21751 if test "x$ac_cv_func_expf" = x""yes; then :
21752 cat >>confdefs.h <<_ACEOF
21753 #define HAVE_EXPF 1
21754 _ACEOF
21757 done
21759 else
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21762 $as_echo_n "checking for _expf declaration... " >&6; }
21763 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21764 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21765 $as_echo_n "(cached) " >&6
21766 else
21769 ac_ext=cpp
21770 ac_cpp='$CXXCPP $CPPFLAGS'
21771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21776 /* end confdefs.h. */
21777 #include <math.h>
21778 #ifdef HAVE_IEEEFP_H
21779 #include <ieeefp.h>
21780 #endif
21783 main ()
21785 _expf(0);
21787 return 0;
21789 _ACEOF
21790 if ac_fn_cxx_try_compile "$LINENO"; then :
21791 glibcxx_cv_func__expf_use=yes
21792 else
21793 glibcxx_cv_func__expf_use=no
21795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21796 ac_ext=c
21797 ac_cpp='$CPP $CPPFLAGS'
21798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21807 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21809 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21810 for ac_func in _expf
21811 do :
21812 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21813 if test "x$ac_cv_func__expf" = x""yes; then :
21814 cat >>confdefs.h <<_ACEOF
21815 #define HAVE__EXPF 1
21816 _ACEOF
21819 done
21828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21829 $as_echo_n "checking for isnanf declaration... " >&6; }
21830 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21831 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21832 $as_echo_n "(cached) " >&6
21833 else
21836 ac_ext=cpp
21837 ac_cpp='$CXXCPP $CPPFLAGS'
21838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21843 /* end confdefs.h. */
21844 #include <math.h>
21845 #ifdef HAVE_IEEEFP_H
21846 #include <ieeefp.h>
21847 #endif
21850 main ()
21852 isnanf(0);
21854 return 0;
21856 _ACEOF
21857 if ac_fn_cxx_try_compile "$LINENO"; then :
21858 glibcxx_cv_func_isnanf_use=yes
21859 else
21860 glibcxx_cv_func_isnanf_use=no
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863 ac_ext=c
21864 ac_cpp='$CPP $CPPFLAGS'
21865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21874 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21876 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21877 for ac_func in isnanf
21878 do :
21879 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21880 if test "x$ac_cv_func_isnanf" = x""yes; then :
21881 cat >>confdefs.h <<_ACEOF
21882 #define HAVE_ISNANF 1
21883 _ACEOF
21886 done
21888 else
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21891 $as_echo_n "checking for _isnanf declaration... " >&6; }
21892 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21893 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21894 $as_echo_n "(cached) " >&6
21895 else
21898 ac_ext=cpp
21899 ac_cpp='$CXXCPP $CPPFLAGS'
21900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21905 /* end confdefs.h. */
21906 #include <math.h>
21907 #ifdef HAVE_IEEEFP_H
21908 #include <ieeefp.h>
21909 #endif
21912 main ()
21914 _isnanf(0);
21916 return 0;
21918 _ACEOF
21919 if ac_fn_cxx_try_compile "$LINENO"; then :
21920 glibcxx_cv_func__isnanf_use=yes
21921 else
21922 glibcxx_cv_func__isnanf_use=no
21924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21925 ac_ext=c
21926 ac_cpp='$CPP $CPPFLAGS'
21927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21936 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21938 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21939 for ac_func in _isnanf
21940 do :
21941 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21942 if test "x$ac_cv_func__isnanf" = x""yes; then :
21943 cat >>confdefs.h <<_ACEOF
21944 #define HAVE__ISNANF 1
21945 _ACEOF
21948 done
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21958 $as_echo_n "checking for isinff declaration... " >&6; }
21959 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21960 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21961 $as_echo_n "(cached) " >&6
21962 else
21965 ac_ext=cpp
21966 ac_cpp='$CXXCPP $CPPFLAGS'
21967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21972 /* end confdefs.h. */
21973 #include <math.h>
21974 #ifdef HAVE_IEEEFP_H
21975 #include <ieeefp.h>
21976 #endif
21979 main ()
21981 isinff(0);
21983 return 0;
21985 _ACEOF
21986 if ac_fn_cxx_try_compile "$LINENO"; then :
21987 glibcxx_cv_func_isinff_use=yes
21988 else
21989 glibcxx_cv_func_isinff_use=no
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992 ac_ext=c
21993 ac_cpp='$CPP $CPPFLAGS'
21994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22003 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22005 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22006 for ac_func in isinff
22007 do :
22008 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22009 if test "x$ac_cv_func_isinff" = x""yes; then :
22010 cat >>confdefs.h <<_ACEOF
22011 #define HAVE_ISINFF 1
22012 _ACEOF
22015 done
22017 else
22019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22020 $as_echo_n "checking for _isinff declaration... " >&6; }
22021 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22022 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22023 $as_echo_n "(cached) " >&6
22024 else
22027 ac_ext=cpp
22028 ac_cpp='$CXXCPP $CPPFLAGS'
22029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22034 /* end confdefs.h. */
22035 #include <math.h>
22036 #ifdef HAVE_IEEEFP_H
22037 #include <ieeefp.h>
22038 #endif
22041 main ()
22043 _isinff(0);
22045 return 0;
22047 _ACEOF
22048 if ac_fn_cxx_try_compile "$LINENO"; then :
22049 glibcxx_cv_func__isinff_use=yes
22050 else
22051 glibcxx_cv_func__isinff_use=no
22053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22054 ac_ext=c
22055 ac_cpp='$CPP $CPPFLAGS'
22056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22065 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22067 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22068 for ac_func in _isinff
22069 do :
22070 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22071 if test "x$ac_cv_func__isinff" = x""yes; then :
22072 cat >>confdefs.h <<_ACEOF
22073 #define HAVE__ISINFF 1
22074 _ACEOF
22077 done
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22087 $as_echo_n "checking for atan2f declaration... " >&6; }
22088 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22089 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22090 $as_echo_n "(cached) " >&6
22091 else
22094 ac_ext=cpp
22095 ac_cpp='$CXXCPP $CPPFLAGS'
22096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22101 /* end confdefs.h. */
22102 #include <math.h>
22104 main ()
22106 atan2f(0, 0);
22108 return 0;
22110 _ACEOF
22111 if ac_fn_cxx_try_compile "$LINENO"; then :
22112 glibcxx_cv_func_atan2f_use=yes
22113 else
22114 glibcxx_cv_func_atan2f_use=no
22116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22117 ac_ext=c
22118 ac_cpp='$CPP $CPPFLAGS'
22119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22128 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22130 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22131 for ac_func in atan2f
22132 do :
22133 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22134 if test "x$ac_cv_func_atan2f" = x""yes; then :
22135 cat >>confdefs.h <<_ACEOF
22136 #define HAVE_ATAN2F 1
22137 _ACEOF
22140 done
22142 else
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22145 $as_echo_n "checking for _atan2f declaration... " >&6; }
22146 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22147 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22148 $as_echo_n "(cached) " >&6
22149 else
22152 ac_ext=cpp
22153 ac_cpp='$CXXCPP $CPPFLAGS'
22154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22159 /* end confdefs.h. */
22160 #include <math.h>
22162 main ()
22164 _atan2f(0, 0);
22166 return 0;
22168 _ACEOF
22169 if ac_fn_cxx_try_compile "$LINENO"; then :
22170 glibcxx_cv_func__atan2f_use=yes
22171 else
22172 glibcxx_cv_func__atan2f_use=no
22174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22175 ac_ext=c
22176 ac_cpp='$CPP $CPPFLAGS'
22177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22186 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22188 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22189 for ac_func in _atan2f
22190 do :
22191 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22192 if test "x$ac_cv_func__atan2f" = x""yes; then :
22193 cat >>confdefs.h <<_ACEOF
22194 #define HAVE__ATAN2F 1
22195 _ACEOF
22198 done
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22208 $as_echo_n "checking for fabsf declaration... " >&6; }
22209 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22210 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22211 $as_echo_n "(cached) " >&6
22212 else
22215 ac_ext=cpp
22216 ac_cpp='$CXXCPP $CPPFLAGS'
22217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22222 /* end confdefs.h. */
22223 #include <math.h>
22224 #ifdef HAVE_IEEEFP_H
22225 #include <ieeefp.h>
22226 #endif
22229 main ()
22231 fabsf(0);
22233 return 0;
22235 _ACEOF
22236 if ac_fn_cxx_try_compile "$LINENO"; then :
22237 glibcxx_cv_func_fabsf_use=yes
22238 else
22239 glibcxx_cv_func_fabsf_use=no
22241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22242 ac_ext=c
22243 ac_cpp='$CPP $CPPFLAGS'
22244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22253 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22255 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22256 for ac_func in fabsf
22257 do :
22258 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22259 if test "x$ac_cv_func_fabsf" = x""yes; then :
22260 cat >>confdefs.h <<_ACEOF
22261 #define HAVE_FABSF 1
22262 _ACEOF
22265 done
22267 else
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22270 $as_echo_n "checking for _fabsf declaration... " >&6; }
22271 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22272 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22273 $as_echo_n "(cached) " >&6
22274 else
22277 ac_ext=cpp
22278 ac_cpp='$CXXCPP $CPPFLAGS'
22279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22284 /* end confdefs.h. */
22285 #include <math.h>
22286 #ifdef HAVE_IEEEFP_H
22287 #include <ieeefp.h>
22288 #endif
22291 main ()
22293 _fabsf(0);
22295 return 0;
22297 _ACEOF
22298 if ac_fn_cxx_try_compile "$LINENO"; then :
22299 glibcxx_cv_func__fabsf_use=yes
22300 else
22301 glibcxx_cv_func__fabsf_use=no
22303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22304 ac_ext=c
22305 ac_cpp='$CPP $CPPFLAGS'
22306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22315 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22317 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22318 for ac_func in _fabsf
22319 do :
22320 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22321 if test "x$ac_cv_func__fabsf" = x""yes; then :
22322 cat >>confdefs.h <<_ACEOF
22323 #define HAVE__FABSF 1
22324 _ACEOF
22327 done
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22337 $as_echo_n "checking for fmodf declaration... " >&6; }
22338 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22339 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22340 $as_echo_n "(cached) " >&6
22341 else
22344 ac_ext=cpp
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22351 /* end confdefs.h. */
22352 #include <math.h>
22354 main ()
22356 fmodf(0, 0);
22358 return 0;
22360 _ACEOF
22361 if ac_fn_cxx_try_compile "$LINENO"; then :
22362 glibcxx_cv_func_fmodf_use=yes
22363 else
22364 glibcxx_cv_func_fmodf_use=no
22366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22367 ac_ext=c
22368 ac_cpp='$CPP $CPPFLAGS'
22369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22378 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22380 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22381 for ac_func in fmodf
22382 do :
22383 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22384 if test "x$ac_cv_func_fmodf" = x""yes; then :
22385 cat >>confdefs.h <<_ACEOF
22386 #define HAVE_FMODF 1
22387 _ACEOF
22390 done
22392 else
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22395 $as_echo_n "checking for _fmodf declaration... " >&6; }
22396 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22397 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22398 $as_echo_n "(cached) " >&6
22399 else
22402 ac_ext=cpp
22403 ac_cpp='$CXXCPP $CPPFLAGS'
22404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h. */
22410 #include <math.h>
22412 main ()
22414 _fmodf(0, 0);
22416 return 0;
22418 _ACEOF
22419 if ac_fn_cxx_try_compile "$LINENO"; then :
22420 glibcxx_cv_func__fmodf_use=yes
22421 else
22422 glibcxx_cv_func__fmodf_use=no
22424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22425 ac_ext=c
22426 ac_cpp='$CPP $CPPFLAGS'
22427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22436 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22438 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22439 for ac_func in _fmodf
22440 do :
22441 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22442 if test "x$ac_cv_func__fmodf" = x""yes; then :
22443 cat >>confdefs.h <<_ACEOF
22444 #define HAVE__FMODF 1
22445 _ACEOF
22448 done
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22458 $as_echo_n "checking for frexpf declaration... " >&6; }
22459 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22460 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22461 $as_echo_n "(cached) " >&6
22462 else
22465 ac_ext=cpp
22466 ac_cpp='$CXXCPP $CPPFLAGS'
22467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h. */
22473 #include <math.h>
22475 main ()
22477 frexpf(0, 0);
22479 return 0;
22481 _ACEOF
22482 if ac_fn_cxx_try_compile "$LINENO"; then :
22483 glibcxx_cv_func_frexpf_use=yes
22484 else
22485 glibcxx_cv_func_frexpf_use=no
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22499 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22501 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22502 for ac_func in frexpf
22503 do :
22504 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22505 if test "x$ac_cv_func_frexpf" = x""yes; then :
22506 cat >>confdefs.h <<_ACEOF
22507 #define HAVE_FREXPF 1
22508 _ACEOF
22511 done
22513 else
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22516 $as_echo_n "checking for _frexpf declaration... " >&6; }
22517 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22518 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22519 $as_echo_n "(cached) " >&6
22520 else
22523 ac_ext=cpp
22524 ac_cpp='$CXXCPP $CPPFLAGS'
22525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h. */
22531 #include <math.h>
22533 main ()
22535 _frexpf(0, 0);
22537 return 0;
22539 _ACEOF
22540 if ac_fn_cxx_try_compile "$LINENO"; then :
22541 glibcxx_cv_func__frexpf_use=yes
22542 else
22543 glibcxx_cv_func__frexpf_use=no
22545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22546 ac_ext=c
22547 ac_cpp='$CPP $CPPFLAGS'
22548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22557 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22559 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22560 for ac_func in _frexpf
22561 do :
22562 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22563 if test "x$ac_cv_func__frexpf" = x""yes; then :
22564 cat >>confdefs.h <<_ACEOF
22565 #define HAVE__FREXPF 1
22566 _ACEOF
22569 done
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22579 $as_echo_n "checking for hypotf declaration... " >&6; }
22580 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22581 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22583 else
22586 ac_ext=cpp
22587 ac_cpp='$CXXCPP $CPPFLAGS'
22588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22594 #include <math.h>
22596 main ()
22598 hypotf(0, 0);
22600 return 0;
22602 _ACEOF
22603 if ac_fn_cxx_try_compile "$LINENO"; then :
22604 glibcxx_cv_func_hypotf_use=yes
22605 else
22606 glibcxx_cv_func_hypotf_use=no
22608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22609 ac_ext=c
22610 ac_cpp='$CPP $CPPFLAGS'
22611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22620 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22622 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22623 for ac_func in hypotf
22624 do :
22625 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22626 if test "x$ac_cv_func_hypotf" = x""yes; then :
22627 cat >>confdefs.h <<_ACEOF
22628 #define HAVE_HYPOTF 1
22629 _ACEOF
22632 done
22634 else
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22637 $as_echo_n "checking for _hypotf declaration... " >&6; }
22638 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22639 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22640 $as_echo_n "(cached) " >&6
22641 else
22644 ac_ext=cpp
22645 ac_cpp='$CXXCPP $CPPFLAGS'
22646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22651 /* end confdefs.h. */
22652 #include <math.h>
22654 main ()
22656 _hypotf(0, 0);
22658 return 0;
22660 _ACEOF
22661 if ac_fn_cxx_try_compile "$LINENO"; then :
22662 glibcxx_cv_func__hypotf_use=yes
22663 else
22664 glibcxx_cv_func__hypotf_use=no
22666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22667 ac_ext=c
22668 ac_cpp='$CPP $CPPFLAGS'
22669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22678 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22680 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22681 for ac_func in _hypotf
22682 do :
22683 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22684 if test "x$ac_cv_func__hypotf" = x""yes; then :
22685 cat >>confdefs.h <<_ACEOF
22686 #define HAVE__HYPOTF 1
22687 _ACEOF
22690 done
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22700 $as_echo_n "checking for ldexpf declaration... " >&6; }
22701 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22702 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22703 $as_echo_n "(cached) " >&6
22704 else
22707 ac_ext=cpp
22708 ac_cpp='$CXXCPP $CPPFLAGS'
22709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22714 /* end confdefs.h. */
22715 #include <math.h>
22717 main ()
22719 ldexpf(0, 0);
22721 return 0;
22723 _ACEOF
22724 if ac_fn_cxx_try_compile "$LINENO"; then :
22725 glibcxx_cv_func_ldexpf_use=yes
22726 else
22727 glibcxx_cv_func_ldexpf_use=no
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22730 ac_ext=c
22731 ac_cpp='$CPP $CPPFLAGS'
22732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22741 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22743 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22744 for ac_func in ldexpf
22745 do :
22746 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22747 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22748 cat >>confdefs.h <<_ACEOF
22749 #define HAVE_LDEXPF 1
22750 _ACEOF
22753 done
22755 else
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22758 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22759 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22760 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22761 $as_echo_n "(cached) " >&6
22762 else
22765 ac_ext=cpp
22766 ac_cpp='$CXXCPP $CPPFLAGS'
22767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22772 /* end confdefs.h. */
22773 #include <math.h>
22775 main ()
22777 _ldexpf(0, 0);
22779 return 0;
22781 _ACEOF
22782 if ac_fn_cxx_try_compile "$LINENO"; then :
22783 glibcxx_cv_func__ldexpf_use=yes
22784 else
22785 glibcxx_cv_func__ldexpf_use=no
22787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22788 ac_ext=c
22789 ac_cpp='$CPP $CPPFLAGS'
22790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22799 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22801 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22802 for ac_func in _ldexpf
22803 do :
22804 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22805 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22806 cat >>confdefs.h <<_ACEOF
22807 #define HAVE__LDEXPF 1
22808 _ACEOF
22811 done
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22821 $as_echo_n "checking for logf declaration... " >&6; }
22822 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22823 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22824 $as_echo_n "(cached) " >&6
22825 else
22828 ac_ext=cpp
22829 ac_cpp='$CXXCPP $CPPFLAGS'
22830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22835 /* end confdefs.h. */
22836 #include <math.h>
22837 #ifdef HAVE_IEEEFP_H
22838 #include <ieeefp.h>
22839 #endif
22842 main ()
22844 logf(0);
22846 return 0;
22848 _ACEOF
22849 if ac_fn_cxx_try_compile "$LINENO"; then :
22850 glibcxx_cv_func_logf_use=yes
22851 else
22852 glibcxx_cv_func_logf_use=no
22854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 ac_ext=c
22856 ac_cpp='$CPP $CPPFLAGS'
22857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22866 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22868 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22869 for ac_func in logf
22870 do :
22871 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22872 if test "x$ac_cv_func_logf" = x""yes; then :
22873 cat >>confdefs.h <<_ACEOF
22874 #define HAVE_LOGF 1
22875 _ACEOF
22878 done
22880 else
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22883 $as_echo_n "checking for _logf declaration... " >&6; }
22884 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22885 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22886 $as_echo_n "(cached) " >&6
22887 else
22890 ac_ext=cpp
22891 ac_cpp='$CXXCPP $CPPFLAGS'
22892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22897 /* end confdefs.h. */
22898 #include <math.h>
22899 #ifdef HAVE_IEEEFP_H
22900 #include <ieeefp.h>
22901 #endif
22904 main ()
22906 _logf(0);
22908 return 0;
22910 _ACEOF
22911 if ac_fn_cxx_try_compile "$LINENO"; then :
22912 glibcxx_cv_func__logf_use=yes
22913 else
22914 glibcxx_cv_func__logf_use=no
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 ac_ext=c
22918 ac_cpp='$CPP $CPPFLAGS'
22919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22928 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22930 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22931 for ac_func in _logf
22932 do :
22933 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22934 if test "x$ac_cv_func__logf" = x""yes; then :
22935 cat >>confdefs.h <<_ACEOF
22936 #define HAVE__LOGF 1
22937 _ACEOF
22940 done
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22950 $as_echo_n "checking for log10f declaration... " >&6; }
22951 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22952 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22957 ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h. */
22965 #include <math.h>
22966 #ifdef HAVE_IEEEFP_H
22967 #include <ieeefp.h>
22968 #endif
22971 main ()
22973 log10f(0);
22975 return 0;
22977 _ACEOF
22978 if ac_fn_cxx_try_compile "$LINENO"; then :
22979 glibcxx_cv_func_log10f_use=yes
22980 else
22981 glibcxx_cv_func_log10f_use=no
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984 ac_ext=c
22985 ac_cpp='$CPP $CPPFLAGS'
22986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22995 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22997 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22998 for ac_func in log10f
22999 do :
23000 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23001 if test "x$ac_cv_func_log10f" = x""yes; then :
23002 cat >>confdefs.h <<_ACEOF
23003 #define HAVE_LOG10F 1
23004 _ACEOF
23007 done
23009 else
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23012 $as_echo_n "checking for _log10f declaration... " >&6; }
23013 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23014 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23015 $as_echo_n "(cached) " >&6
23016 else
23019 ac_ext=cpp
23020 ac_cpp='$CXXCPP $CPPFLAGS'
23021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23027 #include <math.h>
23028 #ifdef HAVE_IEEEFP_H
23029 #include <ieeefp.h>
23030 #endif
23033 main ()
23035 _log10f(0);
23037 return 0;
23039 _ACEOF
23040 if ac_fn_cxx_try_compile "$LINENO"; then :
23041 glibcxx_cv_func__log10f_use=yes
23042 else
23043 glibcxx_cv_func__log10f_use=no
23045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23046 ac_ext=c
23047 ac_cpp='$CPP $CPPFLAGS'
23048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23057 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23059 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23060 for ac_func in _log10f
23061 do :
23062 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23063 if test "x$ac_cv_func__log10f" = x""yes; then :
23064 cat >>confdefs.h <<_ACEOF
23065 #define HAVE__LOG10F 1
23066 _ACEOF
23069 done
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23079 $as_echo_n "checking for modff declaration... " >&6; }
23080 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23081 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23082 $as_echo_n "(cached) " >&6
23083 else
23086 ac_ext=cpp
23087 ac_cpp='$CXXCPP $CPPFLAGS'
23088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23093 /* end confdefs.h. */
23094 #include <math.h>
23096 main ()
23098 modff(0, 0);
23100 return 0;
23102 _ACEOF
23103 if ac_fn_cxx_try_compile "$LINENO"; then :
23104 glibcxx_cv_func_modff_use=yes
23105 else
23106 glibcxx_cv_func_modff_use=no
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 ac_ext=c
23110 ac_cpp='$CPP $CPPFLAGS'
23111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23120 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23122 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23123 for ac_func in modff
23124 do :
23125 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23126 if test "x$ac_cv_func_modff" = x""yes; then :
23127 cat >>confdefs.h <<_ACEOF
23128 #define HAVE_MODFF 1
23129 _ACEOF
23132 done
23134 else
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23137 $as_echo_n "checking for _modff declaration... " >&6; }
23138 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23139 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
23158 return 0;
23160 _ACEOF
23161 if ac_fn_cxx_try_compile "$LINENO"; then :
23162 glibcxx_cv_func__modff_use=yes
23163 else
23164 glibcxx_cv_func__modff_use=no
23166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 ac_ext=c
23168 ac_cpp='$CPP $CPPFLAGS'
23169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23178 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23180 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23181 for ac_func in _modff
23182 do :
23183 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23184 if test "x$ac_cv_func__modff" = x""yes; then :
23185 cat >>confdefs.h <<_ACEOF
23186 #define HAVE__MODFF 1
23187 _ACEOF
23190 done
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23200 $as_echo_n "checking for modf declaration... " >&6; }
23201 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23202 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23203 $as_echo_n "(cached) " >&6
23204 else
23207 ac_ext=cpp
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23214 /* end confdefs.h. */
23215 #include <math.h>
23217 main ()
23219 modf(0, 0);
23221 return 0;
23223 _ACEOF
23224 if ac_fn_cxx_try_compile "$LINENO"; then :
23225 glibcxx_cv_func_modf_use=yes
23226 else
23227 glibcxx_cv_func_modf_use=no
23229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23230 ac_ext=c
23231 ac_cpp='$CPP $CPPFLAGS'
23232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23241 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23243 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23244 for ac_func in modf
23245 do :
23246 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23247 if test "x$ac_cv_func_modf" = x""yes; then :
23248 cat >>confdefs.h <<_ACEOF
23249 #define HAVE_MODF 1
23250 _ACEOF
23253 done
23255 else
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23258 $as_echo_n "checking for _modf declaration... " >&6; }
23259 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23260 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23261 $as_echo_n "(cached) " >&6
23262 else
23265 ac_ext=cpp
23266 ac_cpp='$CXXCPP $CPPFLAGS'
23267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23272 /* end confdefs.h. */
23273 #include <math.h>
23275 main ()
23277 _modf(0, 0);
23279 return 0;
23281 _ACEOF
23282 if ac_fn_cxx_try_compile "$LINENO"; then :
23283 glibcxx_cv_func__modf_use=yes
23284 else
23285 glibcxx_cv_func__modf_use=no
23287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288 ac_ext=c
23289 ac_cpp='$CPP $CPPFLAGS'
23290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23299 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23301 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23302 for ac_func in _modf
23303 do :
23304 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23305 if test "x$ac_cv_func__modf" = x""yes; then :
23306 cat >>confdefs.h <<_ACEOF
23307 #define HAVE__MODF 1
23308 _ACEOF
23311 done
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23321 $as_echo_n "checking for powf declaration... " >&6; }
23322 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23323 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23324 $as_echo_n "(cached) " >&6
23325 else
23328 ac_ext=cpp
23329 ac_cpp='$CXXCPP $CPPFLAGS'
23330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23335 /* end confdefs.h. */
23336 #include <math.h>
23338 main ()
23340 powf(0, 0);
23342 return 0;
23344 _ACEOF
23345 if ac_fn_cxx_try_compile "$LINENO"; then :
23346 glibcxx_cv_func_powf_use=yes
23347 else
23348 glibcxx_cv_func_powf_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_powf_use" >&5
23362 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23364 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23365 for ac_func in powf
23366 do :
23367 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23368 if test "x$ac_cv_func_powf" = x""yes; then :
23369 cat >>confdefs.h <<_ACEOF
23370 #define HAVE_POWF 1
23371 _ACEOF
23374 done
23376 else
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23379 $as_echo_n "checking for _powf declaration... " >&6; }
23380 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23381 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23382 $as_echo_n "(cached) " >&6
23383 else
23386 ac_ext=cpp
23387 ac_cpp='$CXXCPP $CPPFLAGS'
23388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23393 /* end confdefs.h. */
23394 #include <math.h>
23396 main ()
23398 _powf(0, 0);
23400 return 0;
23402 _ACEOF
23403 if ac_fn_cxx_try_compile "$LINENO"; then :
23404 glibcxx_cv_func__powf_use=yes
23405 else
23406 glibcxx_cv_func__powf_use=no
23408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23409 ac_ext=c
23410 ac_cpp='$CPP $CPPFLAGS'
23411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23420 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23422 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23423 for ac_func in _powf
23424 do :
23425 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23426 if test "x$ac_cv_func__powf" = x""yes; then :
23427 cat >>confdefs.h <<_ACEOF
23428 #define HAVE__POWF 1
23429 _ACEOF
23432 done
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23442 $as_echo_n "checking for sqrtf declaration... " >&6; }
23443 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23444 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23445 $as_echo_n "(cached) " >&6
23446 else
23449 ac_ext=cpp
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23456 /* end confdefs.h. */
23457 #include <math.h>
23458 #ifdef HAVE_IEEEFP_H
23459 #include <ieeefp.h>
23460 #endif
23463 main ()
23465 sqrtf(0);
23467 return 0;
23469 _ACEOF
23470 if ac_fn_cxx_try_compile "$LINENO"; then :
23471 glibcxx_cv_func_sqrtf_use=yes
23472 else
23473 glibcxx_cv_func_sqrtf_use=no
23475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23476 ac_ext=c
23477 ac_cpp='$CPP $CPPFLAGS'
23478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23487 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23489 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23490 for ac_func in sqrtf
23491 do :
23492 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23493 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23494 cat >>confdefs.h <<_ACEOF
23495 #define HAVE_SQRTF 1
23496 _ACEOF
23499 done
23501 else
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23504 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23505 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23506 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23507 $as_echo_n "(cached) " >&6
23508 else
23511 ac_ext=cpp
23512 ac_cpp='$CXXCPP $CPPFLAGS'
23513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23518 /* end confdefs.h. */
23519 #include <math.h>
23520 #ifdef HAVE_IEEEFP_H
23521 #include <ieeefp.h>
23522 #endif
23525 main ()
23527 _sqrtf(0);
23529 return 0;
23531 _ACEOF
23532 if ac_fn_cxx_try_compile "$LINENO"; then :
23533 glibcxx_cv_func__sqrtf_use=yes
23534 else
23535 glibcxx_cv_func__sqrtf_use=no
23537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538 ac_ext=c
23539 ac_cpp='$CPP $CPPFLAGS'
23540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23549 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23551 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23552 for ac_func in _sqrtf
23553 do :
23554 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23555 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23556 cat >>confdefs.h <<_ACEOF
23557 #define HAVE__SQRTF 1
23558 _ACEOF
23561 done
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23571 $as_echo_n "checking for sincosf declaration... " >&6; }
23572 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23573 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23574 $as_echo_n "(cached) " >&6
23575 else
23578 ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h. */
23586 #include <math.h>
23588 main ()
23590 sincosf(0, 0, 0);
23592 return 0;
23594 _ACEOF
23595 if ac_fn_cxx_try_compile "$LINENO"; then :
23596 glibcxx_cv_func_sincosf_use=yes
23597 else
23598 glibcxx_cv_func_sincosf_use=no
23600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23601 ac_ext=c
23602 ac_cpp='$CPP $CPPFLAGS'
23603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23612 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23614 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23615 for ac_func in sincosf
23616 do :
23617 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23618 if test "x$ac_cv_func_sincosf" = x""yes; then :
23619 cat >>confdefs.h <<_ACEOF
23620 #define HAVE_SINCOSF 1
23621 _ACEOF
23624 done
23626 else
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23629 $as_echo_n "checking for _sincosf declaration... " >&6; }
23630 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23631 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23632 $as_echo_n "(cached) " >&6
23633 else
23636 ac_ext=cpp
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23644 #include <math.h>
23646 main ()
23648 _sincosf(0, 0, 0);
23650 return 0;
23652 _ACEOF
23653 if ac_fn_cxx_try_compile "$LINENO"; then :
23654 glibcxx_cv_func__sincosf_use=yes
23655 else
23656 glibcxx_cv_func__sincosf_use=no
23658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23659 ac_ext=c
23660 ac_cpp='$CPP $CPPFLAGS'
23661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23670 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23672 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23673 for ac_func in _sincosf
23674 do :
23675 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23676 if test "x$ac_cv_func__sincosf" = x""yes; then :
23677 cat >>confdefs.h <<_ACEOF
23678 #define HAVE__SINCOSF 1
23679 _ACEOF
23682 done
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23692 $as_echo_n "checking for finitef declaration... " >&6; }
23693 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23694 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23695 $as_echo_n "(cached) " >&6
23696 else
23699 ac_ext=cpp
23700 ac_cpp='$CXXCPP $CPPFLAGS'
23701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23706 /* end confdefs.h. */
23707 #include <math.h>
23708 #ifdef HAVE_IEEEFP_H
23709 #include <ieeefp.h>
23710 #endif
23713 main ()
23715 finitef(0);
23717 return 0;
23719 _ACEOF
23720 if ac_fn_cxx_try_compile "$LINENO"; then :
23721 glibcxx_cv_func_finitef_use=yes
23722 else
23723 glibcxx_cv_func_finitef_use=no
23725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23726 ac_ext=c
23727 ac_cpp='$CPP $CPPFLAGS'
23728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23737 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23739 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23740 for ac_func in finitef
23741 do :
23742 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23743 if test "x$ac_cv_func_finitef" = x""yes; then :
23744 cat >>confdefs.h <<_ACEOF
23745 #define HAVE_FINITEF 1
23746 _ACEOF
23749 done
23751 else
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23754 $as_echo_n "checking for _finitef declaration... " >&6; }
23755 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23756 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23757 $as_echo_n "(cached) " >&6
23758 else
23761 ac_ext=cpp
23762 ac_cpp='$CXXCPP $CPPFLAGS'
23763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23768 /* end confdefs.h. */
23769 #include <math.h>
23770 #ifdef HAVE_IEEEFP_H
23771 #include <ieeefp.h>
23772 #endif
23775 main ()
23777 _finitef(0);
23779 return 0;
23781 _ACEOF
23782 if ac_fn_cxx_try_compile "$LINENO"; then :
23783 glibcxx_cv_func__finitef_use=yes
23784 else
23785 glibcxx_cv_func__finitef_use=no
23787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23788 ac_ext=c
23789 ac_cpp='$CPP $CPPFLAGS'
23790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23799 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23801 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23802 for ac_func in _finitef
23803 do :
23804 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23805 if test "x$ac_cv_func__finitef" = x""yes; then :
23806 cat >>confdefs.h <<_ACEOF
23807 #define HAVE__FINITEF 1
23808 _ACEOF
23811 done
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23821 $as_echo_n "checking for long double trig functions... " >&6; }
23822 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23823 $as_echo_n "(cached) " >&6
23824 else
23827 ac_ext=cpp
23828 ac_cpp='$CXXCPP $CPPFLAGS'
23829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23834 /* end confdefs.h. */
23835 #include <math.h>
23837 main ()
23839 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23841 return 0;
23843 _ACEOF
23844 if ac_fn_cxx_try_compile "$LINENO"; then :
23845 glibcxx_cv_func_long_double_trig_use=yes
23846 else
23847 glibcxx_cv_func_long_double_trig_use=no
23849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23850 ac_ext=c
23851 ac_cpp='$CPP $CPPFLAGS'
23852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23859 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23860 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23861 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23862 do :
23863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23864 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23865 eval as_val=\$$as_ac_var
23866 if test "x$as_val" = x""yes; then :
23867 cat >>confdefs.h <<_ACEOF
23868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23869 _ACEOF
23872 done
23874 else
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23876 $as_echo_n "checking for _long double trig functions... " >&6; }
23877 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23878 $as_echo_n "(cached) " >&6
23879 else
23882 ac_ext=cpp
23883 ac_cpp='$CXXCPP $CPPFLAGS'
23884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23889 /* end confdefs.h. */
23890 #include <math.h>
23892 main ()
23894 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23896 return 0;
23898 _ACEOF
23899 if ac_fn_cxx_try_compile "$LINENO"; then :
23900 glibcxx_cv_func__long_double_trig_use=yes
23901 else
23902 glibcxx_cv_func__long_double_trig_use=no
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905 ac_ext=c
23906 ac_cpp='$CPP $CPPFLAGS'
23907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23914 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23915 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23916 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23917 do :
23918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23920 eval as_val=\$$as_ac_var
23921 if test "x$as_val" = x""yes; then :
23922 cat >>confdefs.h <<_ACEOF
23923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23924 _ACEOF
23927 done
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23937 $as_echo_n "checking for long double round functions... " >&6; }
23938 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23939 $as_echo_n "(cached) " >&6
23940 else
23943 ac_ext=cpp
23944 ac_cpp='$CXXCPP $CPPFLAGS'
23945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23950 /* end confdefs.h. */
23951 #include <math.h>
23953 main ()
23955 ceill (0); floorl (0);
23957 return 0;
23959 _ACEOF
23960 if ac_fn_cxx_try_compile "$LINENO"; then :
23961 glibcxx_cv_func_long_double_round_use=yes
23962 else
23963 glibcxx_cv_func_long_double_round_use=no
23965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23966 ac_ext=c
23967 ac_cpp='$CPP $CPPFLAGS'
23968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23975 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23976 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23977 for ac_func in ceill floorl
23978 do :
23979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23981 eval as_val=\$$as_ac_var
23982 if test "x$as_val" = x""yes; then :
23983 cat >>confdefs.h <<_ACEOF
23984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23985 _ACEOF
23988 done
23990 else
23991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23992 $as_echo_n "checking for _long double round functions... " >&6; }
23993 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23994 $as_echo_n "(cached) " >&6
23995 else
23998 ac_ext=cpp
23999 ac_cpp='$CXXCPP $CPPFLAGS'
24000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24005 /* end confdefs.h. */
24006 #include <math.h>
24008 main ()
24010 _ceill (0); _floorl (0);
24012 return 0;
24014 _ACEOF
24015 if ac_fn_cxx_try_compile "$LINENO"; then :
24016 glibcxx_cv_func__long_double_round_use=yes
24017 else
24018 glibcxx_cv_func__long_double_round_use=no
24020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24021 ac_ext=c
24022 ac_cpp='$CPP $CPPFLAGS'
24023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24030 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24031 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24032 for ac_func in _ceill _floorl
24033 do :
24034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24036 eval as_val=\$$as_ac_var
24037 if test "x$as_val" = x""yes; then :
24038 cat >>confdefs.h <<_ACEOF
24039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24040 _ACEOF
24043 done
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24054 $as_echo_n "checking for isnanl declaration... " >&6; }
24055 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24056 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24057 $as_echo_n "(cached) " >&6
24058 else
24061 ac_ext=cpp
24062 ac_cpp='$CXXCPP $CPPFLAGS'
24063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24068 /* end confdefs.h. */
24069 #include <math.h>
24070 #ifdef HAVE_IEEEFP_H
24071 #include <ieeefp.h>
24072 #endif
24075 main ()
24077 isnanl(0);
24079 return 0;
24081 _ACEOF
24082 if ac_fn_cxx_try_compile "$LINENO"; then :
24083 glibcxx_cv_func_isnanl_use=yes
24084 else
24085 glibcxx_cv_func_isnanl_use=no
24087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24088 ac_ext=c
24089 ac_cpp='$CPP $CPPFLAGS'
24090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24099 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24101 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24102 for ac_func in isnanl
24103 do :
24104 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24105 if test "x$ac_cv_func_isnanl" = x""yes; then :
24106 cat >>confdefs.h <<_ACEOF
24107 #define HAVE_ISNANL 1
24108 _ACEOF
24111 done
24113 else
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24116 $as_echo_n "checking for _isnanl declaration... " >&6; }
24117 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24118 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24119 $as_echo_n "(cached) " >&6
24120 else
24123 ac_ext=cpp
24124 ac_cpp='$CXXCPP $CPPFLAGS'
24125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24130 /* end confdefs.h. */
24131 #include <math.h>
24132 #ifdef HAVE_IEEEFP_H
24133 #include <ieeefp.h>
24134 #endif
24137 main ()
24139 _isnanl(0);
24141 return 0;
24143 _ACEOF
24144 if ac_fn_cxx_try_compile "$LINENO"; then :
24145 glibcxx_cv_func__isnanl_use=yes
24146 else
24147 glibcxx_cv_func__isnanl_use=no
24149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24150 ac_ext=c
24151 ac_cpp='$CPP $CPPFLAGS'
24152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24161 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24163 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24164 for ac_func in _isnanl
24165 do :
24166 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24167 if test "x$ac_cv_func__isnanl" = x""yes; then :
24168 cat >>confdefs.h <<_ACEOF
24169 #define HAVE__ISNANL 1
24170 _ACEOF
24173 done
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24183 $as_echo_n "checking for isinfl declaration... " >&6; }
24184 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24185 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24186 $as_echo_n "(cached) " >&6
24187 else
24190 ac_ext=cpp
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24197 /* end confdefs.h. */
24198 #include <math.h>
24199 #ifdef HAVE_IEEEFP_H
24200 #include <ieeefp.h>
24201 #endif
24204 main ()
24206 isinfl(0);
24208 return 0;
24210 _ACEOF
24211 if ac_fn_cxx_try_compile "$LINENO"; then :
24212 glibcxx_cv_func_isinfl_use=yes
24213 else
24214 glibcxx_cv_func_isinfl_use=no
24216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24217 ac_ext=c
24218 ac_cpp='$CPP $CPPFLAGS'
24219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24228 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24230 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24231 for ac_func in isinfl
24232 do :
24233 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24234 if test "x$ac_cv_func_isinfl" = x""yes; then :
24235 cat >>confdefs.h <<_ACEOF
24236 #define HAVE_ISINFL 1
24237 _ACEOF
24240 done
24242 else
24244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24245 $as_echo_n "checking for _isinfl declaration... " >&6; }
24246 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24247 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24248 $as_echo_n "(cached) " >&6
24249 else
24252 ac_ext=cpp
24253 ac_cpp='$CXXCPP $CPPFLAGS'
24254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24259 /* end confdefs.h. */
24260 #include <math.h>
24261 #ifdef HAVE_IEEEFP_H
24262 #include <ieeefp.h>
24263 #endif
24266 main ()
24268 _isinfl(0);
24270 return 0;
24272 _ACEOF
24273 if ac_fn_cxx_try_compile "$LINENO"; then :
24274 glibcxx_cv_func__isinfl_use=yes
24275 else
24276 glibcxx_cv_func__isinfl_use=no
24278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24279 ac_ext=c
24280 ac_cpp='$CPP $CPPFLAGS'
24281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24290 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24292 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24293 for ac_func in _isinfl
24294 do :
24295 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24296 if test "x$ac_cv_func__isinfl" = x""yes; then :
24297 cat >>confdefs.h <<_ACEOF
24298 #define HAVE__ISINFL 1
24299 _ACEOF
24302 done
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24312 $as_echo_n "checking for atan2l declaration... " >&6; }
24313 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24314 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24315 $as_echo_n "(cached) " >&6
24316 else
24319 ac_ext=cpp
24320 ac_cpp='$CXXCPP $CPPFLAGS'
24321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24327 #include <math.h>
24329 main ()
24331 atan2l(0, 0);
24333 return 0;
24335 _ACEOF
24336 if ac_fn_cxx_try_compile "$LINENO"; then :
24337 glibcxx_cv_func_atan2l_use=yes
24338 else
24339 glibcxx_cv_func_atan2l_use=no
24341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24342 ac_ext=c
24343 ac_cpp='$CPP $CPPFLAGS'
24344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24353 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24355 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24356 for ac_func in atan2l
24357 do :
24358 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24359 if test "x$ac_cv_func_atan2l" = x""yes; then :
24360 cat >>confdefs.h <<_ACEOF
24361 #define HAVE_ATAN2L 1
24362 _ACEOF
24365 done
24367 else
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24370 $as_echo_n "checking for _atan2l declaration... " >&6; }
24371 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24372 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24373 $as_echo_n "(cached) " >&6
24374 else
24377 ac_ext=cpp
24378 ac_cpp='$CXXCPP $CPPFLAGS'
24379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24384 /* end confdefs.h. */
24385 #include <math.h>
24387 main ()
24389 _atan2l(0, 0);
24391 return 0;
24393 _ACEOF
24394 if ac_fn_cxx_try_compile "$LINENO"; then :
24395 glibcxx_cv_func__atan2l_use=yes
24396 else
24397 glibcxx_cv_func__atan2l_use=no
24399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24400 ac_ext=c
24401 ac_cpp='$CPP $CPPFLAGS'
24402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24411 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24413 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24414 for ac_func in _atan2l
24415 do :
24416 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24417 if test "x$ac_cv_func__atan2l" = x""yes; then :
24418 cat >>confdefs.h <<_ACEOF
24419 #define HAVE__ATAN2L 1
24420 _ACEOF
24423 done
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24433 $as_echo_n "checking for expl declaration... " >&6; }
24434 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24435 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24436 $as_echo_n "(cached) " >&6
24437 else
24440 ac_ext=cpp
24441 ac_cpp='$CXXCPP $CPPFLAGS'
24442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24447 /* end confdefs.h. */
24448 #include <math.h>
24449 #ifdef HAVE_IEEEFP_H
24450 #include <ieeefp.h>
24451 #endif
24454 main ()
24456 expl(0);
24458 return 0;
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462 glibcxx_cv_func_expl_use=yes
24463 else
24464 glibcxx_cv_func_expl_use=no
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24478 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24480 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24481 for ac_func in expl
24482 do :
24483 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24484 if test "x$ac_cv_func_expl" = x""yes; then :
24485 cat >>confdefs.h <<_ACEOF
24486 #define HAVE_EXPL 1
24487 _ACEOF
24490 done
24492 else
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24495 $as_echo_n "checking for _expl declaration... " >&6; }
24496 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24497 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24498 $as_echo_n "(cached) " >&6
24499 else
24502 ac_ext=cpp
24503 ac_cpp='$CXXCPP $CPPFLAGS'
24504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24509 /* end confdefs.h. */
24510 #include <math.h>
24511 #ifdef HAVE_IEEEFP_H
24512 #include <ieeefp.h>
24513 #endif
24516 main ()
24518 _expl(0);
24520 return 0;
24522 _ACEOF
24523 if ac_fn_cxx_try_compile "$LINENO"; then :
24524 glibcxx_cv_func__expl_use=yes
24525 else
24526 glibcxx_cv_func__expl_use=no
24528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24529 ac_ext=c
24530 ac_cpp='$CPP $CPPFLAGS'
24531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24540 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24542 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24543 for ac_func in _expl
24544 do :
24545 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24546 if test "x$ac_cv_func__expl" = x""yes; then :
24547 cat >>confdefs.h <<_ACEOF
24548 #define HAVE__EXPL 1
24549 _ACEOF
24552 done
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24562 $as_echo_n "checking for fabsl declaration... " >&6; }
24563 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24564 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24565 $as_echo_n "(cached) " >&6
24566 else
24569 ac_ext=cpp
24570 ac_cpp='$CXXCPP $CPPFLAGS'
24571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24576 /* end confdefs.h. */
24577 #include <math.h>
24578 #ifdef HAVE_IEEEFP_H
24579 #include <ieeefp.h>
24580 #endif
24583 main ()
24585 fabsl(0);
24587 return 0;
24589 _ACEOF
24590 if ac_fn_cxx_try_compile "$LINENO"; then :
24591 glibcxx_cv_func_fabsl_use=yes
24592 else
24593 glibcxx_cv_func_fabsl_use=no
24595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24596 ac_ext=c
24597 ac_cpp='$CPP $CPPFLAGS'
24598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24607 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24609 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24610 for ac_func in fabsl
24611 do :
24612 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24613 if test "x$ac_cv_func_fabsl" = x""yes; then :
24614 cat >>confdefs.h <<_ACEOF
24615 #define HAVE_FABSL 1
24616 _ACEOF
24619 done
24621 else
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24624 $as_echo_n "checking for _fabsl declaration... " >&6; }
24625 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24626 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24627 $as_echo_n "(cached) " >&6
24628 else
24631 ac_ext=cpp
24632 ac_cpp='$CXXCPP $CPPFLAGS'
24633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24638 /* end confdefs.h. */
24639 #include <math.h>
24640 #ifdef HAVE_IEEEFP_H
24641 #include <ieeefp.h>
24642 #endif
24645 main ()
24647 _fabsl(0);
24649 return 0;
24651 _ACEOF
24652 if ac_fn_cxx_try_compile "$LINENO"; then :
24653 glibcxx_cv_func__fabsl_use=yes
24654 else
24655 glibcxx_cv_func__fabsl_use=no
24657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24658 ac_ext=c
24659 ac_cpp='$CPP $CPPFLAGS'
24660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24669 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24671 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24672 for ac_func in _fabsl
24673 do :
24674 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24675 if test "x$ac_cv_func__fabsl" = x""yes; then :
24676 cat >>confdefs.h <<_ACEOF
24677 #define HAVE__FABSL 1
24678 _ACEOF
24681 done
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24691 $as_echo_n "checking for fmodl declaration... " >&6; }
24692 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24693 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24694 $as_echo_n "(cached) " >&6
24695 else
24698 ac_ext=cpp
24699 ac_cpp='$CXXCPP $CPPFLAGS'
24700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24705 /* end confdefs.h. */
24706 #include <math.h>
24708 main ()
24710 fmodl(0, 0);
24712 return 0;
24714 _ACEOF
24715 if ac_fn_cxx_try_compile "$LINENO"; then :
24716 glibcxx_cv_func_fmodl_use=yes
24717 else
24718 glibcxx_cv_func_fmodl_use=no
24720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24721 ac_ext=c
24722 ac_cpp='$CPP $CPPFLAGS'
24723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24732 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24734 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24735 for ac_func in fmodl
24736 do :
24737 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24738 if test "x$ac_cv_func_fmodl" = x""yes; then :
24739 cat >>confdefs.h <<_ACEOF
24740 #define HAVE_FMODL 1
24741 _ACEOF
24744 done
24746 else
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24749 $as_echo_n "checking for _fmodl declaration... " >&6; }
24750 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24751 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24752 $as_echo_n "(cached) " >&6
24753 else
24756 ac_ext=cpp
24757 ac_cpp='$CXXCPP $CPPFLAGS'
24758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24764 #include <math.h>
24766 main ()
24768 _fmodl(0, 0);
24770 return 0;
24772 _ACEOF
24773 if ac_fn_cxx_try_compile "$LINENO"; then :
24774 glibcxx_cv_func__fmodl_use=yes
24775 else
24776 glibcxx_cv_func__fmodl_use=no
24778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24779 ac_ext=c
24780 ac_cpp='$CPP $CPPFLAGS'
24781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24790 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24792 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24793 for ac_func in _fmodl
24794 do :
24795 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24796 if test "x$ac_cv_func__fmodl" = x""yes; then :
24797 cat >>confdefs.h <<_ACEOF
24798 #define HAVE__FMODL 1
24799 _ACEOF
24802 done
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24812 $as_echo_n "checking for frexpl declaration... " >&6; }
24813 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24814 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24815 $as_echo_n "(cached) " >&6
24816 else
24819 ac_ext=cpp
24820 ac_cpp='$CXXCPP $CPPFLAGS'
24821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24826 /* end confdefs.h. */
24827 #include <math.h>
24829 main ()
24831 frexpl(0, 0);
24833 return 0;
24835 _ACEOF
24836 if ac_fn_cxx_try_compile "$LINENO"; then :
24837 glibcxx_cv_func_frexpl_use=yes
24838 else
24839 glibcxx_cv_func_frexpl_use=no
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24842 ac_ext=c
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24853 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24855 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24856 for ac_func in frexpl
24857 do :
24858 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24859 if test "x$ac_cv_func_frexpl" = x""yes; then :
24860 cat >>confdefs.h <<_ACEOF
24861 #define HAVE_FREXPL 1
24862 _ACEOF
24865 done
24867 else
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24870 $as_echo_n "checking for _frexpl declaration... " >&6; }
24871 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24872 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24873 $as_echo_n "(cached) " >&6
24874 else
24877 ac_ext=cpp
24878 ac_cpp='$CXXCPP $CPPFLAGS'
24879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24884 /* end confdefs.h. */
24885 #include <math.h>
24887 main ()
24889 _frexpl(0, 0);
24891 return 0;
24893 _ACEOF
24894 if ac_fn_cxx_try_compile "$LINENO"; then :
24895 glibcxx_cv_func__frexpl_use=yes
24896 else
24897 glibcxx_cv_func__frexpl_use=no
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24900 ac_ext=c
24901 ac_cpp='$CPP $CPPFLAGS'
24902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24911 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24913 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24914 for ac_func in _frexpl
24915 do :
24916 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24917 if test "x$ac_cv_func__frexpl" = x""yes; then :
24918 cat >>confdefs.h <<_ACEOF
24919 #define HAVE__FREXPL 1
24920 _ACEOF
24923 done
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24933 $as_echo_n "checking for hypotl declaration... " >&6; }
24934 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24935 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24936 $as_echo_n "(cached) " >&6
24937 else
24940 ac_ext=cpp
24941 ac_cpp='$CXXCPP $CPPFLAGS'
24942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h. */
24948 #include <math.h>
24950 main ()
24952 hypotl(0, 0);
24954 return 0;
24956 _ACEOF
24957 if ac_fn_cxx_try_compile "$LINENO"; then :
24958 glibcxx_cv_func_hypotl_use=yes
24959 else
24960 glibcxx_cv_func_hypotl_use=no
24962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24963 ac_ext=c
24964 ac_cpp='$CPP $CPPFLAGS'
24965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24974 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24976 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24977 for ac_func in hypotl
24978 do :
24979 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24980 if test "x$ac_cv_func_hypotl" = x""yes; then :
24981 cat >>confdefs.h <<_ACEOF
24982 #define HAVE_HYPOTL 1
24983 _ACEOF
24986 done
24988 else
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24991 $as_echo_n "checking for _hypotl declaration... " >&6; }
24992 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24993 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24994 $as_echo_n "(cached) " >&6
24995 else
24998 ac_ext=cpp
24999 ac_cpp='$CXXCPP $CPPFLAGS'
25000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25005 /* end confdefs.h. */
25006 #include <math.h>
25008 main ()
25010 _hypotl(0, 0);
25012 return 0;
25014 _ACEOF
25015 if ac_fn_cxx_try_compile "$LINENO"; then :
25016 glibcxx_cv_func__hypotl_use=yes
25017 else
25018 glibcxx_cv_func__hypotl_use=no
25020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25021 ac_ext=c
25022 ac_cpp='$CPP $CPPFLAGS'
25023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25032 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25034 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25035 for ac_func in _hypotl
25036 do :
25037 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25038 if test "x$ac_cv_func__hypotl" = x""yes; then :
25039 cat >>confdefs.h <<_ACEOF
25040 #define HAVE__HYPOTL 1
25041 _ACEOF
25044 done
25053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25054 $as_echo_n "checking for ldexpl declaration... " >&6; }
25055 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25056 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25057 $as_echo_n "(cached) " >&6
25058 else
25061 ac_ext=cpp
25062 ac_cpp='$CXXCPP $CPPFLAGS'
25063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25068 /* end confdefs.h. */
25069 #include <math.h>
25071 main ()
25073 ldexpl(0, 0);
25075 return 0;
25077 _ACEOF
25078 if ac_fn_cxx_try_compile "$LINENO"; then :
25079 glibcxx_cv_func_ldexpl_use=yes
25080 else
25081 glibcxx_cv_func_ldexpl_use=no
25083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25084 ac_ext=c
25085 ac_cpp='$CPP $CPPFLAGS'
25086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25095 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25097 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25098 for ac_func in ldexpl
25099 do :
25100 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25101 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25102 cat >>confdefs.h <<_ACEOF
25103 #define HAVE_LDEXPL 1
25104 _ACEOF
25107 done
25109 else
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25112 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25113 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25114 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25115 $as_echo_n "(cached) " >&6
25116 else
25119 ac_ext=cpp
25120 ac_cpp='$CXXCPP $CPPFLAGS'
25121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25126 /* end confdefs.h. */
25127 #include <math.h>
25129 main ()
25131 _ldexpl(0, 0);
25133 return 0;
25135 _ACEOF
25136 if ac_fn_cxx_try_compile "$LINENO"; then :
25137 glibcxx_cv_func__ldexpl_use=yes
25138 else
25139 glibcxx_cv_func__ldexpl_use=no
25141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25142 ac_ext=c
25143 ac_cpp='$CPP $CPPFLAGS'
25144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25153 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25155 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25156 for ac_func in _ldexpl
25157 do :
25158 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25159 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25160 cat >>confdefs.h <<_ACEOF
25161 #define HAVE__LDEXPL 1
25162 _ACEOF
25165 done
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25175 $as_echo_n "checking for logl declaration... " >&6; }
25176 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25177 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25178 $as_echo_n "(cached) " >&6
25179 else
25182 ac_ext=cpp
25183 ac_cpp='$CXXCPP $CPPFLAGS'
25184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25189 /* end confdefs.h. */
25190 #include <math.h>
25191 #ifdef HAVE_IEEEFP_H
25192 #include <ieeefp.h>
25193 #endif
25196 main ()
25198 logl(0);
25200 return 0;
25202 _ACEOF
25203 if ac_fn_cxx_try_compile "$LINENO"; then :
25204 glibcxx_cv_func_logl_use=yes
25205 else
25206 glibcxx_cv_func_logl_use=no
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209 ac_ext=c
25210 ac_cpp='$CPP $CPPFLAGS'
25211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25220 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25222 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25223 for ac_func in logl
25224 do :
25225 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25226 if test "x$ac_cv_func_logl" = x""yes; then :
25227 cat >>confdefs.h <<_ACEOF
25228 #define HAVE_LOGL 1
25229 _ACEOF
25232 done
25234 else
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25237 $as_echo_n "checking for _logl declaration... " >&6; }
25238 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25239 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25240 $as_echo_n "(cached) " >&6
25241 else
25244 ac_ext=cpp
25245 ac_cpp='$CXXCPP $CPPFLAGS'
25246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25251 /* end confdefs.h. */
25252 #include <math.h>
25253 #ifdef HAVE_IEEEFP_H
25254 #include <ieeefp.h>
25255 #endif
25258 main ()
25260 _logl(0);
25262 return 0;
25264 _ACEOF
25265 if ac_fn_cxx_try_compile "$LINENO"; then :
25266 glibcxx_cv_func__logl_use=yes
25267 else
25268 glibcxx_cv_func__logl_use=no
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 ac_ext=c
25272 ac_cpp='$CPP $CPPFLAGS'
25273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25282 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25284 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25285 for ac_func in _logl
25286 do :
25287 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25288 if test "x$ac_cv_func__logl" = x""yes; then :
25289 cat >>confdefs.h <<_ACEOF
25290 #define HAVE__LOGL 1
25291 _ACEOF
25294 done
25303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25304 $as_echo_n "checking for log10l declaration... " >&6; }
25305 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25306 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25307 $as_echo_n "(cached) " >&6
25308 else
25311 ac_ext=cpp
25312 ac_cpp='$CXXCPP $CPPFLAGS'
25313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25318 /* end confdefs.h. */
25319 #include <math.h>
25320 #ifdef HAVE_IEEEFP_H
25321 #include <ieeefp.h>
25322 #endif
25325 main ()
25327 log10l(0);
25329 return 0;
25331 _ACEOF
25332 if ac_fn_cxx_try_compile "$LINENO"; then :
25333 glibcxx_cv_func_log10l_use=yes
25334 else
25335 glibcxx_cv_func_log10l_use=no
25337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338 ac_ext=c
25339 ac_cpp='$CPP $CPPFLAGS'
25340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25349 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25351 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25352 for ac_func in log10l
25353 do :
25354 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25355 if test "x$ac_cv_func_log10l" = x""yes; then :
25356 cat >>confdefs.h <<_ACEOF
25357 #define HAVE_LOG10L 1
25358 _ACEOF
25361 done
25363 else
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25366 $as_echo_n "checking for _log10l declaration... " >&6; }
25367 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25368 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25369 $as_echo_n "(cached) " >&6
25370 else
25373 ac_ext=cpp
25374 ac_cpp='$CXXCPP $CPPFLAGS'
25375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25380 /* end confdefs.h. */
25381 #include <math.h>
25382 #ifdef HAVE_IEEEFP_H
25383 #include <ieeefp.h>
25384 #endif
25387 main ()
25389 _log10l(0);
25391 return 0;
25393 _ACEOF
25394 if ac_fn_cxx_try_compile "$LINENO"; then :
25395 glibcxx_cv_func__log10l_use=yes
25396 else
25397 glibcxx_cv_func__log10l_use=no
25399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25400 ac_ext=c
25401 ac_cpp='$CPP $CPPFLAGS'
25402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25411 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25413 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25414 for ac_func in _log10l
25415 do :
25416 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25417 if test "x$ac_cv_func__log10l" = x""yes; then :
25418 cat >>confdefs.h <<_ACEOF
25419 #define HAVE__LOG10L 1
25420 _ACEOF
25423 done
25432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25433 $as_echo_n "checking for modfl declaration... " >&6; }
25434 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25435 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25436 $as_echo_n "(cached) " >&6
25437 else
25440 ac_ext=cpp
25441 ac_cpp='$CXXCPP $CPPFLAGS'
25442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25447 /* end confdefs.h. */
25448 #include <math.h>
25450 main ()
25452 modfl(0, 0);
25454 return 0;
25456 _ACEOF
25457 if ac_fn_cxx_try_compile "$LINENO"; then :
25458 glibcxx_cv_func_modfl_use=yes
25459 else
25460 glibcxx_cv_func_modfl_use=no
25462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25463 ac_ext=c
25464 ac_cpp='$CPP $CPPFLAGS'
25465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25474 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25476 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25477 for ac_func in modfl
25478 do :
25479 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25480 if test "x$ac_cv_func_modfl" = x""yes; then :
25481 cat >>confdefs.h <<_ACEOF
25482 #define HAVE_MODFL 1
25483 _ACEOF
25486 done
25488 else
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25491 $as_echo_n "checking for _modfl declaration... " >&6; }
25492 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25493 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
25512 return 0;
25514 _ACEOF
25515 if ac_fn_cxx_try_compile "$LINENO"; then :
25516 glibcxx_cv_func__modfl_use=yes
25517 else
25518 glibcxx_cv_func__modfl_use=no
25520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25521 ac_ext=c
25522 ac_cpp='$CPP $CPPFLAGS'
25523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25532 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25534 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25535 for ac_func in _modfl
25536 do :
25537 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25538 if test "x$ac_cv_func__modfl" = x""yes; then :
25539 cat >>confdefs.h <<_ACEOF
25540 #define HAVE__MODFL 1
25541 _ACEOF
25544 done
25553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25554 $as_echo_n "checking for powl declaration... " >&6; }
25555 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25556 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25557 $as_echo_n "(cached) " >&6
25558 else
25561 ac_ext=cpp
25562 ac_cpp='$CXXCPP $CPPFLAGS'
25563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25568 /* end confdefs.h. */
25569 #include <math.h>
25571 main ()
25573 powl(0, 0);
25575 return 0;
25577 _ACEOF
25578 if ac_fn_cxx_try_compile "$LINENO"; then :
25579 glibcxx_cv_func_powl_use=yes
25580 else
25581 glibcxx_cv_func_powl_use=no
25583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25584 ac_ext=c
25585 ac_cpp='$CPP $CPPFLAGS'
25586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25595 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25597 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25598 for ac_func in powl
25599 do :
25600 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25601 if test "x$ac_cv_func_powl" = x""yes; then :
25602 cat >>confdefs.h <<_ACEOF
25603 #define HAVE_POWL 1
25604 _ACEOF
25607 done
25609 else
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25612 $as_echo_n "checking for _powl declaration... " >&6; }
25613 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25614 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25615 $as_echo_n "(cached) " >&6
25616 else
25619 ac_ext=cpp
25620 ac_cpp='$CXXCPP $CPPFLAGS'
25621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25626 /* end confdefs.h. */
25627 #include <math.h>
25629 main ()
25631 _powl(0, 0);
25633 return 0;
25635 _ACEOF
25636 if ac_fn_cxx_try_compile "$LINENO"; then :
25637 glibcxx_cv_func__powl_use=yes
25638 else
25639 glibcxx_cv_func__powl_use=no
25641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25642 ac_ext=c
25643 ac_cpp='$CPP $CPPFLAGS'
25644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25653 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25655 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25656 for ac_func in _powl
25657 do :
25658 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25659 if test "x$ac_cv_func__powl" = x""yes; then :
25660 cat >>confdefs.h <<_ACEOF
25661 #define HAVE__POWL 1
25662 _ACEOF
25665 done
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25675 $as_echo_n "checking for sqrtl declaration... " >&6; }
25676 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25677 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25678 $as_echo_n "(cached) " >&6
25679 else
25682 ac_ext=cpp
25683 ac_cpp='$CXXCPP $CPPFLAGS'
25684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25689 /* end confdefs.h. */
25690 #include <math.h>
25691 #ifdef HAVE_IEEEFP_H
25692 #include <ieeefp.h>
25693 #endif
25696 main ()
25698 sqrtl(0);
25700 return 0;
25702 _ACEOF
25703 if ac_fn_cxx_try_compile "$LINENO"; then :
25704 glibcxx_cv_func_sqrtl_use=yes
25705 else
25706 glibcxx_cv_func_sqrtl_use=no
25708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25709 ac_ext=c
25710 ac_cpp='$CPP $CPPFLAGS'
25711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25720 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25722 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25723 for ac_func in sqrtl
25724 do :
25725 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25726 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25727 cat >>confdefs.h <<_ACEOF
25728 #define HAVE_SQRTL 1
25729 _ACEOF
25732 done
25734 else
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25737 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25738 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25739 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25740 $as_echo_n "(cached) " >&6
25741 else
25744 ac_ext=cpp
25745 ac_cpp='$CXXCPP $CPPFLAGS'
25746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25751 /* end confdefs.h. */
25752 #include <math.h>
25753 #ifdef HAVE_IEEEFP_H
25754 #include <ieeefp.h>
25755 #endif
25758 main ()
25760 _sqrtl(0);
25762 return 0;
25764 _ACEOF
25765 if ac_fn_cxx_try_compile "$LINENO"; then :
25766 glibcxx_cv_func__sqrtl_use=yes
25767 else
25768 glibcxx_cv_func__sqrtl_use=no
25770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25771 ac_ext=c
25772 ac_cpp='$CPP $CPPFLAGS'
25773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25782 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25784 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25785 for ac_func in _sqrtl
25786 do :
25787 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25788 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25789 cat >>confdefs.h <<_ACEOF
25790 #define HAVE__SQRTL 1
25791 _ACEOF
25794 done
25803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25804 $as_echo_n "checking for sincosl declaration... " >&6; }
25805 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25806 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25807 $as_echo_n "(cached) " >&6
25808 else
25811 ac_ext=cpp
25812 ac_cpp='$CXXCPP $CPPFLAGS'
25813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25818 /* end confdefs.h. */
25819 #include <math.h>
25821 main ()
25823 sincosl(0, 0, 0);
25825 return 0;
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func_sincosl_use=yes
25830 else
25831 glibcxx_cv_func_sincosl_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_sincosl_use" >&5
25845 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25847 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25848 for ac_func in sincosl
25849 do :
25850 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25851 if test "x$ac_cv_func_sincosl" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE_SINCOSL 1
25854 _ACEOF
25857 done
25859 else
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25862 $as_echo_n "checking for _sincosl declaration... " >&6; }
25863 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25864 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25865 $as_echo_n "(cached) " >&6
25866 else
25869 ac_ext=cpp
25870 ac_cpp='$CXXCPP $CPPFLAGS'
25871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h. */
25877 #include <math.h>
25879 main ()
25881 _sincosl(0, 0, 0);
25883 return 0;
25885 _ACEOF
25886 if ac_fn_cxx_try_compile "$LINENO"; then :
25887 glibcxx_cv_func__sincosl_use=yes
25888 else
25889 glibcxx_cv_func__sincosl_use=no
25891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25892 ac_ext=c
25893 ac_cpp='$CPP $CPPFLAGS'
25894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25903 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25905 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25906 for ac_func in _sincosl
25907 do :
25908 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25909 if test "x$ac_cv_func__sincosl" = x""yes; then :
25910 cat >>confdefs.h <<_ACEOF
25911 #define HAVE__SINCOSL 1
25912 _ACEOF
25915 done
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25925 $as_echo_n "checking for finitel declaration... " >&6; }
25926 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25927 if test "${glibcxx_cv_func_finitel_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>
25941 #ifdef HAVE_IEEEFP_H
25942 #include <ieeefp.h>
25943 #endif
25946 main ()
25948 finitel(0);
25950 return 0;
25952 _ACEOF
25953 if ac_fn_cxx_try_compile "$LINENO"; then :
25954 glibcxx_cv_func_finitel_use=yes
25955 else
25956 glibcxx_cv_func_finitel_use=no
25958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25959 ac_ext=c
25960 ac_cpp='$CPP $CPPFLAGS'
25961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25970 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25972 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25973 for ac_func in finitel
25974 do :
25975 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25976 if test "x$ac_cv_func_finitel" = x""yes; then :
25977 cat >>confdefs.h <<_ACEOF
25978 #define HAVE_FINITEL 1
25979 _ACEOF
25982 done
25984 else
25986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25987 $as_echo_n "checking for _finitel declaration... " >&6; }
25988 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25989 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25990 $as_echo_n "(cached) " >&6
25991 else
25994 ac_ext=cpp
25995 ac_cpp='$CXXCPP $CPPFLAGS'
25996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26001 /* end confdefs.h. */
26002 #include <math.h>
26003 #ifdef HAVE_IEEEFP_H
26004 #include <ieeefp.h>
26005 #endif
26008 main ()
26010 _finitel(0);
26012 return 0;
26014 _ACEOF
26015 if ac_fn_cxx_try_compile "$LINENO"; then :
26016 glibcxx_cv_func__finitel_use=yes
26017 else
26018 glibcxx_cv_func__finitel_use=no
26020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26021 ac_ext=c
26022 ac_cpp='$CPP $CPPFLAGS'
26023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26032 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26034 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26035 for ac_func in _finitel
26036 do :
26037 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26038 if test "x$ac_cv_func__finitel" = x""yes; then :
26039 cat >>confdefs.h <<_ACEOF
26040 #define HAVE__FINITEL 1
26041 _ACEOF
26044 done
26052 LIBS="$ac_save_LIBS"
26053 CXXFLAGS="$ac_save_CXXFLAGS"
26056 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26057 ac_save_CXXFLAGS="$CXXFLAGS"
26058 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26062 $as_echo_n "checking for strtold declaration... " >&6; }
26063 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26064 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26065 $as_echo_n "(cached) " >&6
26066 else
26069 ac_ext=cpp
26070 ac_cpp='$CXXCPP $CPPFLAGS'
26071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26076 /* end confdefs.h. */
26077 #include <stdlib.h>
26079 main ()
26081 strtold(0, 0);
26083 return 0;
26085 _ACEOF
26086 if ac_fn_cxx_try_compile "$LINENO"; then :
26087 glibcxx_cv_func_strtold_use=yes
26088 else
26089 glibcxx_cv_func_strtold_use=no
26091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26092 ac_ext=c
26093 ac_cpp='$CPP $CPPFLAGS'
26094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26103 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26104 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26105 for ac_func in strtold
26106 do :
26107 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26108 if test "x$ac_cv_func_strtold" = x""yes; then :
26109 cat >>confdefs.h <<_ACEOF
26110 #define HAVE_STRTOLD 1
26111 _ACEOF
26114 done
26121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26122 $as_echo_n "checking for strtof declaration... " >&6; }
26123 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26124 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26125 $as_echo_n "(cached) " >&6
26126 else
26129 ac_ext=cpp
26130 ac_cpp='$CXXCPP $CPPFLAGS'
26131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26136 /* end confdefs.h. */
26137 #include <stdlib.h>
26139 main ()
26141 strtof(0, 0);
26143 return 0;
26145 _ACEOF
26146 if ac_fn_cxx_try_compile "$LINENO"; then :
26147 glibcxx_cv_func_strtof_use=yes
26148 else
26149 glibcxx_cv_func_strtof_use=no
26151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26152 ac_ext=c
26153 ac_cpp='$CPP $CPPFLAGS'
26154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26163 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26164 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26165 for ac_func in strtof
26166 do :
26167 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26168 if test "x$ac_cv_func_strtof" = x""yes; then :
26169 cat >>confdefs.h <<_ACEOF
26170 #define HAVE_STRTOF 1
26171 _ACEOF
26174 done
26181 CXXFLAGS="$ac_save_CXXFLAGS"
26184 # For /dev/random and /dev/urandom for TR1.
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26188 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26189 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26190 $as_echo_n "(cached) " >&6
26191 else
26193 if test -r /dev/random && test -r /dev/urandom; then
26194 glibcxx_cv_random_tr1=yes;
26195 else
26196 glibcxx_cv_random_tr1=no;
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26202 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26204 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26206 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26212 # For TLS support.
26215 # Check whether --enable-tls was given.
26216 if test "${enable_tls+set}" = set; then :
26217 enableval=$enable_tls;
26218 case "$enableval" in
26219 yes|no) ;;
26220 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26221 esac
26223 else
26224 enable_tls=yes
26228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26229 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26230 if test "${gcc_cv_have_tls+set}" = set; then :
26231 $as_echo_n "(cached) " >&6
26232 else
26234 if test "$cross_compiling" = yes; then :
26235 if test x$gcc_no_link = xyes; then
26236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26239 /* end confdefs.h. */
26240 __thread int a; int b; int main() { return a = b; }
26241 _ACEOF
26242 if ac_fn_c_try_link "$LINENO"; then :
26243 chktls_save_LDFLAGS="$LDFLAGS"
26244 case $host in
26245 *-*-linux*)
26246 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26248 esac
26249 chktls_save_CFLAGS="$CFLAGS"
26250 CFLAGS="-fPIC $CFLAGS"
26251 if test x$gcc_no_link = xyes; then
26252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26255 /* end confdefs.h. */
26256 int f() { return 0; }
26257 _ACEOF
26258 if ac_fn_c_try_link "$LINENO"; then :
26259 if test x$gcc_no_link = xyes; then
26260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26263 /* end confdefs.h. */
26264 __thread int a; int b; int f() { return a = b; }
26265 _ACEOF
26266 if ac_fn_c_try_link "$LINENO"; then :
26267 gcc_cv_have_tls=yes
26268 else
26269 gcc_cv_have_tls=no
26271 rm -f core conftest.err conftest.$ac_objext \
26272 conftest$ac_exeext conftest.$ac_ext
26273 else
26274 gcc_cv_have_tls=yes
26276 rm -f core conftest.err conftest.$ac_objext \
26277 conftest$ac_exeext conftest.$ac_ext
26278 CFLAGS="$chktls_save_CFLAGS"
26279 LDFLAGS="$chktls_save_LDFLAGS"
26280 else
26281 gcc_cv_have_tls=no
26283 rm -f core conftest.err conftest.$ac_objext \
26284 conftest$ac_exeext conftest.$ac_ext
26287 else
26288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26289 /* end confdefs.h. */
26290 __thread int a; int b; int main() { return a = b; }
26291 _ACEOF
26292 if ac_fn_c_try_run "$LINENO"; then :
26293 chktls_save_LDFLAGS="$LDFLAGS"
26294 LDFLAGS="-static $LDFLAGS"
26295 if test x$gcc_no_link = xyes; then
26296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26300 int main() { return 0; }
26301 _ACEOF
26302 if ac_fn_c_try_link "$LINENO"; then :
26303 if test "$cross_compiling" = yes; then :
26304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26306 as_fn_error "cannot run test program while cross compiling
26307 See \`config.log' for more details." "$LINENO" 5; }
26308 else
26309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26310 /* end confdefs.h. */
26311 __thread int a; int b; int main() { return a = b; }
26312 _ACEOF
26313 if ac_fn_c_try_run "$LINENO"; then :
26314 gcc_cv_have_tls=yes
26315 else
26316 gcc_cv_have_tls=no
26318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26319 conftest.$ac_objext conftest.beam conftest.$ac_ext
26322 else
26323 gcc_cv_have_tls=yes
26325 rm -f core conftest.err conftest.$ac_objext \
26326 conftest$ac_exeext conftest.$ac_ext
26327 LDFLAGS="$chktls_save_LDFLAGS"
26328 if test $gcc_cv_have_tls = yes; then
26329 chktls_save_CFLAGS="$CFLAGS"
26330 thread_CFLAGS=failed
26331 for flag in '' '-pthread' '-lpthread'; do
26332 CFLAGS="$flag $chktls_save_CFLAGS"
26333 if test x$gcc_no_link = xyes; then
26334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26337 /* end confdefs.h. */
26338 #include <pthread.h>
26339 void *g(void *d) { return NULL; }
26341 main ()
26343 pthread_t t; pthread_create(&t,NULL,g,NULL);
26345 return 0;
26347 _ACEOF
26348 if ac_fn_c_try_link "$LINENO"; then :
26349 thread_CFLAGS="$flag"
26351 rm -f core conftest.err conftest.$ac_objext \
26352 conftest$ac_exeext conftest.$ac_ext
26353 if test "X$thread_CFLAGS" != Xfailed; then
26354 break
26356 done
26357 CFLAGS="$chktls_save_CFLAGS"
26358 if test "X$thread_CFLAGS" != Xfailed; then
26359 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26360 if test "$cross_compiling" = yes; then :
26361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26363 as_fn_error "cannot run test program while cross compiling
26364 See \`config.log' for more details." "$LINENO" 5; }
26365 else
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26368 #include <pthread.h>
26369 __thread int a;
26370 static int *volatile a_in_other_thread;
26371 static void *
26372 thread_func (void *arg)
26374 a_in_other_thread = &a;
26375 return (void *)0;
26378 main ()
26380 pthread_t thread;
26381 void *thread_retval;
26382 int *volatile a_in_main_thread;
26383 a_in_main_thread = &a;
26384 if (pthread_create (&thread, (pthread_attr_t *)0,
26385 thread_func, (void *)0))
26386 return 0;
26387 if (pthread_join (thread, &thread_retval))
26388 return 0;
26389 return (a_in_other_thread == a_in_main_thread);
26391 return 0;
26393 _ACEOF
26394 if ac_fn_c_try_run "$LINENO"; then :
26395 gcc_cv_have_tls=yes
26396 else
26397 gcc_cv_have_tls=no
26399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26400 conftest.$ac_objext conftest.beam conftest.$ac_ext
26403 CFLAGS="$chktls_save_CFLAGS"
26406 else
26407 gcc_cv_have_tls=no
26409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26410 conftest.$ac_objext conftest.beam conftest.$ac_ext
26414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26415 $as_echo "$gcc_cv_have_tls" >&6; }
26416 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26418 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26422 # For iconv support.
26424 if test "X$prefix" = "XNONE"; then
26425 acl_final_prefix="$ac_default_prefix"
26426 else
26427 acl_final_prefix="$prefix"
26429 if test "X$exec_prefix" = "XNONE"; then
26430 acl_final_exec_prefix='${prefix}'
26431 else
26432 acl_final_exec_prefix="$exec_prefix"
26434 acl_save_prefix="$prefix"
26435 prefix="$acl_final_prefix"
26436 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26437 prefix="$acl_save_prefix"
26440 # Check whether --with-gnu-ld was given.
26441 if test "${with_gnu_ld+set}" = set; then :
26442 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26443 else
26444 with_gnu_ld=no
26447 # Prepare PATH_SEPARATOR.
26448 # The user is always right.
26449 if test "${PATH_SEPARATOR+set}" != set; then
26450 echo "#! /bin/sh" >conf$$.sh
26451 echo "exit 0" >>conf$$.sh
26452 chmod +x conf$$.sh
26453 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26454 PATH_SEPARATOR=';'
26455 else
26456 PATH_SEPARATOR=:
26458 rm -f conf$$.sh
26460 ac_prog=ld
26461 if test "$GCC" = yes; then
26462 # Check if gcc -print-prog-name=ld gives a path.
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26464 $as_echo_n "checking for ld used by GCC... " >&6; }
26465 case $host in
26466 *-*-mingw*)
26467 # gcc leaves a trailing carriage return which upsets mingw
26468 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26470 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26471 esac
26472 case $ac_prog in
26473 # Accept absolute paths.
26474 [\\/]* | [A-Za-z]:[\\/]*)
26475 re_direlt='/[^/][^/]*/\.\./'
26476 # Canonicalize the path of ld
26477 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26478 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26479 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26480 done
26481 test -z "$LD" && LD="$ac_prog"
26484 # If it fails, then pretend we aren't using GCC.
26485 ac_prog=ld
26488 # If it is relative, then search for the first ld in PATH.
26489 with_gnu_ld=unknown
26491 esac
26492 elif test "$with_gnu_ld" = yes; then
26493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26494 $as_echo_n "checking for GNU ld... " >&6; }
26495 else
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26497 $as_echo_n "checking for non-GNU ld... " >&6; }
26499 if test "${acl_cv_path_LD+set}" = set; then :
26500 $as_echo_n "(cached) " >&6
26501 else
26502 if test -z "$LD"; then
26503 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26504 for ac_dir in $PATH; do
26505 test -z "$ac_dir" && ac_dir=.
26506 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26507 acl_cv_path_LD="$ac_dir/$ac_prog"
26508 # Check to see if the program is GNU ld. I'd rather use --version,
26509 # but apparently some GNU ld's only accept -v.
26510 # Break only if it was the GNU/non-GNU ld that we prefer.
26511 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26512 test "$with_gnu_ld" != no && break
26513 else
26514 test "$with_gnu_ld" != yes && break
26517 done
26518 IFS="$ac_save_ifs"
26519 else
26520 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26524 LD="$acl_cv_path_LD"
26525 if test -n "$LD"; then
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26527 $as_echo "$LD" >&6; }
26528 else
26529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26530 $as_echo "no" >&6; }
26532 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26534 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26535 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26536 $as_echo_n "(cached) " >&6
26537 else
26538 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26539 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26540 acl_cv_prog_gnu_ld=yes
26541 else
26542 acl_cv_prog_gnu_ld=no
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26546 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26547 with_gnu_ld=$acl_cv_prog_gnu_ld
26551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26552 $as_echo_n "checking for shared library run path origin... " >&6; }
26553 if test "${acl_cv_rpath+set}" = set; then :
26554 $as_echo_n "(cached) " >&6
26555 else
26557 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26558 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26559 . ./conftest.sh
26560 rm -f ./conftest.sh
26561 acl_cv_rpath=done
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26565 $as_echo "$acl_cv_rpath" >&6; }
26566 wl="$acl_cv_wl"
26567 libext="$acl_cv_libext"
26568 shlibext="$acl_cv_shlibext"
26569 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26570 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26571 hardcode_direct="$acl_cv_hardcode_direct"
26572 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26573 # Check whether --enable-rpath was given.
26574 if test "${enable_rpath+set}" = set; then :
26575 enableval=$enable_rpath; :
26576 else
26577 enable_rpath=yes
26587 use_additional=yes
26589 acl_save_prefix="$prefix"
26590 prefix="$acl_final_prefix"
26591 acl_save_exec_prefix="$exec_prefix"
26592 exec_prefix="$acl_final_exec_prefix"
26594 eval additional_includedir=\"$includedir\"
26595 eval additional_libdir=\"$libdir\"
26597 exec_prefix="$acl_save_exec_prefix"
26598 prefix="$acl_save_prefix"
26601 # Check whether --with-libiconv-prefix was given.
26602 if test "${with_libiconv_prefix+set}" = set; then :
26603 withval=$with_libiconv_prefix;
26604 if test "X$withval" = "Xno"; then
26605 use_additional=no
26606 else
26607 if test "X$withval" = "X"; then
26609 acl_save_prefix="$prefix"
26610 prefix="$acl_final_prefix"
26611 acl_save_exec_prefix="$exec_prefix"
26612 exec_prefix="$acl_final_exec_prefix"
26614 eval additional_includedir=\"$includedir\"
26615 eval additional_libdir=\"$libdir\"
26617 exec_prefix="$acl_save_exec_prefix"
26618 prefix="$acl_save_prefix"
26620 else
26621 additional_includedir="$withval/include"
26622 additional_libdir="$withval/lib"
26628 LIBICONV=
26629 LTLIBICONV=
26630 INCICONV=
26631 rpathdirs=
26632 ltrpathdirs=
26633 names_already_handled=
26634 names_next_round='iconv '
26635 while test -n "$names_next_round"; do
26636 names_this_round="$names_next_round"
26637 names_next_round=
26638 for name in $names_this_round; do
26639 already_handled=
26640 for n in $names_already_handled; do
26641 if test "$n" = "$name"; then
26642 already_handled=yes
26643 break
26645 done
26646 if test -z "$already_handled"; then
26647 names_already_handled="$names_already_handled $name"
26648 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26649 eval value=\"\$HAVE_LIB$uppername\"
26650 if test -n "$value"; then
26651 if test "$value" = yes; then
26652 eval value=\"\$LIB$uppername\"
26653 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26654 eval value=\"\$LTLIB$uppername\"
26655 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26656 else
26659 else
26660 found_dir=
26661 found_la=
26662 found_so=
26663 found_a=
26664 if test $use_additional = yes; then
26665 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26666 found_dir="$additional_libdir"
26667 found_so="$additional_libdir/lib$name.$shlibext"
26668 if test -f "$additional_libdir/lib$name.la"; then
26669 found_la="$additional_libdir/lib$name.la"
26671 else
26672 if test -f "$additional_libdir/lib$name.$libext"; then
26673 found_dir="$additional_libdir"
26674 found_a="$additional_libdir/lib$name.$libext"
26675 if test -f "$additional_libdir/lib$name.la"; then
26676 found_la="$additional_libdir/lib$name.la"
26681 if test "X$found_dir" = "X"; then
26682 for x in $LDFLAGS $LTLIBICONV; do
26684 acl_save_prefix="$prefix"
26685 prefix="$acl_final_prefix"
26686 acl_save_exec_prefix="$exec_prefix"
26687 exec_prefix="$acl_final_exec_prefix"
26688 eval x=\"$x\"
26689 exec_prefix="$acl_save_exec_prefix"
26690 prefix="$acl_save_prefix"
26692 case "$x" in
26693 -L*)
26694 dir=`echo "X$x" | sed -e 's/^X-L//'`
26695 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26696 found_dir="$dir"
26697 found_so="$dir/lib$name.$shlibext"
26698 if test -f "$dir/lib$name.la"; then
26699 found_la="$dir/lib$name.la"
26701 else
26702 if test -f "$dir/lib$name.$libext"; then
26703 found_dir="$dir"
26704 found_a="$dir/lib$name.$libext"
26705 if test -f "$dir/lib$name.la"; then
26706 found_la="$dir/lib$name.la"
26711 esac
26712 if test "X$found_dir" != "X"; then
26713 break
26715 done
26717 if test "X$found_dir" != "X"; then
26718 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26719 if test "X$found_so" != "X"; then
26720 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26721 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26722 else
26723 haveit=
26724 for x in $ltrpathdirs; do
26725 if test "X$x" = "X$found_dir"; then
26726 haveit=yes
26727 break
26729 done
26730 if test -z "$haveit"; then
26731 ltrpathdirs="$ltrpathdirs $found_dir"
26733 if test "$hardcode_direct" = yes; then
26734 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26735 else
26736 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26737 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26738 haveit=
26739 for x in $rpathdirs; do
26740 if test "X$x" = "X$found_dir"; then
26741 haveit=yes
26742 break
26744 done
26745 if test -z "$haveit"; then
26746 rpathdirs="$rpathdirs $found_dir"
26748 else
26749 haveit=
26750 for x in $LDFLAGS $LIBICONV; do
26752 acl_save_prefix="$prefix"
26753 prefix="$acl_final_prefix"
26754 acl_save_exec_prefix="$exec_prefix"
26755 exec_prefix="$acl_final_exec_prefix"
26756 eval x=\"$x\"
26757 exec_prefix="$acl_save_exec_prefix"
26758 prefix="$acl_save_prefix"
26760 if test "X$x" = "X-L$found_dir"; then
26761 haveit=yes
26762 break
26764 done
26765 if test -z "$haveit"; then
26766 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26768 if test "$hardcode_minus_L" != no; then
26769 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26770 else
26771 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26776 else
26777 if test "X$found_a" != "X"; then
26778 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26779 else
26780 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26783 additional_includedir=
26784 case "$found_dir" in
26785 */lib | */lib/)
26786 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26787 additional_includedir="$basedir/include"
26789 esac
26790 if test "X$additional_includedir" != "X"; then
26791 if test "X$additional_includedir" != "X/usr/include"; then
26792 haveit=
26793 if test "X$additional_includedir" = "X/usr/local/include"; then
26794 if test -n "$GCC"; then
26795 case $host_os in
26796 linux*) haveit=yes;;
26797 esac
26800 if test -z "$haveit"; then
26801 for x in $CPPFLAGS $INCICONV; do
26803 acl_save_prefix="$prefix"
26804 prefix="$acl_final_prefix"
26805 acl_save_exec_prefix="$exec_prefix"
26806 exec_prefix="$acl_final_exec_prefix"
26807 eval x=\"$x\"
26808 exec_prefix="$acl_save_exec_prefix"
26809 prefix="$acl_save_prefix"
26811 if test "X$x" = "X-I$additional_includedir"; then
26812 haveit=yes
26813 break
26815 done
26816 if test -z "$haveit"; then
26817 if test -d "$additional_includedir"; then
26818 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26824 if test -n "$found_la"; then
26825 save_libdir="$libdir"
26826 case "$found_la" in
26827 */* | *\\*) . "$found_la" ;;
26828 *) . "./$found_la" ;;
26829 esac
26830 libdir="$save_libdir"
26831 for dep in $dependency_libs; do
26832 case "$dep" in
26833 -L*)
26834 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26835 if test "X$additional_libdir" != "X/usr/lib"; then
26836 haveit=
26837 if test "X$additional_libdir" = "X/usr/local/lib"; then
26838 if test -n "$GCC"; then
26839 case $host_os in
26840 linux*) haveit=yes;;
26841 esac
26844 if test -z "$haveit"; then
26845 haveit=
26846 for x in $LDFLAGS $LIBICONV; do
26848 acl_save_prefix="$prefix"
26849 prefix="$acl_final_prefix"
26850 acl_save_exec_prefix="$exec_prefix"
26851 exec_prefix="$acl_final_exec_prefix"
26852 eval x=\"$x\"
26853 exec_prefix="$acl_save_exec_prefix"
26854 prefix="$acl_save_prefix"
26856 if test "X$x" = "X-L$additional_libdir"; then
26857 haveit=yes
26858 break
26860 done
26861 if test -z "$haveit"; then
26862 if test -d "$additional_libdir"; then
26863 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26866 haveit=
26867 for x in $LDFLAGS $LTLIBICONV; do
26869 acl_save_prefix="$prefix"
26870 prefix="$acl_final_prefix"
26871 acl_save_exec_prefix="$exec_prefix"
26872 exec_prefix="$acl_final_exec_prefix"
26873 eval x=\"$x\"
26874 exec_prefix="$acl_save_exec_prefix"
26875 prefix="$acl_save_prefix"
26877 if test "X$x" = "X-L$additional_libdir"; then
26878 haveit=yes
26879 break
26881 done
26882 if test -z "$haveit"; then
26883 if test -d "$additional_libdir"; then
26884 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26890 -R*)
26891 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26892 if test "$enable_rpath" != no; then
26893 haveit=
26894 for x in $rpathdirs; do
26895 if test "X$x" = "X$dir"; then
26896 haveit=yes
26897 break
26899 done
26900 if test -z "$haveit"; then
26901 rpathdirs="$rpathdirs $dir"
26903 haveit=
26904 for x in $ltrpathdirs; do
26905 if test "X$x" = "X$dir"; then
26906 haveit=yes
26907 break
26909 done
26910 if test -z "$haveit"; then
26911 ltrpathdirs="$ltrpathdirs $dir"
26915 -l*)
26916 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26918 *.la)
26919 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26922 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26923 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26925 esac
26926 done
26928 else
26929 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26930 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26934 done
26935 done
26936 if test "X$rpathdirs" != "X"; then
26937 if test -n "$hardcode_libdir_separator"; then
26938 alldirs=
26939 for found_dir in $rpathdirs; do
26940 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26941 done
26942 acl_save_libdir="$libdir"
26943 libdir="$alldirs"
26944 eval flag=\"$hardcode_libdir_flag_spec\"
26945 libdir="$acl_save_libdir"
26946 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26947 else
26948 for found_dir in $rpathdirs; do
26949 acl_save_libdir="$libdir"
26950 libdir="$found_dir"
26951 eval flag=\"$hardcode_libdir_flag_spec\"
26952 libdir="$acl_save_libdir"
26953 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26954 done
26957 if test "X$ltrpathdirs" != "X"; then
26958 for found_dir in $ltrpathdirs; do
26959 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26960 done
26969 am_save_CPPFLAGS="$CPPFLAGS"
26971 for element in $INCICONV; do
26972 haveit=
26973 for x in $CPPFLAGS; do
26975 acl_save_prefix="$prefix"
26976 prefix="$acl_final_prefix"
26977 acl_save_exec_prefix="$exec_prefix"
26978 exec_prefix="$acl_final_exec_prefix"
26979 eval x=\"$x\"
26980 exec_prefix="$acl_save_exec_prefix"
26981 prefix="$acl_save_prefix"
26983 if test "X$x" = "X$element"; then
26984 haveit=yes
26985 break
26987 done
26988 if test -z "$haveit"; then
26989 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26991 done
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26995 $as_echo_n "checking for iconv... " >&6; }
26996 if test "${am_cv_func_iconv+set}" = set; then :
26997 $as_echo_n "(cached) " >&6
26998 else
27000 am_cv_func_iconv="no, consider installing GNU libiconv"
27001 am_cv_lib_iconv=no
27002 if test x$gcc_no_link = xyes; then
27003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27006 /* end confdefs.h. */
27007 #include <stdlib.h>
27008 #include <iconv.h>
27010 main ()
27012 iconv_t cd = iconv_open("","");
27013 iconv(cd,NULL,NULL,NULL,NULL);
27014 iconv_close(cd);
27016 return 0;
27018 _ACEOF
27019 if ac_fn_c_try_link "$LINENO"; then :
27020 am_cv_func_iconv=yes
27022 rm -f core conftest.err conftest.$ac_objext \
27023 conftest$ac_exeext conftest.$ac_ext
27024 if test "$am_cv_func_iconv" != yes; then
27025 am_save_LIBS="$LIBS"
27026 LIBS="$LIBS $LIBICONV"
27027 if test x$gcc_no_link = xyes; then
27028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27031 /* end confdefs.h. */
27032 #include <stdlib.h>
27033 #include <iconv.h>
27035 main ()
27037 iconv_t cd = iconv_open("","");
27038 iconv(cd,NULL,NULL,NULL,NULL);
27039 iconv_close(cd);
27041 return 0;
27043 _ACEOF
27044 if ac_fn_c_try_link "$LINENO"; then :
27045 am_cv_lib_iconv=yes
27046 am_cv_func_iconv=yes
27048 rm -f core conftest.err conftest.$ac_objext \
27049 conftest$ac_exeext conftest.$ac_ext
27050 LIBS="$am_save_LIBS"
27054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27055 $as_echo "$am_cv_func_iconv" >&6; }
27056 if test "$am_cv_func_iconv" = yes; then
27058 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27061 if test "$am_cv_lib_iconv" = yes; then
27062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27063 $as_echo_n "checking how to link with libiconv... " >&6; }
27064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27065 $as_echo "$LIBICONV" >&6; }
27066 else
27067 CPPFLAGS="$am_save_CPPFLAGS"
27068 LIBICONV=
27069 LTLIBICONV=
27074 if test "$am_cv_func_iconv" = yes; then
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27076 $as_echo_n "checking for iconv declaration... " >&6; }
27077 if test "${am_cv_proto_iconv+set}" = set; then :
27078 $as_echo_n "(cached) " >&6
27079 else
27081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27082 /* end confdefs.h. */
27084 #include <stdlib.h>
27085 #include <iconv.h>
27086 extern
27087 #ifdef __cplusplus
27089 #endif
27090 #if defined(__STDC__) || defined(__cplusplus)
27091 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27092 #else
27093 size_t iconv();
27094 #endif
27097 main ()
27101 return 0;
27103 _ACEOF
27104 if ac_fn_c_try_compile "$LINENO"; then :
27105 am_cv_proto_iconv_arg1=""
27106 else
27107 am_cv_proto_iconv_arg1="const"
27109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27110 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);"
27113 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27115 }$am_cv_proto_iconv" >&5
27116 $as_echo "${ac_t:-
27117 }$am_cv_proto_iconv" >&6; }
27119 cat >>confdefs.h <<_ACEOF
27120 #define ICONV_CONST $am_cv_proto_iconv_arg1
27121 _ACEOF
27126 else
27128 # This lets us hard-code the functionality we know we'll have in the cross
27129 # target environment. "Let" is a sugar-coated word placed on an especially
27130 # dull and tedious hack, actually.
27132 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27133 # that involve linking, can't be used:
27134 # "cannot open sim-crt0.o"
27135 # "cannot open crt0.o"
27136 # etc. All this is because there currently exists no unified, consistent
27137 # way for top level CC information to be passed down to target directories:
27138 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27139 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27140 # crosses can be removed.
27142 # If Canadian cross, then don't pick up tools from the build directory.
27143 # Used only in GLIBCXX_EXPORT_INCLUDES.
27144 if test -n "$with_cross_host" &&
27145 test x"$build_alias" != x"$with_cross_host" &&
27146 test x"$build" != x"$target";
27147 then
27148 CANADIAN=yes
27149 else
27150 CANADIAN=no
27153 # Construct crosses by hand, eliminating bits that need ld...
27154 # GLIBCXX_CHECK_MATH_SUPPORT
27156 # First, test for "known" system libraries. We may be using newlib even
27157 # on a hosted environment.
27158 if test "x${with_newlib}" = "xyes"; then
27159 os_include_dir="os/newlib"
27160 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27163 # GLIBCXX_CHECK_STDLIB_SUPPORT
27164 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27167 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27169 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27171 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27173 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27175 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27177 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27179 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27181 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27183 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27185 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27187 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27189 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27191 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27193 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27195 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27197 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27199 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27201 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27203 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27205 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27207 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27209 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27212 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27214 else
27216 # Base decisions on target environment.
27217 case "${host}" in
27218 arm*-*-symbianelf*)
27219 # This is a freestanding configuration; there is nothing to do here.
27222 mips*-sde-elf*)
27223 # These definitions are for the SDE C library rather than newlib.
27224 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27227 # All these tests are for C++; save the language and the compiler flags.
27228 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27229 # found in GLIBCXX_CONFIGURE.
27231 ac_ext=cpp
27232 ac_cpp='$CXXCPP $CPPFLAGS'
27233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27238 ac_save_CXXFLAGS="$CXXFLAGS"
27240 # Check for maintainer-mode bits.
27241 if test x"$USE_MAINTAINER_MODE" = xno; then
27242 WERROR=''
27243 else
27244 WERROR='-Werror'
27247 # Check for -ffunction-sections -fdata-sections
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27249 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27250 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27252 /* end confdefs.h. */
27253 int foo; void bar() { };
27255 main ()
27259 return 0;
27261 _ACEOF
27262 if ac_fn_cxx_try_compile "$LINENO"; then :
27263 ac_fdsections=yes
27264 else
27265 ac_fdsections=no
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27268 if test "$ac_test_CXXFLAGS" = set; then
27269 CXXFLAGS="$ac_save_CXXFLAGS"
27270 else
27271 # this is the suspicious part
27272 CXXFLAGS=''
27274 if test x"$ac_fdsections" = x"yes"; then
27275 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27278 $as_echo "$ac_fdsections" >&6; }
27280 ac_ext=c
27281 ac_cpp='$CPP $CPPFLAGS'
27282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27290 # If we're not using GNU ld, then there's no point in even trying these
27291 # tests. Check for that first. We should have already tested for gld
27292 # by now (in libtool), but require it now just to be safe...
27293 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27294 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27298 # The name set by libtool depends on the version of libtool. Shame on us
27299 # for depending on an impl detail, but c'est la vie. Older versions used
27300 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27301 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27302 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27303 # set (hence we're using an older libtool), then set it.
27304 if test x${with_gnu_ld+set} != xset; then
27305 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27306 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27307 with_gnu_ld=no
27308 else
27309 with_gnu_ld=$ac_cv_prog_gnu_ld
27313 # Start by getting the version number. I think the libtool test already
27314 # does some of this, but throws away the result.
27315 glibcxx_ld_is_gold=no
27316 if test x"$with_gnu_ld" = x"yes"; then
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27318 $as_echo_n "checking for ld version... " >&6; }
27320 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27321 glibcxx_ld_is_gold=yes
27323 ldver=`$LD --version 2>/dev/null |
27324 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'`
27326 glibcxx_gnu_ld_version=`echo $ldver | \
27327 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27329 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27332 # Set --gc-sections.
27333 glibcxx_have_gc_sections=no
27334 if test "$glibcxx_ld_is_gold" = "yes"; then
27335 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27336 glibcxx_have_gc_sections=yes
27338 else
27339 glibcxx_gcsections_min_ld=21602
27340 if test x"$with_gnu_ld" = x"yes" &&
27341 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27342 glibcxx_have_gc_sections=yes
27345 if test "$glibcxx_have_gc_sections" = "yes"; then
27346 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27347 # NB: This flag only works reliably after 2.16.1. Configure tests
27348 # for this are difficult, so hard wire a value that should work.
27350 ac_test_CFLAGS="${CFLAGS+set}"
27351 ac_save_CFLAGS="$CFLAGS"
27352 CFLAGS='-Wl,--gc-sections'
27354 # Check for -Wl,--gc-sections
27355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27356 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27357 if test x$gcc_no_link = xyes; then
27358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27361 /* end confdefs.h. */
27362 int one(void) { return 1; }
27363 int two(void) { return 2; }
27366 main ()
27368 two();
27370 return 0;
27372 _ACEOF
27373 if ac_fn_c_try_link "$LINENO"; then :
27374 ac_gcsections=yes
27375 else
27376 ac_gcsections=no
27378 rm -f core conftest.err conftest.$ac_objext \
27379 conftest$ac_exeext conftest.$ac_ext
27380 if test "$ac_gcsections" = "yes"; then
27381 rm -f conftest.c
27382 touch conftest.c
27383 if $CC -c conftest.c; then
27384 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27385 grep "Warning: gc-sections option ignored" > /dev/null; then
27386 ac_gcsections=no
27389 rm -f conftest.c conftest.o conftest
27391 if test "$ac_gcsections" = "yes"; then
27392 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27395 $as_echo "$ac_gcsections" >&6; }
27397 if test "$ac_test_CFLAGS" = set; then
27398 CFLAGS="$ac_save_CFLAGS"
27399 else
27400 # this is the suspicious part
27401 CFLAGS=''
27405 # Set -z,relro.
27406 # Note this is only for shared objects.
27407 ac_ld_relro=no
27408 if test x"$with_gnu_ld" = x"yes"; then
27409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27410 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27411 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27412 if test -n "$cxx_z_relo"; then
27413 OPT_LDFLAGS="-Wl,-z,relro"
27414 ac_ld_relro=yes
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27417 $as_echo "$ac_ld_relro" >&6; }
27420 # Set linker optimization flags.
27421 if test x"$with_gnu_ld" = x"yes"; then
27422 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27429 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27430 ac_save_CXXFLAGS="$CXXFLAGS"
27431 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27434 $as_echo_n "checking for sin in -lm... " >&6; }
27435 if test "${ac_cv_lib_m_sin+set}" = set; then :
27436 $as_echo_n "(cached) " >&6
27437 else
27438 ac_check_lib_save_LIBS=$LIBS
27439 LIBS="-lm $LIBS"
27440 if test x$gcc_no_link = xyes; then
27441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27444 /* end confdefs.h. */
27446 /* Override any GCC internal prototype to avoid an error.
27447 Use char because int might match the return type of a GCC
27448 builtin and then its argument prototype would still apply. */
27449 #ifdef __cplusplus
27450 extern "C"
27451 #endif
27452 char sin ();
27454 main ()
27456 return sin ();
27458 return 0;
27460 _ACEOF
27461 if ac_fn_c_try_link "$LINENO"; then :
27462 ac_cv_lib_m_sin=yes
27463 else
27464 ac_cv_lib_m_sin=no
27466 rm -f core conftest.err conftest.$ac_objext \
27467 conftest$ac_exeext conftest.$ac_ext
27468 LIBS=$ac_check_lib_save_LIBS
27470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27471 $as_echo "$ac_cv_lib_m_sin" >&6; }
27472 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27473 libm="-lm"
27476 ac_save_LIBS="$LIBS"
27477 LIBS="$LIBS $libm"
27481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27482 $as_echo_n "checking for isinf declaration... " >&6; }
27483 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27484 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27485 $as_echo_n "(cached) " >&6
27486 else
27489 ac_ext=cpp
27490 ac_cpp='$CXXCPP $CPPFLAGS'
27491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27496 /* end confdefs.h. */
27497 #include <math.h>
27498 #ifdef HAVE_IEEEFP_H
27499 #include <ieeefp.h>
27500 #endif
27503 main ()
27505 isinf(0);
27507 return 0;
27509 _ACEOF
27510 if ac_fn_cxx_try_compile "$LINENO"; then :
27511 glibcxx_cv_func_isinf_use=yes
27512 else
27513 glibcxx_cv_func_isinf_use=no
27515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27516 ac_ext=c
27517 ac_cpp='$CPP $CPPFLAGS'
27518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27527 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27529 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27530 for ac_func in isinf
27531 do :
27532 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27533 if test "x$ac_cv_func_isinf" = x""yes; then :
27534 cat >>confdefs.h <<_ACEOF
27535 #define HAVE_ISINF 1
27536 _ACEOF
27539 done
27541 else
27543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27544 $as_echo_n "checking for _isinf declaration... " >&6; }
27545 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27546 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27547 $as_echo_n "(cached) " >&6
27548 else
27551 ac_ext=cpp
27552 ac_cpp='$CXXCPP $CPPFLAGS'
27553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27558 /* end confdefs.h. */
27559 #include <math.h>
27560 #ifdef HAVE_IEEEFP_H
27561 #include <ieeefp.h>
27562 #endif
27565 main ()
27567 _isinf(0);
27569 return 0;
27571 _ACEOF
27572 if ac_fn_cxx_try_compile "$LINENO"; then :
27573 glibcxx_cv_func__isinf_use=yes
27574 else
27575 glibcxx_cv_func__isinf_use=no
27577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27578 ac_ext=c
27579 ac_cpp='$CPP $CPPFLAGS'
27580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27589 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27591 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27592 for ac_func in _isinf
27593 do :
27594 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27595 if test "x$ac_cv_func__isinf" = x""yes; then :
27596 cat >>confdefs.h <<_ACEOF
27597 #define HAVE__ISINF 1
27598 _ACEOF
27601 done
27610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27611 $as_echo_n "checking for isnan declaration... " >&6; }
27612 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27613 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27614 $as_echo_n "(cached) " >&6
27615 else
27618 ac_ext=cpp
27619 ac_cpp='$CXXCPP $CPPFLAGS'
27620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27625 /* end confdefs.h. */
27626 #include <math.h>
27627 #ifdef HAVE_IEEEFP_H
27628 #include <ieeefp.h>
27629 #endif
27632 main ()
27634 isnan(0);
27636 return 0;
27638 _ACEOF
27639 if ac_fn_cxx_try_compile "$LINENO"; then :
27640 glibcxx_cv_func_isnan_use=yes
27641 else
27642 glibcxx_cv_func_isnan_use=no
27644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27645 ac_ext=c
27646 ac_cpp='$CPP $CPPFLAGS'
27647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27656 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27658 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27659 for ac_func in isnan
27660 do :
27661 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27662 if test "x$ac_cv_func_isnan" = x""yes; then :
27663 cat >>confdefs.h <<_ACEOF
27664 #define HAVE_ISNAN 1
27665 _ACEOF
27668 done
27670 else
27672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27673 $as_echo_n "checking for _isnan declaration... " >&6; }
27674 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27675 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27676 $as_echo_n "(cached) " >&6
27677 else
27680 ac_ext=cpp
27681 ac_cpp='$CXXCPP $CPPFLAGS'
27682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27687 /* end confdefs.h. */
27688 #include <math.h>
27689 #ifdef HAVE_IEEEFP_H
27690 #include <ieeefp.h>
27691 #endif
27694 main ()
27696 _isnan(0);
27698 return 0;
27700 _ACEOF
27701 if ac_fn_cxx_try_compile "$LINENO"; then :
27702 glibcxx_cv_func__isnan_use=yes
27703 else
27704 glibcxx_cv_func__isnan_use=no
27706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27707 ac_ext=c
27708 ac_cpp='$CPP $CPPFLAGS'
27709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27718 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27720 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27721 for ac_func in _isnan
27722 do :
27723 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27724 if test "x$ac_cv_func__isnan" = x""yes; then :
27725 cat >>confdefs.h <<_ACEOF
27726 #define HAVE__ISNAN 1
27727 _ACEOF
27730 done
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27740 $as_echo_n "checking for finite declaration... " >&6; }
27741 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27742 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27743 $as_echo_n "(cached) " >&6
27744 else
27747 ac_ext=cpp
27748 ac_cpp='$CXXCPP $CPPFLAGS'
27749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27754 /* end confdefs.h. */
27755 #include <math.h>
27756 #ifdef HAVE_IEEEFP_H
27757 #include <ieeefp.h>
27758 #endif
27761 main ()
27763 finite(0);
27765 return 0;
27767 _ACEOF
27768 if ac_fn_cxx_try_compile "$LINENO"; then :
27769 glibcxx_cv_func_finite_use=yes
27770 else
27771 glibcxx_cv_func_finite_use=no
27773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27774 ac_ext=c
27775 ac_cpp='$CPP $CPPFLAGS'
27776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27785 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27787 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27788 for ac_func in finite
27789 do :
27790 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27791 if test "x$ac_cv_func_finite" = x""yes; then :
27792 cat >>confdefs.h <<_ACEOF
27793 #define HAVE_FINITE 1
27794 _ACEOF
27797 done
27799 else
27801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27802 $as_echo_n "checking for _finite declaration... " >&6; }
27803 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27804 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27805 $as_echo_n "(cached) " >&6
27806 else
27809 ac_ext=cpp
27810 ac_cpp='$CXXCPP $CPPFLAGS'
27811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27816 /* end confdefs.h. */
27817 #include <math.h>
27818 #ifdef HAVE_IEEEFP_H
27819 #include <ieeefp.h>
27820 #endif
27823 main ()
27825 _finite(0);
27827 return 0;
27829 _ACEOF
27830 if ac_fn_cxx_try_compile "$LINENO"; then :
27831 glibcxx_cv_func__finite_use=yes
27832 else
27833 glibcxx_cv_func__finite_use=no
27835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27836 ac_ext=c
27837 ac_cpp='$CPP $CPPFLAGS'
27838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27847 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27849 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27850 for ac_func in _finite
27851 do :
27852 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27853 if test "x$ac_cv_func__finite" = x""yes; then :
27854 cat >>confdefs.h <<_ACEOF
27855 #define HAVE__FINITE 1
27856 _ACEOF
27859 done
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27869 $as_echo_n "checking for sincos declaration... " >&6; }
27870 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27871 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27872 $as_echo_n "(cached) " >&6
27873 else
27876 ac_ext=cpp
27877 ac_cpp='$CXXCPP $CPPFLAGS'
27878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27883 /* end confdefs.h. */
27884 #include <math.h>
27886 main ()
27888 sincos(0, 0, 0);
27890 return 0;
27892 _ACEOF
27893 if ac_fn_cxx_try_compile "$LINENO"; then :
27894 glibcxx_cv_func_sincos_use=yes
27895 else
27896 glibcxx_cv_func_sincos_use=no
27898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27899 ac_ext=c
27900 ac_cpp='$CPP $CPPFLAGS'
27901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27910 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27912 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27913 for ac_func in sincos
27914 do :
27915 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27916 if test "x$ac_cv_func_sincos" = x""yes; then :
27917 cat >>confdefs.h <<_ACEOF
27918 #define HAVE_SINCOS 1
27919 _ACEOF
27922 done
27924 else
27926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27927 $as_echo_n "checking for _sincos declaration... " >&6; }
27928 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27929 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27930 $as_echo_n "(cached) " >&6
27931 else
27934 ac_ext=cpp
27935 ac_cpp='$CXXCPP $CPPFLAGS'
27936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27941 /* end confdefs.h. */
27942 #include <math.h>
27944 main ()
27946 _sincos(0, 0, 0);
27948 return 0;
27950 _ACEOF
27951 if ac_fn_cxx_try_compile "$LINENO"; then :
27952 glibcxx_cv_func__sincos_use=yes
27953 else
27954 glibcxx_cv_func__sincos_use=no
27956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27957 ac_ext=c
27958 ac_cpp='$CPP $CPPFLAGS'
27959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27968 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27970 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27971 for ac_func in _sincos
27972 do :
27973 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27974 if test "x$ac_cv_func__sincos" = x""yes; then :
27975 cat >>confdefs.h <<_ACEOF
27976 #define HAVE__SINCOS 1
27977 _ACEOF
27980 done
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27990 $as_echo_n "checking for fpclass declaration... " >&6; }
27991 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27992 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27993 $as_echo_n "(cached) " >&6
27994 else
27997 ac_ext=cpp
27998 ac_cpp='$CXXCPP $CPPFLAGS'
27999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28004 /* end confdefs.h. */
28005 #include <math.h>
28006 #ifdef HAVE_IEEEFP_H
28007 #include <ieeefp.h>
28008 #endif
28011 main ()
28013 fpclass(0);
28015 return 0;
28017 _ACEOF
28018 if ac_fn_cxx_try_compile "$LINENO"; then :
28019 glibcxx_cv_func_fpclass_use=yes
28020 else
28021 glibcxx_cv_func_fpclass_use=no
28023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28024 ac_ext=c
28025 ac_cpp='$CPP $CPPFLAGS'
28026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28035 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28037 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28038 for ac_func in fpclass
28039 do :
28040 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28041 if test "x$ac_cv_func_fpclass" = x""yes; then :
28042 cat >>confdefs.h <<_ACEOF
28043 #define HAVE_FPCLASS 1
28044 _ACEOF
28047 done
28049 else
28051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28052 $as_echo_n "checking for _fpclass declaration... " >&6; }
28053 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28054 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28055 $as_echo_n "(cached) " >&6
28056 else
28059 ac_ext=cpp
28060 ac_cpp='$CXXCPP $CPPFLAGS'
28061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28066 /* end confdefs.h. */
28067 #include <math.h>
28068 #ifdef HAVE_IEEEFP_H
28069 #include <ieeefp.h>
28070 #endif
28073 main ()
28075 _fpclass(0);
28077 return 0;
28079 _ACEOF
28080 if ac_fn_cxx_try_compile "$LINENO"; then :
28081 glibcxx_cv_func__fpclass_use=yes
28082 else
28083 glibcxx_cv_func__fpclass_use=no
28085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28086 ac_ext=c
28087 ac_cpp='$CPP $CPPFLAGS'
28088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28097 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28099 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28100 for ac_func in _fpclass
28101 do :
28102 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28103 if test "x$ac_cv_func__fpclass" = x""yes; then :
28104 cat >>confdefs.h <<_ACEOF
28105 #define HAVE__FPCLASS 1
28106 _ACEOF
28109 done
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28119 $as_echo_n "checking for qfpclass declaration... " >&6; }
28120 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28121 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28122 $as_echo_n "(cached) " >&6
28123 else
28126 ac_ext=cpp
28127 ac_cpp='$CXXCPP $CPPFLAGS'
28128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28133 /* end confdefs.h. */
28134 #include <math.h>
28135 #ifdef HAVE_IEEEFP_H
28136 #include <ieeefp.h>
28137 #endif
28140 main ()
28142 qfpclass(0);
28144 return 0;
28146 _ACEOF
28147 if ac_fn_cxx_try_compile "$LINENO"; then :
28148 glibcxx_cv_func_qfpclass_use=yes
28149 else
28150 glibcxx_cv_func_qfpclass_use=no
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 ac_ext=c
28154 ac_cpp='$CPP $CPPFLAGS'
28155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28164 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28166 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28167 for ac_func in qfpclass
28168 do :
28169 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28170 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28171 cat >>confdefs.h <<_ACEOF
28172 #define HAVE_QFPCLASS 1
28173 _ACEOF
28176 done
28178 else
28180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28181 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28182 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28183 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28184 $as_echo_n "(cached) " >&6
28185 else
28188 ac_ext=cpp
28189 ac_cpp='$CXXCPP $CPPFLAGS'
28190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28195 /* end confdefs.h. */
28196 #include <math.h>
28197 #ifdef HAVE_IEEEFP_H
28198 #include <ieeefp.h>
28199 #endif
28202 main ()
28204 _qfpclass(0);
28206 return 0;
28208 _ACEOF
28209 if ac_fn_cxx_try_compile "$LINENO"; then :
28210 glibcxx_cv_func__qfpclass_use=yes
28211 else
28212 glibcxx_cv_func__qfpclass_use=no
28214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28215 ac_ext=c
28216 ac_cpp='$CPP $CPPFLAGS'
28217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28226 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28228 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28229 for ac_func in _qfpclass
28230 do :
28231 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28232 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28233 cat >>confdefs.h <<_ACEOF
28234 #define HAVE__QFPCLASS 1
28235 _ACEOF
28238 done
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28248 $as_echo_n "checking for hypot declaration... " >&6; }
28249 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28250 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28251 $as_echo_n "(cached) " >&6
28252 else
28255 ac_ext=cpp
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28262 /* end confdefs.h. */
28263 #include <math.h>
28265 main ()
28267 hypot(0, 0);
28269 return 0;
28271 _ACEOF
28272 if ac_fn_cxx_try_compile "$LINENO"; then :
28273 glibcxx_cv_func_hypot_use=yes
28274 else
28275 glibcxx_cv_func_hypot_use=no
28277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28278 ac_ext=c
28279 ac_cpp='$CPP $CPPFLAGS'
28280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28289 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28291 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28292 for ac_func in hypot
28293 do :
28294 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28295 if test "x$ac_cv_func_hypot" = x""yes; then :
28296 cat >>confdefs.h <<_ACEOF
28297 #define HAVE_HYPOT 1
28298 _ACEOF
28301 done
28303 else
28305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28306 $as_echo_n "checking for _hypot declaration... " >&6; }
28307 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28308 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28309 $as_echo_n "(cached) " >&6
28310 else
28313 ac_ext=cpp
28314 ac_cpp='$CXXCPP $CPPFLAGS'
28315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28320 /* end confdefs.h. */
28321 #include <math.h>
28323 main ()
28325 _hypot(0, 0);
28327 return 0;
28329 _ACEOF
28330 if ac_fn_cxx_try_compile "$LINENO"; then :
28331 glibcxx_cv_func__hypot_use=yes
28332 else
28333 glibcxx_cv_func__hypot_use=no
28335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28336 ac_ext=c
28337 ac_cpp='$CPP $CPPFLAGS'
28338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28347 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28349 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28350 for ac_func in _hypot
28351 do :
28352 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28353 if test "x$ac_cv_func__hypot" = x""yes; then :
28354 cat >>confdefs.h <<_ACEOF
28355 #define HAVE__HYPOT 1
28356 _ACEOF
28359 done
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28369 $as_echo_n "checking for float trig functions... " >&6; }
28370 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28371 $as_echo_n "(cached) " >&6
28372 else
28375 ac_ext=cpp
28376 ac_cpp='$CXXCPP $CPPFLAGS'
28377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28382 /* end confdefs.h. */
28383 #include <math.h>
28385 main ()
28387 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28389 return 0;
28391 _ACEOF
28392 if ac_fn_cxx_try_compile "$LINENO"; then :
28393 glibcxx_cv_func_float_trig_use=yes
28394 else
28395 glibcxx_cv_func_float_trig_use=no
28397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28398 ac_ext=c
28399 ac_cpp='$CPP $CPPFLAGS'
28400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28407 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28408 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28409 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28410 do :
28411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28413 eval as_val=\$$as_ac_var
28414 if test "x$as_val" = x""yes; then :
28415 cat >>confdefs.h <<_ACEOF
28416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28417 _ACEOF
28420 done
28422 else
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28424 $as_echo_n "checking for _float trig functions... " >&6; }
28425 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28426 $as_echo_n "(cached) " >&6
28427 else
28430 ac_ext=cpp
28431 ac_cpp='$CXXCPP $CPPFLAGS'
28432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28437 /* end confdefs.h. */
28438 #include <math.h>
28440 main ()
28442 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28444 return 0;
28446 _ACEOF
28447 if ac_fn_cxx_try_compile "$LINENO"; then :
28448 glibcxx_cv_func__float_trig_use=yes
28449 else
28450 glibcxx_cv_func__float_trig_use=no
28452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28453 ac_ext=c
28454 ac_cpp='$CPP $CPPFLAGS'
28455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28462 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28463 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28464 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28465 do :
28466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28468 eval as_val=\$$as_ac_var
28469 if test "x$as_val" = x""yes; then :
28470 cat >>confdefs.h <<_ACEOF
28471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28472 _ACEOF
28475 done
28484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28485 $as_echo_n "checking for float round functions... " >&6; }
28486 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28487 $as_echo_n "(cached) " >&6
28488 else
28491 ac_ext=cpp
28492 ac_cpp='$CXXCPP $CPPFLAGS'
28493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28498 /* end confdefs.h. */
28499 #include <math.h>
28501 main ()
28503 ceilf (0); floorf (0);
28505 return 0;
28507 _ACEOF
28508 if ac_fn_cxx_try_compile "$LINENO"; then :
28509 glibcxx_cv_func_float_round_use=yes
28510 else
28511 glibcxx_cv_func_float_round_use=no
28513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28514 ac_ext=c
28515 ac_cpp='$CPP $CPPFLAGS'
28516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28523 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28524 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28525 for ac_func in ceilf floorf
28526 do :
28527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28529 eval as_val=\$$as_ac_var
28530 if test "x$as_val" = x""yes; then :
28531 cat >>confdefs.h <<_ACEOF
28532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28533 _ACEOF
28536 done
28538 else
28539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28540 $as_echo_n "checking for _float round functions... " >&6; }
28541 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28542 $as_echo_n "(cached) " >&6
28543 else
28546 ac_ext=cpp
28547 ac_cpp='$CXXCPP $CPPFLAGS'
28548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28553 /* end confdefs.h. */
28554 #include <math.h>
28556 main ()
28558 _ceilf (0); _floorf (0);
28560 return 0;
28562 _ACEOF
28563 if ac_fn_cxx_try_compile "$LINENO"; then :
28564 glibcxx_cv_func__float_round_use=yes
28565 else
28566 glibcxx_cv_func__float_round_use=no
28568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28569 ac_ext=c
28570 ac_cpp='$CPP $CPPFLAGS'
28571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28578 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28579 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28580 for ac_func in _ceilf _floorf
28581 do :
28582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28584 eval as_val=\$$as_ac_var
28585 if test "x$as_val" = x""yes; then :
28586 cat >>confdefs.h <<_ACEOF
28587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28588 _ACEOF
28591 done
28601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28602 $as_echo_n "checking for expf declaration... " >&6; }
28603 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28604 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28605 $as_echo_n "(cached) " >&6
28606 else
28609 ac_ext=cpp
28610 ac_cpp='$CXXCPP $CPPFLAGS'
28611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28616 /* end confdefs.h. */
28617 #include <math.h>
28618 #ifdef HAVE_IEEEFP_H
28619 #include <ieeefp.h>
28620 #endif
28623 main ()
28625 expf(0);
28627 return 0;
28629 _ACEOF
28630 if ac_fn_cxx_try_compile "$LINENO"; then :
28631 glibcxx_cv_func_expf_use=yes
28632 else
28633 glibcxx_cv_func_expf_use=no
28635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28636 ac_ext=c
28637 ac_cpp='$CPP $CPPFLAGS'
28638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28647 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28649 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28650 for ac_func in expf
28651 do :
28652 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28653 if test "x$ac_cv_func_expf" = x""yes; then :
28654 cat >>confdefs.h <<_ACEOF
28655 #define HAVE_EXPF 1
28656 _ACEOF
28659 done
28661 else
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28664 $as_echo_n "checking for _expf declaration... " >&6; }
28665 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28666 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28667 $as_echo_n "(cached) " >&6
28668 else
28671 ac_ext=cpp
28672 ac_cpp='$CXXCPP $CPPFLAGS'
28673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28678 /* end confdefs.h. */
28679 #include <math.h>
28680 #ifdef HAVE_IEEEFP_H
28681 #include <ieeefp.h>
28682 #endif
28685 main ()
28687 _expf(0);
28689 return 0;
28691 _ACEOF
28692 if ac_fn_cxx_try_compile "$LINENO"; then :
28693 glibcxx_cv_func__expf_use=yes
28694 else
28695 glibcxx_cv_func__expf_use=no
28697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28698 ac_ext=c
28699 ac_cpp='$CPP $CPPFLAGS'
28700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28709 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28711 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28712 for ac_func in _expf
28713 do :
28714 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28715 if test "x$ac_cv_func__expf" = x""yes; then :
28716 cat >>confdefs.h <<_ACEOF
28717 #define HAVE__EXPF 1
28718 _ACEOF
28721 done
28730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28731 $as_echo_n "checking for isnanf declaration... " >&6; }
28732 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28733 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28734 $as_echo_n "(cached) " >&6
28735 else
28738 ac_ext=cpp
28739 ac_cpp='$CXXCPP $CPPFLAGS'
28740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28745 /* end confdefs.h. */
28746 #include <math.h>
28747 #ifdef HAVE_IEEEFP_H
28748 #include <ieeefp.h>
28749 #endif
28752 main ()
28754 isnanf(0);
28756 return 0;
28758 _ACEOF
28759 if ac_fn_cxx_try_compile "$LINENO"; then :
28760 glibcxx_cv_func_isnanf_use=yes
28761 else
28762 glibcxx_cv_func_isnanf_use=no
28764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28765 ac_ext=c
28766 ac_cpp='$CPP $CPPFLAGS'
28767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28776 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28778 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28779 for ac_func in isnanf
28780 do :
28781 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28782 if test "x$ac_cv_func_isnanf" = x""yes; then :
28783 cat >>confdefs.h <<_ACEOF
28784 #define HAVE_ISNANF 1
28785 _ACEOF
28788 done
28790 else
28792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28793 $as_echo_n "checking for _isnanf declaration... " >&6; }
28794 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28795 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28796 $as_echo_n "(cached) " >&6
28797 else
28800 ac_ext=cpp
28801 ac_cpp='$CXXCPP $CPPFLAGS'
28802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28807 /* end confdefs.h. */
28808 #include <math.h>
28809 #ifdef HAVE_IEEEFP_H
28810 #include <ieeefp.h>
28811 #endif
28814 main ()
28816 _isnanf(0);
28818 return 0;
28820 _ACEOF
28821 if ac_fn_cxx_try_compile "$LINENO"; then :
28822 glibcxx_cv_func__isnanf_use=yes
28823 else
28824 glibcxx_cv_func__isnanf_use=no
28826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28827 ac_ext=c
28828 ac_cpp='$CPP $CPPFLAGS'
28829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28838 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28840 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28841 for ac_func in _isnanf
28842 do :
28843 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28844 if test "x$ac_cv_func__isnanf" = x""yes; then :
28845 cat >>confdefs.h <<_ACEOF
28846 #define HAVE__ISNANF 1
28847 _ACEOF
28850 done
28859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28860 $as_echo_n "checking for isinff declaration... " >&6; }
28861 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28862 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28863 $as_echo_n "(cached) " >&6
28864 else
28867 ac_ext=cpp
28868 ac_cpp='$CXXCPP $CPPFLAGS'
28869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28874 /* end confdefs.h. */
28875 #include <math.h>
28876 #ifdef HAVE_IEEEFP_H
28877 #include <ieeefp.h>
28878 #endif
28881 main ()
28883 isinff(0);
28885 return 0;
28887 _ACEOF
28888 if ac_fn_cxx_try_compile "$LINENO"; then :
28889 glibcxx_cv_func_isinff_use=yes
28890 else
28891 glibcxx_cv_func_isinff_use=no
28893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28894 ac_ext=c
28895 ac_cpp='$CPP $CPPFLAGS'
28896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28905 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28907 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28908 for ac_func in isinff
28909 do :
28910 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28911 if test "x$ac_cv_func_isinff" = x""yes; then :
28912 cat >>confdefs.h <<_ACEOF
28913 #define HAVE_ISINFF 1
28914 _ACEOF
28917 done
28919 else
28921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28922 $as_echo_n "checking for _isinff declaration... " >&6; }
28923 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28924 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28925 $as_echo_n "(cached) " >&6
28926 else
28929 ac_ext=cpp
28930 ac_cpp='$CXXCPP $CPPFLAGS'
28931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28936 /* end confdefs.h. */
28937 #include <math.h>
28938 #ifdef HAVE_IEEEFP_H
28939 #include <ieeefp.h>
28940 #endif
28943 main ()
28945 _isinff(0);
28947 return 0;
28949 _ACEOF
28950 if ac_fn_cxx_try_compile "$LINENO"; then :
28951 glibcxx_cv_func__isinff_use=yes
28952 else
28953 glibcxx_cv_func__isinff_use=no
28955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28956 ac_ext=c
28957 ac_cpp='$CPP $CPPFLAGS'
28958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28967 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28969 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28970 for ac_func in _isinff
28971 do :
28972 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28973 if test "x$ac_cv_func__isinff" = x""yes; then :
28974 cat >>confdefs.h <<_ACEOF
28975 #define HAVE__ISINFF 1
28976 _ACEOF
28979 done
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28989 $as_echo_n "checking for atan2f declaration... " >&6; }
28990 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28991 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28992 $as_echo_n "(cached) " >&6
28993 else
28996 ac_ext=cpp
28997 ac_cpp='$CXXCPP $CPPFLAGS'
28998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29003 /* end confdefs.h. */
29004 #include <math.h>
29006 main ()
29008 atan2f(0, 0);
29010 return 0;
29012 _ACEOF
29013 if ac_fn_cxx_try_compile "$LINENO"; then :
29014 glibcxx_cv_func_atan2f_use=yes
29015 else
29016 glibcxx_cv_func_atan2f_use=no
29018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29019 ac_ext=c
29020 ac_cpp='$CPP $CPPFLAGS'
29021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29030 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29032 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29033 for ac_func in atan2f
29034 do :
29035 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29036 if test "x$ac_cv_func_atan2f" = x""yes; then :
29037 cat >>confdefs.h <<_ACEOF
29038 #define HAVE_ATAN2F 1
29039 _ACEOF
29042 done
29044 else
29046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29047 $as_echo_n "checking for _atan2f declaration... " >&6; }
29048 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29049 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29050 $as_echo_n "(cached) " >&6
29051 else
29054 ac_ext=cpp
29055 ac_cpp='$CXXCPP $CPPFLAGS'
29056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29061 /* end confdefs.h. */
29062 #include <math.h>
29064 main ()
29066 _atan2f(0, 0);
29068 return 0;
29070 _ACEOF
29071 if ac_fn_cxx_try_compile "$LINENO"; then :
29072 glibcxx_cv_func__atan2f_use=yes
29073 else
29074 glibcxx_cv_func__atan2f_use=no
29076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29077 ac_ext=c
29078 ac_cpp='$CPP $CPPFLAGS'
29079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29088 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29090 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29091 for ac_func in _atan2f
29092 do :
29093 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29094 if test "x$ac_cv_func__atan2f" = x""yes; then :
29095 cat >>confdefs.h <<_ACEOF
29096 #define HAVE__ATAN2F 1
29097 _ACEOF
29100 done
29109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29110 $as_echo_n "checking for fabsf declaration... " >&6; }
29111 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29112 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29113 $as_echo_n "(cached) " >&6
29114 else
29117 ac_ext=cpp
29118 ac_cpp='$CXXCPP $CPPFLAGS'
29119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29124 /* end confdefs.h. */
29125 #include <math.h>
29126 #ifdef HAVE_IEEEFP_H
29127 #include <ieeefp.h>
29128 #endif
29131 main ()
29133 fabsf(0);
29135 return 0;
29137 _ACEOF
29138 if ac_fn_cxx_try_compile "$LINENO"; then :
29139 glibcxx_cv_func_fabsf_use=yes
29140 else
29141 glibcxx_cv_func_fabsf_use=no
29143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29144 ac_ext=c
29145 ac_cpp='$CPP $CPPFLAGS'
29146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29155 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29157 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29158 for ac_func in fabsf
29159 do :
29160 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29161 if test "x$ac_cv_func_fabsf" = x""yes; then :
29162 cat >>confdefs.h <<_ACEOF
29163 #define HAVE_FABSF 1
29164 _ACEOF
29167 done
29169 else
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29172 $as_echo_n "checking for _fabsf declaration... " >&6; }
29173 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29174 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29175 $as_echo_n "(cached) " >&6
29176 else
29179 ac_ext=cpp
29180 ac_cpp='$CXXCPP $CPPFLAGS'
29181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29186 /* end confdefs.h. */
29187 #include <math.h>
29188 #ifdef HAVE_IEEEFP_H
29189 #include <ieeefp.h>
29190 #endif
29193 main ()
29195 _fabsf(0);
29197 return 0;
29199 _ACEOF
29200 if ac_fn_cxx_try_compile "$LINENO"; then :
29201 glibcxx_cv_func__fabsf_use=yes
29202 else
29203 glibcxx_cv_func__fabsf_use=no
29205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29206 ac_ext=c
29207 ac_cpp='$CPP $CPPFLAGS'
29208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29217 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29219 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29220 for ac_func in _fabsf
29221 do :
29222 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29223 if test "x$ac_cv_func__fabsf" = x""yes; then :
29224 cat >>confdefs.h <<_ACEOF
29225 #define HAVE__FABSF 1
29226 _ACEOF
29229 done
29238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29239 $as_echo_n "checking for fmodf declaration... " >&6; }
29240 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29241 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29242 $as_echo_n "(cached) " >&6
29243 else
29246 ac_ext=cpp
29247 ac_cpp='$CXXCPP $CPPFLAGS'
29248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29253 /* end confdefs.h. */
29254 #include <math.h>
29256 main ()
29258 fmodf(0, 0);
29260 return 0;
29262 _ACEOF
29263 if ac_fn_cxx_try_compile "$LINENO"; then :
29264 glibcxx_cv_func_fmodf_use=yes
29265 else
29266 glibcxx_cv_func_fmodf_use=no
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29269 ac_ext=c
29270 ac_cpp='$CPP $CPPFLAGS'
29271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29280 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29282 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29283 for ac_func in fmodf
29284 do :
29285 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29286 if test "x$ac_cv_func_fmodf" = x""yes; then :
29287 cat >>confdefs.h <<_ACEOF
29288 #define HAVE_FMODF 1
29289 _ACEOF
29292 done
29294 else
29296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29297 $as_echo_n "checking for _fmodf declaration... " >&6; }
29298 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29299 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29300 $as_echo_n "(cached) " >&6
29301 else
29304 ac_ext=cpp
29305 ac_cpp='$CXXCPP $CPPFLAGS'
29306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29311 /* end confdefs.h. */
29312 #include <math.h>
29314 main ()
29316 _fmodf(0, 0);
29318 return 0;
29320 _ACEOF
29321 if ac_fn_cxx_try_compile "$LINENO"; then :
29322 glibcxx_cv_func__fmodf_use=yes
29323 else
29324 glibcxx_cv_func__fmodf_use=no
29326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29327 ac_ext=c
29328 ac_cpp='$CPP $CPPFLAGS'
29329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29338 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29340 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29341 for ac_func in _fmodf
29342 do :
29343 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29344 if test "x$ac_cv_func__fmodf" = x""yes; then :
29345 cat >>confdefs.h <<_ACEOF
29346 #define HAVE__FMODF 1
29347 _ACEOF
29350 done
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29360 $as_echo_n "checking for frexpf declaration... " >&6; }
29361 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29362 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29363 $as_echo_n "(cached) " >&6
29364 else
29367 ac_ext=cpp
29368 ac_cpp='$CXXCPP $CPPFLAGS'
29369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29374 /* end confdefs.h. */
29375 #include <math.h>
29377 main ()
29379 frexpf(0, 0);
29381 return 0;
29383 _ACEOF
29384 if ac_fn_cxx_try_compile "$LINENO"; then :
29385 glibcxx_cv_func_frexpf_use=yes
29386 else
29387 glibcxx_cv_func_frexpf_use=no
29389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390 ac_ext=c
29391 ac_cpp='$CPP $CPPFLAGS'
29392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29401 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29403 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29404 for ac_func in frexpf
29405 do :
29406 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29407 if test "x$ac_cv_func_frexpf" = x""yes; then :
29408 cat >>confdefs.h <<_ACEOF
29409 #define HAVE_FREXPF 1
29410 _ACEOF
29413 done
29415 else
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29418 $as_echo_n "checking for _frexpf declaration... " >&6; }
29419 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29420 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29421 $as_echo_n "(cached) " >&6
29422 else
29425 ac_ext=cpp
29426 ac_cpp='$CXXCPP $CPPFLAGS'
29427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29432 /* end confdefs.h. */
29433 #include <math.h>
29435 main ()
29437 _frexpf(0, 0);
29439 return 0;
29441 _ACEOF
29442 if ac_fn_cxx_try_compile "$LINENO"; then :
29443 glibcxx_cv_func__frexpf_use=yes
29444 else
29445 glibcxx_cv_func__frexpf_use=no
29447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29448 ac_ext=c
29449 ac_cpp='$CPP $CPPFLAGS'
29450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29459 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29461 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29462 for ac_func in _frexpf
29463 do :
29464 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29465 if test "x$ac_cv_func__frexpf" = x""yes; then :
29466 cat >>confdefs.h <<_ACEOF
29467 #define HAVE__FREXPF 1
29468 _ACEOF
29471 done
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29481 $as_echo_n "checking for hypotf declaration... " >&6; }
29482 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29483 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29484 $as_echo_n "(cached) " >&6
29485 else
29488 ac_ext=cpp
29489 ac_cpp='$CXXCPP $CPPFLAGS'
29490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29495 /* end confdefs.h. */
29496 #include <math.h>
29498 main ()
29500 hypotf(0, 0);
29502 return 0;
29504 _ACEOF
29505 if ac_fn_cxx_try_compile "$LINENO"; then :
29506 glibcxx_cv_func_hypotf_use=yes
29507 else
29508 glibcxx_cv_func_hypotf_use=no
29510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29511 ac_ext=c
29512 ac_cpp='$CPP $CPPFLAGS'
29513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29522 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29524 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29525 for ac_func in hypotf
29526 do :
29527 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29528 if test "x$ac_cv_func_hypotf" = x""yes; then :
29529 cat >>confdefs.h <<_ACEOF
29530 #define HAVE_HYPOTF 1
29531 _ACEOF
29534 done
29536 else
29538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29539 $as_echo_n "checking for _hypotf declaration... " >&6; }
29540 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29541 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29542 $as_echo_n "(cached) " >&6
29543 else
29546 ac_ext=cpp
29547 ac_cpp='$CXXCPP $CPPFLAGS'
29548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29553 /* end confdefs.h. */
29554 #include <math.h>
29556 main ()
29558 _hypotf(0, 0);
29560 return 0;
29562 _ACEOF
29563 if ac_fn_cxx_try_compile "$LINENO"; then :
29564 glibcxx_cv_func__hypotf_use=yes
29565 else
29566 glibcxx_cv_func__hypotf_use=no
29568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29569 ac_ext=c
29570 ac_cpp='$CPP $CPPFLAGS'
29571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29580 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29582 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29583 for ac_func in _hypotf
29584 do :
29585 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29586 if test "x$ac_cv_func__hypotf" = x""yes; then :
29587 cat >>confdefs.h <<_ACEOF
29588 #define HAVE__HYPOTF 1
29589 _ACEOF
29592 done
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29602 $as_echo_n "checking for ldexpf declaration... " >&6; }
29603 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29604 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29605 $as_echo_n "(cached) " >&6
29606 else
29609 ac_ext=cpp
29610 ac_cpp='$CXXCPP $CPPFLAGS'
29611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29616 /* end confdefs.h. */
29617 #include <math.h>
29619 main ()
29621 ldexpf(0, 0);
29623 return 0;
29625 _ACEOF
29626 if ac_fn_cxx_try_compile "$LINENO"; then :
29627 glibcxx_cv_func_ldexpf_use=yes
29628 else
29629 glibcxx_cv_func_ldexpf_use=no
29631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29632 ac_ext=c
29633 ac_cpp='$CPP $CPPFLAGS'
29634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29643 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29645 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29646 for ac_func in ldexpf
29647 do :
29648 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29649 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29650 cat >>confdefs.h <<_ACEOF
29651 #define HAVE_LDEXPF 1
29652 _ACEOF
29655 done
29657 else
29659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29660 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29661 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29662 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29663 $as_echo_n "(cached) " >&6
29664 else
29667 ac_ext=cpp
29668 ac_cpp='$CXXCPP $CPPFLAGS'
29669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29674 /* end confdefs.h. */
29675 #include <math.h>
29677 main ()
29679 _ldexpf(0, 0);
29681 return 0;
29683 _ACEOF
29684 if ac_fn_cxx_try_compile "$LINENO"; then :
29685 glibcxx_cv_func__ldexpf_use=yes
29686 else
29687 glibcxx_cv_func__ldexpf_use=no
29689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29690 ac_ext=c
29691 ac_cpp='$CPP $CPPFLAGS'
29692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29701 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29703 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29704 for ac_func in _ldexpf
29705 do :
29706 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29707 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29708 cat >>confdefs.h <<_ACEOF
29709 #define HAVE__LDEXPF 1
29710 _ACEOF
29713 done
29722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29723 $as_echo_n "checking for logf declaration... " >&6; }
29724 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29725 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29726 $as_echo_n "(cached) " >&6
29727 else
29730 ac_ext=cpp
29731 ac_cpp='$CXXCPP $CPPFLAGS'
29732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29737 /* end confdefs.h. */
29738 #include <math.h>
29739 #ifdef HAVE_IEEEFP_H
29740 #include <ieeefp.h>
29741 #endif
29744 main ()
29746 logf(0);
29748 return 0;
29750 _ACEOF
29751 if ac_fn_cxx_try_compile "$LINENO"; then :
29752 glibcxx_cv_func_logf_use=yes
29753 else
29754 glibcxx_cv_func_logf_use=no
29756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29757 ac_ext=c
29758 ac_cpp='$CPP $CPPFLAGS'
29759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29768 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29770 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29771 for ac_func in logf
29772 do :
29773 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29774 if test "x$ac_cv_func_logf" = x""yes; then :
29775 cat >>confdefs.h <<_ACEOF
29776 #define HAVE_LOGF 1
29777 _ACEOF
29780 done
29782 else
29784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29785 $as_echo_n "checking for _logf declaration... " >&6; }
29786 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29787 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29788 $as_echo_n "(cached) " >&6
29789 else
29792 ac_ext=cpp
29793 ac_cpp='$CXXCPP $CPPFLAGS'
29794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29799 /* end confdefs.h. */
29800 #include <math.h>
29801 #ifdef HAVE_IEEEFP_H
29802 #include <ieeefp.h>
29803 #endif
29806 main ()
29808 _logf(0);
29810 return 0;
29812 _ACEOF
29813 if ac_fn_cxx_try_compile "$LINENO"; then :
29814 glibcxx_cv_func__logf_use=yes
29815 else
29816 glibcxx_cv_func__logf_use=no
29818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29819 ac_ext=c
29820 ac_cpp='$CPP $CPPFLAGS'
29821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29830 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29832 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29833 for ac_func in _logf
29834 do :
29835 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29836 if test "x$ac_cv_func__logf" = x""yes; then :
29837 cat >>confdefs.h <<_ACEOF
29838 #define HAVE__LOGF 1
29839 _ACEOF
29842 done
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29852 $as_echo_n "checking for log10f declaration... " >&6; }
29853 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29854 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29855 $as_echo_n "(cached) " >&6
29856 else
29859 ac_ext=cpp
29860 ac_cpp='$CXXCPP $CPPFLAGS'
29861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h. */
29867 #include <math.h>
29868 #ifdef HAVE_IEEEFP_H
29869 #include <ieeefp.h>
29870 #endif
29873 main ()
29875 log10f(0);
29877 return 0;
29879 _ACEOF
29880 if ac_fn_cxx_try_compile "$LINENO"; then :
29881 glibcxx_cv_func_log10f_use=yes
29882 else
29883 glibcxx_cv_func_log10f_use=no
29885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29886 ac_ext=c
29887 ac_cpp='$CPP $CPPFLAGS'
29888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29897 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29899 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29900 for ac_func in log10f
29901 do :
29902 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29903 if test "x$ac_cv_func_log10f" = x""yes; then :
29904 cat >>confdefs.h <<_ACEOF
29905 #define HAVE_LOG10F 1
29906 _ACEOF
29909 done
29911 else
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29914 $as_echo_n "checking for _log10f declaration... " >&6; }
29915 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29916 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29917 $as_echo_n "(cached) " >&6
29918 else
29921 ac_ext=cpp
29922 ac_cpp='$CXXCPP $CPPFLAGS'
29923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29928 /* end confdefs.h. */
29929 #include <math.h>
29930 #ifdef HAVE_IEEEFP_H
29931 #include <ieeefp.h>
29932 #endif
29935 main ()
29937 _log10f(0);
29939 return 0;
29941 _ACEOF
29942 if ac_fn_cxx_try_compile "$LINENO"; then :
29943 glibcxx_cv_func__log10f_use=yes
29944 else
29945 glibcxx_cv_func__log10f_use=no
29947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29948 ac_ext=c
29949 ac_cpp='$CPP $CPPFLAGS'
29950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29959 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29961 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29962 for ac_func in _log10f
29963 do :
29964 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29965 if test "x$ac_cv_func__log10f" = x""yes; then :
29966 cat >>confdefs.h <<_ACEOF
29967 #define HAVE__LOG10F 1
29968 _ACEOF
29971 done
29980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29981 $as_echo_n "checking for modff declaration... " >&6; }
29982 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29983 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29984 $as_echo_n "(cached) " >&6
29985 else
29988 ac_ext=cpp
29989 ac_cpp='$CXXCPP $CPPFLAGS'
29990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29995 /* end confdefs.h. */
29996 #include <math.h>
29998 main ()
30000 modff(0, 0);
30002 return 0;
30004 _ACEOF
30005 if ac_fn_cxx_try_compile "$LINENO"; then :
30006 glibcxx_cv_func_modff_use=yes
30007 else
30008 glibcxx_cv_func_modff_use=no
30010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30011 ac_ext=c
30012 ac_cpp='$CPP $CPPFLAGS'
30013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30022 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30024 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30025 for ac_func in modff
30026 do :
30027 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30028 if test "x$ac_cv_func_modff" = x""yes; then :
30029 cat >>confdefs.h <<_ACEOF
30030 #define HAVE_MODFF 1
30031 _ACEOF
30034 done
30036 else
30038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30039 $as_echo_n "checking for _modff declaration... " >&6; }
30040 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30041 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30042 $as_echo_n "(cached) " >&6
30043 else
30046 ac_ext=cpp
30047 ac_cpp='$CXXCPP $CPPFLAGS'
30048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30053 /* end confdefs.h. */
30054 #include <math.h>
30056 main ()
30058 _modff(0, 0);
30060 return 0;
30062 _ACEOF
30063 if ac_fn_cxx_try_compile "$LINENO"; then :
30064 glibcxx_cv_func__modff_use=yes
30065 else
30066 glibcxx_cv_func__modff_use=no
30068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30069 ac_ext=c
30070 ac_cpp='$CPP $CPPFLAGS'
30071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30080 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30082 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30083 for ac_func in _modff
30084 do :
30085 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30086 if test "x$ac_cv_func__modff" = x""yes; then :
30087 cat >>confdefs.h <<_ACEOF
30088 #define HAVE__MODFF 1
30089 _ACEOF
30092 done
30101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30102 $as_echo_n "checking for modf declaration... " >&6; }
30103 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30104 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30105 $as_echo_n "(cached) " >&6
30106 else
30109 ac_ext=cpp
30110 ac_cpp='$CXXCPP $CPPFLAGS'
30111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30116 /* end confdefs.h. */
30117 #include <math.h>
30119 main ()
30121 modf(0, 0);
30123 return 0;
30125 _ACEOF
30126 if ac_fn_cxx_try_compile "$LINENO"; then :
30127 glibcxx_cv_func_modf_use=yes
30128 else
30129 glibcxx_cv_func_modf_use=no
30131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30132 ac_ext=c
30133 ac_cpp='$CPP $CPPFLAGS'
30134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30143 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30145 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30146 for ac_func in modf
30147 do :
30148 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30149 if test "x$ac_cv_func_modf" = x""yes; then :
30150 cat >>confdefs.h <<_ACEOF
30151 #define HAVE_MODF 1
30152 _ACEOF
30155 done
30157 else
30159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30160 $as_echo_n "checking for _modf declaration... " >&6; }
30161 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30162 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30163 $as_echo_n "(cached) " >&6
30164 else
30167 ac_ext=cpp
30168 ac_cpp='$CXXCPP $CPPFLAGS'
30169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30174 /* end confdefs.h. */
30175 #include <math.h>
30177 main ()
30179 _modf(0, 0);
30181 return 0;
30183 _ACEOF
30184 if ac_fn_cxx_try_compile "$LINENO"; then :
30185 glibcxx_cv_func__modf_use=yes
30186 else
30187 glibcxx_cv_func__modf_use=no
30189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30190 ac_ext=c
30191 ac_cpp='$CPP $CPPFLAGS'
30192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30201 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30203 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30204 for ac_func in _modf
30205 do :
30206 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30207 if test "x$ac_cv_func__modf" = x""yes; then :
30208 cat >>confdefs.h <<_ACEOF
30209 #define HAVE__MODF 1
30210 _ACEOF
30213 done
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30223 $as_echo_n "checking for powf declaration... " >&6; }
30224 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30225 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30226 $as_echo_n "(cached) " >&6
30227 else
30230 ac_ext=cpp
30231 ac_cpp='$CXXCPP $CPPFLAGS'
30232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30237 /* end confdefs.h. */
30238 #include <math.h>
30240 main ()
30242 powf(0, 0);
30244 return 0;
30246 _ACEOF
30247 if ac_fn_cxx_try_compile "$LINENO"; then :
30248 glibcxx_cv_func_powf_use=yes
30249 else
30250 glibcxx_cv_func_powf_use=no
30252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30253 ac_ext=c
30254 ac_cpp='$CPP $CPPFLAGS'
30255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30264 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30266 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30267 for ac_func in powf
30268 do :
30269 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30270 if test "x$ac_cv_func_powf" = x""yes; then :
30271 cat >>confdefs.h <<_ACEOF
30272 #define HAVE_POWF 1
30273 _ACEOF
30276 done
30278 else
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30281 $as_echo_n "checking for _powf declaration... " >&6; }
30282 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30283 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30284 $as_echo_n "(cached) " >&6
30285 else
30288 ac_ext=cpp
30289 ac_cpp='$CXXCPP $CPPFLAGS'
30290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30295 /* end confdefs.h. */
30296 #include <math.h>
30298 main ()
30300 _powf(0, 0);
30302 return 0;
30304 _ACEOF
30305 if ac_fn_cxx_try_compile "$LINENO"; then :
30306 glibcxx_cv_func__powf_use=yes
30307 else
30308 glibcxx_cv_func__powf_use=no
30310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30311 ac_ext=c
30312 ac_cpp='$CPP $CPPFLAGS'
30313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30322 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30324 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30325 for ac_func in _powf
30326 do :
30327 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30328 if test "x$ac_cv_func__powf" = x""yes; then :
30329 cat >>confdefs.h <<_ACEOF
30330 #define HAVE__POWF 1
30331 _ACEOF
30334 done
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30344 $as_echo_n "checking for sqrtf declaration... " >&6; }
30345 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30346 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30347 $as_echo_n "(cached) " >&6
30348 else
30351 ac_ext=cpp
30352 ac_cpp='$CXXCPP $CPPFLAGS'
30353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30358 /* end confdefs.h. */
30359 #include <math.h>
30360 #ifdef HAVE_IEEEFP_H
30361 #include <ieeefp.h>
30362 #endif
30365 main ()
30367 sqrtf(0);
30369 return 0;
30371 _ACEOF
30372 if ac_fn_cxx_try_compile "$LINENO"; then :
30373 glibcxx_cv_func_sqrtf_use=yes
30374 else
30375 glibcxx_cv_func_sqrtf_use=no
30377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30378 ac_ext=c
30379 ac_cpp='$CPP $CPPFLAGS'
30380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30389 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30391 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30392 for ac_func in sqrtf
30393 do :
30394 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30395 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30396 cat >>confdefs.h <<_ACEOF
30397 #define HAVE_SQRTF 1
30398 _ACEOF
30401 done
30403 else
30405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30406 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30407 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30408 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30409 $as_echo_n "(cached) " >&6
30410 else
30413 ac_ext=cpp
30414 ac_cpp='$CXXCPP $CPPFLAGS'
30415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30420 /* end confdefs.h. */
30421 #include <math.h>
30422 #ifdef HAVE_IEEEFP_H
30423 #include <ieeefp.h>
30424 #endif
30427 main ()
30429 _sqrtf(0);
30431 return 0;
30433 _ACEOF
30434 if ac_fn_cxx_try_compile "$LINENO"; then :
30435 glibcxx_cv_func__sqrtf_use=yes
30436 else
30437 glibcxx_cv_func__sqrtf_use=no
30439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30440 ac_ext=c
30441 ac_cpp='$CPP $CPPFLAGS'
30442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30451 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30453 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30454 for ac_func in _sqrtf
30455 do :
30456 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30457 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30458 cat >>confdefs.h <<_ACEOF
30459 #define HAVE__SQRTF 1
30460 _ACEOF
30463 done
30472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30473 $as_echo_n "checking for sincosf declaration... " >&6; }
30474 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30475 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30476 $as_echo_n "(cached) " >&6
30477 else
30480 ac_ext=cpp
30481 ac_cpp='$CXXCPP $CPPFLAGS'
30482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30487 /* end confdefs.h. */
30488 #include <math.h>
30490 main ()
30492 sincosf(0, 0, 0);
30494 return 0;
30496 _ACEOF
30497 if ac_fn_cxx_try_compile "$LINENO"; then :
30498 glibcxx_cv_func_sincosf_use=yes
30499 else
30500 glibcxx_cv_func_sincosf_use=no
30502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30503 ac_ext=c
30504 ac_cpp='$CPP $CPPFLAGS'
30505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30514 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30516 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30517 for ac_func in sincosf
30518 do :
30519 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30520 if test "x$ac_cv_func_sincosf" = x""yes; then :
30521 cat >>confdefs.h <<_ACEOF
30522 #define HAVE_SINCOSF 1
30523 _ACEOF
30526 done
30528 else
30530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30531 $as_echo_n "checking for _sincosf declaration... " >&6; }
30532 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30533 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30534 $as_echo_n "(cached) " >&6
30535 else
30538 ac_ext=cpp
30539 ac_cpp='$CXXCPP $CPPFLAGS'
30540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30545 /* end confdefs.h. */
30546 #include <math.h>
30548 main ()
30550 _sincosf(0, 0, 0);
30552 return 0;
30554 _ACEOF
30555 if ac_fn_cxx_try_compile "$LINENO"; then :
30556 glibcxx_cv_func__sincosf_use=yes
30557 else
30558 glibcxx_cv_func__sincosf_use=no
30560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30561 ac_ext=c
30562 ac_cpp='$CPP $CPPFLAGS'
30563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30572 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30574 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30575 for ac_func in _sincosf
30576 do :
30577 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30578 if test "x$ac_cv_func__sincosf" = x""yes; then :
30579 cat >>confdefs.h <<_ACEOF
30580 #define HAVE__SINCOSF 1
30581 _ACEOF
30584 done
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30594 $as_echo_n "checking for finitef declaration... " >&6; }
30595 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30596 if test "${glibcxx_cv_func_finitef_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 finitef(0);
30619 return 0;
30621 _ACEOF
30622 if ac_fn_cxx_try_compile "$LINENO"; then :
30623 glibcxx_cv_func_finitef_use=yes
30624 else
30625 glibcxx_cv_func_finitef_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_finitef_use" >&5
30639 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30641 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30642 for ac_func in finitef
30643 do :
30644 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30645 if test "x$ac_cv_func_finitef" = x""yes; then :
30646 cat >>confdefs.h <<_ACEOF
30647 #define HAVE_FINITEF 1
30648 _ACEOF
30651 done
30653 else
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30656 $as_echo_n "checking for _finitef declaration... " >&6; }
30657 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30658 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30659 $as_echo_n "(cached) " >&6
30660 else
30663 ac_ext=cpp
30664 ac_cpp='$CXXCPP $CPPFLAGS'
30665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30670 /* end confdefs.h. */
30671 #include <math.h>
30672 #ifdef HAVE_IEEEFP_H
30673 #include <ieeefp.h>
30674 #endif
30677 main ()
30679 _finitef(0);
30681 return 0;
30683 _ACEOF
30684 if ac_fn_cxx_try_compile "$LINENO"; then :
30685 glibcxx_cv_func__finitef_use=yes
30686 else
30687 glibcxx_cv_func__finitef_use=no
30689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30690 ac_ext=c
30691 ac_cpp='$CPP $CPPFLAGS'
30692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30701 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30703 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30704 for ac_func in _finitef
30705 do :
30706 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30707 if test "x$ac_cv_func__finitef" = x""yes; then :
30708 cat >>confdefs.h <<_ACEOF
30709 #define HAVE__FINITEF 1
30710 _ACEOF
30713 done
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30723 $as_echo_n "checking for long double trig functions... " >&6; }
30724 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30725 $as_echo_n "(cached) " >&6
30726 else
30729 ac_ext=cpp
30730 ac_cpp='$CXXCPP $CPPFLAGS'
30731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30736 /* end confdefs.h. */
30737 #include <math.h>
30739 main ()
30741 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30743 return 0;
30745 _ACEOF
30746 if ac_fn_cxx_try_compile "$LINENO"; then :
30747 glibcxx_cv_func_long_double_trig_use=yes
30748 else
30749 glibcxx_cv_func_long_double_trig_use=no
30751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30752 ac_ext=c
30753 ac_cpp='$CPP $CPPFLAGS'
30754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30761 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30762 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30763 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30764 do :
30765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30767 eval as_val=\$$as_ac_var
30768 if test "x$as_val" = x""yes; then :
30769 cat >>confdefs.h <<_ACEOF
30770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30771 _ACEOF
30774 done
30776 else
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30778 $as_echo_n "checking for _long double trig functions... " >&6; }
30779 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30780 $as_echo_n "(cached) " >&6
30781 else
30784 ac_ext=cpp
30785 ac_cpp='$CXXCPP $CPPFLAGS'
30786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30791 /* end confdefs.h. */
30792 #include <math.h>
30794 main ()
30796 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30798 return 0;
30800 _ACEOF
30801 if ac_fn_cxx_try_compile "$LINENO"; then :
30802 glibcxx_cv_func__long_double_trig_use=yes
30803 else
30804 glibcxx_cv_func__long_double_trig_use=no
30806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30807 ac_ext=c
30808 ac_cpp='$CPP $CPPFLAGS'
30809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30816 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30817 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30818 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30819 do :
30820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30822 eval as_val=\$$as_ac_var
30823 if test "x$as_val" = x""yes; then :
30824 cat >>confdefs.h <<_ACEOF
30825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30826 _ACEOF
30829 done
30838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30839 $as_echo_n "checking for long double round functions... " >&6; }
30840 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30841 $as_echo_n "(cached) " >&6
30842 else
30845 ac_ext=cpp
30846 ac_cpp='$CXXCPP $CPPFLAGS'
30847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30852 /* end confdefs.h. */
30853 #include <math.h>
30855 main ()
30857 ceill (0); floorl (0);
30859 return 0;
30861 _ACEOF
30862 if ac_fn_cxx_try_compile "$LINENO"; then :
30863 glibcxx_cv_func_long_double_round_use=yes
30864 else
30865 glibcxx_cv_func_long_double_round_use=no
30867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30868 ac_ext=c
30869 ac_cpp='$CPP $CPPFLAGS'
30870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30877 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30878 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30879 for ac_func in ceill floorl
30880 do :
30881 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30883 eval as_val=\$$as_ac_var
30884 if test "x$as_val" = x""yes; then :
30885 cat >>confdefs.h <<_ACEOF
30886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30887 _ACEOF
30890 done
30892 else
30893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30894 $as_echo_n "checking for _long double round functions... " >&6; }
30895 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30896 $as_echo_n "(cached) " >&6
30897 else
30900 ac_ext=cpp
30901 ac_cpp='$CXXCPP $CPPFLAGS'
30902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30907 /* end confdefs.h. */
30908 #include <math.h>
30910 main ()
30912 _ceill (0); _floorl (0);
30914 return 0;
30916 _ACEOF
30917 if ac_fn_cxx_try_compile "$LINENO"; then :
30918 glibcxx_cv_func__long_double_round_use=yes
30919 else
30920 glibcxx_cv_func__long_double_round_use=no
30922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30923 ac_ext=c
30924 ac_cpp='$CPP $CPPFLAGS'
30925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30932 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30933 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30934 for ac_func in _ceill _floorl
30935 do :
30936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30937 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30938 eval as_val=\$$as_ac_var
30939 if test "x$as_val" = x""yes; then :
30940 cat >>confdefs.h <<_ACEOF
30941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30942 _ACEOF
30945 done
30955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30956 $as_echo_n "checking for isnanl declaration... " >&6; }
30957 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30958 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30959 $as_echo_n "(cached) " >&6
30960 else
30963 ac_ext=cpp
30964 ac_cpp='$CXXCPP $CPPFLAGS'
30965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30970 /* end confdefs.h. */
30971 #include <math.h>
30972 #ifdef HAVE_IEEEFP_H
30973 #include <ieeefp.h>
30974 #endif
30977 main ()
30979 isnanl(0);
30981 return 0;
30983 _ACEOF
30984 if ac_fn_cxx_try_compile "$LINENO"; then :
30985 glibcxx_cv_func_isnanl_use=yes
30986 else
30987 glibcxx_cv_func_isnanl_use=no
30989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30990 ac_ext=c
30991 ac_cpp='$CPP $CPPFLAGS'
30992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31001 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31003 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31004 for ac_func in isnanl
31005 do :
31006 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31007 if test "x$ac_cv_func_isnanl" = x""yes; then :
31008 cat >>confdefs.h <<_ACEOF
31009 #define HAVE_ISNANL 1
31010 _ACEOF
31013 done
31015 else
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31018 $as_echo_n "checking for _isnanl declaration... " >&6; }
31019 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31020 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31021 $as_echo_n "(cached) " >&6
31022 else
31025 ac_ext=cpp
31026 ac_cpp='$CXXCPP $CPPFLAGS'
31027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31032 /* end confdefs.h. */
31033 #include <math.h>
31034 #ifdef HAVE_IEEEFP_H
31035 #include <ieeefp.h>
31036 #endif
31039 main ()
31041 _isnanl(0);
31043 return 0;
31045 _ACEOF
31046 if ac_fn_cxx_try_compile "$LINENO"; then :
31047 glibcxx_cv_func__isnanl_use=yes
31048 else
31049 glibcxx_cv_func__isnanl_use=no
31051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31052 ac_ext=c
31053 ac_cpp='$CPP $CPPFLAGS'
31054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31063 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31065 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31066 for ac_func in _isnanl
31067 do :
31068 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31069 if test "x$ac_cv_func__isnanl" = x""yes; then :
31070 cat >>confdefs.h <<_ACEOF
31071 #define HAVE__ISNANL 1
31072 _ACEOF
31075 done
31084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31085 $as_echo_n "checking for isinfl declaration... " >&6; }
31086 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31087 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31088 $as_echo_n "(cached) " >&6
31089 else
31092 ac_ext=cpp
31093 ac_cpp='$CXXCPP $CPPFLAGS'
31094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31099 /* end confdefs.h. */
31100 #include <math.h>
31101 #ifdef HAVE_IEEEFP_H
31102 #include <ieeefp.h>
31103 #endif
31106 main ()
31108 isinfl(0);
31110 return 0;
31112 _ACEOF
31113 if ac_fn_cxx_try_compile "$LINENO"; then :
31114 glibcxx_cv_func_isinfl_use=yes
31115 else
31116 glibcxx_cv_func_isinfl_use=no
31118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31119 ac_ext=c
31120 ac_cpp='$CPP $CPPFLAGS'
31121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31130 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31132 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31133 for ac_func in isinfl
31134 do :
31135 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31136 if test "x$ac_cv_func_isinfl" = x""yes; then :
31137 cat >>confdefs.h <<_ACEOF
31138 #define HAVE_ISINFL 1
31139 _ACEOF
31142 done
31144 else
31146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31147 $as_echo_n "checking for _isinfl declaration... " >&6; }
31148 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31149 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31150 $as_echo_n "(cached) " >&6
31151 else
31154 ac_ext=cpp
31155 ac_cpp='$CXXCPP $CPPFLAGS'
31156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31161 /* end confdefs.h. */
31162 #include <math.h>
31163 #ifdef HAVE_IEEEFP_H
31164 #include <ieeefp.h>
31165 #endif
31168 main ()
31170 _isinfl(0);
31172 return 0;
31174 _ACEOF
31175 if ac_fn_cxx_try_compile "$LINENO"; then :
31176 glibcxx_cv_func__isinfl_use=yes
31177 else
31178 glibcxx_cv_func__isinfl_use=no
31180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31181 ac_ext=c
31182 ac_cpp='$CPP $CPPFLAGS'
31183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31192 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31194 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31195 for ac_func in _isinfl
31196 do :
31197 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31198 if test "x$ac_cv_func__isinfl" = x""yes; then :
31199 cat >>confdefs.h <<_ACEOF
31200 #define HAVE__ISINFL 1
31201 _ACEOF
31204 done
31213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31214 $as_echo_n "checking for atan2l declaration... " >&6; }
31215 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31216 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31217 $as_echo_n "(cached) " >&6
31218 else
31221 ac_ext=cpp
31222 ac_cpp='$CXXCPP $CPPFLAGS'
31223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31228 /* end confdefs.h. */
31229 #include <math.h>
31231 main ()
31233 atan2l(0, 0);
31235 return 0;
31237 _ACEOF
31238 if ac_fn_cxx_try_compile "$LINENO"; then :
31239 glibcxx_cv_func_atan2l_use=yes
31240 else
31241 glibcxx_cv_func_atan2l_use=no
31243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31244 ac_ext=c
31245 ac_cpp='$CPP $CPPFLAGS'
31246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31255 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31257 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31258 for ac_func in atan2l
31259 do :
31260 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31261 if test "x$ac_cv_func_atan2l" = x""yes; then :
31262 cat >>confdefs.h <<_ACEOF
31263 #define HAVE_ATAN2L 1
31264 _ACEOF
31267 done
31269 else
31271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31272 $as_echo_n "checking for _atan2l declaration... " >&6; }
31273 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31274 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31275 $as_echo_n "(cached) " >&6
31276 else
31279 ac_ext=cpp
31280 ac_cpp='$CXXCPP $CPPFLAGS'
31281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31286 /* end confdefs.h. */
31287 #include <math.h>
31289 main ()
31291 _atan2l(0, 0);
31293 return 0;
31295 _ACEOF
31296 if ac_fn_cxx_try_compile "$LINENO"; then :
31297 glibcxx_cv_func__atan2l_use=yes
31298 else
31299 glibcxx_cv_func__atan2l_use=no
31301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31302 ac_ext=c
31303 ac_cpp='$CPP $CPPFLAGS'
31304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31313 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31315 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31316 for ac_func in _atan2l
31317 do :
31318 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31319 if test "x$ac_cv_func__atan2l" = x""yes; then :
31320 cat >>confdefs.h <<_ACEOF
31321 #define HAVE__ATAN2L 1
31322 _ACEOF
31325 done
31334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31335 $as_echo_n "checking for expl declaration... " >&6; }
31336 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31337 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31338 $as_echo_n "(cached) " >&6
31339 else
31342 ac_ext=cpp
31343 ac_cpp='$CXXCPP $CPPFLAGS'
31344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31349 /* end confdefs.h. */
31350 #include <math.h>
31351 #ifdef HAVE_IEEEFP_H
31352 #include <ieeefp.h>
31353 #endif
31356 main ()
31358 expl(0);
31360 return 0;
31362 _ACEOF
31363 if ac_fn_cxx_try_compile "$LINENO"; then :
31364 glibcxx_cv_func_expl_use=yes
31365 else
31366 glibcxx_cv_func_expl_use=no
31368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31369 ac_ext=c
31370 ac_cpp='$CPP $CPPFLAGS'
31371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31380 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31382 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31383 for ac_func in expl
31384 do :
31385 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31386 if test "x$ac_cv_func_expl" = x""yes; then :
31387 cat >>confdefs.h <<_ACEOF
31388 #define HAVE_EXPL 1
31389 _ACEOF
31392 done
31394 else
31396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31397 $as_echo_n "checking for _expl declaration... " >&6; }
31398 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31399 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31400 $as_echo_n "(cached) " >&6
31401 else
31404 ac_ext=cpp
31405 ac_cpp='$CXXCPP $CPPFLAGS'
31406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31411 /* end confdefs.h. */
31412 #include <math.h>
31413 #ifdef HAVE_IEEEFP_H
31414 #include <ieeefp.h>
31415 #endif
31418 main ()
31420 _expl(0);
31422 return 0;
31424 _ACEOF
31425 if ac_fn_cxx_try_compile "$LINENO"; then :
31426 glibcxx_cv_func__expl_use=yes
31427 else
31428 glibcxx_cv_func__expl_use=no
31430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31431 ac_ext=c
31432 ac_cpp='$CPP $CPPFLAGS'
31433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31442 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31444 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31445 for ac_func in _expl
31446 do :
31447 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31448 if test "x$ac_cv_func__expl" = x""yes; then :
31449 cat >>confdefs.h <<_ACEOF
31450 #define HAVE__EXPL 1
31451 _ACEOF
31454 done
31463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31464 $as_echo_n "checking for fabsl declaration... " >&6; }
31465 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31466 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31467 $as_echo_n "(cached) " >&6
31468 else
31471 ac_ext=cpp
31472 ac_cpp='$CXXCPP $CPPFLAGS'
31473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31478 /* end confdefs.h. */
31479 #include <math.h>
31480 #ifdef HAVE_IEEEFP_H
31481 #include <ieeefp.h>
31482 #endif
31485 main ()
31487 fabsl(0);
31489 return 0;
31491 _ACEOF
31492 if ac_fn_cxx_try_compile "$LINENO"; then :
31493 glibcxx_cv_func_fabsl_use=yes
31494 else
31495 glibcxx_cv_func_fabsl_use=no
31497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498 ac_ext=c
31499 ac_cpp='$CPP $CPPFLAGS'
31500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31509 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31511 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31512 for ac_func in fabsl
31513 do :
31514 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31515 if test "x$ac_cv_func_fabsl" = x""yes; then :
31516 cat >>confdefs.h <<_ACEOF
31517 #define HAVE_FABSL 1
31518 _ACEOF
31521 done
31523 else
31525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31526 $as_echo_n "checking for _fabsl declaration... " >&6; }
31527 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31528 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31529 $as_echo_n "(cached) " >&6
31530 else
31533 ac_ext=cpp
31534 ac_cpp='$CXXCPP $CPPFLAGS'
31535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31540 /* end confdefs.h. */
31541 #include <math.h>
31542 #ifdef HAVE_IEEEFP_H
31543 #include <ieeefp.h>
31544 #endif
31547 main ()
31549 _fabsl(0);
31551 return 0;
31553 _ACEOF
31554 if ac_fn_cxx_try_compile "$LINENO"; then :
31555 glibcxx_cv_func__fabsl_use=yes
31556 else
31557 glibcxx_cv_func__fabsl_use=no
31559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31560 ac_ext=c
31561 ac_cpp='$CPP $CPPFLAGS'
31562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31571 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31573 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31574 for ac_func in _fabsl
31575 do :
31576 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31577 if test "x$ac_cv_func__fabsl" = x""yes; then :
31578 cat >>confdefs.h <<_ACEOF
31579 #define HAVE__FABSL 1
31580 _ACEOF
31583 done
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31593 $as_echo_n "checking for fmodl declaration... " >&6; }
31594 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31595 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31596 $as_echo_n "(cached) " >&6
31597 else
31600 ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h. */
31608 #include <math.h>
31610 main ()
31612 fmodl(0, 0);
31614 return 0;
31616 _ACEOF
31617 if ac_fn_cxx_try_compile "$LINENO"; then :
31618 glibcxx_cv_func_fmodl_use=yes
31619 else
31620 glibcxx_cv_func_fmodl_use=no
31622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31623 ac_ext=c
31624 ac_cpp='$CPP $CPPFLAGS'
31625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31634 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31636 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31637 for ac_func in fmodl
31638 do :
31639 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31640 if test "x$ac_cv_func_fmodl" = x""yes; then :
31641 cat >>confdefs.h <<_ACEOF
31642 #define HAVE_FMODL 1
31643 _ACEOF
31646 done
31648 else
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31651 $as_echo_n "checking for _fmodl declaration... " >&6; }
31652 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31653 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31654 $as_echo_n "(cached) " >&6
31655 else
31658 ac_ext=cpp
31659 ac_cpp='$CXXCPP $CPPFLAGS'
31660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31665 /* end confdefs.h. */
31666 #include <math.h>
31668 main ()
31670 _fmodl(0, 0);
31672 return 0;
31674 _ACEOF
31675 if ac_fn_cxx_try_compile "$LINENO"; then :
31676 glibcxx_cv_func__fmodl_use=yes
31677 else
31678 glibcxx_cv_func__fmodl_use=no
31680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31681 ac_ext=c
31682 ac_cpp='$CPP $CPPFLAGS'
31683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31692 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31694 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31695 for ac_func in _fmodl
31696 do :
31697 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31698 if test "x$ac_cv_func__fmodl" = x""yes; then :
31699 cat >>confdefs.h <<_ACEOF
31700 #define HAVE__FMODL 1
31701 _ACEOF
31704 done
31713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31714 $as_echo_n "checking for frexpl declaration... " >&6; }
31715 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31716 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31717 $as_echo_n "(cached) " >&6
31718 else
31721 ac_ext=cpp
31722 ac_cpp='$CXXCPP $CPPFLAGS'
31723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31728 /* end confdefs.h. */
31729 #include <math.h>
31731 main ()
31733 frexpl(0, 0);
31735 return 0;
31737 _ACEOF
31738 if ac_fn_cxx_try_compile "$LINENO"; then :
31739 glibcxx_cv_func_frexpl_use=yes
31740 else
31741 glibcxx_cv_func_frexpl_use=no
31743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31744 ac_ext=c
31745 ac_cpp='$CPP $CPPFLAGS'
31746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31755 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31757 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31758 for ac_func in frexpl
31759 do :
31760 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31761 if test "x$ac_cv_func_frexpl" = x""yes; then :
31762 cat >>confdefs.h <<_ACEOF
31763 #define HAVE_FREXPL 1
31764 _ACEOF
31767 done
31769 else
31771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31772 $as_echo_n "checking for _frexpl declaration... " >&6; }
31773 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31774 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31775 $as_echo_n "(cached) " >&6
31776 else
31779 ac_ext=cpp
31780 ac_cpp='$CXXCPP $CPPFLAGS'
31781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31786 /* end confdefs.h. */
31787 #include <math.h>
31789 main ()
31791 _frexpl(0, 0);
31793 return 0;
31795 _ACEOF
31796 if ac_fn_cxx_try_compile "$LINENO"; then :
31797 glibcxx_cv_func__frexpl_use=yes
31798 else
31799 glibcxx_cv_func__frexpl_use=no
31801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31802 ac_ext=c
31803 ac_cpp='$CPP $CPPFLAGS'
31804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31813 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31815 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31816 for ac_func in _frexpl
31817 do :
31818 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31819 if test "x$ac_cv_func__frexpl" = x""yes; then :
31820 cat >>confdefs.h <<_ACEOF
31821 #define HAVE__FREXPL 1
31822 _ACEOF
31825 done
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31835 $as_echo_n "checking for hypotl declaration... " >&6; }
31836 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31837 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31838 $as_echo_n "(cached) " >&6
31839 else
31842 ac_ext=cpp
31843 ac_cpp='$CXXCPP $CPPFLAGS'
31844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31849 /* end confdefs.h. */
31850 #include <math.h>
31852 main ()
31854 hypotl(0, 0);
31856 return 0;
31858 _ACEOF
31859 if ac_fn_cxx_try_compile "$LINENO"; then :
31860 glibcxx_cv_func_hypotl_use=yes
31861 else
31862 glibcxx_cv_func_hypotl_use=no
31864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31865 ac_ext=c
31866 ac_cpp='$CPP $CPPFLAGS'
31867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31876 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31878 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31879 for ac_func in hypotl
31880 do :
31881 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31882 if test "x$ac_cv_func_hypotl" = x""yes; then :
31883 cat >>confdefs.h <<_ACEOF
31884 #define HAVE_HYPOTL 1
31885 _ACEOF
31888 done
31890 else
31892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31893 $as_echo_n "checking for _hypotl declaration... " >&6; }
31894 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31895 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31896 $as_echo_n "(cached) " >&6
31897 else
31900 ac_ext=cpp
31901 ac_cpp='$CXXCPP $CPPFLAGS'
31902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31907 /* end confdefs.h. */
31908 #include <math.h>
31910 main ()
31912 _hypotl(0, 0);
31914 return 0;
31916 _ACEOF
31917 if ac_fn_cxx_try_compile "$LINENO"; then :
31918 glibcxx_cv_func__hypotl_use=yes
31919 else
31920 glibcxx_cv_func__hypotl_use=no
31922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31923 ac_ext=c
31924 ac_cpp='$CPP $CPPFLAGS'
31925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31934 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31936 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31937 for ac_func in _hypotl
31938 do :
31939 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31940 if test "x$ac_cv_func__hypotl" = x""yes; then :
31941 cat >>confdefs.h <<_ACEOF
31942 #define HAVE__HYPOTL 1
31943 _ACEOF
31946 done
31955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31956 $as_echo_n "checking for ldexpl declaration... " >&6; }
31957 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31958 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31959 $as_echo_n "(cached) " >&6
31960 else
31963 ac_ext=cpp
31964 ac_cpp='$CXXCPP $CPPFLAGS'
31965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31970 /* end confdefs.h. */
31971 #include <math.h>
31973 main ()
31975 ldexpl(0, 0);
31977 return 0;
31979 _ACEOF
31980 if ac_fn_cxx_try_compile "$LINENO"; then :
31981 glibcxx_cv_func_ldexpl_use=yes
31982 else
31983 glibcxx_cv_func_ldexpl_use=no
31985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31986 ac_ext=c
31987 ac_cpp='$CPP $CPPFLAGS'
31988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31997 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31999 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32000 for ac_func in ldexpl
32001 do :
32002 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32003 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32004 cat >>confdefs.h <<_ACEOF
32005 #define HAVE_LDEXPL 1
32006 _ACEOF
32009 done
32011 else
32013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32014 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32015 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32016 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32017 $as_echo_n "(cached) " >&6
32018 else
32021 ac_ext=cpp
32022 ac_cpp='$CXXCPP $CPPFLAGS'
32023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32028 /* end confdefs.h. */
32029 #include <math.h>
32031 main ()
32033 _ldexpl(0, 0);
32035 return 0;
32037 _ACEOF
32038 if ac_fn_cxx_try_compile "$LINENO"; then :
32039 glibcxx_cv_func__ldexpl_use=yes
32040 else
32041 glibcxx_cv_func__ldexpl_use=no
32043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32044 ac_ext=c
32045 ac_cpp='$CPP $CPPFLAGS'
32046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32055 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32057 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32058 for ac_func in _ldexpl
32059 do :
32060 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32061 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32062 cat >>confdefs.h <<_ACEOF
32063 #define HAVE__LDEXPL 1
32064 _ACEOF
32067 done
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32077 $as_echo_n "checking for logl declaration... " >&6; }
32078 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32079 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32080 $as_echo_n "(cached) " >&6
32081 else
32084 ac_ext=cpp
32085 ac_cpp='$CXXCPP $CPPFLAGS'
32086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32091 /* end confdefs.h. */
32092 #include <math.h>
32093 #ifdef HAVE_IEEEFP_H
32094 #include <ieeefp.h>
32095 #endif
32098 main ()
32100 logl(0);
32102 return 0;
32104 _ACEOF
32105 if ac_fn_cxx_try_compile "$LINENO"; then :
32106 glibcxx_cv_func_logl_use=yes
32107 else
32108 glibcxx_cv_func_logl_use=no
32110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32111 ac_ext=c
32112 ac_cpp='$CPP $CPPFLAGS'
32113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32122 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32124 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32125 for ac_func in logl
32126 do :
32127 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32128 if test "x$ac_cv_func_logl" = x""yes; then :
32129 cat >>confdefs.h <<_ACEOF
32130 #define HAVE_LOGL 1
32131 _ACEOF
32134 done
32136 else
32138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32139 $as_echo_n "checking for _logl declaration... " >&6; }
32140 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32141 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32142 $as_echo_n "(cached) " >&6
32143 else
32146 ac_ext=cpp
32147 ac_cpp='$CXXCPP $CPPFLAGS'
32148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32153 /* end confdefs.h. */
32154 #include <math.h>
32155 #ifdef HAVE_IEEEFP_H
32156 #include <ieeefp.h>
32157 #endif
32160 main ()
32162 _logl(0);
32164 return 0;
32166 _ACEOF
32167 if ac_fn_cxx_try_compile "$LINENO"; then :
32168 glibcxx_cv_func__logl_use=yes
32169 else
32170 glibcxx_cv_func__logl_use=no
32172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32173 ac_ext=c
32174 ac_cpp='$CPP $CPPFLAGS'
32175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32184 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32186 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32187 for ac_func in _logl
32188 do :
32189 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32190 if test "x$ac_cv_func__logl" = x""yes; then :
32191 cat >>confdefs.h <<_ACEOF
32192 #define HAVE__LOGL 1
32193 _ACEOF
32196 done
32205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32206 $as_echo_n "checking for log10l declaration... " >&6; }
32207 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32208 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32209 $as_echo_n "(cached) " >&6
32210 else
32213 ac_ext=cpp
32214 ac_cpp='$CXXCPP $CPPFLAGS'
32215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32220 /* end confdefs.h. */
32221 #include <math.h>
32222 #ifdef HAVE_IEEEFP_H
32223 #include <ieeefp.h>
32224 #endif
32227 main ()
32229 log10l(0);
32231 return 0;
32233 _ACEOF
32234 if ac_fn_cxx_try_compile "$LINENO"; then :
32235 glibcxx_cv_func_log10l_use=yes
32236 else
32237 glibcxx_cv_func_log10l_use=no
32239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240 ac_ext=c
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32251 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32253 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32254 for ac_func in log10l
32255 do :
32256 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32257 if test "x$ac_cv_func_log10l" = x""yes; then :
32258 cat >>confdefs.h <<_ACEOF
32259 #define HAVE_LOG10L 1
32260 _ACEOF
32263 done
32265 else
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32268 $as_echo_n "checking for _log10l declaration... " >&6; }
32269 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32270 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32271 $as_echo_n "(cached) " >&6
32272 else
32275 ac_ext=cpp
32276 ac_cpp='$CXXCPP $CPPFLAGS'
32277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32282 /* end confdefs.h. */
32283 #include <math.h>
32284 #ifdef HAVE_IEEEFP_H
32285 #include <ieeefp.h>
32286 #endif
32289 main ()
32291 _log10l(0);
32293 return 0;
32295 _ACEOF
32296 if ac_fn_cxx_try_compile "$LINENO"; then :
32297 glibcxx_cv_func__log10l_use=yes
32298 else
32299 glibcxx_cv_func__log10l_use=no
32301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32302 ac_ext=c
32303 ac_cpp='$CPP $CPPFLAGS'
32304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32313 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32315 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32316 for ac_func in _log10l
32317 do :
32318 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32319 if test "x$ac_cv_func__log10l" = x""yes; then :
32320 cat >>confdefs.h <<_ACEOF
32321 #define HAVE__LOG10L 1
32322 _ACEOF
32325 done
32334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32335 $as_echo_n "checking for modfl declaration... " >&6; }
32336 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32337 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32338 $as_echo_n "(cached) " >&6
32339 else
32342 ac_ext=cpp
32343 ac_cpp='$CXXCPP $CPPFLAGS'
32344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32349 /* end confdefs.h. */
32350 #include <math.h>
32352 main ()
32354 modfl(0, 0);
32356 return 0;
32358 _ACEOF
32359 if ac_fn_cxx_try_compile "$LINENO"; then :
32360 glibcxx_cv_func_modfl_use=yes
32361 else
32362 glibcxx_cv_func_modfl_use=no
32364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32365 ac_ext=c
32366 ac_cpp='$CPP $CPPFLAGS'
32367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32376 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32378 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32379 for ac_func in modfl
32380 do :
32381 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32382 if test "x$ac_cv_func_modfl" = x""yes; then :
32383 cat >>confdefs.h <<_ACEOF
32384 #define HAVE_MODFL 1
32385 _ACEOF
32388 done
32390 else
32392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32393 $as_echo_n "checking for _modfl declaration... " >&6; }
32394 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32395 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32396 $as_echo_n "(cached) " >&6
32397 else
32400 ac_ext=cpp
32401 ac_cpp='$CXXCPP $CPPFLAGS'
32402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32407 /* end confdefs.h. */
32408 #include <math.h>
32410 main ()
32412 _modfl(0, 0);
32414 return 0;
32416 _ACEOF
32417 if ac_fn_cxx_try_compile "$LINENO"; then :
32418 glibcxx_cv_func__modfl_use=yes
32419 else
32420 glibcxx_cv_func__modfl_use=no
32422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32423 ac_ext=c
32424 ac_cpp='$CPP $CPPFLAGS'
32425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32434 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32436 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32437 for ac_func in _modfl
32438 do :
32439 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32440 if test "x$ac_cv_func__modfl" = x""yes; then :
32441 cat >>confdefs.h <<_ACEOF
32442 #define HAVE__MODFL 1
32443 _ACEOF
32446 done
32455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32456 $as_echo_n "checking for powl declaration... " >&6; }
32457 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32458 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32459 $as_echo_n "(cached) " >&6
32460 else
32463 ac_ext=cpp
32464 ac_cpp='$CXXCPP $CPPFLAGS'
32465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32470 /* end confdefs.h. */
32471 #include <math.h>
32473 main ()
32475 powl(0, 0);
32477 return 0;
32479 _ACEOF
32480 if ac_fn_cxx_try_compile "$LINENO"; then :
32481 glibcxx_cv_func_powl_use=yes
32482 else
32483 glibcxx_cv_func_powl_use=no
32485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32486 ac_ext=c
32487 ac_cpp='$CPP $CPPFLAGS'
32488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32497 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32499 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32500 for ac_func in powl
32501 do :
32502 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32503 if test "x$ac_cv_func_powl" = x""yes; then :
32504 cat >>confdefs.h <<_ACEOF
32505 #define HAVE_POWL 1
32506 _ACEOF
32509 done
32511 else
32513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32514 $as_echo_n "checking for _powl declaration... " >&6; }
32515 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32516 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32517 $as_echo_n "(cached) " >&6
32518 else
32521 ac_ext=cpp
32522 ac_cpp='$CXXCPP $CPPFLAGS'
32523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32528 /* end confdefs.h. */
32529 #include <math.h>
32531 main ()
32533 _powl(0, 0);
32535 return 0;
32537 _ACEOF
32538 if ac_fn_cxx_try_compile "$LINENO"; then :
32539 glibcxx_cv_func__powl_use=yes
32540 else
32541 glibcxx_cv_func__powl_use=no
32543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32544 ac_ext=c
32545 ac_cpp='$CPP $CPPFLAGS'
32546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32555 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32557 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32558 for ac_func in _powl
32559 do :
32560 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32561 if test "x$ac_cv_func__powl" = x""yes; then :
32562 cat >>confdefs.h <<_ACEOF
32563 #define HAVE__POWL 1
32564 _ACEOF
32567 done
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32577 $as_echo_n "checking for sqrtl declaration... " >&6; }
32578 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32579 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32580 $as_echo_n "(cached) " >&6
32581 else
32584 ac_ext=cpp
32585 ac_cpp='$CXXCPP $CPPFLAGS'
32586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32591 /* end confdefs.h. */
32592 #include <math.h>
32593 #ifdef HAVE_IEEEFP_H
32594 #include <ieeefp.h>
32595 #endif
32598 main ()
32600 sqrtl(0);
32602 return 0;
32604 _ACEOF
32605 if ac_fn_cxx_try_compile "$LINENO"; then :
32606 glibcxx_cv_func_sqrtl_use=yes
32607 else
32608 glibcxx_cv_func_sqrtl_use=no
32610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32611 ac_ext=c
32612 ac_cpp='$CPP $CPPFLAGS'
32613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32622 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32624 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32625 for ac_func in sqrtl
32626 do :
32627 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32628 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32629 cat >>confdefs.h <<_ACEOF
32630 #define HAVE_SQRTL 1
32631 _ACEOF
32634 done
32636 else
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32639 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32640 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32641 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32642 $as_echo_n "(cached) " >&6
32643 else
32646 ac_ext=cpp
32647 ac_cpp='$CXXCPP $CPPFLAGS'
32648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32653 /* end confdefs.h. */
32654 #include <math.h>
32655 #ifdef HAVE_IEEEFP_H
32656 #include <ieeefp.h>
32657 #endif
32660 main ()
32662 _sqrtl(0);
32664 return 0;
32666 _ACEOF
32667 if ac_fn_cxx_try_compile "$LINENO"; then :
32668 glibcxx_cv_func__sqrtl_use=yes
32669 else
32670 glibcxx_cv_func__sqrtl_use=no
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32673 ac_ext=c
32674 ac_cpp='$CPP $CPPFLAGS'
32675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32684 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32686 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32687 for ac_func in _sqrtl
32688 do :
32689 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32690 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32691 cat >>confdefs.h <<_ACEOF
32692 #define HAVE__SQRTL 1
32693 _ACEOF
32696 done
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32706 $as_echo_n "checking for sincosl declaration... " >&6; }
32707 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32708 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32709 $as_echo_n "(cached) " >&6
32710 else
32713 ac_ext=cpp
32714 ac_cpp='$CXXCPP $CPPFLAGS'
32715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32720 /* end confdefs.h. */
32721 #include <math.h>
32723 main ()
32725 sincosl(0, 0, 0);
32727 return 0;
32729 _ACEOF
32730 if ac_fn_cxx_try_compile "$LINENO"; then :
32731 glibcxx_cv_func_sincosl_use=yes
32732 else
32733 glibcxx_cv_func_sincosl_use=no
32735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32736 ac_ext=c
32737 ac_cpp='$CPP $CPPFLAGS'
32738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32747 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32749 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32750 for ac_func in sincosl
32751 do :
32752 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32753 if test "x$ac_cv_func_sincosl" = x""yes; then :
32754 cat >>confdefs.h <<_ACEOF
32755 #define HAVE_SINCOSL 1
32756 _ACEOF
32759 done
32761 else
32763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32764 $as_echo_n "checking for _sincosl declaration... " >&6; }
32765 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32766 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32767 $as_echo_n "(cached) " >&6
32768 else
32771 ac_ext=cpp
32772 ac_cpp='$CXXCPP $CPPFLAGS'
32773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32778 /* end confdefs.h. */
32779 #include <math.h>
32781 main ()
32783 _sincosl(0, 0, 0);
32785 return 0;
32787 _ACEOF
32788 if ac_fn_cxx_try_compile "$LINENO"; then :
32789 glibcxx_cv_func__sincosl_use=yes
32790 else
32791 glibcxx_cv_func__sincosl_use=no
32793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32794 ac_ext=c
32795 ac_cpp='$CPP $CPPFLAGS'
32796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32805 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32807 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32808 for ac_func in _sincosl
32809 do :
32810 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32811 if test "x$ac_cv_func__sincosl" = x""yes; then :
32812 cat >>confdefs.h <<_ACEOF
32813 #define HAVE__SINCOSL 1
32814 _ACEOF
32817 done
32826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32827 $as_echo_n "checking for finitel declaration... " >&6; }
32828 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32829 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32830 $as_echo_n "(cached) " >&6
32831 else
32834 ac_ext=cpp
32835 ac_cpp='$CXXCPP $CPPFLAGS'
32836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32841 /* end confdefs.h. */
32842 #include <math.h>
32843 #ifdef HAVE_IEEEFP_H
32844 #include <ieeefp.h>
32845 #endif
32848 main ()
32850 finitel(0);
32852 return 0;
32854 _ACEOF
32855 if ac_fn_cxx_try_compile "$LINENO"; then :
32856 glibcxx_cv_func_finitel_use=yes
32857 else
32858 glibcxx_cv_func_finitel_use=no
32860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32861 ac_ext=c
32862 ac_cpp='$CPP $CPPFLAGS'
32863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32872 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32874 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32875 for ac_func in finitel
32876 do :
32877 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32878 if test "x$ac_cv_func_finitel" = x""yes; then :
32879 cat >>confdefs.h <<_ACEOF
32880 #define HAVE_FINITEL 1
32881 _ACEOF
32884 done
32886 else
32888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32889 $as_echo_n "checking for _finitel declaration... " >&6; }
32890 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32891 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32892 $as_echo_n "(cached) " >&6
32893 else
32896 ac_ext=cpp
32897 ac_cpp='$CXXCPP $CPPFLAGS'
32898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32903 /* end confdefs.h. */
32904 #include <math.h>
32905 #ifdef HAVE_IEEEFP_H
32906 #include <ieeefp.h>
32907 #endif
32910 main ()
32912 _finitel(0);
32914 return 0;
32916 _ACEOF
32917 if ac_fn_cxx_try_compile "$LINENO"; then :
32918 glibcxx_cv_func__finitel_use=yes
32919 else
32920 glibcxx_cv_func__finitel_use=no
32922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32923 ac_ext=c
32924 ac_cpp='$CPP $CPPFLAGS'
32925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32934 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32936 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32937 for ac_func in _finitel
32938 do :
32939 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32940 if test "x$ac_cv_func__finitel" = x""yes; then :
32941 cat >>confdefs.h <<_ACEOF
32942 #define HAVE__FINITEL 1
32943 _ACEOF
32946 done
32954 LIBS="$ac_save_LIBS"
32955 CXXFLAGS="$ac_save_CXXFLAGS"
32958 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32959 ac_save_CXXFLAGS="$CXXFLAGS"
32960 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32964 $as_echo_n "checking for strtold declaration... " >&6; }
32965 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32966 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32967 $as_echo_n "(cached) " >&6
32968 else
32971 ac_ext=cpp
32972 ac_cpp='$CXXCPP $CPPFLAGS'
32973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32978 /* end confdefs.h. */
32979 #include <stdlib.h>
32981 main ()
32983 strtold(0, 0);
32985 return 0;
32987 _ACEOF
32988 if ac_fn_cxx_try_compile "$LINENO"; then :
32989 glibcxx_cv_func_strtold_use=yes
32990 else
32991 glibcxx_cv_func_strtold_use=no
32993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32994 ac_ext=c
32995 ac_cpp='$CPP $CPPFLAGS'
32996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33005 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33006 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33007 for ac_func in strtold
33008 do :
33009 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33010 if test "x$ac_cv_func_strtold" = x""yes; then :
33011 cat >>confdefs.h <<_ACEOF
33012 #define HAVE_STRTOLD 1
33013 _ACEOF
33016 done
33023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33024 $as_echo_n "checking for strtof declaration... " >&6; }
33025 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33026 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33027 $as_echo_n "(cached) " >&6
33028 else
33031 ac_ext=cpp
33032 ac_cpp='$CXXCPP $CPPFLAGS'
33033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33038 /* end confdefs.h. */
33039 #include <stdlib.h>
33041 main ()
33043 strtof(0, 0);
33045 return 0;
33047 _ACEOF
33048 if ac_fn_cxx_try_compile "$LINENO"; then :
33049 glibcxx_cv_func_strtof_use=yes
33050 else
33051 glibcxx_cv_func_strtof_use=no
33053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33054 ac_ext=c
33055 ac_cpp='$CPP $CPPFLAGS'
33056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33065 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33066 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33067 for ac_func in strtof
33068 do :
33069 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33070 if test "x$ac_cv_func_strtof" = x""yes; then :
33071 cat >>confdefs.h <<_ACEOF
33072 #define HAVE_STRTOF 1
33073 _ACEOF
33076 done
33083 CXXFLAGS="$ac_save_CXXFLAGS"
33086 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33088 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33090 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33092 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33095 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33097 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33099 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33103 *-aix*)
33105 # If we're not using GNU ld, then there's no point in even trying these
33106 # tests. Check for that first. We should have already tested for gld
33107 # by now (in libtool), but require it now just to be safe...
33108 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33109 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33113 # The name set by libtool depends on the version of libtool. Shame on us
33114 # for depending on an impl detail, but c'est la vie. Older versions used
33115 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33116 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33117 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33118 # set (hence we're using an older libtool), then set it.
33119 if test x${with_gnu_ld+set} != xset; then
33120 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33121 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33122 with_gnu_ld=no
33123 else
33124 with_gnu_ld=$ac_cv_prog_gnu_ld
33128 # Start by getting the version number. I think the libtool test already
33129 # does some of this, but throws away the result.
33130 glibcxx_ld_is_gold=no
33131 if test x"$with_gnu_ld" = x"yes"; then
33132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33133 $as_echo_n "checking for ld version... " >&6; }
33135 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33136 glibcxx_ld_is_gold=yes
33138 ldver=`$LD --version 2>/dev/null |
33139 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'`
33141 glibcxx_gnu_ld_version=`echo $ldver | \
33142 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33144 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33147 # Set --gc-sections.
33148 glibcxx_have_gc_sections=no
33149 if test "$glibcxx_ld_is_gold" = "yes"; then
33150 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33151 glibcxx_have_gc_sections=yes
33153 else
33154 glibcxx_gcsections_min_ld=21602
33155 if test x"$with_gnu_ld" = x"yes" &&
33156 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33157 glibcxx_have_gc_sections=yes
33160 if test "$glibcxx_have_gc_sections" = "yes"; then
33161 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33162 # NB: This flag only works reliably after 2.16.1. Configure tests
33163 # for this are difficult, so hard wire a value that should work.
33165 ac_test_CFLAGS="${CFLAGS+set}"
33166 ac_save_CFLAGS="$CFLAGS"
33167 CFLAGS='-Wl,--gc-sections'
33169 # Check for -Wl,--gc-sections
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33171 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33172 if test x$gcc_no_link = xyes; then
33173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33176 /* end confdefs.h. */
33177 int one(void) { return 1; }
33178 int two(void) { return 2; }
33181 main ()
33183 two();
33185 return 0;
33187 _ACEOF
33188 if ac_fn_c_try_link "$LINENO"; then :
33189 ac_gcsections=yes
33190 else
33191 ac_gcsections=no
33193 rm -f core conftest.err conftest.$ac_objext \
33194 conftest$ac_exeext conftest.$ac_ext
33195 if test "$ac_gcsections" = "yes"; then
33196 rm -f conftest.c
33197 touch conftest.c
33198 if $CC -c conftest.c; then
33199 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33200 grep "Warning: gc-sections option ignored" > /dev/null; then
33201 ac_gcsections=no
33204 rm -f conftest.c conftest.o conftest
33206 if test "$ac_gcsections" = "yes"; then
33207 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33210 $as_echo "$ac_gcsections" >&6; }
33212 if test "$ac_test_CFLAGS" = set; then
33213 CFLAGS="$ac_save_CFLAGS"
33214 else
33215 # this is the suspicious part
33216 CFLAGS=''
33220 # Set -z,relro.
33221 # Note this is only for shared objects.
33222 ac_ld_relro=no
33223 if test x"$with_gnu_ld" = x"yes"; then
33224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33225 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33226 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33227 if test -n "$cxx_z_relo"; then
33228 OPT_LDFLAGS="-Wl,-z,relro"
33229 ac_ld_relro=yes
33231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33232 $as_echo "$ac_ld_relro" >&6; }
33235 # Set linker optimization flags.
33236 if test x"$with_gnu_ld" = x"yes"; then
33237 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33244 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33245 ac_save_CXXFLAGS="$CXXFLAGS"
33246 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33249 $as_echo_n "checking for sin in -lm... " >&6; }
33250 if test "${ac_cv_lib_m_sin+set}" = set; then :
33251 $as_echo_n "(cached) " >&6
33252 else
33253 ac_check_lib_save_LIBS=$LIBS
33254 LIBS="-lm $LIBS"
33255 if test x$gcc_no_link = xyes; then
33256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33259 /* end confdefs.h. */
33261 /* Override any GCC internal prototype to avoid an error.
33262 Use char because int might match the return type of a GCC
33263 builtin and then its argument prototype would still apply. */
33264 #ifdef __cplusplus
33265 extern "C"
33266 #endif
33267 char sin ();
33269 main ()
33271 return sin ();
33273 return 0;
33275 _ACEOF
33276 if ac_fn_c_try_link "$LINENO"; then :
33277 ac_cv_lib_m_sin=yes
33278 else
33279 ac_cv_lib_m_sin=no
33281 rm -f core conftest.err conftest.$ac_objext \
33282 conftest$ac_exeext conftest.$ac_ext
33283 LIBS=$ac_check_lib_save_LIBS
33285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33286 $as_echo "$ac_cv_lib_m_sin" >&6; }
33287 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33288 libm="-lm"
33291 ac_save_LIBS="$LIBS"
33292 LIBS="$LIBS $libm"
33296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33297 $as_echo_n "checking for isinf declaration... " >&6; }
33298 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33299 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33300 $as_echo_n "(cached) " >&6
33301 else
33304 ac_ext=cpp
33305 ac_cpp='$CXXCPP $CPPFLAGS'
33306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33311 /* end confdefs.h. */
33312 #include <math.h>
33313 #ifdef HAVE_IEEEFP_H
33314 #include <ieeefp.h>
33315 #endif
33318 main ()
33320 isinf(0);
33322 return 0;
33324 _ACEOF
33325 if ac_fn_cxx_try_compile "$LINENO"; then :
33326 glibcxx_cv_func_isinf_use=yes
33327 else
33328 glibcxx_cv_func_isinf_use=no
33330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33331 ac_ext=c
33332 ac_cpp='$CPP $CPPFLAGS'
33333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33342 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33344 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33345 for ac_func in isinf
33346 do :
33347 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33348 if test "x$ac_cv_func_isinf" = x""yes; then :
33349 cat >>confdefs.h <<_ACEOF
33350 #define HAVE_ISINF 1
33351 _ACEOF
33354 done
33356 else
33358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33359 $as_echo_n "checking for _isinf declaration... " >&6; }
33360 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33361 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33362 $as_echo_n "(cached) " >&6
33363 else
33366 ac_ext=cpp
33367 ac_cpp='$CXXCPP $CPPFLAGS'
33368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33373 /* end confdefs.h. */
33374 #include <math.h>
33375 #ifdef HAVE_IEEEFP_H
33376 #include <ieeefp.h>
33377 #endif
33380 main ()
33382 _isinf(0);
33384 return 0;
33386 _ACEOF
33387 if ac_fn_cxx_try_compile "$LINENO"; then :
33388 glibcxx_cv_func__isinf_use=yes
33389 else
33390 glibcxx_cv_func__isinf_use=no
33392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33393 ac_ext=c
33394 ac_cpp='$CPP $CPPFLAGS'
33395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33404 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33406 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33407 for ac_func in _isinf
33408 do :
33409 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33410 if test "x$ac_cv_func__isinf" = x""yes; then :
33411 cat >>confdefs.h <<_ACEOF
33412 #define HAVE__ISINF 1
33413 _ACEOF
33416 done
33425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33426 $as_echo_n "checking for isnan declaration... " >&6; }
33427 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33428 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33429 $as_echo_n "(cached) " >&6
33430 else
33433 ac_ext=cpp
33434 ac_cpp='$CXXCPP $CPPFLAGS'
33435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33440 /* end confdefs.h. */
33441 #include <math.h>
33442 #ifdef HAVE_IEEEFP_H
33443 #include <ieeefp.h>
33444 #endif
33447 main ()
33449 isnan(0);
33451 return 0;
33453 _ACEOF
33454 if ac_fn_cxx_try_compile "$LINENO"; then :
33455 glibcxx_cv_func_isnan_use=yes
33456 else
33457 glibcxx_cv_func_isnan_use=no
33459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33460 ac_ext=c
33461 ac_cpp='$CPP $CPPFLAGS'
33462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33471 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33473 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33474 for ac_func in isnan
33475 do :
33476 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33477 if test "x$ac_cv_func_isnan" = x""yes; then :
33478 cat >>confdefs.h <<_ACEOF
33479 #define HAVE_ISNAN 1
33480 _ACEOF
33483 done
33485 else
33487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33488 $as_echo_n "checking for _isnan declaration... " >&6; }
33489 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33490 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33491 $as_echo_n "(cached) " >&6
33492 else
33495 ac_ext=cpp
33496 ac_cpp='$CXXCPP $CPPFLAGS'
33497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33502 /* end confdefs.h. */
33503 #include <math.h>
33504 #ifdef HAVE_IEEEFP_H
33505 #include <ieeefp.h>
33506 #endif
33509 main ()
33511 _isnan(0);
33513 return 0;
33515 _ACEOF
33516 if ac_fn_cxx_try_compile "$LINENO"; then :
33517 glibcxx_cv_func__isnan_use=yes
33518 else
33519 glibcxx_cv_func__isnan_use=no
33521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33522 ac_ext=c
33523 ac_cpp='$CPP $CPPFLAGS'
33524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33533 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33535 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33536 for ac_func in _isnan
33537 do :
33538 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33539 if test "x$ac_cv_func__isnan" = x""yes; then :
33540 cat >>confdefs.h <<_ACEOF
33541 #define HAVE__ISNAN 1
33542 _ACEOF
33545 done
33554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33555 $as_echo_n "checking for finite declaration... " >&6; }
33556 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33557 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33558 $as_echo_n "(cached) " >&6
33559 else
33562 ac_ext=cpp
33563 ac_cpp='$CXXCPP $CPPFLAGS'
33564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33569 /* end confdefs.h. */
33570 #include <math.h>
33571 #ifdef HAVE_IEEEFP_H
33572 #include <ieeefp.h>
33573 #endif
33576 main ()
33578 finite(0);
33580 return 0;
33582 _ACEOF
33583 if ac_fn_cxx_try_compile "$LINENO"; then :
33584 glibcxx_cv_func_finite_use=yes
33585 else
33586 glibcxx_cv_func_finite_use=no
33588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33589 ac_ext=c
33590 ac_cpp='$CPP $CPPFLAGS'
33591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33600 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33602 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33603 for ac_func in finite
33604 do :
33605 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33606 if test "x$ac_cv_func_finite" = x""yes; then :
33607 cat >>confdefs.h <<_ACEOF
33608 #define HAVE_FINITE 1
33609 _ACEOF
33612 done
33614 else
33616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33617 $as_echo_n "checking for _finite declaration... " >&6; }
33618 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33619 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33620 $as_echo_n "(cached) " >&6
33621 else
33624 ac_ext=cpp
33625 ac_cpp='$CXXCPP $CPPFLAGS'
33626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33631 /* end confdefs.h. */
33632 #include <math.h>
33633 #ifdef HAVE_IEEEFP_H
33634 #include <ieeefp.h>
33635 #endif
33638 main ()
33640 _finite(0);
33642 return 0;
33644 _ACEOF
33645 if ac_fn_cxx_try_compile "$LINENO"; then :
33646 glibcxx_cv_func__finite_use=yes
33647 else
33648 glibcxx_cv_func__finite_use=no
33650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33651 ac_ext=c
33652 ac_cpp='$CPP $CPPFLAGS'
33653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33662 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33664 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33665 for ac_func in _finite
33666 do :
33667 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33668 if test "x$ac_cv_func__finite" = x""yes; then :
33669 cat >>confdefs.h <<_ACEOF
33670 #define HAVE__FINITE 1
33671 _ACEOF
33674 done
33683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33684 $as_echo_n "checking for sincos declaration... " >&6; }
33685 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33686 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33687 $as_echo_n "(cached) " >&6
33688 else
33691 ac_ext=cpp
33692 ac_cpp='$CXXCPP $CPPFLAGS'
33693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33698 /* end confdefs.h. */
33699 #include <math.h>
33701 main ()
33703 sincos(0, 0, 0);
33705 return 0;
33707 _ACEOF
33708 if ac_fn_cxx_try_compile "$LINENO"; then :
33709 glibcxx_cv_func_sincos_use=yes
33710 else
33711 glibcxx_cv_func_sincos_use=no
33713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33714 ac_ext=c
33715 ac_cpp='$CPP $CPPFLAGS'
33716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33725 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33727 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33728 for ac_func in sincos
33729 do :
33730 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33731 if test "x$ac_cv_func_sincos" = x""yes; then :
33732 cat >>confdefs.h <<_ACEOF
33733 #define HAVE_SINCOS 1
33734 _ACEOF
33737 done
33739 else
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33742 $as_echo_n "checking for _sincos declaration... " >&6; }
33743 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33744 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33745 $as_echo_n "(cached) " >&6
33746 else
33749 ac_ext=cpp
33750 ac_cpp='$CXXCPP $CPPFLAGS'
33751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33756 /* end confdefs.h. */
33757 #include <math.h>
33759 main ()
33761 _sincos(0, 0, 0);
33763 return 0;
33765 _ACEOF
33766 if ac_fn_cxx_try_compile "$LINENO"; then :
33767 glibcxx_cv_func__sincos_use=yes
33768 else
33769 glibcxx_cv_func__sincos_use=no
33771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33772 ac_ext=c
33773 ac_cpp='$CPP $CPPFLAGS'
33774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33783 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33785 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33786 for ac_func in _sincos
33787 do :
33788 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33789 if test "x$ac_cv_func__sincos" = x""yes; then :
33790 cat >>confdefs.h <<_ACEOF
33791 #define HAVE__SINCOS 1
33792 _ACEOF
33795 done
33804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33805 $as_echo_n "checking for fpclass declaration... " >&6; }
33806 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33807 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33808 $as_echo_n "(cached) " >&6
33809 else
33812 ac_ext=cpp
33813 ac_cpp='$CXXCPP $CPPFLAGS'
33814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33819 /* end confdefs.h. */
33820 #include <math.h>
33821 #ifdef HAVE_IEEEFP_H
33822 #include <ieeefp.h>
33823 #endif
33826 main ()
33828 fpclass(0);
33830 return 0;
33832 _ACEOF
33833 if ac_fn_cxx_try_compile "$LINENO"; then :
33834 glibcxx_cv_func_fpclass_use=yes
33835 else
33836 glibcxx_cv_func_fpclass_use=no
33838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33839 ac_ext=c
33840 ac_cpp='$CPP $CPPFLAGS'
33841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33850 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33852 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33853 for ac_func in fpclass
33854 do :
33855 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33856 if test "x$ac_cv_func_fpclass" = x""yes; then :
33857 cat >>confdefs.h <<_ACEOF
33858 #define HAVE_FPCLASS 1
33859 _ACEOF
33862 done
33864 else
33866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33867 $as_echo_n "checking for _fpclass declaration... " >&6; }
33868 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33869 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33870 $as_echo_n "(cached) " >&6
33871 else
33874 ac_ext=cpp
33875 ac_cpp='$CXXCPP $CPPFLAGS'
33876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33881 /* end confdefs.h. */
33882 #include <math.h>
33883 #ifdef HAVE_IEEEFP_H
33884 #include <ieeefp.h>
33885 #endif
33888 main ()
33890 _fpclass(0);
33892 return 0;
33894 _ACEOF
33895 if ac_fn_cxx_try_compile "$LINENO"; then :
33896 glibcxx_cv_func__fpclass_use=yes
33897 else
33898 glibcxx_cv_func__fpclass_use=no
33900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33901 ac_ext=c
33902 ac_cpp='$CPP $CPPFLAGS'
33903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33912 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33914 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33915 for ac_func in _fpclass
33916 do :
33917 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33918 if test "x$ac_cv_func__fpclass" = x""yes; then :
33919 cat >>confdefs.h <<_ACEOF
33920 #define HAVE__FPCLASS 1
33921 _ACEOF
33924 done
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33934 $as_echo_n "checking for qfpclass declaration... " >&6; }
33935 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33936 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33937 $as_echo_n "(cached) " >&6
33938 else
33941 ac_ext=cpp
33942 ac_cpp='$CXXCPP $CPPFLAGS'
33943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33948 /* end confdefs.h. */
33949 #include <math.h>
33950 #ifdef HAVE_IEEEFP_H
33951 #include <ieeefp.h>
33952 #endif
33955 main ()
33957 qfpclass(0);
33959 return 0;
33961 _ACEOF
33962 if ac_fn_cxx_try_compile "$LINENO"; then :
33963 glibcxx_cv_func_qfpclass_use=yes
33964 else
33965 glibcxx_cv_func_qfpclass_use=no
33967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33968 ac_ext=c
33969 ac_cpp='$CPP $CPPFLAGS'
33970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33979 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33981 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33982 for ac_func in qfpclass
33983 do :
33984 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33985 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33986 cat >>confdefs.h <<_ACEOF
33987 #define HAVE_QFPCLASS 1
33988 _ACEOF
33991 done
33993 else
33995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33996 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33997 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33998 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33999 $as_echo_n "(cached) " >&6
34000 else
34003 ac_ext=cpp
34004 ac_cpp='$CXXCPP $CPPFLAGS'
34005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34010 /* end confdefs.h. */
34011 #include <math.h>
34012 #ifdef HAVE_IEEEFP_H
34013 #include <ieeefp.h>
34014 #endif
34017 main ()
34019 _qfpclass(0);
34021 return 0;
34023 _ACEOF
34024 if ac_fn_cxx_try_compile "$LINENO"; then :
34025 glibcxx_cv_func__qfpclass_use=yes
34026 else
34027 glibcxx_cv_func__qfpclass_use=no
34029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34030 ac_ext=c
34031 ac_cpp='$CPP $CPPFLAGS'
34032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34041 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34043 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34044 for ac_func in _qfpclass
34045 do :
34046 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34047 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34048 cat >>confdefs.h <<_ACEOF
34049 #define HAVE__QFPCLASS 1
34050 _ACEOF
34053 done
34062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34063 $as_echo_n "checking for hypot declaration... " >&6; }
34064 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34065 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34066 $as_echo_n "(cached) " >&6
34067 else
34070 ac_ext=cpp
34071 ac_cpp='$CXXCPP $CPPFLAGS'
34072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34077 /* end confdefs.h. */
34078 #include <math.h>
34080 main ()
34082 hypot(0, 0);
34084 return 0;
34086 _ACEOF
34087 if ac_fn_cxx_try_compile "$LINENO"; then :
34088 glibcxx_cv_func_hypot_use=yes
34089 else
34090 glibcxx_cv_func_hypot_use=no
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093 ac_ext=c
34094 ac_cpp='$CPP $CPPFLAGS'
34095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34104 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34106 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34107 for ac_func in hypot
34108 do :
34109 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34110 if test "x$ac_cv_func_hypot" = x""yes; then :
34111 cat >>confdefs.h <<_ACEOF
34112 #define HAVE_HYPOT 1
34113 _ACEOF
34116 done
34118 else
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34121 $as_echo_n "checking for _hypot declaration... " >&6; }
34122 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34123 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34124 $as_echo_n "(cached) " >&6
34125 else
34128 ac_ext=cpp
34129 ac_cpp='$CXXCPP $CPPFLAGS'
34130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34135 /* end confdefs.h. */
34136 #include <math.h>
34138 main ()
34140 _hypot(0, 0);
34142 return 0;
34144 _ACEOF
34145 if ac_fn_cxx_try_compile "$LINENO"; then :
34146 glibcxx_cv_func__hypot_use=yes
34147 else
34148 glibcxx_cv_func__hypot_use=no
34150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34151 ac_ext=c
34152 ac_cpp='$CPP $CPPFLAGS'
34153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34162 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34164 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34165 for ac_func in _hypot
34166 do :
34167 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34168 if test "x$ac_cv_func__hypot" = x""yes; then :
34169 cat >>confdefs.h <<_ACEOF
34170 #define HAVE__HYPOT 1
34171 _ACEOF
34174 done
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34184 $as_echo_n "checking for float trig functions... " >&6; }
34185 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34186 $as_echo_n "(cached) " >&6
34187 else
34190 ac_ext=cpp
34191 ac_cpp='$CXXCPP $CPPFLAGS'
34192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34197 /* end confdefs.h. */
34198 #include <math.h>
34200 main ()
34202 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34204 return 0;
34206 _ACEOF
34207 if ac_fn_cxx_try_compile "$LINENO"; then :
34208 glibcxx_cv_func_float_trig_use=yes
34209 else
34210 glibcxx_cv_func_float_trig_use=no
34212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34213 ac_ext=c
34214 ac_cpp='$CPP $CPPFLAGS'
34215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34222 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34223 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34224 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34225 do :
34226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34228 eval as_val=\$$as_ac_var
34229 if test "x$as_val" = x""yes; then :
34230 cat >>confdefs.h <<_ACEOF
34231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34232 _ACEOF
34235 done
34237 else
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34239 $as_echo_n "checking for _float trig functions... " >&6; }
34240 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34241 $as_echo_n "(cached) " >&6
34242 else
34245 ac_ext=cpp
34246 ac_cpp='$CXXCPP $CPPFLAGS'
34247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34252 /* end confdefs.h. */
34253 #include <math.h>
34255 main ()
34257 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34259 return 0;
34261 _ACEOF
34262 if ac_fn_cxx_try_compile "$LINENO"; then :
34263 glibcxx_cv_func__float_trig_use=yes
34264 else
34265 glibcxx_cv_func__float_trig_use=no
34267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34268 ac_ext=c
34269 ac_cpp='$CPP $CPPFLAGS'
34270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34277 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34278 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34279 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34280 do :
34281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34283 eval as_val=\$$as_ac_var
34284 if test "x$as_val" = x""yes; then :
34285 cat >>confdefs.h <<_ACEOF
34286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34287 _ACEOF
34290 done
34299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34300 $as_echo_n "checking for float round functions... " >&6; }
34301 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34302 $as_echo_n "(cached) " >&6
34303 else
34306 ac_ext=cpp
34307 ac_cpp='$CXXCPP $CPPFLAGS'
34308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34313 /* end confdefs.h. */
34314 #include <math.h>
34316 main ()
34318 ceilf (0); floorf (0);
34320 return 0;
34322 _ACEOF
34323 if ac_fn_cxx_try_compile "$LINENO"; then :
34324 glibcxx_cv_func_float_round_use=yes
34325 else
34326 glibcxx_cv_func_float_round_use=no
34328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34329 ac_ext=c
34330 ac_cpp='$CPP $CPPFLAGS'
34331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34338 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34339 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34340 for ac_func in ceilf floorf
34341 do :
34342 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34343 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34344 eval as_val=\$$as_ac_var
34345 if test "x$as_val" = x""yes; then :
34346 cat >>confdefs.h <<_ACEOF
34347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34348 _ACEOF
34351 done
34353 else
34354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34355 $as_echo_n "checking for _float round functions... " >&6; }
34356 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34357 $as_echo_n "(cached) " >&6
34358 else
34361 ac_ext=cpp
34362 ac_cpp='$CXXCPP $CPPFLAGS'
34363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34368 /* end confdefs.h. */
34369 #include <math.h>
34371 main ()
34373 _ceilf (0); _floorf (0);
34375 return 0;
34377 _ACEOF
34378 if ac_fn_cxx_try_compile "$LINENO"; then :
34379 glibcxx_cv_func__float_round_use=yes
34380 else
34381 glibcxx_cv_func__float_round_use=no
34383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34384 ac_ext=c
34385 ac_cpp='$CPP $CPPFLAGS'
34386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34393 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34394 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34395 for ac_func in _ceilf _floorf
34396 do :
34397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34399 eval as_val=\$$as_ac_var
34400 if test "x$as_val" = x""yes; then :
34401 cat >>confdefs.h <<_ACEOF
34402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34403 _ACEOF
34406 done
34416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34417 $as_echo_n "checking for expf declaration... " >&6; }
34418 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34419 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34420 $as_echo_n "(cached) " >&6
34421 else
34424 ac_ext=cpp
34425 ac_cpp='$CXXCPP $CPPFLAGS'
34426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34431 /* end confdefs.h. */
34432 #include <math.h>
34433 #ifdef HAVE_IEEEFP_H
34434 #include <ieeefp.h>
34435 #endif
34438 main ()
34440 expf(0);
34442 return 0;
34444 _ACEOF
34445 if ac_fn_cxx_try_compile "$LINENO"; then :
34446 glibcxx_cv_func_expf_use=yes
34447 else
34448 glibcxx_cv_func_expf_use=no
34450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34451 ac_ext=c
34452 ac_cpp='$CPP $CPPFLAGS'
34453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34462 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34464 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34465 for ac_func in expf
34466 do :
34467 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34468 if test "x$ac_cv_func_expf" = x""yes; then :
34469 cat >>confdefs.h <<_ACEOF
34470 #define HAVE_EXPF 1
34471 _ACEOF
34474 done
34476 else
34478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34479 $as_echo_n "checking for _expf declaration... " >&6; }
34480 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34481 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34482 $as_echo_n "(cached) " >&6
34483 else
34486 ac_ext=cpp
34487 ac_cpp='$CXXCPP $CPPFLAGS'
34488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34493 /* end confdefs.h. */
34494 #include <math.h>
34495 #ifdef HAVE_IEEEFP_H
34496 #include <ieeefp.h>
34497 #endif
34500 main ()
34502 _expf(0);
34504 return 0;
34506 _ACEOF
34507 if ac_fn_cxx_try_compile "$LINENO"; then :
34508 glibcxx_cv_func__expf_use=yes
34509 else
34510 glibcxx_cv_func__expf_use=no
34512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34513 ac_ext=c
34514 ac_cpp='$CPP $CPPFLAGS'
34515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34524 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34526 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34527 for ac_func in _expf
34528 do :
34529 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34530 if test "x$ac_cv_func__expf" = x""yes; then :
34531 cat >>confdefs.h <<_ACEOF
34532 #define HAVE__EXPF 1
34533 _ACEOF
34536 done
34545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34546 $as_echo_n "checking for isnanf declaration... " >&6; }
34547 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34548 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34549 $as_echo_n "(cached) " >&6
34550 else
34553 ac_ext=cpp
34554 ac_cpp='$CXXCPP $CPPFLAGS'
34555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34560 /* end confdefs.h. */
34561 #include <math.h>
34562 #ifdef HAVE_IEEEFP_H
34563 #include <ieeefp.h>
34564 #endif
34567 main ()
34569 isnanf(0);
34571 return 0;
34573 _ACEOF
34574 if ac_fn_cxx_try_compile "$LINENO"; then :
34575 glibcxx_cv_func_isnanf_use=yes
34576 else
34577 glibcxx_cv_func_isnanf_use=no
34579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34580 ac_ext=c
34581 ac_cpp='$CPP $CPPFLAGS'
34582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34591 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34593 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34594 for ac_func in isnanf
34595 do :
34596 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34597 if test "x$ac_cv_func_isnanf" = x""yes; then :
34598 cat >>confdefs.h <<_ACEOF
34599 #define HAVE_ISNANF 1
34600 _ACEOF
34603 done
34605 else
34607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34608 $as_echo_n "checking for _isnanf declaration... " >&6; }
34609 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34610 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34611 $as_echo_n "(cached) " >&6
34612 else
34615 ac_ext=cpp
34616 ac_cpp='$CXXCPP $CPPFLAGS'
34617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34622 /* end confdefs.h. */
34623 #include <math.h>
34624 #ifdef HAVE_IEEEFP_H
34625 #include <ieeefp.h>
34626 #endif
34629 main ()
34631 _isnanf(0);
34633 return 0;
34635 _ACEOF
34636 if ac_fn_cxx_try_compile "$LINENO"; then :
34637 glibcxx_cv_func__isnanf_use=yes
34638 else
34639 glibcxx_cv_func__isnanf_use=no
34641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34642 ac_ext=c
34643 ac_cpp='$CPP $CPPFLAGS'
34644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34653 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34655 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34656 for ac_func in _isnanf
34657 do :
34658 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34659 if test "x$ac_cv_func__isnanf" = x""yes; then :
34660 cat >>confdefs.h <<_ACEOF
34661 #define HAVE__ISNANF 1
34662 _ACEOF
34665 done
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34675 $as_echo_n "checking for isinff declaration... " >&6; }
34676 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34677 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34678 $as_echo_n "(cached) " >&6
34679 else
34682 ac_ext=cpp
34683 ac_cpp='$CXXCPP $CPPFLAGS'
34684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34689 /* end confdefs.h. */
34690 #include <math.h>
34691 #ifdef HAVE_IEEEFP_H
34692 #include <ieeefp.h>
34693 #endif
34696 main ()
34698 isinff(0);
34700 return 0;
34702 _ACEOF
34703 if ac_fn_cxx_try_compile "$LINENO"; then :
34704 glibcxx_cv_func_isinff_use=yes
34705 else
34706 glibcxx_cv_func_isinff_use=no
34708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34709 ac_ext=c
34710 ac_cpp='$CPP $CPPFLAGS'
34711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34720 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34722 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34723 for ac_func in isinff
34724 do :
34725 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34726 if test "x$ac_cv_func_isinff" = x""yes; then :
34727 cat >>confdefs.h <<_ACEOF
34728 #define HAVE_ISINFF 1
34729 _ACEOF
34732 done
34734 else
34736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34737 $as_echo_n "checking for _isinff declaration... " >&6; }
34738 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34739 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34740 $as_echo_n "(cached) " >&6
34741 else
34744 ac_ext=cpp
34745 ac_cpp='$CXXCPP $CPPFLAGS'
34746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34751 /* end confdefs.h. */
34752 #include <math.h>
34753 #ifdef HAVE_IEEEFP_H
34754 #include <ieeefp.h>
34755 #endif
34758 main ()
34760 _isinff(0);
34762 return 0;
34764 _ACEOF
34765 if ac_fn_cxx_try_compile "$LINENO"; then :
34766 glibcxx_cv_func__isinff_use=yes
34767 else
34768 glibcxx_cv_func__isinff_use=no
34770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34771 ac_ext=c
34772 ac_cpp='$CPP $CPPFLAGS'
34773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34782 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34784 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34785 for ac_func in _isinff
34786 do :
34787 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34788 if test "x$ac_cv_func__isinff" = x""yes; then :
34789 cat >>confdefs.h <<_ACEOF
34790 #define HAVE__ISINFF 1
34791 _ACEOF
34794 done
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34804 $as_echo_n "checking for atan2f declaration... " >&6; }
34805 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34806 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34807 $as_echo_n "(cached) " >&6
34808 else
34811 ac_ext=cpp
34812 ac_cpp='$CXXCPP $CPPFLAGS'
34813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34818 /* end confdefs.h. */
34819 #include <math.h>
34821 main ()
34823 atan2f(0, 0);
34825 return 0;
34827 _ACEOF
34828 if ac_fn_cxx_try_compile "$LINENO"; then :
34829 glibcxx_cv_func_atan2f_use=yes
34830 else
34831 glibcxx_cv_func_atan2f_use=no
34833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34834 ac_ext=c
34835 ac_cpp='$CPP $CPPFLAGS'
34836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34845 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34847 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34848 for ac_func in atan2f
34849 do :
34850 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34851 if test "x$ac_cv_func_atan2f" = x""yes; then :
34852 cat >>confdefs.h <<_ACEOF
34853 #define HAVE_ATAN2F 1
34854 _ACEOF
34857 done
34859 else
34861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34862 $as_echo_n "checking for _atan2f declaration... " >&6; }
34863 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34864 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34865 $as_echo_n "(cached) " >&6
34866 else
34869 ac_ext=cpp
34870 ac_cpp='$CXXCPP $CPPFLAGS'
34871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34876 /* end confdefs.h. */
34877 #include <math.h>
34879 main ()
34881 _atan2f(0, 0);
34883 return 0;
34885 _ACEOF
34886 if ac_fn_cxx_try_compile "$LINENO"; then :
34887 glibcxx_cv_func__atan2f_use=yes
34888 else
34889 glibcxx_cv_func__atan2f_use=no
34891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34892 ac_ext=c
34893 ac_cpp='$CPP $CPPFLAGS'
34894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34903 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34905 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34906 for ac_func in _atan2f
34907 do :
34908 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34909 if test "x$ac_cv_func__atan2f" = x""yes; then :
34910 cat >>confdefs.h <<_ACEOF
34911 #define HAVE__ATAN2F 1
34912 _ACEOF
34915 done
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34925 $as_echo_n "checking for fabsf declaration... " >&6; }
34926 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34927 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34928 $as_echo_n "(cached) " >&6
34929 else
34932 ac_ext=cpp
34933 ac_cpp='$CXXCPP $CPPFLAGS'
34934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34939 /* end confdefs.h. */
34940 #include <math.h>
34941 #ifdef HAVE_IEEEFP_H
34942 #include <ieeefp.h>
34943 #endif
34946 main ()
34948 fabsf(0);
34950 return 0;
34952 _ACEOF
34953 if ac_fn_cxx_try_compile "$LINENO"; then :
34954 glibcxx_cv_func_fabsf_use=yes
34955 else
34956 glibcxx_cv_func_fabsf_use=no
34958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34959 ac_ext=c
34960 ac_cpp='$CPP $CPPFLAGS'
34961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34970 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34972 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34973 for ac_func in fabsf
34974 do :
34975 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34976 if test "x$ac_cv_func_fabsf" = x""yes; then :
34977 cat >>confdefs.h <<_ACEOF
34978 #define HAVE_FABSF 1
34979 _ACEOF
34982 done
34984 else
34986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34987 $as_echo_n "checking for _fabsf declaration... " >&6; }
34988 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34989 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34990 $as_echo_n "(cached) " >&6
34991 else
34994 ac_ext=cpp
34995 ac_cpp='$CXXCPP $CPPFLAGS'
34996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35001 /* end confdefs.h. */
35002 #include <math.h>
35003 #ifdef HAVE_IEEEFP_H
35004 #include <ieeefp.h>
35005 #endif
35008 main ()
35010 _fabsf(0);
35012 return 0;
35014 _ACEOF
35015 if ac_fn_cxx_try_compile "$LINENO"; then :
35016 glibcxx_cv_func__fabsf_use=yes
35017 else
35018 glibcxx_cv_func__fabsf_use=no
35020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35021 ac_ext=c
35022 ac_cpp='$CPP $CPPFLAGS'
35023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35032 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35034 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35035 for ac_func in _fabsf
35036 do :
35037 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35038 if test "x$ac_cv_func__fabsf" = x""yes; then :
35039 cat >>confdefs.h <<_ACEOF
35040 #define HAVE__FABSF 1
35041 _ACEOF
35044 done
35053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35054 $as_echo_n "checking for fmodf declaration... " >&6; }
35055 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35056 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35057 $as_echo_n "(cached) " >&6
35058 else
35061 ac_ext=cpp
35062 ac_cpp='$CXXCPP $CPPFLAGS'
35063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h. */
35069 #include <math.h>
35071 main ()
35073 fmodf(0, 0);
35075 return 0;
35077 _ACEOF
35078 if ac_fn_cxx_try_compile "$LINENO"; then :
35079 glibcxx_cv_func_fmodf_use=yes
35080 else
35081 glibcxx_cv_func_fmodf_use=no
35083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35084 ac_ext=c
35085 ac_cpp='$CPP $CPPFLAGS'
35086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35095 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35097 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35098 for ac_func in fmodf
35099 do :
35100 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35101 if test "x$ac_cv_func_fmodf" = x""yes; then :
35102 cat >>confdefs.h <<_ACEOF
35103 #define HAVE_FMODF 1
35104 _ACEOF
35107 done
35109 else
35111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35112 $as_echo_n "checking for _fmodf declaration... " >&6; }
35113 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35114 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35115 $as_echo_n "(cached) " >&6
35116 else
35119 ac_ext=cpp
35120 ac_cpp='$CXXCPP $CPPFLAGS'
35121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35126 /* end confdefs.h. */
35127 #include <math.h>
35129 main ()
35131 _fmodf(0, 0);
35133 return 0;
35135 _ACEOF
35136 if ac_fn_cxx_try_compile "$LINENO"; then :
35137 glibcxx_cv_func__fmodf_use=yes
35138 else
35139 glibcxx_cv_func__fmodf_use=no
35141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35142 ac_ext=c
35143 ac_cpp='$CPP $CPPFLAGS'
35144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35153 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35155 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35156 for ac_func in _fmodf
35157 do :
35158 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35159 if test "x$ac_cv_func__fmodf" = x""yes; then :
35160 cat >>confdefs.h <<_ACEOF
35161 #define HAVE__FMODF 1
35162 _ACEOF
35165 done
35174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35175 $as_echo_n "checking for frexpf declaration... " >&6; }
35176 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35177 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35178 $as_echo_n "(cached) " >&6
35179 else
35182 ac_ext=cpp
35183 ac_cpp='$CXXCPP $CPPFLAGS'
35184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35189 /* end confdefs.h. */
35190 #include <math.h>
35192 main ()
35194 frexpf(0, 0);
35196 return 0;
35198 _ACEOF
35199 if ac_fn_cxx_try_compile "$LINENO"; then :
35200 glibcxx_cv_func_frexpf_use=yes
35201 else
35202 glibcxx_cv_func_frexpf_use=no
35204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35205 ac_ext=c
35206 ac_cpp='$CPP $CPPFLAGS'
35207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35216 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35218 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35219 for ac_func in frexpf
35220 do :
35221 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35222 if test "x$ac_cv_func_frexpf" = x""yes; then :
35223 cat >>confdefs.h <<_ACEOF
35224 #define HAVE_FREXPF 1
35225 _ACEOF
35228 done
35230 else
35232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35233 $as_echo_n "checking for _frexpf declaration... " >&6; }
35234 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35235 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35236 $as_echo_n "(cached) " >&6
35237 else
35240 ac_ext=cpp
35241 ac_cpp='$CXXCPP $CPPFLAGS'
35242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35247 /* end confdefs.h. */
35248 #include <math.h>
35250 main ()
35252 _frexpf(0, 0);
35254 return 0;
35256 _ACEOF
35257 if ac_fn_cxx_try_compile "$LINENO"; then :
35258 glibcxx_cv_func__frexpf_use=yes
35259 else
35260 glibcxx_cv_func__frexpf_use=no
35262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35263 ac_ext=c
35264 ac_cpp='$CPP $CPPFLAGS'
35265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35274 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35276 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35277 for ac_func in _frexpf
35278 do :
35279 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35280 if test "x$ac_cv_func__frexpf" = x""yes; then :
35281 cat >>confdefs.h <<_ACEOF
35282 #define HAVE__FREXPF 1
35283 _ACEOF
35286 done
35295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35296 $as_echo_n "checking for hypotf declaration... " >&6; }
35297 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35298 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35299 $as_echo_n "(cached) " >&6
35300 else
35303 ac_ext=cpp
35304 ac_cpp='$CXXCPP $CPPFLAGS'
35305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35310 /* end confdefs.h. */
35311 #include <math.h>
35313 main ()
35315 hypotf(0, 0);
35317 return 0;
35319 _ACEOF
35320 if ac_fn_cxx_try_compile "$LINENO"; then :
35321 glibcxx_cv_func_hypotf_use=yes
35322 else
35323 glibcxx_cv_func_hypotf_use=no
35325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35326 ac_ext=c
35327 ac_cpp='$CPP $CPPFLAGS'
35328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35337 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35339 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35340 for ac_func in hypotf
35341 do :
35342 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35343 if test "x$ac_cv_func_hypotf" = x""yes; then :
35344 cat >>confdefs.h <<_ACEOF
35345 #define HAVE_HYPOTF 1
35346 _ACEOF
35349 done
35351 else
35353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35354 $as_echo_n "checking for _hypotf declaration... " >&6; }
35355 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35356 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35357 $as_echo_n "(cached) " >&6
35358 else
35361 ac_ext=cpp
35362 ac_cpp='$CXXCPP $CPPFLAGS'
35363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35368 /* end confdefs.h. */
35369 #include <math.h>
35371 main ()
35373 _hypotf(0, 0);
35375 return 0;
35377 _ACEOF
35378 if ac_fn_cxx_try_compile "$LINENO"; then :
35379 glibcxx_cv_func__hypotf_use=yes
35380 else
35381 glibcxx_cv_func__hypotf_use=no
35383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35384 ac_ext=c
35385 ac_cpp='$CPP $CPPFLAGS'
35386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35395 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35397 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35398 for ac_func in _hypotf
35399 do :
35400 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35401 if test "x$ac_cv_func__hypotf" = x""yes; then :
35402 cat >>confdefs.h <<_ACEOF
35403 #define HAVE__HYPOTF 1
35404 _ACEOF
35407 done
35416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35417 $as_echo_n "checking for ldexpf declaration... " >&6; }
35418 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35419 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35420 $as_echo_n "(cached) " >&6
35421 else
35424 ac_ext=cpp
35425 ac_cpp='$CXXCPP $CPPFLAGS'
35426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35431 /* end confdefs.h. */
35432 #include <math.h>
35434 main ()
35436 ldexpf(0, 0);
35438 return 0;
35440 _ACEOF
35441 if ac_fn_cxx_try_compile "$LINENO"; then :
35442 glibcxx_cv_func_ldexpf_use=yes
35443 else
35444 glibcxx_cv_func_ldexpf_use=no
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35447 ac_ext=c
35448 ac_cpp='$CPP $CPPFLAGS'
35449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35458 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35460 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35461 for ac_func in ldexpf
35462 do :
35463 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35464 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35465 cat >>confdefs.h <<_ACEOF
35466 #define HAVE_LDEXPF 1
35467 _ACEOF
35470 done
35472 else
35474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35475 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35476 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35477 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35478 $as_echo_n "(cached) " >&6
35479 else
35482 ac_ext=cpp
35483 ac_cpp='$CXXCPP $CPPFLAGS'
35484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35489 /* end confdefs.h. */
35490 #include <math.h>
35492 main ()
35494 _ldexpf(0, 0);
35496 return 0;
35498 _ACEOF
35499 if ac_fn_cxx_try_compile "$LINENO"; then :
35500 glibcxx_cv_func__ldexpf_use=yes
35501 else
35502 glibcxx_cv_func__ldexpf_use=no
35504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35505 ac_ext=c
35506 ac_cpp='$CPP $CPPFLAGS'
35507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35516 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35518 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35519 for ac_func in _ldexpf
35520 do :
35521 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35522 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35523 cat >>confdefs.h <<_ACEOF
35524 #define HAVE__LDEXPF 1
35525 _ACEOF
35528 done
35537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35538 $as_echo_n "checking for logf declaration... " >&6; }
35539 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35540 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35541 $as_echo_n "(cached) " >&6
35542 else
35545 ac_ext=cpp
35546 ac_cpp='$CXXCPP $CPPFLAGS'
35547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35552 /* end confdefs.h. */
35553 #include <math.h>
35554 #ifdef HAVE_IEEEFP_H
35555 #include <ieeefp.h>
35556 #endif
35559 main ()
35561 logf(0);
35563 return 0;
35565 _ACEOF
35566 if ac_fn_cxx_try_compile "$LINENO"; then :
35567 glibcxx_cv_func_logf_use=yes
35568 else
35569 glibcxx_cv_func_logf_use=no
35571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35572 ac_ext=c
35573 ac_cpp='$CPP $CPPFLAGS'
35574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35583 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35585 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35586 for ac_func in logf
35587 do :
35588 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35589 if test "x$ac_cv_func_logf" = x""yes; then :
35590 cat >>confdefs.h <<_ACEOF
35591 #define HAVE_LOGF 1
35592 _ACEOF
35595 done
35597 else
35599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35600 $as_echo_n "checking for _logf declaration... " >&6; }
35601 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35602 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35603 $as_echo_n "(cached) " >&6
35604 else
35607 ac_ext=cpp
35608 ac_cpp='$CXXCPP $CPPFLAGS'
35609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35614 /* end confdefs.h. */
35615 #include <math.h>
35616 #ifdef HAVE_IEEEFP_H
35617 #include <ieeefp.h>
35618 #endif
35621 main ()
35623 _logf(0);
35625 return 0;
35627 _ACEOF
35628 if ac_fn_cxx_try_compile "$LINENO"; then :
35629 glibcxx_cv_func__logf_use=yes
35630 else
35631 glibcxx_cv_func__logf_use=no
35633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35634 ac_ext=c
35635 ac_cpp='$CPP $CPPFLAGS'
35636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35645 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35647 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35648 for ac_func in _logf
35649 do :
35650 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35651 if test "x$ac_cv_func__logf" = x""yes; then :
35652 cat >>confdefs.h <<_ACEOF
35653 #define HAVE__LOGF 1
35654 _ACEOF
35657 done
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35667 $as_echo_n "checking for log10f declaration... " >&6; }
35668 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35669 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35670 $as_echo_n "(cached) " >&6
35671 else
35674 ac_ext=cpp
35675 ac_cpp='$CXXCPP $CPPFLAGS'
35676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35681 /* end confdefs.h. */
35682 #include <math.h>
35683 #ifdef HAVE_IEEEFP_H
35684 #include <ieeefp.h>
35685 #endif
35688 main ()
35690 log10f(0);
35692 return 0;
35694 _ACEOF
35695 if ac_fn_cxx_try_compile "$LINENO"; then :
35696 glibcxx_cv_func_log10f_use=yes
35697 else
35698 glibcxx_cv_func_log10f_use=no
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35712 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35714 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35715 for ac_func in log10f
35716 do :
35717 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35718 if test "x$ac_cv_func_log10f" = x""yes; then :
35719 cat >>confdefs.h <<_ACEOF
35720 #define HAVE_LOG10F 1
35721 _ACEOF
35724 done
35726 else
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35729 $as_echo_n "checking for _log10f declaration... " >&6; }
35730 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35731 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35732 $as_echo_n "(cached) " >&6
35733 else
35736 ac_ext=cpp
35737 ac_cpp='$CXXCPP $CPPFLAGS'
35738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35743 /* end confdefs.h. */
35744 #include <math.h>
35745 #ifdef HAVE_IEEEFP_H
35746 #include <ieeefp.h>
35747 #endif
35750 main ()
35752 _log10f(0);
35754 return 0;
35756 _ACEOF
35757 if ac_fn_cxx_try_compile "$LINENO"; then :
35758 glibcxx_cv_func__log10f_use=yes
35759 else
35760 glibcxx_cv_func__log10f_use=no
35762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763 ac_ext=c
35764 ac_cpp='$CPP $CPPFLAGS'
35765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35774 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35776 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35777 for ac_func in _log10f
35778 do :
35779 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35780 if test "x$ac_cv_func__log10f" = x""yes; then :
35781 cat >>confdefs.h <<_ACEOF
35782 #define HAVE__LOG10F 1
35783 _ACEOF
35786 done
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35796 $as_echo_n "checking for modff declaration... " >&6; }
35797 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35798 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35799 $as_echo_n "(cached) " >&6
35800 else
35803 ac_ext=cpp
35804 ac_cpp='$CXXCPP $CPPFLAGS'
35805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35810 /* end confdefs.h. */
35811 #include <math.h>
35813 main ()
35815 modff(0, 0);
35817 return 0;
35819 _ACEOF
35820 if ac_fn_cxx_try_compile "$LINENO"; then :
35821 glibcxx_cv_func_modff_use=yes
35822 else
35823 glibcxx_cv_func_modff_use=no
35825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35826 ac_ext=c
35827 ac_cpp='$CPP $CPPFLAGS'
35828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35837 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35839 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35840 for ac_func in modff
35841 do :
35842 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35843 if test "x$ac_cv_func_modff" = x""yes; then :
35844 cat >>confdefs.h <<_ACEOF
35845 #define HAVE_MODFF 1
35846 _ACEOF
35849 done
35851 else
35853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35854 $as_echo_n "checking for _modff declaration... " >&6; }
35855 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35856 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35857 $as_echo_n "(cached) " >&6
35858 else
35861 ac_ext=cpp
35862 ac_cpp='$CXXCPP $CPPFLAGS'
35863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35868 /* end confdefs.h. */
35869 #include <math.h>
35871 main ()
35873 _modff(0, 0);
35875 return 0;
35877 _ACEOF
35878 if ac_fn_cxx_try_compile "$LINENO"; then :
35879 glibcxx_cv_func__modff_use=yes
35880 else
35881 glibcxx_cv_func__modff_use=no
35883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35884 ac_ext=c
35885 ac_cpp='$CPP $CPPFLAGS'
35886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35895 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35897 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35898 for ac_func in _modff
35899 do :
35900 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35901 if test "x$ac_cv_func__modff" = x""yes; then :
35902 cat >>confdefs.h <<_ACEOF
35903 #define HAVE__MODFF 1
35904 _ACEOF
35907 done
35916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35917 $as_echo_n "checking for modf declaration... " >&6; }
35918 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35919 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35920 $as_echo_n "(cached) " >&6
35921 else
35924 ac_ext=cpp
35925 ac_cpp='$CXXCPP $CPPFLAGS'
35926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35931 /* end confdefs.h. */
35932 #include <math.h>
35934 main ()
35936 modf(0, 0);
35938 return 0;
35940 _ACEOF
35941 if ac_fn_cxx_try_compile "$LINENO"; then :
35942 glibcxx_cv_func_modf_use=yes
35943 else
35944 glibcxx_cv_func_modf_use=no
35946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35947 ac_ext=c
35948 ac_cpp='$CPP $CPPFLAGS'
35949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35958 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35960 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35961 for ac_func in modf
35962 do :
35963 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35964 if test "x$ac_cv_func_modf" = x""yes; then :
35965 cat >>confdefs.h <<_ACEOF
35966 #define HAVE_MODF 1
35967 _ACEOF
35970 done
35972 else
35974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35975 $as_echo_n "checking for _modf declaration... " >&6; }
35976 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35977 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35978 $as_echo_n "(cached) " >&6
35979 else
35982 ac_ext=cpp
35983 ac_cpp='$CXXCPP $CPPFLAGS'
35984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35989 /* end confdefs.h. */
35990 #include <math.h>
35992 main ()
35994 _modf(0, 0);
35996 return 0;
35998 _ACEOF
35999 if ac_fn_cxx_try_compile "$LINENO"; then :
36000 glibcxx_cv_func__modf_use=yes
36001 else
36002 glibcxx_cv_func__modf_use=no
36004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36005 ac_ext=c
36006 ac_cpp='$CPP $CPPFLAGS'
36007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36016 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36018 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36019 for ac_func in _modf
36020 do :
36021 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36022 if test "x$ac_cv_func__modf" = x""yes; then :
36023 cat >>confdefs.h <<_ACEOF
36024 #define HAVE__MODF 1
36025 _ACEOF
36028 done
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36038 $as_echo_n "checking for powf declaration... " >&6; }
36039 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36040 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36041 $as_echo_n "(cached) " >&6
36042 else
36045 ac_ext=cpp
36046 ac_cpp='$CXXCPP $CPPFLAGS'
36047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36052 /* end confdefs.h. */
36053 #include <math.h>
36055 main ()
36057 powf(0, 0);
36059 return 0;
36061 _ACEOF
36062 if ac_fn_cxx_try_compile "$LINENO"; then :
36063 glibcxx_cv_func_powf_use=yes
36064 else
36065 glibcxx_cv_func_powf_use=no
36067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36068 ac_ext=c
36069 ac_cpp='$CPP $CPPFLAGS'
36070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36079 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36081 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36082 for ac_func in powf
36083 do :
36084 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36085 if test "x$ac_cv_func_powf" = x""yes; then :
36086 cat >>confdefs.h <<_ACEOF
36087 #define HAVE_POWF 1
36088 _ACEOF
36091 done
36093 else
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36096 $as_echo_n "checking for _powf declaration... " >&6; }
36097 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36098 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36099 $as_echo_n "(cached) " >&6
36100 else
36103 ac_ext=cpp
36104 ac_cpp='$CXXCPP $CPPFLAGS'
36105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36110 /* end confdefs.h. */
36111 #include <math.h>
36113 main ()
36115 _powf(0, 0);
36117 return 0;
36119 _ACEOF
36120 if ac_fn_cxx_try_compile "$LINENO"; then :
36121 glibcxx_cv_func__powf_use=yes
36122 else
36123 glibcxx_cv_func__powf_use=no
36125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36126 ac_ext=c
36127 ac_cpp='$CPP $CPPFLAGS'
36128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36137 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36139 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36140 for ac_func in _powf
36141 do :
36142 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36143 if test "x$ac_cv_func__powf" = x""yes; then :
36144 cat >>confdefs.h <<_ACEOF
36145 #define HAVE__POWF 1
36146 _ACEOF
36149 done
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36159 $as_echo_n "checking for sqrtf declaration... " >&6; }
36160 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36161 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36162 $as_echo_n "(cached) " >&6
36163 else
36166 ac_ext=cpp
36167 ac_cpp='$CXXCPP $CPPFLAGS'
36168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36173 /* end confdefs.h. */
36174 #include <math.h>
36175 #ifdef HAVE_IEEEFP_H
36176 #include <ieeefp.h>
36177 #endif
36180 main ()
36182 sqrtf(0);
36184 return 0;
36186 _ACEOF
36187 if ac_fn_cxx_try_compile "$LINENO"; then :
36188 glibcxx_cv_func_sqrtf_use=yes
36189 else
36190 glibcxx_cv_func_sqrtf_use=no
36192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36193 ac_ext=c
36194 ac_cpp='$CPP $CPPFLAGS'
36195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36204 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36206 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36207 for ac_func in sqrtf
36208 do :
36209 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36210 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36211 cat >>confdefs.h <<_ACEOF
36212 #define HAVE_SQRTF 1
36213 _ACEOF
36216 done
36218 else
36220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36221 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36222 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36223 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36224 $as_echo_n "(cached) " >&6
36225 else
36228 ac_ext=cpp
36229 ac_cpp='$CXXCPP $CPPFLAGS'
36230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36235 /* end confdefs.h. */
36236 #include <math.h>
36237 #ifdef HAVE_IEEEFP_H
36238 #include <ieeefp.h>
36239 #endif
36242 main ()
36244 _sqrtf(0);
36246 return 0;
36248 _ACEOF
36249 if ac_fn_cxx_try_compile "$LINENO"; then :
36250 glibcxx_cv_func__sqrtf_use=yes
36251 else
36252 glibcxx_cv_func__sqrtf_use=no
36254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36255 ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36266 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36268 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36269 for ac_func in _sqrtf
36270 do :
36271 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36272 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36273 cat >>confdefs.h <<_ACEOF
36274 #define HAVE__SQRTF 1
36275 _ACEOF
36278 done
36287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36288 $as_echo_n "checking for sincosf declaration... " >&6; }
36289 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36290 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36291 $as_echo_n "(cached) " >&6
36292 else
36295 ac_ext=cpp
36296 ac_cpp='$CXXCPP $CPPFLAGS'
36297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36302 /* end confdefs.h. */
36303 #include <math.h>
36305 main ()
36307 sincosf(0, 0, 0);
36309 return 0;
36311 _ACEOF
36312 if ac_fn_cxx_try_compile "$LINENO"; then :
36313 glibcxx_cv_func_sincosf_use=yes
36314 else
36315 glibcxx_cv_func_sincosf_use=no
36317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36318 ac_ext=c
36319 ac_cpp='$CPP $CPPFLAGS'
36320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36329 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36331 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36332 for ac_func in sincosf
36333 do :
36334 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36335 if test "x$ac_cv_func_sincosf" = x""yes; then :
36336 cat >>confdefs.h <<_ACEOF
36337 #define HAVE_SINCOSF 1
36338 _ACEOF
36341 done
36343 else
36345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36346 $as_echo_n "checking for _sincosf declaration... " >&6; }
36347 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36348 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36349 $as_echo_n "(cached) " >&6
36350 else
36353 ac_ext=cpp
36354 ac_cpp='$CXXCPP $CPPFLAGS'
36355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36360 /* end confdefs.h. */
36361 #include <math.h>
36363 main ()
36365 _sincosf(0, 0, 0);
36367 return 0;
36369 _ACEOF
36370 if ac_fn_cxx_try_compile "$LINENO"; then :
36371 glibcxx_cv_func__sincosf_use=yes
36372 else
36373 glibcxx_cv_func__sincosf_use=no
36375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36376 ac_ext=c
36377 ac_cpp='$CPP $CPPFLAGS'
36378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36387 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36389 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36390 for ac_func in _sincosf
36391 do :
36392 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36393 if test "x$ac_cv_func__sincosf" = x""yes; then :
36394 cat >>confdefs.h <<_ACEOF
36395 #define HAVE__SINCOSF 1
36396 _ACEOF
36399 done
36408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36409 $as_echo_n "checking for finitef declaration... " >&6; }
36410 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36411 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36412 $as_echo_n "(cached) " >&6
36413 else
36416 ac_ext=cpp
36417 ac_cpp='$CXXCPP $CPPFLAGS'
36418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36423 /* end confdefs.h. */
36424 #include <math.h>
36425 #ifdef HAVE_IEEEFP_H
36426 #include <ieeefp.h>
36427 #endif
36430 main ()
36432 finitef(0);
36434 return 0;
36436 _ACEOF
36437 if ac_fn_cxx_try_compile "$LINENO"; then :
36438 glibcxx_cv_func_finitef_use=yes
36439 else
36440 glibcxx_cv_func_finitef_use=no
36442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36443 ac_ext=c
36444 ac_cpp='$CPP $CPPFLAGS'
36445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36454 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36456 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36457 for ac_func in finitef
36458 do :
36459 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36460 if test "x$ac_cv_func_finitef" = x""yes; then :
36461 cat >>confdefs.h <<_ACEOF
36462 #define HAVE_FINITEF 1
36463 _ACEOF
36466 done
36468 else
36470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36471 $as_echo_n "checking for _finitef declaration... " >&6; }
36472 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36473 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36474 $as_echo_n "(cached) " >&6
36475 else
36478 ac_ext=cpp
36479 ac_cpp='$CXXCPP $CPPFLAGS'
36480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36485 /* end confdefs.h. */
36486 #include <math.h>
36487 #ifdef HAVE_IEEEFP_H
36488 #include <ieeefp.h>
36489 #endif
36492 main ()
36494 _finitef(0);
36496 return 0;
36498 _ACEOF
36499 if ac_fn_cxx_try_compile "$LINENO"; then :
36500 glibcxx_cv_func__finitef_use=yes
36501 else
36502 glibcxx_cv_func__finitef_use=no
36504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36505 ac_ext=c
36506 ac_cpp='$CPP $CPPFLAGS'
36507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36516 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36518 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36519 for ac_func in _finitef
36520 do :
36521 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36522 if test "x$ac_cv_func__finitef" = x""yes; then :
36523 cat >>confdefs.h <<_ACEOF
36524 #define HAVE__FINITEF 1
36525 _ACEOF
36528 done
36537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36538 $as_echo_n "checking for long double trig functions... " >&6; }
36539 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36540 $as_echo_n "(cached) " >&6
36541 else
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36551 /* end confdefs.h. */
36552 #include <math.h>
36554 main ()
36556 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36558 return 0;
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562 glibcxx_cv_func_long_double_trig_use=yes
36563 else
36564 glibcxx_cv_func_long_double_trig_use=no
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36567 ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36576 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36577 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36578 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36579 do :
36580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36582 eval as_val=\$$as_ac_var
36583 if test "x$as_val" = x""yes; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36586 _ACEOF
36589 done
36591 else
36592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36593 $as_echo_n "checking for _long double trig functions... " >&6; }
36594 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36595 $as_echo_n "(cached) " >&6
36596 else
36599 ac_ext=cpp
36600 ac_cpp='$CXXCPP $CPPFLAGS'
36601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36606 /* end confdefs.h. */
36607 #include <math.h>
36609 main ()
36611 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36613 return 0;
36615 _ACEOF
36616 if ac_fn_cxx_try_compile "$LINENO"; then :
36617 glibcxx_cv_func__long_double_trig_use=yes
36618 else
36619 glibcxx_cv_func__long_double_trig_use=no
36621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36622 ac_ext=c
36623 ac_cpp='$CPP $CPPFLAGS'
36624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36631 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36632 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36633 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36634 do :
36635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36637 eval as_val=\$$as_ac_var
36638 if test "x$as_val" = x""yes; then :
36639 cat >>confdefs.h <<_ACEOF
36640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36641 _ACEOF
36644 done
36653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36654 $as_echo_n "checking for long double round functions... " >&6; }
36655 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36656 $as_echo_n "(cached) " >&6
36657 else
36660 ac_ext=cpp
36661 ac_cpp='$CXXCPP $CPPFLAGS'
36662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36667 /* end confdefs.h. */
36668 #include <math.h>
36670 main ()
36672 ceill (0); floorl (0);
36674 return 0;
36676 _ACEOF
36677 if ac_fn_cxx_try_compile "$LINENO"; then :
36678 glibcxx_cv_func_long_double_round_use=yes
36679 else
36680 glibcxx_cv_func_long_double_round_use=no
36682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36683 ac_ext=c
36684 ac_cpp='$CPP $CPPFLAGS'
36685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36692 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36693 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36694 for ac_func in ceill floorl
36695 do :
36696 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36697 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36698 eval as_val=\$$as_ac_var
36699 if test "x$as_val" = x""yes; then :
36700 cat >>confdefs.h <<_ACEOF
36701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36702 _ACEOF
36705 done
36707 else
36708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36709 $as_echo_n "checking for _long double round functions... " >&6; }
36710 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36711 $as_echo_n "(cached) " >&6
36712 else
36715 ac_ext=cpp
36716 ac_cpp='$CXXCPP $CPPFLAGS'
36717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36722 /* end confdefs.h. */
36723 #include <math.h>
36725 main ()
36727 _ceill (0); _floorl (0);
36729 return 0;
36731 _ACEOF
36732 if ac_fn_cxx_try_compile "$LINENO"; then :
36733 glibcxx_cv_func__long_double_round_use=yes
36734 else
36735 glibcxx_cv_func__long_double_round_use=no
36737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36738 ac_ext=c
36739 ac_cpp='$CPP $CPPFLAGS'
36740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36747 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36748 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36749 for ac_func in _ceill _floorl
36750 do :
36751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36753 eval as_val=\$$as_ac_var
36754 if test "x$as_val" = x""yes; then :
36755 cat >>confdefs.h <<_ACEOF
36756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36757 _ACEOF
36760 done
36770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36771 $as_echo_n "checking for isnanl declaration... " >&6; }
36772 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36773 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36774 $as_echo_n "(cached) " >&6
36775 else
36778 ac_ext=cpp
36779 ac_cpp='$CXXCPP $CPPFLAGS'
36780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36785 /* end confdefs.h. */
36786 #include <math.h>
36787 #ifdef HAVE_IEEEFP_H
36788 #include <ieeefp.h>
36789 #endif
36792 main ()
36794 isnanl(0);
36796 return 0;
36798 _ACEOF
36799 if ac_fn_cxx_try_compile "$LINENO"; then :
36800 glibcxx_cv_func_isnanl_use=yes
36801 else
36802 glibcxx_cv_func_isnanl_use=no
36804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36805 ac_ext=c
36806 ac_cpp='$CPP $CPPFLAGS'
36807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36816 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36818 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36819 for ac_func in isnanl
36820 do :
36821 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36822 if test "x$ac_cv_func_isnanl" = x""yes; then :
36823 cat >>confdefs.h <<_ACEOF
36824 #define HAVE_ISNANL 1
36825 _ACEOF
36828 done
36830 else
36832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36833 $as_echo_n "checking for _isnanl declaration... " >&6; }
36834 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36835 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36836 $as_echo_n "(cached) " >&6
36837 else
36840 ac_ext=cpp
36841 ac_cpp='$CXXCPP $CPPFLAGS'
36842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36847 /* end confdefs.h. */
36848 #include <math.h>
36849 #ifdef HAVE_IEEEFP_H
36850 #include <ieeefp.h>
36851 #endif
36854 main ()
36856 _isnanl(0);
36858 return 0;
36860 _ACEOF
36861 if ac_fn_cxx_try_compile "$LINENO"; then :
36862 glibcxx_cv_func__isnanl_use=yes
36863 else
36864 glibcxx_cv_func__isnanl_use=no
36866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36867 ac_ext=c
36868 ac_cpp='$CPP $CPPFLAGS'
36869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36878 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36880 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36881 for ac_func in _isnanl
36882 do :
36883 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36884 if test "x$ac_cv_func__isnanl" = x""yes; then :
36885 cat >>confdefs.h <<_ACEOF
36886 #define HAVE__ISNANL 1
36887 _ACEOF
36890 done
36899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36900 $as_echo_n "checking for isinfl declaration... " >&6; }
36901 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36902 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36903 $as_echo_n "(cached) " >&6
36904 else
36907 ac_ext=cpp
36908 ac_cpp='$CXXCPP $CPPFLAGS'
36909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36914 /* end confdefs.h. */
36915 #include <math.h>
36916 #ifdef HAVE_IEEEFP_H
36917 #include <ieeefp.h>
36918 #endif
36921 main ()
36923 isinfl(0);
36925 return 0;
36927 _ACEOF
36928 if ac_fn_cxx_try_compile "$LINENO"; then :
36929 glibcxx_cv_func_isinfl_use=yes
36930 else
36931 glibcxx_cv_func_isinfl_use=no
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934 ac_ext=c
36935 ac_cpp='$CPP $CPPFLAGS'
36936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36945 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36947 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36948 for ac_func in isinfl
36949 do :
36950 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36951 if test "x$ac_cv_func_isinfl" = x""yes; then :
36952 cat >>confdefs.h <<_ACEOF
36953 #define HAVE_ISINFL 1
36954 _ACEOF
36957 done
36959 else
36961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36962 $as_echo_n "checking for _isinfl declaration... " >&6; }
36963 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36964 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36965 $as_echo_n "(cached) " >&6
36966 else
36969 ac_ext=cpp
36970 ac_cpp='$CXXCPP $CPPFLAGS'
36971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36976 /* end confdefs.h. */
36977 #include <math.h>
36978 #ifdef HAVE_IEEEFP_H
36979 #include <ieeefp.h>
36980 #endif
36983 main ()
36985 _isinfl(0);
36987 return 0;
36989 _ACEOF
36990 if ac_fn_cxx_try_compile "$LINENO"; then :
36991 glibcxx_cv_func__isinfl_use=yes
36992 else
36993 glibcxx_cv_func__isinfl_use=no
36995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36996 ac_ext=c
36997 ac_cpp='$CPP $CPPFLAGS'
36998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37007 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37009 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37010 for ac_func in _isinfl
37011 do :
37012 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37013 if test "x$ac_cv_func__isinfl" = x""yes; then :
37014 cat >>confdefs.h <<_ACEOF
37015 #define HAVE__ISINFL 1
37016 _ACEOF
37019 done
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37029 $as_echo_n "checking for atan2l declaration... " >&6; }
37030 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37031 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37032 $as_echo_n "(cached) " >&6
37033 else
37036 ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h. */
37044 #include <math.h>
37046 main ()
37048 atan2l(0, 0);
37050 return 0;
37052 _ACEOF
37053 if ac_fn_cxx_try_compile "$LINENO"; then :
37054 glibcxx_cv_func_atan2l_use=yes
37055 else
37056 glibcxx_cv_func_atan2l_use=no
37058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37059 ac_ext=c
37060 ac_cpp='$CPP $CPPFLAGS'
37061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37070 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37072 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37073 for ac_func in atan2l
37074 do :
37075 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37076 if test "x$ac_cv_func_atan2l" = x""yes; then :
37077 cat >>confdefs.h <<_ACEOF
37078 #define HAVE_ATAN2L 1
37079 _ACEOF
37082 done
37084 else
37086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37087 $as_echo_n "checking for _atan2l declaration... " >&6; }
37088 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37089 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37090 $as_echo_n "(cached) " >&6
37091 else
37094 ac_ext=cpp
37095 ac_cpp='$CXXCPP $CPPFLAGS'
37096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37101 /* end confdefs.h. */
37102 #include <math.h>
37104 main ()
37106 _atan2l(0, 0);
37108 return 0;
37110 _ACEOF
37111 if ac_fn_cxx_try_compile "$LINENO"; then :
37112 glibcxx_cv_func__atan2l_use=yes
37113 else
37114 glibcxx_cv_func__atan2l_use=no
37116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37117 ac_ext=c
37118 ac_cpp='$CPP $CPPFLAGS'
37119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37128 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37130 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37131 for ac_func in _atan2l
37132 do :
37133 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37134 if test "x$ac_cv_func__atan2l" = x""yes; then :
37135 cat >>confdefs.h <<_ACEOF
37136 #define HAVE__ATAN2L 1
37137 _ACEOF
37140 done
37149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37150 $as_echo_n "checking for expl declaration... " >&6; }
37151 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37152 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37153 $as_echo_n "(cached) " >&6
37154 else
37157 ac_ext=cpp
37158 ac_cpp='$CXXCPP $CPPFLAGS'
37159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37164 /* end confdefs.h. */
37165 #include <math.h>
37166 #ifdef HAVE_IEEEFP_H
37167 #include <ieeefp.h>
37168 #endif
37171 main ()
37173 expl(0);
37175 return 0;
37177 _ACEOF
37178 if ac_fn_cxx_try_compile "$LINENO"; then :
37179 glibcxx_cv_func_expl_use=yes
37180 else
37181 glibcxx_cv_func_expl_use=no
37183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184 ac_ext=c
37185 ac_cpp='$CPP $CPPFLAGS'
37186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37195 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37197 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37198 for ac_func in expl
37199 do :
37200 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37201 if test "x$ac_cv_func_expl" = x""yes; then :
37202 cat >>confdefs.h <<_ACEOF
37203 #define HAVE_EXPL 1
37204 _ACEOF
37207 done
37209 else
37211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37212 $as_echo_n "checking for _expl declaration... " >&6; }
37213 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37214 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37215 $as_echo_n "(cached) " >&6
37216 else
37219 ac_ext=cpp
37220 ac_cpp='$CXXCPP $CPPFLAGS'
37221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37226 /* end confdefs.h. */
37227 #include <math.h>
37228 #ifdef HAVE_IEEEFP_H
37229 #include <ieeefp.h>
37230 #endif
37233 main ()
37235 _expl(0);
37237 return 0;
37239 _ACEOF
37240 if ac_fn_cxx_try_compile "$LINENO"; then :
37241 glibcxx_cv_func__expl_use=yes
37242 else
37243 glibcxx_cv_func__expl_use=no
37245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37246 ac_ext=c
37247 ac_cpp='$CPP $CPPFLAGS'
37248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37257 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37259 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37260 for ac_func in _expl
37261 do :
37262 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37263 if test "x$ac_cv_func__expl" = x""yes; then :
37264 cat >>confdefs.h <<_ACEOF
37265 #define HAVE__EXPL 1
37266 _ACEOF
37269 done
37278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37279 $as_echo_n "checking for fabsl declaration... " >&6; }
37280 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37281 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37282 $as_echo_n "(cached) " >&6
37283 else
37286 ac_ext=cpp
37287 ac_cpp='$CXXCPP $CPPFLAGS'
37288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293 /* end confdefs.h. */
37294 #include <math.h>
37295 #ifdef HAVE_IEEEFP_H
37296 #include <ieeefp.h>
37297 #endif
37300 main ()
37302 fabsl(0);
37304 return 0;
37306 _ACEOF
37307 if ac_fn_cxx_try_compile "$LINENO"; then :
37308 glibcxx_cv_func_fabsl_use=yes
37309 else
37310 glibcxx_cv_func_fabsl_use=no
37312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37313 ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37324 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37326 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37327 for ac_func in fabsl
37328 do :
37329 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37330 if test "x$ac_cv_func_fabsl" = x""yes; then :
37331 cat >>confdefs.h <<_ACEOF
37332 #define HAVE_FABSL 1
37333 _ACEOF
37336 done
37338 else
37340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37341 $as_echo_n "checking for _fabsl declaration... " >&6; }
37342 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37343 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37344 $as_echo_n "(cached) " >&6
37345 else
37348 ac_ext=cpp
37349 ac_cpp='$CXXCPP $CPPFLAGS'
37350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37355 /* end confdefs.h. */
37356 #include <math.h>
37357 #ifdef HAVE_IEEEFP_H
37358 #include <ieeefp.h>
37359 #endif
37362 main ()
37364 _fabsl(0);
37366 return 0;
37368 _ACEOF
37369 if ac_fn_cxx_try_compile "$LINENO"; then :
37370 glibcxx_cv_func__fabsl_use=yes
37371 else
37372 glibcxx_cv_func__fabsl_use=no
37374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37375 ac_ext=c
37376 ac_cpp='$CPP $CPPFLAGS'
37377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37386 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37388 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37389 for ac_func in _fabsl
37390 do :
37391 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37392 if test "x$ac_cv_func__fabsl" = x""yes; then :
37393 cat >>confdefs.h <<_ACEOF
37394 #define HAVE__FABSL 1
37395 _ACEOF
37398 done
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37408 $as_echo_n "checking for fmodl declaration... " >&6; }
37409 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37410 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37411 $as_echo_n "(cached) " >&6
37412 else
37415 ac_ext=cpp
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37422 /* end confdefs.h. */
37423 #include <math.h>
37425 main ()
37427 fmodl(0, 0);
37429 return 0;
37431 _ACEOF
37432 if ac_fn_cxx_try_compile "$LINENO"; then :
37433 glibcxx_cv_func_fmodl_use=yes
37434 else
37435 glibcxx_cv_func_fmodl_use=no
37437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37438 ac_ext=c
37439 ac_cpp='$CPP $CPPFLAGS'
37440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37449 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37451 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37452 for ac_func in fmodl
37453 do :
37454 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37455 if test "x$ac_cv_func_fmodl" = x""yes; then :
37456 cat >>confdefs.h <<_ACEOF
37457 #define HAVE_FMODL 1
37458 _ACEOF
37461 done
37463 else
37465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37466 $as_echo_n "checking for _fmodl declaration... " >&6; }
37467 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37468 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37469 $as_echo_n "(cached) " >&6
37470 else
37473 ac_ext=cpp
37474 ac_cpp='$CXXCPP $CPPFLAGS'
37475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37480 /* end confdefs.h. */
37481 #include <math.h>
37483 main ()
37485 _fmodl(0, 0);
37487 return 0;
37489 _ACEOF
37490 if ac_fn_cxx_try_compile "$LINENO"; then :
37491 glibcxx_cv_func__fmodl_use=yes
37492 else
37493 glibcxx_cv_func__fmodl_use=no
37495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37496 ac_ext=c
37497 ac_cpp='$CPP $CPPFLAGS'
37498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37507 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37509 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37510 for ac_func in _fmodl
37511 do :
37512 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37513 if test "x$ac_cv_func__fmodl" = x""yes; then :
37514 cat >>confdefs.h <<_ACEOF
37515 #define HAVE__FMODL 1
37516 _ACEOF
37519 done
37528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37529 $as_echo_n "checking for frexpl declaration... " >&6; }
37530 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37531 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37532 $as_echo_n "(cached) " >&6
37533 else
37536 ac_ext=cpp
37537 ac_cpp='$CXXCPP $CPPFLAGS'
37538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37543 /* end confdefs.h. */
37544 #include <math.h>
37546 main ()
37548 frexpl(0, 0);
37550 return 0;
37552 _ACEOF
37553 if ac_fn_cxx_try_compile "$LINENO"; then :
37554 glibcxx_cv_func_frexpl_use=yes
37555 else
37556 glibcxx_cv_func_frexpl_use=no
37558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37559 ac_ext=c
37560 ac_cpp='$CPP $CPPFLAGS'
37561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37570 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37572 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37573 for ac_func in frexpl
37574 do :
37575 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37576 if test "x$ac_cv_func_frexpl" = x""yes; then :
37577 cat >>confdefs.h <<_ACEOF
37578 #define HAVE_FREXPL 1
37579 _ACEOF
37582 done
37584 else
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37587 $as_echo_n "checking for _frexpl declaration... " >&6; }
37588 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37589 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37590 $as_echo_n "(cached) " >&6
37591 else
37594 ac_ext=cpp
37595 ac_cpp='$CXXCPP $CPPFLAGS'
37596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37601 /* end confdefs.h. */
37602 #include <math.h>
37604 main ()
37606 _frexpl(0, 0);
37608 return 0;
37610 _ACEOF
37611 if ac_fn_cxx_try_compile "$LINENO"; then :
37612 glibcxx_cv_func__frexpl_use=yes
37613 else
37614 glibcxx_cv_func__frexpl_use=no
37616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37617 ac_ext=c
37618 ac_cpp='$CPP $CPPFLAGS'
37619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37628 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37630 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37631 for ac_func in _frexpl
37632 do :
37633 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37634 if test "x$ac_cv_func__frexpl" = x""yes; then :
37635 cat >>confdefs.h <<_ACEOF
37636 #define HAVE__FREXPL 1
37637 _ACEOF
37640 done
37649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37650 $as_echo_n "checking for hypotl declaration... " >&6; }
37651 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37652 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37653 $as_echo_n "(cached) " >&6
37654 else
37657 ac_ext=cpp
37658 ac_cpp='$CXXCPP $CPPFLAGS'
37659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37664 /* end confdefs.h. */
37665 #include <math.h>
37667 main ()
37669 hypotl(0, 0);
37671 return 0;
37673 _ACEOF
37674 if ac_fn_cxx_try_compile "$LINENO"; then :
37675 glibcxx_cv_func_hypotl_use=yes
37676 else
37677 glibcxx_cv_func_hypotl_use=no
37679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37680 ac_ext=c
37681 ac_cpp='$CPP $CPPFLAGS'
37682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37691 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37693 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37694 for ac_func in hypotl
37695 do :
37696 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37697 if test "x$ac_cv_func_hypotl" = x""yes; then :
37698 cat >>confdefs.h <<_ACEOF
37699 #define HAVE_HYPOTL 1
37700 _ACEOF
37703 done
37705 else
37707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37708 $as_echo_n "checking for _hypotl declaration... " >&6; }
37709 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37710 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37711 $as_echo_n "(cached) " >&6
37712 else
37715 ac_ext=cpp
37716 ac_cpp='$CXXCPP $CPPFLAGS'
37717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37722 /* end confdefs.h. */
37723 #include <math.h>
37725 main ()
37727 _hypotl(0, 0);
37729 return 0;
37731 _ACEOF
37732 if ac_fn_cxx_try_compile "$LINENO"; then :
37733 glibcxx_cv_func__hypotl_use=yes
37734 else
37735 glibcxx_cv_func__hypotl_use=no
37737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37738 ac_ext=c
37739 ac_cpp='$CPP $CPPFLAGS'
37740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37749 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37751 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37752 for ac_func in _hypotl
37753 do :
37754 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37755 if test "x$ac_cv_func__hypotl" = x""yes; then :
37756 cat >>confdefs.h <<_ACEOF
37757 #define HAVE__HYPOTL 1
37758 _ACEOF
37761 done
37770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37771 $as_echo_n "checking for ldexpl declaration... " >&6; }
37772 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37773 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37774 $as_echo_n "(cached) " >&6
37775 else
37778 ac_ext=cpp
37779 ac_cpp='$CXXCPP $CPPFLAGS'
37780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37785 /* end confdefs.h. */
37786 #include <math.h>
37788 main ()
37790 ldexpl(0, 0);
37792 return 0;
37794 _ACEOF
37795 if ac_fn_cxx_try_compile "$LINENO"; then :
37796 glibcxx_cv_func_ldexpl_use=yes
37797 else
37798 glibcxx_cv_func_ldexpl_use=no
37800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37801 ac_ext=c
37802 ac_cpp='$CPP $CPPFLAGS'
37803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37812 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37814 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37815 for ac_func in ldexpl
37816 do :
37817 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37818 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37819 cat >>confdefs.h <<_ACEOF
37820 #define HAVE_LDEXPL 1
37821 _ACEOF
37824 done
37826 else
37828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37829 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37830 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37831 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37832 $as_echo_n "(cached) " >&6
37833 else
37836 ac_ext=cpp
37837 ac_cpp='$CXXCPP $CPPFLAGS'
37838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37843 /* end confdefs.h. */
37844 #include <math.h>
37846 main ()
37848 _ldexpl(0, 0);
37850 return 0;
37852 _ACEOF
37853 if ac_fn_cxx_try_compile "$LINENO"; then :
37854 glibcxx_cv_func__ldexpl_use=yes
37855 else
37856 glibcxx_cv_func__ldexpl_use=no
37858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37859 ac_ext=c
37860 ac_cpp='$CPP $CPPFLAGS'
37861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37870 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37872 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37873 for ac_func in _ldexpl
37874 do :
37875 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37876 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37877 cat >>confdefs.h <<_ACEOF
37878 #define HAVE__LDEXPL 1
37879 _ACEOF
37882 done
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37892 $as_echo_n "checking for logl declaration... " >&6; }
37893 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37894 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37895 $as_echo_n "(cached) " >&6
37896 else
37899 ac_ext=cpp
37900 ac_cpp='$CXXCPP $CPPFLAGS'
37901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37906 /* end confdefs.h. */
37907 #include <math.h>
37908 #ifdef HAVE_IEEEFP_H
37909 #include <ieeefp.h>
37910 #endif
37913 main ()
37915 logl(0);
37917 return 0;
37919 _ACEOF
37920 if ac_fn_cxx_try_compile "$LINENO"; then :
37921 glibcxx_cv_func_logl_use=yes
37922 else
37923 glibcxx_cv_func_logl_use=no
37925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37926 ac_ext=c
37927 ac_cpp='$CPP $CPPFLAGS'
37928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37937 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37939 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37940 for ac_func in logl
37941 do :
37942 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37943 if test "x$ac_cv_func_logl" = x""yes; then :
37944 cat >>confdefs.h <<_ACEOF
37945 #define HAVE_LOGL 1
37946 _ACEOF
37949 done
37951 else
37953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37954 $as_echo_n "checking for _logl declaration... " >&6; }
37955 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37956 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37957 $as_echo_n "(cached) " >&6
37958 else
37961 ac_ext=cpp
37962 ac_cpp='$CXXCPP $CPPFLAGS'
37963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37968 /* end confdefs.h. */
37969 #include <math.h>
37970 #ifdef HAVE_IEEEFP_H
37971 #include <ieeefp.h>
37972 #endif
37975 main ()
37977 _logl(0);
37979 return 0;
37981 _ACEOF
37982 if ac_fn_cxx_try_compile "$LINENO"; then :
37983 glibcxx_cv_func__logl_use=yes
37984 else
37985 glibcxx_cv_func__logl_use=no
37987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37988 ac_ext=c
37989 ac_cpp='$CPP $CPPFLAGS'
37990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37999 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38001 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38002 for ac_func in _logl
38003 do :
38004 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38005 if test "x$ac_cv_func__logl" = x""yes; then :
38006 cat >>confdefs.h <<_ACEOF
38007 #define HAVE__LOGL 1
38008 _ACEOF
38011 done
38020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38021 $as_echo_n "checking for log10l declaration... " >&6; }
38022 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38023 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38024 $as_echo_n "(cached) " >&6
38025 else
38028 ac_ext=cpp
38029 ac_cpp='$CXXCPP $CPPFLAGS'
38030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38035 /* end confdefs.h. */
38036 #include <math.h>
38037 #ifdef HAVE_IEEEFP_H
38038 #include <ieeefp.h>
38039 #endif
38042 main ()
38044 log10l(0);
38046 return 0;
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050 glibcxx_cv_func_log10l_use=yes
38051 else
38052 glibcxx_cv_func_log10l_use=no
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38066 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38068 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38069 for ac_func in log10l
38070 do :
38071 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38072 if test "x$ac_cv_func_log10l" = x""yes; then :
38073 cat >>confdefs.h <<_ACEOF
38074 #define HAVE_LOG10L 1
38075 _ACEOF
38078 done
38080 else
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38083 $as_echo_n "checking for _log10l declaration... " >&6; }
38084 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38085 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38086 $as_echo_n "(cached) " >&6
38087 else
38090 ac_ext=cpp
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38097 /* end confdefs.h. */
38098 #include <math.h>
38099 #ifdef HAVE_IEEEFP_H
38100 #include <ieeefp.h>
38101 #endif
38104 main ()
38106 _log10l(0);
38108 return 0;
38110 _ACEOF
38111 if ac_fn_cxx_try_compile "$LINENO"; then :
38112 glibcxx_cv_func__log10l_use=yes
38113 else
38114 glibcxx_cv_func__log10l_use=no
38116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38117 ac_ext=c
38118 ac_cpp='$CPP $CPPFLAGS'
38119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38128 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38130 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38131 for ac_func in _log10l
38132 do :
38133 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38134 if test "x$ac_cv_func__log10l" = x""yes; then :
38135 cat >>confdefs.h <<_ACEOF
38136 #define HAVE__LOG10L 1
38137 _ACEOF
38140 done
38149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38150 $as_echo_n "checking for modfl declaration... " >&6; }
38151 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38152 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38153 $as_echo_n "(cached) " >&6
38154 else
38157 ac_ext=cpp
38158 ac_cpp='$CXXCPP $CPPFLAGS'
38159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38164 /* end confdefs.h. */
38165 #include <math.h>
38167 main ()
38169 modfl(0, 0);
38171 return 0;
38173 _ACEOF
38174 if ac_fn_cxx_try_compile "$LINENO"; then :
38175 glibcxx_cv_func_modfl_use=yes
38176 else
38177 glibcxx_cv_func_modfl_use=no
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38180 ac_ext=c
38181 ac_cpp='$CPP $CPPFLAGS'
38182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38191 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38193 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38194 for ac_func in modfl
38195 do :
38196 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38197 if test "x$ac_cv_func_modfl" = x""yes; then :
38198 cat >>confdefs.h <<_ACEOF
38199 #define HAVE_MODFL 1
38200 _ACEOF
38203 done
38205 else
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38208 $as_echo_n "checking for _modfl declaration... " >&6; }
38209 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38210 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38211 $as_echo_n "(cached) " >&6
38212 else
38215 ac_ext=cpp
38216 ac_cpp='$CXXCPP $CPPFLAGS'
38217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38222 /* end confdefs.h. */
38223 #include <math.h>
38225 main ()
38227 _modfl(0, 0);
38229 return 0;
38231 _ACEOF
38232 if ac_fn_cxx_try_compile "$LINENO"; then :
38233 glibcxx_cv_func__modfl_use=yes
38234 else
38235 glibcxx_cv_func__modfl_use=no
38237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38238 ac_ext=c
38239 ac_cpp='$CPP $CPPFLAGS'
38240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38249 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38251 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38252 for ac_func in _modfl
38253 do :
38254 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38255 if test "x$ac_cv_func__modfl" = x""yes; then :
38256 cat >>confdefs.h <<_ACEOF
38257 #define HAVE__MODFL 1
38258 _ACEOF
38261 done
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38271 $as_echo_n "checking for powl declaration... " >&6; }
38272 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38273 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38274 $as_echo_n "(cached) " >&6
38275 else
38278 ac_ext=cpp
38279 ac_cpp='$CXXCPP $CPPFLAGS'
38280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38285 /* end confdefs.h. */
38286 #include <math.h>
38288 main ()
38290 powl(0, 0);
38292 return 0;
38294 _ACEOF
38295 if ac_fn_cxx_try_compile "$LINENO"; then :
38296 glibcxx_cv_func_powl_use=yes
38297 else
38298 glibcxx_cv_func_powl_use=no
38300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38301 ac_ext=c
38302 ac_cpp='$CPP $CPPFLAGS'
38303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38312 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38314 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38315 for ac_func in powl
38316 do :
38317 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38318 if test "x$ac_cv_func_powl" = x""yes; then :
38319 cat >>confdefs.h <<_ACEOF
38320 #define HAVE_POWL 1
38321 _ACEOF
38324 done
38326 else
38328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38329 $as_echo_n "checking for _powl declaration... " >&6; }
38330 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38331 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38332 $as_echo_n "(cached) " >&6
38333 else
38336 ac_ext=cpp
38337 ac_cpp='$CXXCPP $CPPFLAGS'
38338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38343 /* end confdefs.h. */
38344 #include <math.h>
38346 main ()
38348 _powl(0, 0);
38350 return 0;
38352 _ACEOF
38353 if ac_fn_cxx_try_compile "$LINENO"; then :
38354 glibcxx_cv_func__powl_use=yes
38355 else
38356 glibcxx_cv_func__powl_use=no
38358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38359 ac_ext=c
38360 ac_cpp='$CPP $CPPFLAGS'
38361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38370 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38372 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38373 for ac_func in _powl
38374 do :
38375 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38376 if test "x$ac_cv_func__powl" = x""yes; then :
38377 cat >>confdefs.h <<_ACEOF
38378 #define HAVE__POWL 1
38379 _ACEOF
38382 done
38391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38392 $as_echo_n "checking for sqrtl declaration... " >&6; }
38393 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38394 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38395 $as_echo_n "(cached) " >&6
38396 else
38399 ac_ext=cpp
38400 ac_cpp='$CXXCPP $CPPFLAGS'
38401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38406 /* end confdefs.h. */
38407 #include <math.h>
38408 #ifdef HAVE_IEEEFP_H
38409 #include <ieeefp.h>
38410 #endif
38413 main ()
38415 sqrtl(0);
38417 return 0;
38419 _ACEOF
38420 if ac_fn_cxx_try_compile "$LINENO"; then :
38421 glibcxx_cv_func_sqrtl_use=yes
38422 else
38423 glibcxx_cv_func_sqrtl_use=no
38425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38426 ac_ext=c
38427 ac_cpp='$CPP $CPPFLAGS'
38428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38437 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38439 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38440 for ac_func in sqrtl
38441 do :
38442 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38443 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38444 cat >>confdefs.h <<_ACEOF
38445 #define HAVE_SQRTL 1
38446 _ACEOF
38449 done
38451 else
38453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38454 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38455 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38456 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38457 $as_echo_n "(cached) " >&6
38458 else
38461 ac_ext=cpp
38462 ac_cpp='$CXXCPP $CPPFLAGS'
38463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38468 /* end confdefs.h. */
38469 #include <math.h>
38470 #ifdef HAVE_IEEEFP_H
38471 #include <ieeefp.h>
38472 #endif
38475 main ()
38477 _sqrtl(0);
38479 return 0;
38481 _ACEOF
38482 if ac_fn_cxx_try_compile "$LINENO"; then :
38483 glibcxx_cv_func__sqrtl_use=yes
38484 else
38485 glibcxx_cv_func__sqrtl_use=no
38487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38488 ac_ext=c
38489 ac_cpp='$CPP $CPPFLAGS'
38490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38499 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38501 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38502 for ac_func in _sqrtl
38503 do :
38504 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38505 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38506 cat >>confdefs.h <<_ACEOF
38507 #define HAVE__SQRTL 1
38508 _ACEOF
38511 done
38520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38521 $as_echo_n "checking for sincosl declaration... " >&6; }
38522 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38523 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38524 $as_echo_n "(cached) " >&6
38525 else
38528 ac_ext=cpp
38529 ac_cpp='$CXXCPP $CPPFLAGS'
38530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38535 /* end confdefs.h. */
38536 #include <math.h>
38538 main ()
38540 sincosl(0, 0, 0);
38542 return 0;
38544 _ACEOF
38545 if ac_fn_cxx_try_compile "$LINENO"; then :
38546 glibcxx_cv_func_sincosl_use=yes
38547 else
38548 glibcxx_cv_func_sincosl_use=no
38550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38551 ac_ext=c
38552 ac_cpp='$CPP $CPPFLAGS'
38553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38562 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38564 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38565 for ac_func in sincosl
38566 do :
38567 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38568 if test "x$ac_cv_func_sincosl" = x""yes; then :
38569 cat >>confdefs.h <<_ACEOF
38570 #define HAVE_SINCOSL 1
38571 _ACEOF
38574 done
38576 else
38578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38579 $as_echo_n "checking for _sincosl declaration... " >&6; }
38580 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38581 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38582 $as_echo_n "(cached) " >&6
38583 else
38586 ac_ext=cpp
38587 ac_cpp='$CXXCPP $CPPFLAGS'
38588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38593 /* end confdefs.h. */
38594 #include <math.h>
38596 main ()
38598 _sincosl(0, 0, 0);
38600 return 0;
38602 _ACEOF
38603 if ac_fn_cxx_try_compile "$LINENO"; then :
38604 glibcxx_cv_func__sincosl_use=yes
38605 else
38606 glibcxx_cv_func__sincosl_use=no
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609 ac_ext=c
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38620 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38622 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38623 for ac_func in _sincosl
38624 do :
38625 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38626 if test "x$ac_cv_func__sincosl" = x""yes; then :
38627 cat >>confdefs.h <<_ACEOF
38628 #define HAVE__SINCOSL 1
38629 _ACEOF
38632 done
38641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38642 $as_echo_n "checking for finitel declaration... " >&6; }
38643 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38644 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38645 $as_echo_n "(cached) " >&6
38646 else
38649 ac_ext=cpp
38650 ac_cpp='$CXXCPP $CPPFLAGS'
38651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38656 /* end confdefs.h. */
38657 #include <math.h>
38658 #ifdef HAVE_IEEEFP_H
38659 #include <ieeefp.h>
38660 #endif
38663 main ()
38665 finitel(0);
38667 return 0;
38669 _ACEOF
38670 if ac_fn_cxx_try_compile "$LINENO"; then :
38671 glibcxx_cv_func_finitel_use=yes
38672 else
38673 glibcxx_cv_func_finitel_use=no
38675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38676 ac_ext=c
38677 ac_cpp='$CPP $CPPFLAGS'
38678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38687 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38689 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38690 for ac_func in finitel
38691 do :
38692 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38693 if test "x$ac_cv_func_finitel" = x""yes; then :
38694 cat >>confdefs.h <<_ACEOF
38695 #define HAVE_FINITEL 1
38696 _ACEOF
38699 done
38701 else
38703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38704 $as_echo_n "checking for _finitel declaration... " >&6; }
38705 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38706 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38707 $as_echo_n "(cached) " >&6
38708 else
38711 ac_ext=cpp
38712 ac_cpp='$CXXCPP $CPPFLAGS'
38713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38718 /* end confdefs.h. */
38719 #include <math.h>
38720 #ifdef HAVE_IEEEFP_H
38721 #include <ieeefp.h>
38722 #endif
38725 main ()
38727 _finitel(0);
38729 return 0;
38731 _ACEOF
38732 if ac_fn_cxx_try_compile "$LINENO"; then :
38733 glibcxx_cv_func__finitel_use=yes
38734 else
38735 glibcxx_cv_func__finitel_use=no
38737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38738 ac_ext=c
38739 ac_cpp='$CPP $CPPFLAGS'
38740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38749 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38751 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38752 for ac_func in _finitel
38753 do :
38754 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38755 if test "x$ac_cv_func__finitel" = x""yes; then :
38756 cat >>confdefs.h <<_ACEOF
38757 #define HAVE__FINITEL 1
38758 _ACEOF
38761 done
38769 LIBS="$ac_save_LIBS"
38770 CXXFLAGS="$ac_save_CXXFLAGS"
38773 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38774 ac_save_CXXFLAGS="$CXXFLAGS"
38775 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38779 $as_echo_n "checking for strtold declaration... " >&6; }
38780 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38781 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38782 $as_echo_n "(cached) " >&6
38783 else
38786 ac_ext=cpp
38787 ac_cpp='$CXXCPP $CPPFLAGS'
38788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38793 /* end confdefs.h. */
38794 #include <stdlib.h>
38796 main ()
38798 strtold(0, 0);
38800 return 0;
38802 _ACEOF
38803 if ac_fn_cxx_try_compile "$LINENO"; then :
38804 glibcxx_cv_func_strtold_use=yes
38805 else
38806 glibcxx_cv_func_strtold_use=no
38808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38809 ac_ext=c
38810 ac_cpp='$CPP $CPPFLAGS'
38811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38820 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38821 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38822 for ac_func in strtold
38823 do :
38824 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38825 if test "x$ac_cv_func_strtold" = x""yes; then :
38826 cat >>confdefs.h <<_ACEOF
38827 #define HAVE_STRTOLD 1
38828 _ACEOF
38831 done
38838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38839 $as_echo_n "checking for strtof declaration... " >&6; }
38840 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38841 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38842 $as_echo_n "(cached) " >&6
38843 else
38846 ac_ext=cpp
38847 ac_cpp='$CXXCPP $CPPFLAGS'
38848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38853 /* end confdefs.h. */
38854 #include <stdlib.h>
38856 main ()
38858 strtof(0, 0);
38860 return 0;
38862 _ACEOF
38863 if ac_fn_cxx_try_compile "$LINENO"; then :
38864 glibcxx_cv_func_strtof_use=yes
38865 else
38866 glibcxx_cv_func_strtof_use=no
38868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38869 ac_ext=c
38870 ac_cpp='$CPP $CPPFLAGS'
38871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38880 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38881 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38882 for ac_func in strtof
38883 do :
38884 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38885 if test "x$ac_cv_func_strtof" = x""yes; then :
38886 cat >>confdefs.h <<_ACEOF
38887 #define HAVE_STRTOF 1
38888 _ACEOF
38891 done
38898 CXXFLAGS="$ac_save_CXXFLAGS"
38900 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38902 # We don't yet support AIX's TLS ABI.
38903 #GCC_CHECK_TLS
38909 am_save_CPPFLAGS="$CPPFLAGS"
38911 for element in $INCICONV; do
38912 haveit=
38913 for x in $CPPFLAGS; do
38915 acl_save_prefix="$prefix"
38916 prefix="$acl_final_prefix"
38917 acl_save_exec_prefix="$exec_prefix"
38918 exec_prefix="$acl_final_exec_prefix"
38919 eval x=\"$x\"
38920 exec_prefix="$acl_save_exec_prefix"
38921 prefix="$acl_save_prefix"
38923 if test "X$x" = "X$element"; then
38924 haveit=yes
38925 break
38927 done
38928 if test -z "$haveit"; then
38929 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38931 done
38934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38935 $as_echo_n "checking for iconv... " >&6; }
38936 if test "${am_cv_func_iconv+set}" = set; then :
38937 $as_echo_n "(cached) " >&6
38938 else
38940 am_cv_func_iconv="no, consider installing GNU libiconv"
38941 am_cv_lib_iconv=no
38942 if test x$gcc_no_link = xyes; then
38943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38946 /* end confdefs.h. */
38947 #include <stdlib.h>
38948 #include <iconv.h>
38950 main ()
38952 iconv_t cd = iconv_open("","");
38953 iconv(cd,NULL,NULL,NULL,NULL);
38954 iconv_close(cd);
38956 return 0;
38958 _ACEOF
38959 if ac_fn_c_try_link "$LINENO"; then :
38960 am_cv_func_iconv=yes
38962 rm -f core conftest.err conftest.$ac_objext \
38963 conftest$ac_exeext conftest.$ac_ext
38964 if test "$am_cv_func_iconv" != yes; then
38965 am_save_LIBS="$LIBS"
38966 LIBS="$LIBS $LIBICONV"
38967 if test x$gcc_no_link = xyes; then
38968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38971 /* end confdefs.h. */
38972 #include <stdlib.h>
38973 #include <iconv.h>
38975 main ()
38977 iconv_t cd = iconv_open("","");
38978 iconv(cd,NULL,NULL,NULL,NULL);
38979 iconv_close(cd);
38981 return 0;
38983 _ACEOF
38984 if ac_fn_c_try_link "$LINENO"; then :
38985 am_cv_lib_iconv=yes
38986 am_cv_func_iconv=yes
38988 rm -f core conftest.err conftest.$ac_objext \
38989 conftest$ac_exeext conftest.$ac_ext
38990 LIBS="$am_save_LIBS"
38994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38995 $as_echo "$am_cv_func_iconv" >&6; }
38996 if test "$am_cv_func_iconv" = yes; then
38998 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39001 if test "$am_cv_lib_iconv" = yes; then
39002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39003 $as_echo_n "checking how to link with libiconv... " >&6; }
39004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39005 $as_echo "$LIBICONV" >&6; }
39006 else
39007 CPPFLAGS="$am_save_CPPFLAGS"
39008 LIBICONV=
39009 LTLIBICONV=
39014 if test "$am_cv_func_iconv" = yes; then
39015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39016 $as_echo_n "checking for iconv declaration... " >&6; }
39017 if test "${am_cv_proto_iconv+set}" = set; then :
39018 $as_echo_n "(cached) " >&6
39019 else
39021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39022 /* end confdefs.h. */
39024 #include <stdlib.h>
39025 #include <iconv.h>
39026 extern
39027 #ifdef __cplusplus
39029 #endif
39030 #if defined(__STDC__) || defined(__cplusplus)
39031 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39032 #else
39033 size_t iconv();
39034 #endif
39037 main ()
39041 return 0;
39043 _ACEOF
39044 if ac_fn_c_try_compile "$LINENO"; then :
39045 am_cv_proto_iconv_arg1=""
39046 else
39047 am_cv_proto_iconv_arg1="const"
39049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39050 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);"
39053 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39055 }$am_cv_proto_iconv" >&5
39056 $as_echo "${ac_t:-
39057 }$am_cv_proto_iconv" >&6; }
39059 cat >>confdefs.h <<_ACEOF
39060 #define ICONV_CONST $am_cv_proto_iconv_arg1
39061 _ACEOF
39067 *-darwin*)
39068 # Darwin versions vary, but the linker should work in a cross environment,
39069 # so we just check for all the features here.
39070 # Check for available headers.
39072 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39074 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39075 ac_save_CXXFLAGS="$CXXFLAGS"
39076 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39079 $as_echo_n "checking for sin in -lm... " >&6; }
39080 if test "${ac_cv_lib_m_sin+set}" = set; then :
39081 $as_echo_n "(cached) " >&6
39082 else
39083 ac_check_lib_save_LIBS=$LIBS
39084 LIBS="-lm $LIBS"
39085 if test x$gcc_no_link = xyes; then
39086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39089 /* end confdefs.h. */
39091 /* Override any GCC internal prototype to avoid an error.
39092 Use char because int might match the return type of a GCC
39093 builtin and then its argument prototype would still apply. */
39094 #ifdef __cplusplus
39095 extern "C"
39096 #endif
39097 char sin ();
39099 main ()
39101 return sin ();
39103 return 0;
39105 _ACEOF
39106 if ac_fn_c_try_link "$LINENO"; then :
39107 ac_cv_lib_m_sin=yes
39108 else
39109 ac_cv_lib_m_sin=no
39111 rm -f core conftest.err conftest.$ac_objext \
39112 conftest$ac_exeext conftest.$ac_ext
39113 LIBS=$ac_check_lib_save_LIBS
39115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39116 $as_echo "$ac_cv_lib_m_sin" >&6; }
39117 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39118 libm="-lm"
39121 ac_save_LIBS="$LIBS"
39122 LIBS="$LIBS $libm"
39126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39127 $as_echo_n "checking for isinf declaration... " >&6; }
39128 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39129 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39130 $as_echo_n "(cached) " >&6
39131 else
39134 ac_ext=cpp
39135 ac_cpp='$CXXCPP $CPPFLAGS'
39136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39141 /* end confdefs.h. */
39142 #include <math.h>
39143 #ifdef HAVE_IEEEFP_H
39144 #include <ieeefp.h>
39145 #endif
39148 main ()
39150 isinf(0);
39152 return 0;
39154 _ACEOF
39155 if ac_fn_cxx_try_compile "$LINENO"; then :
39156 glibcxx_cv_func_isinf_use=yes
39157 else
39158 glibcxx_cv_func_isinf_use=no
39160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39161 ac_ext=c
39162 ac_cpp='$CPP $CPPFLAGS'
39163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39172 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39174 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39175 for ac_func in isinf
39176 do :
39177 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39178 if test "x$ac_cv_func_isinf" = x""yes; then :
39179 cat >>confdefs.h <<_ACEOF
39180 #define HAVE_ISINF 1
39181 _ACEOF
39184 done
39186 else
39188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39189 $as_echo_n "checking for _isinf declaration... " >&6; }
39190 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39191 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39192 $as_echo_n "(cached) " >&6
39193 else
39196 ac_ext=cpp
39197 ac_cpp='$CXXCPP $CPPFLAGS'
39198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39203 /* end confdefs.h. */
39204 #include <math.h>
39205 #ifdef HAVE_IEEEFP_H
39206 #include <ieeefp.h>
39207 #endif
39210 main ()
39212 _isinf(0);
39214 return 0;
39216 _ACEOF
39217 if ac_fn_cxx_try_compile "$LINENO"; then :
39218 glibcxx_cv_func__isinf_use=yes
39219 else
39220 glibcxx_cv_func__isinf_use=no
39222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39223 ac_ext=c
39224 ac_cpp='$CPP $CPPFLAGS'
39225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39234 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39236 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39237 for ac_func in _isinf
39238 do :
39239 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39240 if test "x$ac_cv_func__isinf" = x""yes; then :
39241 cat >>confdefs.h <<_ACEOF
39242 #define HAVE__ISINF 1
39243 _ACEOF
39246 done
39255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39256 $as_echo_n "checking for isnan declaration... " >&6; }
39257 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39258 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39259 $as_echo_n "(cached) " >&6
39260 else
39263 ac_ext=cpp
39264 ac_cpp='$CXXCPP $CPPFLAGS'
39265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39270 /* end confdefs.h. */
39271 #include <math.h>
39272 #ifdef HAVE_IEEEFP_H
39273 #include <ieeefp.h>
39274 #endif
39277 main ()
39279 isnan(0);
39281 return 0;
39283 _ACEOF
39284 if ac_fn_cxx_try_compile "$LINENO"; then :
39285 glibcxx_cv_func_isnan_use=yes
39286 else
39287 glibcxx_cv_func_isnan_use=no
39289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39290 ac_ext=c
39291 ac_cpp='$CPP $CPPFLAGS'
39292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39301 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39303 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39304 for ac_func in isnan
39305 do :
39306 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39307 if test "x$ac_cv_func_isnan" = x""yes; then :
39308 cat >>confdefs.h <<_ACEOF
39309 #define HAVE_ISNAN 1
39310 _ACEOF
39313 done
39315 else
39317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39318 $as_echo_n "checking for _isnan declaration... " >&6; }
39319 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39320 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39321 $as_echo_n "(cached) " >&6
39322 else
39325 ac_ext=cpp
39326 ac_cpp='$CXXCPP $CPPFLAGS'
39327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39332 /* end confdefs.h. */
39333 #include <math.h>
39334 #ifdef HAVE_IEEEFP_H
39335 #include <ieeefp.h>
39336 #endif
39339 main ()
39341 _isnan(0);
39343 return 0;
39345 _ACEOF
39346 if ac_fn_cxx_try_compile "$LINENO"; then :
39347 glibcxx_cv_func__isnan_use=yes
39348 else
39349 glibcxx_cv_func__isnan_use=no
39351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39352 ac_ext=c
39353 ac_cpp='$CPP $CPPFLAGS'
39354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39363 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39365 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39366 for ac_func in _isnan
39367 do :
39368 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39369 if test "x$ac_cv_func__isnan" = x""yes; then :
39370 cat >>confdefs.h <<_ACEOF
39371 #define HAVE__ISNAN 1
39372 _ACEOF
39375 done
39384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39385 $as_echo_n "checking for finite declaration... " >&6; }
39386 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39387 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39388 $as_echo_n "(cached) " >&6
39389 else
39392 ac_ext=cpp
39393 ac_cpp='$CXXCPP $CPPFLAGS'
39394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39399 /* end confdefs.h. */
39400 #include <math.h>
39401 #ifdef HAVE_IEEEFP_H
39402 #include <ieeefp.h>
39403 #endif
39406 main ()
39408 finite(0);
39410 return 0;
39412 _ACEOF
39413 if ac_fn_cxx_try_compile "$LINENO"; then :
39414 glibcxx_cv_func_finite_use=yes
39415 else
39416 glibcxx_cv_func_finite_use=no
39418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39419 ac_ext=c
39420 ac_cpp='$CPP $CPPFLAGS'
39421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39430 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39432 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39433 for ac_func in finite
39434 do :
39435 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39436 if test "x$ac_cv_func_finite" = x""yes; then :
39437 cat >>confdefs.h <<_ACEOF
39438 #define HAVE_FINITE 1
39439 _ACEOF
39442 done
39444 else
39446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39447 $as_echo_n "checking for _finite declaration... " >&6; }
39448 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39449 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39450 $as_echo_n "(cached) " >&6
39451 else
39454 ac_ext=cpp
39455 ac_cpp='$CXXCPP $CPPFLAGS'
39456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39461 /* end confdefs.h. */
39462 #include <math.h>
39463 #ifdef HAVE_IEEEFP_H
39464 #include <ieeefp.h>
39465 #endif
39468 main ()
39470 _finite(0);
39472 return 0;
39474 _ACEOF
39475 if ac_fn_cxx_try_compile "$LINENO"; then :
39476 glibcxx_cv_func__finite_use=yes
39477 else
39478 glibcxx_cv_func__finite_use=no
39480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39481 ac_ext=c
39482 ac_cpp='$CPP $CPPFLAGS'
39483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39492 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39494 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39495 for ac_func in _finite
39496 do :
39497 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39498 if test "x$ac_cv_func__finite" = x""yes; then :
39499 cat >>confdefs.h <<_ACEOF
39500 #define HAVE__FINITE 1
39501 _ACEOF
39504 done
39513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39514 $as_echo_n "checking for sincos declaration... " >&6; }
39515 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39516 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39517 $as_echo_n "(cached) " >&6
39518 else
39521 ac_ext=cpp
39522 ac_cpp='$CXXCPP $CPPFLAGS'
39523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39528 /* end confdefs.h. */
39529 #include <math.h>
39531 main ()
39533 sincos(0, 0, 0);
39535 return 0;
39537 _ACEOF
39538 if ac_fn_cxx_try_compile "$LINENO"; then :
39539 glibcxx_cv_func_sincos_use=yes
39540 else
39541 glibcxx_cv_func_sincos_use=no
39543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39544 ac_ext=c
39545 ac_cpp='$CPP $CPPFLAGS'
39546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39555 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39557 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39558 for ac_func in sincos
39559 do :
39560 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39561 if test "x$ac_cv_func_sincos" = x""yes; then :
39562 cat >>confdefs.h <<_ACEOF
39563 #define HAVE_SINCOS 1
39564 _ACEOF
39567 done
39569 else
39571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39572 $as_echo_n "checking for _sincos declaration... " >&6; }
39573 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39574 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39575 $as_echo_n "(cached) " >&6
39576 else
39579 ac_ext=cpp
39580 ac_cpp='$CXXCPP $CPPFLAGS'
39581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39586 /* end confdefs.h. */
39587 #include <math.h>
39589 main ()
39591 _sincos(0, 0, 0);
39593 return 0;
39595 _ACEOF
39596 if ac_fn_cxx_try_compile "$LINENO"; then :
39597 glibcxx_cv_func__sincos_use=yes
39598 else
39599 glibcxx_cv_func__sincos_use=no
39601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39602 ac_ext=c
39603 ac_cpp='$CPP $CPPFLAGS'
39604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39613 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39615 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39616 for ac_func in _sincos
39617 do :
39618 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39619 if test "x$ac_cv_func__sincos" = x""yes; then :
39620 cat >>confdefs.h <<_ACEOF
39621 #define HAVE__SINCOS 1
39622 _ACEOF
39625 done
39634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39635 $as_echo_n "checking for fpclass declaration... " >&6; }
39636 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39637 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39638 $as_echo_n "(cached) " >&6
39639 else
39642 ac_ext=cpp
39643 ac_cpp='$CXXCPP $CPPFLAGS'
39644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39649 /* end confdefs.h. */
39650 #include <math.h>
39651 #ifdef HAVE_IEEEFP_H
39652 #include <ieeefp.h>
39653 #endif
39656 main ()
39658 fpclass(0);
39660 return 0;
39662 _ACEOF
39663 if ac_fn_cxx_try_compile "$LINENO"; then :
39664 glibcxx_cv_func_fpclass_use=yes
39665 else
39666 glibcxx_cv_func_fpclass_use=no
39668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39669 ac_ext=c
39670 ac_cpp='$CPP $CPPFLAGS'
39671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39680 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39682 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39683 for ac_func in fpclass
39684 do :
39685 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39686 if test "x$ac_cv_func_fpclass" = x""yes; then :
39687 cat >>confdefs.h <<_ACEOF
39688 #define HAVE_FPCLASS 1
39689 _ACEOF
39692 done
39694 else
39696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39697 $as_echo_n "checking for _fpclass declaration... " >&6; }
39698 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39699 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39700 $as_echo_n "(cached) " >&6
39701 else
39704 ac_ext=cpp
39705 ac_cpp='$CXXCPP $CPPFLAGS'
39706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39711 /* end confdefs.h. */
39712 #include <math.h>
39713 #ifdef HAVE_IEEEFP_H
39714 #include <ieeefp.h>
39715 #endif
39718 main ()
39720 _fpclass(0);
39722 return 0;
39724 _ACEOF
39725 if ac_fn_cxx_try_compile "$LINENO"; then :
39726 glibcxx_cv_func__fpclass_use=yes
39727 else
39728 glibcxx_cv_func__fpclass_use=no
39730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39731 ac_ext=c
39732 ac_cpp='$CPP $CPPFLAGS'
39733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39742 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39744 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39745 for ac_func in _fpclass
39746 do :
39747 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39748 if test "x$ac_cv_func__fpclass" = x""yes; then :
39749 cat >>confdefs.h <<_ACEOF
39750 #define HAVE__FPCLASS 1
39751 _ACEOF
39754 done
39763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39764 $as_echo_n "checking for qfpclass declaration... " >&6; }
39765 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39766 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39767 $as_echo_n "(cached) " >&6
39768 else
39771 ac_ext=cpp
39772 ac_cpp='$CXXCPP $CPPFLAGS'
39773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39778 /* end confdefs.h. */
39779 #include <math.h>
39780 #ifdef HAVE_IEEEFP_H
39781 #include <ieeefp.h>
39782 #endif
39785 main ()
39787 qfpclass(0);
39789 return 0;
39791 _ACEOF
39792 if ac_fn_cxx_try_compile "$LINENO"; then :
39793 glibcxx_cv_func_qfpclass_use=yes
39794 else
39795 glibcxx_cv_func_qfpclass_use=no
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798 ac_ext=c
39799 ac_cpp='$CPP $CPPFLAGS'
39800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39809 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39811 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39812 for ac_func in qfpclass
39813 do :
39814 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39815 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39816 cat >>confdefs.h <<_ACEOF
39817 #define HAVE_QFPCLASS 1
39818 _ACEOF
39821 done
39823 else
39825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39826 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39827 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39828 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39829 $as_echo_n "(cached) " >&6
39830 else
39833 ac_ext=cpp
39834 ac_cpp='$CXXCPP $CPPFLAGS'
39835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39840 /* end confdefs.h. */
39841 #include <math.h>
39842 #ifdef HAVE_IEEEFP_H
39843 #include <ieeefp.h>
39844 #endif
39847 main ()
39849 _qfpclass(0);
39851 return 0;
39853 _ACEOF
39854 if ac_fn_cxx_try_compile "$LINENO"; then :
39855 glibcxx_cv_func__qfpclass_use=yes
39856 else
39857 glibcxx_cv_func__qfpclass_use=no
39859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39860 ac_ext=c
39861 ac_cpp='$CPP $CPPFLAGS'
39862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39871 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39873 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39874 for ac_func in _qfpclass
39875 do :
39876 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39877 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39878 cat >>confdefs.h <<_ACEOF
39879 #define HAVE__QFPCLASS 1
39880 _ACEOF
39883 done
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39893 $as_echo_n "checking for hypot declaration... " >&6; }
39894 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39895 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39896 $as_echo_n "(cached) " >&6
39897 else
39900 ac_ext=cpp
39901 ac_cpp='$CXXCPP $CPPFLAGS'
39902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39907 /* end confdefs.h. */
39908 #include <math.h>
39910 main ()
39912 hypot(0, 0);
39914 return 0;
39916 _ACEOF
39917 if ac_fn_cxx_try_compile "$LINENO"; then :
39918 glibcxx_cv_func_hypot_use=yes
39919 else
39920 glibcxx_cv_func_hypot_use=no
39922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39923 ac_ext=c
39924 ac_cpp='$CPP $CPPFLAGS'
39925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39934 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39936 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39937 for ac_func in hypot
39938 do :
39939 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39940 if test "x$ac_cv_func_hypot" = x""yes; then :
39941 cat >>confdefs.h <<_ACEOF
39942 #define HAVE_HYPOT 1
39943 _ACEOF
39946 done
39948 else
39950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39951 $as_echo_n "checking for _hypot declaration... " >&6; }
39952 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39953 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39954 $as_echo_n "(cached) " >&6
39955 else
39958 ac_ext=cpp
39959 ac_cpp='$CXXCPP $CPPFLAGS'
39960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39965 /* end confdefs.h. */
39966 #include <math.h>
39968 main ()
39970 _hypot(0, 0);
39972 return 0;
39974 _ACEOF
39975 if ac_fn_cxx_try_compile "$LINENO"; then :
39976 glibcxx_cv_func__hypot_use=yes
39977 else
39978 glibcxx_cv_func__hypot_use=no
39980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39981 ac_ext=c
39982 ac_cpp='$CPP $CPPFLAGS'
39983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39992 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39994 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39995 for ac_func in _hypot
39996 do :
39997 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39998 if test "x$ac_cv_func__hypot" = x""yes; then :
39999 cat >>confdefs.h <<_ACEOF
40000 #define HAVE__HYPOT 1
40001 _ACEOF
40004 done
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40014 $as_echo_n "checking for float trig functions... " >&6; }
40015 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40016 $as_echo_n "(cached) " >&6
40017 else
40020 ac_ext=cpp
40021 ac_cpp='$CXXCPP $CPPFLAGS'
40022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40027 /* end confdefs.h. */
40028 #include <math.h>
40030 main ()
40032 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40034 return 0;
40036 _ACEOF
40037 if ac_fn_cxx_try_compile "$LINENO"; then :
40038 glibcxx_cv_func_float_trig_use=yes
40039 else
40040 glibcxx_cv_func_float_trig_use=no
40042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40043 ac_ext=c
40044 ac_cpp='$CPP $CPPFLAGS'
40045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40052 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40053 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40054 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40055 do :
40056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40058 eval as_val=\$$as_ac_var
40059 if test "x$as_val" = x""yes; then :
40060 cat >>confdefs.h <<_ACEOF
40061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40062 _ACEOF
40065 done
40067 else
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40069 $as_echo_n "checking for _float trig functions... " >&6; }
40070 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40071 $as_echo_n "(cached) " >&6
40072 else
40075 ac_ext=cpp
40076 ac_cpp='$CXXCPP $CPPFLAGS'
40077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40082 /* end confdefs.h. */
40083 #include <math.h>
40085 main ()
40087 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40089 return 0;
40091 _ACEOF
40092 if ac_fn_cxx_try_compile "$LINENO"; then :
40093 glibcxx_cv_func__float_trig_use=yes
40094 else
40095 glibcxx_cv_func__float_trig_use=no
40097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40098 ac_ext=c
40099 ac_cpp='$CPP $CPPFLAGS'
40100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40107 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40108 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40109 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40110 do :
40111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40113 eval as_val=\$$as_ac_var
40114 if test "x$as_val" = x""yes; then :
40115 cat >>confdefs.h <<_ACEOF
40116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40117 _ACEOF
40120 done
40129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40130 $as_echo_n "checking for float round functions... " >&6; }
40131 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40132 $as_echo_n "(cached) " >&6
40133 else
40136 ac_ext=cpp
40137 ac_cpp='$CXXCPP $CPPFLAGS'
40138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40143 /* end confdefs.h. */
40144 #include <math.h>
40146 main ()
40148 ceilf (0); floorf (0);
40150 return 0;
40152 _ACEOF
40153 if ac_fn_cxx_try_compile "$LINENO"; then :
40154 glibcxx_cv_func_float_round_use=yes
40155 else
40156 glibcxx_cv_func_float_round_use=no
40158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40159 ac_ext=c
40160 ac_cpp='$CPP $CPPFLAGS'
40161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40168 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40169 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40170 for ac_func in ceilf floorf
40171 do :
40172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40174 eval as_val=\$$as_ac_var
40175 if test "x$as_val" = x""yes; then :
40176 cat >>confdefs.h <<_ACEOF
40177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40178 _ACEOF
40181 done
40183 else
40184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40185 $as_echo_n "checking for _float round functions... " >&6; }
40186 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40187 $as_echo_n "(cached) " >&6
40188 else
40191 ac_ext=cpp
40192 ac_cpp='$CXXCPP $CPPFLAGS'
40193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40198 /* end confdefs.h. */
40199 #include <math.h>
40201 main ()
40203 _ceilf (0); _floorf (0);
40205 return 0;
40207 _ACEOF
40208 if ac_fn_cxx_try_compile "$LINENO"; then :
40209 glibcxx_cv_func__float_round_use=yes
40210 else
40211 glibcxx_cv_func__float_round_use=no
40213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40214 ac_ext=c
40215 ac_cpp='$CPP $CPPFLAGS'
40216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40223 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40224 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40225 for ac_func in _ceilf _floorf
40226 do :
40227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40229 eval as_val=\$$as_ac_var
40230 if test "x$as_val" = x""yes; then :
40231 cat >>confdefs.h <<_ACEOF
40232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40233 _ACEOF
40236 done
40246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40247 $as_echo_n "checking for expf declaration... " >&6; }
40248 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40249 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40250 $as_echo_n "(cached) " >&6
40251 else
40254 ac_ext=cpp
40255 ac_cpp='$CXXCPP $CPPFLAGS'
40256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40261 /* end confdefs.h. */
40262 #include <math.h>
40263 #ifdef HAVE_IEEEFP_H
40264 #include <ieeefp.h>
40265 #endif
40268 main ()
40270 expf(0);
40272 return 0;
40274 _ACEOF
40275 if ac_fn_cxx_try_compile "$LINENO"; then :
40276 glibcxx_cv_func_expf_use=yes
40277 else
40278 glibcxx_cv_func_expf_use=no
40280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40281 ac_ext=c
40282 ac_cpp='$CPP $CPPFLAGS'
40283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40292 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40294 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40295 for ac_func in expf
40296 do :
40297 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40298 if test "x$ac_cv_func_expf" = x""yes; then :
40299 cat >>confdefs.h <<_ACEOF
40300 #define HAVE_EXPF 1
40301 _ACEOF
40304 done
40306 else
40308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40309 $as_echo_n "checking for _expf declaration... " >&6; }
40310 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40311 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40312 $as_echo_n "(cached) " >&6
40313 else
40316 ac_ext=cpp
40317 ac_cpp='$CXXCPP $CPPFLAGS'
40318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40323 /* end confdefs.h. */
40324 #include <math.h>
40325 #ifdef HAVE_IEEEFP_H
40326 #include <ieeefp.h>
40327 #endif
40330 main ()
40332 _expf(0);
40334 return 0;
40336 _ACEOF
40337 if ac_fn_cxx_try_compile "$LINENO"; then :
40338 glibcxx_cv_func__expf_use=yes
40339 else
40340 glibcxx_cv_func__expf_use=no
40342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40343 ac_ext=c
40344 ac_cpp='$CPP $CPPFLAGS'
40345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40354 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40356 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40357 for ac_func in _expf
40358 do :
40359 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40360 if test "x$ac_cv_func__expf" = x""yes; then :
40361 cat >>confdefs.h <<_ACEOF
40362 #define HAVE__EXPF 1
40363 _ACEOF
40366 done
40375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40376 $as_echo_n "checking for isnanf declaration... " >&6; }
40377 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40378 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40379 $as_echo_n "(cached) " >&6
40380 else
40383 ac_ext=cpp
40384 ac_cpp='$CXXCPP $CPPFLAGS'
40385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40390 /* end confdefs.h. */
40391 #include <math.h>
40392 #ifdef HAVE_IEEEFP_H
40393 #include <ieeefp.h>
40394 #endif
40397 main ()
40399 isnanf(0);
40401 return 0;
40403 _ACEOF
40404 if ac_fn_cxx_try_compile "$LINENO"; then :
40405 glibcxx_cv_func_isnanf_use=yes
40406 else
40407 glibcxx_cv_func_isnanf_use=no
40409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40410 ac_ext=c
40411 ac_cpp='$CPP $CPPFLAGS'
40412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40421 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40423 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40424 for ac_func in isnanf
40425 do :
40426 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40427 if test "x$ac_cv_func_isnanf" = x""yes; then :
40428 cat >>confdefs.h <<_ACEOF
40429 #define HAVE_ISNANF 1
40430 _ACEOF
40433 done
40435 else
40437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40438 $as_echo_n "checking for _isnanf declaration... " >&6; }
40439 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40440 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40441 $as_echo_n "(cached) " >&6
40442 else
40445 ac_ext=cpp
40446 ac_cpp='$CXXCPP $CPPFLAGS'
40447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40452 /* end confdefs.h. */
40453 #include <math.h>
40454 #ifdef HAVE_IEEEFP_H
40455 #include <ieeefp.h>
40456 #endif
40459 main ()
40461 _isnanf(0);
40463 return 0;
40465 _ACEOF
40466 if ac_fn_cxx_try_compile "$LINENO"; then :
40467 glibcxx_cv_func__isnanf_use=yes
40468 else
40469 glibcxx_cv_func__isnanf_use=no
40471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40472 ac_ext=c
40473 ac_cpp='$CPP $CPPFLAGS'
40474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40483 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40485 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40486 for ac_func in _isnanf
40487 do :
40488 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40489 if test "x$ac_cv_func__isnanf" = x""yes; then :
40490 cat >>confdefs.h <<_ACEOF
40491 #define HAVE__ISNANF 1
40492 _ACEOF
40495 done
40504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40505 $as_echo_n "checking for isinff declaration... " >&6; }
40506 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40507 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40508 $as_echo_n "(cached) " >&6
40509 else
40512 ac_ext=cpp
40513 ac_cpp='$CXXCPP $CPPFLAGS'
40514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40519 /* end confdefs.h. */
40520 #include <math.h>
40521 #ifdef HAVE_IEEEFP_H
40522 #include <ieeefp.h>
40523 #endif
40526 main ()
40528 isinff(0);
40530 return 0;
40532 _ACEOF
40533 if ac_fn_cxx_try_compile "$LINENO"; then :
40534 glibcxx_cv_func_isinff_use=yes
40535 else
40536 glibcxx_cv_func_isinff_use=no
40538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40539 ac_ext=c
40540 ac_cpp='$CPP $CPPFLAGS'
40541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40550 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40552 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40553 for ac_func in isinff
40554 do :
40555 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40556 if test "x$ac_cv_func_isinff" = x""yes; then :
40557 cat >>confdefs.h <<_ACEOF
40558 #define HAVE_ISINFF 1
40559 _ACEOF
40562 done
40564 else
40566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40567 $as_echo_n "checking for _isinff declaration... " >&6; }
40568 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40569 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40570 $as_echo_n "(cached) " >&6
40571 else
40574 ac_ext=cpp
40575 ac_cpp='$CXXCPP $CPPFLAGS'
40576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40581 /* end confdefs.h. */
40582 #include <math.h>
40583 #ifdef HAVE_IEEEFP_H
40584 #include <ieeefp.h>
40585 #endif
40588 main ()
40590 _isinff(0);
40592 return 0;
40594 _ACEOF
40595 if ac_fn_cxx_try_compile "$LINENO"; then :
40596 glibcxx_cv_func__isinff_use=yes
40597 else
40598 glibcxx_cv_func__isinff_use=no
40600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40601 ac_ext=c
40602 ac_cpp='$CPP $CPPFLAGS'
40603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40612 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40614 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40615 for ac_func in _isinff
40616 do :
40617 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40618 if test "x$ac_cv_func__isinff" = x""yes; then :
40619 cat >>confdefs.h <<_ACEOF
40620 #define HAVE__ISINFF 1
40621 _ACEOF
40624 done
40633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40634 $as_echo_n "checking for atan2f declaration... " >&6; }
40635 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40636 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40637 $as_echo_n "(cached) " >&6
40638 else
40641 ac_ext=cpp
40642 ac_cpp='$CXXCPP $CPPFLAGS'
40643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40648 /* end confdefs.h. */
40649 #include <math.h>
40651 main ()
40653 atan2f(0, 0);
40655 return 0;
40657 _ACEOF
40658 if ac_fn_cxx_try_compile "$LINENO"; then :
40659 glibcxx_cv_func_atan2f_use=yes
40660 else
40661 glibcxx_cv_func_atan2f_use=no
40663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40664 ac_ext=c
40665 ac_cpp='$CPP $CPPFLAGS'
40666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40675 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40677 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40678 for ac_func in atan2f
40679 do :
40680 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40681 if test "x$ac_cv_func_atan2f" = x""yes; then :
40682 cat >>confdefs.h <<_ACEOF
40683 #define HAVE_ATAN2F 1
40684 _ACEOF
40687 done
40689 else
40691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40692 $as_echo_n "checking for _atan2f declaration... " >&6; }
40693 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40694 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40695 $as_echo_n "(cached) " >&6
40696 else
40699 ac_ext=cpp
40700 ac_cpp='$CXXCPP $CPPFLAGS'
40701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40706 /* end confdefs.h. */
40707 #include <math.h>
40709 main ()
40711 _atan2f(0, 0);
40713 return 0;
40715 _ACEOF
40716 if ac_fn_cxx_try_compile "$LINENO"; then :
40717 glibcxx_cv_func__atan2f_use=yes
40718 else
40719 glibcxx_cv_func__atan2f_use=no
40721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40722 ac_ext=c
40723 ac_cpp='$CPP $CPPFLAGS'
40724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40733 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40735 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40736 for ac_func in _atan2f
40737 do :
40738 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40739 if test "x$ac_cv_func__atan2f" = x""yes; then :
40740 cat >>confdefs.h <<_ACEOF
40741 #define HAVE__ATAN2F 1
40742 _ACEOF
40745 done
40754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40755 $as_echo_n "checking for fabsf declaration... " >&6; }
40756 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40757 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40758 $as_echo_n "(cached) " >&6
40759 else
40762 ac_ext=cpp
40763 ac_cpp='$CXXCPP $CPPFLAGS'
40764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40769 /* end confdefs.h. */
40770 #include <math.h>
40771 #ifdef HAVE_IEEEFP_H
40772 #include <ieeefp.h>
40773 #endif
40776 main ()
40778 fabsf(0);
40780 return 0;
40782 _ACEOF
40783 if ac_fn_cxx_try_compile "$LINENO"; then :
40784 glibcxx_cv_func_fabsf_use=yes
40785 else
40786 glibcxx_cv_func_fabsf_use=no
40788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40789 ac_ext=c
40790 ac_cpp='$CPP $CPPFLAGS'
40791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40800 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40802 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40803 for ac_func in fabsf
40804 do :
40805 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40806 if test "x$ac_cv_func_fabsf" = x""yes; then :
40807 cat >>confdefs.h <<_ACEOF
40808 #define HAVE_FABSF 1
40809 _ACEOF
40812 done
40814 else
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40817 $as_echo_n "checking for _fabsf declaration... " >&6; }
40818 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40819 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40820 $as_echo_n "(cached) " >&6
40821 else
40824 ac_ext=cpp
40825 ac_cpp='$CXXCPP $CPPFLAGS'
40826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40831 /* end confdefs.h. */
40832 #include <math.h>
40833 #ifdef HAVE_IEEEFP_H
40834 #include <ieeefp.h>
40835 #endif
40838 main ()
40840 _fabsf(0);
40842 return 0;
40844 _ACEOF
40845 if ac_fn_cxx_try_compile "$LINENO"; then :
40846 glibcxx_cv_func__fabsf_use=yes
40847 else
40848 glibcxx_cv_func__fabsf_use=no
40850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40851 ac_ext=c
40852 ac_cpp='$CPP $CPPFLAGS'
40853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40862 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40864 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40865 for ac_func in _fabsf
40866 do :
40867 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40868 if test "x$ac_cv_func__fabsf" = x""yes; then :
40869 cat >>confdefs.h <<_ACEOF
40870 #define HAVE__FABSF 1
40871 _ACEOF
40874 done
40883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40884 $as_echo_n "checking for fmodf declaration... " >&6; }
40885 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40886 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40887 $as_echo_n "(cached) " >&6
40888 else
40891 ac_ext=cpp
40892 ac_cpp='$CXXCPP $CPPFLAGS'
40893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40898 /* end confdefs.h. */
40899 #include <math.h>
40901 main ()
40903 fmodf(0, 0);
40905 return 0;
40907 _ACEOF
40908 if ac_fn_cxx_try_compile "$LINENO"; then :
40909 glibcxx_cv_func_fmodf_use=yes
40910 else
40911 glibcxx_cv_func_fmodf_use=no
40913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40914 ac_ext=c
40915 ac_cpp='$CPP $CPPFLAGS'
40916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40925 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40927 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40928 for ac_func in fmodf
40929 do :
40930 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40931 if test "x$ac_cv_func_fmodf" = x""yes; then :
40932 cat >>confdefs.h <<_ACEOF
40933 #define HAVE_FMODF 1
40934 _ACEOF
40937 done
40939 else
40941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40942 $as_echo_n "checking for _fmodf declaration... " >&6; }
40943 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40944 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40945 $as_echo_n "(cached) " >&6
40946 else
40949 ac_ext=cpp
40950 ac_cpp='$CXXCPP $CPPFLAGS'
40951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40956 /* end confdefs.h. */
40957 #include <math.h>
40959 main ()
40961 _fmodf(0, 0);
40963 return 0;
40965 _ACEOF
40966 if ac_fn_cxx_try_compile "$LINENO"; then :
40967 glibcxx_cv_func__fmodf_use=yes
40968 else
40969 glibcxx_cv_func__fmodf_use=no
40971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40972 ac_ext=c
40973 ac_cpp='$CPP $CPPFLAGS'
40974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40983 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40985 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40986 for ac_func in _fmodf
40987 do :
40988 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40989 if test "x$ac_cv_func__fmodf" = x""yes; then :
40990 cat >>confdefs.h <<_ACEOF
40991 #define HAVE__FMODF 1
40992 _ACEOF
40995 done
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41005 $as_echo_n "checking for frexpf declaration... " >&6; }
41006 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41007 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41008 $as_echo_n "(cached) " >&6
41009 else
41012 ac_ext=cpp
41013 ac_cpp='$CXXCPP $CPPFLAGS'
41014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41019 /* end confdefs.h. */
41020 #include <math.h>
41022 main ()
41024 frexpf(0, 0);
41026 return 0;
41028 _ACEOF
41029 if ac_fn_cxx_try_compile "$LINENO"; then :
41030 glibcxx_cv_func_frexpf_use=yes
41031 else
41032 glibcxx_cv_func_frexpf_use=no
41034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41035 ac_ext=c
41036 ac_cpp='$CPP $CPPFLAGS'
41037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41046 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41048 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41049 for ac_func in frexpf
41050 do :
41051 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41052 if test "x$ac_cv_func_frexpf" = x""yes; then :
41053 cat >>confdefs.h <<_ACEOF
41054 #define HAVE_FREXPF 1
41055 _ACEOF
41058 done
41060 else
41062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41063 $as_echo_n "checking for _frexpf declaration... " >&6; }
41064 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41065 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41066 $as_echo_n "(cached) " >&6
41067 else
41070 ac_ext=cpp
41071 ac_cpp='$CXXCPP $CPPFLAGS'
41072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41077 /* end confdefs.h. */
41078 #include <math.h>
41080 main ()
41082 _frexpf(0, 0);
41084 return 0;
41086 _ACEOF
41087 if ac_fn_cxx_try_compile "$LINENO"; then :
41088 glibcxx_cv_func__frexpf_use=yes
41089 else
41090 glibcxx_cv_func__frexpf_use=no
41092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41093 ac_ext=c
41094 ac_cpp='$CPP $CPPFLAGS'
41095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41104 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41106 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41107 for ac_func in _frexpf
41108 do :
41109 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41110 if test "x$ac_cv_func__frexpf" = x""yes; then :
41111 cat >>confdefs.h <<_ACEOF
41112 #define HAVE__FREXPF 1
41113 _ACEOF
41116 done
41125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41126 $as_echo_n "checking for hypotf declaration... " >&6; }
41127 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41128 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41129 $as_echo_n "(cached) " >&6
41130 else
41133 ac_ext=cpp
41134 ac_cpp='$CXXCPP $CPPFLAGS'
41135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41140 /* end confdefs.h. */
41141 #include <math.h>
41143 main ()
41145 hypotf(0, 0);
41147 return 0;
41149 _ACEOF
41150 if ac_fn_cxx_try_compile "$LINENO"; then :
41151 glibcxx_cv_func_hypotf_use=yes
41152 else
41153 glibcxx_cv_func_hypotf_use=no
41155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41156 ac_ext=c
41157 ac_cpp='$CPP $CPPFLAGS'
41158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41167 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41169 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41170 for ac_func in hypotf
41171 do :
41172 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41173 if test "x$ac_cv_func_hypotf" = x""yes; then :
41174 cat >>confdefs.h <<_ACEOF
41175 #define HAVE_HYPOTF 1
41176 _ACEOF
41179 done
41181 else
41183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41184 $as_echo_n "checking for _hypotf declaration... " >&6; }
41185 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41186 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41187 $as_echo_n "(cached) " >&6
41188 else
41191 ac_ext=cpp
41192 ac_cpp='$CXXCPP $CPPFLAGS'
41193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41198 /* end confdefs.h. */
41199 #include <math.h>
41201 main ()
41203 _hypotf(0, 0);
41205 return 0;
41207 _ACEOF
41208 if ac_fn_cxx_try_compile "$LINENO"; then :
41209 glibcxx_cv_func__hypotf_use=yes
41210 else
41211 glibcxx_cv_func__hypotf_use=no
41213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41214 ac_ext=c
41215 ac_cpp='$CPP $CPPFLAGS'
41216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41225 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41227 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41228 for ac_func in _hypotf
41229 do :
41230 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41231 if test "x$ac_cv_func__hypotf" = x""yes; then :
41232 cat >>confdefs.h <<_ACEOF
41233 #define HAVE__HYPOTF 1
41234 _ACEOF
41237 done
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41247 $as_echo_n "checking for ldexpf declaration... " >&6; }
41248 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41249 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41250 $as_echo_n "(cached) " >&6
41251 else
41254 ac_ext=cpp
41255 ac_cpp='$CXXCPP $CPPFLAGS'
41256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41261 /* end confdefs.h. */
41262 #include <math.h>
41264 main ()
41266 ldexpf(0, 0);
41268 return 0;
41270 _ACEOF
41271 if ac_fn_cxx_try_compile "$LINENO"; then :
41272 glibcxx_cv_func_ldexpf_use=yes
41273 else
41274 glibcxx_cv_func_ldexpf_use=no
41276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41277 ac_ext=c
41278 ac_cpp='$CPP $CPPFLAGS'
41279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41288 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41290 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41291 for ac_func in ldexpf
41292 do :
41293 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41294 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41295 cat >>confdefs.h <<_ACEOF
41296 #define HAVE_LDEXPF 1
41297 _ACEOF
41300 done
41302 else
41304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41305 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41306 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41307 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41308 $as_echo_n "(cached) " >&6
41309 else
41312 ac_ext=cpp
41313 ac_cpp='$CXXCPP $CPPFLAGS'
41314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41319 /* end confdefs.h. */
41320 #include <math.h>
41322 main ()
41324 _ldexpf(0, 0);
41326 return 0;
41328 _ACEOF
41329 if ac_fn_cxx_try_compile "$LINENO"; then :
41330 glibcxx_cv_func__ldexpf_use=yes
41331 else
41332 glibcxx_cv_func__ldexpf_use=no
41334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41335 ac_ext=c
41336 ac_cpp='$CPP $CPPFLAGS'
41337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41346 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41348 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41349 for ac_func in _ldexpf
41350 do :
41351 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41352 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41353 cat >>confdefs.h <<_ACEOF
41354 #define HAVE__LDEXPF 1
41355 _ACEOF
41358 done
41367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41368 $as_echo_n "checking for logf declaration... " >&6; }
41369 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41370 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41371 $as_echo_n "(cached) " >&6
41372 else
41375 ac_ext=cpp
41376 ac_cpp='$CXXCPP $CPPFLAGS'
41377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41382 /* end confdefs.h. */
41383 #include <math.h>
41384 #ifdef HAVE_IEEEFP_H
41385 #include <ieeefp.h>
41386 #endif
41389 main ()
41391 logf(0);
41393 return 0;
41395 _ACEOF
41396 if ac_fn_cxx_try_compile "$LINENO"; then :
41397 glibcxx_cv_func_logf_use=yes
41398 else
41399 glibcxx_cv_func_logf_use=no
41401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41402 ac_ext=c
41403 ac_cpp='$CPP $CPPFLAGS'
41404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41413 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41415 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41416 for ac_func in logf
41417 do :
41418 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41419 if test "x$ac_cv_func_logf" = x""yes; then :
41420 cat >>confdefs.h <<_ACEOF
41421 #define HAVE_LOGF 1
41422 _ACEOF
41425 done
41427 else
41429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41430 $as_echo_n "checking for _logf declaration... " >&6; }
41431 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41432 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41433 $as_echo_n "(cached) " >&6
41434 else
41437 ac_ext=cpp
41438 ac_cpp='$CXXCPP $CPPFLAGS'
41439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41444 /* end confdefs.h. */
41445 #include <math.h>
41446 #ifdef HAVE_IEEEFP_H
41447 #include <ieeefp.h>
41448 #endif
41451 main ()
41453 _logf(0);
41455 return 0;
41457 _ACEOF
41458 if ac_fn_cxx_try_compile "$LINENO"; then :
41459 glibcxx_cv_func__logf_use=yes
41460 else
41461 glibcxx_cv_func__logf_use=no
41463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41464 ac_ext=c
41465 ac_cpp='$CPP $CPPFLAGS'
41466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41475 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41477 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41478 for ac_func in _logf
41479 do :
41480 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41481 if test "x$ac_cv_func__logf" = x""yes; then :
41482 cat >>confdefs.h <<_ACEOF
41483 #define HAVE__LOGF 1
41484 _ACEOF
41487 done
41496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41497 $as_echo_n "checking for log10f declaration... " >&6; }
41498 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41499 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41500 $as_echo_n "(cached) " >&6
41501 else
41504 ac_ext=cpp
41505 ac_cpp='$CXXCPP $CPPFLAGS'
41506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41511 /* end confdefs.h. */
41512 #include <math.h>
41513 #ifdef HAVE_IEEEFP_H
41514 #include <ieeefp.h>
41515 #endif
41518 main ()
41520 log10f(0);
41522 return 0;
41524 _ACEOF
41525 if ac_fn_cxx_try_compile "$LINENO"; then :
41526 glibcxx_cv_func_log10f_use=yes
41527 else
41528 glibcxx_cv_func_log10f_use=no
41530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41531 ac_ext=c
41532 ac_cpp='$CPP $CPPFLAGS'
41533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41542 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41544 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41545 for ac_func in log10f
41546 do :
41547 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41548 if test "x$ac_cv_func_log10f" = x""yes; then :
41549 cat >>confdefs.h <<_ACEOF
41550 #define HAVE_LOG10F 1
41551 _ACEOF
41554 done
41556 else
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41559 $as_echo_n "checking for _log10f declaration... " >&6; }
41560 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41561 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41562 $as_echo_n "(cached) " >&6
41563 else
41566 ac_ext=cpp
41567 ac_cpp='$CXXCPP $CPPFLAGS'
41568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41573 /* end confdefs.h. */
41574 #include <math.h>
41575 #ifdef HAVE_IEEEFP_H
41576 #include <ieeefp.h>
41577 #endif
41580 main ()
41582 _log10f(0);
41584 return 0;
41586 _ACEOF
41587 if ac_fn_cxx_try_compile "$LINENO"; then :
41588 glibcxx_cv_func__log10f_use=yes
41589 else
41590 glibcxx_cv_func__log10f_use=no
41592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41593 ac_ext=c
41594 ac_cpp='$CPP $CPPFLAGS'
41595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41604 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41606 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41607 for ac_func in _log10f
41608 do :
41609 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41610 if test "x$ac_cv_func__log10f" = x""yes; then :
41611 cat >>confdefs.h <<_ACEOF
41612 #define HAVE__LOG10F 1
41613 _ACEOF
41616 done
41625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41626 $as_echo_n "checking for modff declaration... " >&6; }
41627 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41628 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41629 $as_echo_n "(cached) " >&6
41630 else
41633 ac_ext=cpp
41634 ac_cpp='$CXXCPP $CPPFLAGS'
41635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41640 /* end confdefs.h. */
41641 #include <math.h>
41643 main ()
41645 modff(0, 0);
41647 return 0;
41649 _ACEOF
41650 if ac_fn_cxx_try_compile "$LINENO"; then :
41651 glibcxx_cv_func_modff_use=yes
41652 else
41653 glibcxx_cv_func_modff_use=no
41655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41656 ac_ext=c
41657 ac_cpp='$CPP $CPPFLAGS'
41658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41667 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41669 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41670 for ac_func in modff
41671 do :
41672 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41673 if test "x$ac_cv_func_modff" = x""yes; then :
41674 cat >>confdefs.h <<_ACEOF
41675 #define HAVE_MODFF 1
41676 _ACEOF
41679 done
41681 else
41683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41684 $as_echo_n "checking for _modff declaration... " >&6; }
41685 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41686 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41687 $as_echo_n "(cached) " >&6
41688 else
41691 ac_ext=cpp
41692 ac_cpp='$CXXCPP $CPPFLAGS'
41693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41698 /* end confdefs.h. */
41699 #include <math.h>
41701 main ()
41703 _modff(0, 0);
41705 return 0;
41707 _ACEOF
41708 if ac_fn_cxx_try_compile "$LINENO"; then :
41709 glibcxx_cv_func__modff_use=yes
41710 else
41711 glibcxx_cv_func__modff_use=no
41713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41714 ac_ext=c
41715 ac_cpp='$CPP $CPPFLAGS'
41716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41725 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41727 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41728 for ac_func in _modff
41729 do :
41730 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41731 if test "x$ac_cv_func__modff" = x""yes; then :
41732 cat >>confdefs.h <<_ACEOF
41733 #define HAVE__MODFF 1
41734 _ACEOF
41737 done
41746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41747 $as_echo_n "checking for modf declaration... " >&6; }
41748 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41749 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41750 $as_echo_n "(cached) " >&6
41751 else
41754 ac_ext=cpp
41755 ac_cpp='$CXXCPP $CPPFLAGS'
41756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41761 /* end confdefs.h. */
41762 #include <math.h>
41764 main ()
41766 modf(0, 0);
41768 return 0;
41770 _ACEOF
41771 if ac_fn_cxx_try_compile "$LINENO"; then :
41772 glibcxx_cv_func_modf_use=yes
41773 else
41774 glibcxx_cv_func_modf_use=no
41776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41777 ac_ext=c
41778 ac_cpp='$CPP $CPPFLAGS'
41779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41788 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41790 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41791 for ac_func in modf
41792 do :
41793 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41794 if test "x$ac_cv_func_modf" = x""yes; then :
41795 cat >>confdefs.h <<_ACEOF
41796 #define HAVE_MODF 1
41797 _ACEOF
41800 done
41802 else
41804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41805 $as_echo_n "checking for _modf declaration... " >&6; }
41806 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41807 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41808 $as_echo_n "(cached) " >&6
41809 else
41812 ac_ext=cpp
41813 ac_cpp='$CXXCPP $CPPFLAGS'
41814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41819 /* end confdefs.h. */
41820 #include <math.h>
41822 main ()
41824 _modf(0, 0);
41826 return 0;
41828 _ACEOF
41829 if ac_fn_cxx_try_compile "$LINENO"; then :
41830 glibcxx_cv_func__modf_use=yes
41831 else
41832 glibcxx_cv_func__modf_use=no
41834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41835 ac_ext=c
41836 ac_cpp='$CPP $CPPFLAGS'
41837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41846 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41848 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41849 for ac_func in _modf
41850 do :
41851 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41852 if test "x$ac_cv_func__modf" = x""yes; then :
41853 cat >>confdefs.h <<_ACEOF
41854 #define HAVE__MODF 1
41855 _ACEOF
41858 done
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41868 $as_echo_n "checking for powf declaration... " >&6; }
41869 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41870 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41871 $as_echo_n "(cached) " >&6
41872 else
41875 ac_ext=cpp
41876 ac_cpp='$CXXCPP $CPPFLAGS'
41877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41882 /* end confdefs.h. */
41883 #include <math.h>
41885 main ()
41887 powf(0, 0);
41889 return 0;
41891 _ACEOF
41892 if ac_fn_cxx_try_compile "$LINENO"; then :
41893 glibcxx_cv_func_powf_use=yes
41894 else
41895 glibcxx_cv_func_powf_use=no
41897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41898 ac_ext=c
41899 ac_cpp='$CPP $CPPFLAGS'
41900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41909 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41911 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41912 for ac_func in powf
41913 do :
41914 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41915 if test "x$ac_cv_func_powf" = x""yes; then :
41916 cat >>confdefs.h <<_ACEOF
41917 #define HAVE_POWF 1
41918 _ACEOF
41921 done
41923 else
41925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41926 $as_echo_n "checking for _powf declaration... " >&6; }
41927 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41928 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41929 $as_echo_n "(cached) " >&6
41930 else
41933 ac_ext=cpp
41934 ac_cpp='$CXXCPP $CPPFLAGS'
41935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41940 /* end confdefs.h. */
41941 #include <math.h>
41943 main ()
41945 _powf(0, 0);
41947 return 0;
41949 _ACEOF
41950 if ac_fn_cxx_try_compile "$LINENO"; then :
41951 glibcxx_cv_func__powf_use=yes
41952 else
41953 glibcxx_cv_func__powf_use=no
41955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41956 ac_ext=c
41957 ac_cpp='$CPP $CPPFLAGS'
41958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41967 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41969 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41970 for ac_func in _powf
41971 do :
41972 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41973 if test "x$ac_cv_func__powf" = x""yes; then :
41974 cat >>confdefs.h <<_ACEOF
41975 #define HAVE__POWF 1
41976 _ACEOF
41979 done
41988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41989 $as_echo_n "checking for sqrtf declaration... " >&6; }
41990 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41991 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41992 $as_echo_n "(cached) " >&6
41993 else
41996 ac_ext=cpp
41997 ac_cpp='$CXXCPP $CPPFLAGS'
41998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42003 /* end confdefs.h. */
42004 #include <math.h>
42005 #ifdef HAVE_IEEEFP_H
42006 #include <ieeefp.h>
42007 #endif
42010 main ()
42012 sqrtf(0);
42014 return 0;
42016 _ACEOF
42017 if ac_fn_cxx_try_compile "$LINENO"; then :
42018 glibcxx_cv_func_sqrtf_use=yes
42019 else
42020 glibcxx_cv_func_sqrtf_use=no
42022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42023 ac_ext=c
42024 ac_cpp='$CPP $CPPFLAGS'
42025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42034 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42036 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42037 for ac_func in sqrtf
42038 do :
42039 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42040 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42041 cat >>confdefs.h <<_ACEOF
42042 #define HAVE_SQRTF 1
42043 _ACEOF
42046 done
42048 else
42050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42051 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42052 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42053 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42054 $as_echo_n "(cached) " >&6
42055 else
42058 ac_ext=cpp
42059 ac_cpp='$CXXCPP $CPPFLAGS'
42060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42065 /* end confdefs.h. */
42066 #include <math.h>
42067 #ifdef HAVE_IEEEFP_H
42068 #include <ieeefp.h>
42069 #endif
42072 main ()
42074 _sqrtf(0);
42076 return 0;
42078 _ACEOF
42079 if ac_fn_cxx_try_compile "$LINENO"; then :
42080 glibcxx_cv_func__sqrtf_use=yes
42081 else
42082 glibcxx_cv_func__sqrtf_use=no
42084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42085 ac_ext=c
42086 ac_cpp='$CPP $CPPFLAGS'
42087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42096 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42098 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42099 for ac_func in _sqrtf
42100 do :
42101 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42102 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42103 cat >>confdefs.h <<_ACEOF
42104 #define HAVE__SQRTF 1
42105 _ACEOF
42108 done
42117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42118 $as_echo_n "checking for sincosf declaration... " >&6; }
42119 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42120 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42121 $as_echo_n "(cached) " >&6
42122 else
42125 ac_ext=cpp
42126 ac_cpp='$CXXCPP $CPPFLAGS'
42127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42132 /* end confdefs.h. */
42133 #include <math.h>
42135 main ()
42137 sincosf(0, 0, 0);
42139 return 0;
42141 _ACEOF
42142 if ac_fn_cxx_try_compile "$LINENO"; then :
42143 glibcxx_cv_func_sincosf_use=yes
42144 else
42145 glibcxx_cv_func_sincosf_use=no
42147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42148 ac_ext=c
42149 ac_cpp='$CPP $CPPFLAGS'
42150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42159 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42161 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42162 for ac_func in sincosf
42163 do :
42164 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42165 if test "x$ac_cv_func_sincosf" = x""yes; then :
42166 cat >>confdefs.h <<_ACEOF
42167 #define HAVE_SINCOSF 1
42168 _ACEOF
42171 done
42173 else
42175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42176 $as_echo_n "checking for _sincosf declaration... " >&6; }
42177 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42178 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42179 $as_echo_n "(cached) " >&6
42180 else
42183 ac_ext=cpp
42184 ac_cpp='$CXXCPP $CPPFLAGS'
42185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42190 /* end confdefs.h. */
42191 #include <math.h>
42193 main ()
42195 _sincosf(0, 0, 0);
42197 return 0;
42199 _ACEOF
42200 if ac_fn_cxx_try_compile "$LINENO"; then :
42201 glibcxx_cv_func__sincosf_use=yes
42202 else
42203 glibcxx_cv_func__sincosf_use=no
42205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42206 ac_ext=c
42207 ac_cpp='$CPP $CPPFLAGS'
42208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42217 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42219 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42220 for ac_func in _sincosf
42221 do :
42222 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42223 if test "x$ac_cv_func__sincosf" = x""yes; then :
42224 cat >>confdefs.h <<_ACEOF
42225 #define HAVE__SINCOSF 1
42226 _ACEOF
42229 done
42238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42239 $as_echo_n "checking for finitef declaration... " >&6; }
42240 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42241 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42242 $as_echo_n "(cached) " >&6
42243 else
42246 ac_ext=cpp
42247 ac_cpp='$CXXCPP $CPPFLAGS'
42248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42253 /* end confdefs.h. */
42254 #include <math.h>
42255 #ifdef HAVE_IEEEFP_H
42256 #include <ieeefp.h>
42257 #endif
42260 main ()
42262 finitef(0);
42264 return 0;
42266 _ACEOF
42267 if ac_fn_cxx_try_compile "$LINENO"; then :
42268 glibcxx_cv_func_finitef_use=yes
42269 else
42270 glibcxx_cv_func_finitef_use=no
42272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42273 ac_ext=c
42274 ac_cpp='$CPP $CPPFLAGS'
42275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42284 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42286 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42287 for ac_func in finitef
42288 do :
42289 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42290 if test "x$ac_cv_func_finitef" = x""yes; then :
42291 cat >>confdefs.h <<_ACEOF
42292 #define HAVE_FINITEF 1
42293 _ACEOF
42296 done
42298 else
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42301 $as_echo_n "checking for _finitef declaration... " >&6; }
42302 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42303 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42304 $as_echo_n "(cached) " >&6
42305 else
42308 ac_ext=cpp
42309 ac_cpp='$CXXCPP $CPPFLAGS'
42310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42315 /* end confdefs.h. */
42316 #include <math.h>
42317 #ifdef HAVE_IEEEFP_H
42318 #include <ieeefp.h>
42319 #endif
42322 main ()
42324 _finitef(0);
42326 return 0;
42328 _ACEOF
42329 if ac_fn_cxx_try_compile "$LINENO"; then :
42330 glibcxx_cv_func__finitef_use=yes
42331 else
42332 glibcxx_cv_func__finitef_use=no
42334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42335 ac_ext=c
42336 ac_cpp='$CPP $CPPFLAGS'
42337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42346 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42348 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42349 for ac_func in _finitef
42350 do :
42351 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42352 if test "x$ac_cv_func__finitef" = x""yes; then :
42353 cat >>confdefs.h <<_ACEOF
42354 #define HAVE__FINITEF 1
42355 _ACEOF
42358 done
42367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42368 $as_echo_n "checking for long double trig functions... " >&6; }
42369 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42370 $as_echo_n "(cached) " >&6
42371 else
42374 ac_ext=cpp
42375 ac_cpp='$CXXCPP $CPPFLAGS'
42376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42381 /* end confdefs.h. */
42382 #include <math.h>
42384 main ()
42386 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42388 return 0;
42390 _ACEOF
42391 if ac_fn_cxx_try_compile "$LINENO"; then :
42392 glibcxx_cv_func_long_double_trig_use=yes
42393 else
42394 glibcxx_cv_func_long_double_trig_use=no
42396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42397 ac_ext=c
42398 ac_cpp='$CPP $CPPFLAGS'
42399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42406 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42407 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42408 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42409 do :
42410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42412 eval as_val=\$$as_ac_var
42413 if test "x$as_val" = x""yes; then :
42414 cat >>confdefs.h <<_ACEOF
42415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42416 _ACEOF
42419 done
42421 else
42422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42423 $as_echo_n "checking for _long double trig functions... " >&6; }
42424 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42425 $as_echo_n "(cached) " >&6
42426 else
42429 ac_ext=cpp
42430 ac_cpp='$CXXCPP $CPPFLAGS'
42431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42436 /* end confdefs.h. */
42437 #include <math.h>
42439 main ()
42441 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42443 return 0;
42445 _ACEOF
42446 if ac_fn_cxx_try_compile "$LINENO"; then :
42447 glibcxx_cv_func__long_double_trig_use=yes
42448 else
42449 glibcxx_cv_func__long_double_trig_use=no
42451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42452 ac_ext=c
42453 ac_cpp='$CPP $CPPFLAGS'
42454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42461 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42462 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42463 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42464 do :
42465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42467 eval as_val=\$$as_ac_var
42468 if test "x$as_val" = x""yes; then :
42469 cat >>confdefs.h <<_ACEOF
42470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42471 _ACEOF
42474 done
42483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42484 $as_echo_n "checking for long double round functions... " >&6; }
42485 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42486 $as_echo_n "(cached) " >&6
42487 else
42490 ac_ext=cpp
42491 ac_cpp='$CXXCPP $CPPFLAGS'
42492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42497 /* end confdefs.h. */
42498 #include <math.h>
42500 main ()
42502 ceill (0); floorl (0);
42504 return 0;
42506 _ACEOF
42507 if ac_fn_cxx_try_compile "$LINENO"; then :
42508 glibcxx_cv_func_long_double_round_use=yes
42509 else
42510 glibcxx_cv_func_long_double_round_use=no
42512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42513 ac_ext=c
42514 ac_cpp='$CPP $CPPFLAGS'
42515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42522 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42523 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42524 for ac_func in ceill floorl
42525 do :
42526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42528 eval as_val=\$$as_ac_var
42529 if test "x$as_val" = x""yes; then :
42530 cat >>confdefs.h <<_ACEOF
42531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42532 _ACEOF
42535 done
42537 else
42538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42539 $as_echo_n "checking for _long double round functions... " >&6; }
42540 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42541 $as_echo_n "(cached) " >&6
42542 else
42545 ac_ext=cpp
42546 ac_cpp='$CXXCPP $CPPFLAGS'
42547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42552 /* end confdefs.h. */
42553 #include <math.h>
42555 main ()
42557 _ceill (0); _floorl (0);
42559 return 0;
42561 _ACEOF
42562 if ac_fn_cxx_try_compile "$LINENO"; then :
42563 glibcxx_cv_func__long_double_round_use=yes
42564 else
42565 glibcxx_cv_func__long_double_round_use=no
42567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42568 ac_ext=c
42569 ac_cpp='$CPP $CPPFLAGS'
42570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42577 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42578 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42579 for ac_func in _ceill _floorl
42580 do :
42581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42583 eval as_val=\$$as_ac_var
42584 if test "x$as_val" = x""yes; then :
42585 cat >>confdefs.h <<_ACEOF
42586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42587 _ACEOF
42590 done
42600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42601 $as_echo_n "checking for isnanl declaration... " >&6; }
42602 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42603 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42604 $as_echo_n "(cached) " >&6
42605 else
42608 ac_ext=cpp
42609 ac_cpp='$CXXCPP $CPPFLAGS'
42610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42615 /* end confdefs.h. */
42616 #include <math.h>
42617 #ifdef HAVE_IEEEFP_H
42618 #include <ieeefp.h>
42619 #endif
42622 main ()
42624 isnanl(0);
42626 return 0;
42628 _ACEOF
42629 if ac_fn_cxx_try_compile "$LINENO"; then :
42630 glibcxx_cv_func_isnanl_use=yes
42631 else
42632 glibcxx_cv_func_isnanl_use=no
42634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42635 ac_ext=c
42636 ac_cpp='$CPP $CPPFLAGS'
42637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42646 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42648 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42649 for ac_func in isnanl
42650 do :
42651 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42652 if test "x$ac_cv_func_isnanl" = x""yes; then :
42653 cat >>confdefs.h <<_ACEOF
42654 #define HAVE_ISNANL 1
42655 _ACEOF
42658 done
42660 else
42662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42663 $as_echo_n "checking for _isnanl declaration... " >&6; }
42664 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42665 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42666 $as_echo_n "(cached) " >&6
42667 else
42670 ac_ext=cpp
42671 ac_cpp='$CXXCPP $CPPFLAGS'
42672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42677 /* end confdefs.h. */
42678 #include <math.h>
42679 #ifdef HAVE_IEEEFP_H
42680 #include <ieeefp.h>
42681 #endif
42684 main ()
42686 _isnanl(0);
42688 return 0;
42690 _ACEOF
42691 if ac_fn_cxx_try_compile "$LINENO"; then :
42692 glibcxx_cv_func__isnanl_use=yes
42693 else
42694 glibcxx_cv_func__isnanl_use=no
42696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42697 ac_ext=c
42698 ac_cpp='$CPP $CPPFLAGS'
42699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42708 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42710 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42711 for ac_func in _isnanl
42712 do :
42713 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42714 if test "x$ac_cv_func__isnanl" = x""yes; then :
42715 cat >>confdefs.h <<_ACEOF
42716 #define HAVE__ISNANL 1
42717 _ACEOF
42720 done
42729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42730 $as_echo_n "checking for isinfl declaration... " >&6; }
42731 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42732 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42733 $as_echo_n "(cached) " >&6
42734 else
42737 ac_ext=cpp
42738 ac_cpp='$CXXCPP $CPPFLAGS'
42739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42744 /* end confdefs.h. */
42745 #include <math.h>
42746 #ifdef HAVE_IEEEFP_H
42747 #include <ieeefp.h>
42748 #endif
42751 main ()
42753 isinfl(0);
42755 return 0;
42757 _ACEOF
42758 if ac_fn_cxx_try_compile "$LINENO"; then :
42759 glibcxx_cv_func_isinfl_use=yes
42760 else
42761 glibcxx_cv_func_isinfl_use=no
42763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42764 ac_ext=c
42765 ac_cpp='$CPP $CPPFLAGS'
42766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42775 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42777 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42778 for ac_func in isinfl
42779 do :
42780 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42781 if test "x$ac_cv_func_isinfl" = x""yes; then :
42782 cat >>confdefs.h <<_ACEOF
42783 #define HAVE_ISINFL 1
42784 _ACEOF
42787 done
42789 else
42791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42792 $as_echo_n "checking for _isinfl declaration... " >&6; }
42793 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42794 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42795 $as_echo_n "(cached) " >&6
42796 else
42799 ac_ext=cpp
42800 ac_cpp='$CXXCPP $CPPFLAGS'
42801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42806 /* end confdefs.h. */
42807 #include <math.h>
42808 #ifdef HAVE_IEEEFP_H
42809 #include <ieeefp.h>
42810 #endif
42813 main ()
42815 _isinfl(0);
42817 return 0;
42819 _ACEOF
42820 if ac_fn_cxx_try_compile "$LINENO"; then :
42821 glibcxx_cv_func__isinfl_use=yes
42822 else
42823 glibcxx_cv_func__isinfl_use=no
42825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42826 ac_ext=c
42827 ac_cpp='$CPP $CPPFLAGS'
42828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42837 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42839 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42840 for ac_func in _isinfl
42841 do :
42842 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42843 if test "x$ac_cv_func__isinfl" = x""yes; then :
42844 cat >>confdefs.h <<_ACEOF
42845 #define HAVE__ISINFL 1
42846 _ACEOF
42849 done
42858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42859 $as_echo_n "checking for atan2l declaration... " >&6; }
42860 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42861 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42862 $as_echo_n "(cached) " >&6
42863 else
42866 ac_ext=cpp
42867 ac_cpp='$CXXCPP $CPPFLAGS'
42868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42873 /* end confdefs.h. */
42874 #include <math.h>
42876 main ()
42878 atan2l(0, 0);
42880 return 0;
42882 _ACEOF
42883 if ac_fn_cxx_try_compile "$LINENO"; then :
42884 glibcxx_cv_func_atan2l_use=yes
42885 else
42886 glibcxx_cv_func_atan2l_use=no
42888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42889 ac_ext=c
42890 ac_cpp='$CPP $CPPFLAGS'
42891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42900 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42902 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42903 for ac_func in atan2l
42904 do :
42905 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42906 if test "x$ac_cv_func_atan2l" = x""yes; then :
42907 cat >>confdefs.h <<_ACEOF
42908 #define HAVE_ATAN2L 1
42909 _ACEOF
42912 done
42914 else
42916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42917 $as_echo_n "checking for _atan2l declaration... " >&6; }
42918 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42919 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42920 $as_echo_n "(cached) " >&6
42921 else
42924 ac_ext=cpp
42925 ac_cpp='$CXXCPP $CPPFLAGS'
42926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42931 /* end confdefs.h. */
42932 #include <math.h>
42934 main ()
42936 _atan2l(0, 0);
42938 return 0;
42940 _ACEOF
42941 if ac_fn_cxx_try_compile "$LINENO"; then :
42942 glibcxx_cv_func__atan2l_use=yes
42943 else
42944 glibcxx_cv_func__atan2l_use=no
42946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42947 ac_ext=c
42948 ac_cpp='$CPP $CPPFLAGS'
42949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42958 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42960 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42961 for ac_func in _atan2l
42962 do :
42963 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42964 if test "x$ac_cv_func__atan2l" = x""yes; then :
42965 cat >>confdefs.h <<_ACEOF
42966 #define HAVE__ATAN2L 1
42967 _ACEOF
42970 done
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42980 $as_echo_n "checking for expl declaration... " >&6; }
42981 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42982 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42983 $as_echo_n "(cached) " >&6
42984 else
42987 ac_ext=cpp
42988 ac_cpp='$CXXCPP $CPPFLAGS'
42989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42994 /* end confdefs.h. */
42995 #include <math.h>
42996 #ifdef HAVE_IEEEFP_H
42997 #include <ieeefp.h>
42998 #endif
43001 main ()
43003 expl(0);
43005 return 0;
43007 _ACEOF
43008 if ac_fn_cxx_try_compile "$LINENO"; then :
43009 glibcxx_cv_func_expl_use=yes
43010 else
43011 glibcxx_cv_func_expl_use=no
43013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43014 ac_ext=c
43015 ac_cpp='$CPP $CPPFLAGS'
43016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43025 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43027 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43028 for ac_func in expl
43029 do :
43030 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43031 if test "x$ac_cv_func_expl" = x""yes; then :
43032 cat >>confdefs.h <<_ACEOF
43033 #define HAVE_EXPL 1
43034 _ACEOF
43037 done
43039 else
43041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43042 $as_echo_n "checking for _expl declaration... " >&6; }
43043 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43044 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43045 $as_echo_n "(cached) " >&6
43046 else
43049 ac_ext=cpp
43050 ac_cpp='$CXXCPP $CPPFLAGS'
43051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43056 /* end confdefs.h. */
43057 #include <math.h>
43058 #ifdef HAVE_IEEEFP_H
43059 #include <ieeefp.h>
43060 #endif
43063 main ()
43065 _expl(0);
43067 return 0;
43069 _ACEOF
43070 if ac_fn_cxx_try_compile "$LINENO"; then :
43071 glibcxx_cv_func__expl_use=yes
43072 else
43073 glibcxx_cv_func__expl_use=no
43075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43076 ac_ext=c
43077 ac_cpp='$CPP $CPPFLAGS'
43078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43087 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43089 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43090 for ac_func in _expl
43091 do :
43092 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43093 if test "x$ac_cv_func__expl" = x""yes; then :
43094 cat >>confdefs.h <<_ACEOF
43095 #define HAVE__EXPL 1
43096 _ACEOF
43099 done
43108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43109 $as_echo_n "checking for fabsl declaration... " >&6; }
43110 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43111 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43112 $as_echo_n "(cached) " >&6
43113 else
43116 ac_ext=cpp
43117 ac_cpp='$CXXCPP $CPPFLAGS'
43118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43123 /* end confdefs.h. */
43124 #include <math.h>
43125 #ifdef HAVE_IEEEFP_H
43126 #include <ieeefp.h>
43127 #endif
43130 main ()
43132 fabsl(0);
43134 return 0;
43136 _ACEOF
43137 if ac_fn_cxx_try_compile "$LINENO"; then :
43138 glibcxx_cv_func_fabsl_use=yes
43139 else
43140 glibcxx_cv_func_fabsl_use=no
43142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43143 ac_ext=c
43144 ac_cpp='$CPP $CPPFLAGS'
43145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43154 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43156 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43157 for ac_func in fabsl
43158 do :
43159 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43160 if test "x$ac_cv_func_fabsl" = x""yes; then :
43161 cat >>confdefs.h <<_ACEOF
43162 #define HAVE_FABSL 1
43163 _ACEOF
43166 done
43168 else
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43171 $as_echo_n "checking for _fabsl declaration... " >&6; }
43172 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43173 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43174 $as_echo_n "(cached) " >&6
43175 else
43178 ac_ext=cpp
43179 ac_cpp='$CXXCPP $CPPFLAGS'
43180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43185 /* end confdefs.h. */
43186 #include <math.h>
43187 #ifdef HAVE_IEEEFP_H
43188 #include <ieeefp.h>
43189 #endif
43192 main ()
43194 _fabsl(0);
43196 return 0;
43198 _ACEOF
43199 if ac_fn_cxx_try_compile "$LINENO"; then :
43200 glibcxx_cv_func__fabsl_use=yes
43201 else
43202 glibcxx_cv_func__fabsl_use=no
43204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43205 ac_ext=c
43206 ac_cpp='$CPP $CPPFLAGS'
43207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43216 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43218 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43219 for ac_func in _fabsl
43220 do :
43221 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43222 if test "x$ac_cv_func__fabsl" = x""yes; then :
43223 cat >>confdefs.h <<_ACEOF
43224 #define HAVE__FABSL 1
43225 _ACEOF
43228 done
43237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43238 $as_echo_n "checking for fmodl declaration... " >&6; }
43239 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43240 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43241 $as_echo_n "(cached) " >&6
43242 else
43245 ac_ext=cpp
43246 ac_cpp='$CXXCPP $CPPFLAGS'
43247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43252 /* end confdefs.h. */
43253 #include <math.h>
43255 main ()
43257 fmodl(0, 0);
43259 return 0;
43261 _ACEOF
43262 if ac_fn_cxx_try_compile "$LINENO"; then :
43263 glibcxx_cv_func_fmodl_use=yes
43264 else
43265 glibcxx_cv_func_fmodl_use=no
43267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43268 ac_ext=c
43269 ac_cpp='$CPP $CPPFLAGS'
43270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43279 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43281 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43282 for ac_func in fmodl
43283 do :
43284 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43285 if test "x$ac_cv_func_fmodl" = x""yes; then :
43286 cat >>confdefs.h <<_ACEOF
43287 #define HAVE_FMODL 1
43288 _ACEOF
43291 done
43293 else
43295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43296 $as_echo_n "checking for _fmodl declaration... " >&6; }
43297 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43298 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43299 $as_echo_n "(cached) " >&6
43300 else
43303 ac_ext=cpp
43304 ac_cpp='$CXXCPP $CPPFLAGS'
43305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43310 /* end confdefs.h. */
43311 #include <math.h>
43313 main ()
43315 _fmodl(0, 0);
43317 return 0;
43319 _ACEOF
43320 if ac_fn_cxx_try_compile "$LINENO"; then :
43321 glibcxx_cv_func__fmodl_use=yes
43322 else
43323 glibcxx_cv_func__fmodl_use=no
43325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43326 ac_ext=c
43327 ac_cpp='$CPP $CPPFLAGS'
43328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43337 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43339 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43340 for ac_func in _fmodl
43341 do :
43342 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43343 if test "x$ac_cv_func__fmodl" = x""yes; then :
43344 cat >>confdefs.h <<_ACEOF
43345 #define HAVE__FMODL 1
43346 _ACEOF
43349 done
43358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43359 $as_echo_n "checking for frexpl declaration... " >&6; }
43360 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43361 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43362 $as_echo_n "(cached) " >&6
43363 else
43366 ac_ext=cpp
43367 ac_cpp='$CXXCPP $CPPFLAGS'
43368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43373 /* end confdefs.h. */
43374 #include <math.h>
43376 main ()
43378 frexpl(0, 0);
43380 return 0;
43382 _ACEOF
43383 if ac_fn_cxx_try_compile "$LINENO"; then :
43384 glibcxx_cv_func_frexpl_use=yes
43385 else
43386 glibcxx_cv_func_frexpl_use=no
43388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43389 ac_ext=c
43390 ac_cpp='$CPP $CPPFLAGS'
43391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43400 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43402 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43403 for ac_func in frexpl
43404 do :
43405 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43406 if test "x$ac_cv_func_frexpl" = x""yes; then :
43407 cat >>confdefs.h <<_ACEOF
43408 #define HAVE_FREXPL 1
43409 _ACEOF
43412 done
43414 else
43416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43417 $as_echo_n "checking for _frexpl declaration... " >&6; }
43418 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43419 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43420 $as_echo_n "(cached) " >&6
43421 else
43424 ac_ext=cpp
43425 ac_cpp='$CXXCPP $CPPFLAGS'
43426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43431 /* end confdefs.h. */
43432 #include <math.h>
43434 main ()
43436 _frexpl(0, 0);
43438 return 0;
43440 _ACEOF
43441 if ac_fn_cxx_try_compile "$LINENO"; then :
43442 glibcxx_cv_func__frexpl_use=yes
43443 else
43444 glibcxx_cv_func__frexpl_use=no
43446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43447 ac_ext=c
43448 ac_cpp='$CPP $CPPFLAGS'
43449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43458 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43460 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43461 for ac_func in _frexpl
43462 do :
43463 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43464 if test "x$ac_cv_func__frexpl" = x""yes; then :
43465 cat >>confdefs.h <<_ACEOF
43466 #define HAVE__FREXPL 1
43467 _ACEOF
43470 done
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43480 $as_echo_n "checking for hypotl declaration... " >&6; }
43481 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43482 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43483 $as_echo_n "(cached) " >&6
43484 else
43487 ac_ext=cpp
43488 ac_cpp='$CXXCPP $CPPFLAGS'
43489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43494 /* end confdefs.h. */
43495 #include <math.h>
43497 main ()
43499 hypotl(0, 0);
43501 return 0;
43503 _ACEOF
43504 if ac_fn_cxx_try_compile "$LINENO"; then :
43505 glibcxx_cv_func_hypotl_use=yes
43506 else
43507 glibcxx_cv_func_hypotl_use=no
43509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43510 ac_ext=c
43511 ac_cpp='$CPP $CPPFLAGS'
43512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43521 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43523 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43524 for ac_func in hypotl
43525 do :
43526 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43527 if test "x$ac_cv_func_hypotl" = x""yes; then :
43528 cat >>confdefs.h <<_ACEOF
43529 #define HAVE_HYPOTL 1
43530 _ACEOF
43533 done
43535 else
43537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43538 $as_echo_n "checking for _hypotl declaration... " >&6; }
43539 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43540 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43541 $as_echo_n "(cached) " >&6
43542 else
43545 ac_ext=cpp
43546 ac_cpp='$CXXCPP $CPPFLAGS'
43547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43552 /* end confdefs.h. */
43553 #include <math.h>
43555 main ()
43557 _hypotl(0, 0);
43559 return 0;
43561 _ACEOF
43562 if ac_fn_cxx_try_compile "$LINENO"; then :
43563 glibcxx_cv_func__hypotl_use=yes
43564 else
43565 glibcxx_cv_func__hypotl_use=no
43567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43568 ac_ext=c
43569 ac_cpp='$CPP $CPPFLAGS'
43570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43579 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43581 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43582 for ac_func in _hypotl
43583 do :
43584 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43585 if test "x$ac_cv_func__hypotl" = x""yes; then :
43586 cat >>confdefs.h <<_ACEOF
43587 #define HAVE__HYPOTL 1
43588 _ACEOF
43591 done
43600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43601 $as_echo_n "checking for ldexpl declaration... " >&6; }
43602 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43603 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43604 $as_echo_n "(cached) " >&6
43605 else
43608 ac_ext=cpp
43609 ac_cpp='$CXXCPP $CPPFLAGS'
43610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43615 /* end confdefs.h. */
43616 #include <math.h>
43618 main ()
43620 ldexpl(0, 0);
43622 return 0;
43624 _ACEOF
43625 if ac_fn_cxx_try_compile "$LINENO"; then :
43626 glibcxx_cv_func_ldexpl_use=yes
43627 else
43628 glibcxx_cv_func_ldexpl_use=no
43630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43631 ac_ext=c
43632 ac_cpp='$CPP $CPPFLAGS'
43633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43642 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43644 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43645 for ac_func in ldexpl
43646 do :
43647 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43648 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43649 cat >>confdefs.h <<_ACEOF
43650 #define HAVE_LDEXPL 1
43651 _ACEOF
43654 done
43656 else
43658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43659 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43660 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43661 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43662 $as_echo_n "(cached) " >&6
43663 else
43666 ac_ext=cpp
43667 ac_cpp='$CXXCPP $CPPFLAGS'
43668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43673 /* end confdefs.h. */
43674 #include <math.h>
43676 main ()
43678 _ldexpl(0, 0);
43680 return 0;
43682 _ACEOF
43683 if ac_fn_cxx_try_compile "$LINENO"; then :
43684 glibcxx_cv_func__ldexpl_use=yes
43685 else
43686 glibcxx_cv_func__ldexpl_use=no
43688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43689 ac_ext=c
43690 ac_cpp='$CPP $CPPFLAGS'
43691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43700 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43702 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43703 for ac_func in _ldexpl
43704 do :
43705 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43706 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43707 cat >>confdefs.h <<_ACEOF
43708 #define HAVE__LDEXPL 1
43709 _ACEOF
43712 done
43721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43722 $as_echo_n "checking for logl declaration... " >&6; }
43723 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43724 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43725 $as_echo_n "(cached) " >&6
43726 else
43729 ac_ext=cpp
43730 ac_cpp='$CXXCPP $CPPFLAGS'
43731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43736 /* end confdefs.h. */
43737 #include <math.h>
43738 #ifdef HAVE_IEEEFP_H
43739 #include <ieeefp.h>
43740 #endif
43743 main ()
43745 logl(0);
43747 return 0;
43749 _ACEOF
43750 if ac_fn_cxx_try_compile "$LINENO"; then :
43751 glibcxx_cv_func_logl_use=yes
43752 else
43753 glibcxx_cv_func_logl_use=no
43755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43756 ac_ext=c
43757 ac_cpp='$CPP $CPPFLAGS'
43758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43767 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43769 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43770 for ac_func in logl
43771 do :
43772 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43773 if test "x$ac_cv_func_logl" = x""yes; then :
43774 cat >>confdefs.h <<_ACEOF
43775 #define HAVE_LOGL 1
43776 _ACEOF
43779 done
43781 else
43783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43784 $as_echo_n "checking for _logl declaration... " >&6; }
43785 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43786 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43787 $as_echo_n "(cached) " >&6
43788 else
43791 ac_ext=cpp
43792 ac_cpp='$CXXCPP $CPPFLAGS'
43793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43798 /* end confdefs.h. */
43799 #include <math.h>
43800 #ifdef HAVE_IEEEFP_H
43801 #include <ieeefp.h>
43802 #endif
43805 main ()
43807 _logl(0);
43809 return 0;
43811 _ACEOF
43812 if ac_fn_cxx_try_compile "$LINENO"; then :
43813 glibcxx_cv_func__logl_use=yes
43814 else
43815 glibcxx_cv_func__logl_use=no
43817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43818 ac_ext=c
43819 ac_cpp='$CPP $CPPFLAGS'
43820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43829 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43831 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43832 for ac_func in _logl
43833 do :
43834 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43835 if test "x$ac_cv_func__logl" = x""yes; then :
43836 cat >>confdefs.h <<_ACEOF
43837 #define HAVE__LOGL 1
43838 _ACEOF
43841 done
43850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43851 $as_echo_n "checking for log10l declaration... " >&6; }
43852 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43853 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43854 $as_echo_n "(cached) " >&6
43855 else
43858 ac_ext=cpp
43859 ac_cpp='$CXXCPP $CPPFLAGS'
43860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43865 /* end confdefs.h. */
43866 #include <math.h>
43867 #ifdef HAVE_IEEEFP_H
43868 #include <ieeefp.h>
43869 #endif
43872 main ()
43874 log10l(0);
43876 return 0;
43878 _ACEOF
43879 if ac_fn_cxx_try_compile "$LINENO"; then :
43880 glibcxx_cv_func_log10l_use=yes
43881 else
43882 glibcxx_cv_func_log10l_use=no
43884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43885 ac_ext=c
43886 ac_cpp='$CPP $CPPFLAGS'
43887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43896 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43898 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43899 for ac_func in log10l
43900 do :
43901 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43902 if test "x$ac_cv_func_log10l" = x""yes; then :
43903 cat >>confdefs.h <<_ACEOF
43904 #define HAVE_LOG10L 1
43905 _ACEOF
43908 done
43910 else
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43913 $as_echo_n "checking for _log10l declaration... " >&6; }
43914 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43915 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43916 $as_echo_n "(cached) " >&6
43917 else
43920 ac_ext=cpp
43921 ac_cpp='$CXXCPP $CPPFLAGS'
43922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43927 /* end confdefs.h. */
43928 #include <math.h>
43929 #ifdef HAVE_IEEEFP_H
43930 #include <ieeefp.h>
43931 #endif
43934 main ()
43936 _log10l(0);
43938 return 0;
43940 _ACEOF
43941 if ac_fn_cxx_try_compile "$LINENO"; then :
43942 glibcxx_cv_func__log10l_use=yes
43943 else
43944 glibcxx_cv_func__log10l_use=no
43946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43947 ac_ext=c
43948 ac_cpp='$CPP $CPPFLAGS'
43949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43958 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43960 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43961 for ac_func in _log10l
43962 do :
43963 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43964 if test "x$ac_cv_func__log10l" = x""yes; then :
43965 cat >>confdefs.h <<_ACEOF
43966 #define HAVE__LOG10L 1
43967 _ACEOF
43970 done
43979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43980 $as_echo_n "checking for modfl declaration... " >&6; }
43981 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43982 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43983 $as_echo_n "(cached) " >&6
43984 else
43987 ac_ext=cpp
43988 ac_cpp='$CXXCPP $CPPFLAGS'
43989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43994 /* end confdefs.h. */
43995 #include <math.h>
43997 main ()
43999 modfl(0, 0);
44001 return 0;
44003 _ACEOF
44004 if ac_fn_cxx_try_compile "$LINENO"; then :
44005 glibcxx_cv_func_modfl_use=yes
44006 else
44007 glibcxx_cv_func_modfl_use=no
44009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44010 ac_ext=c
44011 ac_cpp='$CPP $CPPFLAGS'
44012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44021 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44023 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44024 for ac_func in modfl
44025 do :
44026 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44027 if test "x$ac_cv_func_modfl" = x""yes; then :
44028 cat >>confdefs.h <<_ACEOF
44029 #define HAVE_MODFL 1
44030 _ACEOF
44033 done
44035 else
44037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44038 $as_echo_n "checking for _modfl declaration... " >&6; }
44039 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44040 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44041 $as_echo_n "(cached) " >&6
44042 else
44045 ac_ext=cpp
44046 ac_cpp='$CXXCPP $CPPFLAGS'
44047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44052 /* end confdefs.h. */
44053 #include <math.h>
44055 main ()
44057 _modfl(0, 0);
44059 return 0;
44061 _ACEOF
44062 if ac_fn_cxx_try_compile "$LINENO"; then :
44063 glibcxx_cv_func__modfl_use=yes
44064 else
44065 glibcxx_cv_func__modfl_use=no
44067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44068 ac_ext=c
44069 ac_cpp='$CPP $CPPFLAGS'
44070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44079 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44081 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44082 for ac_func in _modfl
44083 do :
44084 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44085 if test "x$ac_cv_func__modfl" = x""yes; then :
44086 cat >>confdefs.h <<_ACEOF
44087 #define HAVE__MODFL 1
44088 _ACEOF
44091 done
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44101 $as_echo_n "checking for powl declaration... " >&6; }
44102 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44103 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44104 $as_echo_n "(cached) " >&6
44105 else
44108 ac_ext=cpp
44109 ac_cpp='$CXXCPP $CPPFLAGS'
44110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44115 /* end confdefs.h. */
44116 #include <math.h>
44118 main ()
44120 powl(0, 0);
44122 return 0;
44124 _ACEOF
44125 if ac_fn_cxx_try_compile "$LINENO"; then :
44126 glibcxx_cv_func_powl_use=yes
44127 else
44128 glibcxx_cv_func_powl_use=no
44130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44131 ac_ext=c
44132 ac_cpp='$CPP $CPPFLAGS'
44133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44142 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44144 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44145 for ac_func in powl
44146 do :
44147 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44148 if test "x$ac_cv_func_powl" = x""yes; then :
44149 cat >>confdefs.h <<_ACEOF
44150 #define HAVE_POWL 1
44151 _ACEOF
44154 done
44156 else
44158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44159 $as_echo_n "checking for _powl declaration... " >&6; }
44160 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44161 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44162 $as_echo_n "(cached) " >&6
44163 else
44166 ac_ext=cpp
44167 ac_cpp='$CXXCPP $CPPFLAGS'
44168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44173 /* end confdefs.h. */
44174 #include <math.h>
44176 main ()
44178 _powl(0, 0);
44180 return 0;
44182 _ACEOF
44183 if ac_fn_cxx_try_compile "$LINENO"; then :
44184 glibcxx_cv_func__powl_use=yes
44185 else
44186 glibcxx_cv_func__powl_use=no
44188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44189 ac_ext=c
44190 ac_cpp='$CPP $CPPFLAGS'
44191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44200 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44202 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44203 for ac_func in _powl
44204 do :
44205 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44206 if test "x$ac_cv_func__powl" = x""yes; then :
44207 cat >>confdefs.h <<_ACEOF
44208 #define HAVE__POWL 1
44209 _ACEOF
44212 done
44221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44222 $as_echo_n "checking for sqrtl declaration... " >&6; }
44223 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44224 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44225 $as_echo_n "(cached) " >&6
44226 else
44229 ac_ext=cpp
44230 ac_cpp='$CXXCPP $CPPFLAGS'
44231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44236 /* end confdefs.h. */
44237 #include <math.h>
44238 #ifdef HAVE_IEEEFP_H
44239 #include <ieeefp.h>
44240 #endif
44243 main ()
44245 sqrtl(0);
44247 return 0;
44249 _ACEOF
44250 if ac_fn_cxx_try_compile "$LINENO"; then :
44251 glibcxx_cv_func_sqrtl_use=yes
44252 else
44253 glibcxx_cv_func_sqrtl_use=no
44255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44256 ac_ext=c
44257 ac_cpp='$CPP $CPPFLAGS'
44258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44267 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44269 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44270 for ac_func in sqrtl
44271 do :
44272 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44273 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44274 cat >>confdefs.h <<_ACEOF
44275 #define HAVE_SQRTL 1
44276 _ACEOF
44279 done
44281 else
44283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44284 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44285 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44286 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44287 $as_echo_n "(cached) " >&6
44288 else
44291 ac_ext=cpp
44292 ac_cpp='$CXXCPP $CPPFLAGS'
44293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44298 /* end confdefs.h. */
44299 #include <math.h>
44300 #ifdef HAVE_IEEEFP_H
44301 #include <ieeefp.h>
44302 #endif
44305 main ()
44307 _sqrtl(0);
44309 return 0;
44311 _ACEOF
44312 if ac_fn_cxx_try_compile "$LINENO"; then :
44313 glibcxx_cv_func__sqrtl_use=yes
44314 else
44315 glibcxx_cv_func__sqrtl_use=no
44317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44318 ac_ext=c
44319 ac_cpp='$CPP $CPPFLAGS'
44320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44329 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44331 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44332 for ac_func in _sqrtl
44333 do :
44334 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44335 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44336 cat >>confdefs.h <<_ACEOF
44337 #define HAVE__SQRTL 1
44338 _ACEOF
44341 done
44350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44351 $as_echo_n "checking for sincosl declaration... " >&6; }
44352 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44353 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44354 $as_echo_n "(cached) " >&6
44355 else
44358 ac_ext=cpp
44359 ac_cpp='$CXXCPP $CPPFLAGS'
44360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44365 /* end confdefs.h. */
44366 #include <math.h>
44368 main ()
44370 sincosl(0, 0, 0);
44372 return 0;
44374 _ACEOF
44375 if ac_fn_cxx_try_compile "$LINENO"; then :
44376 glibcxx_cv_func_sincosl_use=yes
44377 else
44378 glibcxx_cv_func_sincosl_use=no
44380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44381 ac_ext=c
44382 ac_cpp='$CPP $CPPFLAGS'
44383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44392 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44394 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44395 for ac_func in sincosl
44396 do :
44397 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44398 if test "x$ac_cv_func_sincosl" = x""yes; then :
44399 cat >>confdefs.h <<_ACEOF
44400 #define HAVE_SINCOSL 1
44401 _ACEOF
44404 done
44406 else
44408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44409 $as_echo_n "checking for _sincosl declaration... " >&6; }
44410 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44411 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44412 $as_echo_n "(cached) " >&6
44413 else
44416 ac_ext=cpp
44417 ac_cpp='$CXXCPP $CPPFLAGS'
44418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44423 /* end confdefs.h. */
44424 #include <math.h>
44426 main ()
44428 _sincosl(0, 0, 0);
44430 return 0;
44432 _ACEOF
44433 if ac_fn_cxx_try_compile "$LINENO"; then :
44434 glibcxx_cv_func__sincosl_use=yes
44435 else
44436 glibcxx_cv_func__sincosl_use=no
44438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44439 ac_ext=c
44440 ac_cpp='$CPP $CPPFLAGS'
44441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44450 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44452 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44453 for ac_func in _sincosl
44454 do :
44455 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44456 if test "x$ac_cv_func__sincosl" = x""yes; then :
44457 cat >>confdefs.h <<_ACEOF
44458 #define HAVE__SINCOSL 1
44459 _ACEOF
44462 done
44471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44472 $as_echo_n "checking for finitel declaration... " >&6; }
44473 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44474 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44475 $as_echo_n "(cached) " >&6
44476 else
44479 ac_ext=cpp
44480 ac_cpp='$CXXCPP $CPPFLAGS'
44481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44486 /* end confdefs.h. */
44487 #include <math.h>
44488 #ifdef HAVE_IEEEFP_H
44489 #include <ieeefp.h>
44490 #endif
44493 main ()
44495 finitel(0);
44497 return 0;
44499 _ACEOF
44500 if ac_fn_cxx_try_compile "$LINENO"; then :
44501 glibcxx_cv_func_finitel_use=yes
44502 else
44503 glibcxx_cv_func_finitel_use=no
44505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44506 ac_ext=c
44507 ac_cpp='$CPP $CPPFLAGS'
44508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44517 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44519 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44520 for ac_func in finitel
44521 do :
44522 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44523 if test "x$ac_cv_func_finitel" = x""yes; then :
44524 cat >>confdefs.h <<_ACEOF
44525 #define HAVE_FINITEL 1
44526 _ACEOF
44529 done
44531 else
44533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44534 $as_echo_n "checking for _finitel declaration... " >&6; }
44535 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44536 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44537 $as_echo_n "(cached) " >&6
44538 else
44541 ac_ext=cpp
44542 ac_cpp='$CXXCPP $CPPFLAGS'
44543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44548 /* end confdefs.h. */
44549 #include <math.h>
44550 #ifdef HAVE_IEEEFP_H
44551 #include <ieeefp.h>
44552 #endif
44555 main ()
44557 _finitel(0);
44559 return 0;
44561 _ACEOF
44562 if ac_fn_cxx_try_compile "$LINENO"; then :
44563 glibcxx_cv_func__finitel_use=yes
44564 else
44565 glibcxx_cv_func__finitel_use=no
44567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44568 ac_ext=c
44569 ac_cpp='$CPP $CPPFLAGS'
44570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44579 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44581 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44582 for ac_func in _finitel
44583 do :
44584 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44585 if test "x$ac_cv_func__finitel" = x""yes; then :
44586 cat >>confdefs.h <<_ACEOF
44587 #define HAVE__FINITEL 1
44588 _ACEOF
44591 done
44599 LIBS="$ac_save_LIBS"
44600 CXXFLAGS="$ac_save_CXXFLAGS"
44603 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44604 ac_save_CXXFLAGS="$CXXFLAGS"
44605 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44609 $as_echo_n "checking for strtold declaration... " >&6; }
44610 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44611 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44612 $as_echo_n "(cached) " >&6
44613 else
44616 ac_ext=cpp
44617 ac_cpp='$CXXCPP $CPPFLAGS'
44618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44623 /* end confdefs.h. */
44624 #include <stdlib.h>
44626 main ()
44628 strtold(0, 0);
44630 return 0;
44632 _ACEOF
44633 if ac_fn_cxx_try_compile "$LINENO"; then :
44634 glibcxx_cv_func_strtold_use=yes
44635 else
44636 glibcxx_cv_func_strtold_use=no
44638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44639 ac_ext=c
44640 ac_cpp='$CPP $CPPFLAGS'
44641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44650 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44651 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44652 for ac_func in strtold
44653 do :
44654 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44655 if test "x$ac_cv_func_strtold" = x""yes; then :
44656 cat >>confdefs.h <<_ACEOF
44657 #define HAVE_STRTOLD 1
44658 _ACEOF
44661 done
44668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44669 $as_echo_n "checking for strtof declaration... " >&6; }
44670 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44671 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44672 $as_echo_n "(cached) " >&6
44673 else
44676 ac_ext=cpp
44677 ac_cpp='$CXXCPP $CPPFLAGS'
44678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44683 /* end confdefs.h. */
44684 #include <stdlib.h>
44686 main ()
44688 strtof(0, 0);
44690 return 0;
44692 _ACEOF
44693 if ac_fn_cxx_try_compile "$LINENO"; then :
44694 glibcxx_cv_func_strtof_use=yes
44695 else
44696 glibcxx_cv_func_strtof_use=no
44698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44699 ac_ext=c
44700 ac_cpp='$CPP $CPPFLAGS'
44701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44710 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44711 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44712 for ac_func in strtof
44713 do :
44714 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44715 if test "x$ac_cv_func_strtof" = x""yes; then :
44716 cat >>confdefs.h <<_ACEOF
44717 #define HAVE_STRTOF 1
44718 _ACEOF
44721 done
44728 CXXFLAGS="$ac_save_CXXFLAGS"
44732 *djgpp)
44733 # GLIBCXX_CHECK_MATH_SUPPORT
44734 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44736 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44738 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44740 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44742 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44746 *-freebsd*)
44747 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44750 # If we're not using GNU ld, then there's no point in even trying these
44751 # tests. Check for that first. We should have already tested for gld
44752 # by now (in libtool), but require it now just to be safe...
44753 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44754 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44758 # The name set by libtool depends on the version of libtool. Shame on us
44759 # for depending on an impl detail, but c'est la vie. Older versions used
44760 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44761 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44762 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44763 # set (hence we're using an older libtool), then set it.
44764 if test x${with_gnu_ld+set} != xset; then
44765 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44766 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44767 with_gnu_ld=no
44768 else
44769 with_gnu_ld=$ac_cv_prog_gnu_ld
44773 # Start by getting the version number. I think the libtool test already
44774 # does some of this, but throws away the result.
44775 glibcxx_ld_is_gold=no
44776 if test x"$with_gnu_ld" = x"yes"; then
44777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44778 $as_echo_n "checking for ld version... " >&6; }
44780 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44781 glibcxx_ld_is_gold=yes
44783 ldver=`$LD --version 2>/dev/null |
44784 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'`
44786 glibcxx_gnu_ld_version=`echo $ldver | \
44787 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44789 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44792 # Set --gc-sections.
44793 glibcxx_have_gc_sections=no
44794 if test "$glibcxx_ld_is_gold" = "yes"; then
44795 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44796 glibcxx_have_gc_sections=yes
44798 else
44799 glibcxx_gcsections_min_ld=21602
44800 if test x"$with_gnu_ld" = x"yes" &&
44801 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44802 glibcxx_have_gc_sections=yes
44805 if test "$glibcxx_have_gc_sections" = "yes"; then
44806 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44807 # NB: This flag only works reliably after 2.16.1. Configure tests
44808 # for this are difficult, so hard wire a value that should work.
44810 ac_test_CFLAGS="${CFLAGS+set}"
44811 ac_save_CFLAGS="$CFLAGS"
44812 CFLAGS='-Wl,--gc-sections'
44814 # Check for -Wl,--gc-sections
44815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44816 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44817 if test x$gcc_no_link = xyes; then
44818 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44821 /* end confdefs.h. */
44822 int one(void) { return 1; }
44823 int two(void) { return 2; }
44826 main ()
44828 two();
44830 return 0;
44832 _ACEOF
44833 if ac_fn_c_try_link "$LINENO"; then :
44834 ac_gcsections=yes
44835 else
44836 ac_gcsections=no
44838 rm -f core conftest.err conftest.$ac_objext \
44839 conftest$ac_exeext conftest.$ac_ext
44840 if test "$ac_gcsections" = "yes"; then
44841 rm -f conftest.c
44842 touch conftest.c
44843 if $CC -c conftest.c; then
44844 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44845 grep "Warning: gc-sections option ignored" > /dev/null; then
44846 ac_gcsections=no
44849 rm -f conftest.c conftest.o conftest
44851 if test "$ac_gcsections" = "yes"; then
44852 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44855 $as_echo "$ac_gcsections" >&6; }
44857 if test "$ac_test_CFLAGS" = set; then
44858 CFLAGS="$ac_save_CFLAGS"
44859 else
44860 # this is the suspicious part
44861 CFLAGS=''
44865 # Set -z,relro.
44866 # Note this is only for shared objects.
44867 ac_ld_relro=no
44868 if test x"$with_gnu_ld" = x"yes"; then
44869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44870 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44871 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44872 if test -n "$cxx_z_relo"; then
44873 OPT_LDFLAGS="-Wl,-z,relro"
44874 ac_ld_relro=yes
44876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44877 $as_echo "$ac_ld_relro" >&6; }
44880 # Set linker optimization flags.
44881 if test x"$with_gnu_ld" = x"yes"; then
44882 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44888 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44890 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44892 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44894 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44896 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44898 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44900 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44902 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44904 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44907 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44909 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44911 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44913 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44915 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44917 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44919 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44921 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44923 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44925 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44927 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44929 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44931 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44933 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44935 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44937 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44939 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44941 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44943 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44945 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44947 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44949 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44951 if test x"long_double_math_on_this_cpu" = x"yes"; then
44952 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44954 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44956 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44960 *-hpux*)
44961 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44964 # If we're not using GNU ld, then there's no point in even trying these
44965 # tests. Check for that first. We should have already tested for gld
44966 # by now (in libtool), but require it now just to be safe...
44967 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44968 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44972 # The name set by libtool depends on the version of libtool. Shame on us
44973 # for depending on an impl detail, but c'est la vie. Older versions used
44974 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44975 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44976 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44977 # set (hence we're using an older libtool), then set it.
44978 if test x${with_gnu_ld+set} != xset; then
44979 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44980 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44981 with_gnu_ld=no
44982 else
44983 with_gnu_ld=$ac_cv_prog_gnu_ld
44987 # Start by getting the version number. I think the libtool test already
44988 # does some of this, but throws away the result.
44989 glibcxx_ld_is_gold=no
44990 if test x"$with_gnu_ld" = x"yes"; then
44991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44992 $as_echo_n "checking for ld version... " >&6; }
44994 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44995 glibcxx_ld_is_gold=yes
44997 ldver=`$LD --version 2>/dev/null |
44998 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'`
45000 glibcxx_gnu_ld_version=`echo $ldver | \
45001 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45003 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45006 # Set --gc-sections.
45007 glibcxx_have_gc_sections=no
45008 if test "$glibcxx_ld_is_gold" = "yes"; then
45009 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45010 glibcxx_have_gc_sections=yes
45012 else
45013 glibcxx_gcsections_min_ld=21602
45014 if test x"$with_gnu_ld" = x"yes" &&
45015 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45016 glibcxx_have_gc_sections=yes
45019 if test "$glibcxx_have_gc_sections" = "yes"; then
45020 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45021 # NB: This flag only works reliably after 2.16.1. Configure tests
45022 # for this are difficult, so hard wire a value that should work.
45024 ac_test_CFLAGS="${CFLAGS+set}"
45025 ac_save_CFLAGS="$CFLAGS"
45026 CFLAGS='-Wl,--gc-sections'
45028 # Check for -Wl,--gc-sections
45029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45030 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45031 if test x$gcc_no_link = xyes; then
45032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45035 /* end confdefs.h. */
45036 int one(void) { return 1; }
45037 int two(void) { return 2; }
45040 main ()
45042 two();
45044 return 0;
45046 _ACEOF
45047 if ac_fn_c_try_link "$LINENO"; then :
45048 ac_gcsections=yes
45049 else
45050 ac_gcsections=no
45052 rm -f core conftest.err conftest.$ac_objext \
45053 conftest$ac_exeext conftest.$ac_ext
45054 if test "$ac_gcsections" = "yes"; then
45055 rm -f conftest.c
45056 touch conftest.c
45057 if $CC -c conftest.c; then
45058 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45059 grep "Warning: gc-sections option ignored" > /dev/null; then
45060 ac_gcsections=no
45063 rm -f conftest.c conftest.o conftest
45065 if test "$ac_gcsections" = "yes"; then
45066 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45069 $as_echo "$ac_gcsections" >&6; }
45071 if test "$ac_test_CFLAGS" = set; then
45072 CFLAGS="$ac_save_CFLAGS"
45073 else
45074 # this is the suspicious part
45075 CFLAGS=''
45079 # Set -z,relro.
45080 # Note this is only for shared objects.
45081 ac_ld_relro=no
45082 if test x"$with_gnu_ld" = x"yes"; then
45083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45084 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45085 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45086 if test -n "$cxx_z_relo"; then
45087 OPT_LDFLAGS="-Wl,-z,relro"
45088 ac_ld_relro=yes
45090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45091 $as_echo "$ac_ld_relro" >&6; }
45094 # Set linker optimization flags.
45095 if test x"$with_gnu_ld" = x"yes"; then
45096 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45103 # GLIBCXX_CHECK_MATH_SUPPORT
45104 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45106 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45108 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45110 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45112 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45114 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45116 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45118 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45120 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45122 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45124 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45126 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45128 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45130 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45132 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45134 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45136 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45138 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45140 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45142 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45144 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45147 # GLIBCXX_CHECK_STDLIB_SUPPORT
45148 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45153 # Check whether --enable-tls was given.
45154 if test "${enable_tls+set}" = set; then :
45155 enableval=$enable_tls;
45156 case "$enableval" in
45157 yes|no) ;;
45158 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45159 esac
45161 else
45162 enable_tls=yes
45166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45167 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45168 if test "${gcc_cv_have_tls+set}" = set; then :
45169 $as_echo_n "(cached) " >&6
45170 else
45172 if test "$cross_compiling" = yes; then :
45173 if test x$gcc_no_link = xyes; then
45174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45177 /* end confdefs.h. */
45178 __thread int a; int b; int main() { return a = b; }
45179 _ACEOF
45180 if ac_fn_c_try_link "$LINENO"; then :
45181 chktls_save_LDFLAGS="$LDFLAGS"
45182 case $host in
45183 *-*-linux*)
45184 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45186 esac
45187 chktls_save_CFLAGS="$CFLAGS"
45188 CFLAGS="-fPIC $CFLAGS"
45189 if test x$gcc_no_link = xyes; then
45190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45193 /* end confdefs.h. */
45194 int f() { return 0; }
45195 _ACEOF
45196 if ac_fn_c_try_link "$LINENO"; then :
45197 if test x$gcc_no_link = xyes; then
45198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45201 /* end confdefs.h. */
45202 __thread int a; int b; int f() { return a = b; }
45203 _ACEOF
45204 if ac_fn_c_try_link "$LINENO"; then :
45205 gcc_cv_have_tls=yes
45206 else
45207 gcc_cv_have_tls=no
45209 rm -f core conftest.err conftest.$ac_objext \
45210 conftest$ac_exeext conftest.$ac_ext
45211 else
45212 gcc_cv_have_tls=yes
45214 rm -f core conftest.err conftest.$ac_objext \
45215 conftest$ac_exeext conftest.$ac_ext
45216 CFLAGS="$chktls_save_CFLAGS"
45217 LDFLAGS="$chktls_save_LDFLAGS"
45218 else
45219 gcc_cv_have_tls=no
45221 rm -f core conftest.err conftest.$ac_objext \
45222 conftest$ac_exeext conftest.$ac_ext
45225 else
45226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45227 /* end confdefs.h. */
45228 __thread int a; int b; int main() { return a = b; }
45229 _ACEOF
45230 if ac_fn_c_try_run "$LINENO"; then :
45231 chktls_save_LDFLAGS="$LDFLAGS"
45232 LDFLAGS="-static $LDFLAGS"
45233 if test x$gcc_no_link = xyes; then
45234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45237 /* end confdefs.h. */
45238 int main() { return 0; }
45239 _ACEOF
45240 if ac_fn_c_try_link "$LINENO"; then :
45241 if test "$cross_compiling" = yes; then :
45242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45244 as_fn_error "cannot run test program while cross compiling
45245 See \`config.log' for more details." "$LINENO" 5; }
45246 else
45247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45248 /* end confdefs.h. */
45249 __thread int a; int b; int main() { return a = b; }
45250 _ACEOF
45251 if ac_fn_c_try_run "$LINENO"; then :
45252 gcc_cv_have_tls=yes
45253 else
45254 gcc_cv_have_tls=no
45256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45257 conftest.$ac_objext conftest.beam conftest.$ac_ext
45260 else
45261 gcc_cv_have_tls=yes
45263 rm -f core conftest.err conftest.$ac_objext \
45264 conftest$ac_exeext conftest.$ac_ext
45265 LDFLAGS="$chktls_save_LDFLAGS"
45266 if test $gcc_cv_have_tls = yes; then
45267 chktls_save_CFLAGS="$CFLAGS"
45268 thread_CFLAGS=failed
45269 for flag in '' '-pthread' '-lpthread'; do
45270 CFLAGS="$flag $chktls_save_CFLAGS"
45271 if test x$gcc_no_link = xyes; then
45272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45275 /* end confdefs.h. */
45276 #include <pthread.h>
45277 void *g(void *d) { return NULL; }
45279 main ()
45281 pthread_t t; pthread_create(&t,NULL,g,NULL);
45283 return 0;
45285 _ACEOF
45286 if ac_fn_c_try_link "$LINENO"; then :
45287 thread_CFLAGS="$flag"
45289 rm -f core conftest.err conftest.$ac_objext \
45290 conftest$ac_exeext conftest.$ac_ext
45291 if test "X$thread_CFLAGS" != Xfailed; then
45292 break
45294 done
45295 CFLAGS="$chktls_save_CFLAGS"
45296 if test "X$thread_CFLAGS" != Xfailed; then
45297 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45298 if test "$cross_compiling" = yes; then :
45299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45301 as_fn_error "cannot run test program while cross compiling
45302 See \`config.log' for more details." "$LINENO" 5; }
45303 else
45304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45305 /* end confdefs.h. */
45306 #include <pthread.h>
45307 __thread int a;
45308 static int *volatile a_in_other_thread;
45309 static void *
45310 thread_func (void *arg)
45312 a_in_other_thread = &a;
45313 return (void *)0;
45316 main ()
45318 pthread_t thread;
45319 void *thread_retval;
45320 int *volatile a_in_main_thread;
45321 a_in_main_thread = &a;
45322 if (pthread_create (&thread, (pthread_attr_t *)0,
45323 thread_func, (void *)0))
45324 return 0;
45325 if (pthread_join (thread, &thread_retval))
45326 return 0;
45327 return (a_in_other_thread == a_in_main_thread);
45329 return 0;
45331 _ACEOF
45332 if ac_fn_c_try_run "$LINENO"; then :
45333 gcc_cv_have_tls=yes
45334 else
45335 gcc_cv_have_tls=no
45337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45338 conftest.$ac_objext conftest.beam conftest.$ac_ext
45341 CFLAGS="$chktls_save_CFLAGS"
45344 else
45345 gcc_cv_have_tls=no
45347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45348 conftest.$ac_objext conftest.beam conftest.$ac_ext
45352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45353 $as_echo "$gcc_cv_have_tls" >&6; }
45354 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45356 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45359 case "$target" in
45360 *-hpux10*)
45361 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45363 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45365 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45367 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45369 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45372 esac
45374 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45376 # All these tests are for C++; save the language and the compiler flags.
45377 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45378 # found in GLIBCXX_CONFIGURE.
45380 ac_ext=cpp
45381 ac_cpp='$CXXCPP $CPPFLAGS'
45382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45386 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45387 ac_save_CXXFLAGS="$CXXFLAGS"
45389 # Check for maintainer-mode bits.
45390 if test x"$USE_MAINTAINER_MODE" = xno; then
45391 WERROR=''
45392 else
45393 WERROR='-Werror'
45396 # Check for -ffunction-sections -fdata-sections
45397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45398 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45399 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45401 /* end confdefs.h. */
45402 int foo; void bar() { };
45404 main ()
45408 return 0;
45410 _ACEOF
45411 if ac_fn_cxx_try_compile "$LINENO"; then :
45412 ac_fdsections=yes
45413 else
45414 ac_fdsections=no
45416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45417 if test "$ac_test_CXXFLAGS" = set; then
45418 CXXFLAGS="$ac_save_CXXFLAGS"
45419 else
45420 # this is the suspicious part
45421 CXXFLAGS=''
45423 if test x"$ac_fdsections" = x"yes"; then
45424 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45427 $as_echo "$ac_fdsections" >&6; }
45429 ac_ext=c
45430 ac_cpp='$CPP $CPPFLAGS'
45431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45439 # If we're not using GNU ld, then there's no point in even trying these
45440 # tests. Check for that first. We should have already tested for gld
45441 # by now (in libtool), but require it now just to be safe...
45442 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45443 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45447 # The name set by libtool depends on the version of libtool. Shame on us
45448 # for depending on an impl detail, but c'est la vie. Older versions used
45449 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45450 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45451 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45452 # set (hence we're using an older libtool), then set it.
45453 if test x${with_gnu_ld+set} != xset; then
45454 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45455 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45456 with_gnu_ld=no
45457 else
45458 with_gnu_ld=$ac_cv_prog_gnu_ld
45462 # Start by getting the version number. I think the libtool test already
45463 # does some of this, but throws away the result.
45464 glibcxx_ld_is_gold=no
45465 if test x"$with_gnu_ld" = x"yes"; then
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45467 $as_echo_n "checking for ld version... " >&6; }
45469 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45470 glibcxx_ld_is_gold=yes
45472 ldver=`$LD --version 2>/dev/null |
45473 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'`
45475 glibcxx_gnu_ld_version=`echo $ldver | \
45476 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45478 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45481 # Set --gc-sections.
45482 glibcxx_have_gc_sections=no
45483 if test "$glibcxx_ld_is_gold" = "yes"; then
45484 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45485 glibcxx_have_gc_sections=yes
45487 else
45488 glibcxx_gcsections_min_ld=21602
45489 if test x"$with_gnu_ld" = x"yes" &&
45490 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45491 glibcxx_have_gc_sections=yes
45494 if test "$glibcxx_have_gc_sections" = "yes"; then
45495 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45496 # NB: This flag only works reliably after 2.16.1. Configure tests
45497 # for this are difficult, so hard wire a value that should work.
45499 ac_test_CFLAGS="${CFLAGS+set}"
45500 ac_save_CFLAGS="$CFLAGS"
45501 CFLAGS='-Wl,--gc-sections'
45503 # Check for -Wl,--gc-sections
45504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45505 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45506 if test x$gcc_no_link = xyes; then
45507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45510 /* end confdefs.h. */
45511 int one(void) { return 1; }
45512 int two(void) { return 2; }
45515 main ()
45517 two();
45519 return 0;
45521 _ACEOF
45522 if ac_fn_c_try_link "$LINENO"; then :
45523 ac_gcsections=yes
45524 else
45525 ac_gcsections=no
45527 rm -f core conftest.err conftest.$ac_objext \
45528 conftest$ac_exeext conftest.$ac_ext
45529 if test "$ac_gcsections" = "yes"; then
45530 rm -f conftest.c
45531 touch conftest.c
45532 if $CC -c conftest.c; then
45533 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45534 grep "Warning: gc-sections option ignored" > /dev/null; then
45535 ac_gcsections=no
45538 rm -f conftest.c conftest.o conftest
45540 if test "$ac_gcsections" = "yes"; then
45541 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45544 $as_echo "$ac_gcsections" >&6; }
45546 if test "$ac_test_CFLAGS" = set; then
45547 CFLAGS="$ac_save_CFLAGS"
45548 else
45549 # this is the suspicious part
45550 CFLAGS=''
45554 # Set -z,relro.
45555 # Note this is only for shared objects.
45556 ac_ld_relro=no
45557 if test x"$with_gnu_ld" = x"yes"; then
45558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45559 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45560 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45561 if test -n "$cxx_z_relo"; then
45562 OPT_LDFLAGS="-Wl,-z,relro"
45563 ac_ld_relro=yes
45565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45566 $as_echo "$ac_ld_relro" >&6; }
45569 # Set linker optimization flags.
45570 if test x"$with_gnu_ld" = x"yes"; then
45571 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45578 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45579 ac_save_CXXFLAGS="$CXXFLAGS"
45580 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45583 $as_echo_n "checking for sin in -lm... " >&6; }
45584 if test "${ac_cv_lib_m_sin+set}" = set; then :
45585 $as_echo_n "(cached) " >&6
45586 else
45587 ac_check_lib_save_LIBS=$LIBS
45588 LIBS="-lm $LIBS"
45589 if test x$gcc_no_link = xyes; then
45590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45593 /* end confdefs.h. */
45595 /* Override any GCC internal prototype to avoid an error.
45596 Use char because int might match the return type of a GCC
45597 builtin and then its argument prototype would still apply. */
45598 #ifdef __cplusplus
45599 extern "C"
45600 #endif
45601 char sin ();
45603 main ()
45605 return sin ();
45607 return 0;
45609 _ACEOF
45610 if ac_fn_c_try_link "$LINENO"; then :
45611 ac_cv_lib_m_sin=yes
45612 else
45613 ac_cv_lib_m_sin=no
45615 rm -f core conftest.err conftest.$ac_objext \
45616 conftest$ac_exeext conftest.$ac_ext
45617 LIBS=$ac_check_lib_save_LIBS
45619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45620 $as_echo "$ac_cv_lib_m_sin" >&6; }
45621 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45622 libm="-lm"
45625 ac_save_LIBS="$LIBS"
45626 LIBS="$LIBS $libm"
45630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45631 $as_echo_n "checking for isinf declaration... " >&6; }
45632 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45633 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45634 $as_echo_n "(cached) " >&6
45635 else
45638 ac_ext=cpp
45639 ac_cpp='$CXXCPP $CPPFLAGS'
45640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45645 /* end confdefs.h. */
45646 #include <math.h>
45647 #ifdef HAVE_IEEEFP_H
45648 #include <ieeefp.h>
45649 #endif
45652 main ()
45654 isinf(0);
45656 return 0;
45658 _ACEOF
45659 if ac_fn_cxx_try_compile "$LINENO"; then :
45660 glibcxx_cv_func_isinf_use=yes
45661 else
45662 glibcxx_cv_func_isinf_use=no
45664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45665 ac_ext=c
45666 ac_cpp='$CPP $CPPFLAGS'
45667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45676 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45678 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45679 for ac_func in isinf
45680 do :
45681 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45682 if test "x$ac_cv_func_isinf" = x""yes; then :
45683 cat >>confdefs.h <<_ACEOF
45684 #define HAVE_ISINF 1
45685 _ACEOF
45688 done
45690 else
45692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45693 $as_echo_n "checking for _isinf declaration... " >&6; }
45694 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45695 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45696 $as_echo_n "(cached) " >&6
45697 else
45700 ac_ext=cpp
45701 ac_cpp='$CXXCPP $CPPFLAGS'
45702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45707 /* end confdefs.h. */
45708 #include <math.h>
45709 #ifdef HAVE_IEEEFP_H
45710 #include <ieeefp.h>
45711 #endif
45714 main ()
45716 _isinf(0);
45718 return 0;
45720 _ACEOF
45721 if ac_fn_cxx_try_compile "$LINENO"; then :
45722 glibcxx_cv_func__isinf_use=yes
45723 else
45724 glibcxx_cv_func__isinf_use=no
45726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45727 ac_ext=c
45728 ac_cpp='$CPP $CPPFLAGS'
45729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45738 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45740 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45741 for ac_func in _isinf
45742 do :
45743 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45744 if test "x$ac_cv_func__isinf" = x""yes; then :
45745 cat >>confdefs.h <<_ACEOF
45746 #define HAVE__ISINF 1
45747 _ACEOF
45750 done
45759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45760 $as_echo_n "checking for isnan declaration... " >&6; }
45761 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45762 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45763 $as_echo_n "(cached) " >&6
45764 else
45767 ac_ext=cpp
45768 ac_cpp='$CXXCPP $CPPFLAGS'
45769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45774 /* end confdefs.h. */
45775 #include <math.h>
45776 #ifdef HAVE_IEEEFP_H
45777 #include <ieeefp.h>
45778 #endif
45781 main ()
45783 isnan(0);
45785 return 0;
45787 _ACEOF
45788 if ac_fn_cxx_try_compile "$LINENO"; then :
45789 glibcxx_cv_func_isnan_use=yes
45790 else
45791 glibcxx_cv_func_isnan_use=no
45793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45794 ac_ext=c
45795 ac_cpp='$CPP $CPPFLAGS'
45796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45805 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45807 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45808 for ac_func in isnan
45809 do :
45810 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45811 if test "x$ac_cv_func_isnan" = x""yes; then :
45812 cat >>confdefs.h <<_ACEOF
45813 #define HAVE_ISNAN 1
45814 _ACEOF
45817 done
45819 else
45821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45822 $as_echo_n "checking for _isnan declaration... " >&6; }
45823 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45824 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45825 $as_echo_n "(cached) " >&6
45826 else
45829 ac_ext=cpp
45830 ac_cpp='$CXXCPP $CPPFLAGS'
45831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45836 /* end confdefs.h. */
45837 #include <math.h>
45838 #ifdef HAVE_IEEEFP_H
45839 #include <ieeefp.h>
45840 #endif
45843 main ()
45845 _isnan(0);
45847 return 0;
45849 _ACEOF
45850 if ac_fn_cxx_try_compile "$LINENO"; then :
45851 glibcxx_cv_func__isnan_use=yes
45852 else
45853 glibcxx_cv_func__isnan_use=no
45855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45856 ac_ext=c
45857 ac_cpp='$CPP $CPPFLAGS'
45858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45867 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45869 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45870 for ac_func in _isnan
45871 do :
45872 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45873 if test "x$ac_cv_func__isnan" = x""yes; then :
45874 cat >>confdefs.h <<_ACEOF
45875 #define HAVE__ISNAN 1
45876 _ACEOF
45879 done
45888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45889 $as_echo_n "checking for finite declaration... " >&6; }
45890 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45891 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45892 $as_echo_n "(cached) " >&6
45893 else
45896 ac_ext=cpp
45897 ac_cpp='$CXXCPP $CPPFLAGS'
45898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45903 /* end confdefs.h. */
45904 #include <math.h>
45905 #ifdef HAVE_IEEEFP_H
45906 #include <ieeefp.h>
45907 #endif
45910 main ()
45912 finite(0);
45914 return 0;
45916 _ACEOF
45917 if ac_fn_cxx_try_compile "$LINENO"; then :
45918 glibcxx_cv_func_finite_use=yes
45919 else
45920 glibcxx_cv_func_finite_use=no
45922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45923 ac_ext=c
45924 ac_cpp='$CPP $CPPFLAGS'
45925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45934 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45936 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45937 for ac_func in finite
45938 do :
45939 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45940 if test "x$ac_cv_func_finite" = x""yes; then :
45941 cat >>confdefs.h <<_ACEOF
45942 #define HAVE_FINITE 1
45943 _ACEOF
45946 done
45948 else
45950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45951 $as_echo_n "checking for _finite declaration... " >&6; }
45952 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45953 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45954 $as_echo_n "(cached) " >&6
45955 else
45958 ac_ext=cpp
45959 ac_cpp='$CXXCPP $CPPFLAGS'
45960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45965 /* end confdefs.h. */
45966 #include <math.h>
45967 #ifdef HAVE_IEEEFP_H
45968 #include <ieeefp.h>
45969 #endif
45972 main ()
45974 _finite(0);
45976 return 0;
45978 _ACEOF
45979 if ac_fn_cxx_try_compile "$LINENO"; then :
45980 glibcxx_cv_func__finite_use=yes
45981 else
45982 glibcxx_cv_func__finite_use=no
45984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45985 ac_ext=c
45986 ac_cpp='$CPP $CPPFLAGS'
45987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45996 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45998 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45999 for ac_func in _finite
46000 do :
46001 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46002 if test "x$ac_cv_func__finite" = x""yes; then :
46003 cat >>confdefs.h <<_ACEOF
46004 #define HAVE__FINITE 1
46005 _ACEOF
46008 done
46017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46018 $as_echo_n "checking for sincos declaration... " >&6; }
46019 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46020 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46021 $as_echo_n "(cached) " >&6
46022 else
46025 ac_ext=cpp
46026 ac_cpp='$CXXCPP $CPPFLAGS'
46027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46032 /* end confdefs.h. */
46033 #include <math.h>
46035 main ()
46037 sincos(0, 0, 0);
46039 return 0;
46041 _ACEOF
46042 if ac_fn_cxx_try_compile "$LINENO"; then :
46043 glibcxx_cv_func_sincos_use=yes
46044 else
46045 glibcxx_cv_func_sincos_use=no
46047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46048 ac_ext=c
46049 ac_cpp='$CPP $CPPFLAGS'
46050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46059 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46061 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46062 for ac_func in sincos
46063 do :
46064 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46065 if test "x$ac_cv_func_sincos" = x""yes; then :
46066 cat >>confdefs.h <<_ACEOF
46067 #define HAVE_SINCOS 1
46068 _ACEOF
46071 done
46073 else
46075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46076 $as_echo_n "checking for _sincos declaration... " >&6; }
46077 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46078 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46079 $as_echo_n "(cached) " >&6
46080 else
46083 ac_ext=cpp
46084 ac_cpp='$CXXCPP $CPPFLAGS'
46085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46090 /* end confdefs.h. */
46091 #include <math.h>
46093 main ()
46095 _sincos(0, 0, 0);
46097 return 0;
46099 _ACEOF
46100 if ac_fn_cxx_try_compile "$LINENO"; then :
46101 glibcxx_cv_func__sincos_use=yes
46102 else
46103 glibcxx_cv_func__sincos_use=no
46105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46106 ac_ext=c
46107 ac_cpp='$CPP $CPPFLAGS'
46108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46117 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46119 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46120 for ac_func in _sincos
46121 do :
46122 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46123 if test "x$ac_cv_func__sincos" = x""yes; then :
46124 cat >>confdefs.h <<_ACEOF
46125 #define HAVE__SINCOS 1
46126 _ACEOF
46129 done
46138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46139 $as_echo_n "checking for fpclass declaration... " >&6; }
46140 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46141 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46142 $as_echo_n "(cached) " >&6
46143 else
46146 ac_ext=cpp
46147 ac_cpp='$CXXCPP $CPPFLAGS'
46148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46153 /* end confdefs.h. */
46154 #include <math.h>
46155 #ifdef HAVE_IEEEFP_H
46156 #include <ieeefp.h>
46157 #endif
46160 main ()
46162 fpclass(0);
46164 return 0;
46166 _ACEOF
46167 if ac_fn_cxx_try_compile "$LINENO"; then :
46168 glibcxx_cv_func_fpclass_use=yes
46169 else
46170 glibcxx_cv_func_fpclass_use=no
46172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46173 ac_ext=c
46174 ac_cpp='$CPP $CPPFLAGS'
46175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46184 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46186 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46187 for ac_func in fpclass
46188 do :
46189 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46190 if test "x$ac_cv_func_fpclass" = x""yes; then :
46191 cat >>confdefs.h <<_ACEOF
46192 #define HAVE_FPCLASS 1
46193 _ACEOF
46196 done
46198 else
46200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46201 $as_echo_n "checking for _fpclass declaration... " >&6; }
46202 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46203 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46204 $as_echo_n "(cached) " >&6
46205 else
46208 ac_ext=cpp
46209 ac_cpp='$CXXCPP $CPPFLAGS'
46210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46215 /* end confdefs.h. */
46216 #include <math.h>
46217 #ifdef HAVE_IEEEFP_H
46218 #include <ieeefp.h>
46219 #endif
46222 main ()
46224 _fpclass(0);
46226 return 0;
46228 _ACEOF
46229 if ac_fn_cxx_try_compile "$LINENO"; then :
46230 glibcxx_cv_func__fpclass_use=yes
46231 else
46232 glibcxx_cv_func__fpclass_use=no
46234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46235 ac_ext=c
46236 ac_cpp='$CPP $CPPFLAGS'
46237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46246 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46248 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46249 for ac_func in _fpclass
46250 do :
46251 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46252 if test "x$ac_cv_func__fpclass" = x""yes; then :
46253 cat >>confdefs.h <<_ACEOF
46254 #define HAVE__FPCLASS 1
46255 _ACEOF
46258 done
46267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46268 $as_echo_n "checking for qfpclass declaration... " >&6; }
46269 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46270 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46271 $as_echo_n "(cached) " >&6
46272 else
46275 ac_ext=cpp
46276 ac_cpp='$CXXCPP $CPPFLAGS'
46277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46282 /* end confdefs.h. */
46283 #include <math.h>
46284 #ifdef HAVE_IEEEFP_H
46285 #include <ieeefp.h>
46286 #endif
46289 main ()
46291 qfpclass(0);
46293 return 0;
46295 _ACEOF
46296 if ac_fn_cxx_try_compile "$LINENO"; then :
46297 glibcxx_cv_func_qfpclass_use=yes
46298 else
46299 glibcxx_cv_func_qfpclass_use=no
46301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46302 ac_ext=c
46303 ac_cpp='$CPP $CPPFLAGS'
46304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46313 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46315 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46316 for ac_func in qfpclass
46317 do :
46318 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46319 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46320 cat >>confdefs.h <<_ACEOF
46321 #define HAVE_QFPCLASS 1
46322 _ACEOF
46325 done
46327 else
46329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46330 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46331 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46332 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46333 $as_echo_n "(cached) " >&6
46334 else
46337 ac_ext=cpp
46338 ac_cpp='$CXXCPP $CPPFLAGS'
46339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46344 /* end confdefs.h. */
46345 #include <math.h>
46346 #ifdef HAVE_IEEEFP_H
46347 #include <ieeefp.h>
46348 #endif
46351 main ()
46353 _qfpclass(0);
46355 return 0;
46357 _ACEOF
46358 if ac_fn_cxx_try_compile "$LINENO"; then :
46359 glibcxx_cv_func__qfpclass_use=yes
46360 else
46361 glibcxx_cv_func__qfpclass_use=no
46363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46364 ac_ext=c
46365 ac_cpp='$CPP $CPPFLAGS'
46366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46375 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46377 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46378 for ac_func in _qfpclass
46379 do :
46380 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46381 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46382 cat >>confdefs.h <<_ACEOF
46383 #define HAVE__QFPCLASS 1
46384 _ACEOF
46387 done
46396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46397 $as_echo_n "checking for hypot declaration... " >&6; }
46398 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46399 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46400 $as_echo_n "(cached) " >&6
46401 else
46404 ac_ext=cpp
46405 ac_cpp='$CXXCPP $CPPFLAGS'
46406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46411 /* end confdefs.h. */
46412 #include <math.h>
46414 main ()
46416 hypot(0, 0);
46418 return 0;
46420 _ACEOF
46421 if ac_fn_cxx_try_compile "$LINENO"; then :
46422 glibcxx_cv_func_hypot_use=yes
46423 else
46424 glibcxx_cv_func_hypot_use=no
46426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46427 ac_ext=c
46428 ac_cpp='$CPP $CPPFLAGS'
46429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46438 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46440 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46441 for ac_func in hypot
46442 do :
46443 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46444 if test "x$ac_cv_func_hypot" = x""yes; then :
46445 cat >>confdefs.h <<_ACEOF
46446 #define HAVE_HYPOT 1
46447 _ACEOF
46450 done
46452 else
46454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46455 $as_echo_n "checking for _hypot declaration... " >&6; }
46456 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46457 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46458 $as_echo_n "(cached) " >&6
46459 else
46462 ac_ext=cpp
46463 ac_cpp='$CXXCPP $CPPFLAGS'
46464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46469 /* end confdefs.h. */
46470 #include <math.h>
46472 main ()
46474 _hypot(0, 0);
46476 return 0;
46478 _ACEOF
46479 if ac_fn_cxx_try_compile "$LINENO"; then :
46480 glibcxx_cv_func__hypot_use=yes
46481 else
46482 glibcxx_cv_func__hypot_use=no
46484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46485 ac_ext=c
46486 ac_cpp='$CPP $CPPFLAGS'
46487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46496 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46498 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46499 for ac_func in _hypot
46500 do :
46501 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46502 if test "x$ac_cv_func__hypot" = x""yes; then :
46503 cat >>confdefs.h <<_ACEOF
46504 #define HAVE__HYPOT 1
46505 _ACEOF
46508 done
46517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46518 $as_echo_n "checking for float trig functions... " >&6; }
46519 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46520 $as_echo_n "(cached) " >&6
46521 else
46524 ac_ext=cpp
46525 ac_cpp='$CXXCPP $CPPFLAGS'
46526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46531 /* end confdefs.h. */
46532 #include <math.h>
46534 main ()
46536 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46538 return 0;
46540 _ACEOF
46541 if ac_fn_cxx_try_compile "$LINENO"; then :
46542 glibcxx_cv_func_float_trig_use=yes
46543 else
46544 glibcxx_cv_func_float_trig_use=no
46546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46547 ac_ext=c
46548 ac_cpp='$CPP $CPPFLAGS'
46549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46556 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46557 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46558 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46559 do :
46560 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46562 eval as_val=\$$as_ac_var
46563 if test "x$as_val" = x""yes; then :
46564 cat >>confdefs.h <<_ACEOF
46565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46566 _ACEOF
46569 done
46571 else
46572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46573 $as_echo_n "checking for _float trig functions... " >&6; }
46574 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46575 $as_echo_n "(cached) " >&6
46576 else
46579 ac_ext=cpp
46580 ac_cpp='$CXXCPP $CPPFLAGS'
46581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46586 /* end confdefs.h. */
46587 #include <math.h>
46589 main ()
46591 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46593 return 0;
46595 _ACEOF
46596 if ac_fn_cxx_try_compile "$LINENO"; then :
46597 glibcxx_cv_func__float_trig_use=yes
46598 else
46599 glibcxx_cv_func__float_trig_use=no
46601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46602 ac_ext=c
46603 ac_cpp='$CPP $CPPFLAGS'
46604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46611 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46612 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46613 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46614 do :
46615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46617 eval as_val=\$$as_ac_var
46618 if test "x$as_val" = x""yes; then :
46619 cat >>confdefs.h <<_ACEOF
46620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46621 _ACEOF
46624 done
46633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46634 $as_echo_n "checking for float round functions... " >&6; }
46635 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46636 $as_echo_n "(cached) " >&6
46637 else
46640 ac_ext=cpp
46641 ac_cpp='$CXXCPP $CPPFLAGS'
46642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46647 /* end confdefs.h. */
46648 #include <math.h>
46650 main ()
46652 ceilf (0); floorf (0);
46654 return 0;
46656 _ACEOF
46657 if ac_fn_cxx_try_compile "$LINENO"; then :
46658 glibcxx_cv_func_float_round_use=yes
46659 else
46660 glibcxx_cv_func_float_round_use=no
46662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46663 ac_ext=c
46664 ac_cpp='$CPP $CPPFLAGS'
46665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46672 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46673 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46674 for ac_func in ceilf floorf
46675 do :
46676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46678 eval as_val=\$$as_ac_var
46679 if test "x$as_val" = x""yes; then :
46680 cat >>confdefs.h <<_ACEOF
46681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46682 _ACEOF
46685 done
46687 else
46688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46689 $as_echo_n "checking for _float round functions... " >&6; }
46690 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46691 $as_echo_n "(cached) " >&6
46692 else
46695 ac_ext=cpp
46696 ac_cpp='$CXXCPP $CPPFLAGS'
46697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46702 /* end confdefs.h. */
46703 #include <math.h>
46705 main ()
46707 _ceilf (0); _floorf (0);
46709 return 0;
46711 _ACEOF
46712 if ac_fn_cxx_try_compile "$LINENO"; then :
46713 glibcxx_cv_func__float_round_use=yes
46714 else
46715 glibcxx_cv_func__float_round_use=no
46717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46718 ac_ext=c
46719 ac_cpp='$CPP $CPPFLAGS'
46720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46727 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46728 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46729 for ac_func in _ceilf _floorf
46730 do :
46731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46733 eval as_val=\$$as_ac_var
46734 if test "x$as_val" = x""yes; then :
46735 cat >>confdefs.h <<_ACEOF
46736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46737 _ACEOF
46740 done
46750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46751 $as_echo_n "checking for expf declaration... " >&6; }
46752 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46753 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46754 $as_echo_n "(cached) " >&6
46755 else
46758 ac_ext=cpp
46759 ac_cpp='$CXXCPP $CPPFLAGS'
46760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46765 /* end confdefs.h. */
46766 #include <math.h>
46767 #ifdef HAVE_IEEEFP_H
46768 #include <ieeefp.h>
46769 #endif
46772 main ()
46774 expf(0);
46776 return 0;
46778 _ACEOF
46779 if ac_fn_cxx_try_compile "$LINENO"; then :
46780 glibcxx_cv_func_expf_use=yes
46781 else
46782 glibcxx_cv_func_expf_use=no
46784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46785 ac_ext=c
46786 ac_cpp='$CPP $CPPFLAGS'
46787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46796 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46798 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46799 for ac_func in expf
46800 do :
46801 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46802 if test "x$ac_cv_func_expf" = x""yes; then :
46803 cat >>confdefs.h <<_ACEOF
46804 #define HAVE_EXPF 1
46805 _ACEOF
46808 done
46810 else
46812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46813 $as_echo_n "checking for _expf declaration... " >&6; }
46814 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46815 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46816 $as_echo_n "(cached) " >&6
46817 else
46820 ac_ext=cpp
46821 ac_cpp='$CXXCPP $CPPFLAGS'
46822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46827 /* end confdefs.h. */
46828 #include <math.h>
46829 #ifdef HAVE_IEEEFP_H
46830 #include <ieeefp.h>
46831 #endif
46834 main ()
46836 _expf(0);
46838 return 0;
46840 _ACEOF
46841 if ac_fn_cxx_try_compile "$LINENO"; then :
46842 glibcxx_cv_func__expf_use=yes
46843 else
46844 glibcxx_cv_func__expf_use=no
46846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46847 ac_ext=c
46848 ac_cpp='$CPP $CPPFLAGS'
46849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46858 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46860 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46861 for ac_func in _expf
46862 do :
46863 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46864 if test "x$ac_cv_func__expf" = x""yes; then :
46865 cat >>confdefs.h <<_ACEOF
46866 #define HAVE__EXPF 1
46867 _ACEOF
46870 done
46879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46880 $as_echo_n "checking for isnanf declaration... " >&6; }
46881 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46882 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46883 $as_echo_n "(cached) " >&6
46884 else
46887 ac_ext=cpp
46888 ac_cpp='$CXXCPP $CPPFLAGS'
46889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46894 /* end confdefs.h. */
46895 #include <math.h>
46896 #ifdef HAVE_IEEEFP_H
46897 #include <ieeefp.h>
46898 #endif
46901 main ()
46903 isnanf(0);
46905 return 0;
46907 _ACEOF
46908 if ac_fn_cxx_try_compile "$LINENO"; then :
46909 glibcxx_cv_func_isnanf_use=yes
46910 else
46911 glibcxx_cv_func_isnanf_use=no
46913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46914 ac_ext=c
46915 ac_cpp='$CPP $CPPFLAGS'
46916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46925 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46927 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46928 for ac_func in isnanf
46929 do :
46930 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46931 if test "x$ac_cv_func_isnanf" = x""yes; then :
46932 cat >>confdefs.h <<_ACEOF
46933 #define HAVE_ISNANF 1
46934 _ACEOF
46937 done
46939 else
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46942 $as_echo_n "checking for _isnanf declaration... " >&6; }
46943 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46944 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46945 $as_echo_n "(cached) " >&6
46946 else
46949 ac_ext=cpp
46950 ac_cpp='$CXXCPP $CPPFLAGS'
46951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46956 /* end confdefs.h. */
46957 #include <math.h>
46958 #ifdef HAVE_IEEEFP_H
46959 #include <ieeefp.h>
46960 #endif
46963 main ()
46965 _isnanf(0);
46967 return 0;
46969 _ACEOF
46970 if ac_fn_cxx_try_compile "$LINENO"; then :
46971 glibcxx_cv_func__isnanf_use=yes
46972 else
46973 glibcxx_cv_func__isnanf_use=no
46975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46976 ac_ext=c
46977 ac_cpp='$CPP $CPPFLAGS'
46978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46987 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46989 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46990 for ac_func in _isnanf
46991 do :
46992 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46993 if test "x$ac_cv_func__isnanf" = x""yes; then :
46994 cat >>confdefs.h <<_ACEOF
46995 #define HAVE__ISNANF 1
46996 _ACEOF
46999 done
47008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47009 $as_echo_n "checking for isinff declaration... " >&6; }
47010 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47011 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47012 $as_echo_n "(cached) " >&6
47013 else
47016 ac_ext=cpp
47017 ac_cpp='$CXXCPP $CPPFLAGS'
47018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47023 /* end confdefs.h. */
47024 #include <math.h>
47025 #ifdef HAVE_IEEEFP_H
47026 #include <ieeefp.h>
47027 #endif
47030 main ()
47032 isinff(0);
47034 return 0;
47036 _ACEOF
47037 if ac_fn_cxx_try_compile "$LINENO"; then :
47038 glibcxx_cv_func_isinff_use=yes
47039 else
47040 glibcxx_cv_func_isinff_use=no
47042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47043 ac_ext=c
47044 ac_cpp='$CPP $CPPFLAGS'
47045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47054 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47056 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47057 for ac_func in isinff
47058 do :
47059 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47060 if test "x$ac_cv_func_isinff" = x""yes; then :
47061 cat >>confdefs.h <<_ACEOF
47062 #define HAVE_ISINFF 1
47063 _ACEOF
47066 done
47068 else
47070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47071 $as_echo_n "checking for _isinff declaration... " >&6; }
47072 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47073 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47074 $as_echo_n "(cached) " >&6
47075 else
47078 ac_ext=cpp
47079 ac_cpp='$CXXCPP $CPPFLAGS'
47080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47085 /* end confdefs.h. */
47086 #include <math.h>
47087 #ifdef HAVE_IEEEFP_H
47088 #include <ieeefp.h>
47089 #endif
47092 main ()
47094 _isinff(0);
47096 return 0;
47098 _ACEOF
47099 if ac_fn_cxx_try_compile "$LINENO"; then :
47100 glibcxx_cv_func__isinff_use=yes
47101 else
47102 glibcxx_cv_func__isinff_use=no
47104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47105 ac_ext=c
47106 ac_cpp='$CPP $CPPFLAGS'
47107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47116 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47118 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47119 for ac_func in _isinff
47120 do :
47121 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47122 if test "x$ac_cv_func__isinff" = x""yes; then :
47123 cat >>confdefs.h <<_ACEOF
47124 #define HAVE__ISINFF 1
47125 _ACEOF
47128 done
47137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47138 $as_echo_n "checking for atan2f declaration... " >&6; }
47139 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47140 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47141 $as_echo_n "(cached) " >&6
47142 else
47145 ac_ext=cpp
47146 ac_cpp='$CXXCPP $CPPFLAGS'
47147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47152 /* end confdefs.h. */
47153 #include <math.h>
47155 main ()
47157 atan2f(0, 0);
47159 return 0;
47161 _ACEOF
47162 if ac_fn_cxx_try_compile "$LINENO"; then :
47163 glibcxx_cv_func_atan2f_use=yes
47164 else
47165 glibcxx_cv_func_atan2f_use=no
47167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47168 ac_ext=c
47169 ac_cpp='$CPP $CPPFLAGS'
47170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47179 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47181 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47182 for ac_func in atan2f
47183 do :
47184 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47185 if test "x$ac_cv_func_atan2f" = x""yes; then :
47186 cat >>confdefs.h <<_ACEOF
47187 #define HAVE_ATAN2F 1
47188 _ACEOF
47191 done
47193 else
47195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47196 $as_echo_n "checking for _atan2f declaration... " >&6; }
47197 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47198 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47199 $as_echo_n "(cached) " >&6
47200 else
47203 ac_ext=cpp
47204 ac_cpp='$CXXCPP $CPPFLAGS'
47205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47210 /* end confdefs.h. */
47211 #include <math.h>
47213 main ()
47215 _atan2f(0, 0);
47217 return 0;
47219 _ACEOF
47220 if ac_fn_cxx_try_compile "$LINENO"; then :
47221 glibcxx_cv_func__atan2f_use=yes
47222 else
47223 glibcxx_cv_func__atan2f_use=no
47225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47226 ac_ext=c
47227 ac_cpp='$CPP $CPPFLAGS'
47228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47237 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47239 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47240 for ac_func in _atan2f
47241 do :
47242 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47243 if test "x$ac_cv_func__atan2f" = x""yes; then :
47244 cat >>confdefs.h <<_ACEOF
47245 #define HAVE__ATAN2F 1
47246 _ACEOF
47249 done
47258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47259 $as_echo_n "checking for fabsf declaration... " >&6; }
47260 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47261 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47262 $as_echo_n "(cached) " >&6
47263 else
47266 ac_ext=cpp
47267 ac_cpp='$CXXCPP $CPPFLAGS'
47268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47273 /* end confdefs.h. */
47274 #include <math.h>
47275 #ifdef HAVE_IEEEFP_H
47276 #include <ieeefp.h>
47277 #endif
47280 main ()
47282 fabsf(0);
47284 return 0;
47286 _ACEOF
47287 if ac_fn_cxx_try_compile "$LINENO"; then :
47288 glibcxx_cv_func_fabsf_use=yes
47289 else
47290 glibcxx_cv_func_fabsf_use=no
47292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47293 ac_ext=c
47294 ac_cpp='$CPP $CPPFLAGS'
47295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47304 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47306 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47307 for ac_func in fabsf
47308 do :
47309 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47310 if test "x$ac_cv_func_fabsf" = x""yes; then :
47311 cat >>confdefs.h <<_ACEOF
47312 #define HAVE_FABSF 1
47313 _ACEOF
47316 done
47318 else
47320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47321 $as_echo_n "checking for _fabsf declaration... " >&6; }
47322 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47323 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47324 $as_echo_n "(cached) " >&6
47325 else
47328 ac_ext=cpp
47329 ac_cpp='$CXXCPP $CPPFLAGS'
47330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47335 /* end confdefs.h. */
47336 #include <math.h>
47337 #ifdef HAVE_IEEEFP_H
47338 #include <ieeefp.h>
47339 #endif
47342 main ()
47344 _fabsf(0);
47346 return 0;
47348 _ACEOF
47349 if ac_fn_cxx_try_compile "$LINENO"; then :
47350 glibcxx_cv_func__fabsf_use=yes
47351 else
47352 glibcxx_cv_func__fabsf_use=no
47354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47355 ac_ext=c
47356 ac_cpp='$CPP $CPPFLAGS'
47357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47366 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47368 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47369 for ac_func in _fabsf
47370 do :
47371 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47372 if test "x$ac_cv_func__fabsf" = x""yes; then :
47373 cat >>confdefs.h <<_ACEOF
47374 #define HAVE__FABSF 1
47375 _ACEOF
47378 done
47387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47388 $as_echo_n "checking for fmodf declaration... " >&6; }
47389 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47390 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47391 $as_echo_n "(cached) " >&6
47392 else
47395 ac_ext=cpp
47396 ac_cpp='$CXXCPP $CPPFLAGS'
47397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47402 /* end confdefs.h. */
47403 #include <math.h>
47405 main ()
47407 fmodf(0, 0);
47409 return 0;
47411 _ACEOF
47412 if ac_fn_cxx_try_compile "$LINENO"; then :
47413 glibcxx_cv_func_fmodf_use=yes
47414 else
47415 glibcxx_cv_func_fmodf_use=no
47417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418 ac_ext=c
47419 ac_cpp='$CPP $CPPFLAGS'
47420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47429 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47431 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47432 for ac_func in fmodf
47433 do :
47434 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47435 if test "x$ac_cv_func_fmodf" = x""yes; then :
47436 cat >>confdefs.h <<_ACEOF
47437 #define HAVE_FMODF 1
47438 _ACEOF
47441 done
47443 else
47445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47446 $as_echo_n "checking for _fmodf declaration... " >&6; }
47447 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47448 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47449 $as_echo_n "(cached) " >&6
47450 else
47453 ac_ext=cpp
47454 ac_cpp='$CXXCPP $CPPFLAGS'
47455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47460 /* end confdefs.h. */
47461 #include <math.h>
47463 main ()
47465 _fmodf(0, 0);
47467 return 0;
47469 _ACEOF
47470 if ac_fn_cxx_try_compile "$LINENO"; then :
47471 glibcxx_cv_func__fmodf_use=yes
47472 else
47473 glibcxx_cv_func__fmodf_use=no
47475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47476 ac_ext=c
47477 ac_cpp='$CPP $CPPFLAGS'
47478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47487 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47489 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47490 for ac_func in _fmodf
47491 do :
47492 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47493 if test "x$ac_cv_func__fmodf" = x""yes; then :
47494 cat >>confdefs.h <<_ACEOF
47495 #define HAVE__FMODF 1
47496 _ACEOF
47499 done
47508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47509 $as_echo_n "checking for frexpf declaration... " >&6; }
47510 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47511 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47512 $as_echo_n "(cached) " >&6
47513 else
47516 ac_ext=cpp
47517 ac_cpp='$CXXCPP $CPPFLAGS'
47518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47523 /* end confdefs.h. */
47524 #include <math.h>
47526 main ()
47528 frexpf(0, 0);
47530 return 0;
47532 _ACEOF
47533 if ac_fn_cxx_try_compile "$LINENO"; then :
47534 glibcxx_cv_func_frexpf_use=yes
47535 else
47536 glibcxx_cv_func_frexpf_use=no
47538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47539 ac_ext=c
47540 ac_cpp='$CPP $CPPFLAGS'
47541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47550 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47552 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47553 for ac_func in frexpf
47554 do :
47555 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47556 if test "x$ac_cv_func_frexpf" = x""yes; then :
47557 cat >>confdefs.h <<_ACEOF
47558 #define HAVE_FREXPF 1
47559 _ACEOF
47562 done
47564 else
47566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47567 $as_echo_n "checking for _frexpf declaration... " >&6; }
47568 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47569 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47570 $as_echo_n "(cached) " >&6
47571 else
47574 ac_ext=cpp
47575 ac_cpp='$CXXCPP $CPPFLAGS'
47576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47581 /* end confdefs.h. */
47582 #include <math.h>
47584 main ()
47586 _frexpf(0, 0);
47588 return 0;
47590 _ACEOF
47591 if ac_fn_cxx_try_compile "$LINENO"; then :
47592 glibcxx_cv_func__frexpf_use=yes
47593 else
47594 glibcxx_cv_func__frexpf_use=no
47596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47597 ac_ext=c
47598 ac_cpp='$CPP $CPPFLAGS'
47599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47608 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47610 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47611 for ac_func in _frexpf
47612 do :
47613 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47614 if test "x$ac_cv_func__frexpf" = x""yes; then :
47615 cat >>confdefs.h <<_ACEOF
47616 #define HAVE__FREXPF 1
47617 _ACEOF
47620 done
47629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47630 $as_echo_n "checking for hypotf declaration... " >&6; }
47631 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47632 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47633 $as_echo_n "(cached) " >&6
47634 else
47637 ac_ext=cpp
47638 ac_cpp='$CXXCPP $CPPFLAGS'
47639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47644 /* end confdefs.h. */
47645 #include <math.h>
47647 main ()
47649 hypotf(0, 0);
47651 return 0;
47653 _ACEOF
47654 if ac_fn_cxx_try_compile "$LINENO"; then :
47655 glibcxx_cv_func_hypotf_use=yes
47656 else
47657 glibcxx_cv_func_hypotf_use=no
47659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47660 ac_ext=c
47661 ac_cpp='$CPP $CPPFLAGS'
47662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47671 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47673 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47674 for ac_func in hypotf
47675 do :
47676 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47677 if test "x$ac_cv_func_hypotf" = x""yes; then :
47678 cat >>confdefs.h <<_ACEOF
47679 #define HAVE_HYPOTF 1
47680 _ACEOF
47683 done
47685 else
47687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47688 $as_echo_n "checking for _hypotf declaration... " >&6; }
47689 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47690 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47691 $as_echo_n "(cached) " >&6
47692 else
47695 ac_ext=cpp
47696 ac_cpp='$CXXCPP $CPPFLAGS'
47697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47702 /* end confdefs.h. */
47703 #include <math.h>
47705 main ()
47707 _hypotf(0, 0);
47709 return 0;
47711 _ACEOF
47712 if ac_fn_cxx_try_compile "$LINENO"; then :
47713 glibcxx_cv_func__hypotf_use=yes
47714 else
47715 glibcxx_cv_func__hypotf_use=no
47717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47718 ac_ext=c
47719 ac_cpp='$CPP $CPPFLAGS'
47720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47729 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47731 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47732 for ac_func in _hypotf
47733 do :
47734 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47735 if test "x$ac_cv_func__hypotf" = x""yes; then :
47736 cat >>confdefs.h <<_ACEOF
47737 #define HAVE__HYPOTF 1
47738 _ACEOF
47741 done
47750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47751 $as_echo_n "checking for ldexpf declaration... " >&6; }
47752 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47753 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47754 $as_echo_n "(cached) " >&6
47755 else
47758 ac_ext=cpp
47759 ac_cpp='$CXXCPP $CPPFLAGS'
47760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47765 /* end confdefs.h. */
47766 #include <math.h>
47768 main ()
47770 ldexpf(0, 0);
47772 return 0;
47774 _ACEOF
47775 if ac_fn_cxx_try_compile "$LINENO"; then :
47776 glibcxx_cv_func_ldexpf_use=yes
47777 else
47778 glibcxx_cv_func_ldexpf_use=no
47780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47781 ac_ext=c
47782 ac_cpp='$CPP $CPPFLAGS'
47783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47792 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47794 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47795 for ac_func in ldexpf
47796 do :
47797 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47798 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47799 cat >>confdefs.h <<_ACEOF
47800 #define HAVE_LDEXPF 1
47801 _ACEOF
47804 done
47806 else
47808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47809 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47810 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47811 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47812 $as_echo_n "(cached) " >&6
47813 else
47816 ac_ext=cpp
47817 ac_cpp='$CXXCPP $CPPFLAGS'
47818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47823 /* end confdefs.h. */
47824 #include <math.h>
47826 main ()
47828 _ldexpf(0, 0);
47830 return 0;
47832 _ACEOF
47833 if ac_fn_cxx_try_compile "$LINENO"; then :
47834 glibcxx_cv_func__ldexpf_use=yes
47835 else
47836 glibcxx_cv_func__ldexpf_use=no
47838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47839 ac_ext=c
47840 ac_cpp='$CPP $CPPFLAGS'
47841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47850 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47852 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47853 for ac_func in _ldexpf
47854 do :
47855 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47856 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47857 cat >>confdefs.h <<_ACEOF
47858 #define HAVE__LDEXPF 1
47859 _ACEOF
47862 done
47871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47872 $as_echo_n "checking for logf declaration... " >&6; }
47873 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47874 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47875 $as_echo_n "(cached) " >&6
47876 else
47879 ac_ext=cpp
47880 ac_cpp='$CXXCPP $CPPFLAGS'
47881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47886 /* end confdefs.h. */
47887 #include <math.h>
47888 #ifdef HAVE_IEEEFP_H
47889 #include <ieeefp.h>
47890 #endif
47893 main ()
47895 logf(0);
47897 return 0;
47899 _ACEOF
47900 if ac_fn_cxx_try_compile "$LINENO"; then :
47901 glibcxx_cv_func_logf_use=yes
47902 else
47903 glibcxx_cv_func_logf_use=no
47905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47906 ac_ext=c
47907 ac_cpp='$CPP $CPPFLAGS'
47908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47917 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47919 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47920 for ac_func in logf
47921 do :
47922 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47923 if test "x$ac_cv_func_logf" = x""yes; then :
47924 cat >>confdefs.h <<_ACEOF
47925 #define HAVE_LOGF 1
47926 _ACEOF
47929 done
47931 else
47933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47934 $as_echo_n "checking for _logf declaration... " >&6; }
47935 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47936 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47937 $as_echo_n "(cached) " >&6
47938 else
47941 ac_ext=cpp
47942 ac_cpp='$CXXCPP $CPPFLAGS'
47943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47948 /* end confdefs.h. */
47949 #include <math.h>
47950 #ifdef HAVE_IEEEFP_H
47951 #include <ieeefp.h>
47952 #endif
47955 main ()
47957 _logf(0);
47959 return 0;
47961 _ACEOF
47962 if ac_fn_cxx_try_compile "$LINENO"; then :
47963 glibcxx_cv_func__logf_use=yes
47964 else
47965 glibcxx_cv_func__logf_use=no
47967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47968 ac_ext=c
47969 ac_cpp='$CPP $CPPFLAGS'
47970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47979 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47981 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47982 for ac_func in _logf
47983 do :
47984 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47985 if test "x$ac_cv_func__logf" = x""yes; then :
47986 cat >>confdefs.h <<_ACEOF
47987 #define HAVE__LOGF 1
47988 _ACEOF
47991 done
48000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48001 $as_echo_n "checking for log10f declaration... " >&6; }
48002 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48003 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48004 $as_echo_n "(cached) " >&6
48005 else
48008 ac_ext=cpp
48009 ac_cpp='$CXXCPP $CPPFLAGS'
48010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48015 /* end confdefs.h. */
48016 #include <math.h>
48017 #ifdef HAVE_IEEEFP_H
48018 #include <ieeefp.h>
48019 #endif
48022 main ()
48024 log10f(0);
48026 return 0;
48028 _ACEOF
48029 if ac_fn_cxx_try_compile "$LINENO"; then :
48030 glibcxx_cv_func_log10f_use=yes
48031 else
48032 glibcxx_cv_func_log10f_use=no
48034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48035 ac_ext=c
48036 ac_cpp='$CPP $CPPFLAGS'
48037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48046 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48048 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48049 for ac_func in log10f
48050 do :
48051 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48052 if test "x$ac_cv_func_log10f" = x""yes; then :
48053 cat >>confdefs.h <<_ACEOF
48054 #define HAVE_LOG10F 1
48055 _ACEOF
48058 done
48060 else
48062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48063 $as_echo_n "checking for _log10f declaration... " >&6; }
48064 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48065 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48066 $as_echo_n "(cached) " >&6
48067 else
48070 ac_ext=cpp
48071 ac_cpp='$CXXCPP $CPPFLAGS'
48072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48077 /* end confdefs.h. */
48078 #include <math.h>
48079 #ifdef HAVE_IEEEFP_H
48080 #include <ieeefp.h>
48081 #endif
48084 main ()
48086 _log10f(0);
48088 return 0;
48090 _ACEOF
48091 if ac_fn_cxx_try_compile "$LINENO"; then :
48092 glibcxx_cv_func__log10f_use=yes
48093 else
48094 glibcxx_cv_func__log10f_use=no
48096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48097 ac_ext=c
48098 ac_cpp='$CPP $CPPFLAGS'
48099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48108 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48110 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48111 for ac_func in _log10f
48112 do :
48113 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48114 if test "x$ac_cv_func__log10f" = x""yes; then :
48115 cat >>confdefs.h <<_ACEOF
48116 #define HAVE__LOG10F 1
48117 _ACEOF
48120 done
48129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48130 $as_echo_n "checking for modff declaration... " >&6; }
48131 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48132 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48133 $as_echo_n "(cached) " >&6
48134 else
48137 ac_ext=cpp
48138 ac_cpp='$CXXCPP $CPPFLAGS'
48139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48144 /* end confdefs.h. */
48145 #include <math.h>
48147 main ()
48149 modff(0, 0);
48151 return 0;
48153 _ACEOF
48154 if ac_fn_cxx_try_compile "$LINENO"; then :
48155 glibcxx_cv_func_modff_use=yes
48156 else
48157 glibcxx_cv_func_modff_use=no
48159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48160 ac_ext=c
48161 ac_cpp='$CPP $CPPFLAGS'
48162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48171 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48173 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48174 for ac_func in modff
48175 do :
48176 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48177 if test "x$ac_cv_func_modff" = x""yes; then :
48178 cat >>confdefs.h <<_ACEOF
48179 #define HAVE_MODFF 1
48180 _ACEOF
48183 done
48185 else
48187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48188 $as_echo_n "checking for _modff declaration... " >&6; }
48189 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48190 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48191 $as_echo_n "(cached) " >&6
48192 else
48195 ac_ext=cpp
48196 ac_cpp='$CXXCPP $CPPFLAGS'
48197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48202 /* end confdefs.h. */
48203 #include <math.h>
48205 main ()
48207 _modff(0, 0);
48209 return 0;
48211 _ACEOF
48212 if ac_fn_cxx_try_compile "$LINENO"; then :
48213 glibcxx_cv_func__modff_use=yes
48214 else
48215 glibcxx_cv_func__modff_use=no
48217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48218 ac_ext=c
48219 ac_cpp='$CPP $CPPFLAGS'
48220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48229 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48231 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48232 for ac_func in _modff
48233 do :
48234 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48235 if test "x$ac_cv_func__modff" = x""yes; then :
48236 cat >>confdefs.h <<_ACEOF
48237 #define HAVE__MODFF 1
48238 _ACEOF
48241 done
48250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48251 $as_echo_n "checking for modf declaration... " >&6; }
48252 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48253 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48254 $as_echo_n "(cached) " >&6
48255 else
48258 ac_ext=cpp
48259 ac_cpp='$CXXCPP $CPPFLAGS'
48260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48265 /* end confdefs.h. */
48266 #include <math.h>
48268 main ()
48270 modf(0, 0);
48272 return 0;
48274 _ACEOF
48275 if ac_fn_cxx_try_compile "$LINENO"; then :
48276 glibcxx_cv_func_modf_use=yes
48277 else
48278 glibcxx_cv_func_modf_use=no
48280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48281 ac_ext=c
48282 ac_cpp='$CPP $CPPFLAGS'
48283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48292 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48294 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48295 for ac_func in modf
48296 do :
48297 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48298 if test "x$ac_cv_func_modf" = x""yes; then :
48299 cat >>confdefs.h <<_ACEOF
48300 #define HAVE_MODF 1
48301 _ACEOF
48304 done
48306 else
48308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48309 $as_echo_n "checking for _modf declaration... " >&6; }
48310 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48311 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48312 $as_echo_n "(cached) " >&6
48313 else
48316 ac_ext=cpp
48317 ac_cpp='$CXXCPP $CPPFLAGS'
48318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48323 /* end confdefs.h. */
48324 #include <math.h>
48326 main ()
48328 _modf(0, 0);
48330 return 0;
48332 _ACEOF
48333 if ac_fn_cxx_try_compile "$LINENO"; then :
48334 glibcxx_cv_func__modf_use=yes
48335 else
48336 glibcxx_cv_func__modf_use=no
48338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48339 ac_ext=c
48340 ac_cpp='$CPP $CPPFLAGS'
48341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48350 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48352 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48353 for ac_func in _modf
48354 do :
48355 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48356 if test "x$ac_cv_func__modf" = x""yes; then :
48357 cat >>confdefs.h <<_ACEOF
48358 #define HAVE__MODF 1
48359 _ACEOF
48362 done
48371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48372 $as_echo_n "checking for powf declaration... " >&6; }
48373 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48374 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48375 $as_echo_n "(cached) " >&6
48376 else
48379 ac_ext=cpp
48380 ac_cpp='$CXXCPP $CPPFLAGS'
48381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48386 /* end confdefs.h. */
48387 #include <math.h>
48389 main ()
48391 powf(0, 0);
48393 return 0;
48395 _ACEOF
48396 if ac_fn_cxx_try_compile "$LINENO"; then :
48397 glibcxx_cv_func_powf_use=yes
48398 else
48399 glibcxx_cv_func_powf_use=no
48401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48402 ac_ext=c
48403 ac_cpp='$CPP $CPPFLAGS'
48404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48413 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48415 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48416 for ac_func in powf
48417 do :
48418 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48419 if test "x$ac_cv_func_powf" = x""yes; then :
48420 cat >>confdefs.h <<_ACEOF
48421 #define HAVE_POWF 1
48422 _ACEOF
48425 done
48427 else
48429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48430 $as_echo_n "checking for _powf declaration... " >&6; }
48431 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48432 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48433 $as_echo_n "(cached) " >&6
48434 else
48437 ac_ext=cpp
48438 ac_cpp='$CXXCPP $CPPFLAGS'
48439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48444 /* end confdefs.h. */
48445 #include <math.h>
48447 main ()
48449 _powf(0, 0);
48451 return 0;
48453 _ACEOF
48454 if ac_fn_cxx_try_compile "$LINENO"; then :
48455 glibcxx_cv_func__powf_use=yes
48456 else
48457 glibcxx_cv_func__powf_use=no
48459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48460 ac_ext=c
48461 ac_cpp='$CPP $CPPFLAGS'
48462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48471 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48473 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48474 for ac_func in _powf
48475 do :
48476 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48477 if test "x$ac_cv_func__powf" = x""yes; then :
48478 cat >>confdefs.h <<_ACEOF
48479 #define HAVE__POWF 1
48480 _ACEOF
48483 done
48492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48493 $as_echo_n "checking for sqrtf declaration... " >&6; }
48494 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48495 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48496 $as_echo_n "(cached) " >&6
48497 else
48500 ac_ext=cpp
48501 ac_cpp='$CXXCPP $CPPFLAGS'
48502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48507 /* end confdefs.h. */
48508 #include <math.h>
48509 #ifdef HAVE_IEEEFP_H
48510 #include <ieeefp.h>
48511 #endif
48514 main ()
48516 sqrtf(0);
48518 return 0;
48520 _ACEOF
48521 if ac_fn_cxx_try_compile "$LINENO"; then :
48522 glibcxx_cv_func_sqrtf_use=yes
48523 else
48524 glibcxx_cv_func_sqrtf_use=no
48526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48527 ac_ext=c
48528 ac_cpp='$CPP $CPPFLAGS'
48529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48538 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48540 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48541 for ac_func in sqrtf
48542 do :
48543 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48544 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48545 cat >>confdefs.h <<_ACEOF
48546 #define HAVE_SQRTF 1
48547 _ACEOF
48550 done
48552 else
48554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48555 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48556 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48557 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48558 $as_echo_n "(cached) " >&6
48559 else
48562 ac_ext=cpp
48563 ac_cpp='$CXXCPP $CPPFLAGS'
48564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48569 /* end confdefs.h. */
48570 #include <math.h>
48571 #ifdef HAVE_IEEEFP_H
48572 #include <ieeefp.h>
48573 #endif
48576 main ()
48578 _sqrtf(0);
48580 return 0;
48582 _ACEOF
48583 if ac_fn_cxx_try_compile "$LINENO"; then :
48584 glibcxx_cv_func__sqrtf_use=yes
48585 else
48586 glibcxx_cv_func__sqrtf_use=no
48588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48589 ac_ext=c
48590 ac_cpp='$CPP $CPPFLAGS'
48591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48600 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48602 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48603 for ac_func in _sqrtf
48604 do :
48605 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48606 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48607 cat >>confdefs.h <<_ACEOF
48608 #define HAVE__SQRTF 1
48609 _ACEOF
48612 done
48621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48622 $as_echo_n "checking for sincosf declaration... " >&6; }
48623 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48624 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48625 $as_echo_n "(cached) " >&6
48626 else
48629 ac_ext=cpp
48630 ac_cpp='$CXXCPP $CPPFLAGS'
48631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48636 /* end confdefs.h. */
48637 #include <math.h>
48639 main ()
48641 sincosf(0, 0, 0);
48643 return 0;
48645 _ACEOF
48646 if ac_fn_cxx_try_compile "$LINENO"; then :
48647 glibcxx_cv_func_sincosf_use=yes
48648 else
48649 glibcxx_cv_func_sincosf_use=no
48651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48652 ac_ext=c
48653 ac_cpp='$CPP $CPPFLAGS'
48654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48663 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48665 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48666 for ac_func in sincosf
48667 do :
48668 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48669 if test "x$ac_cv_func_sincosf" = x""yes; then :
48670 cat >>confdefs.h <<_ACEOF
48671 #define HAVE_SINCOSF 1
48672 _ACEOF
48675 done
48677 else
48679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48680 $as_echo_n "checking for _sincosf declaration... " >&6; }
48681 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48682 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48683 $as_echo_n "(cached) " >&6
48684 else
48687 ac_ext=cpp
48688 ac_cpp='$CXXCPP $CPPFLAGS'
48689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48694 /* end confdefs.h. */
48695 #include <math.h>
48697 main ()
48699 _sincosf(0, 0, 0);
48701 return 0;
48703 _ACEOF
48704 if ac_fn_cxx_try_compile "$LINENO"; then :
48705 glibcxx_cv_func__sincosf_use=yes
48706 else
48707 glibcxx_cv_func__sincosf_use=no
48709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48710 ac_ext=c
48711 ac_cpp='$CPP $CPPFLAGS'
48712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48721 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48723 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48724 for ac_func in _sincosf
48725 do :
48726 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48727 if test "x$ac_cv_func__sincosf" = x""yes; then :
48728 cat >>confdefs.h <<_ACEOF
48729 #define HAVE__SINCOSF 1
48730 _ACEOF
48733 done
48742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48743 $as_echo_n "checking for finitef declaration... " >&6; }
48744 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48745 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48746 $as_echo_n "(cached) " >&6
48747 else
48750 ac_ext=cpp
48751 ac_cpp='$CXXCPP $CPPFLAGS'
48752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48757 /* end confdefs.h. */
48758 #include <math.h>
48759 #ifdef HAVE_IEEEFP_H
48760 #include <ieeefp.h>
48761 #endif
48764 main ()
48766 finitef(0);
48768 return 0;
48770 _ACEOF
48771 if ac_fn_cxx_try_compile "$LINENO"; then :
48772 glibcxx_cv_func_finitef_use=yes
48773 else
48774 glibcxx_cv_func_finitef_use=no
48776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48777 ac_ext=c
48778 ac_cpp='$CPP $CPPFLAGS'
48779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48788 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48790 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48791 for ac_func in finitef
48792 do :
48793 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48794 if test "x$ac_cv_func_finitef" = x""yes; then :
48795 cat >>confdefs.h <<_ACEOF
48796 #define HAVE_FINITEF 1
48797 _ACEOF
48800 done
48802 else
48804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48805 $as_echo_n "checking for _finitef declaration... " >&6; }
48806 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48807 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48808 $as_echo_n "(cached) " >&6
48809 else
48812 ac_ext=cpp
48813 ac_cpp='$CXXCPP $CPPFLAGS'
48814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48819 /* end confdefs.h. */
48820 #include <math.h>
48821 #ifdef HAVE_IEEEFP_H
48822 #include <ieeefp.h>
48823 #endif
48826 main ()
48828 _finitef(0);
48830 return 0;
48832 _ACEOF
48833 if ac_fn_cxx_try_compile "$LINENO"; then :
48834 glibcxx_cv_func__finitef_use=yes
48835 else
48836 glibcxx_cv_func__finitef_use=no
48838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48839 ac_ext=c
48840 ac_cpp='$CPP $CPPFLAGS'
48841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48850 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48852 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48853 for ac_func in _finitef
48854 do :
48855 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48856 if test "x$ac_cv_func__finitef" = x""yes; then :
48857 cat >>confdefs.h <<_ACEOF
48858 #define HAVE__FINITEF 1
48859 _ACEOF
48862 done
48871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48872 $as_echo_n "checking for long double trig functions... " >&6; }
48873 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48874 $as_echo_n "(cached) " >&6
48875 else
48878 ac_ext=cpp
48879 ac_cpp='$CXXCPP $CPPFLAGS'
48880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48885 /* end confdefs.h. */
48886 #include <math.h>
48888 main ()
48890 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48892 return 0;
48894 _ACEOF
48895 if ac_fn_cxx_try_compile "$LINENO"; then :
48896 glibcxx_cv_func_long_double_trig_use=yes
48897 else
48898 glibcxx_cv_func_long_double_trig_use=no
48900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48901 ac_ext=c
48902 ac_cpp='$CPP $CPPFLAGS'
48903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48910 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48911 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48912 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48913 do :
48914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48916 eval as_val=\$$as_ac_var
48917 if test "x$as_val" = x""yes; then :
48918 cat >>confdefs.h <<_ACEOF
48919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48920 _ACEOF
48923 done
48925 else
48926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48927 $as_echo_n "checking for _long double trig functions... " >&6; }
48928 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48929 $as_echo_n "(cached) " >&6
48930 else
48933 ac_ext=cpp
48934 ac_cpp='$CXXCPP $CPPFLAGS'
48935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48940 /* end confdefs.h. */
48941 #include <math.h>
48943 main ()
48945 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48947 return 0;
48949 _ACEOF
48950 if ac_fn_cxx_try_compile "$LINENO"; then :
48951 glibcxx_cv_func__long_double_trig_use=yes
48952 else
48953 glibcxx_cv_func__long_double_trig_use=no
48955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48956 ac_ext=c
48957 ac_cpp='$CPP $CPPFLAGS'
48958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48965 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48966 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48967 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48968 do :
48969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48971 eval as_val=\$$as_ac_var
48972 if test "x$as_val" = x""yes; then :
48973 cat >>confdefs.h <<_ACEOF
48974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48975 _ACEOF
48978 done
48987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48988 $as_echo_n "checking for long double round functions... " >&6; }
48989 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48990 $as_echo_n "(cached) " >&6
48991 else
48994 ac_ext=cpp
48995 ac_cpp='$CXXCPP $CPPFLAGS'
48996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49001 /* end confdefs.h. */
49002 #include <math.h>
49004 main ()
49006 ceill (0); floorl (0);
49008 return 0;
49010 _ACEOF
49011 if ac_fn_cxx_try_compile "$LINENO"; then :
49012 glibcxx_cv_func_long_double_round_use=yes
49013 else
49014 glibcxx_cv_func_long_double_round_use=no
49016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49017 ac_ext=c
49018 ac_cpp='$CPP $CPPFLAGS'
49019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49026 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49027 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49028 for ac_func in ceill floorl
49029 do :
49030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49032 eval as_val=\$$as_ac_var
49033 if test "x$as_val" = x""yes; then :
49034 cat >>confdefs.h <<_ACEOF
49035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49036 _ACEOF
49039 done
49041 else
49042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49043 $as_echo_n "checking for _long double round functions... " >&6; }
49044 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49045 $as_echo_n "(cached) " >&6
49046 else
49049 ac_ext=cpp
49050 ac_cpp='$CXXCPP $CPPFLAGS'
49051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49056 /* end confdefs.h. */
49057 #include <math.h>
49059 main ()
49061 _ceill (0); _floorl (0);
49063 return 0;
49065 _ACEOF
49066 if ac_fn_cxx_try_compile "$LINENO"; then :
49067 glibcxx_cv_func__long_double_round_use=yes
49068 else
49069 glibcxx_cv_func__long_double_round_use=no
49071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49072 ac_ext=c
49073 ac_cpp='$CPP $CPPFLAGS'
49074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49081 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49082 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49083 for ac_func in _ceill _floorl
49084 do :
49085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49087 eval as_val=\$$as_ac_var
49088 if test "x$as_val" = x""yes; then :
49089 cat >>confdefs.h <<_ACEOF
49090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49091 _ACEOF
49094 done
49104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49105 $as_echo_n "checking for isnanl declaration... " >&6; }
49106 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49107 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49108 $as_echo_n "(cached) " >&6
49109 else
49112 ac_ext=cpp
49113 ac_cpp='$CXXCPP $CPPFLAGS'
49114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49119 /* end confdefs.h. */
49120 #include <math.h>
49121 #ifdef HAVE_IEEEFP_H
49122 #include <ieeefp.h>
49123 #endif
49126 main ()
49128 isnanl(0);
49130 return 0;
49132 _ACEOF
49133 if ac_fn_cxx_try_compile "$LINENO"; then :
49134 glibcxx_cv_func_isnanl_use=yes
49135 else
49136 glibcxx_cv_func_isnanl_use=no
49138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49139 ac_ext=c
49140 ac_cpp='$CPP $CPPFLAGS'
49141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49150 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49152 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49153 for ac_func in isnanl
49154 do :
49155 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49156 if test "x$ac_cv_func_isnanl" = x""yes; then :
49157 cat >>confdefs.h <<_ACEOF
49158 #define HAVE_ISNANL 1
49159 _ACEOF
49162 done
49164 else
49166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49167 $as_echo_n "checking for _isnanl declaration... " >&6; }
49168 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49169 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49170 $as_echo_n "(cached) " >&6
49171 else
49174 ac_ext=cpp
49175 ac_cpp='$CXXCPP $CPPFLAGS'
49176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49181 /* end confdefs.h. */
49182 #include <math.h>
49183 #ifdef HAVE_IEEEFP_H
49184 #include <ieeefp.h>
49185 #endif
49188 main ()
49190 _isnanl(0);
49192 return 0;
49194 _ACEOF
49195 if ac_fn_cxx_try_compile "$LINENO"; then :
49196 glibcxx_cv_func__isnanl_use=yes
49197 else
49198 glibcxx_cv_func__isnanl_use=no
49200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49201 ac_ext=c
49202 ac_cpp='$CPP $CPPFLAGS'
49203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49212 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49214 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49215 for ac_func in _isnanl
49216 do :
49217 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49218 if test "x$ac_cv_func__isnanl" = x""yes; then :
49219 cat >>confdefs.h <<_ACEOF
49220 #define HAVE__ISNANL 1
49221 _ACEOF
49224 done
49233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49234 $as_echo_n "checking for isinfl declaration... " >&6; }
49235 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49236 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49237 $as_echo_n "(cached) " >&6
49238 else
49241 ac_ext=cpp
49242 ac_cpp='$CXXCPP $CPPFLAGS'
49243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49248 /* end confdefs.h. */
49249 #include <math.h>
49250 #ifdef HAVE_IEEEFP_H
49251 #include <ieeefp.h>
49252 #endif
49255 main ()
49257 isinfl(0);
49259 return 0;
49261 _ACEOF
49262 if ac_fn_cxx_try_compile "$LINENO"; then :
49263 glibcxx_cv_func_isinfl_use=yes
49264 else
49265 glibcxx_cv_func_isinfl_use=no
49267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49268 ac_ext=c
49269 ac_cpp='$CPP $CPPFLAGS'
49270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49279 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49281 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49282 for ac_func in isinfl
49283 do :
49284 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49285 if test "x$ac_cv_func_isinfl" = x""yes; then :
49286 cat >>confdefs.h <<_ACEOF
49287 #define HAVE_ISINFL 1
49288 _ACEOF
49291 done
49293 else
49295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49296 $as_echo_n "checking for _isinfl declaration... " >&6; }
49297 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49298 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49299 $as_echo_n "(cached) " >&6
49300 else
49303 ac_ext=cpp
49304 ac_cpp='$CXXCPP $CPPFLAGS'
49305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49310 /* end confdefs.h. */
49311 #include <math.h>
49312 #ifdef HAVE_IEEEFP_H
49313 #include <ieeefp.h>
49314 #endif
49317 main ()
49319 _isinfl(0);
49321 return 0;
49323 _ACEOF
49324 if ac_fn_cxx_try_compile "$LINENO"; then :
49325 glibcxx_cv_func__isinfl_use=yes
49326 else
49327 glibcxx_cv_func__isinfl_use=no
49329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49330 ac_ext=c
49331 ac_cpp='$CPP $CPPFLAGS'
49332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49341 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49343 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49344 for ac_func in _isinfl
49345 do :
49346 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49347 if test "x$ac_cv_func__isinfl" = x""yes; then :
49348 cat >>confdefs.h <<_ACEOF
49349 #define HAVE__ISINFL 1
49350 _ACEOF
49353 done
49362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49363 $as_echo_n "checking for atan2l declaration... " >&6; }
49364 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49365 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49366 $as_echo_n "(cached) " >&6
49367 else
49370 ac_ext=cpp
49371 ac_cpp='$CXXCPP $CPPFLAGS'
49372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49377 /* end confdefs.h. */
49378 #include <math.h>
49380 main ()
49382 atan2l(0, 0);
49384 return 0;
49386 _ACEOF
49387 if ac_fn_cxx_try_compile "$LINENO"; then :
49388 glibcxx_cv_func_atan2l_use=yes
49389 else
49390 glibcxx_cv_func_atan2l_use=no
49392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49393 ac_ext=c
49394 ac_cpp='$CPP $CPPFLAGS'
49395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49404 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49406 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49407 for ac_func in atan2l
49408 do :
49409 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49410 if test "x$ac_cv_func_atan2l" = x""yes; then :
49411 cat >>confdefs.h <<_ACEOF
49412 #define HAVE_ATAN2L 1
49413 _ACEOF
49416 done
49418 else
49420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49421 $as_echo_n "checking for _atan2l declaration... " >&6; }
49422 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49423 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49424 $as_echo_n "(cached) " >&6
49425 else
49428 ac_ext=cpp
49429 ac_cpp='$CXXCPP $CPPFLAGS'
49430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49435 /* end confdefs.h. */
49436 #include <math.h>
49438 main ()
49440 _atan2l(0, 0);
49442 return 0;
49444 _ACEOF
49445 if ac_fn_cxx_try_compile "$LINENO"; then :
49446 glibcxx_cv_func__atan2l_use=yes
49447 else
49448 glibcxx_cv_func__atan2l_use=no
49450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49451 ac_ext=c
49452 ac_cpp='$CPP $CPPFLAGS'
49453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49462 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49464 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49465 for ac_func in _atan2l
49466 do :
49467 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49468 if test "x$ac_cv_func__atan2l" = x""yes; then :
49469 cat >>confdefs.h <<_ACEOF
49470 #define HAVE__ATAN2L 1
49471 _ACEOF
49474 done
49483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49484 $as_echo_n "checking for expl declaration... " >&6; }
49485 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49486 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49487 $as_echo_n "(cached) " >&6
49488 else
49491 ac_ext=cpp
49492 ac_cpp='$CXXCPP $CPPFLAGS'
49493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49498 /* end confdefs.h. */
49499 #include <math.h>
49500 #ifdef HAVE_IEEEFP_H
49501 #include <ieeefp.h>
49502 #endif
49505 main ()
49507 expl(0);
49509 return 0;
49511 _ACEOF
49512 if ac_fn_cxx_try_compile "$LINENO"; then :
49513 glibcxx_cv_func_expl_use=yes
49514 else
49515 glibcxx_cv_func_expl_use=no
49517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49518 ac_ext=c
49519 ac_cpp='$CPP $CPPFLAGS'
49520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49529 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49531 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49532 for ac_func in expl
49533 do :
49534 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49535 if test "x$ac_cv_func_expl" = x""yes; then :
49536 cat >>confdefs.h <<_ACEOF
49537 #define HAVE_EXPL 1
49538 _ACEOF
49541 done
49543 else
49545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49546 $as_echo_n "checking for _expl declaration... " >&6; }
49547 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49548 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49549 $as_echo_n "(cached) " >&6
49550 else
49553 ac_ext=cpp
49554 ac_cpp='$CXXCPP $CPPFLAGS'
49555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49560 /* end confdefs.h. */
49561 #include <math.h>
49562 #ifdef HAVE_IEEEFP_H
49563 #include <ieeefp.h>
49564 #endif
49567 main ()
49569 _expl(0);
49571 return 0;
49573 _ACEOF
49574 if ac_fn_cxx_try_compile "$LINENO"; then :
49575 glibcxx_cv_func__expl_use=yes
49576 else
49577 glibcxx_cv_func__expl_use=no
49579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49580 ac_ext=c
49581 ac_cpp='$CPP $CPPFLAGS'
49582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49591 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49593 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49594 for ac_func in _expl
49595 do :
49596 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49597 if test "x$ac_cv_func__expl" = x""yes; then :
49598 cat >>confdefs.h <<_ACEOF
49599 #define HAVE__EXPL 1
49600 _ACEOF
49603 done
49612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49613 $as_echo_n "checking for fabsl declaration... " >&6; }
49614 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49615 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49616 $as_echo_n "(cached) " >&6
49617 else
49620 ac_ext=cpp
49621 ac_cpp='$CXXCPP $CPPFLAGS'
49622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49627 /* end confdefs.h. */
49628 #include <math.h>
49629 #ifdef HAVE_IEEEFP_H
49630 #include <ieeefp.h>
49631 #endif
49634 main ()
49636 fabsl(0);
49638 return 0;
49640 _ACEOF
49641 if ac_fn_cxx_try_compile "$LINENO"; then :
49642 glibcxx_cv_func_fabsl_use=yes
49643 else
49644 glibcxx_cv_func_fabsl_use=no
49646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49647 ac_ext=c
49648 ac_cpp='$CPP $CPPFLAGS'
49649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49658 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49660 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49661 for ac_func in fabsl
49662 do :
49663 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49664 if test "x$ac_cv_func_fabsl" = x""yes; then :
49665 cat >>confdefs.h <<_ACEOF
49666 #define HAVE_FABSL 1
49667 _ACEOF
49670 done
49672 else
49674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49675 $as_echo_n "checking for _fabsl declaration... " >&6; }
49676 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49677 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49678 $as_echo_n "(cached) " >&6
49679 else
49682 ac_ext=cpp
49683 ac_cpp='$CXXCPP $CPPFLAGS'
49684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49689 /* end confdefs.h. */
49690 #include <math.h>
49691 #ifdef HAVE_IEEEFP_H
49692 #include <ieeefp.h>
49693 #endif
49696 main ()
49698 _fabsl(0);
49700 return 0;
49702 _ACEOF
49703 if ac_fn_cxx_try_compile "$LINENO"; then :
49704 glibcxx_cv_func__fabsl_use=yes
49705 else
49706 glibcxx_cv_func__fabsl_use=no
49708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49709 ac_ext=c
49710 ac_cpp='$CPP $CPPFLAGS'
49711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49720 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49722 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49723 for ac_func in _fabsl
49724 do :
49725 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49726 if test "x$ac_cv_func__fabsl" = x""yes; then :
49727 cat >>confdefs.h <<_ACEOF
49728 #define HAVE__FABSL 1
49729 _ACEOF
49732 done
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49742 $as_echo_n "checking for fmodl declaration... " >&6; }
49743 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49744 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49745 $as_echo_n "(cached) " >&6
49746 else
49749 ac_ext=cpp
49750 ac_cpp='$CXXCPP $CPPFLAGS'
49751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49756 /* end confdefs.h. */
49757 #include <math.h>
49759 main ()
49761 fmodl(0, 0);
49763 return 0;
49765 _ACEOF
49766 if ac_fn_cxx_try_compile "$LINENO"; then :
49767 glibcxx_cv_func_fmodl_use=yes
49768 else
49769 glibcxx_cv_func_fmodl_use=no
49771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49772 ac_ext=c
49773 ac_cpp='$CPP $CPPFLAGS'
49774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49783 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49785 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49786 for ac_func in fmodl
49787 do :
49788 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49789 if test "x$ac_cv_func_fmodl" = x""yes; then :
49790 cat >>confdefs.h <<_ACEOF
49791 #define HAVE_FMODL 1
49792 _ACEOF
49795 done
49797 else
49799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49800 $as_echo_n "checking for _fmodl declaration... " >&6; }
49801 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49802 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49803 $as_echo_n "(cached) " >&6
49804 else
49807 ac_ext=cpp
49808 ac_cpp='$CXXCPP $CPPFLAGS'
49809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49814 /* end confdefs.h. */
49815 #include <math.h>
49817 main ()
49819 _fmodl(0, 0);
49821 return 0;
49823 _ACEOF
49824 if ac_fn_cxx_try_compile "$LINENO"; then :
49825 glibcxx_cv_func__fmodl_use=yes
49826 else
49827 glibcxx_cv_func__fmodl_use=no
49829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49830 ac_ext=c
49831 ac_cpp='$CPP $CPPFLAGS'
49832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49841 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49843 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49844 for ac_func in _fmodl
49845 do :
49846 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49847 if test "x$ac_cv_func__fmodl" = x""yes; then :
49848 cat >>confdefs.h <<_ACEOF
49849 #define HAVE__FMODL 1
49850 _ACEOF
49853 done
49862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49863 $as_echo_n "checking for frexpl declaration... " >&6; }
49864 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49865 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49866 $as_echo_n "(cached) " >&6
49867 else
49870 ac_ext=cpp
49871 ac_cpp='$CXXCPP $CPPFLAGS'
49872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49877 /* end confdefs.h. */
49878 #include <math.h>
49880 main ()
49882 frexpl(0, 0);
49884 return 0;
49886 _ACEOF
49887 if ac_fn_cxx_try_compile "$LINENO"; then :
49888 glibcxx_cv_func_frexpl_use=yes
49889 else
49890 glibcxx_cv_func_frexpl_use=no
49892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49893 ac_ext=c
49894 ac_cpp='$CPP $CPPFLAGS'
49895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49904 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49906 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49907 for ac_func in frexpl
49908 do :
49909 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49910 if test "x$ac_cv_func_frexpl" = x""yes; then :
49911 cat >>confdefs.h <<_ACEOF
49912 #define HAVE_FREXPL 1
49913 _ACEOF
49916 done
49918 else
49920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49921 $as_echo_n "checking for _frexpl declaration... " >&6; }
49922 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49923 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49924 $as_echo_n "(cached) " >&6
49925 else
49928 ac_ext=cpp
49929 ac_cpp='$CXXCPP $CPPFLAGS'
49930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49935 /* end confdefs.h. */
49936 #include <math.h>
49938 main ()
49940 _frexpl(0, 0);
49942 return 0;
49944 _ACEOF
49945 if ac_fn_cxx_try_compile "$LINENO"; then :
49946 glibcxx_cv_func__frexpl_use=yes
49947 else
49948 glibcxx_cv_func__frexpl_use=no
49950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49951 ac_ext=c
49952 ac_cpp='$CPP $CPPFLAGS'
49953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49962 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49964 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49965 for ac_func in _frexpl
49966 do :
49967 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49968 if test "x$ac_cv_func__frexpl" = x""yes; then :
49969 cat >>confdefs.h <<_ACEOF
49970 #define HAVE__FREXPL 1
49971 _ACEOF
49974 done
49983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49984 $as_echo_n "checking for hypotl declaration... " >&6; }
49985 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49986 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49987 $as_echo_n "(cached) " >&6
49988 else
49991 ac_ext=cpp
49992 ac_cpp='$CXXCPP $CPPFLAGS'
49993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49998 /* end confdefs.h. */
49999 #include <math.h>
50001 main ()
50003 hypotl(0, 0);
50005 return 0;
50007 _ACEOF
50008 if ac_fn_cxx_try_compile "$LINENO"; then :
50009 glibcxx_cv_func_hypotl_use=yes
50010 else
50011 glibcxx_cv_func_hypotl_use=no
50013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50014 ac_ext=c
50015 ac_cpp='$CPP $CPPFLAGS'
50016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50025 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50027 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50028 for ac_func in hypotl
50029 do :
50030 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50031 if test "x$ac_cv_func_hypotl" = x""yes; then :
50032 cat >>confdefs.h <<_ACEOF
50033 #define HAVE_HYPOTL 1
50034 _ACEOF
50037 done
50039 else
50041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50042 $as_echo_n "checking for _hypotl declaration... " >&6; }
50043 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50044 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50045 $as_echo_n "(cached) " >&6
50046 else
50049 ac_ext=cpp
50050 ac_cpp='$CXXCPP $CPPFLAGS'
50051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50056 /* end confdefs.h. */
50057 #include <math.h>
50059 main ()
50061 _hypotl(0, 0);
50063 return 0;
50065 _ACEOF
50066 if ac_fn_cxx_try_compile "$LINENO"; then :
50067 glibcxx_cv_func__hypotl_use=yes
50068 else
50069 glibcxx_cv_func__hypotl_use=no
50071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50072 ac_ext=c
50073 ac_cpp='$CPP $CPPFLAGS'
50074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50083 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50085 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50086 for ac_func in _hypotl
50087 do :
50088 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50089 if test "x$ac_cv_func__hypotl" = x""yes; then :
50090 cat >>confdefs.h <<_ACEOF
50091 #define HAVE__HYPOTL 1
50092 _ACEOF
50095 done
50104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50105 $as_echo_n "checking for ldexpl declaration... " >&6; }
50106 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50107 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50108 $as_echo_n "(cached) " >&6
50109 else
50112 ac_ext=cpp
50113 ac_cpp='$CXXCPP $CPPFLAGS'
50114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50119 /* end confdefs.h. */
50120 #include <math.h>
50122 main ()
50124 ldexpl(0, 0);
50126 return 0;
50128 _ACEOF
50129 if ac_fn_cxx_try_compile "$LINENO"; then :
50130 glibcxx_cv_func_ldexpl_use=yes
50131 else
50132 glibcxx_cv_func_ldexpl_use=no
50134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50135 ac_ext=c
50136 ac_cpp='$CPP $CPPFLAGS'
50137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50146 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50148 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50149 for ac_func in ldexpl
50150 do :
50151 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50152 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50153 cat >>confdefs.h <<_ACEOF
50154 #define HAVE_LDEXPL 1
50155 _ACEOF
50158 done
50160 else
50162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50163 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50164 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50165 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50166 $as_echo_n "(cached) " >&6
50167 else
50170 ac_ext=cpp
50171 ac_cpp='$CXXCPP $CPPFLAGS'
50172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50177 /* end confdefs.h. */
50178 #include <math.h>
50180 main ()
50182 _ldexpl(0, 0);
50184 return 0;
50186 _ACEOF
50187 if ac_fn_cxx_try_compile "$LINENO"; then :
50188 glibcxx_cv_func__ldexpl_use=yes
50189 else
50190 glibcxx_cv_func__ldexpl_use=no
50192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50193 ac_ext=c
50194 ac_cpp='$CPP $CPPFLAGS'
50195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50204 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50206 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50207 for ac_func in _ldexpl
50208 do :
50209 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50210 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50211 cat >>confdefs.h <<_ACEOF
50212 #define HAVE__LDEXPL 1
50213 _ACEOF
50216 done
50225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50226 $as_echo_n "checking for logl declaration... " >&6; }
50227 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50228 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50229 $as_echo_n "(cached) " >&6
50230 else
50233 ac_ext=cpp
50234 ac_cpp='$CXXCPP $CPPFLAGS'
50235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50240 /* end confdefs.h. */
50241 #include <math.h>
50242 #ifdef HAVE_IEEEFP_H
50243 #include <ieeefp.h>
50244 #endif
50247 main ()
50249 logl(0);
50251 return 0;
50253 _ACEOF
50254 if ac_fn_cxx_try_compile "$LINENO"; then :
50255 glibcxx_cv_func_logl_use=yes
50256 else
50257 glibcxx_cv_func_logl_use=no
50259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50260 ac_ext=c
50261 ac_cpp='$CPP $CPPFLAGS'
50262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50271 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50273 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50274 for ac_func in logl
50275 do :
50276 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50277 if test "x$ac_cv_func_logl" = x""yes; then :
50278 cat >>confdefs.h <<_ACEOF
50279 #define HAVE_LOGL 1
50280 _ACEOF
50283 done
50285 else
50287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50288 $as_echo_n "checking for _logl declaration... " >&6; }
50289 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50290 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50291 $as_echo_n "(cached) " >&6
50292 else
50295 ac_ext=cpp
50296 ac_cpp='$CXXCPP $CPPFLAGS'
50297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50302 /* end confdefs.h. */
50303 #include <math.h>
50304 #ifdef HAVE_IEEEFP_H
50305 #include <ieeefp.h>
50306 #endif
50309 main ()
50311 _logl(0);
50313 return 0;
50315 _ACEOF
50316 if ac_fn_cxx_try_compile "$LINENO"; then :
50317 glibcxx_cv_func__logl_use=yes
50318 else
50319 glibcxx_cv_func__logl_use=no
50321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50322 ac_ext=c
50323 ac_cpp='$CPP $CPPFLAGS'
50324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50333 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50335 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50336 for ac_func in _logl
50337 do :
50338 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50339 if test "x$ac_cv_func__logl" = x""yes; then :
50340 cat >>confdefs.h <<_ACEOF
50341 #define HAVE__LOGL 1
50342 _ACEOF
50345 done
50354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50355 $as_echo_n "checking for log10l declaration... " >&6; }
50356 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50357 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50358 $as_echo_n "(cached) " >&6
50359 else
50362 ac_ext=cpp
50363 ac_cpp='$CXXCPP $CPPFLAGS'
50364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50369 /* end confdefs.h. */
50370 #include <math.h>
50371 #ifdef HAVE_IEEEFP_H
50372 #include <ieeefp.h>
50373 #endif
50376 main ()
50378 log10l(0);
50380 return 0;
50382 _ACEOF
50383 if ac_fn_cxx_try_compile "$LINENO"; then :
50384 glibcxx_cv_func_log10l_use=yes
50385 else
50386 glibcxx_cv_func_log10l_use=no
50388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50389 ac_ext=c
50390 ac_cpp='$CPP $CPPFLAGS'
50391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50400 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50402 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50403 for ac_func in log10l
50404 do :
50405 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50406 if test "x$ac_cv_func_log10l" = x""yes; then :
50407 cat >>confdefs.h <<_ACEOF
50408 #define HAVE_LOG10L 1
50409 _ACEOF
50412 done
50414 else
50416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50417 $as_echo_n "checking for _log10l declaration... " >&6; }
50418 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50419 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50420 $as_echo_n "(cached) " >&6
50421 else
50424 ac_ext=cpp
50425 ac_cpp='$CXXCPP $CPPFLAGS'
50426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50431 /* end confdefs.h. */
50432 #include <math.h>
50433 #ifdef HAVE_IEEEFP_H
50434 #include <ieeefp.h>
50435 #endif
50438 main ()
50440 _log10l(0);
50442 return 0;
50444 _ACEOF
50445 if ac_fn_cxx_try_compile "$LINENO"; then :
50446 glibcxx_cv_func__log10l_use=yes
50447 else
50448 glibcxx_cv_func__log10l_use=no
50450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50451 ac_ext=c
50452 ac_cpp='$CPP $CPPFLAGS'
50453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50462 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50464 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50465 for ac_func in _log10l
50466 do :
50467 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50468 if test "x$ac_cv_func__log10l" = x""yes; then :
50469 cat >>confdefs.h <<_ACEOF
50470 #define HAVE__LOG10L 1
50471 _ACEOF
50474 done
50483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50484 $as_echo_n "checking for modfl declaration... " >&6; }
50485 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50486 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50487 $as_echo_n "(cached) " >&6
50488 else
50491 ac_ext=cpp
50492 ac_cpp='$CXXCPP $CPPFLAGS'
50493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50498 /* end confdefs.h. */
50499 #include <math.h>
50501 main ()
50503 modfl(0, 0);
50505 return 0;
50507 _ACEOF
50508 if ac_fn_cxx_try_compile "$LINENO"; then :
50509 glibcxx_cv_func_modfl_use=yes
50510 else
50511 glibcxx_cv_func_modfl_use=no
50513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50514 ac_ext=c
50515 ac_cpp='$CPP $CPPFLAGS'
50516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50525 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50527 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50528 for ac_func in modfl
50529 do :
50530 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50531 if test "x$ac_cv_func_modfl" = x""yes; then :
50532 cat >>confdefs.h <<_ACEOF
50533 #define HAVE_MODFL 1
50534 _ACEOF
50537 done
50539 else
50541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50542 $as_echo_n "checking for _modfl declaration... " >&6; }
50543 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50544 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50545 $as_echo_n "(cached) " >&6
50546 else
50549 ac_ext=cpp
50550 ac_cpp='$CXXCPP $CPPFLAGS'
50551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50556 /* end confdefs.h. */
50557 #include <math.h>
50559 main ()
50561 _modfl(0, 0);
50563 return 0;
50565 _ACEOF
50566 if ac_fn_cxx_try_compile "$LINENO"; then :
50567 glibcxx_cv_func__modfl_use=yes
50568 else
50569 glibcxx_cv_func__modfl_use=no
50571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50572 ac_ext=c
50573 ac_cpp='$CPP $CPPFLAGS'
50574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50583 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50585 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50586 for ac_func in _modfl
50587 do :
50588 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50589 if test "x$ac_cv_func__modfl" = x""yes; then :
50590 cat >>confdefs.h <<_ACEOF
50591 #define HAVE__MODFL 1
50592 _ACEOF
50595 done
50604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50605 $as_echo_n "checking for powl declaration... " >&6; }
50606 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50607 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50608 $as_echo_n "(cached) " >&6
50609 else
50612 ac_ext=cpp
50613 ac_cpp='$CXXCPP $CPPFLAGS'
50614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50619 /* end confdefs.h. */
50620 #include <math.h>
50622 main ()
50624 powl(0, 0);
50626 return 0;
50628 _ACEOF
50629 if ac_fn_cxx_try_compile "$LINENO"; then :
50630 glibcxx_cv_func_powl_use=yes
50631 else
50632 glibcxx_cv_func_powl_use=no
50634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50635 ac_ext=c
50636 ac_cpp='$CPP $CPPFLAGS'
50637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50646 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50648 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50649 for ac_func in powl
50650 do :
50651 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50652 if test "x$ac_cv_func_powl" = x""yes; then :
50653 cat >>confdefs.h <<_ACEOF
50654 #define HAVE_POWL 1
50655 _ACEOF
50658 done
50660 else
50662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50663 $as_echo_n "checking for _powl declaration... " >&6; }
50664 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50665 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50666 $as_echo_n "(cached) " >&6
50667 else
50670 ac_ext=cpp
50671 ac_cpp='$CXXCPP $CPPFLAGS'
50672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50677 /* end confdefs.h. */
50678 #include <math.h>
50680 main ()
50682 _powl(0, 0);
50684 return 0;
50686 _ACEOF
50687 if ac_fn_cxx_try_compile "$LINENO"; then :
50688 glibcxx_cv_func__powl_use=yes
50689 else
50690 glibcxx_cv_func__powl_use=no
50692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50693 ac_ext=c
50694 ac_cpp='$CPP $CPPFLAGS'
50695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50704 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50706 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50707 for ac_func in _powl
50708 do :
50709 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50710 if test "x$ac_cv_func__powl" = x""yes; then :
50711 cat >>confdefs.h <<_ACEOF
50712 #define HAVE__POWL 1
50713 _ACEOF
50716 done
50725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50726 $as_echo_n "checking for sqrtl declaration... " >&6; }
50727 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50728 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50729 $as_echo_n "(cached) " >&6
50730 else
50733 ac_ext=cpp
50734 ac_cpp='$CXXCPP $CPPFLAGS'
50735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50740 /* end confdefs.h. */
50741 #include <math.h>
50742 #ifdef HAVE_IEEEFP_H
50743 #include <ieeefp.h>
50744 #endif
50747 main ()
50749 sqrtl(0);
50751 return 0;
50753 _ACEOF
50754 if ac_fn_cxx_try_compile "$LINENO"; then :
50755 glibcxx_cv_func_sqrtl_use=yes
50756 else
50757 glibcxx_cv_func_sqrtl_use=no
50759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50760 ac_ext=c
50761 ac_cpp='$CPP $CPPFLAGS'
50762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50771 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50773 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50774 for ac_func in sqrtl
50775 do :
50776 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50777 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50778 cat >>confdefs.h <<_ACEOF
50779 #define HAVE_SQRTL 1
50780 _ACEOF
50783 done
50785 else
50787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50788 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50789 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50790 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50791 $as_echo_n "(cached) " >&6
50792 else
50795 ac_ext=cpp
50796 ac_cpp='$CXXCPP $CPPFLAGS'
50797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50802 /* end confdefs.h. */
50803 #include <math.h>
50804 #ifdef HAVE_IEEEFP_H
50805 #include <ieeefp.h>
50806 #endif
50809 main ()
50811 _sqrtl(0);
50813 return 0;
50815 _ACEOF
50816 if ac_fn_cxx_try_compile "$LINENO"; then :
50817 glibcxx_cv_func__sqrtl_use=yes
50818 else
50819 glibcxx_cv_func__sqrtl_use=no
50821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50822 ac_ext=c
50823 ac_cpp='$CPP $CPPFLAGS'
50824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50833 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50835 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50836 for ac_func in _sqrtl
50837 do :
50838 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50839 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50840 cat >>confdefs.h <<_ACEOF
50841 #define HAVE__SQRTL 1
50842 _ACEOF
50845 done
50854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50855 $as_echo_n "checking for sincosl declaration... " >&6; }
50856 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50857 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50858 $as_echo_n "(cached) " >&6
50859 else
50862 ac_ext=cpp
50863 ac_cpp='$CXXCPP $CPPFLAGS'
50864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50869 /* end confdefs.h. */
50870 #include <math.h>
50872 main ()
50874 sincosl(0, 0, 0);
50876 return 0;
50878 _ACEOF
50879 if ac_fn_cxx_try_compile "$LINENO"; then :
50880 glibcxx_cv_func_sincosl_use=yes
50881 else
50882 glibcxx_cv_func_sincosl_use=no
50884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50885 ac_ext=c
50886 ac_cpp='$CPP $CPPFLAGS'
50887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50896 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50898 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50899 for ac_func in sincosl
50900 do :
50901 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50902 if test "x$ac_cv_func_sincosl" = x""yes; then :
50903 cat >>confdefs.h <<_ACEOF
50904 #define HAVE_SINCOSL 1
50905 _ACEOF
50908 done
50910 else
50912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50913 $as_echo_n "checking for _sincosl declaration... " >&6; }
50914 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50915 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50916 $as_echo_n "(cached) " >&6
50917 else
50920 ac_ext=cpp
50921 ac_cpp='$CXXCPP $CPPFLAGS'
50922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50927 /* end confdefs.h. */
50928 #include <math.h>
50930 main ()
50932 _sincosl(0, 0, 0);
50934 return 0;
50936 _ACEOF
50937 if ac_fn_cxx_try_compile "$LINENO"; then :
50938 glibcxx_cv_func__sincosl_use=yes
50939 else
50940 glibcxx_cv_func__sincosl_use=no
50942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50943 ac_ext=c
50944 ac_cpp='$CPP $CPPFLAGS'
50945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50954 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50956 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50957 for ac_func in _sincosl
50958 do :
50959 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50960 if test "x$ac_cv_func__sincosl" = x""yes; then :
50961 cat >>confdefs.h <<_ACEOF
50962 #define HAVE__SINCOSL 1
50963 _ACEOF
50966 done
50975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50976 $as_echo_n "checking for finitel declaration... " >&6; }
50977 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50978 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50979 $as_echo_n "(cached) " >&6
50980 else
50983 ac_ext=cpp
50984 ac_cpp='$CXXCPP $CPPFLAGS'
50985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50990 /* end confdefs.h. */
50991 #include <math.h>
50992 #ifdef HAVE_IEEEFP_H
50993 #include <ieeefp.h>
50994 #endif
50997 main ()
50999 finitel(0);
51001 return 0;
51003 _ACEOF
51004 if ac_fn_cxx_try_compile "$LINENO"; then :
51005 glibcxx_cv_func_finitel_use=yes
51006 else
51007 glibcxx_cv_func_finitel_use=no
51009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51010 ac_ext=c
51011 ac_cpp='$CPP $CPPFLAGS'
51012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51021 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51023 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51024 for ac_func in finitel
51025 do :
51026 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51027 if test "x$ac_cv_func_finitel" = x""yes; then :
51028 cat >>confdefs.h <<_ACEOF
51029 #define HAVE_FINITEL 1
51030 _ACEOF
51033 done
51035 else
51037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51038 $as_echo_n "checking for _finitel declaration... " >&6; }
51039 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51040 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51041 $as_echo_n "(cached) " >&6
51042 else
51045 ac_ext=cpp
51046 ac_cpp='$CXXCPP $CPPFLAGS'
51047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51052 /* end confdefs.h. */
51053 #include <math.h>
51054 #ifdef HAVE_IEEEFP_H
51055 #include <ieeefp.h>
51056 #endif
51059 main ()
51061 _finitel(0);
51063 return 0;
51065 _ACEOF
51066 if ac_fn_cxx_try_compile "$LINENO"; then :
51067 glibcxx_cv_func__finitel_use=yes
51068 else
51069 glibcxx_cv_func__finitel_use=no
51071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51072 ac_ext=c
51073 ac_cpp='$CPP $CPPFLAGS'
51074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51083 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51085 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51086 for ac_func in _finitel
51087 do :
51088 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51089 if test "x$ac_cv_func__finitel" = x""yes; then :
51090 cat >>confdefs.h <<_ACEOF
51091 #define HAVE__FINITEL 1
51092 _ACEOF
51095 done
51103 LIBS="$ac_save_LIBS"
51104 CXXFLAGS="$ac_save_CXXFLAGS"
51107 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51108 ac_save_CXXFLAGS="$CXXFLAGS"
51109 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51113 $as_echo_n "checking for strtold declaration... " >&6; }
51114 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51115 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51116 $as_echo_n "(cached) " >&6
51117 else
51120 ac_ext=cpp
51121 ac_cpp='$CXXCPP $CPPFLAGS'
51122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51127 /* end confdefs.h. */
51128 #include <stdlib.h>
51130 main ()
51132 strtold(0, 0);
51134 return 0;
51136 _ACEOF
51137 if ac_fn_cxx_try_compile "$LINENO"; then :
51138 glibcxx_cv_func_strtold_use=yes
51139 else
51140 glibcxx_cv_func_strtold_use=no
51142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51143 ac_ext=c
51144 ac_cpp='$CPP $CPPFLAGS'
51145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51154 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51155 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51156 for ac_func in strtold
51157 do :
51158 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51159 if test "x$ac_cv_func_strtold" = x""yes; then :
51160 cat >>confdefs.h <<_ACEOF
51161 #define HAVE_STRTOLD 1
51162 _ACEOF
51165 done
51172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51173 $as_echo_n "checking for strtof declaration... " >&6; }
51174 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51175 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51176 $as_echo_n "(cached) " >&6
51177 else
51180 ac_ext=cpp
51181 ac_cpp='$CXXCPP $CPPFLAGS'
51182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51187 /* end confdefs.h. */
51188 #include <stdlib.h>
51190 main ()
51192 strtof(0, 0);
51194 return 0;
51196 _ACEOF
51197 if ac_fn_cxx_try_compile "$LINENO"; then :
51198 glibcxx_cv_func_strtof_use=yes
51199 else
51200 glibcxx_cv_func_strtof_use=no
51202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51203 ac_ext=c
51204 ac_cpp='$CPP $CPPFLAGS'
51205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51214 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51215 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51216 for ac_func in strtof
51217 do :
51218 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51219 if test "x$ac_cv_func_strtof" = x""yes; then :
51220 cat >>confdefs.h <<_ACEOF
51221 #define HAVE_STRTOF 1
51222 _ACEOF
51225 done
51232 CXXFLAGS="$ac_save_CXXFLAGS"
51234 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51238 # Check whether --enable-tls was given.
51239 if test "${enable_tls+set}" = set; then :
51240 enableval=$enable_tls;
51241 case "$enableval" in
51242 yes|no) ;;
51243 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51244 esac
51246 else
51247 enable_tls=yes
51251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51252 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51253 if test "${gcc_cv_have_tls+set}" = set; then :
51254 $as_echo_n "(cached) " >&6
51255 else
51257 if test "$cross_compiling" = yes; then :
51258 if test x$gcc_no_link = xyes; then
51259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51262 /* end confdefs.h. */
51263 __thread int a; int b; int main() { return a = b; }
51264 _ACEOF
51265 if ac_fn_c_try_link "$LINENO"; then :
51266 chktls_save_LDFLAGS="$LDFLAGS"
51267 case $host in
51268 *-*-linux*)
51269 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51271 esac
51272 chktls_save_CFLAGS="$CFLAGS"
51273 CFLAGS="-fPIC $CFLAGS"
51274 if test x$gcc_no_link = xyes; then
51275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51278 /* end confdefs.h. */
51279 int f() { return 0; }
51280 _ACEOF
51281 if ac_fn_c_try_link "$LINENO"; then :
51282 if test x$gcc_no_link = xyes; then
51283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51286 /* end confdefs.h. */
51287 __thread int a; int b; int f() { return a = b; }
51288 _ACEOF
51289 if ac_fn_c_try_link "$LINENO"; then :
51290 gcc_cv_have_tls=yes
51291 else
51292 gcc_cv_have_tls=no
51294 rm -f core conftest.err conftest.$ac_objext \
51295 conftest$ac_exeext conftest.$ac_ext
51296 else
51297 gcc_cv_have_tls=yes
51299 rm -f core conftest.err conftest.$ac_objext \
51300 conftest$ac_exeext conftest.$ac_ext
51301 CFLAGS="$chktls_save_CFLAGS"
51302 LDFLAGS="$chktls_save_LDFLAGS"
51303 else
51304 gcc_cv_have_tls=no
51306 rm -f core conftest.err conftest.$ac_objext \
51307 conftest$ac_exeext conftest.$ac_ext
51310 else
51311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51312 /* end confdefs.h. */
51313 __thread int a; int b; int main() { return a = b; }
51314 _ACEOF
51315 if ac_fn_c_try_run "$LINENO"; then :
51316 chktls_save_LDFLAGS="$LDFLAGS"
51317 LDFLAGS="-static $LDFLAGS"
51318 if test x$gcc_no_link = xyes; then
51319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51322 /* end confdefs.h. */
51323 int main() { return 0; }
51324 _ACEOF
51325 if ac_fn_c_try_link "$LINENO"; then :
51326 if test "$cross_compiling" = yes; then :
51327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51329 as_fn_error "cannot run test program while cross compiling
51330 See \`config.log' for more details." "$LINENO" 5; }
51331 else
51332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51333 /* end confdefs.h. */
51334 __thread int a; int b; int main() { return a = b; }
51335 _ACEOF
51336 if ac_fn_c_try_run "$LINENO"; then :
51337 gcc_cv_have_tls=yes
51338 else
51339 gcc_cv_have_tls=no
51341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51342 conftest.$ac_objext conftest.beam conftest.$ac_ext
51345 else
51346 gcc_cv_have_tls=yes
51348 rm -f core conftest.err conftest.$ac_objext \
51349 conftest$ac_exeext conftest.$ac_ext
51350 LDFLAGS="$chktls_save_LDFLAGS"
51351 if test $gcc_cv_have_tls = yes; then
51352 chktls_save_CFLAGS="$CFLAGS"
51353 thread_CFLAGS=failed
51354 for flag in '' '-pthread' '-lpthread'; do
51355 CFLAGS="$flag $chktls_save_CFLAGS"
51356 if test x$gcc_no_link = xyes; then
51357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51360 /* end confdefs.h. */
51361 #include <pthread.h>
51362 void *g(void *d) { return NULL; }
51364 main ()
51366 pthread_t t; pthread_create(&t,NULL,g,NULL);
51368 return 0;
51370 _ACEOF
51371 if ac_fn_c_try_link "$LINENO"; then :
51372 thread_CFLAGS="$flag"
51374 rm -f core conftest.err conftest.$ac_objext \
51375 conftest$ac_exeext conftest.$ac_ext
51376 if test "X$thread_CFLAGS" != Xfailed; then
51377 break
51379 done
51380 CFLAGS="$chktls_save_CFLAGS"
51381 if test "X$thread_CFLAGS" != Xfailed; then
51382 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51383 if test "$cross_compiling" = yes; then :
51384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51386 as_fn_error "cannot run test program while cross compiling
51387 See \`config.log' for more details." "$LINENO" 5; }
51388 else
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 #include <pthread.h>
51392 __thread int a;
51393 static int *volatile a_in_other_thread;
51394 static void *
51395 thread_func (void *arg)
51397 a_in_other_thread = &a;
51398 return (void *)0;
51401 main ()
51403 pthread_t thread;
51404 void *thread_retval;
51405 int *volatile a_in_main_thread;
51406 a_in_main_thread = &a;
51407 if (pthread_create (&thread, (pthread_attr_t *)0,
51408 thread_func, (void *)0))
51409 return 0;
51410 if (pthread_join (thread, &thread_retval))
51411 return 0;
51412 return (a_in_other_thread == a_in_main_thread);
51414 return 0;
51416 _ACEOF
51417 if ac_fn_c_try_run "$LINENO"; then :
51418 gcc_cv_have_tls=yes
51419 else
51420 gcc_cv_have_tls=no
51422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51423 conftest.$ac_objext conftest.beam conftest.$ac_ext
51426 CFLAGS="$chktls_save_CFLAGS"
51429 else
51430 gcc_cv_have_tls=no
51432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51433 conftest.$ac_objext conftest.beam conftest.$ac_ext
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51438 $as_echo "$gcc_cv_have_tls" >&6; }
51439 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51441 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51449 am_save_CPPFLAGS="$CPPFLAGS"
51451 for element in $INCICONV; do
51452 haveit=
51453 for x in $CPPFLAGS; do
51455 acl_save_prefix="$prefix"
51456 prefix="$acl_final_prefix"
51457 acl_save_exec_prefix="$exec_prefix"
51458 exec_prefix="$acl_final_exec_prefix"
51459 eval x=\"$x\"
51460 exec_prefix="$acl_save_exec_prefix"
51461 prefix="$acl_save_prefix"
51463 if test "X$x" = "X$element"; then
51464 haveit=yes
51465 break
51467 done
51468 if test -z "$haveit"; then
51469 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51471 done
51474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51475 $as_echo_n "checking for iconv... " >&6; }
51476 if test "${am_cv_func_iconv+set}" = set; then :
51477 $as_echo_n "(cached) " >&6
51478 else
51480 am_cv_func_iconv="no, consider installing GNU libiconv"
51481 am_cv_lib_iconv=no
51482 if test x$gcc_no_link = xyes; then
51483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51486 /* end confdefs.h. */
51487 #include <stdlib.h>
51488 #include <iconv.h>
51490 main ()
51492 iconv_t cd = iconv_open("","");
51493 iconv(cd,NULL,NULL,NULL,NULL);
51494 iconv_close(cd);
51496 return 0;
51498 _ACEOF
51499 if ac_fn_c_try_link "$LINENO"; then :
51500 am_cv_func_iconv=yes
51502 rm -f core conftest.err conftest.$ac_objext \
51503 conftest$ac_exeext conftest.$ac_ext
51504 if test "$am_cv_func_iconv" != yes; then
51505 am_save_LIBS="$LIBS"
51506 LIBS="$LIBS $LIBICONV"
51507 if test x$gcc_no_link = xyes; then
51508 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51511 /* end confdefs.h. */
51512 #include <stdlib.h>
51513 #include <iconv.h>
51515 main ()
51517 iconv_t cd = iconv_open("","");
51518 iconv(cd,NULL,NULL,NULL,NULL);
51519 iconv_close(cd);
51521 return 0;
51523 _ACEOF
51524 if ac_fn_c_try_link "$LINENO"; then :
51525 am_cv_lib_iconv=yes
51526 am_cv_func_iconv=yes
51528 rm -f core conftest.err conftest.$ac_objext \
51529 conftest$ac_exeext conftest.$ac_ext
51530 LIBS="$am_save_LIBS"
51534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51535 $as_echo "$am_cv_func_iconv" >&6; }
51536 if test "$am_cv_func_iconv" = yes; then
51538 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51541 if test "$am_cv_lib_iconv" = yes; then
51542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51543 $as_echo_n "checking how to link with libiconv... " >&6; }
51544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51545 $as_echo "$LIBICONV" >&6; }
51546 else
51547 CPPFLAGS="$am_save_CPPFLAGS"
51548 LIBICONV=
51549 LTLIBICONV=
51554 if test "$am_cv_func_iconv" = yes; then
51555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51556 $as_echo_n "checking for iconv declaration... " >&6; }
51557 if test "${am_cv_proto_iconv+set}" = set; then :
51558 $as_echo_n "(cached) " >&6
51559 else
51561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51562 /* end confdefs.h. */
51564 #include <stdlib.h>
51565 #include <iconv.h>
51566 extern
51567 #ifdef __cplusplus
51569 #endif
51570 #if defined(__STDC__) || defined(__cplusplus)
51571 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51572 #else
51573 size_t iconv();
51574 #endif
51577 main ()
51581 return 0;
51583 _ACEOF
51584 if ac_fn_c_try_compile "$LINENO"; then :
51585 am_cv_proto_iconv_arg1=""
51586 else
51587 am_cv_proto_iconv_arg1="const"
51589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51590 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);"
51593 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51595 }$am_cv_proto_iconv" >&5
51596 $as_echo "${ac_t:-
51597 }$am_cv_proto_iconv" >&6; }
51599 cat >>confdefs.h <<_ACEOF
51600 #define ICONV_CONST $am_cv_proto_iconv_arg1
51601 _ACEOF
51606 *-mingw32*)
51608 # If we're not using GNU ld, then there's no point in even trying these
51609 # tests. Check for that first. We should have already tested for gld
51610 # by now (in libtool), but require it now just to be safe...
51611 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51612 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51616 # The name set by libtool depends on the version of libtool. Shame on us
51617 # for depending on an impl detail, but c'est la vie. Older versions used
51618 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51619 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51620 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51621 # set (hence we're using an older libtool), then set it.
51622 if test x${with_gnu_ld+set} != xset; then
51623 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51624 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51625 with_gnu_ld=no
51626 else
51627 with_gnu_ld=$ac_cv_prog_gnu_ld
51631 # Start by getting the version number. I think the libtool test already
51632 # does some of this, but throws away the result.
51633 glibcxx_ld_is_gold=no
51634 if test x"$with_gnu_ld" = x"yes"; then
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51636 $as_echo_n "checking for ld version... " >&6; }
51638 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51639 glibcxx_ld_is_gold=yes
51641 ldver=`$LD --version 2>/dev/null |
51642 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'`
51644 glibcxx_gnu_ld_version=`echo $ldver | \
51645 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51647 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51650 # Set --gc-sections.
51651 glibcxx_have_gc_sections=no
51652 if test "$glibcxx_ld_is_gold" = "yes"; then
51653 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51654 glibcxx_have_gc_sections=yes
51656 else
51657 glibcxx_gcsections_min_ld=21602
51658 if test x"$with_gnu_ld" = x"yes" &&
51659 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51660 glibcxx_have_gc_sections=yes
51663 if test "$glibcxx_have_gc_sections" = "yes"; then
51664 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51665 # NB: This flag only works reliably after 2.16.1. Configure tests
51666 # for this are difficult, so hard wire a value that should work.
51668 ac_test_CFLAGS="${CFLAGS+set}"
51669 ac_save_CFLAGS="$CFLAGS"
51670 CFLAGS='-Wl,--gc-sections'
51672 # Check for -Wl,--gc-sections
51673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51674 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51675 if test x$gcc_no_link = xyes; then
51676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51679 /* end confdefs.h. */
51680 int one(void) { return 1; }
51681 int two(void) { return 2; }
51684 main ()
51686 two();
51688 return 0;
51690 _ACEOF
51691 if ac_fn_c_try_link "$LINENO"; then :
51692 ac_gcsections=yes
51693 else
51694 ac_gcsections=no
51696 rm -f core conftest.err conftest.$ac_objext \
51697 conftest$ac_exeext conftest.$ac_ext
51698 if test "$ac_gcsections" = "yes"; then
51699 rm -f conftest.c
51700 touch conftest.c
51701 if $CC -c conftest.c; then
51702 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51703 grep "Warning: gc-sections option ignored" > /dev/null; then
51704 ac_gcsections=no
51707 rm -f conftest.c conftest.o conftest
51709 if test "$ac_gcsections" = "yes"; then
51710 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51713 $as_echo "$ac_gcsections" >&6; }
51715 if test "$ac_test_CFLAGS" = set; then
51716 CFLAGS="$ac_save_CFLAGS"
51717 else
51718 # this is the suspicious part
51719 CFLAGS=''
51723 # Set -z,relro.
51724 # Note this is only for shared objects.
51725 ac_ld_relro=no
51726 if test x"$with_gnu_ld" = x"yes"; then
51727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51728 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51729 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51730 if test -n "$cxx_z_relo"; then
51731 OPT_LDFLAGS="-Wl,-z,relro"
51732 ac_ld_relro=yes
51734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51735 $as_echo "$ac_ld_relro" >&6; }
51738 # Set linker optimization flags.
51739 if test x"$with_gnu_ld" = x"yes"; then
51740 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51747 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51748 ac_save_CXXFLAGS="$CXXFLAGS"
51749 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51752 $as_echo_n "checking for sin in -lm... " >&6; }
51753 if test "${ac_cv_lib_m_sin+set}" = set; then :
51754 $as_echo_n "(cached) " >&6
51755 else
51756 ac_check_lib_save_LIBS=$LIBS
51757 LIBS="-lm $LIBS"
51758 if test x$gcc_no_link = xyes; then
51759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51762 /* end confdefs.h. */
51764 /* Override any GCC internal prototype to avoid an error.
51765 Use char because int might match the return type of a GCC
51766 builtin and then its argument prototype would still apply. */
51767 #ifdef __cplusplus
51768 extern "C"
51769 #endif
51770 char sin ();
51772 main ()
51774 return sin ();
51776 return 0;
51778 _ACEOF
51779 if ac_fn_c_try_link "$LINENO"; then :
51780 ac_cv_lib_m_sin=yes
51781 else
51782 ac_cv_lib_m_sin=no
51784 rm -f core conftest.err conftest.$ac_objext \
51785 conftest$ac_exeext conftest.$ac_ext
51786 LIBS=$ac_check_lib_save_LIBS
51788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51789 $as_echo "$ac_cv_lib_m_sin" >&6; }
51790 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51791 libm="-lm"
51794 ac_save_LIBS="$LIBS"
51795 LIBS="$LIBS $libm"
51799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51800 $as_echo_n "checking for isinf declaration... " >&6; }
51801 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51802 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51803 $as_echo_n "(cached) " >&6
51804 else
51807 ac_ext=cpp
51808 ac_cpp='$CXXCPP $CPPFLAGS'
51809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51814 /* end confdefs.h. */
51815 #include <math.h>
51816 #ifdef HAVE_IEEEFP_H
51817 #include <ieeefp.h>
51818 #endif
51821 main ()
51823 isinf(0);
51825 return 0;
51827 _ACEOF
51828 if ac_fn_cxx_try_compile "$LINENO"; then :
51829 glibcxx_cv_func_isinf_use=yes
51830 else
51831 glibcxx_cv_func_isinf_use=no
51833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51834 ac_ext=c
51835 ac_cpp='$CPP $CPPFLAGS'
51836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51845 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51847 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51848 for ac_func in isinf
51849 do :
51850 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51851 if test "x$ac_cv_func_isinf" = x""yes; then :
51852 cat >>confdefs.h <<_ACEOF
51853 #define HAVE_ISINF 1
51854 _ACEOF
51857 done
51859 else
51861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51862 $as_echo_n "checking for _isinf declaration... " >&6; }
51863 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51864 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51865 $as_echo_n "(cached) " >&6
51866 else
51869 ac_ext=cpp
51870 ac_cpp='$CXXCPP $CPPFLAGS'
51871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51876 /* end confdefs.h. */
51877 #include <math.h>
51878 #ifdef HAVE_IEEEFP_H
51879 #include <ieeefp.h>
51880 #endif
51883 main ()
51885 _isinf(0);
51887 return 0;
51889 _ACEOF
51890 if ac_fn_cxx_try_compile "$LINENO"; then :
51891 glibcxx_cv_func__isinf_use=yes
51892 else
51893 glibcxx_cv_func__isinf_use=no
51895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51896 ac_ext=c
51897 ac_cpp='$CPP $CPPFLAGS'
51898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51907 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51909 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51910 for ac_func in _isinf
51911 do :
51912 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51913 if test "x$ac_cv_func__isinf" = x""yes; then :
51914 cat >>confdefs.h <<_ACEOF
51915 #define HAVE__ISINF 1
51916 _ACEOF
51919 done
51928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51929 $as_echo_n "checking for isnan declaration... " >&6; }
51930 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51931 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51932 $as_echo_n "(cached) " >&6
51933 else
51936 ac_ext=cpp
51937 ac_cpp='$CXXCPP $CPPFLAGS'
51938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51943 /* end confdefs.h. */
51944 #include <math.h>
51945 #ifdef HAVE_IEEEFP_H
51946 #include <ieeefp.h>
51947 #endif
51950 main ()
51952 isnan(0);
51954 return 0;
51956 _ACEOF
51957 if ac_fn_cxx_try_compile "$LINENO"; then :
51958 glibcxx_cv_func_isnan_use=yes
51959 else
51960 glibcxx_cv_func_isnan_use=no
51962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51963 ac_ext=c
51964 ac_cpp='$CPP $CPPFLAGS'
51965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51974 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51976 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51977 for ac_func in isnan
51978 do :
51979 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51980 if test "x$ac_cv_func_isnan" = x""yes; then :
51981 cat >>confdefs.h <<_ACEOF
51982 #define HAVE_ISNAN 1
51983 _ACEOF
51986 done
51988 else
51990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51991 $as_echo_n "checking for _isnan declaration... " >&6; }
51992 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51993 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51994 $as_echo_n "(cached) " >&6
51995 else
51998 ac_ext=cpp
51999 ac_cpp='$CXXCPP $CPPFLAGS'
52000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52005 /* end confdefs.h. */
52006 #include <math.h>
52007 #ifdef HAVE_IEEEFP_H
52008 #include <ieeefp.h>
52009 #endif
52012 main ()
52014 _isnan(0);
52016 return 0;
52018 _ACEOF
52019 if ac_fn_cxx_try_compile "$LINENO"; then :
52020 glibcxx_cv_func__isnan_use=yes
52021 else
52022 glibcxx_cv_func__isnan_use=no
52024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52025 ac_ext=c
52026 ac_cpp='$CPP $CPPFLAGS'
52027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52036 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52038 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52039 for ac_func in _isnan
52040 do :
52041 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52042 if test "x$ac_cv_func__isnan" = x""yes; then :
52043 cat >>confdefs.h <<_ACEOF
52044 #define HAVE__ISNAN 1
52045 _ACEOF
52048 done
52057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52058 $as_echo_n "checking for finite declaration... " >&6; }
52059 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52060 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52061 $as_echo_n "(cached) " >&6
52062 else
52065 ac_ext=cpp
52066 ac_cpp='$CXXCPP $CPPFLAGS'
52067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52072 /* end confdefs.h. */
52073 #include <math.h>
52074 #ifdef HAVE_IEEEFP_H
52075 #include <ieeefp.h>
52076 #endif
52079 main ()
52081 finite(0);
52083 return 0;
52085 _ACEOF
52086 if ac_fn_cxx_try_compile "$LINENO"; then :
52087 glibcxx_cv_func_finite_use=yes
52088 else
52089 glibcxx_cv_func_finite_use=no
52091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52092 ac_ext=c
52093 ac_cpp='$CPP $CPPFLAGS'
52094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52103 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52105 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52106 for ac_func in finite
52107 do :
52108 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52109 if test "x$ac_cv_func_finite" = x""yes; then :
52110 cat >>confdefs.h <<_ACEOF
52111 #define HAVE_FINITE 1
52112 _ACEOF
52115 done
52117 else
52119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52120 $as_echo_n "checking for _finite declaration... " >&6; }
52121 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52122 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52123 $as_echo_n "(cached) " >&6
52124 else
52127 ac_ext=cpp
52128 ac_cpp='$CXXCPP $CPPFLAGS'
52129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52134 /* end confdefs.h. */
52135 #include <math.h>
52136 #ifdef HAVE_IEEEFP_H
52137 #include <ieeefp.h>
52138 #endif
52141 main ()
52143 _finite(0);
52145 return 0;
52147 _ACEOF
52148 if ac_fn_cxx_try_compile "$LINENO"; then :
52149 glibcxx_cv_func__finite_use=yes
52150 else
52151 glibcxx_cv_func__finite_use=no
52153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52154 ac_ext=c
52155 ac_cpp='$CPP $CPPFLAGS'
52156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52165 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52167 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52168 for ac_func in _finite
52169 do :
52170 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52171 if test "x$ac_cv_func__finite" = x""yes; then :
52172 cat >>confdefs.h <<_ACEOF
52173 #define HAVE__FINITE 1
52174 _ACEOF
52177 done
52186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52187 $as_echo_n "checking for sincos declaration... " >&6; }
52188 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52189 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52190 $as_echo_n "(cached) " >&6
52191 else
52194 ac_ext=cpp
52195 ac_cpp='$CXXCPP $CPPFLAGS'
52196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52201 /* end confdefs.h. */
52202 #include <math.h>
52204 main ()
52206 sincos(0, 0, 0);
52208 return 0;
52210 _ACEOF
52211 if ac_fn_cxx_try_compile "$LINENO"; then :
52212 glibcxx_cv_func_sincos_use=yes
52213 else
52214 glibcxx_cv_func_sincos_use=no
52216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52217 ac_ext=c
52218 ac_cpp='$CPP $CPPFLAGS'
52219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52228 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52230 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52231 for ac_func in sincos
52232 do :
52233 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52234 if test "x$ac_cv_func_sincos" = x""yes; then :
52235 cat >>confdefs.h <<_ACEOF
52236 #define HAVE_SINCOS 1
52237 _ACEOF
52240 done
52242 else
52244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52245 $as_echo_n "checking for _sincos declaration... " >&6; }
52246 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52247 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52248 $as_echo_n "(cached) " >&6
52249 else
52252 ac_ext=cpp
52253 ac_cpp='$CXXCPP $CPPFLAGS'
52254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52259 /* end confdefs.h. */
52260 #include <math.h>
52262 main ()
52264 _sincos(0, 0, 0);
52266 return 0;
52268 _ACEOF
52269 if ac_fn_cxx_try_compile "$LINENO"; then :
52270 glibcxx_cv_func__sincos_use=yes
52271 else
52272 glibcxx_cv_func__sincos_use=no
52274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52275 ac_ext=c
52276 ac_cpp='$CPP $CPPFLAGS'
52277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52286 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52288 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52289 for ac_func in _sincos
52290 do :
52291 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52292 if test "x$ac_cv_func__sincos" = x""yes; then :
52293 cat >>confdefs.h <<_ACEOF
52294 #define HAVE__SINCOS 1
52295 _ACEOF
52298 done
52307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52308 $as_echo_n "checking for fpclass declaration... " >&6; }
52309 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52310 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52311 $as_echo_n "(cached) " >&6
52312 else
52315 ac_ext=cpp
52316 ac_cpp='$CXXCPP $CPPFLAGS'
52317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52322 /* end confdefs.h. */
52323 #include <math.h>
52324 #ifdef HAVE_IEEEFP_H
52325 #include <ieeefp.h>
52326 #endif
52329 main ()
52331 fpclass(0);
52333 return 0;
52335 _ACEOF
52336 if ac_fn_cxx_try_compile "$LINENO"; then :
52337 glibcxx_cv_func_fpclass_use=yes
52338 else
52339 glibcxx_cv_func_fpclass_use=no
52341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52342 ac_ext=c
52343 ac_cpp='$CPP $CPPFLAGS'
52344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52353 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52355 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52356 for ac_func in fpclass
52357 do :
52358 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52359 if test "x$ac_cv_func_fpclass" = x""yes; then :
52360 cat >>confdefs.h <<_ACEOF
52361 #define HAVE_FPCLASS 1
52362 _ACEOF
52365 done
52367 else
52369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52370 $as_echo_n "checking for _fpclass declaration... " >&6; }
52371 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52372 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52373 $as_echo_n "(cached) " >&6
52374 else
52377 ac_ext=cpp
52378 ac_cpp='$CXXCPP $CPPFLAGS'
52379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52384 /* end confdefs.h. */
52385 #include <math.h>
52386 #ifdef HAVE_IEEEFP_H
52387 #include <ieeefp.h>
52388 #endif
52391 main ()
52393 _fpclass(0);
52395 return 0;
52397 _ACEOF
52398 if ac_fn_cxx_try_compile "$LINENO"; then :
52399 glibcxx_cv_func__fpclass_use=yes
52400 else
52401 glibcxx_cv_func__fpclass_use=no
52403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52404 ac_ext=c
52405 ac_cpp='$CPP $CPPFLAGS'
52406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52415 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52417 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52418 for ac_func in _fpclass
52419 do :
52420 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52421 if test "x$ac_cv_func__fpclass" = x""yes; then :
52422 cat >>confdefs.h <<_ACEOF
52423 #define HAVE__FPCLASS 1
52424 _ACEOF
52427 done
52436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52437 $as_echo_n "checking for qfpclass declaration... " >&6; }
52438 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52439 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52440 $as_echo_n "(cached) " >&6
52441 else
52444 ac_ext=cpp
52445 ac_cpp='$CXXCPP $CPPFLAGS'
52446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52451 /* end confdefs.h. */
52452 #include <math.h>
52453 #ifdef HAVE_IEEEFP_H
52454 #include <ieeefp.h>
52455 #endif
52458 main ()
52460 qfpclass(0);
52462 return 0;
52464 _ACEOF
52465 if ac_fn_cxx_try_compile "$LINENO"; then :
52466 glibcxx_cv_func_qfpclass_use=yes
52467 else
52468 glibcxx_cv_func_qfpclass_use=no
52470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52471 ac_ext=c
52472 ac_cpp='$CPP $CPPFLAGS'
52473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52482 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52484 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52485 for ac_func in qfpclass
52486 do :
52487 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52488 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52489 cat >>confdefs.h <<_ACEOF
52490 #define HAVE_QFPCLASS 1
52491 _ACEOF
52494 done
52496 else
52498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52499 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52500 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52501 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52502 $as_echo_n "(cached) " >&6
52503 else
52506 ac_ext=cpp
52507 ac_cpp='$CXXCPP $CPPFLAGS'
52508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52513 /* end confdefs.h. */
52514 #include <math.h>
52515 #ifdef HAVE_IEEEFP_H
52516 #include <ieeefp.h>
52517 #endif
52520 main ()
52522 _qfpclass(0);
52524 return 0;
52526 _ACEOF
52527 if ac_fn_cxx_try_compile "$LINENO"; then :
52528 glibcxx_cv_func__qfpclass_use=yes
52529 else
52530 glibcxx_cv_func__qfpclass_use=no
52532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52533 ac_ext=c
52534 ac_cpp='$CPP $CPPFLAGS'
52535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52544 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52546 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52547 for ac_func in _qfpclass
52548 do :
52549 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52550 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52551 cat >>confdefs.h <<_ACEOF
52552 #define HAVE__QFPCLASS 1
52553 _ACEOF
52556 done
52565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52566 $as_echo_n "checking for hypot declaration... " >&6; }
52567 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52568 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52569 $as_echo_n "(cached) " >&6
52570 else
52573 ac_ext=cpp
52574 ac_cpp='$CXXCPP $CPPFLAGS'
52575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52580 /* end confdefs.h. */
52581 #include <math.h>
52583 main ()
52585 hypot(0, 0);
52587 return 0;
52589 _ACEOF
52590 if ac_fn_cxx_try_compile "$LINENO"; then :
52591 glibcxx_cv_func_hypot_use=yes
52592 else
52593 glibcxx_cv_func_hypot_use=no
52595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52596 ac_ext=c
52597 ac_cpp='$CPP $CPPFLAGS'
52598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52607 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52609 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52610 for ac_func in hypot
52611 do :
52612 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52613 if test "x$ac_cv_func_hypot" = x""yes; then :
52614 cat >>confdefs.h <<_ACEOF
52615 #define HAVE_HYPOT 1
52616 _ACEOF
52619 done
52621 else
52623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52624 $as_echo_n "checking for _hypot declaration... " >&6; }
52625 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52626 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52627 $as_echo_n "(cached) " >&6
52628 else
52631 ac_ext=cpp
52632 ac_cpp='$CXXCPP $CPPFLAGS'
52633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52638 /* end confdefs.h. */
52639 #include <math.h>
52641 main ()
52643 _hypot(0, 0);
52645 return 0;
52647 _ACEOF
52648 if ac_fn_cxx_try_compile "$LINENO"; then :
52649 glibcxx_cv_func__hypot_use=yes
52650 else
52651 glibcxx_cv_func__hypot_use=no
52653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52654 ac_ext=c
52655 ac_cpp='$CPP $CPPFLAGS'
52656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52665 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52667 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52668 for ac_func in _hypot
52669 do :
52670 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52671 if test "x$ac_cv_func__hypot" = x""yes; then :
52672 cat >>confdefs.h <<_ACEOF
52673 #define HAVE__HYPOT 1
52674 _ACEOF
52677 done
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52687 $as_echo_n "checking for float trig functions... " >&6; }
52688 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52689 $as_echo_n "(cached) " >&6
52690 else
52693 ac_ext=cpp
52694 ac_cpp='$CXXCPP $CPPFLAGS'
52695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52700 /* end confdefs.h. */
52701 #include <math.h>
52703 main ()
52705 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52707 return 0;
52709 _ACEOF
52710 if ac_fn_cxx_try_compile "$LINENO"; then :
52711 glibcxx_cv_func_float_trig_use=yes
52712 else
52713 glibcxx_cv_func_float_trig_use=no
52715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52716 ac_ext=c
52717 ac_cpp='$CPP $CPPFLAGS'
52718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52725 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52726 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52727 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52728 do :
52729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52731 eval as_val=\$$as_ac_var
52732 if test "x$as_val" = x""yes; then :
52733 cat >>confdefs.h <<_ACEOF
52734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52735 _ACEOF
52738 done
52740 else
52741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52742 $as_echo_n "checking for _float trig functions... " >&6; }
52743 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52744 $as_echo_n "(cached) " >&6
52745 else
52748 ac_ext=cpp
52749 ac_cpp='$CXXCPP $CPPFLAGS'
52750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52755 /* end confdefs.h. */
52756 #include <math.h>
52758 main ()
52760 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52762 return 0;
52764 _ACEOF
52765 if ac_fn_cxx_try_compile "$LINENO"; then :
52766 glibcxx_cv_func__float_trig_use=yes
52767 else
52768 glibcxx_cv_func__float_trig_use=no
52770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52771 ac_ext=c
52772 ac_cpp='$CPP $CPPFLAGS'
52773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52780 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52781 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52782 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52783 do :
52784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52786 eval as_val=\$$as_ac_var
52787 if test "x$as_val" = x""yes; then :
52788 cat >>confdefs.h <<_ACEOF
52789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52790 _ACEOF
52793 done
52802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52803 $as_echo_n "checking for float round functions... " >&6; }
52804 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52805 $as_echo_n "(cached) " >&6
52806 else
52809 ac_ext=cpp
52810 ac_cpp='$CXXCPP $CPPFLAGS'
52811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52816 /* end confdefs.h. */
52817 #include <math.h>
52819 main ()
52821 ceilf (0); floorf (0);
52823 return 0;
52825 _ACEOF
52826 if ac_fn_cxx_try_compile "$LINENO"; then :
52827 glibcxx_cv_func_float_round_use=yes
52828 else
52829 glibcxx_cv_func_float_round_use=no
52831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52832 ac_ext=c
52833 ac_cpp='$CPP $CPPFLAGS'
52834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52841 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52842 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52843 for ac_func in ceilf floorf
52844 do :
52845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52847 eval as_val=\$$as_ac_var
52848 if test "x$as_val" = x""yes; then :
52849 cat >>confdefs.h <<_ACEOF
52850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52851 _ACEOF
52854 done
52856 else
52857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52858 $as_echo_n "checking for _float round functions... " >&6; }
52859 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52860 $as_echo_n "(cached) " >&6
52861 else
52864 ac_ext=cpp
52865 ac_cpp='$CXXCPP $CPPFLAGS'
52866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52871 /* end confdefs.h. */
52872 #include <math.h>
52874 main ()
52876 _ceilf (0); _floorf (0);
52878 return 0;
52880 _ACEOF
52881 if ac_fn_cxx_try_compile "$LINENO"; then :
52882 glibcxx_cv_func__float_round_use=yes
52883 else
52884 glibcxx_cv_func__float_round_use=no
52886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52887 ac_ext=c
52888 ac_cpp='$CPP $CPPFLAGS'
52889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52896 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52897 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52898 for ac_func in _ceilf _floorf
52899 do :
52900 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52901 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52902 eval as_val=\$$as_ac_var
52903 if test "x$as_val" = x""yes; then :
52904 cat >>confdefs.h <<_ACEOF
52905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52906 _ACEOF
52909 done
52919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52920 $as_echo_n "checking for expf declaration... " >&6; }
52921 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52922 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52923 $as_echo_n "(cached) " >&6
52924 else
52927 ac_ext=cpp
52928 ac_cpp='$CXXCPP $CPPFLAGS'
52929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52934 /* end confdefs.h. */
52935 #include <math.h>
52936 #ifdef HAVE_IEEEFP_H
52937 #include <ieeefp.h>
52938 #endif
52941 main ()
52943 expf(0);
52945 return 0;
52947 _ACEOF
52948 if ac_fn_cxx_try_compile "$LINENO"; then :
52949 glibcxx_cv_func_expf_use=yes
52950 else
52951 glibcxx_cv_func_expf_use=no
52953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52954 ac_ext=c
52955 ac_cpp='$CPP $CPPFLAGS'
52956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52965 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52967 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52968 for ac_func in expf
52969 do :
52970 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52971 if test "x$ac_cv_func_expf" = x""yes; then :
52972 cat >>confdefs.h <<_ACEOF
52973 #define HAVE_EXPF 1
52974 _ACEOF
52977 done
52979 else
52981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52982 $as_echo_n "checking for _expf declaration... " >&6; }
52983 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52984 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52985 $as_echo_n "(cached) " >&6
52986 else
52989 ac_ext=cpp
52990 ac_cpp='$CXXCPP $CPPFLAGS'
52991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52996 /* end confdefs.h. */
52997 #include <math.h>
52998 #ifdef HAVE_IEEEFP_H
52999 #include <ieeefp.h>
53000 #endif
53003 main ()
53005 _expf(0);
53007 return 0;
53009 _ACEOF
53010 if ac_fn_cxx_try_compile "$LINENO"; then :
53011 glibcxx_cv_func__expf_use=yes
53012 else
53013 glibcxx_cv_func__expf_use=no
53015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53016 ac_ext=c
53017 ac_cpp='$CPP $CPPFLAGS'
53018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53027 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53029 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53030 for ac_func in _expf
53031 do :
53032 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53033 if test "x$ac_cv_func__expf" = x""yes; then :
53034 cat >>confdefs.h <<_ACEOF
53035 #define HAVE__EXPF 1
53036 _ACEOF
53039 done
53048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53049 $as_echo_n "checking for isnanf declaration... " >&6; }
53050 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53051 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53052 $as_echo_n "(cached) " >&6
53053 else
53056 ac_ext=cpp
53057 ac_cpp='$CXXCPP $CPPFLAGS'
53058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53063 /* end confdefs.h. */
53064 #include <math.h>
53065 #ifdef HAVE_IEEEFP_H
53066 #include <ieeefp.h>
53067 #endif
53070 main ()
53072 isnanf(0);
53074 return 0;
53076 _ACEOF
53077 if ac_fn_cxx_try_compile "$LINENO"; then :
53078 glibcxx_cv_func_isnanf_use=yes
53079 else
53080 glibcxx_cv_func_isnanf_use=no
53082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53083 ac_ext=c
53084 ac_cpp='$CPP $CPPFLAGS'
53085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53094 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53096 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53097 for ac_func in isnanf
53098 do :
53099 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53100 if test "x$ac_cv_func_isnanf" = x""yes; then :
53101 cat >>confdefs.h <<_ACEOF
53102 #define HAVE_ISNANF 1
53103 _ACEOF
53106 done
53108 else
53110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53111 $as_echo_n "checking for _isnanf declaration... " >&6; }
53112 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53113 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53114 $as_echo_n "(cached) " >&6
53115 else
53118 ac_ext=cpp
53119 ac_cpp='$CXXCPP $CPPFLAGS'
53120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53125 /* end confdefs.h. */
53126 #include <math.h>
53127 #ifdef HAVE_IEEEFP_H
53128 #include <ieeefp.h>
53129 #endif
53132 main ()
53134 _isnanf(0);
53136 return 0;
53138 _ACEOF
53139 if ac_fn_cxx_try_compile "$LINENO"; then :
53140 glibcxx_cv_func__isnanf_use=yes
53141 else
53142 glibcxx_cv_func__isnanf_use=no
53144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53145 ac_ext=c
53146 ac_cpp='$CPP $CPPFLAGS'
53147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53156 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53158 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53159 for ac_func in _isnanf
53160 do :
53161 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53162 if test "x$ac_cv_func__isnanf" = x""yes; then :
53163 cat >>confdefs.h <<_ACEOF
53164 #define HAVE__ISNANF 1
53165 _ACEOF
53168 done
53177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53178 $as_echo_n "checking for isinff declaration... " >&6; }
53179 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53180 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53181 $as_echo_n "(cached) " >&6
53182 else
53185 ac_ext=cpp
53186 ac_cpp='$CXXCPP $CPPFLAGS'
53187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53192 /* end confdefs.h. */
53193 #include <math.h>
53194 #ifdef HAVE_IEEEFP_H
53195 #include <ieeefp.h>
53196 #endif
53199 main ()
53201 isinff(0);
53203 return 0;
53205 _ACEOF
53206 if ac_fn_cxx_try_compile "$LINENO"; then :
53207 glibcxx_cv_func_isinff_use=yes
53208 else
53209 glibcxx_cv_func_isinff_use=no
53211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53212 ac_ext=c
53213 ac_cpp='$CPP $CPPFLAGS'
53214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53223 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53225 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53226 for ac_func in isinff
53227 do :
53228 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53229 if test "x$ac_cv_func_isinff" = x""yes; then :
53230 cat >>confdefs.h <<_ACEOF
53231 #define HAVE_ISINFF 1
53232 _ACEOF
53235 done
53237 else
53239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53240 $as_echo_n "checking for _isinff declaration... " >&6; }
53241 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53242 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53243 $as_echo_n "(cached) " >&6
53244 else
53247 ac_ext=cpp
53248 ac_cpp='$CXXCPP $CPPFLAGS'
53249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53254 /* end confdefs.h. */
53255 #include <math.h>
53256 #ifdef HAVE_IEEEFP_H
53257 #include <ieeefp.h>
53258 #endif
53261 main ()
53263 _isinff(0);
53265 return 0;
53267 _ACEOF
53268 if ac_fn_cxx_try_compile "$LINENO"; then :
53269 glibcxx_cv_func__isinff_use=yes
53270 else
53271 glibcxx_cv_func__isinff_use=no
53273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53274 ac_ext=c
53275 ac_cpp='$CPP $CPPFLAGS'
53276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53285 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53287 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53288 for ac_func in _isinff
53289 do :
53290 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53291 if test "x$ac_cv_func__isinff" = x""yes; then :
53292 cat >>confdefs.h <<_ACEOF
53293 #define HAVE__ISINFF 1
53294 _ACEOF
53297 done
53306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53307 $as_echo_n "checking for atan2f declaration... " >&6; }
53308 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53309 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53310 $as_echo_n "(cached) " >&6
53311 else
53314 ac_ext=cpp
53315 ac_cpp='$CXXCPP $CPPFLAGS'
53316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53321 /* end confdefs.h. */
53322 #include <math.h>
53324 main ()
53326 atan2f(0, 0);
53328 return 0;
53330 _ACEOF
53331 if ac_fn_cxx_try_compile "$LINENO"; then :
53332 glibcxx_cv_func_atan2f_use=yes
53333 else
53334 glibcxx_cv_func_atan2f_use=no
53336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53337 ac_ext=c
53338 ac_cpp='$CPP $CPPFLAGS'
53339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53348 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53350 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53351 for ac_func in atan2f
53352 do :
53353 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53354 if test "x$ac_cv_func_atan2f" = x""yes; then :
53355 cat >>confdefs.h <<_ACEOF
53356 #define HAVE_ATAN2F 1
53357 _ACEOF
53360 done
53362 else
53364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53365 $as_echo_n "checking for _atan2f declaration... " >&6; }
53366 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53367 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53368 $as_echo_n "(cached) " >&6
53369 else
53372 ac_ext=cpp
53373 ac_cpp='$CXXCPP $CPPFLAGS'
53374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53379 /* end confdefs.h. */
53380 #include <math.h>
53382 main ()
53384 _atan2f(0, 0);
53386 return 0;
53388 _ACEOF
53389 if ac_fn_cxx_try_compile "$LINENO"; then :
53390 glibcxx_cv_func__atan2f_use=yes
53391 else
53392 glibcxx_cv_func__atan2f_use=no
53394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53395 ac_ext=c
53396 ac_cpp='$CPP $CPPFLAGS'
53397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53406 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53408 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53409 for ac_func in _atan2f
53410 do :
53411 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53412 if test "x$ac_cv_func__atan2f" = x""yes; then :
53413 cat >>confdefs.h <<_ACEOF
53414 #define HAVE__ATAN2F 1
53415 _ACEOF
53418 done
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53428 $as_echo_n "checking for fabsf declaration... " >&6; }
53429 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53430 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53431 $as_echo_n "(cached) " >&6
53432 else
53435 ac_ext=cpp
53436 ac_cpp='$CXXCPP $CPPFLAGS'
53437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53442 /* end confdefs.h. */
53443 #include <math.h>
53444 #ifdef HAVE_IEEEFP_H
53445 #include <ieeefp.h>
53446 #endif
53449 main ()
53451 fabsf(0);
53453 return 0;
53455 _ACEOF
53456 if ac_fn_cxx_try_compile "$LINENO"; then :
53457 glibcxx_cv_func_fabsf_use=yes
53458 else
53459 glibcxx_cv_func_fabsf_use=no
53461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53462 ac_ext=c
53463 ac_cpp='$CPP $CPPFLAGS'
53464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53473 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53475 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53476 for ac_func in fabsf
53477 do :
53478 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53479 if test "x$ac_cv_func_fabsf" = x""yes; then :
53480 cat >>confdefs.h <<_ACEOF
53481 #define HAVE_FABSF 1
53482 _ACEOF
53485 done
53487 else
53489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53490 $as_echo_n "checking for _fabsf declaration... " >&6; }
53491 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53492 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53493 $as_echo_n "(cached) " >&6
53494 else
53497 ac_ext=cpp
53498 ac_cpp='$CXXCPP $CPPFLAGS'
53499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53504 /* end confdefs.h. */
53505 #include <math.h>
53506 #ifdef HAVE_IEEEFP_H
53507 #include <ieeefp.h>
53508 #endif
53511 main ()
53513 _fabsf(0);
53515 return 0;
53517 _ACEOF
53518 if ac_fn_cxx_try_compile "$LINENO"; then :
53519 glibcxx_cv_func__fabsf_use=yes
53520 else
53521 glibcxx_cv_func__fabsf_use=no
53523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53524 ac_ext=c
53525 ac_cpp='$CPP $CPPFLAGS'
53526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53535 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53537 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53538 for ac_func in _fabsf
53539 do :
53540 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53541 if test "x$ac_cv_func__fabsf" = x""yes; then :
53542 cat >>confdefs.h <<_ACEOF
53543 #define HAVE__FABSF 1
53544 _ACEOF
53547 done
53556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53557 $as_echo_n "checking for fmodf declaration... " >&6; }
53558 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53559 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53560 $as_echo_n "(cached) " >&6
53561 else
53564 ac_ext=cpp
53565 ac_cpp='$CXXCPP $CPPFLAGS'
53566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53571 /* end confdefs.h. */
53572 #include <math.h>
53574 main ()
53576 fmodf(0, 0);
53578 return 0;
53580 _ACEOF
53581 if ac_fn_cxx_try_compile "$LINENO"; then :
53582 glibcxx_cv_func_fmodf_use=yes
53583 else
53584 glibcxx_cv_func_fmodf_use=no
53586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53587 ac_ext=c
53588 ac_cpp='$CPP $CPPFLAGS'
53589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53598 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53600 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53601 for ac_func in fmodf
53602 do :
53603 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53604 if test "x$ac_cv_func_fmodf" = x""yes; then :
53605 cat >>confdefs.h <<_ACEOF
53606 #define HAVE_FMODF 1
53607 _ACEOF
53610 done
53612 else
53614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53615 $as_echo_n "checking for _fmodf declaration... " >&6; }
53616 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53617 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53618 $as_echo_n "(cached) " >&6
53619 else
53622 ac_ext=cpp
53623 ac_cpp='$CXXCPP $CPPFLAGS'
53624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53629 /* end confdefs.h. */
53630 #include <math.h>
53632 main ()
53634 _fmodf(0, 0);
53636 return 0;
53638 _ACEOF
53639 if ac_fn_cxx_try_compile "$LINENO"; then :
53640 glibcxx_cv_func__fmodf_use=yes
53641 else
53642 glibcxx_cv_func__fmodf_use=no
53644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53645 ac_ext=c
53646 ac_cpp='$CPP $CPPFLAGS'
53647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53656 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53658 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53659 for ac_func in _fmodf
53660 do :
53661 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53662 if test "x$ac_cv_func__fmodf" = x""yes; then :
53663 cat >>confdefs.h <<_ACEOF
53664 #define HAVE__FMODF 1
53665 _ACEOF
53668 done
53677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53678 $as_echo_n "checking for frexpf declaration... " >&6; }
53679 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53680 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53681 $as_echo_n "(cached) " >&6
53682 else
53685 ac_ext=cpp
53686 ac_cpp='$CXXCPP $CPPFLAGS'
53687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53692 /* end confdefs.h. */
53693 #include <math.h>
53695 main ()
53697 frexpf(0, 0);
53699 return 0;
53701 _ACEOF
53702 if ac_fn_cxx_try_compile "$LINENO"; then :
53703 glibcxx_cv_func_frexpf_use=yes
53704 else
53705 glibcxx_cv_func_frexpf_use=no
53707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53708 ac_ext=c
53709 ac_cpp='$CPP $CPPFLAGS'
53710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53719 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53721 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53722 for ac_func in frexpf
53723 do :
53724 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53725 if test "x$ac_cv_func_frexpf" = x""yes; then :
53726 cat >>confdefs.h <<_ACEOF
53727 #define HAVE_FREXPF 1
53728 _ACEOF
53731 done
53733 else
53735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53736 $as_echo_n "checking for _frexpf declaration... " >&6; }
53737 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53738 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53739 $as_echo_n "(cached) " >&6
53740 else
53743 ac_ext=cpp
53744 ac_cpp='$CXXCPP $CPPFLAGS'
53745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53750 /* end confdefs.h. */
53751 #include <math.h>
53753 main ()
53755 _frexpf(0, 0);
53757 return 0;
53759 _ACEOF
53760 if ac_fn_cxx_try_compile "$LINENO"; then :
53761 glibcxx_cv_func__frexpf_use=yes
53762 else
53763 glibcxx_cv_func__frexpf_use=no
53765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53766 ac_ext=c
53767 ac_cpp='$CPP $CPPFLAGS'
53768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53777 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53779 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53780 for ac_func in _frexpf
53781 do :
53782 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53783 if test "x$ac_cv_func__frexpf" = x""yes; then :
53784 cat >>confdefs.h <<_ACEOF
53785 #define HAVE__FREXPF 1
53786 _ACEOF
53789 done
53798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53799 $as_echo_n "checking for hypotf declaration... " >&6; }
53800 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53801 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53802 $as_echo_n "(cached) " >&6
53803 else
53806 ac_ext=cpp
53807 ac_cpp='$CXXCPP $CPPFLAGS'
53808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53813 /* end confdefs.h. */
53814 #include <math.h>
53816 main ()
53818 hypotf(0, 0);
53820 return 0;
53822 _ACEOF
53823 if ac_fn_cxx_try_compile "$LINENO"; then :
53824 glibcxx_cv_func_hypotf_use=yes
53825 else
53826 glibcxx_cv_func_hypotf_use=no
53828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53829 ac_ext=c
53830 ac_cpp='$CPP $CPPFLAGS'
53831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53840 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53842 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53843 for ac_func in hypotf
53844 do :
53845 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53846 if test "x$ac_cv_func_hypotf" = x""yes; then :
53847 cat >>confdefs.h <<_ACEOF
53848 #define HAVE_HYPOTF 1
53849 _ACEOF
53852 done
53854 else
53856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53857 $as_echo_n "checking for _hypotf declaration... " >&6; }
53858 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53859 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53860 $as_echo_n "(cached) " >&6
53861 else
53864 ac_ext=cpp
53865 ac_cpp='$CXXCPP $CPPFLAGS'
53866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53871 /* end confdefs.h. */
53872 #include <math.h>
53874 main ()
53876 _hypotf(0, 0);
53878 return 0;
53880 _ACEOF
53881 if ac_fn_cxx_try_compile "$LINENO"; then :
53882 glibcxx_cv_func__hypotf_use=yes
53883 else
53884 glibcxx_cv_func__hypotf_use=no
53886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53887 ac_ext=c
53888 ac_cpp='$CPP $CPPFLAGS'
53889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53898 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53900 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53901 for ac_func in _hypotf
53902 do :
53903 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53904 if test "x$ac_cv_func__hypotf" = x""yes; then :
53905 cat >>confdefs.h <<_ACEOF
53906 #define HAVE__HYPOTF 1
53907 _ACEOF
53910 done
53919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53920 $as_echo_n "checking for ldexpf declaration... " >&6; }
53921 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53922 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53923 $as_echo_n "(cached) " >&6
53924 else
53927 ac_ext=cpp
53928 ac_cpp='$CXXCPP $CPPFLAGS'
53929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53934 /* end confdefs.h. */
53935 #include <math.h>
53937 main ()
53939 ldexpf(0, 0);
53941 return 0;
53943 _ACEOF
53944 if ac_fn_cxx_try_compile "$LINENO"; then :
53945 glibcxx_cv_func_ldexpf_use=yes
53946 else
53947 glibcxx_cv_func_ldexpf_use=no
53949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53950 ac_ext=c
53951 ac_cpp='$CPP $CPPFLAGS'
53952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53961 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53963 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53964 for ac_func in ldexpf
53965 do :
53966 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53967 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53968 cat >>confdefs.h <<_ACEOF
53969 #define HAVE_LDEXPF 1
53970 _ACEOF
53973 done
53975 else
53977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53978 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53979 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53980 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53981 $as_echo_n "(cached) " >&6
53982 else
53985 ac_ext=cpp
53986 ac_cpp='$CXXCPP $CPPFLAGS'
53987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53992 /* end confdefs.h. */
53993 #include <math.h>
53995 main ()
53997 _ldexpf(0, 0);
53999 return 0;
54001 _ACEOF
54002 if ac_fn_cxx_try_compile "$LINENO"; then :
54003 glibcxx_cv_func__ldexpf_use=yes
54004 else
54005 glibcxx_cv_func__ldexpf_use=no
54007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54008 ac_ext=c
54009 ac_cpp='$CPP $CPPFLAGS'
54010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54019 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54021 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54022 for ac_func in _ldexpf
54023 do :
54024 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54025 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54026 cat >>confdefs.h <<_ACEOF
54027 #define HAVE__LDEXPF 1
54028 _ACEOF
54031 done
54040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54041 $as_echo_n "checking for logf declaration... " >&6; }
54042 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54043 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54044 $as_echo_n "(cached) " >&6
54045 else
54048 ac_ext=cpp
54049 ac_cpp='$CXXCPP $CPPFLAGS'
54050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54055 /* end confdefs.h. */
54056 #include <math.h>
54057 #ifdef HAVE_IEEEFP_H
54058 #include <ieeefp.h>
54059 #endif
54062 main ()
54064 logf(0);
54066 return 0;
54068 _ACEOF
54069 if ac_fn_cxx_try_compile "$LINENO"; then :
54070 glibcxx_cv_func_logf_use=yes
54071 else
54072 glibcxx_cv_func_logf_use=no
54074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54075 ac_ext=c
54076 ac_cpp='$CPP $CPPFLAGS'
54077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54086 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54088 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54089 for ac_func in logf
54090 do :
54091 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54092 if test "x$ac_cv_func_logf" = x""yes; then :
54093 cat >>confdefs.h <<_ACEOF
54094 #define HAVE_LOGF 1
54095 _ACEOF
54098 done
54100 else
54102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54103 $as_echo_n "checking for _logf declaration... " >&6; }
54104 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54105 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54106 $as_echo_n "(cached) " >&6
54107 else
54110 ac_ext=cpp
54111 ac_cpp='$CXXCPP $CPPFLAGS'
54112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54117 /* end confdefs.h. */
54118 #include <math.h>
54119 #ifdef HAVE_IEEEFP_H
54120 #include <ieeefp.h>
54121 #endif
54124 main ()
54126 _logf(0);
54128 return 0;
54130 _ACEOF
54131 if ac_fn_cxx_try_compile "$LINENO"; then :
54132 glibcxx_cv_func__logf_use=yes
54133 else
54134 glibcxx_cv_func__logf_use=no
54136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54137 ac_ext=c
54138 ac_cpp='$CPP $CPPFLAGS'
54139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54148 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54150 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54151 for ac_func in _logf
54152 do :
54153 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54154 if test "x$ac_cv_func__logf" = x""yes; then :
54155 cat >>confdefs.h <<_ACEOF
54156 #define HAVE__LOGF 1
54157 _ACEOF
54160 done
54169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54170 $as_echo_n "checking for log10f declaration... " >&6; }
54171 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54172 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54173 $as_echo_n "(cached) " >&6
54174 else
54177 ac_ext=cpp
54178 ac_cpp='$CXXCPP $CPPFLAGS'
54179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54184 /* end confdefs.h. */
54185 #include <math.h>
54186 #ifdef HAVE_IEEEFP_H
54187 #include <ieeefp.h>
54188 #endif
54191 main ()
54193 log10f(0);
54195 return 0;
54197 _ACEOF
54198 if ac_fn_cxx_try_compile "$LINENO"; then :
54199 glibcxx_cv_func_log10f_use=yes
54200 else
54201 glibcxx_cv_func_log10f_use=no
54203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54204 ac_ext=c
54205 ac_cpp='$CPP $CPPFLAGS'
54206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54215 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54217 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54218 for ac_func in log10f
54219 do :
54220 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54221 if test "x$ac_cv_func_log10f" = x""yes; then :
54222 cat >>confdefs.h <<_ACEOF
54223 #define HAVE_LOG10F 1
54224 _ACEOF
54227 done
54229 else
54231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54232 $as_echo_n "checking for _log10f declaration... " >&6; }
54233 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54234 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54235 $as_echo_n "(cached) " >&6
54236 else
54239 ac_ext=cpp
54240 ac_cpp='$CXXCPP $CPPFLAGS'
54241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54246 /* end confdefs.h. */
54247 #include <math.h>
54248 #ifdef HAVE_IEEEFP_H
54249 #include <ieeefp.h>
54250 #endif
54253 main ()
54255 _log10f(0);
54257 return 0;
54259 _ACEOF
54260 if ac_fn_cxx_try_compile "$LINENO"; then :
54261 glibcxx_cv_func__log10f_use=yes
54262 else
54263 glibcxx_cv_func__log10f_use=no
54265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54266 ac_ext=c
54267 ac_cpp='$CPP $CPPFLAGS'
54268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54277 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54279 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54280 for ac_func in _log10f
54281 do :
54282 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54283 if test "x$ac_cv_func__log10f" = x""yes; then :
54284 cat >>confdefs.h <<_ACEOF
54285 #define HAVE__LOG10F 1
54286 _ACEOF
54289 done
54298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54299 $as_echo_n "checking for modff declaration... " >&6; }
54300 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54301 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54302 $as_echo_n "(cached) " >&6
54303 else
54306 ac_ext=cpp
54307 ac_cpp='$CXXCPP $CPPFLAGS'
54308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54313 /* end confdefs.h. */
54314 #include <math.h>
54316 main ()
54318 modff(0, 0);
54320 return 0;
54322 _ACEOF
54323 if ac_fn_cxx_try_compile "$LINENO"; then :
54324 glibcxx_cv_func_modff_use=yes
54325 else
54326 glibcxx_cv_func_modff_use=no
54328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54329 ac_ext=c
54330 ac_cpp='$CPP $CPPFLAGS'
54331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54340 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54342 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54343 for ac_func in modff
54344 do :
54345 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54346 if test "x$ac_cv_func_modff" = x""yes; then :
54347 cat >>confdefs.h <<_ACEOF
54348 #define HAVE_MODFF 1
54349 _ACEOF
54352 done
54354 else
54356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54357 $as_echo_n "checking for _modff declaration... " >&6; }
54358 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54359 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54360 $as_echo_n "(cached) " >&6
54361 else
54364 ac_ext=cpp
54365 ac_cpp='$CXXCPP $CPPFLAGS'
54366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54371 /* end confdefs.h. */
54372 #include <math.h>
54374 main ()
54376 _modff(0, 0);
54378 return 0;
54380 _ACEOF
54381 if ac_fn_cxx_try_compile "$LINENO"; then :
54382 glibcxx_cv_func__modff_use=yes
54383 else
54384 glibcxx_cv_func__modff_use=no
54386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54387 ac_ext=c
54388 ac_cpp='$CPP $CPPFLAGS'
54389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54398 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54400 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54401 for ac_func in _modff
54402 do :
54403 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54404 if test "x$ac_cv_func__modff" = x""yes; then :
54405 cat >>confdefs.h <<_ACEOF
54406 #define HAVE__MODFF 1
54407 _ACEOF
54410 done
54419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54420 $as_echo_n "checking for modf declaration... " >&6; }
54421 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54422 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54423 $as_echo_n "(cached) " >&6
54424 else
54427 ac_ext=cpp
54428 ac_cpp='$CXXCPP $CPPFLAGS'
54429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54434 /* end confdefs.h. */
54435 #include <math.h>
54437 main ()
54439 modf(0, 0);
54441 return 0;
54443 _ACEOF
54444 if ac_fn_cxx_try_compile "$LINENO"; then :
54445 glibcxx_cv_func_modf_use=yes
54446 else
54447 glibcxx_cv_func_modf_use=no
54449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54450 ac_ext=c
54451 ac_cpp='$CPP $CPPFLAGS'
54452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54461 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54463 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54464 for ac_func in modf
54465 do :
54466 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54467 if test "x$ac_cv_func_modf" = x""yes; then :
54468 cat >>confdefs.h <<_ACEOF
54469 #define HAVE_MODF 1
54470 _ACEOF
54473 done
54475 else
54477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54478 $as_echo_n "checking for _modf declaration... " >&6; }
54479 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54480 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54481 $as_echo_n "(cached) " >&6
54482 else
54485 ac_ext=cpp
54486 ac_cpp='$CXXCPP $CPPFLAGS'
54487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54492 /* end confdefs.h. */
54493 #include <math.h>
54495 main ()
54497 _modf(0, 0);
54499 return 0;
54501 _ACEOF
54502 if ac_fn_cxx_try_compile "$LINENO"; then :
54503 glibcxx_cv_func__modf_use=yes
54504 else
54505 glibcxx_cv_func__modf_use=no
54507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54508 ac_ext=c
54509 ac_cpp='$CPP $CPPFLAGS'
54510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54519 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54521 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54522 for ac_func in _modf
54523 do :
54524 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54525 if test "x$ac_cv_func__modf" = x""yes; then :
54526 cat >>confdefs.h <<_ACEOF
54527 #define HAVE__MODF 1
54528 _ACEOF
54531 done
54540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54541 $as_echo_n "checking for powf declaration... " >&6; }
54542 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54543 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54544 $as_echo_n "(cached) " >&6
54545 else
54548 ac_ext=cpp
54549 ac_cpp='$CXXCPP $CPPFLAGS'
54550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54555 /* end confdefs.h. */
54556 #include <math.h>
54558 main ()
54560 powf(0, 0);
54562 return 0;
54564 _ACEOF
54565 if ac_fn_cxx_try_compile "$LINENO"; then :
54566 glibcxx_cv_func_powf_use=yes
54567 else
54568 glibcxx_cv_func_powf_use=no
54570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54571 ac_ext=c
54572 ac_cpp='$CPP $CPPFLAGS'
54573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54582 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54584 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54585 for ac_func in powf
54586 do :
54587 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54588 if test "x$ac_cv_func_powf" = x""yes; then :
54589 cat >>confdefs.h <<_ACEOF
54590 #define HAVE_POWF 1
54591 _ACEOF
54594 done
54596 else
54598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54599 $as_echo_n "checking for _powf declaration... " >&6; }
54600 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54601 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54602 $as_echo_n "(cached) " >&6
54603 else
54606 ac_ext=cpp
54607 ac_cpp='$CXXCPP $CPPFLAGS'
54608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54613 /* end confdefs.h. */
54614 #include <math.h>
54616 main ()
54618 _powf(0, 0);
54620 return 0;
54622 _ACEOF
54623 if ac_fn_cxx_try_compile "$LINENO"; then :
54624 glibcxx_cv_func__powf_use=yes
54625 else
54626 glibcxx_cv_func__powf_use=no
54628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54629 ac_ext=c
54630 ac_cpp='$CPP $CPPFLAGS'
54631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54640 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54642 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54643 for ac_func in _powf
54644 do :
54645 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54646 if test "x$ac_cv_func__powf" = x""yes; then :
54647 cat >>confdefs.h <<_ACEOF
54648 #define HAVE__POWF 1
54649 _ACEOF
54652 done
54661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54662 $as_echo_n "checking for sqrtf declaration... " >&6; }
54663 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54664 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54665 $as_echo_n "(cached) " >&6
54666 else
54669 ac_ext=cpp
54670 ac_cpp='$CXXCPP $CPPFLAGS'
54671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54676 /* end confdefs.h. */
54677 #include <math.h>
54678 #ifdef HAVE_IEEEFP_H
54679 #include <ieeefp.h>
54680 #endif
54683 main ()
54685 sqrtf(0);
54687 return 0;
54689 _ACEOF
54690 if ac_fn_cxx_try_compile "$LINENO"; then :
54691 glibcxx_cv_func_sqrtf_use=yes
54692 else
54693 glibcxx_cv_func_sqrtf_use=no
54695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54696 ac_ext=c
54697 ac_cpp='$CPP $CPPFLAGS'
54698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54707 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54709 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54710 for ac_func in sqrtf
54711 do :
54712 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54713 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54714 cat >>confdefs.h <<_ACEOF
54715 #define HAVE_SQRTF 1
54716 _ACEOF
54719 done
54721 else
54723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54724 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54725 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54726 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54727 $as_echo_n "(cached) " >&6
54728 else
54731 ac_ext=cpp
54732 ac_cpp='$CXXCPP $CPPFLAGS'
54733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54738 /* end confdefs.h. */
54739 #include <math.h>
54740 #ifdef HAVE_IEEEFP_H
54741 #include <ieeefp.h>
54742 #endif
54745 main ()
54747 _sqrtf(0);
54749 return 0;
54751 _ACEOF
54752 if ac_fn_cxx_try_compile "$LINENO"; then :
54753 glibcxx_cv_func__sqrtf_use=yes
54754 else
54755 glibcxx_cv_func__sqrtf_use=no
54757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54758 ac_ext=c
54759 ac_cpp='$CPP $CPPFLAGS'
54760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54769 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54771 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54772 for ac_func in _sqrtf
54773 do :
54774 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54775 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54776 cat >>confdefs.h <<_ACEOF
54777 #define HAVE__SQRTF 1
54778 _ACEOF
54781 done
54790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54791 $as_echo_n "checking for sincosf declaration... " >&6; }
54792 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54793 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54794 $as_echo_n "(cached) " >&6
54795 else
54798 ac_ext=cpp
54799 ac_cpp='$CXXCPP $CPPFLAGS'
54800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54805 /* end confdefs.h. */
54806 #include <math.h>
54808 main ()
54810 sincosf(0, 0, 0);
54812 return 0;
54814 _ACEOF
54815 if ac_fn_cxx_try_compile "$LINENO"; then :
54816 glibcxx_cv_func_sincosf_use=yes
54817 else
54818 glibcxx_cv_func_sincosf_use=no
54820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54821 ac_ext=c
54822 ac_cpp='$CPP $CPPFLAGS'
54823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54832 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54834 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54835 for ac_func in sincosf
54836 do :
54837 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54838 if test "x$ac_cv_func_sincosf" = x""yes; then :
54839 cat >>confdefs.h <<_ACEOF
54840 #define HAVE_SINCOSF 1
54841 _ACEOF
54844 done
54846 else
54848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54849 $as_echo_n "checking for _sincosf declaration... " >&6; }
54850 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54851 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54852 $as_echo_n "(cached) " >&6
54853 else
54856 ac_ext=cpp
54857 ac_cpp='$CXXCPP $CPPFLAGS'
54858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54863 /* end confdefs.h. */
54864 #include <math.h>
54866 main ()
54868 _sincosf(0, 0, 0);
54870 return 0;
54872 _ACEOF
54873 if ac_fn_cxx_try_compile "$LINENO"; then :
54874 glibcxx_cv_func__sincosf_use=yes
54875 else
54876 glibcxx_cv_func__sincosf_use=no
54878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54879 ac_ext=c
54880 ac_cpp='$CPP $CPPFLAGS'
54881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54890 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54892 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54893 for ac_func in _sincosf
54894 do :
54895 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54896 if test "x$ac_cv_func__sincosf" = x""yes; then :
54897 cat >>confdefs.h <<_ACEOF
54898 #define HAVE__SINCOSF 1
54899 _ACEOF
54902 done
54911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54912 $as_echo_n "checking for finitef declaration... " >&6; }
54913 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54914 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54915 $as_echo_n "(cached) " >&6
54916 else
54919 ac_ext=cpp
54920 ac_cpp='$CXXCPP $CPPFLAGS'
54921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54926 /* end confdefs.h. */
54927 #include <math.h>
54928 #ifdef HAVE_IEEEFP_H
54929 #include <ieeefp.h>
54930 #endif
54933 main ()
54935 finitef(0);
54937 return 0;
54939 _ACEOF
54940 if ac_fn_cxx_try_compile "$LINENO"; then :
54941 glibcxx_cv_func_finitef_use=yes
54942 else
54943 glibcxx_cv_func_finitef_use=no
54945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54946 ac_ext=c
54947 ac_cpp='$CPP $CPPFLAGS'
54948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54957 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54959 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54960 for ac_func in finitef
54961 do :
54962 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54963 if test "x$ac_cv_func_finitef" = x""yes; then :
54964 cat >>confdefs.h <<_ACEOF
54965 #define HAVE_FINITEF 1
54966 _ACEOF
54969 done
54971 else
54973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54974 $as_echo_n "checking for _finitef declaration... " >&6; }
54975 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54976 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54977 $as_echo_n "(cached) " >&6
54978 else
54981 ac_ext=cpp
54982 ac_cpp='$CXXCPP $CPPFLAGS'
54983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54988 /* end confdefs.h. */
54989 #include <math.h>
54990 #ifdef HAVE_IEEEFP_H
54991 #include <ieeefp.h>
54992 #endif
54995 main ()
54997 _finitef(0);
54999 return 0;
55001 _ACEOF
55002 if ac_fn_cxx_try_compile "$LINENO"; then :
55003 glibcxx_cv_func__finitef_use=yes
55004 else
55005 glibcxx_cv_func__finitef_use=no
55007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55008 ac_ext=c
55009 ac_cpp='$CPP $CPPFLAGS'
55010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55019 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55021 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55022 for ac_func in _finitef
55023 do :
55024 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55025 if test "x$ac_cv_func__finitef" = x""yes; then :
55026 cat >>confdefs.h <<_ACEOF
55027 #define HAVE__FINITEF 1
55028 _ACEOF
55031 done
55040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55041 $as_echo_n "checking for long double trig functions... " >&6; }
55042 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55043 $as_echo_n "(cached) " >&6
55044 else
55047 ac_ext=cpp
55048 ac_cpp='$CXXCPP $CPPFLAGS'
55049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55054 /* end confdefs.h. */
55055 #include <math.h>
55057 main ()
55059 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55061 return 0;
55063 _ACEOF
55064 if ac_fn_cxx_try_compile "$LINENO"; then :
55065 glibcxx_cv_func_long_double_trig_use=yes
55066 else
55067 glibcxx_cv_func_long_double_trig_use=no
55069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55070 ac_ext=c
55071 ac_cpp='$CPP $CPPFLAGS'
55072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55079 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55080 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55081 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55082 do :
55083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55085 eval as_val=\$$as_ac_var
55086 if test "x$as_val" = x""yes; then :
55087 cat >>confdefs.h <<_ACEOF
55088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55089 _ACEOF
55092 done
55094 else
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55096 $as_echo_n "checking for _long double trig functions... " >&6; }
55097 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55098 $as_echo_n "(cached) " >&6
55099 else
55102 ac_ext=cpp
55103 ac_cpp='$CXXCPP $CPPFLAGS'
55104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55109 /* end confdefs.h. */
55110 #include <math.h>
55112 main ()
55114 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55116 return 0;
55118 _ACEOF
55119 if ac_fn_cxx_try_compile "$LINENO"; then :
55120 glibcxx_cv_func__long_double_trig_use=yes
55121 else
55122 glibcxx_cv_func__long_double_trig_use=no
55124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55125 ac_ext=c
55126 ac_cpp='$CPP $CPPFLAGS'
55127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55134 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55135 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55136 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55137 do :
55138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55140 eval as_val=\$$as_ac_var
55141 if test "x$as_val" = x""yes; then :
55142 cat >>confdefs.h <<_ACEOF
55143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55144 _ACEOF
55147 done
55156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55157 $as_echo_n "checking for long double round functions... " >&6; }
55158 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55159 $as_echo_n "(cached) " >&6
55160 else
55163 ac_ext=cpp
55164 ac_cpp='$CXXCPP $CPPFLAGS'
55165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55170 /* end confdefs.h. */
55171 #include <math.h>
55173 main ()
55175 ceill (0); floorl (0);
55177 return 0;
55179 _ACEOF
55180 if ac_fn_cxx_try_compile "$LINENO"; then :
55181 glibcxx_cv_func_long_double_round_use=yes
55182 else
55183 glibcxx_cv_func_long_double_round_use=no
55185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55186 ac_ext=c
55187 ac_cpp='$CPP $CPPFLAGS'
55188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55195 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55196 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55197 for ac_func in ceill floorl
55198 do :
55199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55201 eval as_val=\$$as_ac_var
55202 if test "x$as_val" = x""yes; then :
55203 cat >>confdefs.h <<_ACEOF
55204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55205 _ACEOF
55208 done
55210 else
55211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55212 $as_echo_n "checking for _long double round functions... " >&6; }
55213 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55214 $as_echo_n "(cached) " >&6
55215 else
55218 ac_ext=cpp
55219 ac_cpp='$CXXCPP $CPPFLAGS'
55220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55225 /* end confdefs.h. */
55226 #include <math.h>
55228 main ()
55230 _ceill (0); _floorl (0);
55232 return 0;
55234 _ACEOF
55235 if ac_fn_cxx_try_compile "$LINENO"; then :
55236 glibcxx_cv_func__long_double_round_use=yes
55237 else
55238 glibcxx_cv_func__long_double_round_use=no
55240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55241 ac_ext=c
55242 ac_cpp='$CPP $CPPFLAGS'
55243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55250 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55251 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55252 for ac_func in _ceill _floorl
55253 do :
55254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55255 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55256 eval as_val=\$$as_ac_var
55257 if test "x$as_val" = x""yes; then :
55258 cat >>confdefs.h <<_ACEOF
55259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55260 _ACEOF
55263 done
55273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55274 $as_echo_n "checking for isnanl declaration... " >&6; }
55275 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55276 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55277 $as_echo_n "(cached) " >&6
55278 else
55281 ac_ext=cpp
55282 ac_cpp='$CXXCPP $CPPFLAGS'
55283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55288 /* end confdefs.h. */
55289 #include <math.h>
55290 #ifdef HAVE_IEEEFP_H
55291 #include <ieeefp.h>
55292 #endif
55295 main ()
55297 isnanl(0);
55299 return 0;
55301 _ACEOF
55302 if ac_fn_cxx_try_compile "$LINENO"; then :
55303 glibcxx_cv_func_isnanl_use=yes
55304 else
55305 glibcxx_cv_func_isnanl_use=no
55307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55308 ac_ext=c
55309 ac_cpp='$CPP $CPPFLAGS'
55310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55319 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55321 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55322 for ac_func in isnanl
55323 do :
55324 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55325 if test "x$ac_cv_func_isnanl" = x""yes; then :
55326 cat >>confdefs.h <<_ACEOF
55327 #define HAVE_ISNANL 1
55328 _ACEOF
55331 done
55333 else
55335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55336 $as_echo_n "checking for _isnanl declaration... " >&6; }
55337 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55338 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55339 $as_echo_n "(cached) " >&6
55340 else
55343 ac_ext=cpp
55344 ac_cpp='$CXXCPP $CPPFLAGS'
55345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55350 /* end confdefs.h. */
55351 #include <math.h>
55352 #ifdef HAVE_IEEEFP_H
55353 #include <ieeefp.h>
55354 #endif
55357 main ()
55359 _isnanl(0);
55361 return 0;
55363 _ACEOF
55364 if ac_fn_cxx_try_compile "$LINENO"; then :
55365 glibcxx_cv_func__isnanl_use=yes
55366 else
55367 glibcxx_cv_func__isnanl_use=no
55369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55370 ac_ext=c
55371 ac_cpp='$CPP $CPPFLAGS'
55372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55381 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55383 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55384 for ac_func in _isnanl
55385 do :
55386 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55387 if test "x$ac_cv_func__isnanl" = x""yes; then :
55388 cat >>confdefs.h <<_ACEOF
55389 #define HAVE__ISNANL 1
55390 _ACEOF
55393 done
55402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55403 $as_echo_n "checking for isinfl declaration... " >&6; }
55404 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55405 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55406 $as_echo_n "(cached) " >&6
55407 else
55410 ac_ext=cpp
55411 ac_cpp='$CXXCPP $CPPFLAGS'
55412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55417 /* end confdefs.h. */
55418 #include <math.h>
55419 #ifdef HAVE_IEEEFP_H
55420 #include <ieeefp.h>
55421 #endif
55424 main ()
55426 isinfl(0);
55428 return 0;
55430 _ACEOF
55431 if ac_fn_cxx_try_compile "$LINENO"; then :
55432 glibcxx_cv_func_isinfl_use=yes
55433 else
55434 glibcxx_cv_func_isinfl_use=no
55436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55437 ac_ext=c
55438 ac_cpp='$CPP $CPPFLAGS'
55439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55448 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55450 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55451 for ac_func in isinfl
55452 do :
55453 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55454 if test "x$ac_cv_func_isinfl" = x""yes; then :
55455 cat >>confdefs.h <<_ACEOF
55456 #define HAVE_ISINFL 1
55457 _ACEOF
55460 done
55462 else
55464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55465 $as_echo_n "checking for _isinfl declaration... " >&6; }
55466 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55467 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55468 $as_echo_n "(cached) " >&6
55469 else
55472 ac_ext=cpp
55473 ac_cpp='$CXXCPP $CPPFLAGS'
55474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55479 /* end confdefs.h. */
55480 #include <math.h>
55481 #ifdef HAVE_IEEEFP_H
55482 #include <ieeefp.h>
55483 #endif
55486 main ()
55488 _isinfl(0);
55490 return 0;
55492 _ACEOF
55493 if ac_fn_cxx_try_compile "$LINENO"; then :
55494 glibcxx_cv_func__isinfl_use=yes
55495 else
55496 glibcxx_cv_func__isinfl_use=no
55498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55499 ac_ext=c
55500 ac_cpp='$CPP $CPPFLAGS'
55501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55510 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55512 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55513 for ac_func in _isinfl
55514 do :
55515 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55516 if test "x$ac_cv_func__isinfl" = x""yes; then :
55517 cat >>confdefs.h <<_ACEOF
55518 #define HAVE__ISINFL 1
55519 _ACEOF
55522 done
55531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55532 $as_echo_n "checking for atan2l declaration... " >&6; }
55533 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55534 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55535 $as_echo_n "(cached) " >&6
55536 else
55539 ac_ext=cpp
55540 ac_cpp='$CXXCPP $CPPFLAGS'
55541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55546 /* end confdefs.h. */
55547 #include <math.h>
55549 main ()
55551 atan2l(0, 0);
55553 return 0;
55555 _ACEOF
55556 if ac_fn_cxx_try_compile "$LINENO"; then :
55557 glibcxx_cv_func_atan2l_use=yes
55558 else
55559 glibcxx_cv_func_atan2l_use=no
55561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55562 ac_ext=c
55563 ac_cpp='$CPP $CPPFLAGS'
55564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55573 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55575 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55576 for ac_func in atan2l
55577 do :
55578 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55579 if test "x$ac_cv_func_atan2l" = x""yes; then :
55580 cat >>confdefs.h <<_ACEOF
55581 #define HAVE_ATAN2L 1
55582 _ACEOF
55585 done
55587 else
55589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55590 $as_echo_n "checking for _atan2l declaration... " >&6; }
55591 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55592 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55593 $as_echo_n "(cached) " >&6
55594 else
55597 ac_ext=cpp
55598 ac_cpp='$CXXCPP $CPPFLAGS'
55599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55604 /* end confdefs.h. */
55605 #include <math.h>
55607 main ()
55609 _atan2l(0, 0);
55611 return 0;
55613 _ACEOF
55614 if ac_fn_cxx_try_compile "$LINENO"; then :
55615 glibcxx_cv_func__atan2l_use=yes
55616 else
55617 glibcxx_cv_func__atan2l_use=no
55619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55620 ac_ext=c
55621 ac_cpp='$CPP $CPPFLAGS'
55622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55631 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55633 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55634 for ac_func in _atan2l
55635 do :
55636 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55637 if test "x$ac_cv_func__atan2l" = x""yes; then :
55638 cat >>confdefs.h <<_ACEOF
55639 #define HAVE__ATAN2L 1
55640 _ACEOF
55643 done
55652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55653 $as_echo_n "checking for expl declaration... " >&6; }
55654 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55655 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55656 $as_echo_n "(cached) " >&6
55657 else
55660 ac_ext=cpp
55661 ac_cpp='$CXXCPP $CPPFLAGS'
55662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55667 /* end confdefs.h. */
55668 #include <math.h>
55669 #ifdef HAVE_IEEEFP_H
55670 #include <ieeefp.h>
55671 #endif
55674 main ()
55676 expl(0);
55678 return 0;
55680 _ACEOF
55681 if ac_fn_cxx_try_compile "$LINENO"; then :
55682 glibcxx_cv_func_expl_use=yes
55683 else
55684 glibcxx_cv_func_expl_use=no
55686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55687 ac_ext=c
55688 ac_cpp='$CPP $CPPFLAGS'
55689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55698 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55700 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55701 for ac_func in expl
55702 do :
55703 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55704 if test "x$ac_cv_func_expl" = x""yes; then :
55705 cat >>confdefs.h <<_ACEOF
55706 #define HAVE_EXPL 1
55707 _ACEOF
55710 done
55712 else
55714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55715 $as_echo_n "checking for _expl declaration... " >&6; }
55716 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55717 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55718 $as_echo_n "(cached) " >&6
55719 else
55722 ac_ext=cpp
55723 ac_cpp='$CXXCPP $CPPFLAGS'
55724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55729 /* end confdefs.h. */
55730 #include <math.h>
55731 #ifdef HAVE_IEEEFP_H
55732 #include <ieeefp.h>
55733 #endif
55736 main ()
55738 _expl(0);
55740 return 0;
55742 _ACEOF
55743 if ac_fn_cxx_try_compile "$LINENO"; then :
55744 glibcxx_cv_func__expl_use=yes
55745 else
55746 glibcxx_cv_func__expl_use=no
55748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55749 ac_ext=c
55750 ac_cpp='$CPP $CPPFLAGS'
55751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55760 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55762 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55763 for ac_func in _expl
55764 do :
55765 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55766 if test "x$ac_cv_func__expl" = x""yes; then :
55767 cat >>confdefs.h <<_ACEOF
55768 #define HAVE__EXPL 1
55769 _ACEOF
55772 done
55781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55782 $as_echo_n "checking for fabsl declaration... " >&6; }
55783 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55784 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55785 $as_echo_n "(cached) " >&6
55786 else
55789 ac_ext=cpp
55790 ac_cpp='$CXXCPP $CPPFLAGS'
55791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55796 /* end confdefs.h. */
55797 #include <math.h>
55798 #ifdef HAVE_IEEEFP_H
55799 #include <ieeefp.h>
55800 #endif
55803 main ()
55805 fabsl(0);
55807 return 0;
55809 _ACEOF
55810 if ac_fn_cxx_try_compile "$LINENO"; then :
55811 glibcxx_cv_func_fabsl_use=yes
55812 else
55813 glibcxx_cv_func_fabsl_use=no
55815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55816 ac_ext=c
55817 ac_cpp='$CPP $CPPFLAGS'
55818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55827 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55829 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55830 for ac_func in fabsl
55831 do :
55832 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55833 if test "x$ac_cv_func_fabsl" = x""yes; then :
55834 cat >>confdefs.h <<_ACEOF
55835 #define HAVE_FABSL 1
55836 _ACEOF
55839 done
55841 else
55843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55844 $as_echo_n "checking for _fabsl declaration... " >&6; }
55845 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55846 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55847 $as_echo_n "(cached) " >&6
55848 else
55851 ac_ext=cpp
55852 ac_cpp='$CXXCPP $CPPFLAGS'
55853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55858 /* end confdefs.h. */
55859 #include <math.h>
55860 #ifdef HAVE_IEEEFP_H
55861 #include <ieeefp.h>
55862 #endif
55865 main ()
55867 _fabsl(0);
55869 return 0;
55871 _ACEOF
55872 if ac_fn_cxx_try_compile "$LINENO"; then :
55873 glibcxx_cv_func__fabsl_use=yes
55874 else
55875 glibcxx_cv_func__fabsl_use=no
55877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55878 ac_ext=c
55879 ac_cpp='$CPP $CPPFLAGS'
55880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55889 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55891 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55892 for ac_func in _fabsl
55893 do :
55894 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55895 if test "x$ac_cv_func__fabsl" = x""yes; then :
55896 cat >>confdefs.h <<_ACEOF
55897 #define HAVE__FABSL 1
55898 _ACEOF
55901 done
55910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55911 $as_echo_n "checking for fmodl declaration... " >&6; }
55912 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55913 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55914 $as_echo_n "(cached) " >&6
55915 else
55918 ac_ext=cpp
55919 ac_cpp='$CXXCPP $CPPFLAGS'
55920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55925 /* end confdefs.h. */
55926 #include <math.h>
55928 main ()
55930 fmodl(0, 0);
55932 return 0;
55934 _ACEOF
55935 if ac_fn_cxx_try_compile "$LINENO"; then :
55936 glibcxx_cv_func_fmodl_use=yes
55937 else
55938 glibcxx_cv_func_fmodl_use=no
55940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55941 ac_ext=c
55942 ac_cpp='$CPP $CPPFLAGS'
55943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55952 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55954 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55955 for ac_func in fmodl
55956 do :
55957 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55958 if test "x$ac_cv_func_fmodl" = x""yes; then :
55959 cat >>confdefs.h <<_ACEOF
55960 #define HAVE_FMODL 1
55961 _ACEOF
55964 done
55966 else
55968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55969 $as_echo_n "checking for _fmodl declaration... " >&6; }
55970 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55971 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55972 $as_echo_n "(cached) " >&6
55973 else
55976 ac_ext=cpp
55977 ac_cpp='$CXXCPP $CPPFLAGS'
55978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55983 /* end confdefs.h. */
55984 #include <math.h>
55986 main ()
55988 _fmodl(0, 0);
55990 return 0;
55992 _ACEOF
55993 if ac_fn_cxx_try_compile "$LINENO"; then :
55994 glibcxx_cv_func__fmodl_use=yes
55995 else
55996 glibcxx_cv_func__fmodl_use=no
55998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55999 ac_ext=c
56000 ac_cpp='$CPP $CPPFLAGS'
56001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56010 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56012 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56013 for ac_func in _fmodl
56014 do :
56015 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56016 if test "x$ac_cv_func__fmodl" = x""yes; then :
56017 cat >>confdefs.h <<_ACEOF
56018 #define HAVE__FMODL 1
56019 _ACEOF
56022 done
56031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56032 $as_echo_n "checking for frexpl declaration... " >&6; }
56033 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56034 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56035 $as_echo_n "(cached) " >&6
56036 else
56039 ac_ext=cpp
56040 ac_cpp='$CXXCPP $CPPFLAGS'
56041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56046 /* end confdefs.h. */
56047 #include <math.h>
56049 main ()
56051 frexpl(0, 0);
56053 return 0;
56055 _ACEOF
56056 if ac_fn_cxx_try_compile "$LINENO"; then :
56057 glibcxx_cv_func_frexpl_use=yes
56058 else
56059 glibcxx_cv_func_frexpl_use=no
56061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56062 ac_ext=c
56063 ac_cpp='$CPP $CPPFLAGS'
56064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56073 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56075 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56076 for ac_func in frexpl
56077 do :
56078 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56079 if test "x$ac_cv_func_frexpl" = x""yes; then :
56080 cat >>confdefs.h <<_ACEOF
56081 #define HAVE_FREXPL 1
56082 _ACEOF
56085 done
56087 else
56089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56090 $as_echo_n "checking for _frexpl declaration... " >&6; }
56091 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56092 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56093 $as_echo_n "(cached) " >&6
56094 else
56097 ac_ext=cpp
56098 ac_cpp='$CXXCPP $CPPFLAGS'
56099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56104 /* end confdefs.h. */
56105 #include <math.h>
56107 main ()
56109 _frexpl(0, 0);
56111 return 0;
56113 _ACEOF
56114 if ac_fn_cxx_try_compile "$LINENO"; then :
56115 glibcxx_cv_func__frexpl_use=yes
56116 else
56117 glibcxx_cv_func__frexpl_use=no
56119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56120 ac_ext=c
56121 ac_cpp='$CPP $CPPFLAGS'
56122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56131 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56133 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56134 for ac_func in _frexpl
56135 do :
56136 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56137 if test "x$ac_cv_func__frexpl" = x""yes; then :
56138 cat >>confdefs.h <<_ACEOF
56139 #define HAVE__FREXPL 1
56140 _ACEOF
56143 done
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56153 $as_echo_n "checking for hypotl declaration... " >&6; }
56154 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56155 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56156 $as_echo_n "(cached) " >&6
56157 else
56160 ac_ext=cpp
56161 ac_cpp='$CXXCPP $CPPFLAGS'
56162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56167 /* end confdefs.h. */
56168 #include <math.h>
56170 main ()
56172 hypotl(0, 0);
56174 return 0;
56176 _ACEOF
56177 if ac_fn_cxx_try_compile "$LINENO"; then :
56178 glibcxx_cv_func_hypotl_use=yes
56179 else
56180 glibcxx_cv_func_hypotl_use=no
56182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56183 ac_ext=c
56184 ac_cpp='$CPP $CPPFLAGS'
56185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56194 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56196 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56197 for ac_func in hypotl
56198 do :
56199 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56200 if test "x$ac_cv_func_hypotl" = x""yes; then :
56201 cat >>confdefs.h <<_ACEOF
56202 #define HAVE_HYPOTL 1
56203 _ACEOF
56206 done
56208 else
56210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56211 $as_echo_n "checking for _hypotl declaration... " >&6; }
56212 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56213 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56214 $as_echo_n "(cached) " >&6
56215 else
56218 ac_ext=cpp
56219 ac_cpp='$CXXCPP $CPPFLAGS'
56220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56225 /* end confdefs.h. */
56226 #include <math.h>
56228 main ()
56230 _hypotl(0, 0);
56232 return 0;
56234 _ACEOF
56235 if ac_fn_cxx_try_compile "$LINENO"; then :
56236 glibcxx_cv_func__hypotl_use=yes
56237 else
56238 glibcxx_cv_func__hypotl_use=no
56240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56241 ac_ext=c
56242 ac_cpp='$CPP $CPPFLAGS'
56243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56252 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56254 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56255 for ac_func in _hypotl
56256 do :
56257 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56258 if test "x$ac_cv_func__hypotl" = x""yes; then :
56259 cat >>confdefs.h <<_ACEOF
56260 #define HAVE__HYPOTL 1
56261 _ACEOF
56264 done
56273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56274 $as_echo_n "checking for ldexpl declaration... " >&6; }
56275 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56276 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56277 $as_echo_n "(cached) " >&6
56278 else
56281 ac_ext=cpp
56282 ac_cpp='$CXXCPP $CPPFLAGS'
56283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56288 /* end confdefs.h. */
56289 #include <math.h>
56291 main ()
56293 ldexpl(0, 0);
56295 return 0;
56297 _ACEOF
56298 if ac_fn_cxx_try_compile "$LINENO"; then :
56299 glibcxx_cv_func_ldexpl_use=yes
56300 else
56301 glibcxx_cv_func_ldexpl_use=no
56303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56304 ac_ext=c
56305 ac_cpp='$CPP $CPPFLAGS'
56306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56315 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56317 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56318 for ac_func in ldexpl
56319 do :
56320 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56321 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56322 cat >>confdefs.h <<_ACEOF
56323 #define HAVE_LDEXPL 1
56324 _ACEOF
56327 done
56329 else
56331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56332 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56333 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56334 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56335 $as_echo_n "(cached) " >&6
56336 else
56339 ac_ext=cpp
56340 ac_cpp='$CXXCPP $CPPFLAGS'
56341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56346 /* end confdefs.h. */
56347 #include <math.h>
56349 main ()
56351 _ldexpl(0, 0);
56353 return 0;
56355 _ACEOF
56356 if ac_fn_cxx_try_compile "$LINENO"; then :
56357 glibcxx_cv_func__ldexpl_use=yes
56358 else
56359 glibcxx_cv_func__ldexpl_use=no
56361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56362 ac_ext=c
56363 ac_cpp='$CPP $CPPFLAGS'
56364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56373 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56375 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56376 for ac_func in _ldexpl
56377 do :
56378 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56379 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56380 cat >>confdefs.h <<_ACEOF
56381 #define HAVE__LDEXPL 1
56382 _ACEOF
56385 done
56394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56395 $as_echo_n "checking for logl declaration... " >&6; }
56396 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56397 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56398 $as_echo_n "(cached) " >&6
56399 else
56402 ac_ext=cpp
56403 ac_cpp='$CXXCPP $CPPFLAGS'
56404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56409 /* end confdefs.h. */
56410 #include <math.h>
56411 #ifdef HAVE_IEEEFP_H
56412 #include <ieeefp.h>
56413 #endif
56416 main ()
56418 logl(0);
56420 return 0;
56422 _ACEOF
56423 if ac_fn_cxx_try_compile "$LINENO"; then :
56424 glibcxx_cv_func_logl_use=yes
56425 else
56426 glibcxx_cv_func_logl_use=no
56428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56429 ac_ext=c
56430 ac_cpp='$CPP $CPPFLAGS'
56431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56440 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56442 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56443 for ac_func in logl
56444 do :
56445 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56446 if test "x$ac_cv_func_logl" = x""yes; then :
56447 cat >>confdefs.h <<_ACEOF
56448 #define HAVE_LOGL 1
56449 _ACEOF
56452 done
56454 else
56456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56457 $as_echo_n "checking for _logl declaration... " >&6; }
56458 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56459 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56460 $as_echo_n "(cached) " >&6
56461 else
56464 ac_ext=cpp
56465 ac_cpp='$CXXCPP $CPPFLAGS'
56466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56471 /* end confdefs.h. */
56472 #include <math.h>
56473 #ifdef HAVE_IEEEFP_H
56474 #include <ieeefp.h>
56475 #endif
56478 main ()
56480 _logl(0);
56482 return 0;
56484 _ACEOF
56485 if ac_fn_cxx_try_compile "$LINENO"; then :
56486 glibcxx_cv_func__logl_use=yes
56487 else
56488 glibcxx_cv_func__logl_use=no
56490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56491 ac_ext=c
56492 ac_cpp='$CPP $CPPFLAGS'
56493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56502 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56504 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56505 for ac_func in _logl
56506 do :
56507 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56508 if test "x$ac_cv_func__logl" = x""yes; then :
56509 cat >>confdefs.h <<_ACEOF
56510 #define HAVE__LOGL 1
56511 _ACEOF
56514 done
56523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56524 $as_echo_n "checking for log10l declaration... " >&6; }
56525 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56526 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56527 $as_echo_n "(cached) " >&6
56528 else
56531 ac_ext=cpp
56532 ac_cpp='$CXXCPP $CPPFLAGS'
56533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56538 /* end confdefs.h. */
56539 #include <math.h>
56540 #ifdef HAVE_IEEEFP_H
56541 #include <ieeefp.h>
56542 #endif
56545 main ()
56547 log10l(0);
56549 return 0;
56551 _ACEOF
56552 if ac_fn_cxx_try_compile "$LINENO"; then :
56553 glibcxx_cv_func_log10l_use=yes
56554 else
56555 glibcxx_cv_func_log10l_use=no
56557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56558 ac_ext=c
56559 ac_cpp='$CPP $CPPFLAGS'
56560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56569 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56571 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56572 for ac_func in log10l
56573 do :
56574 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56575 if test "x$ac_cv_func_log10l" = x""yes; then :
56576 cat >>confdefs.h <<_ACEOF
56577 #define HAVE_LOG10L 1
56578 _ACEOF
56581 done
56583 else
56585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56586 $as_echo_n "checking for _log10l declaration... " >&6; }
56587 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56588 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56589 $as_echo_n "(cached) " >&6
56590 else
56593 ac_ext=cpp
56594 ac_cpp='$CXXCPP $CPPFLAGS'
56595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56600 /* end confdefs.h. */
56601 #include <math.h>
56602 #ifdef HAVE_IEEEFP_H
56603 #include <ieeefp.h>
56604 #endif
56607 main ()
56609 _log10l(0);
56611 return 0;
56613 _ACEOF
56614 if ac_fn_cxx_try_compile "$LINENO"; then :
56615 glibcxx_cv_func__log10l_use=yes
56616 else
56617 glibcxx_cv_func__log10l_use=no
56619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56620 ac_ext=c
56621 ac_cpp='$CPP $CPPFLAGS'
56622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56631 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56633 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56634 for ac_func in _log10l
56635 do :
56636 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56637 if test "x$ac_cv_func__log10l" = x""yes; then :
56638 cat >>confdefs.h <<_ACEOF
56639 #define HAVE__LOG10L 1
56640 _ACEOF
56643 done
56652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56653 $as_echo_n "checking for modfl declaration... " >&6; }
56654 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56655 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56656 $as_echo_n "(cached) " >&6
56657 else
56660 ac_ext=cpp
56661 ac_cpp='$CXXCPP $CPPFLAGS'
56662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56667 /* end confdefs.h. */
56668 #include <math.h>
56670 main ()
56672 modfl(0, 0);
56674 return 0;
56676 _ACEOF
56677 if ac_fn_cxx_try_compile "$LINENO"; then :
56678 glibcxx_cv_func_modfl_use=yes
56679 else
56680 glibcxx_cv_func_modfl_use=no
56682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56683 ac_ext=c
56684 ac_cpp='$CPP $CPPFLAGS'
56685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56694 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56696 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56697 for ac_func in modfl
56698 do :
56699 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56700 if test "x$ac_cv_func_modfl" = x""yes; then :
56701 cat >>confdefs.h <<_ACEOF
56702 #define HAVE_MODFL 1
56703 _ACEOF
56706 done
56708 else
56710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56711 $as_echo_n "checking for _modfl declaration... " >&6; }
56712 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56713 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56714 $as_echo_n "(cached) " >&6
56715 else
56718 ac_ext=cpp
56719 ac_cpp='$CXXCPP $CPPFLAGS'
56720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56725 /* end confdefs.h. */
56726 #include <math.h>
56728 main ()
56730 _modfl(0, 0);
56732 return 0;
56734 _ACEOF
56735 if ac_fn_cxx_try_compile "$LINENO"; then :
56736 glibcxx_cv_func__modfl_use=yes
56737 else
56738 glibcxx_cv_func__modfl_use=no
56740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56741 ac_ext=c
56742 ac_cpp='$CPP $CPPFLAGS'
56743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56752 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56754 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56755 for ac_func in _modfl
56756 do :
56757 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56758 if test "x$ac_cv_func__modfl" = x""yes; then :
56759 cat >>confdefs.h <<_ACEOF
56760 #define HAVE__MODFL 1
56761 _ACEOF
56764 done
56773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56774 $as_echo_n "checking for powl declaration... " >&6; }
56775 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56776 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56777 $as_echo_n "(cached) " >&6
56778 else
56781 ac_ext=cpp
56782 ac_cpp='$CXXCPP $CPPFLAGS'
56783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56788 /* end confdefs.h. */
56789 #include <math.h>
56791 main ()
56793 powl(0, 0);
56795 return 0;
56797 _ACEOF
56798 if ac_fn_cxx_try_compile "$LINENO"; then :
56799 glibcxx_cv_func_powl_use=yes
56800 else
56801 glibcxx_cv_func_powl_use=no
56803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56804 ac_ext=c
56805 ac_cpp='$CPP $CPPFLAGS'
56806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56815 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56817 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56818 for ac_func in powl
56819 do :
56820 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56821 if test "x$ac_cv_func_powl" = x""yes; then :
56822 cat >>confdefs.h <<_ACEOF
56823 #define HAVE_POWL 1
56824 _ACEOF
56827 done
56829 else
56831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56832 $as_echo_n "checking for _powl declaration... " >&6; }
56833 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56834 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56835 $as_echo_n "(cached) " >&6
56836 else
56839 ac_ext=cpp
56840 ac_cpp='$CXXCPP $CPPFLAGS'
56841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56846 /* end confdefs.h. */
56847 #include <math.h>
56849 main ()
56851 _powl(0, 0);
56853 return 0;
56855 _ACEOF
56856 if ac_fn_cxx_try_compile "$LINENO"; then :
56857 glibcxx_cv_func__powl_use=yes
56858 else
56859 glibcxx_cv_func__powl_use=no
56861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56862 ac_ext=c
56863 ac_cpp='$CPP $CPPFLAGS'
56864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56873 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56875 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56876 for ac_func in _powl
56877 do :
56878 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56879 if test "x$ac_cv_func__powl" = x""yes; then :
56880 cat >>confdefs.h <<_ACEOF
56881 #define HAVE__POWL 1
56882 _ACEOF
56885 done
56894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56895 $as_echo_n "checking for sqrtl declaration... " >&6; }
56896 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56897 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56898 $as_echo_n "(cached) " >&6
56899 else
56902 ac_ext=cpp
56903 ac_cpp='$CXXCPP $CPPFLAGS'
56904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56909 /* end confdefs.h. */
56910 #include <math.h>
56911 #ifdef HAVE_IEEEFP_H
56912 #include <ieeefp.h>
56913 #endif
56916 main ()
56918 sqrtl(0);
56920 return 0;
56922 _ACEOF
56923 if ac_fn_cxx_try_compile "$LINENO"; then :
56924 glibcxx_cv_func_sqrtl_use=yes
56925 else
56926 glibcxx_cv_func_sqrtl_use=no
56928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56929 ac_ext=c
56930 ac_cpp='$CPP $CPPFLAGS'
56931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56940 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56942 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56943 for ac_func in sqrtl
56944 do :
56945 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56946 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56947 cat >>confdefs.h <<_ACEOF
56948 #define HAVE_SQRTL 1
56949 _ACEOF
56952 done
56954 else
56956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56957 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56958 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56959 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56960 $as_echo_n "(cached) " >&6
56961 else
56964 ac_ext=cpp
56965 ac_cpp='$CXXCPP $CPPFLAGS'
56966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56971 /* end confdefs.h. */
56972 #include <math.h>
56973 #ifdef HAVE_IEEEFP_H
56974 #include <ieeefp.h>
56975 #endif
56978 main ()
56980 _sqrtl(0);
56982 return 0;
56984 _ACEOF
56985 if ac_fn_cxx_try_compile "$LINENO"; then :
56986 glibcxx_cv_func__sqrtl_use=yes
56987 else
56988 glibcxx_cv_func__sqrtl_use=no
56990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56991 ac_ext=c
56992 ac_cpp='$CPP $CPPFLAGS'
56993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57002 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57004 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57005 for ac_func in _sqrtl
57006 do :
57007 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57008 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57009 cat >>confdefs.h <<_ACEOF
57010 #define HAVE__SQRTL 1
57011 _ACEOF
57014 done
57023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57024 $as_echo_n "checking for sincosl declaration... " >&6; }
57025 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57026 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57027 $as_echo_n "(cached) " >&6
57028 else
57031 ac_ext=cpp
57032 ac_cpp='$CXXCPP $CPPFLAGS'
57033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57038 /* end confdefs.h. */
57039 #include <math.h>
57041 main ()
57043 sincosl(0, 0, 0);
57045 return 0;
57047 _ACEOF
57048 if ac_fn_cxx_try_compile "$LINENO"; then :
57049 glibcxx_cv_func_sincosl_use=yes
57050 else
57051 glibcxx_cv_func_sincosl_use=no
57053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57054 ac_ext=c
57055 ac_cpp='$CPP $CPPFLAGS'
57056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57065 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57067 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57068 for ac_func in sincosl
57069 do :
57070 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57071 if test "x$ac_cv_func_sincosl" = x""yes; then :
57072 cat >>confdefs.h <<_ACEOF
57073 #define HAVE_SINCOSL 1
57074 _ACEOF
57077 done
57079 else
57081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57082 $as_echo_n "checking for _sincosl declaration... " >&6; }
57083 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57084 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57085 $as_echo_n "(cached) " >&6
57086 else
57089 ac_ext=cpp
57090 ac_cpp='$CXXCPP $CPPFLAGS'
57091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57096 /* end confdefs.h. */
57097 #include <math.h>
57099 main ()
57101 _sincosl(0, 0, 0);
57103 return 0;
57105 _ACEOF
57106 if ac_fn_cxx_try_compile "$LINENO"; then :
57107 glibcxx_cv_func__sincosl_use=yes
57108 else
57109 glibcxx_cv_func__sincosl_use=no
57111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57112 ac_ext=c
57113 ac_cpp='$CPP $CPPFLAGS'
57114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57123 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57125 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57126 for ac_func in _sincosl
57127 do :
57128 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57129 if test "x$ac_cv_func__sincosl" = x""yes; then :
57130 cat >>confdefs.h <<_ACEOF
57131 #define HAVE__SINCOSL 1
57132 _ACEOF
57135 done
57144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57145 $as_echo_n "checking for finitel declaration... " >&6; }
57146 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57147 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57148 $as_echo_n "(cached) " >&6
57149 else
57152 ac_ext=cpp
57153 ac_cpp='$CXXCPP $CPPFLAGS'
57154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57159 /* end confdefs.h. */
57160 #include <math.h>
57161 #ifdef HAVE_IEEEFP_H
57162 #include <ieeefp.h>
57163 #endif
57166 main ()
57168 finitel(0);
57170 return 0;
57172 _ACEOF
57173 if ac_fn_cxx_try_compile "$LINENO"; then :
57174 glibcxx_cv_func_finitel_use=yes
57175 else
57176 glibcxx_cv_func_finitel_use=no
57178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57179 ac_ext=c
57180 ac_cpp='$CPP $CPPFLAGS'
57181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57190 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57192 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57193 for ac_func in finitel
57194 do :
57195 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57196 if test "x$ac_cv_func_finitel" = x""yes; then :
57197 cat >>confdefs.h <<_ACEOF
57198 #define HAVE_FINITEL 1
57199 _ACEOF
57202 done
57204 else
57206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57207 $as_echo_n "checking for _finitel declaration... " >&6; }
57208 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57209 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57210 $as_echo_n "(cached) " >&6
57211 else
57214 ac_ext=cpp
57215 ac_cpp='$CXXCPP $CPPFLAGS'
57216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57221 /* end confdefs.h. */
57222 #include <math.h>
57223 #ifdef HAVE_IEEEFP_H
57224 #include <ieeefp.h>
57225 #endif
57228 main ()
57230 _finitel(0);
57232 return 0;
57234 _ACEOF
57235 if ac_fn_cxx_try_compile "$LINENO"; then :
57236 glibcxx_cv_func__finitel_use=yes
57237 else
57238 glibcxx_cv_func__finitel_use=no
57240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57241 ac_ext=c
57242 ac_cpp='$CPP $CPPFLAGS'
57243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57252 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57254 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57255 for ac_func in _finitel
57256 do :
57257 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57258 if test "x$ac_cv_func__finitel" = x""yes; then :
57259 cat >>confdefs.h <<_ACEOF
57260 #define HAVE__FINITEL 1
57261 _ACEOF
57264 done
57272 LIBS="$ac_save_LIBS"
57273 CXXFLAGS="$ac_save_CXXFLAGS"
57276 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57277 ac_save_CXXFLAGS="$CXXFLAGS"
57278 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57282 $as_echo_n "checking for strtold declaration... " >&6; }
57283 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57284 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57285 $as_echo_n "(cached) " >&6
57286 else
57289 ac_ext=cpp
57290 ac_cpp='$CXXCPP $CPPFLAGS'
57291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57296 /* end confdefs.h. */
57297 #include <stdlib.h>
57299 main ()
57301 strtold(0, 0);
57303 return 0;
57305 _ACEOF
57306 if ac_fn_cxx_try_compile "$LINENO"; then :
57307 glibcxx_cv_func_strtold_use=yes
57308 else
57309 glibcxx_cv_func_strtold_use=no
57311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57312 ac_ext=c
57313 ac_cpp='$CPP $CPPFLAGS'
57314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57323 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57324 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57325 for ac_func in strtold
57326 do :
57327 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57328 if test "x$ac_cv_func_strtold" = x""yes; then :
57329 cat >>confdefs.h <<_ACEOF
57330 #define HAVE_STRTOLD 1
57331 _ACEOF
57334 done
57341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57342 $as_echo_n "checking for strtof declaration... " >&6; }
57343 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57344 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57345 $as_echo_n "(cached) " >&6
57346 else
57349 ac_ext=cpp
57350 ac_cpp='$CXXCPP $CPPFLAGS'
57351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57356 /* end confdefs.h. */
57357 #include <stdlib.h>
57359 main ()
57361 strtof(0, 0);
57363 return 0;
57365 _ACEOF
57366 if ac_fn_cxx_try_compile "$LINENO"; then :
57367 glibcxx_cv_func_strtof_use=yes
57368 else
57369 glibcxx_cv_func_strtof_use=no
57371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57372 ac_ext=c
57373 ac_cpp='$CPP $CPPFLAGS'
57374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57383 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57384 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57385 for ac_func in strtof
57386 do :
57387 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57388 if test "x$ac_cv_func_strtof" = x""yes; then :
57389 cat >>confdefs.h <<_ACEOF
57390 #define HAVE_STRTOF 1
57391 _ACEOF
57394 done
57401 CXXFLAGS="$ac_save_CXXFLAGS"
57404 *-netbsd*)
57405 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57408 # If we're not using GNU ld, then there's no point in even trying these
57409 # tests. Check for that first. We should have already tested for gld
57410 # by now (in libtool), but require it now just to be safe...
57411 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57412 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57416 # The name set by libtool depends on the version of libtool. Shame on us
57417 # for depending on an impl detail, but c'est la vie. Older versions used
57418 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57419 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57420 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57421 # set (hence we're using an older libtool), then set it.
57422 if test x${with_gnu_ld+set} != xset; then
57423 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57424 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57425 with_gnu_ld=no
57426 else
57427 with_gnu_ld=$ac_cv_prog_gnu_ld
57431 # Start by getting the version number. I think the libtool test already
57432 # does some of this, but throws away the result.
57433 glibcxx_ld_is_gold=no
57434 if test x"$with_gnu_ld" = x"yes"; then
57435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57436 $as_echo_n "checking for ld version... " >&6; }
57438 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57439 glibcxx_ld_is_gold=yes
57441 ldver=`$LD --version 2>/dev/null |
57442 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'`
57444 glibcxx_gnu_ld_version=`echo $ldver | \
57445 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57447 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57450 # Set --gc-sections.
57451 glibcxx_have_gc_sections=no
57452 if test "$glibcxx_ld_is_gold" = "yes"; then
57453 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57454 glibcxx_have_gc_sections=yes
57456 else
57457 glibcxx_gcsections_min_ld=21602
57458 if test x"$with_gnu_ld" = x"yes" &&
57459 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57460 glibcxx_have_gc_sections=yes
57463 if test "$glibcxx_have_gc_sections" = "yes"; then
57464 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57465 # NB: This flag only works reliably after 2.16.1. Configure tests
57466 # for this are difficult, so hard wire a value that should work.
57468 ac_test_CFLAGS="${CFLAGS+set}"
57469 ac_save_CFLAGS="$CFLAGS"
57470 CFLAGS='-Wl,--gc-sections'
57472 # Check for -Wl,--gc-sections
57473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57474 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57475 if test x$gcc_no_link = xyes; then
57476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57479 /* end confdefs.h. */
57480 int one(void) { return 1; }
57481 int two(void) { return 2; }
57484 main ()
57486 two();
57488 return 0;
57490 _ACEOF
57491 if ac_fn_c_try_link "$LINENO"; then :
57492 ac_gcsections=yes
57493 else
57494 ac_gcsections=no
57496 rm -f core conftest.err conftest.$ac_objext \
57497 conftest$ac_exeext conftest.$ac_ext
57498 if test "$ac_gcsections" = "yes"; then
57499 rm -f conftest.c
57500 touch conftest.c
57501 if $CC -c conftest.c; then
57502 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57503 grep "Warning: gc-sections option ignored" > /dev/null; then
57504 ac_gcsections=no
57507 rm -f conftest.c conftest.o conftest
57509 if test "$ac_gcsections" = "yes"; then
57510 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57513 $as_echo "$ac_gcsections" >&6; }
57515 if test "$ac_test_CFLAGS" = set; then
57516 CFLAGS="$ac_save_CFLAGS"
57517 else
57518 # this is the suspicious part
57519 CFLAGS=''
57523 # Set -z,relro.
57524 # Note this is only for shared objects.
57525 ac_ld_relro=no
57526 if test x"$with_gnu_ld" = x"yes"; then
57527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57528 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57529 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57530 if test -n "$cxx_z_relo"; then
57531 OPT_LDFLAGS="-Wl,-z,relro"
57532 ac_ld_relro=yes
57534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57535 $as_echo "$ac_ld_relro" >&6; }
57538 # Set linker optimization flags.
57539 if test x"$with_gnu_ld" = x"yes"; then
57540 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57546 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57548 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57550 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57552 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57554 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57556 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57558 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57560 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57562 if test x"long_double_math_on_this_cpu" = x"yes"; then
57563 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57565 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57567 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57571 *-qnx6.1* | *-qnx6.2*)
57572 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57575 # If we're not using GNU ld, then there's no point in even trying these
57576 # tests. Check for that first. We should have already tested for gld
57577 # by now (in libtool), but require it now just to be safe...
57578 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57579 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57583 # The name set by libtool depends on the version of libtool. Shame on us
57584 # for depending on an impl detail, but c'est la vie. Older versions used
57585 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57586 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57587 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57588 # set (hence we're using an older libtool), then set it.
57589 if test x${with_gnu_ld+set} != xset; then
57590 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57591 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57592 with_gnu_ld=no
57593 else
57594 with_gnu_ld=$ac_cv_prog_gnu_ld
57598 # Start by getting the version number. I think the libtool test already
57599 # does some of this, but throws away the result.
57600 glibcxx_ld_is_gold=no
57601 if test x"$with_gnu_ld" = x"yes"; then
57602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57603 $as_echo_n "checking for ld version... " >&6; }
57605 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57606 glibcxx_ld_is_gold=yes
57608 ldver=`$LD --version 2>/dev/null |
57609 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'`
57611 glibcxx_gnu_ld_version=`echo $ldver | \
57612 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57614 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57617 # Set --gc-sections.
57618 glibcxx_have_gc_sections=no
57619 if test "$glibcxx_ld_is_gold" = "yes"; then
57620 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57621 glibcxx_have_gc_sections=yes
57623 else
57624 glibcxx_gcsections_min_ld=21602
57625 if test x"$with_gnu_ld" = x"yes" &&
57626 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57627 glibcxx_have_gc_sections=yes
57630 if test "$glibcxx_have_gc_sections" = "yes"; then
57631 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57632 # NB: This flag only works reliably after 2.16.1. Configure tests
57633 # for this are difficult, so hard wire a value that should work.
57635 ac_test_CFLAGS="${CFLAGS+set}"
57636 ac_save_CFLAGS="$CFLAGS"
57637 CFLAGS='-Wl,--gc-sections'
57639 # Check for -Wl,--gc-sections
57640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57641 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57642 if test x$gcc_no_link = xyes; then
57643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57646 /* end confdefs.h. */
57647 int one(void) { return 1; }
57648 int two(void) { return 2; }
57651 main ()
57653 two();
57655 return 0;
57657 _ACEOF
57658 if ac_fn_c_try_link "$LINENO"; then :
57659 ac_gcsections=yes
57660 else
57661 ac_gcsections=no
57663 rm -f core conftest.err conftest.$ac_objext \
57664 conftest$ac_exeext conftest.$ac_ext
57665 if test "$ac_gcsections" = "yes"; then
57666 rm -f conftest.c
57667 touch conftest.c
57668 if $CC -c conftest.c; then
57669 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57670 grep "Warning: gc-sections option ignored" > /dev/null; then
57671 ac_gcsections=no
57674 rm -f conftest.c conftest.o conftest
57676 if test "$ac_gcsections" = "yes"; then
57677 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57680 $as_echo "$ac_gcsections" >&6; }
57682 if test "$ac_test_CFLAGS" = set; then
57683 CFLAGS="$ac_save_CFLAGS"
57684 else
57685 # this is the suspicious part
57686 CFLAGS=''
57690 # Set -z,relro.
57691 # Note this is only for shared objects.
57692 ac_ld_relro=no
57693 if test x"$with_gnu_ld" = x"yes"; then
57694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57695 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57696 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57697 if test -n "$cxx_z_relo"; then
57698 OPT_LDFLAGS="-Wl,-z,relro"
57699 ac_ld_relro=yes
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57702 $as_echo "$ac_ld_relro" >&6; }
57705 # Set linker optimization flags.
57706 if test x"$with_gnu_ld" = x"yes"; then
57707 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57713 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57715 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57717 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57719 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57721 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57723 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57725 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57727 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57729 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57731 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57733 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57735 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57738 *-rtems*)
57740 # All these tests are for C++; save the language and the compiler flags.
57741 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57742 # found in GLIBCXX_CONFIGURE.
57744 ac_ext=cpp
57745 ac_cpp='$CXXCPP $CPPFLAGS'
57746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57750 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57751 ac_save_CXXFLAGS="$CXXFLAGS"
57753 # Check for maintainer-mode bits.
57754 if test x"$USE_MAINTAINER_MODE" = xno; then
57755 WERROR=''
57756 else
57757 WERROR='-Werror'
57760 # Check for -ffunction-sections -fdata-sections
57761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57762 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57763 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57765 /* end confdefs.h. */
57766 int foo; void bar() { };
57768 main ()
57772 return 0;
57774 _ACEOF
57775 if ac_fn_cxx_try_compile "$LINENO"; then :
57776 ac_fdsections=yes
57777 else
57778 ac_fdsections=no
57780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57781 if test "$ac_test_CXXFLAGS" = set; then
57782 CXXFLAGS="$ac_save_CXXFLAGS"
57783 else
57784 # this is the suspicious part
57785 CXXFLAGS=''
57787 if test x"$ac_fdsections" = x"yes"; then
57788 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57791 $as_echo "$ac_fdsections" >&6; }
57793 ac_ext=c
57794 ac_cpp='$CPP $CPPFLAGS'
57795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57803 # If we're not using GNU ld, then there's no point in even trying these
57804 # tests. Check for that first. We should have already tested for gld
57805 # by now (in libtool), but require it now just to be safe...
57806 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57807 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57811 # The name set by libtool depends on the version of libtool. Shame on us
57812 # for depending on an impl detail, but c'est la vie. Older versions used
57813 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57814 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57815 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57816 # set (hence we're using an older libtool), then set it.
57817 if test x${with_gnu_ld+set} != xset; then
57818 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57819 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57820 with_gnu_ld=no
57821 else
57822 with_gnu_ld=$ac_cv_prog_gnu_ld
57826 # Start by getting the version number. I think the libtool test already
57827 # does some of this, but throws away the result.
57828 glibcxx_ld_is_gold=no
57829 if test x"$with_gnu_ld" = x"yes"; then
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57831 $as_echo_n "checking for ld version... " >&6; }
57833 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57834 glibcxx_ld_is_gold=yes
57836 ldver=`$LD --version 2>/dev/null |
57837 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'`
57839 glibcxx_gnu_ld_version=`echo $ldver | \
57840 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57842 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57845 # Set --gc-sections.
57846 glibcxx_have_gc_sections=no
57847 if test "$glibcxx_ld_is_gold" = "yes"; then
57848 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57849 glibcxx_have_gc_sections=yes
57851 else
57852 glibcxx_gcsections_min_ld=21602
57853 if test x"$with_gnu_ld" = x"yes" &&
57854 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57855 glibcxx_have_gc_sections=yes
57858 if test "$glibcxx_have_gc_sections" = "yes"; then
57859 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57860 # NB: This flag only works reliably after 2.16.1. Configure tests
57861 # for this are difficult, so hard wire a value that should work.
57863 ac_test_CFLAGS="${CFLAGS+set}"
57864 ac_save_CFLAGS="$CFLAGS"
57865 CFLAGS='-Wl,--gc-sections'
57867 # Check for -Wl,--gc-sections
57868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57869 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57870 if test x$gcc_no_link = xyes; then
57871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57874 /* end confdefs.h. */
57875 int one(void) { return 1; }
57876 int two(void) { return 2; }
57879 main ()
57881 two();
57883 return 0;
57885 _ACEOF
57886 if ac_fn_c_try_link "$LINENO"; then :
57887 ac_gcsections=yes
57888 else
57889 ac_gcsections=no
57891 rm -f core conftest.err conftest.$ac_objext \
57892 conftest$ac_exeext conftest.$ac_ext
57893 if test "$ac_gcsections" = "yes"; then
57894 rm -f conftest.c
57895 touch conftest.c
57896 if $CC -c conftest.c; then
57897 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57898 grep "Warning: gc-sections option ignored" > /dev/null; then
57899 ac_gcsections=no
57902 rm -f conftest.c conftest.o conftest
57904 if test "$ac_gcsections" = "yes"; then
57905 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57908 $as_echo "$ac_gcsections" >&6; }
57910 if test "$ac_test_CFLAGS" = set; then
57911 CFLAGS="$ac_save_CFLAGS"
57912 else
57913 # this is the suspicious part
57914 CFLAGS=''
57918 # Set -z,relro.
57919 # Note this is only for shared objects.
57920 ac_ld_relro=no
57921 if test x"$with_gnu_ld" = x"yes"; then
57922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57923 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57924 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57925 if test -n "$cxx_z_relo"; then
57926 OPT_LDFLAGS="-Wl,-z,relro"
57927 ac_ld_relro=yes
57929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57930 $as_echo "$ac_ld_relro" >&6; }
57933 # Set linker optimization flags.
57934 if test x"$with_gnu_ld" = x"yes"; then
57935 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57942 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57943 ac_save_CXXFLAGS="$CXXFLAGS"
57944 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57947 $as_echo_n "checking for sin in -lm... " >&6; }
57948 if test "${ac_cv_lib_m_sin+set}" = set; then :
57949 $as_echo_n "(cached) " >&6
57950 else
57951 ac_check_lib_save_LIBS=$LIBS
57952 LIBS="-lm $LIBS"
57953 if test x$gcc_no_link = xyes; then
57954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57957 /* end confdefs.h. */
57959 /* Override any GCC internal prototype to avoid an error.
57960 Use char because int might match the return type of a GCC
57961 builtin and then its argument prototype would still apply. */
57962 #ifdef __cplusplus
57963 extern "C"
57964 #endif
57965 char sin ();
57967 main ()
57969 return sin ();
57971 return 0;
57973 _ACEOF
57974 if ac_fn_c_try_link "$LINENO"; then :
57975 ac_cv_lib_m_sin=yes
57976 else
57977 ac_cv_lib_m_sin=no
57979 rm -f core conftest.err conftest.$ac_objext \
57980 conftest$ac_exeext conftest.$ac_ext
57981 LIBS=$ac_check_lib_save_LIBS
57983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57984 $as_echo "$ac_cv_lib_m_sin" >&6; }
57985 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57986 libm="-lm"
57989 ac_save_LIBS="$LIBS"
57990 LIBS="$LIBS $libm"
57994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57995 $as_echo_n "checking for isinf declaration... " >&6; }
57996 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57997 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57998 $as_echo_n "(cached) " >&6
57999 else
58002 ac_ext=cpp
58003 ac_cpp='$CXXCPP $CPPFLAGS'
58004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58009 /* end confdefs.h. */
58010 #include <math.h>
58011 #ifdef HAVE_IEEEFP_H
58012 #include <ieeefp.h>
58013 #endif
58016 main ()
58018 isinf(0);
58020 return 0;
58022 _ACEOF
58023 if ac_fn_cxx_try_compile "$LINENO"; then :
58024 glibcxx_cv_func_isinf_use=yes
58025 else
58026 glibcxx_cv_func_isinf_use=no
58028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58029 ac_ext=c
58030 ac_cpp='$CPP $CPPFLAGS'
58031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58040 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58042 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58043 for ac_func in isinf
58044 do :
58045 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58046 if test "x$ac_cv_func_isinf" = x""yes; then :
58047 cat >>confdefs.h <<_ACEOF
58048 #define HAVE_ISINF 1
58049 _ACEOF
58052 done
58054 else
58056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58057 $as_echo_n "checking for _isinf declaration... " >&6; }
58058 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58059 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58060 $as_echo_n "(cached) " >&6
58061 else
58064 ac_ext=cpp
58065 ac_cpp='$CXXCPP $CPPFLAGS'
58066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58071 /* end confdefs.h. */
58072 #include <math.h>
58073 #ifdef HAVE_IEEEFP_H
58074 #include <ieeefp.h>
58075 #endif
58078 main ()
58080 _isinf(0);
58082 return 0;
58084 _ACEOF
58085 if ac_fn_cxx_try_compile "$LINENO"; then :
58086 glibcxx_cv_func__isinf_use=yes
58087 else
58088 glibcxx_cv_func__isinf_use=no
58090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58091 ac_ext=c
58092 ac_cpp='$CPP $CPPFLAGS'
58093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58102 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58104 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58105 for ac_func in _isinf
58106 do :
58107 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58108 if test "x$ac_cv_func__isinf" = x""yes; then :
58109 cat >>confdefs.h <<_ACEOF
58110 #define HAVE__ISINF 1
58111 _ACEOF
58114 done
58123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58124 $as_echo_n "checking for isnan declaration... " >&6; }
58125 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58126 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58127 $as_echo_n "(cached) " >&6
58128 else
58131 ac_ext=cpp
58132 ac_cpp='$CXXCPP $CPPFLAGS'
58133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58138 /* end confdefs.h. */
58139 #include <math.h>
58140 #ifdef HAVE_IEEEFP_H
58141 #include <ieeefp.h>
58142 #endif
58145 main ()
58147 isnan(0);
58149 return 0;
58151 _ACEOF
58152 if ac_fn_cxx_try_compile "$LINENO"; then :
58153 glibcxx_cv_func_isnan_use=yes
58154 else
58155 glibcxx_cv_func_isnan_use=no
58157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58158 ac_ext=c
58159 ac_cpp='$CPP $CPPFLAGS'
58160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58169 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58171 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58172 for ac_func in isnan
58173 do :
58174 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58175 if test "x$ac_cv_func_isnan" = x""yes; then :
58176 cat >>confdefs.h <<_ACEOF
58177 #define HAVE_ISNAN 1
58178 _ACEOF
58181 done
58183 else
58185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58186 $as_echo_n "checking for _isnan declaration... " >&6; }
58187 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58188 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58189 $as_echo_n "(cached) " >&6
58190 else
58193 ac_ext=cpp
58194 ac_cpp='$CXXCPP $CPPFLAGS'
58195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58200 /* end confdefs.h. */
58201 #include <math.h>
58202 #ifdef HAVE_IEEEFP_H
58203 #include <ieeefp.h>
58204 #endif
58207 main ()
58209 _isnan(0);
58211 return 0;
58213 _ACEOF
58214 if ac_fn_cxx_try_compile "$LINENO"; then :
58215 glibcxx_cv_func__isnan_use=yes
58216 else
58217 glibcxx_cv_func__isnan_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__isnan_use" >&5
58231 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58233 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58234 for ac_func in _isnan
58235 do :
58236 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58237 if test "x$ac_cv_func__isnan" = x""yes; then :
58238 cat >>confdefs.h <<_ACEOF
58239 #define HAVE__ISNAN 1
58240 _ACEOF
58243 done
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58253 $as_echo_n "checking for finite declaration... " >&6; }
58254 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58255 if test "${glibcxx_cv_func_finite_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>
58269 #ifdef HAVE_IEEEFP_H
58270 #include <ieeefp.h>
58271 #endif
58274 main ()
58276 finite(0);
58278 return 0;
58280 _ACEOF
58281 if ac_fn_cxx_try_compile "$LINENO"; then :
58282 glibcxx_cv_func_finite_use=yes
58283 else
58284 glibcxx_cv_func_finite_use=no
58286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58287 ac_ext=c
58288 ac_cpp='$CPP $CPPFLAGS'
58289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58298 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58300 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58301 for ac_func in finite
58302 do :
58303 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58304 if test "x$ac_cv_func_finite" = x""yes; then :
58305 cat >>confdefs.h <<_ACEOF
58306 #define HAVE_FINITE 1
58307 _ACEOF
58310 done
58312 else
58314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58315 $as_echo_n "checking for _finite declaration... " >&6; }
58316 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58317 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58318 $as_echo_n "(cached) " >&6
58319 else
58322 ac_ext=cpp
58323 ac_cpp='$CXXCPP $CPPFLAGS'
58324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58329 /* end confdefs.h. */
58330 #include <math.h>
58331 #ifdef HAVE_IEEEFP_H
58332 #include <ieeefp.h>
58333 #endif
58336 main ()
58338 _finite(0);
58340 return 0;
58342 _ACEOF
58343 if ac_fn_cxx_try_compile "$LINENO"; then :
58344 glibcxx_cv_func__finite_use=yes
58345 else
58346 glibcxx_cv_func__finite_use=no
58348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58349 ac_ext=c
58350 ac_cpp='$CPP $CPPFLAGS'
58351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58360 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58362 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58363 for ac_func in _finite
58364 do :
58365 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58366 if test "x$ac_cv_func__finite" = x""yes; then :
58367 cat >>confdefs.h <<_ACEOF
58368 #define HAVE__FINITE 1
58369 _ACEOF
58372 done
58381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58382 $as_echo_n "checking for sincos declaration... " >&6; }
58383 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58384 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58385 $as_echo_n "(cached) " >&6
58386 else
58389 ac_ext=cpp
58390 ac_cpp='$CXXCPP $CPPFLAGS'
58391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58396 /* end confdefs.h. */
58397 #include <math.h>
58399 main ()
58401 sincos(0, 0, 0);
58403 return 0;
58405 _ACEOF
58406 if ac_fn_cxx_try_compile "$LINENO"; then :
58407 glibcxx_cv_func_sincos_use=yes
58408 else
58409 glibcxx_cv_func_sincos_use=no
58411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58412 ac_ext=c
58413 ac_cpp='$CPP $CPPFLAGS'
58414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58423 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58425 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58426 for ac_func in sincos
58427 do :
58428 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58429 if test "x$ac_cv_func_sincos" = x""yes; then :
58430 cat >>confdefs.h <<_ACEOF
58431 #define HAVE_SINCOS 1
58432 _ACEOF
58435 done
58437 else
58439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58440 $as_echo_n "checking for _sincos declaration... " >&6; }
58441 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58442 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58443 $as_echo_n "(cached) " >&6
58444 else
58447 ac_ext=cpp
58448 ac_cpp='$CXXCPP $CPPFLAGS'
58449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58454 /* end confdefs.h. */
58455 #include <math.h>
58457 main ()
58459 _sincos(0, 0, 0);
58461 return 0;
58463 _ACEOF
58464 if ac_fn_cxx_try_compile "$LINENO"; then :
58465 glibcxx_cv_func__sincos_use=yes
58466 else
58467 glibcxx_cv_func__sincos_use=no
58469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58470 ac_ext=c
58471 ac_cpp='$CPP $CPPFLAGS'
58472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58481 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58483 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58484 for ac_func in _sincos
58485 do :
58486 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58487 if test "x$ac_cv_func__sincos" = x""yes; then :
58488 cat >>confdefs.h <<_ACEOF
58489 #define HAVE__SINCOS 1
58490 _ACEOF
58493 done
58502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58503 $as_echo_n "checking for fpclass declaration... " >&6; }
58504 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58505 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58506 $as_echo_n "(cached) " >&6
58507 else
58510 ac_ext=cpp
58511 ac_cpp='$CXXCPP $CPPFLAGS'
58512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58517 /* end confdefs.h. */
58518 #include <math.h>
58519 #ifdef HAVE_IEEEFP_H
58520 #include <ieeefp.h>
58521 #endif
58524 main ()
58526 fpclass(0);
58528 return 0;
58530 _ACEOF
58531 if ac_fn_cxx_try_compile "$LINENO"; then :
58532 glibcxx_cv_func_fpclass_use=yes
58533 else
58534 glibcxx_cv_func_fpclass_use=no
58536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58537 ac_ext=c
58538 ac_cpp='$CPP $CPPFLAGS'
58539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58548 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58550 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58551 for ac_func in fpclass
58552 do :
58553 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58554 if test "x$ac_cv_func_fpclass" = x""yes; then :
58555 cat >>confdefs.h <<_ACEOF
58556 #define HAVE_FPCLASS 1
58557 _ACEOF
58560 done
58562 else
58564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58565 $as_echo_n "checking for _fpclass declaration... " >&6; }
58566 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58567 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58568 $as_echo_n "(cached) " >&6
58569 else
58572 ac_ext=cpp
58573 ac_cpp='$CXXCPP $CPPFLAGS'
58574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58579 /* end confdefs.h. */
58580 #include <math.h>
58581 #ifdef HAVE_IEEEFP_H
58582 #include <ieeefp.h>
58583 #endif
58586 main ()
58588 _fpclass(0);
58590 return 0;
58592 _ACEOF
58593 if ac_fn_cxx_try_compile "$LINENO"; then :
58594 glibcxx_cv_func__fpclass_use=yes
58595 else
58596 glibcxx_cv_func__fpclass_use=no
58598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58599 ac_ext=c
58600 ac_cpp='$CPP $CPPFLAGS'
58601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58610 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58612 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58613 for ac_func in _fpclass
58614 do :
58615 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58616 if test "x$ac_cv_func__fpclass" = x""yes; then :
58617 cat >>confdefs.h <<_ACEOF
58618 #define HAVE__FPCLASS 1
58619 _ACEOF
58622 done
58631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58632 $as_echo_n "checking for qfpclass declaration... " >&6; }
58633 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58634 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58635 $as_echo_n "(cached) " >&6
58636 else
58639 ac_ext=cpp
58640 ac_cpp='$CXXCPP $CPPFLAGS'
58641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58646 /* end confdefs.h. */
58647 #include <math.h>
58648 #ifdef HAVE_IEEEFP_H
58649 #include <ieeefp.h>
58650 #endif
58653 main ()
58655 qfpclass(0);
58657 return 0;
58659 _ACEOF
58660 if ac_fn_cxx_try_compile "$LINENO"; then :
58661 glibcxx_cv_func_qfpclass_use=yes
58662 else
58663 glibcxx_cv_func_qfpclass_use=no
58665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58666 ac_ext=c
58667 ac_cpp='$CPP $CPPFLAGS'
58668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58677 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58679 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58680 for ac_func in qfpclass
58681 do :
58682 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58683 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58684 cat >>confdefs.h <<_ACEOF
58685 #define HAVE_QFPCLASS 1
58686 _ACEOF
58689 done
58691 else
58693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58694 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58695 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58696 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58697 $as_echo_n "(cached) " >&6
58698 else
58701 ac_ext=cpp
58702 ac_cpp='$CXXCPP $CPPFLAGS'
58703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58708 /* end confdefs.h. */
58709 #include <math.h>
58710 #ifdef HAVE_IEEEFP_H
58711 #include <ieeefp.h>
58712 #endif
58715 main ()
58717 _qfpclass(0);
58719 return 0;
58721 _ACEOF
58722 if ac_fn_cxx_try_compile "$LINENO"; then :
58723 glibcxx_cv_func__qfpclass_use=yes
58724 else
58725 glibcxx_cv_func__qfpclass_use=no
58727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58728 ac_ext=c
58729 ac_cpp='$CPP $CPPFLAGS'
58730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58739 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58741 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58742 for ac_func in _qfpclass
58743 do :
58744 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58745 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58746 cat >>confdefs.h <<_ACEOF
58747 #define HAVE__QFPCLASS 1
58748 _ACEOF
58751 done
58760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58761 $as_echo_n "checking for hypot declaration... " >&6; }
58762 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58763 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58764 $as_echo_n "(cached) " >&6
58765 else
58768 ac_ext=cpp
58769 ac_cpp='$CXXCPP $CPPFLAGS'
58770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58775 /* end confdefs.h. */
58776 #include <math.h>
58778 main ()
58780 hypot(0, 0);
58782 return 0;
58784 _ACEOF
58785 if ac_fn_cxx_try_compile "$LINENO"; then :
58786 glibcxx_cv_func_hypot_use=yes
58787 else
58788 glibcxx_cv_func_hypot_use=no
58790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58791 ac_ext=c
58792 ac_cpp='$CPP $CPPFLAGS'
58793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58802 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58804 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58805 for ac_func in hypot
58806 do :
58807 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58808 if test "x$ac_cv_func_hypot" = x""yes; then :
58809 cat >>confdefs.h <<_ACEOF
58810 #define HAVE_HYPOT 1
58811 _ACEOF
58814 done
58816 else
58818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58819 $as_echo_n "checking for _hypot declaration... " >&6; }
58820 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58821 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58822 $as_echo_n "(cached) " >&6
58823 else
58826 ac_ext=cpp
58827 ac_cpp='$CXXCPP $CPPFLAGS'
58828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58833 /* end confdefs.h. */
58834 #include <math.h>
58836 main ()
58838 _hypot(0, 0);
58840 return 0;
58842 _ACEOF
58843 if ac_fn_cxx_try_compile "$LINENO"; then :
58844 glibcxx_cv_func__hypot_use=yes
58845 else
58846 glibcxx_cv_func__hypot_use=no
58848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58849 ac_ext=c
58850 ac_cpp='$CPP $CPPFLAGS'
58851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58860 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58862 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58863 for ac_func in _hypot
58864 do :
58865 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58866 if test "x$ac_cv_func__hypot" = x""yes; then :
58867 cat >>confdefs.h <<_ACEOF
58868 #define HAVE__HYPOT 1
58869 _ACEOF
58872 done
58881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58882 $as_echo_n "checking for float trig functions... " >&6; }
58883 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58884 $as_echo_n "(cached) " >&6
58885 else
58888 ac_ext=cpp
58889 ac_cpp='$CXXCPP $CPPFLAGS'
58890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58895 /* end confdefs.h. */
58896 #include <math.h>
58898 main ()
58900 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58902 return 0;
58904 _ACEOF
58905 if ac_fn_cxx_try_compile "$LINENO"; then :
58906 glibcxx_cv_func_float_trig_use=yes
58907 else
58908 glibcxx_cv_func_float_trig_use=no
58910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58911 ac_ext=c
58912 ac_cpp='$CPP $CPPFLAGS'
58913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58920 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58921 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58922 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58923 do :
58924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58926 eval as_val=\$$as_ac_var
58927 if test "x$as_val" = x""yes; then :
58928 cat >>confdefs.h <<_ACEOF
58929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58930 _ACEOF
58933 done
58935 else
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58937 $as_echo_n "checking for _float trig functions... " >&6; }
58938 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58939 $as_echo_n "(cached) " >&6
58940 else
58943 ac_ext=cpp
58944 ac_cpp='$CXXCPP $CPPFLAGS'
58945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58950 /* end confdefs.h. */
58951 #include <math.h>
58953 main ()
58955 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58957 return 0;
58959 _ACEOF
58960 if ac_fn_cxx_try_compile "$LINENO"; then :
58961 glibcxx_cv_func__float_trig_use=yes
58962 else
58963 glibcxx_cv_func__float_trig_use=no
58965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58966 ac_ext=c
58967 ac_cpp='$CPP $CPPFLAGS'
58968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58975 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58976 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58977 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58978 do :
58979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58981 eval as_val=\$$as_ac_var
58982 if test "x$as_val" = x""yes; then :
58983 cat >>confdefs.h <<_ACEOF
58984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58985 _ACEOF
58988 done
58997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58998 $as_echo_n "checking for float round functions... " >&6; }
58999 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59000 $as_echo_n "(cached) " >&6
59001 else
59004 ac_ext=cpp
59005 ac_cpp='$CXXCPP $CPPFLAGS'
59006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59011 /* end confdefs.h. */
59012 #include <math.h>
59014 main ()
59016 ceilf (0); floorf (0);
59018 return 0;
59020 _ACEOF
59021 if ac_fn_cxx_try_compile "$LINENO"; then :
59022 glibcxx_cv_func_float_round_use=yes
59023 else
59024 glibcxx_cv_func_float_round_use=no
59026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59027 ac_ext=c
59028 ac_cpp='$CPP $CPPFLAGS'
59029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59036 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59037 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59038 for ac_func in ceilf floorf
59039 do :
59040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59042 eval as_val=\$$as_ac_var
59043 if test "x$as_val" = x""yes; then :
59044 cat >>confdefs.h <<_ACEOF
59045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59046 _ACEOF
59049 done
59051 else
59052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59053 $as_echo_n "checking for _float round functions... " >&6; }
59054 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59055 $as_echo_n "(cached) " >&6
59056 else
59059 ac_ext=cpp
59060 ac_cpp='$CXXCPP $CPPFLAGS'
59061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59066 /* end confdefs.h. */
59067 #include <math.h>
59069 main ()
59071 _ceilf (0); _floorf (0);
59073 return 0;
59075 _ACEOF
59076 if ac_fn_cxx_try_compile "$LINENO"; then :
59077 glibcxx_cv_func__float_round_use=yes
59078 else
59079 glibcxx_cv_func__float_round_use=no
59081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59082 ac_ext=c
59083 ac_cpp='$CPP $CPPFLAGS'
59084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59091 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59092 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59093 for ac_func in _ceilf _floorf
59094 do :
59095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59097 eval as_val=\$$as_ac_var
59098 if test "x$as_val" = x""yes; then :
59099 cat >>confdefs.h <<_ACEOF
59100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59101 _ACEOF
59104 done
59114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59115 $as_echo_n "checking for expf declaration... " >&6; }
59116 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59117 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59118 $as_echo_n "(cached) " >&6
59119 else
59122 ac_ext=cpp
59123 ac_cpp='$CXXCPP $CPPFLAGS'
59124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59129 /* end confdefs.h. */
59130 #include <math.h>
59131 #ifdef HAVE_IEEEFP_H
59132 #include <ieeefp.h>
59133 #endif
59136 main ()
59138 expf(0);
59140 return 0;
59142 _ACEOF
59143 if ac_fn_cxx_try_compile "$LINENO"; then :
59144 glibcxx_cv_func_expf_use=yes
59145 else
59146 glibcxx_cv_func_expf_use=no
59148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59149 ac_ext=c
59150 ac_cpp='$CPP $CPPFLAGS'
59151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59160 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59162 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59163 for ac_func in expf
59164 do :
59165 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59166 if test "x$ac_cv_func_expf" = x""yes; then :
59167 cat >>confdefs.h <<_ACEOF
59168 #define HAVE_EXPF 1
59169 _ACEOF
59172 done
59174 else
59176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59177 $as_echo_n "checking for _expf declaration... " >&6; }
59178 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59179 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59180 $as_echo_n "(cached) " >&6
59181 else
59184 ac_ext=cpp
59185 ac_cpp='$CXXCPP $CPPFLAGS'
59186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59191 /* end confdefs.h. */
59192 #include <math.h>
59193 #ifdef HAVE_IEEEFP_H
59194 #include <ieeefp.h>
59195 #endif
59198 main ()
59200 _expf(0);
59202 return 0;
59204 _ACEOF
59205 if ac_fn_cxx_try_compile "$LINENO"; then :
59206 glibcxx_cv_func__expf_use=yes
59207 else
59208 glibcxx_cv_func__expf_use=no
59210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59211 ac_ext=c
59212 ac_cpp='$CPP $CPPFLAGS'
59213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59222 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59224 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59225 for ac_func in _expf
59226 do :
59227 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59228 if test "x$ac_cv_func__expf" = x""yes; then :
59229 cat >>confdefs.h <<_ACEOF
59230 #define HAVE__EXPF 1
59231 _ACEOF
59234 done
59243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59244 $as_echo_n "checking for isnanf declaration... " >&6; }
59245 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59246 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59247 $as_echo_n "(cached) " >&6
59248 else
59251 ac_ext=cpp
59252 ac_cpp='$CXXCPP $CPPFLAGS'
59253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59258 /* end confdefs.h. */
59259 #include <math.h>
59260 #ifdef HAVE_IEEEFP_H
59261 #include <ieeefp.h>
59262 #endif
59265 main ()
59267 isnanf(0);
59269 return 0;
59271 _ACEOF
59272 if ac_fn_cxx_try_compile "$LINENO"; then :
59273 glibcxx_cv_func_isnanf_use=yes
59274 else
59275 glibcxx_cv_func_isnanf_use=no
59277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59278 ac_ext=c
59279 ac_cpp='$CPP $CPPFLAGS'
59280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59289 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59291 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59292 for ac_func in isnanf
59293 do :
59294 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59295 if test "x$ac_cv_func_isnanf" = x""yes; then :
59296 cat >>confdefs.h <<_ACEOF
59297 #define HAVE_ISNANF 1
59298 _ACEOF
59301 done
59303 else
59305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59306 $as_echo_n "checking for _isnanf declaration... " >&6; }
59307 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59308 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59309 $as_echo_n "(cached) " >&6
59310 else
59313 ac_ext=cpp
59314 ac_cpp='$CXXCPP $CPPFLAGS'
59315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59320 /* end confdefs.h. */
59321 #include <math.h>
59322 #ifdef HAVE_IEEEFP_H
59323 #include <ieeefp.h>
59324 #endif
59327 main ()
59329 _isnanf(0);
59331 return 0;
59333 _ACEOF
59334 if ac_fn_cxx_try_compile "$LINENO"; then :
59335 glibcxx_cv_func__isnanf_use=yes
59336 else
59337 glibcxx_cv_func__isnanf_use=no
59339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59340 ac_ext=c
59341 ac_cpp='$CPP $CPPFLAGS'
59342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59351 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59353 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59354 for ac_func in _isnanf
59355 do :
59356 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59357 if test "x$ac_cv_func__isnanf" = x""yes; then :
59358 cat >>confdefs.h <<_ACEOF
59359 #define HAVE__ISNANF 1
59360 _ACEOF
59363 done
59372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59373 $as_echo_n "checking for isinff declaration... " >&6; }
59374 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59375 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59376 $as_echo_n "(cached) " >&6
59377 else
59380 ac_ext=cpp
59381 ac_cpp='$CXXCPP $CPPFLAGS'
59382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59387 /* end confdefs.h. */
59388 #include <math.h>
59389 #ifdef HAVE_IEEEFP_H
59390 #include <ieeefp.h>
59391 #endif
59394 main ()
59396 isinff(0);
59398 return 0;
59400 _ACEOF
59401 if ac_fn_cxx_try_compile "$LINENO"; then :
59402 glibcxx_cv_func_isinff_use=yes
59403 else
59404 glibcxx_cv_func_isinff_use=no
59406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59407 ac_ext=c
59408 ac_cpp='$CPP $CPPFLAGS'
59409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59418 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59420 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59421 for ac_func in isinff
59422 do :
59423 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59424 if test "x$ac_cv_func_isinff" = x""yes; then :
59425 cat >>confdefs.h <<_ACEOF
59426 #define HAVE_ISINFF 1
59427 _ACEOF
59430 done
59432 else
59434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59435 $as_echo_n "checking for _isinff declaration... " >&6; }
59436 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59437 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59438 $as_echo_n "(cached) " >&6
59439 else
59442 ac_ext=cpp
59443 ac_cpp='$CXXCPP $CPPFLAGS'
59444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59449 /* end confdefs.h. */
59450 #include <math.h>
59451 #ifdef HAVE_IEEEFP_H
59452 #include <ieeefp.h>
59453 #endif
59456 main ()
59458 _isinff(0);
59460 return 0;
59462 _ACEOF
59463 if ac_fn_cxx_try_compile "$LINENO"; then :
59464 glibcxx_cv_func__isinff_use=yes
59465 else
59466 glibcxx_cv_func__isinff_use=no
59468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59469 ac_ext=c
59470 ac_cpp='$CPP $CPPFLAGS'
59471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59480 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59482 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59483 for ac_func in _isinff
59484 do :
59485 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59486 if test "x$ac_cv_func__isinff" = x""yes; then :
59487 cat >>confdefs.h <<_ACEOF
59488 #define HAVE__ISINFF 1
59489 _ACEOF
59492 done
59501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59502 $as_echo_n "checking for atan2f declaration... " >&6; }
59503 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59504 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59505 $as_echo_n "(cached) " >&6
59506 else
59509 ac_ext=cpp
59510 ac_cpp='$CXXCPP $CPPFLAGS'
59511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59516 /* end confdefs.h. */
59517 #include <math.h>
59519 main ()
59521 atan2f(0, 0);
59523 return 0;
59525 _ACEOF
59526 if ac_fn_cxx_try_compile "$LINENO"; then :
59527 glibcxx_cv_func_atan2f_use=yes
59528 else
59529 glibcxx_cv_func_atan2f_use=no
59531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59532 ac_ext=c
59533 ac_cpp='$CPP $CPPFLAGS'
59534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59543 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59545 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59546 for ac_func in atan2f
59547 do :
59548 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59549 if test "x$ac_cv_func_atan2f" = x""yes; then :
59550 cat >>confdefs.h <<_ACEOF
59551 #define HAVE_ATAN2F 1
59552 _ACEOF
59555 done
59557 else
59559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59560 $as_echo_n "checking for _atan2f declaration... " >&6; }
59561 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59562 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59563 $as_echo_n "(cached) " >&6
59564 else
59567 ac_ext=cpp
59568 ac_cpp='$CXXCPP $CPPFLAGS'
59569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59574 /* end confdefs.h. */
59575 #include <math.h>
59577 main ()
59579 _atan2f(0, 0);
59581 return 0;
59583 _ACEOF
59584 if ac_fn_cxx_try_compile "$LINENO"; then :
59585 glibcxx_cv_func__atan2f_use=yes
59586 else
59587 glibcxx_cv_func__atan2f_use=no
59589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59590 ac_ext=c
59591 ac_cpp='$CPP $CPPFLAGS'
59592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59601 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59603 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59604 for ac_func in _atan2f
59605 do :
59606 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59607 if test "x$ac_cv_func__atan2f" = x""yes; then :
59608 cat >>confdefs.h <<_ACEOF
59609 #define HAVE__ATAN2F 1
59610 _ACEOF
59613 done
59622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59623 $as_echo_n "checking for fabsf declaration... " >&6; }
59624 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59625 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59626 $as_echo_n "(cached) " >&6
59627 else
59630 ac_ext=cpp
59631 ac_cpp='$CXXCPP $CPPFLAGS'
59632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59637 /* end confdefs.h. */
59638 #include <math.h>
59639 #ifdef HAVE_IEEEFP_H
59640 #include <ieeefp.h>
59641 #endif
59644 main ()
59646 fabsf(0);
59648 return 0;
59650 _ACEOF
59651 if ac_fn_cxx_try_compile "$LINENO"; then :
59652 glibcxx_cv_func_fabsf_use=yes
59653 else
59654 glibcxx_cv_func_fabsf_use=no
59656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59657 ac_ext=c
59658 ac_cpp='$CPP $CPPFLAGS'
59659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59668 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59670 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59671 for ac_func in fabsf
59672 do :
59673 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59674 if test "x$ac_cv_func_fabsf" = x""yes; then :
59675 cat >>confdefs.h <<_ACEOF
59676 #define HAVE_FABSF 1
59677 _ACEOF
59680 done
59682 else
59684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59685 $as_echo_n "checking for _fabsf declaration... " >&6; }
59686 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59687 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59688 $as_echo_n "(cached) " >&6
59689 else
59692 ac_ext=cpp
59693 ac_cpp='$CXXCPP $CPPFLAGS'
59694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59699 /* end confdefs.h. */
59700 #include <math.h>
59701 #ifdef HAVE_IEEEFP_H
59702 #include <ieeefp.h>
59703 #endif
59706 main ()
59708 _fabsf(0);
59710 return 0;
59712 _ACEOF
59713 if ac_fn_cxx_try_compile "$LINENO"; then :
59714 glibcxx_cv_func__fabsf_use=yes
59715 else
59716 glibcxx_cv_func__fabsf_use=no
59718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59719 ac_ext=c
59720 ac_cpp='$CPP $CPPFLAGS'
59721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59730 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59732 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59733 for ac_func in _fabsf
59734 do :
59735 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59736 if test "x$ac_cv_func__fabsf" = x""yes; then :
59737 cat >>confdefs.h <<_ACEOF
59738 #define HAVE__FABSF 1
59739 _ACEOF
59742 done
59751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59752 $as_echo_n "checking for fmodf declaration... " >&6; }
59753 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59754 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59755 $as_echo_n "(cached) " >&6
59756 else
59759 ac_ext=cpp
59760 ac_cpp='$CXXCPP $CPPFLAGS'
59761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59766 /* end confdefs.h. */
59767 #include <math.h>
59769 main ()
59771 fmodf(0, 0);
59773 return 0;
59775 _ACEOF
59776 if ac_fn_cxx_try_compile "$LINENO"; then :
59777 glibcxx_cv_func_fmodf_use=yes
59778 else
59779 glibcxx_cv_func_fmodf_use=no
59781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59782 ac_ext=c
59783 ac_cpp='$CPP $CPPFLAGS'
59784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59793 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59795 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59796 for ac_func in fmodf
59797 do :
59798 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59799 if test "x$ac_cv_func_fmodf" = x""yes; then :
59800 cat >>confdefs.h <<_ACEOF
59801 #define HAVE_FMODF 1
59802 _ACEOF
59805 done
59807 else
59809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59810 $as_echo_n "checking for _fmodf declaration... " >&6; }
59811 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59812 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59813 $as_echo_n "(cached) " >&6
59814 else
59817 ac_ext=cpp
59818 ac_cpp='$CXXCPP $CPPFLAGS'
59819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59824 /* end confdefs.h. */
59825 #include <math.h>
59827 main ()
59829 _fmodf(0, 0);
59831 return 0;
59833 _ACEOF
59834 if ac_fn_cxx_try_compile "$LINENO"; then :
59835 glibcxx_cv_func__fmodf_use=yes
59836 else
59837 glibcxx_cv_func__fmodf_use=no
59839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59840 ac_ext=c
59841 ac_cpp='$CPP $CPPFLAGS'
59842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59851 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59853 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59854 for ac_func in _fmodf
59855 do :
59856 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59857 if test "x$ac_cv_func__fmodf" = x""yes; then :
59858 cat >>confdefs.h <<_ACEOF
59859 #define HAVE__FMODF 1
59860 _ACEOF
59863 done
59872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59873 $as_echo_n "checking for frexpf declaration... " >&6; }
59874 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59875 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59876 $as_echo_n "(cached) " >&6
59877 else
59880 ac_ext=cpp
59881 ac_cpp='$CXXCPP $CPPFLAGS'
59882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59887 /* end confdefs.h. */
59888 #include <math.h>
59890 main ()
59892 frexpf(0, 0);
59894 return 0;
59896 _ACEOF
59897 if ac_fn_cxx_try_compile "$LINENO"; then :
59898 glibcxx_cv_func_frexpf_use=yes
59899 else
59900 glibcxx_cv_func_frexpf_use=no
59902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59903 ac_ext=c
59904 ac_cpp='$CPP $CPPFLAGS'
59905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59914 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59916 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59917 for ac_func in frexpf
59918 do :
59919 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59920 if test "x$ac_cv_func_frexpf" = x""yes; then :
59921 cat >>confdefs.h <<_ACEOF
59922 #define HAVE_FREXPF 1
59923 _ACEOF
59926 done
59928 else
59930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59931 $as_echo_n "checking for _frexpf declaration... " >&6; }
59932 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59933 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59934 $as_echo_n "(cached) " >&6
59935 else
59938 ac_ext=cpp
59939 ac_cpp='$CXXCPP $CPPFLAGS'
59940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59945 /* end confdefs.h. */
59946 #include <math.h>
59948 main ()
59950 _frexpf(0, 0);
59952 return 0;
59954 _ACEOF
59955 if ac_fn_cxx_try_compile "$LINENO"; then :
59956 glibcxx_cv_func__frexpf_use=yes
59957 else
59958 glibcxx_cv_func__frexpf_use=no
59960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59961 ac_ext=c
59962 ac_cpp='$CPP $CPPFLAGS'
59963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59972 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59974 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59975 for ac_func in _frexpf
59976 do :
59977 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59978 if test "x$ac_cv_func__frexpf" = x""yes; then :
59979 cat >>confdefs.h <<_ACEOF
59980 #define HAVE__FREXPF 1
59981 _ACEOF
59984 done
59993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59994 $as_echo_n "checking for hypotf declaration... " >&6; }
59995 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59996 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59997 $as_echo_n "(cached) " >&6
59998 else
60001 ac_ext=cpp
60002 ac_cpp='$CXXCPP $CPPFLAGS'
60003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60008 /* end confdefs.h. */
60009 #include <math.h>
60011 main ()
60013 hypotf(0, 0);
60015 return 0;
60017 _ACEOF
60018 if ac_fn_cxx_try_compile "$LINENO"; then :
60019 glibcxx_cv_func_hypotf_use=yes
60020 else
60021 glibcxx_cv_func_hypotf_use=no
60023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60024 ac_ext=c
60025 ac_cpp='$CPP $CPPFLAGS'
60026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60035 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60037 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60038 for ac_func in hypotf
60039 do :
60040 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60041 if test "x$ac_cv_func_hypotf" = x""yes; then :
60042 cat >>confdefs.h <<_ACEOF
60043 #define HAVE_HYPOTF 1
60044 _ACEOF
60047 done
60049 else
60051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60052 $as_echo_n "checking for _hypotf declaration... " >&6; }
60053 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60054 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60055 $as_echo_n "(cached) " >&6
60056 else
60059 ac_ext=cpp
60060 ac_cpp='$CXXCPP $CPPFLAGS'
60061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60066 /* end confdefs.h. */
60067 #include <math.h>
60069 main ()
60071 _hypotf(0, 0);
60073 return 0;
60075 _ACEOF
60076 if ac_fn_cxx_try_compile "$LINENO"; then :
60077 glibcxx_cv_func__hypotf_use=yes
60078 else
60079 glibcxx_cv_func__hypotf_use=no
60081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60082 ac_ext=c
60083 ac_cpp='$CPP $CPPFLAGS'
60084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60093 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60095 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60096 for ac_func in _hypotf
60097 do :
60098 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60099 if test "x$ac_cv_func__hypotf" = x""yes; then :
60100 cat >>confdefs.h <<_ACEOF
60101 #define HAVE__HYPOTF 1
60102 _ACEOF
60105 done
60114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60115 $as_echo_n "checking for ldexpf declaration... " >&6; }
60116 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60117 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60118 $as_echo_n "(cached) " >&6
60119 else
60122 ac_ext=cpp
60123 ac_cpp='$CXXCPP $CPPFLAGS'
60124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60129 /* end confdefs.h. */
60130 #include <math.h>
60132 main ()
60134 ldexpf(0, 0);
60136 return 0;
60138 _ACEOF
60139 if ac_fn_cxx_try_compile "$LINENO"; then :
60140 glibcxx_cv_func_ldexpf_use=yes
60141 else
60142 glibcxx_cv_func_ldexpf_use=no
60144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60145 ac_ext=c
60146 ac_cpp='$CPP $CPPFLAGS'
60147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60156 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60158 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60159 for ac_func in ldexpf
60160 do :
60161 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60162 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60163 cat >>confdefs.h <<_ACEOF
60164 #define HAVE_LDEXPF 1
60165 _ACEOF
60168 done
60170 else
60172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60173 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60174 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60175 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60176 $as_echo_n "(cached) " >&6
60177 else
60180 ac_ext=cpp
60181 ac_cpp='$CXXCPP $CPPFLAGS'
60182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60187 /* end confdefs.h. */
60188 #include <math.h>
60190 main ()
60192 _ldexpf(0, 0);
60194 return 0;
60196 _ACEOF
60197 if ac_fn_cxx_try_compile "$LINENO"; then :
60198 glibcxx_cv_func__ldexpf_use=yes
60199 else
60200 glibcxx_cv_func__ldexpf_use=no
60202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60203 ac_ext=c
60204 ac_cpp='$CPP $CPPFLAGS'
60205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60214 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60216 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60217 for ac_func in _ldexpf
60218 do :
60219 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60220 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60221 cat >>confdefs.h <<_ACEOF
60222 #define HAVE__LDEXPF 1
60223 _ACEOF
60226 done
60235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60236 $as_echo_n "checking for logf declaration... " >&6; }
60237 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60238 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60239 $as_echo_n "(cached) " >&6
60240 else
60243 ac_ext=cpp
60244 ac_cpp='$CXXCPP $CPPFLAGS'
60245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60250 /* end confdefs.h. */
60251 #include <math.h>
60252 #ifdef HAVE_IEEEFP_H
60253 #include <ieeefp.h>
60254 #endif
60257 main ()
60259 logf(0);
60261 return 0;
60263 _ACEOF
60264 if ac_fn_cxx_try_compile "$LINENO"; then :
60265 glibcxx_cv_func_logf_use=yes
60266 else
60267 glibcxx_cv_func_logf_use=no
60269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60270 ac_ext=c
60271 ac_cpp='$CPP $CPPFLAGS'
60272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60281 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60283 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60284 for ac_func in logf
60285 do :
60286 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60287 if test "x$ac_cv_func_logf" = x""yes; then :
60288 cat >>confdefs.h <<_ACEOF
60289 #define HAVE_LOGF 1
60290 _ACEOF
60293 done
60295 else
60297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60298 $as_echo_n "checking for _logf declaration... " >&6; }
60299 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60300 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60301 $as_echo_n "(cached) " >&6
60302 else
60305 ac_ext=cpp
60306 ac_cpp='$CXXCPP $CPPFLAGS'
60307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60312 /* end confdefs.h. */
60313 #include <math.h>
60314 #ifdef HAVE_IEEEFP_H
60315 #include <ieeefp.h>
60316 #endif
60319 main ()
60321 _logf(0);
60323 return 0;
60325 _ACEOF
60326 if ac_fn_cxx_try_compile "$LINENO"; then :
60327 glibcxx_cv_func__logf_use=yes
60328 else
60329 glibcxx_cv_func__logf_use=no
60331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60332 ac_ext=c
60333 ac_cpp='$CPP $CPPFLAGS'
60334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60343 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60345 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60346 for ac_func in _logf
60347 do :
60348 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60349 if test "x$ac_cv_func__logf" = x""yes; then :
60350 cat >>confdefs.h <<_ACEOF
60351 #define HAVE__LOGF 1
60352 _ACEOF
60355 done
60364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60365 $as_echo_n "checking for log10f declaration... " >&6; }
60366 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60367 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60368 $as_echo_n "(cached) " >&6
60369 else
60372 ac_ext=cpp
60373 ac_cpp='$CXXCPP $CPPFLAGS'
60374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60379 /* end confdefs.h. */
60380 #include <math.h>
60381 #ifdef HAVE_IEEEFP_H
60382 #include <ieeefp.h>
60383 #endif
60386 main ()
60388 log10f(0);
60390 return 0;
60392 _ACEOF
60393 if ac_fn_cxx_try_compile "$LINENO"; then :
60394 glibcxx_cv_func_log10f_use=yes
60395 else
60396 glibcxx_cv_func_log10f_use=no
60398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60399 ac_ext=c
60400 ac_cpp='$CPP $CPPFLAGS'
60401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60410 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60412 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60413 for ac_func in log10f
60414 do :
60415 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60416 if test "x$ac_cv_func_log10f" = x""yes; then :
60417 cat >>confdefs.h <<_ACEOF
60418 #define HAVE_LOG10F 1
60419 _ACEOF
60422 done
60424 else
60426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60427 $as_echo_n "checking for _log10f declaration... " >&6; }
60428 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60429 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60430 $as_echo_n "(cached) " >&6
60431 else
60434 ac_ext=cpp
60435 ac_cpp='$CXXCPP $CPPFLAGS'
60436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60441 /* end confdefs.h. */
60442 #include <math.h>
60443 #ifdef HAVE_IEEEFP_H
60444 #include <ieeefp.h>
60445 #endif
60448 main ()
60450 _log10f(0);
60452 return 0;
60454 _ACEOF
60455 if ac_fn_cxx_try_compile "$LINENO"; then :
60456 glibcxx_cv_func__log10f_use=yes
60457 else
60458 glibcxx_cv_func__log10f_use=no
60460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60461 ac_ext=c
60462 ac_cpp='$CPP $CPPFLAGS'
60463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60472 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60474 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60475 for ac_func in _log10f
60476 do :
60477 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60478 if test "x$ac_cv_func__log10f" = x""yes; then :
60479 cat >>confdefs.h <<_ACEOF
60480 #define HAVE__LOG10F 1
60481 _ACEOF
60484 done
60493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60494 $as_echo_n "checking for modff declaration... " >&6; }
60495 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60496 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60497 $as_echo_n "(cached) " >&6
60498 else
60501 ac_ext=cpp
60502 ac_cpp='$CXXCPP $CPPFLAGS'
60503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60508 /* end confdefs.h. */
60509 #include <math.h>
60511 main ()
60513 modff(0, 0);
60515 return 0;
60517 _ACEOF
60518 if ac_fn_cxx_try_compile "$LINENO"; then :
60519 glibcxx_cv_func_modff_use=yes
60520 else
60521 glibcxx_cv_func_modff_use=no
60523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60524 ac_ext=c
60525 ac_cpp='$CPP $CPPFLAGS'
60526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60535 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60537 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60538 for ac_func in modff
60539 do :
60540 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60541 if test "x$ac_cv_func_modff" = x""yes; then :
60542 cat >>confdefs.h <<_ACEOF
60543 #define HAVE_MODFF 1
60544 _ACEOF
60547 done
60549 else
60551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60552 $as_echo_n "checking for _modff declaration... " >&6; }
60553 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60554 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60555 $as_echo_n "(cached) " >&6
60556 else
60559 ac_ext=cpp
60560 ac_cpp='$CXXCPP $CPPFLAGS'
60561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60566 /* end confdefs.h. */
60567 #include <math.h>
60569 main ()
60571 _modff(0, 0);
60573 return 0;
60575 _ACEOF
60576 if ac_fn_cxx_try_compile "$LINENO"; then :
60577 glibcxx_cv_func__modff_use=yes
60578 else
60579 glibcxx_cv_func__modff_use=no
60581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60582 ac_ext=c
60583 ac_cpp='$CPP $CPPFLAGS'
60584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60593 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60595 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60596 for ac_func in _modff
60597 do :
60598 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60599 if test "x$ac_cv_func__modff" = x""yes; then :
60600 cat >>confdefs.h <<_ACEOF
60601 #define HAVE__MODFF 1
60602 _ACEOF
60605 done
60614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60615 $as_echo_n "checking for modf declaration... " >&6; }
60616 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60617 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60618 $as_echo_n "(cached) " >&6
60619 else
60622 ac_ext=cpp
60623 ac_cpp='$CXXCPP $CPPFLAGS'
60624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60629 /* end confdefs.h. */
60630 #include <math.h>
60632 main ()
60634 modf(0, 0);
60636 return 0;
60638 _ACEOF
60639 if ac_fn_cxx_try_compile "$LINENO"; then :
60640 glibcxx_cv_func_modf_use=yes
60641 else
60642 glibcxx_cv_func_modf_use=no
60644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60645 ac_ext=c
60646 ac_cpp='$CPP $CPPFLAGS'
60647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60656 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60658 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60659 for ac_func in modf
60660 do :
60661 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60662 if test "x$ac_cv_func_modf" = x""yes; then :
60663 cat >>confdefs.h <<_ACEOF
60664 #define HAVE_MODF 1
60665 _ACEOF
60668 done
60670 else
60672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60673 $as_echo_n "checking for _modf declaration... " >&6; }
60674 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60675 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60676 $as_echo_n "(cached) " >&6
60677 else
60680 ac_ext=cpp
60681 ac_cpp='$CXXCPP $CPPFLAGS'
60682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60687 /* end confdefs.h. */
60688 #include <math.h>
60690 main ()
60692 _modf(0, 0);
60694 return 0;
60696 _ACEOF
60697 if ac_fn_cxx_try_compile "$LINENO"; then :
60698 glibcxx_cv_func__modf_use=yes
60699 else
60700 glibcxx_cv_func__modf_use=no
60702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60703 ac_ext=c
60704 ac_cpp='$CPP $CPPFLAGS'
60705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60714 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60716 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60717 for ac_func in _modf
60718 do :
60719 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60720 if test "x$ac_cv_func__modf" = x""yes; then :
60721 cat >>confdefs.h <<_ACEOF
60722 #define HAVE__MODF 1
60723 _ACEOF
60726 done
60735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60736 $as_echo_n "checking for powf declaration... " >&6; }
60737 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60738 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60739 $as_echo_n "(cached) " >&6
60740 else
60743 ac_ext=cpp
60744 ac_cpp='$CXXCPP $CPPFLAGS'
60745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60750 /* end confdefs.h. */
60751 #include <math.h>
60753 main ()
60755 powf(0, 0);
60757 return 0;
60759 _ACEOF
60760 if ac_fn_cxx_try_compile "$LINENO"; then :
60761 glibcxx_cv_func_powf_use=yes
60762 else
60763 glibcxx_cv_func_powf_use=no
60765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60766 ac_ext=c
60767 ac_cpp='$CPP $CPPFLAGS'
60768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60777 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60779 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60780 for ac_func in powf
60781 do :
60782 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60783 if test "x$ac_cv_func_powf" = x""yes; then :
60784 cat >>confdefs.h <<_ACEOF
60785 #define HAVE_POWF 1
60786 _ACEOF
60789 done
60791 else
60793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60794 $as_echo_n "checking for _powf declaration... " >&6; }
60795 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60796 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60797 $as_echo_n "(cached) " >&6
60798 else
60801 ac_ext=cpp
60802 ac_cpp='$CXXCPP $CPPFLAGS'
60803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60808 /* end confdefs.h. */
60809 #include <math.h>
60811 main ()
60813 _powf(0, 0);
60815 return 0;
60817 _ACEOF
60818 if ac_fn_cxx_try_compile "$LINENO"; then :
60819 glibcxx_cv_func__powf_use=yes
60820 else
60821 glibcxx_cv_func__powf_use=no
60823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60824 ac_ext=c
60825 ac_cpp='$CPP $CPPFLAGS'
60826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60835 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60837 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60838 for ac_func in _powf
60839 do :
60840 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60841 if test "x$ac_cv_func__powf" = x""yes; then :
60842 cat >>confdefs.h <<_ACEOF
60843 #define HAVE__POWF 1
60844 _ACEOF
60847 done
60856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60857 $as_echo_n "checking for sqrtf declaration... " >&6; }
60858 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60859 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60860 $as_echo_n "(cached) " >&6
60861 else
60864 ac_ext=cpp
60865 ac_cpp='$CXXCPP $CPPFLAGS'
60866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60871 /* end confdefs.h. */
60872 #include <math.h>
60873 #ifdef HAVE_IEEEFP_H
60874 #include <ieeefp.h>
60875 #endif
60878 main ()
60880 sqrtf(0);
60882 return 0;
60884 _ACEOF
60885 if ac_fn_cxx_try_compile "$LINENO"; then :
60886 glibcxx_cv_func_sqrtf_use=yes
60887 else
60888 glibcxx_cv_func_sqrtf_use=no
60890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60891 ac_ext=c
60892 ac_cpp='$CPP $CPPFLAGS'
60893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60902 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60904 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60905 for ac_func in sqrtf
60906 do :
60907 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60908 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60909 cat >>confdefs.h <<_ACEOF
60910 #define HAVE_SQRTF 1
60911 _ACEOF
60914 done
60916 else
60918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60919 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60920 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60921 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60922 $as_echo_n "(cached) " >&6
60923 else
60926 ac_ext=cpp
60927 ac_cpp='$CXXCPP $CPPFLAGS'
60928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60933 /* end confdefs.h. */
60934 #include <math.h>
60935 #ifdef HAVE_IEEEFP_H
60936 #include <ieeefp.h>
60937 #endif
60940 main ()
60942 _sqrtf(0);
60944 return 0;
60946 _ACEOF
60947 if ac_fn_cxx_try_compile "$LINENO"; then :
60948 glibcxx_cv_func__sqrtf_use=yes
60949 else
60950 glibcxx_cv_func__sqrtf_use=no
60952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60953 ac_ext=c
60954 ac_cpp='$CPP $CPPFLAGS'
60955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60964 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60966 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60967 for ac_func in _sqrtf
60968 do :
60969 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60970 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60971 cat >>confdefs.h <<_ACEOF
60972 #define HAVE__SQRTF 1
60973 _ACEOF
60976 done
60985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60986 $as_echo_n "checking for sincosf declaration... " >&6; }
60987 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60988 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60989 $as_echo_n "(cached) " >&6
60990 else
60993 ac_ext=cpp
60994 ac_cpp='$CXXCPP $CPPFLAGS'
60995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61000 /* end confdefs.h. */
61001 #include <math.h>
61003 main ()
61005 sincosf(0, 0, 0);
61007 return 0;
61009 _ACEOF
61010 if ac_fn_cxx_try_compile "$LINENO"; then :
61011 glibcxx_cv_func_sincosf_use=yes
61012 else
61013 glibcxx_cv_func_sincosf_use=no
61015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61016 ac_ext=c
61017 ac_cpp='$CPP $CPPFLAGS'
61018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61027 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61029 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61030 for ac_func in sincosf
61031 do :
61032 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61033 if test "x$ac_cv_func_sincosf" = x""yes; then :
61034 cat >>confdefs.h <<_ACEOF
61035 #define HAVE_SINCOSF 1
61036 _ACEOF
61039 done
61041 else
61043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61044 $as_echo_n "checking for _sincosf declaration... " >&6; }
61045 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61046 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61047 $as_echo_n "(cached) " >&6
61048 else
61051 ac_ext=cpp
61052 ac_cpp='$CXXCPP $CPPFLAGS'
61053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61058 /* end confdefs.h. */
61059 #include <math.h>
61061 main ()
61063 _sincosf(0, 0, 0);
61065 return 0;
61067 _ACEOF
61068 if ac_fn_cxx_try_compile "$LINENO"; then :
61069 glibcxx_cv_func__sincosf_use=yes
61070 else
61071 glibcxx_cv_func__sincosf_use=no
61073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61074 ac_ext=c
61075 ac_cpp='$CPP $CPPFLAGS'
61076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61085 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61087 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61088 for ac_func in _sincosf
61089 do :
61090 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61091 if test "x$ac_cv_func__sincosf" = x""yes; then :
61092 cat >>confdefs.h <<_ACEOF
61093 #define HAVE__SINCOSF 1
61094 _ACEOF
61097 done
61106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61107 $as_echo_n "checking for finitef declaration... " >&6; }
61108 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61109 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61110 $as_echo_n "(cached) " >&6
61111 else
61114 ac_ext=cpp
61115 ac_cpp='$CXXCPP $CPPFLAGS'
61116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61121 /* end confdefs.h. */
61122 #include <math.h>
61123 #ifdef HAVE_IEEEFP_H
61124 #include <ieeefp.h>
61125 #endif
61128 main ()
61130 finitef(0);
61132 return 0;
61134 _ACEOF
61135 if ac_fn_cxx_try_compile "$LINENO"; then :
61136 glibcxx_cv_func_finitef_use=yes
61137 else
61138 glibcxx_cv_func_finitef_use=no
61140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61141 ac_ext=c
61142 ac_cpp='$CPP $CPPFLAGS'
61143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61152 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61154 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61155 for ac_func in finitef
61156 do :
61157 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61158 if test "x$ac_cv_func_finitef" = x""yes; then :
61159 cat >>confdefs.h <<_ACEOF
61160 #define HAVE_FINITEF 1
61161 _ACEOF
61164 done
61166 else
61168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61169 $as_echo_n "checking for _finitef declaration... " >&6; }
61170 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61171 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61172 $as_echo_n "(cached) " >&6
61173 else
61176 ac_ext=cpp
61177 ac_cpp='$CXXCPP $CPPFLAGS'
61178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61183 /* end confdefs.h. */
61184 #include <math.h>
61185 #ifdef HAVE_IEEEFP_H
61186 #include <ieeefp.h>
61187 #endif
61190 main ()
61192 _finitef(0);
61194 return 0;
61196 _ACEOF
61197 if ac_fn_cxx_try_compile "$LINENO"; then :
61198 glibcxx_cv_func__finitef_use=yes
61199 else
61200 glibcxx_cv_func__finitef_use=no
61202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61203 ac_ext=c
61204 ac_cpp='$CPP $CPPFLAGS'
61205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61214 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61216 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61217 for ac_func in _finitef
61218 do :
61219 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61220 if test "x$ac_cv_func__finitef" = x""yes; then :
61221 cat >>confdefs.h <<_ACEOF
61222 #define HAVE__FINITEF 1
61223 _ACEOF
61226 done
61235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61236 $as_echo_n "checking for long double trig functions... " >&6; }
61237 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61238 $as_echo_n "(cached) " >&6
61239 else
61242 ac_ext=cpp
61243 ac_cpp='$CXXCPP $CPPFLAGS'
61244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61249 /* end confdefs.h. */
61250 #include <math.h>
61252 main ()
61254 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61256 return 0;
61258 _ACEOF
61259 if ac_fn_cxx_try_compile "$LINENO"; then :
61260 glibcxx_cv_func_long_double_trig_use=yes
61261 else
61262 glibcxx_cv_func_long_double_trig_use=no
61264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61265 ac_ext=c
61266 ac_cpp='$CPP $CPPFLAGS'
61267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61274 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61275 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61276 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61277 do :
61278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61280 eval as_val=\$$as_ac_var
61281 if test "x$as_val" = x""yes; then :
61282 cat >>confdefs.h <<_ACEOF
61283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61284 _ACEOF
61287 done
61289 else
61290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61291 $as_echo_n "checking for _long double trig functions... " >&6; }
61292 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61293 $as_echo_n "(cached) " >&6
61294 else
61297 ac_ext=cpp
61298 ac_cpp='$CXXCPP $CPPFLAGS'
61299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61304 /* end confdefs.h. */
61305 #include <math.h>
61307 main ()
61309 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61311 return 0;
61313 _ACEOF
61314 if ac_fn_cxx_try_compile "$LINENO"; then :
61315 glibcxx_cv_func__long_double_trig_use=yes
61316 else
61317 glibcxx_cv_func__long_double_trig_use=no
61319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61320 ac_ext=c
61321 ac_cpp='$CPP $CPPFLAGS'
61322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61329 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61330 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61331 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61332 do :
61333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61335 eval as_val=\$$as_ac_var
61336 if test "x$as_val" = x""yes; then :
61337 cat >>confdefs.h <<_ACEOF
61338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61339 _ACEOF
61342 done
61351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61352 $as_echo_n "checking for long double round functions... " >&6; }
61353 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61354 $as_echo_n "(cached) " >&6
61355 else
61358 ac_ext=cpp
61359 ac_cpp='$CXXCPP $CPPFLAGS'
61360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61365 /* end confdefs.h. */
61366 #include <math.h>
61368 main ()
61370 ceill (0); floorl (0);
61372 return 0;
61374 _ACEOF
61375 if ac_fn_cxx_try_compile "$LINENO"; then :
61376 glibcxx_cv_func_long_double_round_use=yes
61377 else
61378 glibcxx_cv_func_long_double_round_use=no
61380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61381 ac_ext=c
61382 ac_cpp='$CPP $CPPFLAGS'
61383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61390 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61391 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61392 for ac_func in ceill floorl
61393 do :
61394 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61396 eval as_val=\$$as_ac_var
61397 if test "x$as_val" = x""yes; then :
61398 cat >>confdefs.h <<_ACEOF
61399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61400 _ACEOF
61403 done
61405 else
61406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61407 $as_echo_n "checking for _long double round functions... " >&6; }
61408 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61409 $as_echo_n "(cached) " >&6
61410 else
61413 ac_ext=cpp
61414 ac_cpp='$CXXCPP $CPPFLAGS'
61415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61420 /* end confdefs.h. */
61421 #include <math.h>
61423 main ()
61425 _ceill (0); _floorl (0);
61427 return 0;
61429 _ACEOF
61430 if ac_fn_cxx_try_compile "$LINENO"; then :
61431 glibcxx_cv_func__long_double_round_use=yes
61432 else
61433 glibcxx_cv_func__long_double_round_use=no
61435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61436 ac_ext=c
61437 ac_cpp='$CPP $CPPFLAGS'
61438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61445 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61446 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61447 for ac_func in _ceill _floorl
61448 do :
61449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61451 eval as_val=\$$as_ac_var
61452 if test "x$as_val" = x""yes; then :
61453 cat >>confdefs.h <<_ACEOF
61454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61455 _ACEOF
61458 done
61468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61469 $as_echo_n "checking for isnanl declaration... " >&6; }
61470 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61471 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61472 $as_echo_n "(cached) " >&6
61473 else
61476 ac_ext=cpp
61477 ac_cpp='$CXXCPP $CPPFLAGS'
61478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61483 /* end confdefs.h. */
61484 #include <math.h>
61485 #ifdef HAVE_IEEEFP_H
61486 #include <ieeefp.h>
61487 #endif
61490 main ()
61492 isnanl(0);
61494 return 0;
61496 _ACEOF
61497 if ac_fn_cxx_try_compile "$LINENO"; then :
61498 glibcxx_cv_func_isnanl_use=yes
61499 else
61500 glibcxx_cv_func_isnanl_use=no
61502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61503 ac_ext=c
61504 ac_cpp='$CPP $CPPFLAGS'
61505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61514 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61516 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61517 for ac_func in isnanl
61518 do :
61519 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61520 if test "x$ac_cv_func_isnanl" = x""yes; then :
61521 cat >>confdefs.h <<_ACEOF
61522 #define HAVE_ISNANL 1
61523 _ACEOF
61526 done
61528 else
61530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61531 $as_echo_n "checking for _isnanl declaration... " >&6; }
61532 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61533 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61534 $as_echo_n "(cached) " >&6
61535 else
61538 ac_ext=cpp
61539 ac_cpp='$CXXCPP $CPPFLAGS'
61540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61545 /* end confdefs.h. */
61546 #include <math.h>
61547 #ifdef HAVE_IEEEFP_H
61548 #include <ieeefp.h>
61549 #endif
61552 main ()
61554 _isnanl(0);
61556 return 0;
61558 _ACEOF
61559 if ac_fn_cxx_try_compile "$LINENO"; then :
61560 glibcxx_cv_func__isnanl_use=yes
61561 else
61562 glibcxx_cv_func__isnanl_use=no
61564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61565 ac_ext=c
61566 ac_cpp='$CPP $CPPFLAGS'
61567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61576 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61578 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61579 for ac_func in _isnanl
61580 do :
61581 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61582 if test "x$ac_cv_func__isnanl" = x""yes; then :
61583 cat >>confdefs.h <<_ACEOF
61584 #define HAVE__ISNANL 1
61585 _ACEOF
61588 done
61597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61598 $as_echo_n "checking for isinfl declaration... " >&6; }
61599 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61600 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61601 $as_echo_n "(cached) " >&6
61602 else
61605 ac_ext=cpp
61606 ac_cpp='$CXXCPP $CPPFLAGS'
61607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61612 /* end confdefs.h. */
61613 #include <math.h>
61614 #ifdef HAVE_IEEEFP_H
61615 #include <ieeefp.h>
61616 #endif
61619 main ()
61621 isinfl(0);
61623 return 0;
61625 _ACEOF
61626 if ac_fn_cxx_try_compile "$LINENO"; then :
61627 glibcxx_cv_func_isinfl_use=yes
61628 else
61629 glibcxx_cv_func_isinfl_use=no
61631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61632 ac_ext=c
61633 ac_cpp='$CPP $CPPFLAGS'
61634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61643 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61645 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61646 for ac_func in isinfl
61647 do :
61648 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61649 if test "x$ac_cv_func_isinfl" = x""yes; then :
61650 cat >>confdefs.h <<_ACEOF
61651 #define HAVE_ISINFL 1
61652 _ACEOF
61655 done
61657 else
61659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61660 $as_echo_n "checking for _isinfl declaration... " >&6; }
61661 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61662 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61663 $as_echo_n "(cached) " >&6
61664 else
61667 ac_ext=cpp
61668 ac_cpp='$CXXCPP $CPPFLAGS'
61669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61674 /* end confdefs.h. */
61675 #include <math.h>
61676 #ifdef HAVE_IEEEFP_H
61677 #include <ieeefp.h>
61678 #endif
61681 main ()
61683 _isinfl(0);
61685 return 0;
61687 _ACEOF
61688 if ac_fn_cxx_try_compile "$LINENO"; then :
61689 glibcxx_cv_func__isinfl_use=yes
61690 else
61691 glibcxx_cv_func__isinfl_use=no
61693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61694 ac_ext=c
61695 ac_cpp='$CPP $CPPFLAGS'
61696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61705 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61707 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61708 for ac_func in _isinfl
61709 do :
61710 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61711 if test "x$ac_cv_func__isinfl" = x""yes; then :
61712 cat >>confdefs.h <<_ACEOF
61713 #define HAVE__ISINFL 1
61714 _ACEOF
61717 done
61726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61727 $as_echo_n "checking for atan2l declaration... " >&6; }
61728 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61729 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61730 $as_echo_n "(cached) " >&6
61731 else
61734 ac_ext=cpp
61735 ac_cpp='$CXXCPP $CPPFLAGS'
61736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61741 /* end confdefs.h. */
61742 #include <math.h>
61744 main ()
61746 atan2l(0, 0);
61748 return 0;
61750 _ACEOF
61751 if ac_fn_cxx_try_compile "$LINENO"; then :
61752 glibcxx_cv_func_atan2l_use=yes
61753 else
61754 glibcxx_cv_func_atan2l_use=no
61756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61757 ac_ext=c
61758 ac_cpp='$CPP $CPPFLAGS'
61759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61768 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61770 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61771 for ac_func in atan2l
61772 do :
61773 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61774 if test "x$ac_cv_func_atan2l" = x""yes; then :
61775 cat >>confdefs.h <<_ACEOF
61776 #define HAVE_ATAN2L 1
61777 _ACEOF
61780 done
61782 else
61784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61785 $as_echo_n "checking for _atan2l declaration... " >&6; }
61786 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61787 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61788 $as_echo_n "(cached) " >&6
61789 else
61792 ac_ext=cpp
61793 ac_cpp='$CXXCPP $CPPFLAGS'
61794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61799 /* end confdefs.h. */
61800 #include <math.h>
61802 main ()
61804 _atan2l(0, 0);
61806 return 0;
61808 _ACEOF
61809 if ac_fn_cxx_try_compile "$LINENO"; then :
61810 glibcxx_cv_func__atan2l_use=yes
61811 else
61812 glibcxx_cv_func__atan2l_use=no
61814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61815 ac_ext=c
61816 ac_cpp='$CPP $CPPFLAGS'
61817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61826 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61828 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61829 for ac_func in _atan2l
61830 do :
61831 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61832 if test "x$ac_cv_func__atan2l" = x""yes; then :
61833 cat >>confdefs.h <<_ACEOF
61834 #define HAVE__ATAN2L 1
61835 _ACEOF
61838 done
61847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61848 $as_echo_n "checking for expl declaration... " >&6; }
61849 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61850 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61851 $as_echo_n "(cached) " >&6
61852 else
61855 ac_ext=cpp
61856 ac_cpp='$CXXCPP $CPPFLAGS'
61857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61862 /* end confdefs.h. */
61863 #include <math.h>
61864 #ifdef HAVE_IEEEFP_H
61865 #include <ieeefp.h>
61866 #endif
61869 main ()
61871 expl(0);
61873 return 0;
61875 _ACEOF
61876 if ac_fn_cxx_try_compile "$LINENO"; then :
61877 glibcxx_cv_func_expl_use=yes
61878 else
61879 glibcxx_cv_func_expl_use=no
61881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61882 ac_ext=c
61883 ac_cpp='$CPP $CPPFLAGS'
61884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61893 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61895 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61896 for ac_func in expl
61897 do :
61898 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61899 if test "x$ac_cv_func_expl" = x""yes; then :
61900 cat >>confdefs.h <<_ACEOF
61901 #define HAVE_EXPL 1
61902 _ACEOF
61905 done
61907 else
61909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61910 $as_echo_n "checking for _expl declaration... " >&6; }
61911 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61912 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61913 $as_echo_n "(cached) " >&6
61914 else
61917 ac_ext=cpp
61918 ac_cpp='$CXXCPP $CPPFLAGS'
61919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61924 /* end confdefs.h. */
61925 #include <math.h>
61926 #ifdef HAVE_IEEEFP_H
61927 #include <ieeefp.h>
61928 #endif
61931 main ()
61933 _expl(0);
61935 return 0;
61937 _ACEOF
61938 if ac_fn_cxx_try_compile "$LINENO"; then :
61939 glibcxx_cv_func__expl_use=yes
61940 else
61941 glibcxx_cv_func__expl_use=no
61943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61944 ac_ext=c
61945 ac_cpp='$CPP $CPPFLAGS'
61946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61955 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61957 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61958 for ac_func in _expl
61959 do :
61960 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61961 if test "x$ac_cv_func__expl" = x""yes; then :
61962 cat >>confdefs.h <<_ACEOF
61963 #define HAVE__EXPL 1
61964 _ACEOF
61967 done
61976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61977 $as_echo_n "checking for fabsl declaration... " >&6; }
61978 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61979 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61980 $as_echo_n "(cached) " >&6
61981 else
61984 ac_ext=cpp
61985 ac_cpp='$CXXCPP $CPPFLAGS'
61986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61991 /* end confdefs.h. */
61992 #include <math.h>
61993 #ifdef HAVE_IEEEFP_H
61994 #include <ieeefp.h>
61995 #endif
61998 main ()
62000 fabsl(0);
62002 return 0;
62004 _ACEOF
62005 if ac_fn_cxx_try_compile "$LINENO"; then :
62006 glibcxx_cv_func_fabsl_use=yes
62007 else
62008 glibcxx_cv_func_fabsl_use=no
62010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62011 ac_ext=c
62012 ac_cpp='$CPP $CPPFLAGS'
62013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62022 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62024 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62025 for ac_func in fabsl
62026 do :
62027 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62028 if test "x$ac_cv_func_fabsl" = x""yes; then :
62029 cat >>confdefs.h <<_ACEOF
62030 #define HAVE_FABSL 1
62031 _ACEOF
62034 done
62036 else
62038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62039 $as_echo_n "checking for _fabsl declaration... " >&6; }
62040 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62041 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62042 $as_echo_n "(cached) " >&6
62043 else
62046 ac_ext=cpp
62047 ac_cpp='$CXXCPP $CPPFLAGS'
62048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62053 /* end confdefs.h. */
62054 #include <math.h>
62055 #ifdef HAVE_IEEEFP_H
62056 #include <ieeefp.h>
62057 #endif
62060 main ()
62062 _fabsl(0);
62064 return 0;
62066 _ACEOF
62067 if ac_fn_cxx_try_compile "$LINENO"; then :
62068 glibcxx_cv_func__fabsl_use=yes
62069 else
62070 glibcxx_cv_func__fabsl_use=no
62072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62073 ac_ext=c
62074 ac_cpp='$CPP $CPPFLAGS'
62075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62084 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62086 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62087 for ac_func in _fabsl
62088 do :
62089 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62090 if test "x$ac_cv_func__fabsl" = x""yes; then :
62091 cat >>confdefs.h <<_ACEOF
62092 #define HAVE__FABSL 1
62093 _ACEOF
62096 done
62105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62106 $as_echo_n "checking for fmodl declaration... " >&6; }
62107 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62108 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62109 $as_echo_n "(cached) " >&6
62110 else
62113 ac_ext=cpp
62114 ac_cpp='$CXXCPP $CPPFLAGS'
62115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62120 /* end confdefs.h. */
62121 #include <math.h>
62123 main ()
62125 fmodl(0, 0);
62127 return 0;
62129 _ACEOF
62130 if ac_fn_cxx_try_compile "$LINENO"; then :
62131 glibcxx_cv_func_fmodl_use=yes
62132 else
62133 glibcxx_cv_func_fmodl_use=no
62135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62136 ac_ext=c
62137 ac_cpp='$CPP $CPPFLAGS'
62138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62147 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62149 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62150 for ac_func in fmodl
62151 do :
62152 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62153 if test "x$ac_cv_func_fmodl" = x""yes; then :
62154 cat >>confdefs.h <<_ACEOF
62155 #define HAVE_FMODL 1
62156 _ACEOF
62159 done
62161 else
62163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62164 $as_echo_n "checking for _fmodl declaration... " >&6; }
62165 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62166 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62167 $as_echo_n "(cached) " >&6
62168 else
62171 ac_ext=cpp
62172 ac_cpp='$CXXCPP $CPPFLAGS'
62173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62178 /* end confdefs.h. */
62179 #include <math.h>
62181 main ()
62183 _fmodl(0, 0);
62185 return 0;
62187 _ACEOF
62188 if ac_fn_cxx_try_compile "$LINENO"; then :
62189 glibcxx_cv_func__fmodl_use=yes
62190 else
62191 glibcxx_cv_func__fmodl_use=no
62193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62194 ac_ext=c
62195 ac_cpp='$CPP $CPPFLAGS'
62196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62205 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62207 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62208 for ac_func in _fmodl
62209 do :
62210 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62211 if test "x$ac_cv_func__fmodl" = x""yes; then :
62212 cat >>confdefs.h <<_ACEOF
62213 #define HAVE__FMODL 1
62214 _ACEOF
62217 done
62226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62227 $as_echo_n "checking for frexpl declaration... " >&6; }
62228 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62229 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62230 $as_echo_n "(cached) " >&6
62231 else
62234 ac_ext=cpp
62235 ac_cpp='$CXXCPP $CPPFLAGS'
62236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62241 /* end confdefs.h. */
62242 #include <math.h>
62244 main ()
62246 frexpl(0, 0);
62248 return 0;
62250 _ACEOF
62251 if ac_fn_cxx_try_compile "$LINENO"; then :
62252 glibcxx_cv_func_frexpl_use=yes
62253 else
62254 glibcxx_cv_func_frexpl_use=no
62256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62257 ac_ext=c
62258 ac_cpp='$CPP $CPPFLAGS'
62259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62268 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62270 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62271 for ac_func in frexpl
62272 do :
62273 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62274 if test "x$ac_cv_func_frexpl" = x""yes; then :
62275 cat >>confdefs.h <<_ACEOF
62276 #define HAVE_FREXPL 1
62277 _ACEOF
62280 done
62282 else
62284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62285 $as_echo_n "checking for _frexpl declaration... " >&6; }
62286 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62287 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62288 $as_echo_n "(cached) " >&6
62289 else
62292 ac_ext=cpp
62293 ac_cpp='$CXXCPP $CPPFLAGS'
62294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62299 /* end confdefs.h. */
62300 #include <math.h>
62302 main ()
62304 _frexpl(0, 0);
62306 return 0;
62308 _ACEOF
62309 if ac_fn_cxx_try_compile "$LINENO"; then :
62310 glibcxx_cv_func__frexpl_use=yes
62311 else
62312 glibcxx_cv_func__frexpl_use=no
62314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62315 ac_ext=c
62316 ac_cpp='$CPP $CPPFLAGS'
62317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62326 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62328 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62329 for ac_func in _frexpl
62330 do :
62331 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62332 if test "x$ac_cv_func__frexpl" = x""yes; then :
62333 cat >>confdefs.h <<_ACEOF
62334 #define HAVE__FREXPL 1
62335 _ACEOF
62338 done
62347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62348 $as_echo_n "checking for hypotl declaration... " >&6; }
62349 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62350 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62351 $as_echo_n "(cached) " >&6
62352 else
62355 ac_ext=cpp
62356 ac_cpp='$CXXCPP $CPPFLAGS'
62357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62362 /* end confdefs.h. */
62363 #include <math.h>
62365 main ()
62367 hypotl(0, 0);
62369 return 0;
62371 _ACEOF
62372 if ac_fn_cxx_try_compile "$LINENO"; then :
62373 glibcxx_cv_func_hypotl_use=yes
62374 else
62375 glibcxx_cv_func_hypotl_use=no
62377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62378 ac_ext=c
62379 ac_cpp='$CPP $CPPFLAGS'
62380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62389 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62391 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62392 for ac_func in hypotl
62393 do :
62394 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62395 if test "x$ac_cv_func_hypotl" = x""yes; then :
62396 cat >>confdefs.h <<_ACEOF
62397 #define HAVE_HYPOTL 1
62398 _ACEOF
62401 done
62403 else
62405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62406 $as_echo_n "checking for _hypotl declaration... " >&6; }
62407 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62408 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62409 $as_echo_n "(cached) " >&6
62410 else
62413 ac_ext=cpp
62414 ac_cpp='$CXXCPP $CPPFLAGS'
62415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62420 /* end confdefs.h. */
62421 #include <math.h>
62423 main ()
62425 _hypotl(0, 0);
62427 return 0;
62429 _ACEOF
62430 if ac_fn_cxx_try_compile "$LINENO"; then :
62431 glibcxx_cv_func__hypotl_use=yes
62432 else
62433 glibcxx_cv_func__hypotl_use=no
62435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62436 ac_ext=c
62437 ac_cpp='$CPP $CPPFLAGS'
62438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62447 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62449 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62450 for ac_func in _hypotl
62451 do :
62452 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62453 if test "x$ac_cv_func__hypotl" = x""yes; then :
62454 cat >>confdefs.h <<_ACEOF
62455 #define HAVE__HYPOTL 1
62456 _ACEOF
62459 done
62468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62469 $as_echo_n "checking for ldexpl declaration... " >&6; }
62470 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62471 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62472 $as_echo_n "(cached) " >&6
62473 else
62476 ac_ext=cpp
62477 ac_cpp='$CXXCPP $CPPFLAGS'
62478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62483 /* end confdefs.h. */
62484 #include <math.h>
62486 main ()
62488 ldexpl(0, 0);
62490 return 0;
62492 _ACEOF
62493 if ac_fn_cxx_try_compile "$LINENO"; then :
62494 glibcxx_cv_func_ldexpl_use=yes
62495 else
62496 glibcxx_cv_func_ldexpl_use=no
62498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62499 ac_ext=c
62500 ac_cpp='$CPP $CPPFLAGS'
62501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62510 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62512 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62513 for ac_func in ldexpl
62514 do :
62515 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62516 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62517 cat >>confdefs.h <<_ACEOF
62518 #define HAVE_LDEXPL 1
62519 _ACEOF
62522 done
62524 else
62526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62527 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62528 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62529 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62530 $as_echo_n "(cached) " >&6
62531 else
62534 ac_ext=cpp
62535 ac_cpp='$CXXCPP $CPPFLAGS'
62536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62541 /* end confdefs.h. */
62542 #include <math.h>
62544 main ()
62546 _ldexpl(0, 0);
62548 return 0;
62550 _ACEOF
62551 if ac_fn_cxx_try_compile "$LINENO"; then :
62552 glibcxx_cv_func__ldexpl_use=yes
62553 else
62554 glibcxx_cv_func__ldexpl_use=no
62556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62557 ac_ext=c
62558 ac_cpp='$CPP $CPPFLAGS'
62559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62568 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62570 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62571 for ac_func in _ldexpl
62572 do :
62573 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62574 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62575 cat >>confdefs.h <<_ACEOF
62576 #define HAVE__LDEXPL 1
62577 _ACEOF
62580 done
62589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62590 $as_echo_n "checking for logl declaration... " >&6; }
62591 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62592 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62593 $as_echo_n "(cached) " >&6
62594 else
62597 ac_ext=cpp
62598 ac_cpp='$CXXCPP $CPPFLAGS'
62599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62604 /* end confdefs.h. */
62605 #include <math.h>
62606 #ifdef HAVE_IEEEFP_H
62607 #include <ieeefp.h>
62608 #endif
62611 main ()
62613 logl(0);
62615 return 0;
62617 _ACEOF
62618 if ac_fn_cxx_try_compile "$LINENO"; then :
62619 glibcxx_cv_func_logl_use=yes
62620 else
62621 glibcxx_cv_func_logl_use=no
62623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62624 ac_ext=c
62625 ac_cpp='$CPP $CPPFLAGS'
62626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62635 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62637 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62638 for ac_func in logl
62639 do :
62640 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62641 if test "x$ac_cv_func_logl" = x""yes; then :
62642 cat >>confdefs.h <<_ACEOF
62643 #define HAVE_LOGL 1
62644 _ACEOF
62647 done
62649 else
62651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62652 $as_echo_n "checking for _logl declaration... " >&6; }
62653 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62654 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62655 $as_echo_n "(cached) " >&6
62656 else
62659 ac_ext=cpp
62660 ac_cpp='$CXXCPP $CPPFLAGS'
62661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62666 /* end confdefs.h. */
62667 #include <math.h>
62668 #ifdef HAVE_IEEEFP_H
62669 #include <ieeefp.h>
62670 #endif
62673 main ()
62675 _logl(0);
62677 return 0;
62679 _ACEOF
62680 if ac_fn_cxx_try_compile "$LINENO"; then :
62681 glibcxx_cv_func__logl_use=yes
62682 else
62683 glibcxx_cv_func__logl_use=no
62685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62686 ac_ext=c
62687 ac_cpp='$CPP $CPPFLAGS'
62688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62697 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62699 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62700 for ac_func in _logl
62701 do :
62702 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62703 if test "x$ac_cv_func__logl" = x""yes; then :
62704 cat >>confdefs.h <<_ACEOF
62705 #define HAVE__LOGL 1
62706 _ACEOF
62709 done
62718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62719 $as_echo_n "checking for log10l declaration... " >&6; }
62720 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62721 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62722 $as_echo_n "(cached) " >&6
62723 else
62726 ac_ext=cpp
62727 ac_cpp='$CXXCPP $CPPFLAGS'
62728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62733 /* end confdefs.h. */
62734 #include <math.h>
62735 #ifdef HAVE_IEEEFP_H
62736 #include <ieeefp.h>
62737 #endif
62740 main ()
62742 log10l(0);
62744 return 0;
62746 _ACEOF
62747 if ac_fn_cxx_try_compile "$LINENO"; then :
62748 glibcxx_cv_func_log10l_use=yes
62749 else
62750 glibcxx_cv_func_log10l_use=no
62752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62753 ac_ext=c
62754 ac_cpp='$CPP $CPPFLAGS'
62755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62764 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62766 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62767 for ac_func in log10l
62768 do :
62769 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62770 if test "x$ac_cv_func_log10l" = x""yes; then :
62771 cat >>confdefs.h <<_ACEOF
62772 #define HAVE_LOG10L 1
62773 _ACEOF
62776 done
62778 else
62780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62781 $as_echo_n "checking for _log10l declaration... " >&6; }
62782 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62783 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62784 $as_echo_n "(cached) " >&6
62785 else
62788 ac_ext=cpp
62789 ac_cpp='$CXXCPP $CPPFLAGS'
62790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62795 /* end confdefs.h. */
62796 #include <math.h>
62797 #ifdef HAVE_IEEEFP_H
62798 #include <ieeefp.h>
62799 #endif
62802 main ()
62804 _log10l(0);
62806 return 0;
62808 _ACEOF
62809 if ac_fn_cxx_try_compile "$LINENO"; then :
62810 glibcxx_cv_func__log10l_use=yes
62811 else
62812 glibcxx_cv_func__log10l_use=no
62814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62815 ac_ext=c
62816 ac_cpp='$CPP $CPPFLAGS'
62817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62826 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62828 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62829 for ac_func in _log10l
62830 do :
62831 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62832 if test "x$ac_cv_func__log10l" = x""yes; then :
62833 cat >>confdefs.h <<_ACEOF
62834 #define HAVE__LOG10L 1
62835 _ACEOF
62838 done
62847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62848 $as_echo_n "checking for modfl declaration... " >&6; }
62849 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62850 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62851 $as_echo_n "(cached) " >&6
62852 else
62855 ac_ext=cpp
62856 ac_cpp='$CXXCPP $CPPFLAGS'
62857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62862 /* end confdefs.h. */
62863 #include <math.h>
62865 main ()
62867 modfl(0, 0);
62869 return 0;
62871 _ACEOF
62872 if ac_fn_cxx_try_compile "$LINENO"; then :
62873 glibcxx_cv_func_modfl_use=yes
62874 else
62875 glibcxx_cv_func_modfl_use=no
62877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62878 ac_ext=c
62879 ac_cpp='$CPP $CPPFLAGS'
62880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62889 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62891 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62892 for ac_func in modfl
62893 do :
62894 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62895 if test "x$ac_cv_func_modfl" = x""yes; then :
62896 cat >>confdefs.h <<_ACEOF
62897 #define HAVE_MODFL 1
62898 _ACEOF
62901 done
62903 else
62905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62906 $as_echo_n "checking for _modfl declaration... " >&6; }
62907 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62908 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62909 $as_echo_n "(cached) " >&6
62910 else
62913 ac_ext=cpp
62914 ac_cpp='$CXXCPP $CPPFLAGS'
62915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62920 /* end confdefs.h. */
62921 #include <math.h>
62923 main ()
62925 _modfl(0, 0);
62927 return 0;
62929 _ACEOF
62930 if ac_fn_cxx_try_compile "$LINENO"; then :
62931 glibcxx_cv_func__modfl_use=yes
62932 else
62933 glibcxx_cv_func__modfl_use=no
62935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62936 ac_ext=c
62937 ac_cpp='$CPP $CPPFLAGS'
62938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62947 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62949 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62950 for ac_func in _modfl
62951 do :
62952 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62953 if test "x$ac_cv_func__modfl" = x""yes; then :
62954 cat >>confdefs.h <<_ACEOF
62955 #define HAVE__MODFL 1
62956 _ACEOF
62959 done
62968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62969 $as_echo_n "checking for powl declaration... " >&6; }
62970 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62971 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62972 $as_echo_n "(cached) " >&6
62973 else
62976 ac_ext=cpp
62977 ac_cpp='$CXXCPP $CPPFLAGS'
62978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62983 /* end confdefs.h. */
62984 #include <math.h>
62986 main ()
62988 powl(0, 0);
62990 return 0;
62992 _ACEOF
62993 if ac_fn_cxx_try_compile "$LINENO"; then :
62994 glibcxx_cv_func_powl_use=yes
62995 else
62996 glibcxx_cv_func_powl_use=no
62998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62999 ac_ext=c
63000 ac_cpp='$CPP $CPPFLAGS'
63001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63010 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63012 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63013 for ac_func in powl
63014 do :
63015 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63016 if test "x$ac_cv_func_powl" = x""yes; then :
63017 cat >>confdefs.h <<_ACEOF
63018 #define HAVE_POWL 1
63019 _ACEOF
63022 done
63024 else
63026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63027 $as_echo_n "checking for _powl declaration... " >&6; }
63028 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63029 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63030 $as_echo_n "(cached) " >&6
63031 else
63034 ac_ext=cpp
63035 ac_cpp='$CXXCPP $CPPFLAGS'
63036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63041 /* end confdefs.h. */
63042 #include <math.h>
63044 main ()
63046 _powl(0, 0);
63048 return 0;
63050 _ACEOF
63051 if ac_fn_cxx_try_compile "$LINENO"; then :
63052 glibcxx_cv_func__powl_use=yes
63053 else
63054 glibcxx_cv_func__powl_use=no
63056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63057 ac_ext=c
63058 ac_cpp='$CPP $CPPFLAGS'
63059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63068 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63070 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63071 for ac_func in _powl
63072 do :
63073 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63074 if test "x$ac_cv_func__powl" = x""yes; then :
63075 cat >>confdefs.h <<_ACEOF
63076 #define HAVE__POWL 1
63077 _ACEOF
63080 done
63089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63090 $as_echo_n "checking for sqrtl declaration... " >&6; }
63091 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63092 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63093 $as_echo_n "(cached) " >&6
63094 else
63097 ac_ext=cpp
63098 ac_cpp='$CXXCPP $CPPFLAGS'
63099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63104 /* end confdefs.h. */
63105 #include <math.h>
63106 #ifdef HAVE_IEEEFP_H
63107 #include <ieeefp.h>
63108 #endif
63111 main ()
63113 sqrtl(0);
63115 return 0;
63117 _ACEOF
63118 if ac_fn_cxx_try_compile "$LINENO"; then :
63119 glibcxx_cv_func_sqrtl_use=yes
63120 else
63121 glibcxx_cv_func_sqrtl_use=no
63123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63124 ac_ext=c
63125 ac_cpp='$CPP $CPPFLAGS'
63126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63135 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63137 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63138 for ac_func in sqrtl
63139 do :
63140 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63141 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63142 cat >>confdefs.h <<_ACEOF
63143 #define HAVE_SQRTL 1
63144 _ACEOF
63147 done
63149 else
63151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63152 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63153 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63154 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63155 $as_echo_n "(cached) " >&6
63156 else
63159 ac_ext=cpp
63160 ac_cpp='$CXXCPP $CPPFLAGS'
63161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63166 /* end confdefs.h. */
63167 #include <math.h>
63168 #ifdef HAVE_IEEEFP_H
63169 #include <ieeefp.h>
63170 #endif
63173 main ()
63175 _sqrtl(0);
63177 return 0;
63179 _ACEOF
63180 if ac_fn_cxx_try_compile "$LINENO"; then :
63181 glibcxx_cv_func__sqrtl_use=yes
63182 else
63183 glibcxx_cv_func__sqrtl_use=no
63185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63186 ac_ext=c
63187 ac_cpp='$CPP $CPPFLAGS'
63188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63197 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63199 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63200 for ac_func in _sqrtl
63201 do :
63202 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63203 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63204 cat >>confdefs.h <<_ACEOF
63205 #define HAVE__SQRTL 1
63206 _ACEOF
63209 done
63218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63219 $as_echo_n "checking for sincosl declaration... " >&6; }
63220 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63221 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63222 $as_echo_n "(cached) " >&6
63223 else
63226 ac_ext=cpp
63227 ac_cpp='$CXXCPP $CPPFLAGS'
63228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63233 /* end confdefs.h. */
63234 #include <math.h>
63236 main ()
63238 sincosl(0, 0, 0);
63240 return 0;
63242 _ACEOF
63243 if ac_fn_cxx_try_compile "$LINENO"; then :
63244 glibcxx_cv_func_sincosl_use=yes
63245 else
63246 glibcxx_cv_func_sincosl_use=no
63248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63249 ac_ext=c
63250 ac_cpp='$CPP $CPPFLAGS'
63251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63260 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63262 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63263 for ac_func in sincosl
63264 do :
63265 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63266 if test "x$ac_cv_func_sincosl" = x""yes; then :
63267 cat >>confdefs.h <<_ACEOF
63268 #define HAVE_SINCOSL 1
63269 _ACEOF
63272 done
63274 else
63276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63277 $as_echo_n "checking for _sincosl declaration... " >&6; }
63278 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63279 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63280 $as_echo_n "(cached) " >&6
63281 else
63284 ac_ext=cpp
63285 ac_cpp='$CXXCPP $CPPFLAGS'
63286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63291 /* end confdefs.h. */
63292 #include <math.h>
63294 main ()
63296 _sincosl(0, 0, 0);
63298 return 0;
63300 _ACEOF
63301 if ac_fn_cxx_try_compile "$LINENO"; then :
63302 glibcxx_cv_func__sincosl_use=yes
63303 else
63304 glibcxx_cv_func__sincosl_use=no
63306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63307 ac_ext=c
63308 ac_cpp='$CPP $CPPFLAGS'
63309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63318 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63320 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63321 for ac_func in _sincosl
63322 do :
63323 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63324 if test "x$ac_cv_func__sincosl" = x""yes; then :
63325 cat >>confdefs.h <<_ACEOF
63326 #define HAVE__SINCOSL 1
63327 _ACEOF
63330 done
63339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63340 $as_echo_n "checking for finitel declaration... " >&6; }
63341 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63342 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63343 $as_echo_n "(cached) " >&6
63344 else
63347 ac_ext=cpp
63348 ac_cpp='$CXXCPP $CPPFLAGS'
63349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63354 /* end confdefs.h. */
63355 #include <math.h>
63356 #ifdef HAVE_IEEEFP_H
63357 #include <ieeefp.h>
63358 #endif
63361 main ()
63363 finitel(0);
63365 return 0;
63367 _ACEOF
63368 if ac_fn_cxx_try_compile "$LINENO"; then :
63369 glibcxx_cv_func_finitel_use=yes
63370 else
63371 glibcxx_cv_func_finitel_use=no
63373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63374 ac_ext=c
63375 ac_cpp='$CPP $CPPFLAGS'
63376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63385 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63387 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63388 for ac_func in finitel
63389 do :
63390 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63391 if test "x$ac_cv_func_finitel" = x""yes; then :
63392 cat >>confdefs.h <<_ACEOF
63393 #define HAVE_FINITEL 1
63394 _ACEOF
63397 done
63399 else
63401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63402 $as_echo_n "checking for _finitel declaration... " >&6; }
63403 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63404 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63405 $as_echo_n "(cached) " >&6
63406 else
63409 ac_ext=cpp
63410 ac_cpp='$CXXCPP $CPPFLAGS'
63411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63416 /* end confdefs.h. */
63417 #include <math.h>
63418 #ifdef HAVE_IEEEFP_H
63419 #include <ieeefp.h>
63420 #endif
63423 main ()
63425 _finitel(0);
63427 return 0;
63429 _ACEOF
63430 if ac_fn_cxx_try_compile "$LINENO"; then :
63431 glibcxx_cv_func__finitel_use=yes
63432 else
63433 glibcxx_cv_func__finitel_use=no
63435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63436 ac_ext=c
63437 ac_cpp='$CPP $CPPFLAGS'
63438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63447 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63449 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63450 for ac_func in _finitel
63451 do :
63452 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63453 if test "x$ac_cv_func__finitel" = x""yes; then :
63454 cat >>confdefs.h <<_ACEOF
63455 #define HAVE__FINITEL 1
63456 _ACEOF
63459 done
63467 LIBS="$ac_save_LIBS"
63468 CXXFLAGS="$ac_save_CXXFLAGS"
63471 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63472 ac_save_CXXFLAGS="$CXXFLAGS"
63473 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63477 $as_echo_n "checking for strtold declaration... " >&6; }
63478 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63479 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63480 $as_echo_n "(cached) " >&6
63481 else
63484 ac_ext=cpp
63485 ac_cpp='$CXXCPP $CPPFLAGS'
63486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63491 /* end confdefs.h. */
63492 #include <stdlib.h>
63494 main ()
63496 strtold(0, 0);
63498 return 0;
63500 _ACEOF
63501 if ac_fn_cxx_try_compile "$LINENO"; then :
63502 glibcxx_cv_func_strtold_use=yes
63503 else
63504 glibcxx_cv_func_strtold_use=no
63506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63507 ac_ext=c
63508 ac_cpp='$CPP $CPPFLAGS'
63509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63518 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63519 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63520 for ac_func in strtold
63521 do :
63522 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63523 if test "x$ac_cv_func_strtold" = x""yes; then :
63524 cat >>confdefs.h <<_ACEOF
63525 #define HAVE_STRTOLD 1
63526 _ACEOF
63529 done
63536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63537 $as_echo_n "checking for strtof declaration... " >&6; }
63538 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63539 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63540 $as_echo_n "(cached) " >&6
63541 else
63544 ac_ext=cpp
63545 ac_cpp='$CXXCPP $CPPFLAGS'
63546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63551 /* end confdefs.h. */
63552 #include <stdlib.h>
63554 main ()
63556 strtof(0, 0);
63558 return 0;
63560 _ACEOF
63561 if ac_fn_cxx_try_compile "$LINENO"; then :
63562 glibcxx_cv_func_strtof_use=yes
63563 else
63564 glibcxx_cv_func_strtof_use=no
63566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63567 ac_ext=c
63568 ac_cpp='$CPP $CPPFLAGS'
63569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63578 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63579 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63580 for ac_func in strtof
63581 do :
63582 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63583 if test "x$ac_cv_func_strtof" = x""yes; then :
63584 cat >>confdefs.h <<_ACEOF
63585 #define HAVE_STRTOF 1
63586 _ACEOF
63589 done
63596 CXXFLAGS="$ac_save_CXXFLAGS"
63599 *-solaris*)
63600 case "$target" in
63601 *-solaris2.9 | *-solaris2.10)
63603 # If we're not using GNU ld, then there's no point in even trying these
63604 # tests. Check for that first. We should have already tested for gld
63605 # by now (in libtool), but require it now just to be safe...
63606 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63607 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63611 # The name set by libtool depends on the version of libtool. Shame on us
63612 # for depending on an impl detail, but c'est la vie. Older versions used
63613 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63614 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63615 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63616 # set (hence we're using an older libtool), then set it.
63617 if test x${with_gnu_ld+set} != xset; then
63618 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63619 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63620 with_gnu_ld=no
63621 else
63622 with_gnu_ld=$ac_cv_prog_gnu_ld
63626 # Start by getting the version number. I think the libtool test already
63627 # does some of this, but throws away the result.
63628 glibcxx_ld_is_gold=no
63629 if test x"$with_gnu_ld" = x"yes"; then
63630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63631 $as_echo_n "checking for ld version... " >&6; }
63633 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63634 glibcxx_ld_is_gold=yes
63636 ldver=`$LD --version 2>/dev/null |
63637 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'`
63639 glibcxx_gnu_ld_version=`echo $ldver | \
63640 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63642 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63645 # Set --gc-sections.
63646 glibcxx_have_gc_sections=no
63647 if test "$glibcxx_ld_is_gold" = "yes"; then
63648 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63649 glibcxx_have_gc_sections=yes
63651 else
63652 glibcxx_gcsections_min_ld=21602
63653 if test x"$with_gnu_ld" = x"yes" &&
63654 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63655 glibcxx_have_gc_sections=yes
63658 if test "$glibcxx_have_gc_sections" = "yes"; then
63659 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63660 # NB: This flag only works reliably after 2.16.1. Configure tests
63661 # for this are difficult, so hard wire a value that should work.
63663 ac_test_CFLAGS="${CFLAGS+set}"
63664 ac_save_CFLAGS="$CFLAGS"
63665 CFLAGS='-Wl,--gc-sections'
63667 # Check for -Wl,--gc-sections
63668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63669 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63670 if test x$gcc_no_link = xyes; then
63671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63674 /* end confdefs.h. */
63675 int one(void) { return 1; }
63676 int two(void) { return 2; }
63679 main ()
63681 two();
63683 return 0;
63685 _ACEOF
63686 if ac_fn_c_try_link "$LINENO"; then :
63687 ac_gcsections=yes
63688 else
63689 ac_gcsections=no
63691 rm -f core conftest.err conftest.$ac_objext \
63692 conftest$ac_exeext conftest.$ac_ext
63693 if test "$ac_gcsections" = "yes"; then
63694 rm -f conftest.c
63695 touch conftest.c
63696 if $CC -c conftest.c; then
63697 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63698 grep "Warning: gc-sections option ignored" > /dev/null; then
63699 ac_gcsections=no
63702 rm -f conftest.c conftest.o conftest
63704 if test "$ac_gcsections" = "yes"; then
63705 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63708 $as_echo "$ac_gcsections" >&6; }
63710 if test "$ac_test_CFLAGS" = set; then
63711 CFLAGS="$ac_save_CFLAGS"
63712 else
63713 # this is the suspicious part
63714 CFLAGS=''
63718 # Set -z,relro.
63719 # Note this is only for shared objects.
63720 ac_ld_relro=no
63721 if test x"$with_gnu_ld" = x"yes"; then
63722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63723 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63724 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63725 if test -n "$cxx_z_relo"; then
63726 OPT_LDFLAGS="-Wl,-z,relro"
63727 ac_ld_relro=yes
63729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63730 $as_echo "$ac_ld_relro" >&6; }
63733 # Set linker optimization flags.
63734 if test x"$with_gnu_ld" = x"yes"; then
63735 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63741 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63743 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63745 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63747 # All of the dependencies for wide character support are here, so
63748 # turn it on.
63749 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63752 esac
63753 case "$target" in
63754 *-*-solaris2.10)
63755 # These two C99 functions are present only in Solaris >= 10
63756 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63758 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63761 esac
63762 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63764 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63766 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63768 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63771 *-tpf)
63772 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63773 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63775 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63777 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63779 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63781 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63783 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63785 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63787 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63789 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63791 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63793 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63795 if test x"long_double_math_on_this_cpu" = x"yes"; then
63796 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63798 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63800 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63802 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63806 *-*vms*)
63807 # Check for available headers.
63808 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63810 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63811 ac_save_CXXFLAGS="$CXXFLAGS"
63812 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63815 $as_echo_n "checking for sin in -lm... " >&6; }
63816 if test "${ac_cv_lib_m_sin+set}" = set; then :
63817 $as_echo_n "(cached) " >&6
63818 else
63819 ac_check_lib_save_LIBS=$LIBS
63820 LIBS="-lm $LIBS"
63821 if test x$gcc_no_link = xyes; then
63822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63825 /* end confdefs.h. */
63827 /* Override any GCC internal prototype to avoid an error.
63828 Use char because int might match the return type of a GCC
63829 builtin and then its argument prototype would still apply. */
63830 #ifdef __cplusplus
63831 extern "C"
63832 #endif
63833 char sin ();
63835 main ()
63837 return sin ();
63839 return 0;
63841 _ACEOF
63842 if ac_fn_c_try_link "$LINENO"; then :
63843 ac_cv_lib_m_sin=yes
63844 else
63845 ac_cv_lib_m_sin=no
63847 rm -f core conftest.err conftest.$ac_objext \
63848 conftest$ac_exeext conftest.$ac_ext
63849 LIBS=$ac_check_lib_save_LIBS
63851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63852 $as_echo "$ac_cv_lib_m_sin" >&6; }
63853 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63854 libm="-lm"
63857 ac_save_LIBS="$LIBS"
63858 LIBS="$LIBS $libm"
63862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63863 $as_echo_n "checking for isinf declaration... " >&6; }
63864 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63865 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63866 $as_echo_n "(cached) " >&6
63867 else
63870 ac_ext=cpp
63871 ac_cpp='$CXXCPP $CPPFLAGS'
63872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63877 /* end confdefs.h. */
63878 #include <math.h>
63879 #ifdef HAVE_IEEEFP_H
63880 #include <ieeefp.h>
63881 #endif
63884 main ()
63886 isinf(0);
63888 return 0;
63890 _ACEOF
63891 if ac_fn_cxx_try_compile "$LINENO"; then :
63892 glibcxx_cv_func_isinf_use=yes
63893 else
63894 glibcxx_cv_func_isinf_use=no
63896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63897 ac_ext=c
63898 ac_cpp='$CPP $CPPFLAGS'
63899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63908 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63910 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63911 for ac_func in isinf
63912 do :
63913 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63914 if test "x$ac_cv_func_isinf" = x""yes; then :
63915 cat >>confdefs.h <<_ACEOF
63916 #define HAVE_ISINF 1
63917 _ACEOF
63920 done
63922 else
63924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
63925 $as_echo_n "checking for _isinf declaration... " >&6; }
63926 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63927 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
63928 $as_echo_n "(cached) " >&6
63929 else
63932 ac_ext=cpp
63933 ac_cpp='$CXXCPP $CPPFLAGS'
63934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63939 /* end confdefs.h. */
63940 #include <math.h>
63941 #ifdef HAVE_IEEEFP_H
63942 #include <ieeefp.h>
63943 #endif
63946 main ()
63948 _isinf(0);
63950 return 0;
63952 _ACEOF
63953 if ac_fn_cxx_try_compile "$LINENO"; then :
63954 glibcxx_cv_func__isinf_use=yes
63955 else
63956 glibcxx_cv_func__isinf_use=no
63958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63959 ac_ext=c
63960 ac_cpp='$CPP $CPPFLAGS'
63961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
63970 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
63972 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
63973 for ac_func in _isinf
63974 do :
63975 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
63976 if test "x$ac_cv_func__isinf" = x""yes; then :
63977 cat >>confdefs.h <<_ACEOF
63978 #define HAVE__ISINF 1
63979 _ACEOF
63982 done
63991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
63992 $as_echo_n "checking for isnan declaration... " >&6; }
63993 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
63994 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
63995 $as_echo_n "(cached) " >&6
63996 else
63999 ac_ext=cpp
64000 ac_cpp='$CXXCPP $CPPFLAGS'
64001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64006 /* end confdefs.h. */
64007 #include <math.h>
64008 #ifdef HAVE_IEEEFP_H
64009 #include <ieeefp.h>
64010 #endif
64013 main ()
64015 isnan(0);
64017 return 0;
64019 _ACEOF
64020 if ac_fn_cxx_try_compile "$LINENO"; then :
64021 glibcxx_cv_func_isnan_use=yes
64022 else
64023 glibcxx_cv_func_isnan_use=no
64025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64026 ac_ext=c
64027 ac_cpp='$CPP $CPPFLAGS'
64028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64037 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64039 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64040 for ac_func in isnan
64041 do :
64042 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64043 if test "x$ac_cv_func_isnan" = x""yes; then :
64044 cat >>confdefs.h <<_ACEOF
64045 #define HAVE_ISNAN 1
64046 _ACEOF
64049 done
64051 else
64053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64054 $as_echo_n "checking for _isnan declaration... " >&6; }
64055 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64056 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64057 $as_echo_n "(cached) " >&6
64058 else
64061 ac_ext=cpp
64062 ac_cpp='$CXXCPP $CPPFLAGS'
64063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64068 /* end confdefs.h. */
64069 #include <math.h>
64070 #ifdef HAVE_IEEEFP_H
64071 #include <ieeefp.h>
64072 #endif
64075 main ()
64077 _isnan(0);
64079 return 0;
64081 _ACEOF
64082 if ac_fn_cxx_try_compile "$LINENO"; then :
64083 glibcxx_cv_func__isnan_use=yes
64084 else
64085 glibcxx_cv_func__isnan_use=no
64087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64088 ac_ext=c
64089 ac_cpp='$CPP $CPPFLAGS'
64090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64099 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64101 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64102 for ac_func in _isnan
64103 do :
64104 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64105 if test "x$ac_cv_func__isnan" = x""yes; then :
64106 cat >>confdefs.h <<_ACEOF
64107 #define HAVE__ISNAN 1
64108 _ACEOF
64111 done
64120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64121 $as_echo_n "checking for finite declaration... " >&6; }
64122 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64123 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64124 $as_echo_n "(cached) " >&6
64125 else
64128 ac_ext=cpp
64129 ac_cpp='$CXXCPP $CPPFLAGS'
64130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64135 /* end confdefs.h. */
64136 #include <math.h>
64137 #ifdef HAVE_IEEEFP_H
64138 #include <ieeefp.h>
64139 #endif
64142 main ()
64144 finite(0);
64146 return 0;
64148 _ACEOF
64149 if ac_fn_cxx_try_compile "$LINENO"; then :
64150 glibcxx_cv_func_finite_use=yes
64151 else
64152 glibcxx_cv_func_finite_use=no
64154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64155 ac_ext=c
64156 ac_cpp='$CPP $CPPFLAGS'
64157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64166 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64168 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64169 for ac_func in finite
64170 do :
64171 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64172 if test "x$ac_cv_func_finite" = x""yes; then :
64173 cat >>confdefs.h <<_ACEOF
64174 #define HAVE_FINITE 1
64175 _ACEOF
64178 done
64180 else
64182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64183 $as_echo_n "checking for _finite declaration... " >&6; }
64184 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64185 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64186 $as_echo_n "(cached) " >&6
64187 else
64190 ac_ext=cpp
64191 ac_cpp='$CXXCPP $CPPFLAGS'
64192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64197 /* end confdefs.h. */
64198 #include <math.h>
64199 #ifdef HAVE_IEEEFP_H
64200 #include <ieeefp.h>
64201 #endif
64204 main ()
64206 _finite(0);
64208 return 0;
64210 _ACEOF
64211 if ac_fn_cxx_try_compile "$LINENO"; then :
64212 glibcxx_cv_func__finite_use=yes
64213 else
64214 glibcxx_cv_func__finite_use=no
64216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64217 ac_ext=c
64218 ac_cpp='$CPP $CPPFLAGS'
64219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64228 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64230 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64231 for ac_func in _finite
64232 do :
64233 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64234 if test "x$ac_cv_func__finite" = x""yes; then :
64235 cat >>confdefs.h <<_ACEOF
64236 #define HAVE__FINITE 1
64237 _ACEOF
64240 done
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64250 $as_echo_n "checking for sincos declaration... " >&6; }
64251 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64252 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64253 $as_echo_n "(cached) " >&6
64254 else
64257 ac_ext=cpp
64258 ac_cpp='$CXXCPP $CPPFLAGS'
64259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64264 /* end confdefs.h. */
64265 #include <math.h>
64267 main ()
64269 sincos(0, 0, 0);
64271 return 0;
64273 _ACEOF
64274 if ac_fn_cxx_try_compile "$LINENO"; then :
64275 glibcxx_cv_func_sincos_use=yes
64276 else
64277 glibcxx_cv_func_sincos_use=no
64279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64280 ac_ext=c
64281 ac_cpp='$CPP $CPPFLAGS'
64282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64291 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64293 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64294 for ac_func in sincos
64295 do :
64296 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64297 if test "x$ac_cv_func_sincos" = x""yes; then :
64298 cat >>confdefs.h <<_ACEOF
64299 #define HAVE_SINCOS 1
64300 _ACEOF
64303 done
64305 else
64307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64308 $as_echo_n "checking for _sincos declaration... " >&6; }
64309 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64310 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64311 $as_echo_n "(cached) " >&6
64312 else
64315 ac_ext=cpp
64316 ac_cpp='$CXXCPP $CPPFLAGS'
64317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64322 /* end confdefs.h. */
64323 #include <math.h>
64325 main ()
64327 _sincos(0, 0, 0);
64329 return 0;
64331 _ACEOF
64332 if ac_fn_cxx_try_compile "$LINENO"; then :
64333 glibcxx_cv_func__sincos_use=yes
64334 else
64335 glibcxx_cv_func__sincos_use=no
64337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64338 ac_ext=c
64339 ac_cpp='$CPP $CPPFLAGS'
64340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64349 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64351 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64352 for ac_func in _sincos
64353 do :
64354 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64355 if test "x$ac_cv_func__sincos" = x""yes; then :
64356 cat >>confdefs.h <<_ACEOF
64357 #define HAVE__SINCOS 1
64358 _ACEOF
64361 done
64370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64371 $as_echo_n "checking for fpclass declaration... " >&6; }
64372 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64373 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64374 $as_echo_n "(cached) " >&6
64375 else
64378 ac_ext=cpp
64379 ac_cpp='$CXXCPP $CPPFLAGS'
64380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64385 /* end confdefs.h. */
64386 #include <math.h>
64387 #ifdef HAVE_IEEEFP_H
64388 #include <ieeefp.h>
64389 #endif
64392 main ()
64394 fpclass(0);
64396 return 0;
64398 _ACEOF
64399 if ac_fn_cxx_try_compile "$LINENO"; then :
64400 glibcxx_cv_func_fpclass_use=yes
64401 else
64402 glibcxx_cv_func_fpclass_use=no
64404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64405 ac_ext=c
64406 ac_cpp='$CPP $CPPFLAGS'
64407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64416 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64418 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64419 for ac_func in fpclass
64420 do :
64421 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64422 if test "x$ac_cv_func_fpclass" = x""yes; then :
64423 cat >>confdefs.h <<_ACEOF
64424 #define HAVE_FPCLASS 1
64425 _ACEOF
64428 done
64430 else
64432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64433 $as_echo_n "checking for _fpclass declaration... " >&6; }
64434 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64435 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64436 $as_echo_n "(cached) " >&6
64437 else
64440 ac_ext=cpp
64441 ac_cpp='$CXXCPP $CPPFLAGS'
64442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64447 /* end confdefs.h. */
64448 #include <math.h>
64449 #ifdef HAVE_IEEEFP_H
64450 #include <ieeefp.h>
64451 #endif
64454 main ()
64456 _fpclass(0);
64458 return 0;
64460 _ACEOF
64461 if ac_fn_cxx_try_compile "$LINENO"; then :
64462 glibcxx_cv_func__fpclass_use=yes
64463 else
64464 glibcxx_cv_func__fpclass_use=no
64466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64467 ac_ext=c
64468 ac_cpp='$CPP $CPPFLAGS'
64469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64478 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64480 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64481 for ac_func in _fpclass
64482 do :
64483 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64484 if test "x$ac_cv_func__fpclass" = x""yes; then :
64485 cat >>confdefs.h <<_ACEOF
64486 #define HAVE__FPCLASS 1
64487 _ACEOF
64490 done
64499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64500 $as_echo_n "checking for qfpclass declaration... " >&6; }
64501 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64502 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64503 $as_echo_n "(cached) " >&6
64504 else
64507 ac_ext=cpp
64508 ac_cpp='$CXXCPP $CPPFLAGS'
64509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64514 /* end confdefs.h. */
64515 #include <math.h>
64516 #ifdef HAVE_IEEEFP_H
64517 #include <ieeefp.h>
64518 #endif
64521 main ()
64523 qfpclass(0);
64525 return 0;
64527 _ACEOF
64528 if ac_fn_cxx_try_compile "$LINENO"; then :
64529 glibcxx_cv_func_qfpclass_use=yes
64530 else
64531 glibcxx_cv_func_qfpclass_use=no
64533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64534 ac_ext=c
64535 ac_cpp='$CPP $CPPFLAGS'
64536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64545 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64547 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64548 for ac_func in qfpclass
64549 do :
64550 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64551 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64552 cat >>confdefs.h <<_ACEOF
64553 #define HAVE_QFPCLASS 1
64554 _ACEOF
64557 done
64559 else
64561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64562 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64563 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64564 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64565 $as_echo_n "(cached) " >&6
64566 else
64569 ac_ext=cpp
64570 ac_cpp='$CXXCPP $CPPFLAGS'
64571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64576 /* end confdefs.h. */
64577 #include <math.h>
64578 #ifdef HAVE_IEEEFP_H
64579 #include <ieeefp.h>
64580 #endif
64583 main ()
64585 _qfpclass(0);
64587 return 0;
64589 _ACEOF
64590 if ac_fn_cxx_try_compile "$LINENO"; then :
64591 glibcxx_cv_func__qfpclass_use=yes
64592 else
64593 glibcxx_cv_func__qfpclass_use=no
64595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64596 ac_ext=c
64597 ac_cpp='$CPP $CPPFLAGS'
64598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64607 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64609 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64610 for ac_func in _qfpclass
64611 do :
64612 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64613 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64614 cat >>confdefs.h <<_ACEOF
64615 #define HAVE__QFPCLASS 1
64616 _ACEOF
64619 done
64628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64629 $as_echo_n "checking for hypot declaration... " >&6; }
64630 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64631 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64632 $as_echo_n "(cached) " >&6
64633 else
64636 ac_ext=cpp
64637 ac_cpp='$CXXCPP $CPPFLAGS'
64638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64643 /* end confdefs.h. */
64644 #include <math.h>
64646 main ()
64648 hypot(0, 0);
64650 return 0;
64652 _ACEOF
64653 if ac_fn_cxx_try_compile "$LINENO"; then :
64654 glibcxx_cv_func_hypot_use=yes
64655 else
64656 glibcxx_cv_func_hypot_use=no
64658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64659 ac_ext=c
64660 ac_cpp='$CPP $CPPFLAGS'
64661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64670 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64672 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64673 for ac_func in hypot
64674 do :
64675 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64676 if test "x$ac_cv_func_hypot" = x""yes; then :
64677 cat >>confdefs.h <<_ACEOF
64678 #define HAVE_HYPOT 1
64679 _ACEOF
64682 done
64684 else
64686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64687 $as_echo_n "checking for _hypot declaration... " >&6; }
64688 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64689 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64690 $as_echo_n "(cached) " >&6
64691 else
64694 ac_ext=cpp
64695 ac_cpp='$CXXCPP $CPPFLAGS'
64696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64701 /* end confdefs.h. */
64702 #include <math.h>
64704 main ()
64706 _hypot(0, 0);
64708 return 0;
64710 _ACEOF
64711 if ac_fn_cxx_try_compile "$LINENO"; then :
64712 glibcxx_cv_func__hypot_use=yes
64713 else
64714 glibcxx_cv_func__hypot_use=no
64716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64717 ac_ext=c
64718 ac_cpp='$CPP $CPPFLAGS'
64719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64728 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64730 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64731 for ac_func in _hypot
64732 do :
64733 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64734 if test "x$ac_cv_func__hypot" = x""yes; then :
64735 cat >>confdefs.h <<_ACEOF
64736 #define HAVE__HYPOT 1
64737 _ACEOF
64740 done
64749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64750 $as_echo_n "checking for float trig functions... " >&6; }
64751 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64752 $as_echo_n "(cached) " >&6
64753 else
64756 ac_ext=cpp
64757 ac_cpp='$CXXCPP $CPPFLAGS'
64758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64763 /* end confdefs.h. */
64764 #include <math.h>
64766 main ()
64768 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64770 return 0;
64772 _ACEOF
64773 if ac_fn_cxx_try_compile "$LINENO"; then :
64774 glibcxx_cv_func_float_trig_use=yes
64775 else
64776 glibcxx_cv_func_float_trig_use=no
64778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64779 ac_ext=c
64780 ac_cpp='$CPP $CPPFLAGS'
64781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64788 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64789 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64790 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64791 do :
64792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64794 eval as_val=\$$as_ac_var
64795 if test "x$as_val" = x""yes; then :
64796 cat >>confdefs.h <<_ACEOF
64797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64798 _ACEOF
64801 done
64803 else
64804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64805 $as_echo_n "checking for _float trig functions... " >&6; }
64806 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64807 $as_echo_n "(cached) " >&6
64808 else
64811 ac_ext=cpp
64812 ac_cpp='$CXXCPP $CPPFLAGS'
64813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64818 /* end confdefs.h. */
64819 #include <math.h>
64821 main ()
64823 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64825 return 0;
64827 _ACEOF
64828 if ac_fn_cxx_try_compile "$LINENO"; then :
64829 glibcxx_cv_func__float_trig_use=yes
64830 else
64831 glibcxx_cv_func__float_trig_use=no
64833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64834 ac_ext=c
64835 ac_cpp='$CPP $CPPFLAGS'
64836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64843 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64844 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64845 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64846 do :
64847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64849 eval as_val=\$$as_ac_var
64850 if test "x$as_val" = x""yes; then :
64851 cat >>confdefs.h <<_ACEOF
64852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64853 _ACEOF
64856 done
64865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64866 $as_echo_n "checking for float round functions... " >&6; }
64867 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64868 $as_echo_n "(cached) " >&6
64869 else
64872 ac_ext=cpp
64873 ac_cpp='$CXXCPP $CPPFLAGS'
64874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64879 /* end confdefs.h. */
64880 #include <math.h>
64882 main ()
64884 ceilf (0); floorf (0);
64886 return 0;
64888 _ACEOF
64889 if ac_fn_cxx_try_compile "$LINENO"; then :
64890 glibcxx_cv_func_float_round_use=yes
64891 else
64892 glibcxx_cv_func_float_round_use=no
64894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64895 ac_ext=c
64896 ac_cpp='$CPP $CPPFLAGS'
64897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64904 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64905 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64906 for ac_func in ceilf floorf
64907 do :
64908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64910 eval as_val=\$$as_ac_var
64911 if test "x$as_val" = x""yes; then :
64912 cat >>confdefs.h <<_ACEOF
64913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64914 _ACEOF
64917 done
64919 else
64920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
64921 $as_echo_n "checking for _float round functions... " >&6; }
64922 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
64923 $as_echo_n "(cached) " >&6
64924 else
64927 ac_ext=cpp
64928 ac_cpp='$CXXCPP $CPPFLAGS'
64929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64934 /* end confdefs.h. */
64935 #include <math.h>
64937 main ()
64939 _ceilf (0); _floorf (0);
64941 return 0;
64943 _ACEOF
64944 if ac_fn_cxx_try_compile "$LINENO"; then :
64945 glibcxx_cv_func__float_round_use=yes
64946 else
64947 glibcxx_cv_func__float_round_use=no
64949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64950 ac_ext=c
64951 ac_cpp='$CPP $CPPFLAGS'
64952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
64959 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
64960 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
64961 for ac_func in _ceilf _floorf
64962 do :
64963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64965 eval as_val=\$$as_ac_var
64966 if test "x$as_val" = x""yes; then :
64967 cat >>confdefs.h <<_ACEOF
64968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64969 _ACEOF
64972 done
64982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
64983 $as_echo_n "checking for expf declaration... " >&6; }
64984 if test x${glibcxx_cv_func_expf_use+set} != xset; then
64985 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
64986 $as_echo_n "(cached) " >&6
64987 else
64990 ac_ext=cpp
64991 ac_cpp='$CXXCPP $CPPFLAGS'
64992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64997 /* end confdefs.h. */
64998 #include <math.h>
64999 #ifdef HAVE_IEEEFP_H
65000 #include <ieeefp.h>
65001 #endif
65004 main ()
65006 expf(0);
65008 return 0;
65010 _ACEOF
65011 if ac_fn_cxx_try_compile "$LINENO"; then :
65012 glibcxx_cv_func_expf_use=yes
65013 else
65014 glibcxx_cv_func_expf_use=no
65016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65017 ac_ext=c
65018 ac_cpp='$CPP $CPPFLAGS'
65019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65028 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65030 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65031 for ac_func in expf
65032 do :
65033 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65034 if test "x$ac_cv_func_expf" = x""yes; then :
65035 cat >>confdefs.h <<_ACEOF
65036 #define HAVE_EXPF 1
65037 _ACEOF
65040 done
65042 else
65044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65045 $as_echo_n "checking for _expf declaration... " >&6; }
65046 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65047 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65048 $as_echo_n "(cached) " >&6
65049 else
65052 ac_ext=cpp
65053 ac_cpp='$CXXCPP $CPPFLAGS'
65054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65059 /* end confdefs.h. */
65060 #include <math.h>
65061 #ifdef HAVE_IEEEFP_H
65062 #include <ieeefp.h>
65063 #endif
65066 main ()
65068 _expf(0);
65070 return 0;
65072 _ACEOF
65073 if ac_fn_cxx_try_compile "$LINENO"; then :
65074 glibcxx_cv_func__expf_use=yes
65075 else
65076 glibcxx_cv_func__expf_use=no
65078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65079 ac_ext=c
65080 ac_cpp='$CPP $CPPFLAGS'
65081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65090 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65092 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65093 for ac_func in _expf
65094 do :
65095 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65096 if test "x$ac_cv_func__expf" = x""yes; then :
65097 cat >>confdefs.h <<_ACEOF
65098 #define HAVE__EXPF 1
65099 _ACEOF
65102 done
65111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65112 $as_echo_n "checking for isnanf declaration... " >&6; }
65113 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65114 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65115 $as_echo_n "(cached) " >&6
65116 else
65119 ac_ext=cpp
65120 ac_cpp='$CXXCPP $CPPFLAGS'
65121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65126 /* end confdefs.h. */
65127 #include <math.h>
65128 #ifdef HAVE_IEEEFP_H
65129 #include <ieeefp.h>
65130 #endif
65133 main ()
65135 isnanf(0);
65137 return 0;
65139 _ACEOF
65140 if ac_fn_cxx_try_compile "$LINENO"; then :
65141 glibcxx_cv_func_isnanf_use=yes
65142 else
65143 glibcxx_cv_func_isnanf_use=no
65145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65146 ac_ext=c
65147 ac_cpp='$CPP $CPPFLAGS'
65148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65157 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65159 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65160 for ac_func in isnanf
65161 do :
65162 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65163 if test "x$ac_cv_func_isnanf" = x""yes; then :
65164 cat >>confdefs.h <<_ACEOF
65165 #define HAVE_ISNANF 1
65166 _ACEOF
65169 done
65171 else
65173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65174 $as_echo_n "checking for _isnanf declaration... " >&6; }
65175 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65176 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65177 $as_echo_n "(cached) " >&6
65178 else
65181 ac_ext=cpp
65182 ac_cpp='$CXXCPP $CPPFLAGS'
65183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65188 /* end confdefs.h. */
65189 #include <math.h>
65190 #ifdef HAVE_IEEEFP_H
65191 #include <ieeefp.h>
65192 #endif
65195 main ()
65197 _isnanf(0);
65199 return 0;
65201 _ACEOF
65202 if ac_fn_cxx_try_compile "$LINENO"; then :
65203 glibcxx_cv_func__isnanf_use=yes
65204 else
65205 glibcxx_cv_func__isnanf_use=no
65207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65208 ac_ext=c
65209 ac_cpp='$CPP $CPPFLAGS'
65210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65219 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65221 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65222 for ac_func in _isnanf
65223 do :
65224 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65225 if test "x$ac_cv_func__isnanf" = x""yes; then :
65226 cat >>confdefs.h <<_ACEOF
65227 #define HAVE__ISNANF 1
65228 _ACEOF
65231 done
65240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65241 $as_echo_n "checking for isinff declaration... " >&6; }
65242 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65243 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65244 $as_echo_n "(cached) " >&6
65245 else
65248 ac_ext=cpp
65249 ac_cpp='$CXXCPP $CPPFLAGS'
65250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65255 /* end confdefs.h. */
65256 #include <math.h>
65257 #ifdef HAVE_IEEEFP_H
65258 #include <ieeefp.h>
65259 #endif
65262 main ()
65264 isinff(0);
65266 return 0;
65268 _ACEOF
65269 if ac_fn_cxx_try_compile "$LINENO"; then :
65270 glibcxx_cv_func_isinff_use=yes
65271 else
65272 glibcxx_cv_func_isinff_use=no
65274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65275 ac_ext=c
65276 ac_cpp='$CPP $CPPFLAGS'
65277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65286 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65288 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65289 for ac_func in isinff
65290 do :
65291 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65292 if test "x$ac_cv_func_isinff" = x""yes; then :
65293 cat >>confdefs.h <<_ACEOF
65294 #define HAVE_ISINFF 1
65295 _ACEOF
65298 done
65300 else
65302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65303 $as_echo_n "checking for _isinff declaration... " >&6; }
65304 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65305 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65306 $as_echo_n "(cached) " >&6
65307 else
65310 ac_ext=cpp
65311 ac_cpp='$CXXCPP $CPPFLAGS'
65312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65317 /* end confdefs.h. */
65318 #include <math.h>
65319 #ifdef HAVE_IEEEFP_H
65320 #include <ieeefp.h>
65321 #endif
65324 main ()
65326 _isinff(0);
65328 return 0;
65330 _ACEOF
65331 if ac_fn_cxx_try_compile "$LINENO"; then :
65332 glibcxx_cv_func__isinff_use=yes
65333 else
65334 glibcxx_cv_func__isinff_use=no
65336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65337 ac_ext=c
65338 ac_cpp='$CPP $CPPFLAGS'
65339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65348 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65350 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65351 for ac_func in _isinff
65352 do :
65353 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65354 if test "x$ac_cv_func__isinff" = x""yes; then :
65355 cat >>confdefs.h <<_ACEOF
65356 #define HAVE__ISINFF 1
65357 _ACEOF
65360 done
65369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65370 $as_echo_n "checking for atan2f declaration... " >&6; }
65371 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65372 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65373 $as_echo_n "(cached) " >&6
65374 else
65377 ac_ext=cpp
65378 ac_cpp='$CXXCPP $CPPFLAGS'
65379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65384 /* end confdefs.h. */
65385 #include <math.h>
65387 main ()
65389 atan2f(0, 0);
65391 return 0;
65393 _ACEOF
65394 if ac_fn_cxx_try_compile "$LINENO"; then :
65395 glibcxx_cv_func_atan2f_use=yes
65396 else
65397 glibcxx_cv_func_atan2f_use=no
65399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65400 ac_ext=c
65401 ac_cpp='$CPP $CPPFLAGS'
65402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65411 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65413 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65414 for ac_func in atan2f
65415 do :
65416 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65417 if test "x$ac_cv_func_atan2f" = x""yes; then :
65418 cat >>confdefs.h <<_ACEOF
65419 #define HAVE_ATAN2F 1
65420 _ACEOF
65423 done
65425 else
65427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65428 $as_echo_n "checking for _atan2f declaration... " >&6; }
65429 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65430 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65431 $as_echo_n "(cached) " >&6
65432 else
65435 ac_ext=cpp
65436 ac_cpp='$CXXCPP $CPPFLAGS'
65437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65442 /* end confdefs.h. */
65443 #include <math.h>
65445 main ()
65447 _atan2f(0, 0);
65449 return 0;
65451 _ACEOF
65452 if ac_fn_cxx_try_compile "$LINENO"; then :
65453 glibcxx_cv_func__atan2f_use=yes
65454 else
65455 glibcxx_cv_func__atan2f_use=no
65457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65458 ac_ext=c
65459 ac_cpp='$CPP $CPPFLAGS'
65460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65469 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65471 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65472 for ac_func in _atan2f
65473 do :
65474 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65475 if test "x$ac_cv_func__atan2f" = x""yes; then :
65476 cat >>confdefs.h <<_ACEOF
65477 #define HAVE__ATAN2F 1
65478 _ACEOF
65481 done
65490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65491 $as_echo_n "checking for fabsf declaration... " >&6; }
65492 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65493 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65494 $as_echo_n "(cached) " >&6
65495 else
65498 ac_ext=cpp
65499 ac_cpp='$CXXCPP $CPPFLAGS'
65500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65505 /* end confdefs.h. */
65506 #include <math.h>
65507 #ifdef HAVE_IEEEFP_H
65508 #include <ieeefp.h>
65509 #endif
65512 main ()
65514 fabsf(0);
65516 return 0;
65518 _ACEOF
65519 if ac_fn_cxx_try_compile "$LINENO"; then :
65520 glibcxx_cv_func_fabsf_use=yes
65521 else
65522 glibcxx_cv_func_fabsf_use=no
65524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65525 ac_ext=c
65526 ac_cpp='$CPP $CPPFLAGS'
65527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65536 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65538 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65539 for ac_func in fabsf
65540 do :
65541 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65542 if test "x$ac_cv_func_fabsf" = x""yes; then :
65543 cat >>confdefs.h <<_ACEOF
65544 #define HAVE_FABSF 1
65545 _ACEOF
65548 done
65550 else
65552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65553 $as_echo_n "checking for _fabsf declaration... " >&6; }
65554 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65555 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65556 $as_echo_n "(cached) " >&6
65557 else
65560 ac_ext=cpp
65561 ac_cpp='$CXXCPP $CPPFLAGS'
65562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65567 /* end confdefs.h. */
65568 #include <math.h>
65569 #ifdef HAVE_IEEEFP_H
65570 #include <ieeefp.h>
65571 #endif
65574 main ()
65576 _fabsf(0);
65578 return 0;
65580 _ACEOF
65581 if ac_fn_cxx_try_compile "$LINENO"; then :
65582 glibcxx_cv_func__fabsf_use=yes
65583 else
65584 glibcxx_cv_func__fabsf_use=no
65586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65587 ac_ext=c
65588 ac_cpp='$CPP $CPPFLAGS'
65589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65598 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65600 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65601 for ac_func in _fabsf
65602 do :
65603 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65604 if test "x$ac_cv_func__fabsf" = x""yes; then :
65605 cat >>confdefs.h <<_ACEOF
65606 #define HAVE__FABSF 1
65607 _ACEOF
65610 done
65619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65620 $as_echo_n "checking for fmodf declaration... " >&6; }
65621 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65622 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65623 $as_echo_n "(cached) " >&6
65624 else
65627 ac_ext=cpp
65628 ac_cpp='$CXXCPP $CPPFLAGS'
65629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65634 /* end confdefs.h. */
65635 #include <math.h>
65637 main ()
65639 fmodf(0, 0);
65641 return 0;
65643 _ACEOF
65644 if ac_fn_cxx_try_compile "$LINENO"; then :
65645 glibcxx_cv_func_fmodf_use=yes
65646 else
65647 glibcxx_cv_func_fmodf_use=no
65649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65650 ac_ext=c
65651 ac_cpp='$CPP $CPPFLAGS'
65652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65661 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65663 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65664 for ac_func in fmodf
65665 do :
65666 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65667 if test "x$ac_cv_func_fmodf" = x""yes; then :
65668 cat >>confdefs.h <<_ACEOF
65669 #define HAVE_FMODF 1
65670 _ACEOF
65673 done
65675 else
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65678 $as_echo_n "checking for _fmodf declaration... " >&6; }
65679 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65680 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65681 $as_echo_n "(cached) " >&6
65682 else
65685 ac_ext=cpp
65686 ac_cpp='$CXXCPP $CPPFLAGS'
65687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65692 /* end confdefs.h. */
65693 #include <math.h>
65695 main ()
65697 _fmodf(0, 0);
65699 return 0;
65701 _ACEOF
65702 if ac_fn_cxx_try_compile "$LINENO"; then :
65703 glibcxx_cv_func__fmodf_use=yes
65704 else
65705 glibcxx_cv_func__fmodf_use=no
65707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65708 ac_ext=c
65709 ac_cpp='$CPP $CPPFLAGS'
65710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65719 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65721 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65722 for ac_func in _fmodf
65723 do :
65724 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65725 if test "x$ac_cv_func__fmodf" = x""yes; then :
65726 cat >>confdefs.h <<_ACEOF
65727 #define HAVE__FMODF 1
65728 _ACEOF
65731 done
65740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65741 $as_echo_n "checking for frexpf declaration... " >&6; }
65742 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65743 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65744 $as_echo_n "(cached) " >&6
65745 else
65748 ac_ext=cpp
65749 ac_cpp='$CXXCPP $CPPFLAGS'
65750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65755 /* end confdefs.h. */
65756 #include <math.h>
65758 main ()
65760 frexpf(0, 0);
65762 return 0;
65764 _ACEOF
65765 if ac_fn_cxx_try_compile "$LINENO"; then :
65766 glibcxx_cv_func_frexpf_use=yes
65767 else
65768 glibcxx_cv_func_frexpf_use=no
65770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65771 ac_ext=c
65772 ac_cpp='$CPP $CPPFLAGS'
65773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65782 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65784 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65785 for ac_func in frexpf
65786 do :
65787 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65788 if test "x$ac_cv_func_frexpf" = x""yes; then :
65789 cat >>confdefs.h <<_ACEOF
65790 #define HAVE_FREXPF 1
65791 _ACEOF
65794 done
65796 else
65798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65799 $as_echo_n "checking for _frexpf declaration... " >&6; }
65800 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65801 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65802 $as_echo_n "(cached) " >&6
65803 else
65806 ac_ext=cpp
65807 ac_cpp='$CXXCPP $CPPFLAGS'
65808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65813 /* end confdefs.h. */
65814 #include <math.h>
65816 main ()
65818 _frexpf(0, 0);
65820 return 0;
65822 _ACEOF
65823 if ac_fn_cxx_try_compile "$LINENO"; then :
65824 glibcxx_cv_func__frexpf_use=yes
65825 else
65826 glibcxx_cv_func__frexpf_use=no
65828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65829 ac_ext=c
65830 ac_cpp='$CPP $CPPFLAGS'
65831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65840 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65842 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65843 for ac_func in _frexpf
65844 do :
65845 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65846 if test "x$ac_cv_func__frexpf" = x""yes; then :
65847 cat >>confdefs.h <<_ACEOF
65848 #define HAVE__FREXPF 1
65849 _ACEOF
65852 done
65861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65862 $as_echo_n "checking for hypotf declaration... " >&6; }
65863 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65864 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65865 $as_echo_n "(cached) " >&6
65866 else
65869 ac_ext=cpp
65870 ac_cpp='$CXXCPP $CPPFLAGS'
65871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65876 /* end confdefs.h. */
65877 #include <math.h>
65879 main ()
65881 hypotf(0, 0);
65883 return 0;
65885 _ACEOF
65886 if ac_fn_cxx_try_compile "$LINENO"; then :
65887 glibcxx_cv_func_hypotf_use=yes
65888 else
65889 glibcxx_cv_func_hypotf_use=no
65891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65892 ac_ext=c
65893 ac_cpp='$CPP $CPPFLAGS'
65894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65903 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65905 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65906 for ac_func in hypotf
65907 do :
65908 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65909 if test "x$ac_cv_func_hypotf" = x""yes; then :
65910 cat >>confdefs.h <<_ACEOF
65911 #define HAVE_HYPOTF 1
65912 _ACEOF
65915 done
65917 else
65919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
65920 $as_echo_n "checking for _hypotf declaration... " >&6; }
65921 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65922 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
65923 $as_echo_n "(cached) " >&6
65924 else
65927 ac_ext=cpp
65928 ac_cpp='$CXXCPP $CPPFLAGS'
65929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65934 /* end confdefs.h. */
65935 #include <math.h>
65937 main ()
65939 _hypotf(0, 0);
65941 return 0;
65943 _ACEOF
65944 if ac_fn_cxx_try_compile "$LINENO"; then :
65945 glibcxx_cv_func__hypotf_use=yes
65946 else
65947 glibcxx_cv_func__hypotf_use=no
65949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65950 ac_ext=c
65951 ac_cpp='$CPP $CPPFLAGS'
65952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
65961 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
65963 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
65964 for ac_func in _hypotf
65965 do :
65966 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
65967 if test "x$ac_cv_func__hypotf" = x""yes; then :
65968 cat >>confdefs.h <<_ACEOF
65969 #define HAVE__HYPOTF 1
65970 _ACEOF
65973 done
65982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
65983 $as_echo_n "checking for ldexpf declaration... " >&6; }
65984 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
65985 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
65986 $as_echo_n "(cached) " >&6
65987 else
65990 ac_ext=cpp
65991 ac_cpp='$CXXCPP $CPPFLAGS'
65992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65997 /* end confdefs.h. */
65998 #include <math.h>
66000 main ()
66002 ldexpf(0, 0);
66004 return 0;
66006 _ACEOF
66007 if ac_fn_cxx_try_compile "$LINENO"; then :
66008 glibcxx_cv_func_ldexpf_use=yes
66009 else
66010 glibcxx_cv_func_ldexpf_use=no
66012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66013 ac_ext=c
66014 ac_cpp='$CPP $CPPFLAGS'
66015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66024 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66026 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66027 for ac_func in ldexpf
66028 do :
66029 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66030 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66031 cat >>confdefs.h <<_ACEOF
66032 #define HAVE_LDEXPF 1
66033 _ACEOF
66036 done
66038 else
66040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66041 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66042 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66043 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66044 $as_echo_n "(cached) " >&6
66045 else
66048 ac_ext=cpp
66049 ac_cpp='$CXXCPP $CPPFLAGS'
66050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66055 /* end confdefs.h. */
66056 #include <math.h>
66058 main ()
66060 _ldexpf(0, 0);
66062 return 0;
66064 _ACEOF
66065 if ac_fn_cxx_try_compile "$LINENO"; then :
66066 glibcxx_cv_func__ldexpf_use=yes
66067 else
66068 glibcxx_cv_func__ldexpf_use=no
66070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66071 ac_ext=c
66072 ac_cpp='$CPP $CPPFLAGS'
66073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66082 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66084 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66085 for ac_func in _ldexpf
66086 do :
66087 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66088 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66089 cat >>confdefs.h <<_ACEOF
66090 #define HAVE__LDEXPF 1
66091 _ACEOF
66094 done
66103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66104 $as_echo_n "checking for logf declaration... " >&6; }
66105 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66106 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66107 $as_echo_n "(cached) " >&6
66108 else
66111 ac_ext=cpp
66112 ac_cpp='$CXXCPP $CPPFLAGS'
66113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66118 /* end confdefs.h. */
66119 #include <math.h>
66120 #ifdef HAVE_IEEEFP_H
66121 #include <ieeefp.h>
66122 #endif
66125 main ()
66127 logf(0);
66129 return 0;
66131 _ACEOF
66132 if ac_fn_cxx_try_compile "$LINENO"; then :
66133 glibcxx_cv_func_logf_use=yes
66134 else
66135 glibcxx_cv_func_logf_use=no
66137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66138 ac_ext=c
66139 ac_cpp='$CPP $CPPFLAGS'
66140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66149 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66151 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66152 for ac_func in logf
66153 do :
66154 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66155 if test "x$ac_cv_func_logf" = x""yes; then :
66156 cat >>confdefs.h <<_ACEOF
66157 #define HAVE_LOGF 1
66158 _ACEOF
66161 done
66163 else
66165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66166 $as_echo_n "checking for _logf declaration... " >&6; }
66167 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66168 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66169 $as_echo_n "(cached) " >&6
66170 else
66173 ac_ext=cpp
66174 ac_cpp='$CXXCPP $CPPFLAGS'
66175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66180 /* end confdefs.h. */
66181 #include <math.h>
66182 #ifdef HAVE_IEEEFP_H
66183 #include <ieeefp.h>
66184 #endif
66187 main ()
66189 _logf(0);
66191 return 0;
66193 _ACEOF
66194 if ac_fn_cxx_try_compile "$LINENO"; then :
66195 glibcxx_cv_func__logf_use=yes
66196 else
66197 glibcxx_cv_func__logf_use=no
66199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66200 ac_ext=c
66201 ac_cpp='$CPP $CPPFLAGS'
66202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66211 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66213 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66214 for ac_func in _logf
66215 do :
66216 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66217 if test "x$ac_cv_func__logf" = x""yes; then :
66218 cat >>confdefs.h <<_ACEOF
66219 #define HAVE__LOGF 1
66220 _ACEOF
66223 done
66232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66233 $as_echo_n "checking for log10f declaration... " >&6; }
66234 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66235 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66236 $as_echo_n "(cached) " >&6
66237 else
66240 ac_ext=cpp
66241 ac_cpp='$CXXCPP $CPPFLAGS'
66242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66247 /* end confdefs.h. */
66248 #include <math.h>
66249 #ifdef HAVE_IEEEFP_H
66250 #include <ieeefp.h>
66251 #endif
66254 main ()
66256 log10f(0);
66258 return 0;
66260 _ACEOF
66261 if ac_fn_cxx_try_compile "$LINENO"; then :
66262 glibcxx_cv_func_log10f_use=yes
66263 else
66264 glibcxx_cv_func_log10f_use=no
66266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66267 ac_ext=c
66268 ac_cpp='$CPP $CPPFLAGS'
66269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66278 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66280 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66281 for ac_func in log10f
66282 do :
66283 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66284 if test "x$ac_cv_func_log10f" = x""yes; then :
66285 cat >>confdefs.h <<_ACEOF
66286 #define HAVE_LOG10F 1
66287 _ACEOF
66290 done
66292 else
66294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66295 $as_echo_n "checking for _log10f declaration... " >&6; }
66296 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66297 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66298 $as_echo_n "(cached) " >&6
66299 else
66302 ac_ext=cpp
66303 ac_cpp='$CXXCPP $CPPFLAGS'
66304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66309 /* end confdefs.h. */
66310 #include <math.h>
66311 #ifdef HAVE_IEEEFP_H
66312 #include <ieeefp.h>
66313 #endif
66316 main ()
66318 _log10f(0);
66320 return 0;
66322 _ACEOF
66323 if ac_fn_cxx_try_compile "$LINENO"; then :
66324 glibcxx_cv_func__log10f_use=yes
66325 else
66326 glibcxx_cv_func__log10f_use=no
66328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66329 ac_ext=c
66330 ac_cpp='$CPP $CPPFLAGS'
66331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66340 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66342 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66343 for ac_func in _log10f
66344 do :
66345 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66346 if test "x$ac_cv_func__log10f" = x""yes; then :
66347 cat >>confdefs.h <<_ACEOF
66348 #define HAVE__LOG10F 1
66349 _ACEOF
66352 done
66361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66362 $as_echo_n "checking for modff declaration... " >&6; }
66363 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66364 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66365 $as_echo_n "(cached) " >&6
66366 else
66369 ac_ext=cpp
66370 ac_cpp='$CXXCPP $CPPFLAGS'
66371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66376 /* end confdefs.h. */
66377 #include <math.h>
66379 main ()
66381 modff(0, 0);
66383 return 0;
66385 _ACEOF
66386 if ac_fn_cxx_try_compile "$LINENO"; then :
66387 glibcxx_cv_func_modff_use=yes
66388 else
66389 glibcxx_cv_func_modff_use=no
66391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66392 ac_ext=c
66393 ac_cpp='$CPP $CPPFLAGS'
66394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66403 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66405 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66406 for ac_func in modff
66407 do :
66408 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66409 if test "x$ac_cv_func_modff" = x""yes; then :
66410 cat >>confdefs.h <<_ACEOF
66411 #define HAVE_MODFF 1
66412 _ACEOF
66415 done
66417 else
66419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66420 $as_echo_n "checking for _modff declaration... " >&6; }
66421 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66422 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66423 $as_echo_n "(cached) " >&6
66424 else
66427 ac_ext=cpp
66428 ac_cpp='$CXXCPP $CPPFLAGS'
66429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66434 /* end confdefs.h. */
66435 #include <math.h>
66437 main ()
66439 _modff(0, 0);
66441 return 0;
66443 _ACEOF
66444 if ac_fn_cxx_try_compile "$LINENO"; then :
66445 glibcxx_cv_func__modff_use=yes
66446 else
66447 glibcxx_cv_func__modff_use=no
66449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66450 ac_ext=c
66451 ac_cpp='$CPP $CPPFLAGS'
66452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66461 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66463 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66464 for ac_func in _modff
66465 do :
66466 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66467 if test "x$ac_cv_func__modff" = x""yes; then :
66468 cat >>confdefs.h <<_ACEOF
66469 #define HAVE__MODFF 1
66470 _ACEOF
66473 done
66482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66483 $as_echo_n "checking for modf declaration... " >&6; }
66484 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66485 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66486 $as_echo_n "(cached) " >&6
66487 else
66490 ac_ext=cpp
66491 ac_cpp='$CXXCPP $CPPFLAGS'
66492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66497 /* end confdefs.h. */
66498 #include <math.h>
66500 main ()
66502 modf(0, 0);
66504 return 0;
66506 _ACEOF
66507 if ac_fn_cxx_try_compile "$LINENO"; then :
66508 glibcxx_cv_func_modf_use=yes
66509 else
66510 glibcxx_cv_func_modf_use=no
66512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
66523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66524 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66526 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66527 for ac_func in modf
66528 do :
66529 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66530 if test "x$ac_cv_func_modf" = x""yes; then :
66531 cat >>confdefs.h <<_ACEOF
66532 #define HAVE_MODF 1
66533 _ACEOF
66536 done
66538 else
66540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66541 $as_echo_n "checking for _modf declaration... " >&6; }
66542 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66543 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66544 $as_echo_n "(cached) " >&6
66545 else
66548 ac_ext=cpp
66549 ac_cpp='$CXXCPP $CPPFLAGS'
66550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66555 /* end confdefs.h. */
66556 #include <math.h>
66558 main ()
66560 _modf(0, 0);
66562 return 0;
66564 _ACEOF
66565 if ac_fn_cxx_try_compile "$LINENO"; then :
66566 glibcxx_cv_func__modf_use=yes
66567 else
66568 glibcxx_cv_func__modf_use=no
66570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66571 ac_ext=c
66572 ac_cpp='$CPP $CPPFLAGS'
66573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66582 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66584 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66585 for ac_func in _modf
66586 do :
66587 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66588 if test "x$ac_cv_func__modf" = x""yes; then :
66589 cat >>confdefs.h <<_ACEOF
66590 #define HAVE__MODF 1
66591 _ACEOF
66594 done
66603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66604 $as_echo_n "checking for powf declaration... " >&6; }
66605 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66606 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66607 $as_echo_n "(cached) " >&6
66608 else
66611 ac_ext=cpp
66612 ac_cpp='$CXXCPP $CPPFLAGS'
66613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66618 /* end confdefs.h. */
66619 #include <math.h>
66621 main ()
66623 powf(0, 0);
66625 return 0;
66627 _ACEOF
66628 if ac_fn_cxx_try_compile "$LINENO"; then :
66629 glibcxx_cv_func_powf_use=yes
66630 else
66631 glibcxx_cv_func_powf_use=no
66633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66634 ac_ext=c
66635 ac_cpp='$CPP $CPPFLAGS'
66636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66645 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66647 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66648 for ac_func in powf
66649 do :
66650 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66651 if test "x$ac_cv_func_powf" = x""yes; then :
66652 cat >>confdefs.h <<_ACEOF
66653 #define HAVE_POWF 1
66654 _ACEOF
66657 done
66659 else
66661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66662 $as_echo_n "checking for _powf declaration... " >&6; }
66663 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66664 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66665 $as_echo_n "(cached) " >&6
66666 else
66669 ac_ext=cpp
66670 ac_cpp='$CXXCPP $CPPFLAGS'
66671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66676 /* end confdefs.h. */
66677 #include <math.h>
66679 main ()
66681 _powf(0, 0);
66683 return 0;
66685 _ACEOF
66686 if ac_fn_cxx_try_compile "$LINENO"; then :
66687 glibcxx_cv_func__powf_use=yes
66688 else
66689 glibcxx_cv_func__powf_use=no
66691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66692 ac_ext=c
66693 ac_cpp='$CPP $CPPFLAGS'
66694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66703 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66705 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66706 for ac_func in _powf
66707 do :
66708 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66709 if test "x$ac_cv_func__powf" = x""yes; then :
66710 cat >>confdefs.h <<_ACEOF
66711 #define HAVE__POWF 1
66712 _ACEOF
66715 done
66724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66725 $as_echo_n "checking for sqrtf declaration... " >&6; }
66726 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66727 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66728 $as_echo_n "(cached) " >&6
66729 else
66732 ac_ext=cpp
66733 ac_cpp='$CXXCPP $CPPFLAGS'
66734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66739 /* end confdefs.h. */
66740 #include <math.h>
66741 #ifdef HAVE_IEEEFP_H
66742 #include <ieeefp.h>
66743 #endif
66746 main ()
66748 sqrtf(0);
66750 return 0;
66752 _ACEOF
66753 if ac_fn_cxx_try_compile "$LINENO"; then :
66754 glibcxx_cv_func_sqrtf_use=yes
66755 else
66756 glibcxx_cv_func_sqrtf_use=no
66758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66759 ac_ext=c
66760 ac_cpp='$CPP $CPPFLAGS'
66761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66770 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66772 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66773 for ac_func in sqrtf
66774 do :
66775 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66776 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66777 cat >>confdefs.h <<_ACEOF
66778 #define HAVE_SQRTF 1
66779 _ACEOF
66782 done
66784 else
66786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66787 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66788 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66789 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66790 $as_echo_n "(cached) " >&6
66791 else
66794 ac_ext=cpp
66795 ac_cpp='$CXXCPP $CPPFLAGS'
66796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66801 /* end confdefs.h. */
66802 #include <math.h>
66803 #ifdef HAVE_IEEEFP_H
66804 #include <ieeefp.h>
66805 #endif
66808 main ()
66810 _sqrtf(0);
66812 return 0;
66814 _ACEOF
66815 if ac_fn_cxx_try_compile "$LINENO"; then :
66816 glibcxx_cv_func__sqrtf_use=yes
66817 else
66818 glibcxx_cv_func__sqrtf_use=no
66820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66821 ac_ext=c
66822 ac_cpp='$CPP $CPPFLAGS'
66823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66832 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66834 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66835 for ac_func in _sqrtf
66836 do :
66837 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66838 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66839 cat >>confdefs.h <<_ACEOF
66840 #define HAVE__SQRTF 1
66841 _ACEOF
66844 done
66853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66854 $as_echo_n "checking for sincosf declaration... " >&6; }
66855 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66856 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66857 $as_echo_n "(cached) " >&6
66858 else
66861 ac_ext=cpp
66862 ac_cpp='$CXXCPP $CPPFLAGS'
66863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66868 /* end confdefs.h. */
66869 #include <math.h>
66871 main ()
66873 sincosf(0, 0, 0);
66875 return 0;
66877 _ACEOF
66878 if ac_fn_cxx_try_compile "$LINENO"; then :
66879 glibcxx_cv_func_sincosf_use=yes
66880 else
66881 glibcxx_cv_func_sincosf_use=no
66883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66884 ac_ext=c
66885 ac_cpp='$CPP $CPPFLAGS'
66886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66895 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66897 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66898 for ac_func in sincosf
66899 do :
66900 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66901 if test "x$ac_cv_func_sincosf" = x""yes; then :
66902 cat >>confdefs.h <<_ACEOF
66903 #define HAVE_SINCOSF 1
66904 _ACEOF
66907 done
66909 else
66911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66912 $as_echo_n "checking for _sincosf declaration... " >&6; }
66913 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66914 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66915 $as_echo_n "(cached) " >&6
66916 else
66919 ac_ext=cpp
66920 ac_cpp='$CXXCPP $CPPFLAGS'
66921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66926 /* end confdefs.h. */
66927 #include <math.h>
66929 main ()
66931 _sincosf(0, 0, 0);
66933 return 0;
66935 _ACEOF
66936 if ac_fn_cxx_try_compile "$LINENO"; then :
66937 glibcxx_cv_func__sincosf_use=yes
66938 else
66939 glibcxx_cv_func__sincosf_use=no
66941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66942 ac_ext=c
66943 ac_cpp='$CPP $CPPFLAGS'
66944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
66953 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
66955 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
66956 for ac_func in _sincosf
66957 do :
66958 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
66959 if test "x$ac_cv_func__sincosf" = x""yes; then :
66960 cat >>confdefs.h <<_ACEOF
66961 #define HAVE__SINCOSF 1
66962 _ACEOF
66965 done
66974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
66975 $as_echo_n "checking for finitef declaration... " >&6; }
66976 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
66977 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
66978 $as_echo_n "(cached) " >&6
66979 else
66982 ac_ext=cpp
66983 ac_cpp='$CXXCPP $CPPFLAGS'
66984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66989 /* end confdefs.h. */
66990 #include <math.h>
66991 #ifdef HAVE_IEEEFP_H
66992 #include <ieeefp.h>
66993 #endif
66996 main ()
66998 finitef(0);
67000 return 0;
67002 _ACEOF
67003 if ac_fn_cxx_try_compile "$LINENO"; then :
67004 glibcxx_cv_func_finitef_use=yes
67005 else
67006 glibcxx_cv_func_finitef_use=no
67008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67009 ac_ext=c
67010 ac_cpp='$CPP $CPPFLAGS'
67011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67020 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67022 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67023 for ac_func in finitef
67024 do :
67025 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67026 if test "x$ac_cv_func_finitef" = x""yes; then :
67027 cat >>confdefs.h <<_ACEOF
67028 #define HAVE_FINITEF 1
67029 _ACEOF
67032 done
67034 else
67036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67037 $as_echo_n "checking for _finitef declaration... " >&6; }
67038 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67039 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67040 $as_echo_n "(cached) " >&6
67041 else
67044 ac_ext=cpp
67045 ac_cpp='$CXXCPP $CPPFLAGS'
67046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67051 /* end confdefs.h. */
67052 #include <math.h>
67053 #ifdef HAVE_IEEEFP_H
67054 #include <ieeefp.h>
67055 #endif
67058 main ()
67060 _finitef(0);
67062 return 0;
67064 _ACEOF
67065 if ac_fn_cxx_try_compile "$LINENO"; then :
67066 glibcxx_cv_func__finitef_use=yes
67067 else
67068 glibcxx_cv_func__finitef_use=no
67070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67071 ac_ext=c
67072 ac_cpp='$CPP $CPPFLAGS'
67073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67082 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67084 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67085 for ac_func in _finitef
67086 do :
67087 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67088 if test "x$ac_cv_func__finitef" = x""yes; then :
67089 cat >>confdefs.h <<_ACEOF
67090 #define HAVE__FINITEF 1
67091 _ACEOF
67094 done
67103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67104 $as_echo_n "checking for long double trig functions... " >&6; }
67105 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67106 $as_echo_n "(cached) " >&6
67107 else
67110 ac_ext=cpp
67111 ac_cpp='$CXXCPP $CPPFLAGS'
67112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67117 /* end confdefs.h. */
67118 #include <math.h>
67120 main ()
67122 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67124 return 0;
67126 _ACEOF
67127 if ac_fn_cxx_try_compile "$LINENO"; then :
67128 glibcxx_cv_func_long_double_trig_use=yes
67129 else
67130 glibcxx_cv_func_long_double_trig_use=no
67132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67133 ac_ext=c
67134 ac_cpp='$CPP $CPPFLAGS'
67135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67142 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67143 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67144 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67145 do :
67146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67148 eval as_val=\$$as_ac_var
67149 if test "x$as_val" = x""yes; then :
67150 cat >>confdefs.h <<_ACEOF
67151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67152 _ACEOF
67155 done
67157 else
67158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67159 $as_echo_n "checking for _long double trig functions... " >&6; }
67160 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67161 $as_echo_n "(cached) " >&6
67162 else
67165 ac_ext=cpp
67166 ac_cpp='$CXXCPP $CPPFLAGS'
67167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67172 /* end confdefs.h. */
67173 #include <math.h>
67175 main ()
67177 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67179 return 0;
67181 _ACEOF
67182 if ac_fn_cxx_try_compile "$LINENO"; then :
67183 glibcxx_cv_func__long_double_trig_use=yes
67184 else
67185 glibcxx_cv_func__long_double_trig_use=no
67187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67188 ac_ext=c
67189 ac_cpp='$CPP $CPPFLAGS'
67190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67197 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67198 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67199 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67200 do :
67201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67203 eval as_val=\$$as_ac_var
67204 if test "x$as_val" = x""yes; then :
67205 cat >>confdefs.h <<_ACEOF
67206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67207 _ACEOF
67210 done
67219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67220 $as_echo_n "checking for long double round functions... " >&6; }
67221 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67222 $as_echo_n "(cached) " >&6
67223 else
67226 ac_ext=cpp
67227 ac_cpp='$CXXCPP $CPPFLAGS'
67228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67233 /* end confdefs.h. */
67234 #include <math.h>
67236 main ()
67238 ceill (0); floorl (0);
67240 return 0;
67242 _ACEOF
67243 if ac_fn_cxx_try_compile "$LINENO"; then :
67244 glibcxx_cv_func_long_double_round_use=yes
67245 else
67246 glibcxx_cv_func_long_double_round_use=no
67248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67249 ac_ext=c
67250 ac_cpp='$CPP $CPPFLAGS'
67251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67258 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67259 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67260 for ac_func in ceill floorl
67261 do :
67262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67264 eval as_val=\$$as_ac_var
67265 if test "x$as_val" = x""yes; then :
67266 cat >>confdefs.h <<_ACEOF
67267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67268 _ACEOF
67271 done
67273 else
67274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67275 $as_echo_n "checking for _long double round functions... " >&6; }
67276 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67277 $as_echo_n "(cached) " >&6
67278 else
67281 ac_ext=cpp
67282 ac_cpp='$CXXCPP $CPPFLAGS'
67283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67288 /* end confdefs.h. */
67289 #include <math.h>
67291 main ()
67293 _ceill (0); _floorl (0);
67295 return 0;
67297 _ACEOF
67298 if ac_fn_cxx_try_compile "$LINENO"; then :
67299 glibcxx_cv_func__long_double_round_use=yes
67300 else
67301 glibcxx_cv_func__long_double_round_use=no
67303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67304 ac_ext=c
67305 ac_cpp='$CPP $CPPFLAGS'
67306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67313 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67314 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67315 for ac_func in _ceill _floorl
67316 do :
67317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67319 eval as_val=\$$as_ac_var
67320 if test "x$as_val" = x""yes; then :
67321 cat >>confdefs.h <<_ACEOF
67322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67323 _ACEOF
67326 done
67336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67337 $as_echo_n "checking for isnanl declaration... " >&6; }
67338 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67339 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67340 $as_echo_n "(cached) " >&6
67341 else
67344 ac_ext=cpp
67345 ac_cpp='$CXXCPP $CPPFLAGS'
67346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67351 /* end confdefs.h. */
67352 #include <math.h>
67353 #ifdef HAVE_IEEEFP_H
67354 #include <ieeefp.h>
67355 #endif
67358 main ()
67360 isnanl(0);
67362 return 0;
67364 _ACEOF
67365 if ac_fn_cxx_try_compile "$LINENO"; then :
67366 glibcxx_cv_func_isnanl_use=yes
67367 else
67368 glibcxx_cv_func_isnanl_use=no
67370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67371 ac_ext=c
67372 ac_cpp='$CPP $CPPFLAGS'
67373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67382 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67384 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67385 for ac_func in isnanl
67386 do :
67387 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67388 if test "x$ac_cv_func_isnanl" = x""yes; then :
67389 cat >>confdefs.h <<_ACEOF
67390 #define HAVE_ISNANL 1
67391 _ACEOF
67394 done
67396 else
67398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67399 $as_echo_n "checking for _isnanl declaration... " >&6; }
67400 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67401 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67402 $as_echo_n "(cached) " >&6
67403 else
67406 ac_ext=cpp
67407 ac_cpp='$CXXCPP $CPPFLAGS'
67408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67413 /* end confdefs.h. */
67414 #include <math.h>
67415 #ifdef HAVE_IEEEFP_H
67416 #include <ieeefp.h>
67417 #endif
67420 main ()
67422 _isnanl(0);
67424 return 0;
67426 _ACEOF
67427 if ac_fn_cxx_try_compile "$LINENO"; then :
67428 glibcxx_cv_func__isnanl_use=yes
67429 else
67430 glibcxx_cv_func__isnanl_use=no
67432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67433 ac_ext=c
67434 ac_cpp='$CPP $CPPFLAGS'
67435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67444 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67446 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67447 for ac_func in _isnanl
67448 do :
67449 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67450 if test "x$ac_cv_func__isnanl" = x""yes; then :
67451 cat >>confdefs.h <<_ACEOF
67452 #define HAVE__ISNANL 1
67453 _ACEOF
67456 done
67465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67466 $as_echo_n "checking for isinfl declaration... " >&6; }
67467 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67468 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67469 $as_echo_n "(cached) " >&6
67470 else
67473 ac_ext=cpp
67474 ac_cpp='$CXXCPP $CPPFLAGS'
67475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67480 /* end confdefs.h. */
67481 #include <math.h>
67482 #ifdef HAVE_IEEEFP_H
67483 #include <ieeefp.h>
67484 #endif
67487 main ()
67489 isinfl(0);
67491 return 0;
67493 _ACEOF
67494 if ac_fn_cxx_try_compile "$LINENO"; then :
67495 glibcxx_cv_func_isinfl_use=yes
67496 else
67497 glibcxx_cv_func_isinfl_use=no
67499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67500 ac_ext=c
67501 ac_cpp='$CPP $CPPFLAGS'
67502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67511 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67513 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67514 for ac_func in isinfl
67515 do :
67516 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67517 if test "x$ac_cv_func_isinfl" = x""yes; then :
67518 cat >>confdefs.h <<_ACEOF
67519 #define HAVE_ISINFL 1
67520 _ACEOF
67523 done
67525 else
67527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67528 $as_echo_n "checking for _isinfl declaration... " >&6; }
67529 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67530 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67531 $as_echo_n "(cached) " >&6
67532 else
67535 ac_ext=cpp
67536 ac_cpp='$CXXCPP $CPPFLAGS'
67537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67542 /* end confdefs.h. */
67543 #include <math.h>
67544 #ifdef HAVE_IEEEFP_H
67545 #include <ieeefp.h>
67546 #endif
67549 main ()
67551 _isinfl(0);
67553 return 0;
67555 _ACEOF
67556 if ac_fn_cxx_try_compile "$LINENO"; then :
67557 glibcxx_cv_func__isinfl_use=yes
67558 else
67559 glibcxx_cv_func__isinfl_use=no
67561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67562 ac_ext=c
67563 ac_cpp='$CPP $CPPFLAGS'
67564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67573 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67575 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67576 for ac_func in _isinfl
67577 do :
67578 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67579 if test "x$ac_cv_func__isinfl" = x""yes; then :
67580 cat >>confdefs.h <<_ACEOF
67581 #define HAVE__ISINFL 1
67582 _ACEOF
67585 done
67594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67595 $as_echo_n "checking for atan2l declaration... " >&6; }
67596 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67597 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67598 $as_echo_n "(cached) " >&6
67599 else
67602 ac_ext=cpp
67603 ac_cpp='$CXXCPP $CPPFLAGS'
67604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67609 /* end confdefs.h. */
67610 #include <math.h>
67612 main ()
67614 atan2l(0, 0);
67616 return 0;
67618 _ACEOF
67619 if ac_fn_cxx_try_compile "$LINENO"; then :
67620 glibcxx_cv_func_atan2l_use=yes
67621 else
67622 glibcxx_cv_func_atan2l_use=no
67624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67625 ac_ext=c
67626 ac_cpp='$CPP $CPPFLAGS'
67627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67636 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67638 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67639 for ac_func in atan2l
67640 do :
67641 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67642 if test "x$ac_cv_func_atan2l" = x""yes; then :
67643 cat >>confdefs.h <<_ACEOF
67644 #define HAVE_ATAN2L 1
67645 _ACEOF
67648 done
67650 else
67652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67653 $as_echo_n "checking for _atan2l declaration... " >&6; }
67654 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67655 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67656 $as_echo_n "(cached) " >&6
67657 else
67660 ac_ext=cpp
67661 ac_cpp='$CXXCPP $CPPFLAGS'
67662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67667 /* end confdefs.h. */
67668 #include <math.h>
67670 main ()
67672 _atan2l(0, 0);
67674 return 0;
67676 _ACEOF
67677 if ac_fn_cxx_try_compile "$LINENO"; then :
67678 glibcxx_cv_func__atan2l_use=yes
67679 else
67680 glibcxx_cv_func__atan2l_use=no
67682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67683 ac_ext=c
67684 ac_cpp='$CPP $CPPFLAGS'
67685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67694 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67696 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67697 for ac_func in _atan2l
67698 do :
67699 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67700 if test "x$ac_cv_func__atan2l" = x""yes; then :
67701 cat >>confdefs.h <<_ACEOF
67702 #define HAVE__ATAN2L 1
67703 _ACEOF
67706 done
67715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67716 $as_echo_n "checking for expl declaration... " >&6; }
67717 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67718 if test "${glibcxx_cv_func_expl_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>
67732 #ifdef HAVE_IEEEFP_H
67733 #include <ieeefp.h>
67734 #endif
67737 main ()
67739 expl(0);
67741 return 0;
67743 _ACEOF
67744 if ac_fn_cxx_try_compile "$LINENO"; then :
67745 glibcxx_cv_func_expl_use=yes
67746 else
67747 glibcxx_cv_func_expl_use=no
67749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67750 ac_ext=c
67751 ac_cpp='$CPP $CPPFLAGS'
67752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67761 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67763 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67764 for ac_func in expl
67765 do :
67766 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67767 if test "x$ac_cv_func_expl" = x""yes; then :
67768 cat >>confdefs.h <<_ACEOF
67769 #define HAVE_EXPL 1
67770 _ACEOF
67773 done
67775 else
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67778 $as_echo_n "checking for _expl declaration... " >&6; }
67779 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67780 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67781 $as_echo_n "(cached) " >&6
67782 else
67785 ac_ext=cpp
67786 ac_cpp='$CXXCPP $CPPFLAGS'
67787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67792 /* end confdefs.h. */
67793 #include <math.h>
67794 #ifdef HAVE_IEEEFP_H
67795 #include <ieeefp.h>
67796 #endif
67799 main ()
67801 _expl(0);
67803 return 0;
67805 _ACEOF
67806 if ac_fn_cxx_try_compile "$LINENO"; then :
67807 glibcxx_cv_func__expl_use=yes
67808 else
67809 glibcxx_cv_func__expl_use=no
67811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67812 ac_ext=c
67813 ac_cpp='$CPP $CPPFLAGS'
67814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67823 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67825 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67826 for ac_func in _expl
67827 do :
67828 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67829 if test "x$ac_cv_func__expl" = x""yes; then :
67830 cat >>confdefs.h <<_ACEOF
67831 #define HAVE__EXPL 1
67832 _ACEOF
67835 done
67844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67845 $as_echo_n "checking for fabsl declaration... " >&6; }
67846 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67847 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67848 $as_echo_n "(cached) " >&6
67849 else
67852 ac_ext=cpp
67853 ac_cpp='$CXXCPP $CPPFLAGS'
67854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67859 /* end confdefs.h. */
67860 #include <math.h>
67861 #ifdef HAVE_IEEEFP_H
67862 #include <ieeefp.h>
67863 #endif
67866 main ()
67868 fabsl(0);
67870 return 0;
67872 _ACEOF
67873 if ac_fn_cxx_try_compile "$LINENO"; then :
67874 glibcxx_cv_func_fabsl_use=yes
67875 else
67876 glibcxx_cv_func_fabsl_use=no
67878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67879 ac_ext=c
67880 ac_cpp='$CPP $CPPFLAGS'
67881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67890 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67892 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67893 for ac_func in fabsl
67894 do :
67895 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67896 if test "x$ac_cv_func_fabsl" = x""yes; then :
67897 cat >>confdefs.h <<_ACEOF
67898 #define HAVE_FABSL 1
67899 _ACEOF
67902 done
67904 else
67906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67907 $as_echo_n "checking for _fabsl declaration... " >&6; }
67908 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67909 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67910 $as_echo_n "(cached) " >&6
67911 else
67914 ac_ext=cpp
67915 ac_cpp='$CXXCPP $CPPFLAGS'
67916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67921 /* end confdefs.h. */
67922 #include <math.h>
67923 #ifdef HAVE_IEEEFP_H
67924 #include <ieeefp.h>
67925 #endif
67928 main ()
67930 _fabsl(0);
67932 return 0;
67934 _ACEOF
67935 if ac_fn_cxx_try_compile "$LINENO"; then :
67936 glibcxx_cv_func__fabsl_use=yes
67937 else
67938 glibcxx_cv_func__fabsl_use=no
67940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67941 ac_ext=c
67942 ac_cpp='$CPP $CPPFLAGS'
67943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
67952 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
67954 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67955 for ac_func in _fabsl
67956 do :
67957 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
67958 if test "x$ac_cv_func__fabsl" = x""yes; then :
67959 cat >>confdefs.h <<_ACEOF
67960 #define HAVE__FABSL 1
67961 _ACEOF
67964 done
67973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
67974 $as_echo_n "checking for fmodl declaration... " >&6; }
67975 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67976 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
67977 $as_echo_n "(cached) " >&6
67978 else
67981 ac_ext=cpp
67982 ac_cpp='$CXXCPP $CPPFLAGS'
67983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67988 /* end confdefs.h. */
67989 #include <math.h>
67991 main ()
67993 fmodl(0, 0);
67995 return 0;
67997 _ACEOF
67998 if ac_fn_cxx_try_compile "$LINENO"; then :
67999 glibcxx_cv_func_fmodl_use=yes
68000 else
68001 glibcxx_cv_func_fmodl_use=no
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004 ac_ext=c
68005 ac_cpp='$CPP $CPPFLAGS'
68006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68015 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68017 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68018 for ac_func in fmodl
68019 do :
68020 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68021 if test "x$ac_cv_func_fmodl" = x""yes; then :
68022 cat >>confdefs.h <<_ACEOF
68023 #define HAVE_FMODL 1
68024 _ACEOF
68027 done
68029 else
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68032 $as_echo_n "checking for _fmodl declaration... " >&6; }
68033 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68034 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68035 $as_echo_n "(cached) " >&6
68036 else
68039 ac_ext=cpp
68040 ac_cpp='$CXXCPP $CPPFLAGS'
68041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68046 /* end confdefs.h. */
68047 #include <math.h>
68049 main ()
68051 _fmodl(0, 0);
68053 return 0;
68055 _ACEOF
68056 if ac_fn_cxx_try_compile "$LINENO"; then :
68057 glibcxx_cv_func__fmodl_use=yes
68058 else
68059 glibcxx_cv_func__fmodl_use=no
68061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68062 ac_ext=c
68063 ac_cpp='$CPP $CPPFLAGS'
68064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68073 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68075 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68076 for ac_func in _fmodl
68077 do :
68078 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68079 if test "x$ac_cv_func__fmodl" = x""yes; then :
68080 cat >>confdefs.h <<_ACEOF
68081 #define HAVE__FMODL 1
68082 _ACEOF
68085 done
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68095 $as_echo_n "checking for frexpl declaration... " >&6; }
68096 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68097 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68098 $as_echo_n "(cached) " >&6
68099 else
68102 ac_ext=cpp
68103 ac_cpp='$CXXCPP $CPPFLAGS'
68104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68109 /* end confdefs.h. */
68110 #include <math.h>
68112 main ()
68114 frexpl(0, 0);
68116 return 0;
68118 _ACEOF
68119 if ac_fn_cxx_try_compile "$LINENO"; then :
68120 glibcxx_cv_func_frexpl_use=yes
68121 else
68122 glibcxx_cv_func_frexpl_use=no
68124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68125 ac_ext=c
68126 ac_cpp='$CPP $CPPFLAGS'
68127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68136 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68138 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68139 for ac_func in frexpl
68140 do :
68141 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68142 if test "x$ac_cv_func_frexpl" = x""yes; then :
68143 cat >>confdefs.h <<_ACEOF
68144 #define HAVE_FREXPL 1
68145 _ACEOF
68148 done
68150 else
68152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68153 $as_echo_n "checking for _frexpl declaration... " >&6; }
68154 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68155 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68156 $as_echo_n "(cached) " >&6
68157 else
68160 ac_ext=cpp
68161 ac_cpp='$CXXCPP $CPPFLAGS'
68162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68167 /* end confdefs.h. */
68168 #include <math.h>
68170 main ()
68172 _frexpl(0, 0);
68174 return 0;
68176 _ACEOF
68177 if ac_fn_cxx_try_compile "$LINENO"; then :
68178 glibcxx_cv_func__frexpl_use=yes
68179 else
68180 glibcxx_cv_func__frexpl_use=no
68182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68183 ac_ext=c
68184 ac_cpp='$CPP $CPPFLAGS'
68185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68194 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68196 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68197 for ac_func in _frexpl
68198 do :
68199 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68200 if test "x$ac_cv_func__frexpl" = x""yes; then :
68201 cat >>confdefs.h <<_ACEOF
68202 #define HAVE__FREXPL 1
68203 _ACEOF
68206 done
68215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68216 $as_echo_n "checking for hypotl declaration... " >&6; }
68217 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68218 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68219 $as_echo_n "(cached) " >&6
68220 else
68223 ac_ext=cpp
68224 ac_cpp='$CXXCPP $CPPFLAGS'
68225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68230 /* end confdefs.h. */
68231 #include <math.h>
68233 main ()
68235 hypotl(0, 0);
68237 return 0;
68239 _ACEOF
68240 if ac_fn_cxx_try_compile "$LINENO"; then :
68241 glibcxx_cv_func_hypotl_use=yes
68242 else
68243 glibcxx_cv_func_hypotl_use=no
68245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68246 ac_ext=c
68247 ac_cpp='$CPP $CPPFLAGS'
68248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68257 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68259 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68260 for ac_func in hypotl
68261 do :
68262 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68263 if test "x$ac_cv_func_hypotl" = x""yes; then :
68264 cat >>confdefs.h <<_ACEOF
68265 #define HAVE_HYPOTL 1
68266 _ACEOF
68269 done
68271 else
68273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68274 $as_echo_n "checking for _hypotl declaration... " >&6; }
68275 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68276 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68277 $as_echo_n "(cached) " >&6
68278 else
68281 ac_ext=cpp
68282 ac_cpp='$CXXCPP $CPPFLAGS'
68283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68288 /* end confdefs.h. */
68289 #include <math.h>
68291 main ()
68293 _hypotl(0, 0);
68295 return 0;
68297 _ACEOF
68298 if ac_fn_cxx_try_compile "$LINENO"; then :
68299 glibcxx_cv_func__hypotl_use=yes
68300 else
68301 glibcxx_cv_func__hypotl_use=no
68303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68304 ac_ext=c
68305 ac_cpp='$CPP $CPPFLAGS'
68306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68315 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68317 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68318 for ac_func in _hypotl
68319 do :
68320 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68321 if test "x$ac_cv_func__hypotl" = x""yes; then :
68322 cat >>confdefs.h <<_ACEOF
68323 #define HAVE__HYPOTL 1
68324 _ACEOF
68327 done
68336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68337 $as_echo_n "checking for ldexpl declaration... " >&6; }
68338 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68339 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68340 $as_echo_n "(cached) " >&6
68341 else
68344 ac_ext=cpp
68345 ac_cpp='$CXXCPP $CPPFLAGS'
68346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68351 /* end confdefs.h. */
68352 #include <math.h>
68354 main ()
68356 ldexpl(0, 0);
68358 return 0;
68360 _ACEOF
68361 if ac_fn_cxx_try_compile "$LINENO"; then :
68362 glibcxx_cv_func_ldexpl_use=yes
68363 else
68364 glibcxx_cv_func_ldexpl_use=no
68366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68367 ac_ext=c
68368 ac_cpp='$CPP $CPPFLAGS'
68369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68378 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68380 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68381 for ac_func in ldexpl
68382 do :
68383 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68384 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68385 cat >>confdefs.h <<_ACEOF
68386 #define HAVE_LDEXPL 1
68387 _ACEOF
68390 done
68392 else
68394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68395 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68396 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68397 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68398 $as_echo_n "(cached) " >&6
68399 else
68402 ac_ext=cpp
68403 ac_cpp='$CXXCPP $CPPFLAGS'
68404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68409 /* end confdefs.h. */
68410 #include <math.h>
68412 main ()
68414 _ldexpl(0, 0);
68416 return 0;
68418 _ACEOF
68419 if ac_fn_cxx_try_compile "$LINENO"; then :
68420 glibcxx_cv_func__ldexpl_use=yes
68421 else
68422 glibcxx_cv_func__ldexpl_use=no
68424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68425 ac_ext=c
68426 ac_cpp='$CPP $CPPFLAGS'
68427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68436 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68438 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68439 for ac_func in _ldexpl
68440 do :
68441 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68442 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68443 cat >>confdefs.h <<_ACEOF
68444 #define HAVE__LDEXPL 1
68445 _ACEOF
68448 done
68457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68458 $as_echo_n "checking for logl declaration... " >&6; }
68459 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68460 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68461 $as_echo_n "(cached) " >&6
68462 else
68465 ac_ext=cpp
68466 ac_cpp='$CXXCPP $CPPFLAGS'
68467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68472 /* end confdefs.h. */
68473 #include <math.h>
68474 #ifdef HAVE_IEEEFP_H
68475 #include <ieeefp.h>
68476 #endif
68479 main ()
68481 logl(0);
68483 return 0;
68485 _ACEOF
68486 if ac_fn_cxx_try_compile "$LINENO"; then :
68487 glibcxx_cv_func_logl_use=yes
68488 else
68489 glibcxx_cv_func_logl_use=no
68491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68492 ac_ext=c
68493 ac_cpp='$CPP $CPPFLAGS'
68494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68503 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68505 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68506 for ac_func in logl
68507 do :
68508 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68509 if test "x$ac_cv_func_logl" = x""yes; then :
68510 cat >>confdefs.h <<_ACEOF
68511 #define HAVE_LOGL 1
68512 _ACEOF
68515 done
68517 else
68519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68520 $as_echo_n "checking for _logl declaration... " >&6; }
68521 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68522 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68523 $as_echo_n "(cached) " >&6
68524 else
68527 ac_ext=cpp
68528 ac_cpp='$CXXCPP $CPPFLAGS'
68529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68534 /* end confdefs.h. */
68535 #include <math.h>
68536 #ifdef HAVE_IEEEFP_H
68537 #include <ieeefp.h>
68538 #endif
68541 main ()
68543 _logl(0);
68545 return 0;
68547 _ACEOF
68548 if ac_fn_cxx_try_compile "$LINENO"; then :
68549 glibcxx_cv_func__logl_use=yes
68550 else
68551 glibcxx_cv_func__logl_use=no
68553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68554 ac_ext=c
68555 ac_cpp='$CPP $CPPFLAGS'
68556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68565 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68567 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68568 for ac_func in _logl
68569 do :
68570 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68571 if test "x$ac_cv_func__logl" = x""yes; then :
68572 cat >>confdefs.h <<_ACEOF
68573 #define HAVE__LOGL 1
68574 _ACEOF
68577 done
68586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68587 $as_echo_n "checking for log10l declaration... " >&6; }
68588 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68589 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68590 $as_echo_n "(cached) " >&6
68591 else
68594 ac_ext=cpp
68595 ac_cpp='$CXXCPP $CPPFLAGS'
68596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68601 /* end confdefs.h. */
68602 #include <math.h>
68603 #ifdef HAVE_IEEEFP_H
68604 #include <ieeefp.h>
68605 #endif
68608 main ()
68610 log10l(0);
68612 return 0;
68614 _ACEOF
68615 if ac_fn_cxx_try_compile "$LINENO"; then :
68616 glibcxx_cv_func_log10l_use=yes
68617 else
68618 glibcxx_cv_func_log10l_use=no
68620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68621 ac_ext=c
68622 ac_cpp='$CPP $CPPFLAGS'
68623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68632 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68634 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68635 for ac_func in log10l
68636 do :
68637 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68638 if test "x$ac_cv_func_log10l" = x""yes; then :
68639 cat >>confdefs.h <<_ACEOF
68640 #define HAVE_LOG10L 1
68641 _ACEOF
68644 done
68646 else
68648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68649 $as_echo_n "checking for _log10l declaration... " >&6; }
68650 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68651 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68652 $as_echo_n "(cached) " >&6
68653 else
68656 ac_ext=cpp
68657 ac_cpp='$CXXCPP $CPPFLAGS'
68658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68663 /* end confdefs.h. */
68664 #include <math.h>
68665 #ifdef HAVE_IEEEFP_H
68666 #include <ieeefp.h>
68667 #endif
68670 main ()
68672 _log10l(0);
68674 return 0;
68676 _ACEOF
68677 if ac_fn_cxx_try_compile "$LINENO"; then :
68678 glibcxx_cv_func__log10l_use=yes
68679 else
68680 glibcxx_cv_func__log10l_use=no
68682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68683 ac_ext=c
68684 ac_cpp='$CPP $CPPFLAGS'
68685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68694 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68696 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68697 for ac_func in _log10l
68698 do :
68699 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68700 if test "x$ac_cv_func__log10l" = x""yes; then :
68701 cat >>confdefs.h <<_ACEOF
68702 #define HAVE__LOG10L 1
68703 _ACEOF
68706 done
68715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68716 $as_echo_n "checking for modfl declaration... " >&6; }
68717 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68718 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68719 $as_echo_n "(cached) " >&6
68720 else
68723 ac_ext=cpp
68724 ac_cpp='$CXXCPP $CPPFLAGS'
68725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68730 /* end confdefs.h. */
68731 #include <math.h>
68733 main ()
68735 modfl(0, 0);
68737 return 0;
68739 _ACEOF
68740 if ac_fn_cxx_try_compile "$LINENO"; then :
68741 glibcxx_cv_func_modfl_use=yes
68742 else
68743 glibcxx_cv_func_modfl_use=no
68745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68746 ac_ext=c
68747 ac_cpp='$CPP $CPPFLAGS'
68748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68757 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68759 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68760 for ac_func in modfl
68761 do :
68762 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68763 if test "x$ac_cv_func_modfl" = x""yes; then :
68764 cat >>confdefs.h <<_ACEOF
68765 #define HAVE_MODFL 1
68766 _ACEOF
68769 done
68771 else
68773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68774 $as_echo_n "checking for _modfl declaration... " >&6; }
68775 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68776 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68777 $as_echo_n "(cached) " >&6
68778 else
68781 ac_ext=cpp
68782 ac_cpp='$CXXCPP $CPPFLAGS'
68783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68788 /* end confdefs.h. */
68789 #include <math.h>
68791 main ()
68793 _modfl(0, 0);
68795 return 0;
68797 _ACEOF
68798 if ac_fn_cxx_try_compile "$LINENO"; then :
68799 glibcxx_cv_func__modfl_use=yes
68800 else
68801 glibcxx_cv_func__modfl_use=no
68803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68804 ac_ext=c
68805 ac_cpp='$CPP $CPPFLAGS'
68806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68815 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68817 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68818 for ac_func in _modfl
68819 do :
68820 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68821 if test "x$ac_cv_func__modfl" = x""yes; then :
68822 cat >>confdefs.h <<_ACEOF
68823 #define HAVE__MODFL 1
68824 _ACEOF
68827 done
68836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68837 $as_echo_n "checking for powl declaration... " >&6; }
68838 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68839 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68840 $as_echo_n "(cached) " >&6
68841 else
68844 ac_ext=cpp
68845 ac_cpp='$CXXCPP $CPPFLAGS'
68846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68851 /* end confdefs.h. */
68852 #include <math.h>
68854 main ()
68856 powl(0, 0);
68858 return 0;
68860 _ACEOF
68861 if ac_fn_cxx_try_compile "$LINENO"; then :
68862 glibcxx_cv_func_powl_use=yes
68863 else
68864 glibcxx_cv_func_powl_use=no
68866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68867 ac_ext=c
68868 ac_cpp='$CPP $CPPFLAGS'
68869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68878 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68880 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68881 for ac_func in powl
68882 do :
68883 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68884 if test "x$ac_cv_func_powl" = x""yes; then :
68885 cat >>confdefs.h <<_ACEOF
68886 #define HAVE_POWL 1
68887 _ACEOF
68890 done
68892 else
68894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68895 $as_echo_n "checking for _powl declaration... " >&6; }
68896 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68897 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68898 $as_echo_n "(cached) " >&6
68899 else
68902 ac_ext=cpp
68903 ac_cpp='$CXXCPP $CPPFLAGS'
68904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68909 /* end confdefs.h. */
68910 #include <math.h>
68912 main ()
68914 _powl(0, 0);
68916 return 0;
68918 _ACEOF
68919 if ac_fn_cxx_try_compile "$LINENO"; then :
68920 glibcxx_cv_func__powl_use=yes
68921 else
68922 glibcxx_cv_func__powl_use=no
68924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68925 ac_ext=c
68926 ac_cpp='$CPP $CPPFLAGS'
68927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
68936 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
68938 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68939 for ac_func in _powl
68940 do :
68941 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
68942 if test "x$ac_cv_func__powl" = x""yes; then :
68943 cat >>confdefs.h <<_ACEOF
68944 #define HAVE__POWL 1
68945 _ACEOF
68948 done
68957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
68958 $as_echo_n "checking for sqrtl declaration... " >&6; }
68959 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68960 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
68961 $as_echo_n "(cached) " >&6
68962 else
68965 ac_ext=cpp
68966 ac_cpp='$CXXCPP $CPPFLAGS'
68967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68972 /* end confdefs.h. */
68973 #include <math.h>
68974 #ifdef HAVE_IEEEFP_H
68975 #include <ieeefp.h>
68976 #endif
68979 main ()
68981 sqrtl(0);
68983 return 0;
68985 _ACEOF
68986 if ac_fn_cxx_try_compile "$LINENO"; then :
68987 glibcxx_cv_func_sqrtl_use=yes
68988 else
68989 glibcxx_cv_func_sqrtl_use=no
68991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68992 ac_ext=c
68993 ac_cpp='$CPP $CPPFLAGS'
68994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69003 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69005 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69006 for ac_func in sqrtl
69007 do :
69008 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69009 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69010 cat >>confdefs.h <<_ACEOF
69011 #define HAVE_SQRTL 1
69012 _ACEOF
69015 done
69017 else
69019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69020 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69021 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69022 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69023 $as_echo_n "(cached) " >&6
69024 else
69027 ac_ext=cpp
69028 ac_cpp='$CXXCPP $CPPFLAGS'
69029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69034 /* end confdefs.h. */
69035 #include <math.h>
69036 #ifdef HAVE_IEEEFP_H
69037 #include <ieeefp.h>
69038 #endif
69041 main ()
69043 _sqrtl(0);
69045 return 0;
69047 _ACEOF
69048 if ac_fn_cxx_try_compile "$LINENO"; then :
69049 glibcxx_cv_func__sqrtl_use=yes
69050 else
69051 glibcxx_cv_func__sqrtl_use=no
69053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69054 ac_ext=c
69055 ac_cpp='$CPP $CPPFLAGS'
69056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69065 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69067 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69068 for ac_func in _sqrtl
69069 do :
69070 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69071 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69072 cat >>confdefs.h <<_ACEOF
69073 #define HAVE__SQRTL 1
69074 _ACEOF
69077 done
69086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69087 $as_echo_n "checking for sincosl declaration... " >&6; }
69088 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69089 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69090 $as_echo_n "(cached) " >&6
69091 else
69094 ac_ext=cpp
69095 ac_cpp='$CXXCPP $CPPFLAGS'
69096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69101 /* end confdefs.h. */
69102 #include <math.h>
69104 main ()
69106 sincosl(0, 0, 0);
69108 return 0;
69110 _ACEOF
69111 if ac_fn_cxx_try_compile "$LINENO"; then :
69112 glibcxx_cv_func_sincosl_use=yes
69113 else
69114 glibcxx_cv_func_sincosl_use=no
69116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69117 ac_ext=c
69118 ac_cpp='$CPP $CPPFLAGS'
69119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69128 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69130 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69131 for ac_func in sincosl
69132 do :
69133 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69134 if test "x$ac_cv_func_sincosl" = x""yes; then :
69135 cat >>confdefs.h <<_ACEOF
69136 #define HAVE_SINCOSL 1
69137 _ACEOF
69140 done
69142 else
69144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69145 $as_echo_n "checking for _sincosl declaration... " >&6; }
69146 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69147 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69148 $as_echo_n "(cached) " >&6
69149 else
69152 ac_ext=cpp
69153 ac_cpp='$CXXCPP $CPPFLAGS'
69154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69159 /* end confdefs.h. */
69160 #include <math.h>
69162 main ()
69164 _sincosl(0, 0, 0);
69166 return 0;
69168 _ACEOF
69169 if ac_fn_cxx_try_compile "$LINENO"; then :
69170 glibcxx_cv_func__sincosl_use=yes
69171 else
69172 glibcxx_cv_func__sincosl_use=no
69174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69175 ac_ext=c
69176 ac_cpp='$CPP $CPPFLAGS'
69177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69186 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69188 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69189 for ac_func in _sincosl
69190 do :
69191 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69192 if test "x$ac_cv_func__sincosl" = x""yes; then :
69193 cat >>confdefs.h <<_ACEOF
69194 #define HAVE__SINCOSL 1
69195 _ACEOF
69198 done
69207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69208 $as_echo_n "checking for finitel declaration... " >&6; }
69209 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69210 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69211 $as_echo_n "(cached) " >&6
69212 else
69215 ac_ext=cpp
69216 ac_cpp='$CXXCPP $CPPFLAGS'
69217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69222 /* end confdefs.h. */
69223 #include <math.h>
69224 #ifdef HAVE_IEEEFP_H
69225 #include <ieeefp.h>
69226 #endif
69229 main ()
69231 finitel(0);
69233 return 0;
69235 _ACEOF
69236 if ac_fn_cxx_try_compile "$LINENO"; then :
69237 glibcxx_cv_func_finitel_use=yes
69238 else
69239 glibcxx_cv_func_finitel_use=no
69241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69242 ac_ext=c
69243 ac_cpp='$CPP $CPPFLAGS'
69244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69253 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69255 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69256 for ac_func in finitel
69257 do :
69258 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69259 if test "x$ac_cv_func_finitel" = x""yes; then :
69260 cat >>confdefs.h <<_ACEOF
69261 #define HAVE_FINITEL 1
69262 _ACEOF
69265 done
69267 else
69269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69270 $as_echo_n "checking for _finitel declaration... " >&6; }
69271 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69272 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69273 $as_echo_n "(cached) " >&6
69274 else
69277 ac_ext=cpp
69278 ac_cpp='$CXXCPP $CPPFLAGS'
69279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69284 /* end confdefs.h. */
69285 #include <math.h>
69286 #ifdef HAVE_IEEEFP_H
69287 #include <ieeefp.h>
69288 #endif
69291 main ()
69293 _finitel(0);
69295 return 0;
69297 _ACEOF
69298 if ac_fn_cxx_try_compile "$LINENO"; then :
69299 glibcxx_cv_func__finitel_use=yes
69300 else
69301 glibcxx_cv_func__finitel_use=no
69303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69304 ac_ext=c
69305 ac_cpp='$CPP $CPPFLAGS'
69306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69315 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69317 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69318 for ac_func in _finitel
69319 do :
69320 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69321 if test "x$ac_cv_func__finitel" = x""yes; then :
69322 cat >>confdefs.h <<_ACEOF
69323 #define HAVE__FINITEL 1
69324 _ACEOF
69327 done
69335 LIBS="$ac_save_LIBS"
69336 CXXFLAGS="$ac_save_CXXFLAGS"
69339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69340 ac_save_CXXFLAGS="$CXXFLAGS"
69341 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69345 $as_echo_n "checking for strtold declaration... " >&6; }
69346 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69347 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69348 $as_echo_n "(cached) " >&6
69349 else
69352 ac_ext=cpp
69353 ac_cpp='$CXXCPP $CPPFLAGS'
69354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69359 /* end confdefs.h. */
69360 #include <stdlib.h>
69362 main ()
69364 strtold(0, 0);
69366 return 0;
69368 _ACEOF
69369 if ac_fn_cxx_try_compile "$LINENO"; then :
69370 glibcxx_cv_func_strtold_use=yes
69371 else
69372 glibcxx_cv_func_strtold_use=no
69374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69375 ac_ext=c
69376 ac_cpp='$CPP $CPPFLAGS'
69377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69386 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69387 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69388 for ac_func in strtold
69389 do :
69390 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69391 if test "x$ac_cv_func_strtold" = x""yes; then :
69392 cat >>confdefs.h <<_ACEOF
69393 #define HAVE_STRTOLD 1
69394 _ACEOF
69397 done
69404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69405 $as_echo_n "checking for strtof declaration... " >&6; }
69406 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69407 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69408 $as_echo_n "(cached) " >&6
69409 else
69412 ac_ext=cpp
69413 ac_cpp='$CXXCPP $CPPFLAGS'
69414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69419 /* end confdefs.h. */
69420 #include <stdlib.h>
69422 main ()
69424 strtof(0, 0);
69426 return 0;
69428 _ACEOF
69429 if ac_fn_cxx_try_compile "$LINENO"; then :
69430 glibcxx_cv_func_strtof_use=yes
69431 else
69432 glibcxx_cv_func_strtof_use=no
69434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69435 ac_ext=c
69436 ac_cpp='$CPP $CPPFLAGS'
69437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69446 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69447 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69448 for ac_func in strtof
69449 do :
69450 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69451 if test "x$ac_cv_func_strtof" = x""yes; then :
69452 cat >>confdefs.h <<_ACEOF
69453 #define HAVE_STRTOF 1
69454 _ACEOF
69457 done
69464 CXXFLAGS="$ac_save_CXXFLAGS"
69467 *-vxworks)
69468 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69470 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69472 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69474 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69476 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69478 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69480 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69482 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69484 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69486 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69488 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69490 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69492 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69494 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69496 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69498 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69500 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69502 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69504 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69506 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69510 as_fn_error "No support for this host/target combination." "$LINENO" 5
69512 esac
69516 # At some point, we should differentiate between architectures
69517 # like x86, which have long double versions, and alpha/powerpc/etc.,
69518 # which don't. For the time being, punt.
69519 if test x"long_double_math_on_this_cpu" = x"yes"; then
69520 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69522 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69524 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69526 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69528 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69530 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69532 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69534 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69536 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69538 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69540 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69542 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69544 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69546 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69548 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69550 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69552 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69554 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69556 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69558 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69560 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69562 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69564 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69569 # Check for _Unwind_GetIPInfo.
69572 # Check whether --with-system-libunwind was given.
69573 if test "${with_system_libunwind+set}" = set; then :
69574 withval=$with_system_libunwind;
69577 # If system-libunwind was not specifically set, pick a default setting.
69578 if test x$with_system_libunwind = x; then
69579 case ${target} in
69580 ia64-*-hpux*) with_system_libunwind=yes ;;
69581 *) with_system_libunwind=no ;;
69582 esac
69584 # Based on system-libunwind and target, do we have ipinfo?
69585 if test x$with_system_libunwind = xyes; then
69586 case ${target} in
69587 ia64-*-*) have_unwind_getipinfo=no ;;
69588 *) have_unwind_getipinfo=yes ;;
69589 esac
69590 else
69591 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69593 case ${target} in
69594 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69595 *) have_unwind_getipinfo=yes ;;
69596 esac
69600 if test x$have_unwind_getipinfo = xyes; then
69602 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69607 # Check whether --enable-linux-futex was given.
69608 if test "${enable_linux_futex+set}" = set; then :
69609 enableval=$enable_linux_futex;
69610 case "$enableval" in
69611 yes|no|default) ;;
69612 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69613 esac
69615 else
69616 enable_linux_futex=default
69620 case "$target" in
69621 *-linux*)
69622 case "$enable_linux_futex" in
69623 default)
69624 # If headers don't have gettid/futex syscalls definition, then
69625 # default to no, otherwise there will be compile time failures.
69626 # Otherwise, default to yes. If we don't detect we are
69627 # compiled/linked against NPTL and not cross-compiling, check
69628 # if programs are run by default against NPTL and if not, issue
69629 # a warning.
69630 enable_linux_futex=no
69631 if test x$gcc_no_link = xyes; then
69632 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69635 /* end confdefs.h. */
69636 #include <sys/syscall.h>
69637 int lk;
69639 main ()
69641 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69643 return 0;
69645 _ACEOF
69646 if ac_fn_c_try_link "$LINENO"; then :
69647 save_LIBS="$LIBS"
69648 LIBS="-lpthread $LIBS"
69649 if test x$gcc_no_link = xyes; then
69650 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69653 /* end confdefs.h. */
69654 #ifndef _GNU_SOURCE
69655 #define _GNU_SOURCE 1
69656 #endif
69657 #include <pthread.h>
69658 pthread_t th; void *status;
69660 main ()
69662 pthread_tryjoin_np (th, &status);
69664 return 0;
69666 _ACEOF
69667 if ac_fn_c_try_link "$LINENO"; then :
69668 enable_linux_futex=yes
69669 else
69670 if test x$cross_compiling = xno; then
69671 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69672 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69674 If so, please configure with --disable-linux-futex" >&5
69675 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69676 If so, please configure with --disable-linux-futex" >&2;}
69679 enable_linux_futex=yes
69681 rm -f core conftest.err conftest.$ac_objext \
69682 conftest$ac_exeext conftest.$ac_ext
69683 LIBS="$save_LIBS"
69685 rm -f core conftest.err conftest.$ac_objext \
69686 conftest$ac_exeext conftest.$ac_ext
69688 yes)
69689 if test x$gcc_no_link = xyes; then
69690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69693 /* end confdefs.h. */
69694 #include <sys/syscall.h>
69695 int lk;
69697 main ()
69699 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69701 return 0;
69703 _ACEOF
69704 if ac_fn_c_try_link "$LINENO"; then :
69706 else
69707 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69709 rm -f core conftest.err conftest.$ac_objext \
69710 conftest$ac_exeext conftest.$ac_ext
69712 esac
69715 enable_linux_futex=no
69717 esac
69718 if test x$enable_linux_futex = xyes; then
69720 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69727 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69729 acx_cv_header_stdint=stddef.h
69730 acx_cv_header_stdint_kind="(already complete)"
69731 for i in stdint.h $inttype_headers; do
69732 unset ac_cv_type_uintptr_t
69733 unset ac_cv_type_uintmax_t
69734 unset ac_cv_type_int_least32_t
69735 unset ac_cv_type_int_fast32_t
69736 unset ac_cv_type_uint64_t
69737 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69738 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69739 #include <$i>
69741 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69742 acx_cv_header_stdint=$i
69743 else
69744 continue
69747 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69748 #include <$i>
69750 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69752 else
69753 acx_cv_header_stdint_kind="(mostly complete)"
69756 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69757 #include <$i>
69759 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69761 else
69762 acx_cv_header_stdint_kind="(mostly complete)"
69765 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69766 #include <$i>
69768 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69770 else
69771 acx_cv_header_stdint_kind="(mostly complete)"
69774 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69775 #include <$i>
69777 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69779 else
69780 acx_cv_header_stdint_kind="(lacks uint64_t)"
69783 break
69784 done
69785 if test "$acx_cv_header_stdint" = stddef.h; then
69786 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69787 for i in stdint.h $inttype_headers; do
69788 unset ac_cv_type_uintptr_t
69789 unset ac_cv_type_uint32_t
69790 unset ac_cv_type_uint64_t
69791 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69792 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69793 #include <$i>
69795 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69796 acx_cv_header_stdint=$i
69797 else
69798 continue
69801 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69802 #include <$i>
69804 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69808 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69809 #include <$i>
69811 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69815 break
69816 done
69818 if test "$acx_cv_header_stdint" = stddef.h; then
69819 acx_cv_header_stdint_kind="(u_intXX_t style)"
69820 for i in sys/types.h $inttype_headers; do
69821 unset ac_cv_type_u_int32_t
69822 unset ac_cv_type_u_int64_t
69823 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69824 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69825 #include <$i>
69827 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69828 acx_cv_header_stdint=$i
69829 else
69830 continue
69833 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69834 #include <$i>
69836 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69840 break
69841 done
69843 if test "$acx_cv_header_stdint" = stddef.h; then
69844 acx_cv_header_stdint_kind="(using manual detection)"
69847 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69848 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69849 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69850 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69851 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69853 # ----------------- Summarize what we found so far
69855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69856 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69858 case `$as_basename -- include/gstdint.h ||
69859 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69860 Xinclude/gstdint.h : 'X\(//\)$' \| \
69861 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69862 $as_echo X/include/gstdint.h |
69863 sed '/^.*\/\([^/][^/]*\)\/*$/{
69864 s//\1/
69867 /^X\/\(\/\/\)$/{
69868 s//\1/
69871 /^X\/\(\/\).*/{
69872 s//\1/
69875 s/.*/./; q'` in
69876 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69877 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69878 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69879 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69880 *) ;;
69881 esac
69883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69884 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69886 # ----------------- done included file, check C basic types --------
69888 # Lacking an uintptr_t? Test size of void *
69889 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69890 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69893 # This bug is HP SR number 8606223364.
69894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69895 $as_echo_n "checking size of void *... " >&6; }
69896 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69897 $as_echo_n "(cached) " >&6
69898 else
69899 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69901 else
69902 if test "$ac_cv_type_void_p" = yes; then
69903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69905 { as_fn_set_status 77
69906 as_fn_error "cannot compute sizeof (void *)
69907 See \`config.log' for more details." "$LINENO" 5; }; }
69908 else
69909 ac_cv_sizeof_void_p=0
69914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69915 $as_echo "$ac_cv_sizeof_void_p" >&6; }
69919 cat >>confdefs.h <<_ACEOF
69920 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
69921 _ACEOF
69924 esac
69926 # Lacking an uint64_t? Test size of long
69927 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
69928 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
69929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69930 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69931 # This bug is HP SR number 8606223364.
69932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
69933 $as_echo_n "checking size of long... " >&6; }
69934 if test "${ac_cv_sizeof_long+set}" = set; then :
69935 $as_echo_n "(cached) " >&6
69936 else
69937 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
69939 else
69940 if test "$ac_cv_type_long" = yes; then
69941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69943 { as_fn_set_status 77
69944 as_fn_error "cannot compute sizeof (long)
69945 See \`config.log' for more details." "$LINENO" 5; }; }
69946 else
69947 ac_cv_sizeof_long=0
69952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
69953 $as_echo "$ac_cv_sizeof_long" >&6; }
69957 cat >>confdefs.h <<_ACEOF
69958 #define SIZEOF_LONG $ac_cv_sizeof_long
69959 _ACEOF
69962 esac
69964 if test $acx_cv_header_stdint = stddef.h; then
69965 # Lacking a good header? Test size of everything and deduce all types.
69966 # The cast to long int works around a bug in the HP C Compiler
69967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69969 # This bug is HP SR number 8606223364.
69970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
69971 $as_echo_n "checking size of int... " >&6; }
69972 if test "${ac_cv_sizeof_int+set}" = set; then :
69973 $as_echo_n "(cached) " >&6
69974 else
69975 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
69977 else
69978 if test "$ac_cv_type_int" = yes; then
69979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69981 { as_fn_set_status 77
69982 as_fn_error "cannot compute sizeof (int)
69983 See \`config.log' for more details." "$LINENO" 5; }; }
69984 else
69985 ac_cv_sizeof_int=0
69990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
69991 $as_echo "$ac_cv_sizeof_int" >&6; }
69995 cat >>confdefs.h <<_ACEOF
69996 #define SIZEOF_INT $ac_cv_sizeof_int
69997 _ACEOF
70000 # The cast to long int works around a bug in the HP C Compiler
70001 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70002 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70003 # This bug is HP SR number 8606223364.
70004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70005 $as_echo_n "checking size of short... " >&6; }
70006 if test "${ac_cv_sizeof_short+set}" = set; then :
70007 $as_echo_n "(cached) " >&6
70008 else
70009 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70011 else
70012 if test "$ac_cv_type_short" = yes; then
70013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70015 { as_fn_set_status 77
70016 as_fn_error "cannot compute sizeof (short)
70017 See \`config.log' for more details." "$LINENO" 5; }; }
70018 else
70019 ac_cv_sizeof_short=0
70024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70025 $as_echo "$ac_cv_sizeof_short" >&6; }
70029 cat >>confdefs.h <<_ACEOF
70030 #define SIZEOF_SHORT $ac_cv_sizeof_short
70031 _ACEOF
70034 # The cast to long int works around a bug in the HP C Compiler
70035 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70036 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70037 # This bug is HP SR number 8606223364.
70038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70039 $as_echo_n "checking size of char... " >&6; }
70040 if test "${ac_cv_sizeof_char+set}" = set; then :
70041 $as_echo_n "(cached) " >&6
70042 else
70043 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70045 else
70046 if test "$ac_cv_type_char" = yes; then
70047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70049 { as_fn_set_status 77
70050 as_fn_error "cannot compute sizeof (char)
70051 See \`config.log' for more details." "$LINENO" 5; }; }
70052 else
70053 ac_cv_sizeof_char=0
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70059 $as_echo "$ac_cv_sizeof_char" >&6; }
70063 cat >>confdefs.h <<_ACEOF
70064 #define SIZEOF_CHAR $ac_cv_sizeof_char
70065 _ACEOF
70069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70070 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70071 case "$ac_cv_sizeof_char" in
70072 1) acx_cv_type_int8_t=char ;;
70073 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70074 esac
70075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70076 $as_echo "$acx_cv_type_int8_t" >&6; }
70078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70079 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70080 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70081 2:*) acx_cv_type_int16_t=int ;;
70082 *:2) acx_cv_type_int16_t=short ;;
70083 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70084 esac
70085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70086 $as_echo "$acx_cv_type_int16_t" >&6; }
70088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70089 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70090 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70091 4:*) acx_cv_type_int32_t=int ;;
70092 *:4) acx_cv_type_int32_t=long ;;
70093 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70094 esac
70095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70096 $as_echo "$acx_cv_type_int32_t" >&6; }
70099 # These tests are here to make the output prettier
70101 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70102 case "$ac_cv_sizeof_long" in
70103 8) acx_cv_type_int64_t=long ;;
70104 esac
70105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70106 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70108 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70111 # Now we can use the above types
70113 if test "$ac_cv_type_uintptr_t" != yes; then
70114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70115 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70116 case $ac_cv_sizeof_void_p in
70117 2) acx_cv_type_intptr_t=int16_t ;;
70118 4) acx_cv_type_intptr_t=int32_t ;;
70119 8) acx_cv_type_intptr_t=int64_t ;;
70120 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70121 esac
70122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70123 $as_echo "$acx_cv_type_intptr_t" >&6; }
70126 # ----------------- done all checks, emit header -------------
70127 ac_config_commands="$ac_config_commands include/gstdint.h"
70133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70134 $as_echo_n "checking for GNU c++filt... " >&6; }
70135 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70136 $as_echo_n "(cached) " >&6
70137 else
70138 if test -z "$CXXFILT"; then
70139 ac_path_CXXFILT_found=false
70140 # Loop through the user's path and test for each of PROGNAME-LIST
70141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70142 for as_dir in $PATH
70144 IFS=$as_save_IFS
70145 test -z "$as_dir" && as_dir=.
70146 for ac_prog in c++filt gc++filt; do
70147 for ac_exec_ext in '' $ac_executable_extensions; do
70148 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70149 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70150 # Check for GNU $ac_path_CXXFILT
70151 case `"$ac_path_CXXFILT" --version 2>&1` in
70152 *GNU*)
70153 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70154 esac
70156 $ac_path_CXXFILT_found && break 3
70157 done
70158 done
70159 done
70160 IFS=$as_save_IFS
70161 if test -z "$ac_cv_path_CXXFILT"; then
70164 else
70165 ac_cv_path_CXXFILT=$CXXFILT
70169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70170 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70171 CXXFILT=$ac_cv_path_CXXFILT
70175 # Check whether --enable-symvers was given.
70176 if test "${enable_symvers+set}" = set; then :
70177 enableval=$enable_symvers;
70178 case "$enableval" in
70179 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70180 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70181 esac
70183 else
70184 enable_symvers=yes
70189 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70190 # don't know enough about $LD to do tricks...
70192 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70193 # with extern "C++" in version scripts.
70196 # Turn a 'yes' into a suitable default.
70197 if test x$enable_symvers = xyes ; then
70198 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70199 enable_symvers=no
70200 else
70201 if test $with_gnu_ld = yes ; then
70202 case ${target_os} in
70203 hpux*)
70204 enable_symvers=no ;;
70206 enable_symvers=gnu ;;
70207 esac
70208 else
70209 case ${target_os} in
70210 darwin*)
70211 enable_symvers=darwin ;;
70212 # Sun symbol versioning exists since Solaris 2.5.
70213 solaris2.[5-9]* | solaris2.1[0-9]*)
70214 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70215 # version scripts, so disable symbol versioning if none can be
70216 # found.
70217 if test -z "$ac_cv_path_CXXFILT"; then
70218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70219 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70221 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70223 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70224 enable_symvers=no
70225 else
70226 enable_symvers=sun
70230 enable_symvers=no ;;
70231 esac
70236 # Check to see if 'darwin' or 'darwin-export' can win.
70237 if test x$enable_symvers = xdarwin-export ; then
70238 enable_symvers=darwin
70241 # Check if 'sun' was requested on non-Solaris 2 platforms.
70242 if test x$enable_symvers = xsun ; then
70243 case ${target_os} in
70244 solaris2*)
70245 # All fine.
70248 # Unlikely to work.
70249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70250 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70252 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70254 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70255 enable_symvers=no
70257 esac
70260 # Check to see if 'gnu' can win.
70261 if test $enable_symvers = gnu ||
70262 test $enable_symvers = gnu-versioned-namespace ||
70263 test $enable_symvers = sun; then
70264 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70266 $as_echo_n "checking for shared libgcc... " >&6; }
70267 ac_save_CFLAGS="$CFLAGS"
70268 CFLAGS=' -lgcc_s'
70269 if test x$gcc_no_link = xyes; then
70270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70273 /* end confdefs.h. */
70276 main ()
70278 return 0;
70280 return 0;
70282 _ACEOF
70283 if ac_fn_c_try_link "$LINENO"; then :
70284 glibcxx_shared_libgcc=yes
70285 else
70286 glibcxx_shared_libgcc=no
70288 rm -f core conftest.err conftest.$ac_objext \
70289 conftest$ac_exeext conftest.$ac_ext
70290 CFLAGS="$ac_save_CFLAGS"
70291 if test $glibcxx_shared_libgcc = no; then
70292 cat > conftest.c <<EOF
70293 int main (void) { return 0; }
70295 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70296 -shared -shared-libgcc -o conftest.so \
70297 conftest.c -v 2>&1 >/dev/null \
70298 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70299 rm -f conftest.c conftest.so
70300 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70301 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70302 if test x$gcc_no_link = xyes; then
70303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70306 /* end confdefs.h. */
70309 main ()
70311 return 0;
70313 return 0;
70315 _ACEOF
70316 if ac_fn_c_try_link "$LINENO"; then :
70317 glibcxx_shared_libgcc=yes
70319 rm -f core conftest.err conftest.$ac_objext \
70320 conftest$ac_exeext conftest.$ac_ext
70321 CFLAGS="$ac_save_CFLAGS"
70324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70325 $as_echo "$glibcxx_shared_libgcc" >&6; }
70327 # For GNU ld, we need at least this version. The format is described in
70328 # GLIBCXX_CHECK_LINKER_FEATURES above.
70329 glibcxx_min_gnu_ld_version=21400
70331 # If no shared libgcc, can't win.
70332 if test $glibcxx_shared_libgcc != yes; then
70333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70334 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70336 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70338 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70339 enable_symvers=no
70340 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70341 : All interesting versions of Sun ld support sun style symbol versioning.
70342 elif test $with_gnu_ld != yes ; then
70343 # just fail for now
70344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70345 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70347 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70349 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70350 enable_symvers=no
70351 elif test $glibcxx_ld_is_gold = yes ; then
70352 : All versions of gold support symbol versioning.
70353 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70354 # The right tools, the right setup, but too old. Fallbacks?
70355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70356 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70358 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70360 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70362 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70364 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70365 enable_symvers=no
70369 # For libtool versioning info, format is CURRENT:REVISION:AGE
70370 libtool_VERSION=6:17:0
70372 # Everything parsed; figure out what files and settings to use.
70373 case $enable_symvers in
70375 SYMVER_FILE=config/abi/pre/none.ver
70377 gnu)
70378 SYMVER_FILE=config/abi/pre/gnu.ver
70380 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70383 gnu-versioned-namespace)
70384 libtool_VERSION=7:0:0
70385 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70387 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70390 darwin)
70391 SYMVER_FILE=config/abi/pre/gnu.ver
70393 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70396 sun)
70397 SYMVER_FILE=config/abi/pre/gnu.ver
70399 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70402 esac
70404 if test x$enable_symvers != xno ; then
70406 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70411 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70412 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70413 $as_echo_n "(cached) " >&6
70414 else
70416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70417 /* end confdefs.h. */
70418 void foo (void); __asm (".symver foo, bar@SYMVER");
70420 main ()
70424 return 0;
70426 _ACEOF
70427 if ac_fn_c_try_compile "$LINENO"; then :
70428 glibcxx_cv_have_as_symver_directive=yes
70429 else
70430 glibcxx_cv_have_as_symver_directive=no
70432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70435 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70436 if test $glibcxx_cv_have_as_symver_directive = yes; then
70438 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70449 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70450 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70452 if test $enable_symvers != no ; then
70453 case ${target_os} in
70454 # The Solaris 2 runtime linker doesn't support the GNU extension of
70455 # binding the same symbol to different versions
70456 solaris2*)
70458 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70461 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70464 esac
70467 # Now, set up compatibility support, if any.
70468 # In addition, need this to deal with std::size_t mangling in
70469 # src/compatibility.cc. In a perfect world, could use
70470 # typeid(std::size_t).name()[0] to do direct substitution.
70471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70472 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70473 ac_save_CFLAGS="$CFLAGS"
70474 CFLAGS="-Werror"
70475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70476 /* end confdefs.h. */
70479 main ()
70481 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70483 return 0;
70485 _ACEOF
70486 if ac_fn_c_try_compile "$LINENO"; then :
70487 glibcxx_size_t_is_i=yes
70488 else
70489 glibcxx_size_t_is_i=no
70491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70492 CFLAGS=$ac_save_CFLAGS
70493 if test "$glibcxx_size_t_is_i" = yes; then
70495 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70499 $as_echo "$glibcxx_size_t_is_i" >&6; }
70501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70502 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70503 ac_save_CFLAGS="$CFLAGS"
70504 CFLAGS="-Werror"
70505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70506 /* end confdefs.h. */
70509 main ()
70511 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70513 return 0;
70515 _ACEOF
70516 if ac_fn_c_try_compile "$LINENO"; then :
70517 glibcxx_ptrdiff_t_is_i=yes
70518 else
70519 glibcxx_ptrdiff_t_is_i=no
70521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70522 CFLAGS=$ac_save_CFLAGS
70523 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70525 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70529 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70534 # Check whether --enable-libstdcxx-visibility was given.
70535 if test "${enable_libstdcxx_visibility+set}" = set; then :
70536 enableval=$enable_libstdcxx_visibility;
70537 case "$enableval" in
70538 yes|no) ;;
70539 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70540 esac
70542 else
70543 enable_libstdcxx_visibility=yes
70548 if test x$enable_libstdcxx_visibility = xyes ; then
70549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70550 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70551 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70552 $as_echo_n "(cached) " >&6
70553 else
70555 save_CFLAGS="$CFLAGS"
70556 CFLAGS="$CFLAGS -Werror"
70557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70558 /* end confdefs.h. */
70559 void __attribute__((visibility("hidden"))) foo(void) { }
70561 main ()
70565 return 0;
70567 _ACEOF
70568 if ac_fn_c_try_compile "$LINENO"; then :
70569 glibcxx_cv_have_attribute_visibility=yes
70570 else
70571 glibcxx_cv_have_attribute_visibility=no
70573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70574 CFLAGS="$save_CFLAGS"
70576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70577 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70578 if test $glibcxx_cv_have_attribute_visibility = no; then
70579 enable_libstdcxx_visibility=no
70584 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70585 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70588 ac_ldbl_compat=no
70589 case "$target" in
70590 powerpc*-*-linux* | \
70591 sparc*-*-linux* | \
70592 s390*-*-linux* | \
70593 alpha*-*-linux*)
70594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70595 /* end confdefs.h. */
70598 main ()
70601 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70602 #error no need for long double compatibility
70603 #endif
70606 return 0;
70608 _ACEOF
70609 if ac_fn_c_try_compile "$LINENO"; then :
70610 ac_ldbl_compat=yes
70611 else
70612 ac_ldbl_compat=no
70614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70615 if test "$ac_ldbl_compat" = yes; then
70617 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70619 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70621 esac
70624 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70626 if $GLIBCXX_IS_NATIVE ; then
70627 # Do checks for resource limit functions.
70629 setrlimit_have_headers=yes
70630 for ac_header in unistd.h sys/time.h sys/resource.h
70631 do :
70632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70633 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70634 eval as_val=\$$as_ac_Header
70635 if test "x$as_val" = x""yes; then :
70636 cat >>confdefs.h <<_ACEOF
70637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70638 _ACEOF
70640 else
70641 setrlimit_have_headers=no
70644 done
70646 # If don't have the headers, then we can't run the tests now, and we
70647 # won't be seeing any of these during testsuite compilation.
70648 if test $setrlimit_have_headers = yes; then
70649 # Can't do these in a loop, else the resulting syntax is wrong.
70651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70652 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70654 /* end confdefs.h. */
70655 #include <unistd.h>
70656 #include <sys/time.h>
70657 #include <sys/resource.h>
70660 main ()
70662 int f = RLIMIT_DATA ;
70664 return 0;
70666 _ACEOF
70667 if ac_fn_c_try_compile "$LINENO"; then :
70668 glibcxx_mresult=1
70669 else
70670 glibcxx_mresult=0
70672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70674 cat >>confdefs.h <<_ACEOF
70675 #define HAVE_LIMIT_DATA $glibcxx_mresult
70676 _ACEOF
70678 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70680 $as_echo "$res" >&6; }
70683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70684 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70686 /* end confdefs.h. */
70687 #include <unistd.h>
70688 #include <sys/time.h>
70689 #include <sys/resource.h>
70692 main ()
70694 int f = RLIMIT_RSS ;
70696 return 0;
70698 _ACEOF
70699 if ac_fn_c_try_compile "$LINENO"; then :
70700 glibcxx_mresult=1
70701 else
70702 glibcxx_mresult=0
70704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70706 cat >>confdefs.h <<_ACEOF
70707 #define HAVE_LIMIT_RSS $glibcxx_mresult
70708 _ACEOF
70710 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70712 $as_echo "$res" >&6; }
70715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70716 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70718 /* end confdefs.h. */
70719 #include <unistd.h>
70720 #include <sys/time.h>
70721 #include <sys/resource.h>
70724 main ()
70726 int f = RLIMIT_VMEM ;
70728 return 0;
70730 _ACEOF
70731 if ac_fn_c_try_compile "$LINENO"; then :
70732 glibcxx_mresult=1
70733 else
70734 glibcxx_mresult=0
70736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70738 cat >>confdefs.h <<_ACEOF
70739 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70740 _ACEOF
70742 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70744 $as_echo "$res" >&6; }
70747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70748 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70750 /* end confdefs.h. */
70751 #include <unistd.h>
70752 #include <sys/time.h>
70753 #include <sys/resource.h>
70756 main ()
70758 int f = RLIMIT_AS ;
70760 return 0;
70762 _ACEOF
70763 if ac_fn_c_try_compile "$LINENO"; then :
70764 glibcxx_mresult=1
70765 else
70766 glibcxx_mresult=0
70768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70770 cat >>confdefs.h <<_ACEOF
70771 #define HAVE_LIMIT_AS $glibcxx_mresult
70772 _ACEOF
70774 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70776 $as_echo "$res" >&6; }
70779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70780 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70782 /* end confdefs.h. */
70783 #include <unistd.h>
70784 #include <sys/time.h>
70785 #include <sys/resource.h>
70788 main ()
70790 int f = RLIMIT_FSIZE ;
70792 return 0;
70794 _ACEOF
70795 if ac_fn_c_try_compile "$LINENO"; then :
70796 glibcxx_mresult=1
70797 else
70798 glibcxx_mresult=0
70800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70802 cat >>confdefs.h <<_ACEOF
70803 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70804 _ACEOF
70806 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70808 $as_echo "$res" >&6; }
70811 # Check for rlimit, setrlimit.
70812 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70813 $as_echo_n "(cached) " >&6
70814 else
70816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70817 /* end confdefs.h. */
70818 #include <unistd.h>
70819 #include <sys/time.h>
70820 #include <sys/resource.h>
70823 main ()
70825 struct rlimit r;
70826 setrlimit(0, &r);
70828 return 0;
70830 _ACEOF
70831 if ac_fn_c_try_compile "$LINENO"; then :
70832 glibcxx_cv_setrlimit=yes
70833 else
70834 glibcxx_cv_setrlimit=no
70836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70843 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70844 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70845 ac_res_limits=yes
70847 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70849 else
70850 ac_res_limits=no
70852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70853 $as_echo "$ac_res_limits" >&6; }
70856 # Look for setenv, so that extended locale tests can be performed.
70858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
70859 $as_echo_n "checking for setenv declaration... " >&6; }
70860 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
70861 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
70862 $as_echo_n "(cached) " >&6
70863 else
70866 ac_ext=cpp
70867 ac_cpp='$CXXCPP $CPPFLAGS'
70868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70873 /* end confdefs.h. */
70874 #include <stdlib.h>
70876 main ()
70878 setenv(0, 0, 0);
70880 return 0;
70882 _ACEOF
70883 if ac_fn_cxx_try_compile "$LINENO"; then :
70884 glibcxx_cv_func_setenv_use=yes
70885 else
70886 glibcxx_cv_func_setenv_use=no
70888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70889 ac_ext=c
70890 ac_cpp='$CPP $CPPFLAGS'
70891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
70900 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
70901 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
70902 for ac_func in setenv
70903 do :
70904 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
70905 if test "x$ac_cv_func_setenv" = x""yes; then :
70906 cat >>confdefs.h <<_ACEOF
70907 #define HAVE_SETENV 1
70908 _ACEOF
70911 done
70917 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
70918 test $enable_symvers != no; then
70919 case "$host" in
70920 *-*-cygwin*)
70921 enable_abi_check=no ;;
70923 enable_abi_check=yes ;;
70924 esac
70925 else
70926 # Only build this as native, since automake does not understand
70927 # CXX_FOR_BUILD.
70928 enable_abi_check=no
70931 # Export file names for ABI checking.
70932 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
70934 baseline_subdir_switch="$abi_baseline_subdir_switch"
70938 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
70940 # Check whether --enable-libstdcxx-threads was given.
70941 if test "${enable_libstdcxx_threads+set}" = set; then :
70942 enableval=$enable_libstdcxx_threads;
70943 case "$enableval" in
70944 yes|no) ;;
70945 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
70946 esac
70948 else
70949 enable_libstdcxx_threads=auto
70954 if test x$enable_libstdcxx_threads = xauto ||
70955 test x$enable_libstdcxx_threads = xyes; then
70958 ac_ext=cpp
70959 ac_cpp='$CXXCPP $CPPFLAGS'
70960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70965 ac_save_CXXFLAGS="$CXXFLAGS"
70966 CXXFLAGS="$CXXFLAGS -fno-exceptions \
70967 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
70969 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
70970 case $target_thread_file in
70971 posix)
70972 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
70973 esac
70975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
70976 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
70978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70979 /* end confdefs.h. */
70980 #include <unistd.h>
70982 main ()
70985 // In case of POSIX threads check _POSIX_TIMEOUTS.
70986 #if (defined(_PTHREADS) \
70987 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
70988 #error
70989 #endif
70992 return 0;
70994 _ACEOF
70995 if ac_fn_cxx_try_compile "$LINENO"; then :
70996 ac_gthread_use_mutex_timedlock=1
70997 else
70998 ac_gthread_use_mutex_timedlock=0
71000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71003 cat >>confdefs.h <<_ACEOF
71004 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71005 _ACEOF
71008 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71009 else res_mutex_timedlock=no ; fi
71010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71011 $as_echo "$res_mutex_timedlock" >&6; }
71013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71014 $as_echo_n "checking for gthreads library... " >&6; }
71016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71017 /* end confdefs.h. */
71018 #include "gthr.h"
71020 main ()
71023 #ifndef __GTHREADS_CXX0X
71024 #error
71025 #endif
71028 return 0;
71030 _ACEOF
71031 if ac_fn_cxx_try_compile "$LINENO"; then :
71032 case $target_os in
71033 # gthreads support breaks symbol versioning on Solaris 9 (PR
71034 # libstdc++/52189).
71035 solaris2.9*)
71036 if test x$enable_symvers = xno; then
71037 ac_has_gthreads=yes
71038 elif test x$enable_libstdcxx_threads = xyes; then
71039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71040 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71042 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71043 ac_has_gthreads=yes
71044 else
71045 ac_has_gthreads=no
71049 ac_has_gthreads=yes
71051 esac
71052 else
71053 ac_has_gthreads=no
71055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71056 else
71057 ac_has_gthreads=no
71060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71061 $as_echo "$ac_has_gthreads" >&6; }
71063 if test x"$ac_has_gthreads" = x"yes"; then
71065 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71069 CXXFLAGS="$ac_save_CXXFLAGS"
71070 ac_ext=c
71071 ac_cpp='$CPP $CPPFLAGS'
71072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71078 # Define documentation rules conditionally.
71080 # See if makeinfo has been installed and is modern enough
71081 # that we can use it.
71083 # Extract the first word of "makeinfo", so it can be a program name with args.
71084 set dummy makeinfo; ac_word=$2
71085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71086 $as_echo_n "checking for $ac_word... " >&6; }
71087 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71088 $as_echo_n "(cached) " >&6
71089 else
71090 if test -n "$MAKEINFO"; then
71091 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71092 else
71093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71094 for as_dir in $PATH
71096 IFS=$as_save_IFS
71097 test -z "$as_dir" && as_dir=.
71098 for ac_exec_ext in '' $ac_executable_extensions; do
71099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71100 ac_cv_prog_MAKEINFO="makeinfo"
71101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71102 break 2
71104 done
71105 done
71106 IFS=$as_save_IFS
71110 MAKEINFO=$ac_cv_prog_MAKEINFO
71111 if test -n "$MAKEINFO"; then
71112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71113 $as_echo "$MAKEINFO" >&6; }
71114 else
71115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71116 $as_echo "no" >&6; }
71120 if test -n "$MAKEINFO"; then
71121 # Found it, now check the version.
71122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71123 $as_echo_n "checking for modern makeinfo... " >&6; }
71124 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71125 $as_echo_n "(cached) " >&6
71126 else
71127 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71128 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71130 case $ac_prog_version in
71131 '') gcc_cv_prog_makeinfo_modern=no;;
71132 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71133 *) gcc_cv_prog_makeinfo_modern=no;;
71134 esac
71137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71138 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71139 else
71140 gcc_cv_prog_makeinfo_modern=no
71142 if test $gcc_cv_prog_makeinfo_modern = no; then
71143 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71146 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71147 BUILD_INFO_TRUE=
71148 BUILD_INFO_FALSE='#'
71149 else
71150 BUILD_INFO_TRUE='#'
71151 BUILD_INFO_FALSE=
71155 # Check for doxygen
71156 # Extract the first word of "doxygen", so it can be a program name with args.
71157 set dummy doxygen; ac_word=$2
71158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71159 $as_echo_n "checking for $ac_word... " >&6; }
71160 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71161 $as_echo_n "(cached) " >&6
71162 else
71163 if test -n "$DOXYGEN"; then
71164 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71165 else
71166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71167 for as_dir in $PATH
71169 IFS=$as_save_IFS
71170 test -z "$as_dir" && as_dir=.
71171 for ac_exec_ext in '' $ac_executable_extensions; do
71172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71173 ac_cv_prog_DOXYGEN="yes"
71174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71175 break 2
71177 done
71178 done
71179 IFS=$as_save_IFS
71181 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71184 DOXYGEN=$ac_cv_prog_DOXYGEN
71185 if test -n "$DOXYGEN"; then
71186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71187 $as_echo "$DOXYGEN" >&6; }
71188 else
71189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71190 $as_echo "no" >&6; }
71194 # Extract the first word of "dot", so it can be a program name with args.
71195 set dummy dot; ac_word=$2
71196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71197 $as_echo_n "checking for $ac_word... " >&6; }
71198 if test "${ac_cv_prog_DOT+set}" = set; then :
71199 $as_echo_n "(cached) " >&6
71200 else
71201 if test -n "$DOT"; then
71202 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71203 else
71204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71205 for as_dir in $PATH
71207 IFS=$as_save_IFS
71208 test -z "$as_dir" && as_dir=.
71209 for ac_exec_ext in '' $ac_executable_extensions; do
71210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71211 ac_cv_prog_DOT="yes"
71212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71213 break 2
71215 done
71216 done
71217 IFS=$as_save_IFS
71219 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71222 DOT=$ac_cv_prog_DOT
71223 if test -n "$DOT"; then
71224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71225 $as_echo "$DOT" >&6; }
71226 else
71227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71228 $as_echo "no" >&6; }
71233 # Check for docbook
71234 # Extract the first word of "xsltproc", so it can be a program name with args.
71235 set dummy xsltproc; ac_word=$2
71236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71237 $as_echo_n "checking for $ac_word... " >&6; }
71238 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71239 $as_echo_n "(cached) " >&6
71240 else
71241 if test -n "$XSLTPROC"; then
71242 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71243 else
71244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71245 for as_dir in $PATH
71247 IFS=$as_save_IFS
71248 test -z "$as_dir" && as_dir=.
71249 for ac_exec_ext in '' $ac_executable_extensions; do
71250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71251 ac_cv_prog_XSLTPROC="yes"
71252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71253 break 2
71255 done
71256 done
71257 IFS=$as_save_IFS
71259 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71262 XSLTPROC=$ac_cv_prog_XSLTPROC
71263 if test -n "$XSLTPROC"; then
71264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71265 $as_echo "$XSLTPROC" >&6; }
71266 else
71267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71268 $as_echo "no" >&6; }
71272 # Extract the first word of "xmllint", so it can be a program name with args.
71273 set dummy xmllint; ac_word=$2
71274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71275 $as_echo_n "checking for $ac_word... " >&6; }
71276 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71277 $as_echo_n "(cached) " >&6
71278 else
71279 if test -n "$XMLLINT"; then
71280 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71281 else
71282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71283 for as_dir in $PATH
71285 IFS=$as_save_IFS
71286 test -z "$as_dir" && as_dir=.
71287 for ac_exec_ext in '' $ac_executable_extensions; do
71288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71289 ac_cv_prog_XMLLINT="yes"
71290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71291 break 2
71293 done
71294 done
71295 IFS=$as_save_IFS
71297 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71300 XMLLINT=$ac_cv_prog_XMLLINT
71301 if test -n "$XMLLINT"; then
71302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71303 $as_echo "$XMLLINT" >&6; }
71304 else
71305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71306 $as_echo "no" >&6; }
71312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71313 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71314 glibcxx_stylesheets=no
71315 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
71316 glibcxx_stylesheets=yes
71318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71319 $as_echo "$glibcxx_stylesheets" >&6; }
71321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71322 $as_echo_n "checking for local stylesheet directory... " >&6; }
71323 glibcxx_local_stylesheets=no
71324 if test x"$glibcxx_stylesheets" = x"yes"; then
71325 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71326 glibcxx_local_stylesheets=yes
71327 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71329 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71330 glibcxx_local_stylesheets=yes
71331 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71335 $as_echo "$glibcxx_local_stylesheets" >&6; }
71337 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71339 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71340 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71341 else
71342 glibcxx_stylesheets=no
71345 # Check for epub3 dependencies.
71346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71347 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71348 glibcxx_epub_stylesheets=no
71349 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71350 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71351 glibcxx_epub_stylesheets=yes
71354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71355 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71356 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71357 BUILD_EPUB_TRUE=
71358 BUILD_EPUB_FALSE='#'
71359 else
71360 BUILD_EPUB_TRUE='#'
71361 BUILD_EPUB_FALSE=
71367 # Check for xml/html dependencies.
71368 if test $ac_cv_prog_DOXYGEN = "yes" &&
71369 test $ac_cv_prog_DOT = "yes" &&
71370 test $ac_cv_prog_XSLTPROC = "yes" &&
71371 test $ac_cv_prog_XMLLINT = "yes" &&
71372 test $glibcxx_stylesheets = "yes"; then
71373 BUILD_XML_TRUE=
71374 BUILD_XML_FALSE='#'
71375 else
71376 BUILD_XML_TRUE='#'
71377 BUILD_XML_FALSE=
71381 if test $ac_cv_prog_DOXYGEN = "yes" &&
71382 test $ac_cv_prog_DOT = "yes" &&
71383 test $ac_cv_prog_XSLTPROC = "yes" &&
71384 test $ac_cv_prog_XMLLINT = "yes" &&
71385 test $glibcxx_stylesheets = "yes"; then
71386 BUILD_HTML_TRUE=
71387 BUILD_HTML_FALSE='#'
71388 else
71389 BUILD_HTML_TRUE='#'
71390 BUILD_HTML_FALSE=
71394 # Check for man dependencies.
71395 if test $ac_cv_prog_DOXYGEN = "yes" &&
71396 test $ac_cv_prog_DOT = "yes"; then
71397 BUILD_MAN_TRUE=
71398 BUILD_MAN_FALSE='#'
71399 else
71400 BUILD_MAN_TRUE='#'
71401 BUILD_MAN_FALSE=
71405 # Check for pdf dependencies.
71406 # Extract the first word of "dblatex", so it can be a program name with args.
71407 set dummy dblatex; ac_word=$2
71408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71409 $as_echo_n "checking for $ac_word... " >&6; }
71410 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71411 $as_echo_n "(cached) " >&6
71412 else
71413 if test -n "$DBLATEX"; then
71414 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71415 else
71416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71417 for as_dir in $PATH
71419 IFS=$as_save_IFS
71420 test -z "$as_dir" && as_dir=.
71421 for ac_exec_ext in '' $ac_executable_extensions; do
71422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71423 ac_cv_prog_DBLATEX="yes"
71424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71425 break 2
71427 done
71428 done
71429 IFS=$as_save_IFS
71431 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71434 DBLATEX=$ac_cv_prog_DBLATEX
71435 if test -n "$DBLATEX"; then
71436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71437 $as_echo "$DBLATEX" >&6; }
71438 else
71439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71440 $as_echo "no" >&6; }
71444 # Extract the first word of "pdflatex", so it can be a program name with args.
71445 set dummy pdflatex; ac_word=$2
71446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71447 $as_echo_n "checking for $ac_word... " >&6; }
71448 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71449 $as_echo_n "(cached) " >&6
71450 else
71451 if test -n "$PDFLATEX"; then
71452 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71453 else
71454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71455 for as_dir in $PATH
71457 IFS=$as_save_IFS
71458 test -z "$as_dir" && as_dir=.
71459 for ac_exec_ext in '' $ac_executable_extensions; do
71460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71461 ac_cv_prog_PDFLATEX="yes"
71462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71463 break 2
71465 done
71466 done
71467 IFS=$as_save_IFS
71469 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71472 PDFLATEX=$ac_cv_prog_PDFLATEX
71473 if test -n "$PDFLATEX"; then
71474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71475 $as_echo "$PDFLATEX" >&6; }
71476 else
71477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71478 $as_echo "no" >&6; }
71482 if test $ac_cv_prog_DBLATEX = "yes" &&
71483 test $ac_cv_prog_PDFLATEX = "yes"; then
71484 BUILD_PDF_TRUE=
71485 BUILD_PDF_FALSE='#'
71486 else
71487 BUILD_PDF_TRUE='#'
71488 BUILD_PDF_FALSE=
71493 # Propagate the target-specific source directories through the build chain.
71494 ATOMICITY_SRCDIR=config/${atomicity_dir}
71495 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71496 ATOMIC_FLAGS=${atomic_flags}
71497 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71498 OS_INC_SRCDIR=config/${os_include_dir}
71499 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71500 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71510 # Determine cross-compile flags and AM_CONDITIONALs.
71511 #AC_SUBST(GLIBCXX_IS_NATIVE)
71512 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71513 if test $is_hosted = yes; then
71514 GLIBCXX_HOSTED_TRUE=
71515 GLIBCXX_HOSTED_FALSE='#'
71516 else
71517 GLIBCXX_HOSTED_TRUE='#'
71518 GLIBCXX_HOSTED_FALSE=
71522 if test $enable_libstdcxx_pch = yes; then
71523 GLIBCXX_BUILD_PCH_TRUE=
71524 GLIBCXX_BUILD_PCH_FALSE='#'
71525 else
71526 GLIBCXX_BUILD_PCH_TRUE='#'
71527 GLIBCXX_BUILD_PCH_FALSE=
71531 if test $enable_cheaders = c; then
71532 GLIBCXX_C_HEADERS_C_TRUE=
71533 GLIBCXX_C_HEADERS_C_FALSE='#'
71534 else
71535 GLIBCXX_C_HEADERS_C_TRUE='#'
71536 GLIBCXX_C_HEADERS_C_FALSE=
71540 if test $enable_cheaders = c_std; then
71541 GLIBCXX_C_HEADERS_C_STD_TRUE=
71542 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71543 else
71544 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71545 GLIBCXX_C_HEADERS_C_STD_FALSE=
71549 if test $enable_cheaders = c_global; then
71550 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71551 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71552 else
71553 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71554 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71558 if test $c_compatibility = yes; then
71559 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71560 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71561 else
71562 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71563 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71567 if test $enable_libstdcxx_debug = yes; then
71568 GLIBCXX_BUILD_DEBUG_TRUE=
71569 GLIBCXX_BUILD_DEBUG_FALSE='#'
71570 else
71571 GLIBCXX_BUILD_DEBUG_TRUE='#'
71572 GLIBCXX_BUILD_DEBUG_FALSE=
71576 if test $enable_parallel = yes; then
71577 ENABLE_PARALLEL_TRUE=
71578 ENABLE_PARALLEL_FALSE='#'
71579 else
71580 ENABLE_PARALLEL_TRUE='#'
71581 ENABLE_PARALLEL_FALSE=
71585 if test $enable_extern_template = yes; then
71586 ENABLE_EXTERN_TEMPLATE_TRUE=
71587 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71588 else
71589 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71590 ENABLE_EXTERN_TEMPLATE_FALSE=
71594 if test $python_mod_dir != no; then
71595 ENABLE_PYTHONDIR_TRUE=
71596 ENABLE_PYTHONDIR_FALSE='#'
71597 else
71598 ENABLE_PYTHONDIR_TRUE='#'
71599 ENABLE_PYTHONDIR_FALSE=
71603 if test $enable_werror = yes; then
71604 ENABLE_WERROR_TRUE=
71605 ENABLE_WERROR_FALSE='#'
71606 else
71607 ENABLE_WERROR_TRUE='#'
71608 ENABLE_WERROR_FALSE=
71612 if test $enable_symvers != no; then
71613 ENABLE_SYMVERS_TRUE=
71614 ENABLE_SYMVERS_FALSE='#'
71615 else
71616 ENABLE_SYMVERS_TRUE='#'
71617 ENABLE_SYMVERS_FALSE=
71621 if test $enable_symvers = gnu; then
71622 ENABLE_SYMVERS_GNU_TRUE=
71623 ENABLE_SYMVERS_GNU_FALSE='#'
71624 else
71625 ENABLE_SYMVERS_GNU_TRUE='#'
71626 ENABLE_SYMVERS_GNU_FALSE=
71630 if test $enable_symvers = gnu-versioned-namespace; then
71631 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71632 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71633 else
71634 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71635 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71639 if test $enable_symvers = darwin; then
71640 ENABLE_SYMVERS_DARWIN_TRUE=
71641 ENABLE_SYMVERS_DARWIN_FALSE='#'
71642 else
71643 ENABLE_SYMVERS_DARWIN_TRUE='#'
71644 ENABLE_SYMVERS_DARWIN_FALSE=
71648 if test $enable_symvers = sun; then
71649 ENABLE_SYMVERS_SUN_TRUE=
71650 ENABLE_SYMVERS_SUN_FALSE='#'
71651 else
71652 ENABLE_SYMVERS_SUN_TRUE='#'
71653 ENABLE_SYMVERS_SUN_FALSE=
71657 if test $enable_libstdcxx_visibility = yes; then
71658 ENABLE_VISIBILITY_TRUE=
71659 ENABLE_VISIBILITY_FALSE='#'
71660 else
71661 ENABLE_VISIBILITY_TRUE='#'
71662 ENABLE_VISIBILITY_FALSE=
71666 if test $ac_ldbl_compat = yes; then
71667 GLIBCXX_LDBL_COMPAT_TRUE=
71668 GLIBCXX_LDBL_COMPAT_FALSE='#'
71669 else
71670 GLIBCXX_LDBL_COMPAT_TRUE='#'
71671 GLIBCXX_LDBL_COMPAT_FALSE=
71677 cat >confcache <<\_ACEOF
71678 # This file is a shell script that caches the results of configure
71679 # tests run on this system so they can be shared between configure
71680 # scripts and configure runs, see configure's option --config-cache.
71681 # It is not useful on other systems. If it contains results you don't
71682 # want to keep, you may remove or edit it.
71684 # config.status only pays attention to the cache file if you give it
71685 # the --recheck option to rerun configure.
71687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71689 # following values.
71691 _ACEOF
71693 # The following way of writing the cache mishandles newlines in values,
71694 # but we know of no workaround that is simple, portable, and efficient.
71695 # So, we kill variables containing newlines.
71696 # Ultrix sh set writes to stderr and can't be redirected directly,
71697 # and sets the high bit in the cache file unless we assign to the vars.
71699 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71700 eval ac_val=\$$ac_var
71701 case $ac_val in #(
71702 *${as_nl}*)
71703 case $ac_var in #(
71704 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71705 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71706 esac
71707 case $ac_var in #(
71708 _ | IFS | as_nl) ;; #(
71709 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71710 *) { eval $ac_var=; unset $ac_var;} ;;
71711 esac ;;
71712 esac
71713 done
71715 (set) 2>&1 |
71716 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71717 *${as_nl}ac_space=\ *)
71718 # `set' does not quote correctly, so add quotes: double-quote
71719 # substitution turns \\\\ into \\, and sed turns \\ into \.
71720 sed -n \
71721 "s/'/'\\\\''/g;
71722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71723 ;; #(
71725 # `set' quotes correctly as required by POSIX, so do not add quotes.
71726 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71728 esac |
71729 sort
71731 sed '
71732 /^ac_cv_env_/b end
71733 t clear
71734 :clear
71735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71736 t end
71737 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71738 :end' >>confcache
71739 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71740 if test -w "$cache_file"; then
71741 test "x$cache_file" != "x/dev/null" &&
71742 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71743 $as_echo "$as_me: updating cache $cache_file" >&6;}
71744 cat confcache >$cache_file
71745 else
71746 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71747 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71750 rm -f confcache
71752 if test ${multilib} = yes; then
71753 multilib_arg="--enable-multilib"
71754 else
71755 multilib_arg=
71758 # Export all the install information.
71760 glibcxx_toolexecdir=no
71761 glibcxx_toolexeclibdir=no
71762 glibcxx_prefixdir=$prefix
71764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71765 $as_echo_n "checking for gxx-include-dir... " >&6; }
71767 # Check whether --with-gxx-include-dir was given.
71768 if test "${with_gxx_include_dir+set}" = set; then :
71769 withval=$with_gxx_include_dir; case "$withval" in
71770 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71771 no) gxx_include_dir=no ;;
71772 *) gxx_include_dir=$withval ;;
71773 esac
71774 else
71775 gxx_include_dir=no
71778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71779 $as_echo "$gxx_include_dir" >&6; }
71781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71782 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71783 # Check whether --enable-version-specific-runtime-libs was given.
71784 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71785 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71786 yes) version_specific_libs=yes ;;
71787 no) version_specific_libs=no ;;
71788 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71789 esac
71790 else
71791 version_specific_libs=no
71794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71795 $as_echo "$version_specific_libs" >&6; }
71797 # Default case for install directory for include files.
71798 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71799 gxx_include_dir='include/c++/${gcc_version}'
71800 if test -n "$with_cross_host" &&
71801 test x"$with_cross_host" != x"no"; then
71802 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71803 else
71804 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71808 # Version-specific runtime libs processing.
71809 if test $version_specific_libs = yes; then
71810 # Need the gcc compiler version to know where to install libraries
71811 # and header files if --enable-version-specific-runtime-libs option
71812 # is selected. FIXME: these variables are misnamed, there are
71813 # no executables installed in _toolexecdir or _toolexeclibdir.
71814 if test x"$gxx_include_dir" = x"no"; then
71815 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71817 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71818 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71821 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71822 # Install a library built with a cross compiler in tooldir, not libdir.
71823 if test x"$glibcxx_toolexecdir" = x"no"; then
71824 if test -n "$with_cross_host" &&
71825 test x"$with_cross_host" != x"no"; then
71826 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71827 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71828 else
71829 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71830 glibcxx_toolexeclibdir='${libdir}'
71832 multi_os_directory=`$CXX -print-multi-os-directory`
71833 case $multi_os_directory in
71834 .) ;; # Avoid trailing /.
71835 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71836 esac
71839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71840 $as_echo_n "checking for install location... " >&6; }
71841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71842 $as_echo "$gxx_include_dir" >&6; }
71850 # Export all the include and flag information to Makefiles.
71852 # Used for every C++ compile we perform.
71853 GLIBCXX_INCLUDES="\
71854 -I$glibcxx_builddir/include/$host_alias \
71855 -I$glibcxx_builddir/include \
71856 -I$glibcxx_srcdir/libsupc++"
71858 # For Canadian crosses, pick this up too.
71859 if test $CANADIAN = yes; then
71860 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
71863 # Stuff in the actual top level. Currently only used by libsupc++ to
71864 # get unwind* headers from the libgcc dir.
71865 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
71866 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
71868 # Now, export this to all the little Makefiles....
71873 # Optimization flags that are probably a good idea for thrill-seekers. Just
71874 # uncomment the lines below and make, everything else is ready to go...
71875 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
71876 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
71879 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
71883 if test "$enable_shared" = yes; then
71884 PIC_CXXFLAGS="-prefer-pic"
71885 else
71886 PIC_CXXFLAGS=
71890 ac_config_files="$ac_config_files Makefile"
71892 ac_config_files="$ac_config_files scripts/testsuite_flags"
71894 ac_config_files="$ac_config_files scripts/extract_symvers"
71896 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
71899 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
71900 # that multilib installs will end up installed in the correct place.
71901 # The testsuite needs it for multilib-aware ABI baseline files.
71902 # To work around this not being passed down from config-ml.in ->
71903 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
71904 # append it here. Only modify Makefiles that have just been created.
71906 # Also, get rid of this simulated-VPATH thing that automake does.
71907 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
71910 ac_config_commands="$ac_config_commands generate-headers"
71913 cat >confcache <<\_ACEOF
71914 # This file is a shell script that caches the results of configure
71915 # tests run on this system so they can be shared between configure
71916 # scripts and configure runs, see configure's option --config-cache.
71917 # It is not useful on other systems. If it contains results you don't
71918 # want to keep, you may remove or edit it.
71920 # config.status only pays attention to the cache file if you give it
71921 # the --recheck option to rerun configure.
71923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71925 # following values.
71927 _ACEOF
71929 # The following way of writing the cache mishandles newlines in values,
71930 # but we know of no workaround that is simple, portable, and efficient.
71931 # So, we kill variables containing newlines.
71932 # Ultrix sh set writes to stderr and can't be redirected directly,
71933 # and sets the high bit in the cache file unless we assign to the vars.
71935 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71936 eval ac_val=\$$ac_var
71937 case $ac_val in #(
71938 *${as_nl}*)
71939 case $ac_var in #(
71940 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71941 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71942 esac
71943 case $ac_var in #(
71944 _ | IFS | as_nl) ;; #(
71945 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71946 *) { eval $ac_var=; unset $ac_var;} ;;
71947 esac ;;
71948 esac
71949 done
71951 (set) 2>&1 |
71952 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71953 *${as_nl}ac_space=\ *)
71954 # `set' does not quote correctly, so add quotes: double-quote
71955 # substitution turns \\\\ into \\, and sed turns \\ into \.
71956 sed -n \
71957 "s/'/'\\\\''/g;
71958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71959 ;; #(
71961 # `set' quotes correctly as required by POSIX, so do not add quotes.
71962 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71964 esac |
71965 sort
71967 sed '
71968 /^ac_cv_env_/b end
71969 t clear
71970 :clear
71971 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71972 t end
71973 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71974 :end' >>confcache
71975 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71976 if test -w "$cache_file"; then
71977 test "x$cache_file" != "x/dev/null" &&
71978 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71979 $as_echo "$as_me: updating cache $cache_file" >&6;}
71980 cat confcache >$cache_file
71981 else
71982 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71983 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71986 rm -f confcache
71988 test "x$prefix" = xNONE && prefix=$ac_default_prefix
71989 # Let make expand exec_prefix.
71990 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
71992 DEFS=-DHAVE_CONFIG_H
71994 ac_libobjs=
71995 ac_ltlibobjs=
71996 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
71997 # 1. Remove the extension, and $U if already installed.
71998 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
71999 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72000 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72001 # will be set to the directory where LIBOBJS objects are built.
72002 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72003 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72004 done
72005 LIBOBJS=$ac_libobjs
72007 LTLIBOBJS=$ac_ltlibobjs
72010 if test -n "$EXEEXT"; then
72011 am__EXEEXT_TRUE=
72012 am__EXEEXT_FALSE='#'
72013 else
72014 am__EXEEXT_TRUE='#'
72015 am__EXEEXT_FALSE=
72018 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72019 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72022 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72023 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72026 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72027 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72030 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72031 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72034 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72035 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72038 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72039 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72042 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72043 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72046 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72047 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72050 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
72051 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
72052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72054 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72055 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72058 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72059 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72062 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72063 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72066 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72067 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72070 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72071 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72074 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72075 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72078 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72079 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72082 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72083 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72086 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72087 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72090 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72091 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72094 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72095 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72098 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72099 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72102 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72103 as_fn_error "conditional \"BUILD_XML\" was never defined.
72104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72106 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72107 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72110 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72111 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72114 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72115 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72119 : ${CONFIG_STATUS=./config.status}
72120 ac_write_fail=0
72121 ac_clean_files_save=$ac_clean_files
72122 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72124 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72125 as_write_fail=0
72126 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72127 #! $SHELL
72128 # Generated by $as_me.
72129 # Run this file to recreate the current configuration.
72130 # Compiler output produced by configure, useful for debugging
72131 # configure, is in config.log if it exists.
72133 debug=false
72134 ac_cs_recheck=false
72135 ac_cs_silent=false
72137 SHELL=\${CONFIG_SHELL-$SHELL}
72138 export SHELL
72139 _ASEOF
72140 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72141 ## -------------------- ##
72142 ## M4sh Initialization. ##
72143 ## -------------------- ##
72145 # Be more Bourne compatible
72146 DUALCASE=1; export DUALCASE # for MKS sh
72147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72148 emulate sh
72149 NULLCMD=:
72150 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72151 # is contrary to our usage. Disable this feature.
72152 alias -g '${1+"$@"}'='"$@"'
72153 setopt NO_GLOB_SUBST
72154 else
72155 case `(set -o) 2>/dev/null` in #(
72156 *posix*) :
72157 set -o posix ;; #(
72158 *) :
72160 esac
72164 as_nl='
72166 export as_nl
72167 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72168 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72169 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72170 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72171 # Prefer a ksh shell builtin over an external printf program on Solaris,
72172 # but without wasting forks for bash or zsh.
72173 if test -z "$BASH_VERSION$ZSH_VERSION" \
72174 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72175 as_echo='print -r --'
72176 as_echo_n='print -rn --'
72177 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72178 as_echo='printf %s\n'
72179 as_echo_n='printf %s'
72180 else
72181 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72182 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72183 as_echo_n='/usr/ucb/echo -n'
72184 else
72185 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72186 as_echo_n_body='eval
72187 arg=$1;
72188 case $arg in #(
72189 *"$as_nl"*)
72190 expr "X$arg" : "X\\(.*\\)$as_nl";
72191 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72192 esac;
72193 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72195 export as_echo_n_body
72196 as_echo_n='sh -c $as_echo_n_body as_echo'
72198 export as_echo_body
72199 as_echo='sh -c $as_echo_body as_echo'
72202 # The user is always right.
72203 if test "${PATH_SEPARATOR+set}" != set; then
72204 PATH_SEPARATOR=:
72205 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72206 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72207 PATH_SEPARATOR=';'
72212 # IFS
72213 # We need space, tab and new line, in precisely that order. Quoting is
72214 # there to prevent editors from complaining about space-tab.
72215 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72216 # splitting by setting IFS to empty value.)
72217 IFS=" "" $as_nl"
72219 # Find who we are. Look in the path if we contain no directory separator.
72220 case $0 in #((
72221 *[\\/]* ) as_myself=$0 ;;
72222 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72223 for as_dir in $PATH
72225 IFS=$as_save_IFS
72226 test -z "$as_dir" && as_dir=.
72227 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72228 done
72229 IFS=$as_save_IFS
72232 esac
72233 # We did not find ourselves, most probably we were run as `sh COMMAND'
72234 # in which case we are not to be found in the path.
72235 if test "x$as_myself" = x; then
72236 as_myself=$0
72238 if test ! -f "$as_myself"; then
72239 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72240 exit 1
72243 # Unset variables that we do not need and which cause bugs (e.g. in
72244 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72245 # suppresses any "Segmentation fault" message there. '((' could
72246 # trigger a bug in pdksh 5.2.14.
72247 for as_var in BASH_ENV ENV MAIL MAILPATH
72248 do eval test x\${$as_var+set} = xset \
72249 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72250 done
72251 PS1='$ '
72252 PS2='> '
72253 PS4='+ '
72255 # NLS nuisances.
72256 LC_ALL=C
72257 export LC_ALL
72258 LANGUAGE=C
72259 export LANGUAGE
72261 # CDPATH.
72262 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72265 # as_fn_error ERROR [LINENO LOG_FD]
72266 # ---------------------------------
72267 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72268 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72269 # script with status $?, using 1 if that was 0.
72270 as_fn_error ()
72272 as_status=$?; test $as_status -eq 0 && as_status=1
72273 if test "$3"; then
72274 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72275 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72277 $as_echo "$as_me: error: $1" >&2
72278 as_fn_exit $as_status
72279 } # as_fn_error
72282 # as_fn_set_status STATUS
72283 # -----------------------
72284 # Set $? to STATUS, without forking.
72285 as_fn_set_status ()
72287 return $1
72288 } # as_fn_set_status
72290 # as_fn_exit STATUS
72291 # -----------------
72292 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72293 as_fn_exit ()
72295 set +e
72296 as_fn_set_status $1
72297 exit $1
72298 } # as_fn_exit
72300 # as_fn_unset VAR
72301 # ---------------
72302 # Portably unset VAR.
72303 as_fn_unset ()
72305 { eval $1=; unset $1;}
72307 as_unset=as_fn_unset
72308 # as_fn_append VAR VALUE
72309 # ----------------------
72310 # Append the text in VALUE to the end of the definition contained in VAR. Take
72311 # advantage of any shell optimizations that allow amortized linear growth over
72312 # repeated appends, instead of the typical quadratic growth present in naive
72313 # implementations.
72314 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72315 eval 'as_fn_append ()
72317 eval $1+=\$2
72319 else
72320 as_fn_append ()
72322 eval $1=\$$1\$2
72324 fi # as_fn_append
72326 # as_fn_arith ARG...
72327 # ------------------
72328 # Perform arithmetic evaluation on the ARGs, and store the result in the
72329 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72330 # must be portable across $(()) and expr.
72331 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72332 eval 'as_fn_arith ()
72334 as_val=$(( $* ))
72336 else
72337 as_fn_arith ()
72339 as_val=`expr "$@" || test $? -eq 1`
72341 fi # as_fn_arith
72344 if expr a : '\(a\)' >/dev/null 2>&1 &&
72345 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72346 as_expr=expr
72347 else
72348 as_expr=false
72351 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72352 as_basename=basename
72353 else
72354 as_basename=false
72357 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72358 as_dirname=dirname
72359 else
72360 as_dirname=false
72363 as_me=`$as_basename -- "$0" ||
72364 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72365 X"$0" : 'X\(//\)$' \| \
72366 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72367 $as_echo X/"$0" |
72368 sed '/^.*\/\([^/][^/]*\)\/*$/{
72369 s//\1/
72372 /^X\/\(\/\/\)$/{
72373 s//\1/
72376 /^X\/\(\/\).*/{
72377 s//\1/
72380 s/.*/./; q'`
72382 # Avoid depending upon Character Ranges.
72383 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72384 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72385 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72386 as_cr_digits='0123456789'
72387 as_cr_alnum=$as_cr_Letters$as_cr_digits
72389 ECHO_C= ECHO_N= ECHO_T=
72390 case `echo -n x` in #(((((
72391 -n*)
72392 case `echo 'xy\c'` in
72393 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72394 xy) ECHO_C='\c';;
72395 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72396 ECHO_T=' ';;
72397 esac;;
72399 ECHO_N='-n';;
72400 esac
72402 rm -f conf$$ conf$$.exe conf$$.file
72403 if test -d conf$$.dir; then
72404 rm -f conf$$.dir/conf$$.file
72405 else
72406 rm -f conf$$.dir
72407 mkdir conf$$.dir 2>/dev/null
72409 if (echo >conf$$.file) 2>/dev/null; then
72410 if ln -s conf$$.file conf$$ 2>/dev/null; then
72411 as_ln_s='ln -s'
72412 # ... but there are two gotchas:
72413 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72414 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72415 # In both cases, we have to default to `cp -p'.
72416 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72417 as_ln_s='cp -p'
72418 elif ln conf$$.file conf$$ 2>/dev/null; then
72419 as_ln_s=ln
72420 else
72421 as_ln_s='cp -p'
72423 else
72424 as_ln_s='cp -p'
72426 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72427 rmdir conf$$.dir 2>/dev/null
72430 # as_fn_mkdir_p
72431 # -------------
72432 # Create "$as_dir" as a directory, including parents if necessary.
72433 as_fn_mkdir_p ()
72436 case $as_dir in #(
72437 -*) as_dir=./$as_dir;;
72438 esac
72439 test -d "$as_dir" || eval $as_mkdir_p || {
72440 as_dirs=
72441 while :; do
72442 case $as_dir in #(
72443 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72444 *) as_qdir=$as_dir;;
72445 esac
72446 as_dirs="'$as_qdir' $as_dirs"
72447 as_dir=`$as_dirname -- "$as_dir" ||
72448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72449 X"$as_dir" : 'X\(//\)[^/]' \| \
72450 X"$as_dir" : 'X\(//\)$' \| \
72451 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72452 $as_echo X"$as_dir" |
72453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72454 s//\1/
72457 /^X\(\/\/\)[^/].*/{
72458 s//\1/
72461 /^X\(\/\/\)$/{
72462 s//\1/
72465 /^X\(\/\).*/{
72466 s//\1/
72469 s/.*/./; q'`
72470 test -d "$as_dir" && break
72471 done
72472 test -z "$as_dirs" || eval "mkdir $as_dirs"
72473 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72476 } # as_fn_mkdir_p
72477 if mkdir -p . 2>/dev/null; then
72478 as_mkdir_p='mkdir -p "$as_dir"'
72479 else
72480 test -d ./-p && rmdir ./-p
72481 as_mkdir_p=false
72484 if test -x / >/dev/null 2>&1; then
72485 as_test_x='test -x'
72486 else
72487 if ls -dL / >/dev/null 2>&1; then
72488 as_ls_L_option=L
72489 else
72490 as_ls_L_option=
72492 as_test_x='
72493 eval sh -c '\''
72494 if test -d "$1"; then
72495 test -d "$1/.";
72496 else
72497 case $1 in #(
72498 -*)set "./$1";;
72499 esac;
72500 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72501 ???[sx]*):;;*)false;;esac;fi
72502 '\'' sh
72505 as_executable_p=$as_test_x
72507 # Sed expression to map a string onto a valid CPP name.
72508 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72510 # Sed expression to map a string onto a valid variable name.
72511 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72514 exec 6>&1
72515 ## ----------------------------------- ##
72516 ## Main body of $CONFIG_STATUS script. ##
72517 ## ----------------------------------- ##
72518 _ASEOF
72519 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72522 # Save the log message, to keep $0 and so on meaningful, and to
72523 # report actual input values of CONFIG_FILES etc. instead of their
72524 # values after options handling.
72525 ac_log="
72526 This file was extended by package-unused $as_me version-unused, which was
72527 generated by GNU Autoconf 2.64. Invocation command line was
72529 CONFIG_FILES = $CONFIG_FILES
72530 CONFIG_HEADERS = $CONFIG_HEADERS
72531 CONFIG_LINKS = $CONFIG_LINKS
72532 CONFIG_COMMANDS = $CONFIG_COMMANDS
72533 $ $0 $@
72535 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72538 _ACEOF
72540 case $ac_config_files in *"
72541 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72542 esac
72544 case $ac_config_headers in *"
72545 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72546 esac
72549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72550 # Files that config.status was made for.
72551 config_files="$ac_config_files"
72552 config_headers="$ac_config_headers"
72553 config_commands="$ac_config_commands"
72555 _ACEOF
72557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72558 ac_cs_usage="\
72559 \`$as_me' instantiates files and other configuration actions
72560 from templates according to the current configuration. Unless the files
72561 and actions are specified as TAGs, all are instantiated by default.
72563 Usage: $0 [OPTION]... [TAG]...
72565 -h, --help print this help, then exit
72566 -V, --version print version number and configuration settings, then exit
72567 -q, --quiet, --silent
72568 do not print progress messages
72569 -d, --debug don't remove temporary files
72570 --recheck update $as_me by reconfiguring in the same conditions
72571 --file=FILE[:TEMPLATE]
72572 instantiate the configuration file FILE
72573 --header=FILE[:TEMPLATE]
72574 instantiate the configuration header FILE
72576 Configuration files:
72577 $config_files
72579 Configuration headers:
72580 $config_headers
72582 Configuration commands:
72583 $config_commands
72585 Report bugs to the package provider."
72587 _ACEOF
72588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72589 ac_cs_version="\\
72590 package-unused config.status version-unused
72591 configured by $0, generated by GNU Autoconf 2.64,
72592 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72594 Copyright (C) 2009 Free Software Foundation, Inc.
72595 This config.status script is free software; the Free Software Foundation
72596 gives unlimited permission to copy, distribute and modify it."
72598 ac_pwd='$ac_pwd'
72599 srcdir='$srcdir'
72600 INSTALL='$INSTALL'
72601 MKDIR_P='$MKDIR_P'
72602 AWK='$AWK'
72603 test -n "\$AWK" || AWK=awk
72604 _ACEOF
72606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72607 # The default lists apply if the user does not specify any file.
72608 ac_need_defaults=:
72609 while test $# != 0
72611 case $1 in
72612 --*=*)
72613 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72614 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72615 ac_shift=:
72618 ac_option=$1
72619 ac_optarg=$2
72620 ac_shift=shift
72622 esac
72624 case $ac_option in
72625 # Handling of the options.
72626 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72627 ac_cs_recheck=: ;;
72628 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72629 $as_echo "$ac_cs_version"; exit ;;
72630 --debug | --debu | --deb | --de | --d | -d )
72631 debug=: ;;
72632 --file | --fil | --fi | --f )
72633 $ac_shift
72634 case $ac_optarg in
72635 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72636 esac
72637 as_fn_append CONFIG_FILES " '$ac_optarg'"
72638 ac_need_defaults=false;;
72639 --header | --heade | --head | --hea )
72640 $ac_shift
72641 case $ac_optarg in
72642 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72643 esac
72644 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72645 ac_need_defaults=false;;
72646 --he | --h)
72647 # Conflict between --help and --header
72648 as_fn_error "ambiguous option: \`$1'
72649 Try \`$0 --help' for more information.";;
72650 --help | --hel | -h )
72651 $as_echo "$ac_cs_usage"; exit ;;
72652 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72653 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72654 ac_cs_silent=: ;;
72656 # This is an error.
72657 -*) as_fn_error "unrecognized option: \`$1'
72658 Try \`$0 --help' for more information." ;;
72660 *) as_fn_append ac_config_targets " $1"
72661 ac_need_defaults=false ;;
72663 esac
72664 shift
72665 done
72667 ac_configure_extra_args=
72669 if $ac_cs_silent; then
72670 exec 6>/dev/null
72671 ac_configure_extra_args="$ac_configure_extra_args --silent"
72674 _ACEOF
72675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72676 if \$ac_cs_recheck; then
72677 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72678 shift
72679 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72680 CONFIG_SHELL='$SHELL'
72681 export CONFIG_SHELL
72682 exec "\$@"
72685 _ACEOF
72686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72687 exec 5>>config.log
72689 echo
72690 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72691 ## Running $as_me. ##
72692 _ASBOX
72693 $as_echo "$ac_log"
72694 } >&5
72696 _ACEOF
72697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72699 # INIT-COMMANDS
72702 srcdir="$srcdir"
72703 host="$host"
72704 target="$target"
72705 with_multisubdir="$with_multisubdir"
72706 with_multisrctop="$with_multisrctop"
72707 with_target_subdir="$with_target_subdir"
72708 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72709 multi_basedir="$multi_basedir"
72710 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72711 CC="$CC"
72712 CXX="$CXX"
72713 GFORTRAN="$GFORTRAN"
72714 GCJ="$GCJ"
72717 # The HP-UX ksh and POSIX shell print the target directory to stdout
72718 # if CDPATH is set.
72719 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72721 sed_quote_subst='$sed_quote_subst'
72722 double_quote_subst='$double_quote_subst'
72723 delay_variable_subst='$delay_variable_subst'
72724 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72725 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72726 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72727 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72728 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72729 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72730 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72731 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72732 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72733 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72734 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72735 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72736 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72737 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72738 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72739 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72740 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72741 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72742 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72743 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72744 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72745 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72746 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72747 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72748 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72749 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72750 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72751 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72752 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72753 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72754 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72755 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72756 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72757 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72758 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72759 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72760 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72761 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72762 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72763 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72764 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72765 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72766 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72767 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72768 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72769 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72770 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72771 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72772 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"`'
72773 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72774 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72775 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72776 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72777 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72778 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72779 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72780 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72781 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72782 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72783 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72784 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72785 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72786 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72787 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72788 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72789 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72790 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72791 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72792 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72793 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72794 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72795 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72796 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72797 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72798 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72799 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72800 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72801 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72802 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72803 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72804 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72805 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72806 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72807 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72808 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72809 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72810 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72811 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72812 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72813 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72814 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72815 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72816 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72817 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72818 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72819 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72820 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72821 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72822 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72823 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72824 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72825 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72826 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72827 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72828 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72829 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72830 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72831 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72832 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72833 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72834 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72835 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72836 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72837 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72838 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72839 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72840 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72841 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72842 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72843 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72844 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72845 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72846 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72847 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72848 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72849 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72850 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72851 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72852 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72853 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72854 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
72855 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
72856 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
72857 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
72858 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
72859 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
72860 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
72861 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
72862 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
72863 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72864 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72865 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
72866 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72867 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72868 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72869 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72870 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72871 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72872 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
72873 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
72874 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
72875 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72876 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
72877 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
72878 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
72879 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
72880 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
72881 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
72882 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
72883 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
72884 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
72885 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
72886 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
72887 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72888 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
72889 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
72890 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72891 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
72892 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
72893 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
72894 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
72895 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
72896 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
72897 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
72898 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
72900 LTCC='$LTCC'
72901 LTCFLAGS='$LTCFLAGS'
72902 compiler='$compiler_DEFAULT'
72904 # A function that is used when there is no print builtin or printf.
72905 func_fallback_echo ()
72907 eval 'cat <<_LTECHO_EOF
72909 _LTECHO_EOF'
72912 # Quote evaled strings.
72913 for var in SHELL \
72914 ECHO \
72915 SED \
72916 GREP \
72917 EGREP \
72918 FGREP \
72919 LD \
72920 NM \
72921 LN_S \
72922 lt_SP2NL \
72923 lt_NL2SP \
72924 reload_flag \
72925 OBJDUMP \
72926 deplibs_check_method \
72927 file_magic_cmd \
72928 AR \
72929 AR_FLAGS \
72930 STRIP \
72931 RANLIB \
72932 CC \
72933 CFLAGS \
72934 compiler \
72935 lt_cv_sys_global_symbol_pipe \
72936 lt_cv_sys_global_symbol_to_cdecl \
72937 lt_cv_sys_global_symbol_to_c_name_address \
72938 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
72939 lt_prog_compiler_no_builtin_flag \
72940 lt_prog_compiler_wl \
72941 lt_prog_compiler_pic \
72942 lt_prog_compiler_static \
72943 lt_cv_prog_compiler_c_o \
72944 need_locks \
72945 DSYMUTIL \
72946 NMEDIT \
72947 LIPO \
72948 OTOOL \
72949 OTOOL64 \
72950 shrext_cmds \
72951 export_dynamic_flag_spec \
72952 whole_archive_flag_spec \
72953 compiler_needs_object \
72954 with_gnu_ld \
72955 allow_undefined_flag \
72956 no_undefined_flag \
72957 hardcode_libdir_flag_spec \
72958 hardcode_libdir_flag_spec_ld \
72959 hardcode_libdir_separator \
72960 fix_srcfile_path \
72961 exclude_expsyms \
72962 include_expsyms \
72963 file_list_spec \
72964 variables_saved_for_relink \
72965 libname_spec \
72966 library_names_spec \
72967 soname_spec \
72968 install_override_mode \
72969 finish_eval \
72970 old_striplib \
72971 striplib \
72972 compiler_lib_search_dirs \
72973 predep_objects \
72974 postdep_objects \
72975 predeps \
72976 postdeps \
72977 compiler_lib_search_path \
72978 LD_CXX \
72979 reload_flag_CXX \
72980 compiler_CXX \
72981 lt_prog_compiler_no_builtin_flag_CXX \
72982 lt_prog_compiler_wl_CXX \
72983 lt_prog_compiler_pic_CXX \
72984 lt_prog_compiler_static_CXX \
72985 lt_cv_prog_compiler_c_o_CXX \
72986 export_dynamic_flag_spec_CXX \
72987 whole_archive_flag_spec_CXX \
72988 compiler_needs_object_CXX \
72989 with_gnu_ld_CXX \
72990 allow_undefined_flag_CXX \
72991 no_undefined_flag_CXX \
72992 hardcode_libdir_flag_spec_CXX \
72993 hardcode_libdir_flag_spec_ld_CXX \
72994 hardcode_libdir_separator_CXX \
72995 fix_srcfile_path_CXX \
72996 exclude_expsyms_CXX \
72997 include_expsyms_CXX \
72998 file_list_spec_CXX \
72999 compiler_lib_search_dirs_CXX \
73000 predep_objects_CXX \
73001 postdep_objects_CXX \
73002 predeps_CXX \
73003 postdeps_CXX \
73004 compiler_lib_search_path_CXX; do
73005 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73006 *[\\\\\\\`\\"\\\$]*)
73007 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73010 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73012 esac
73013 done
73015 # Double-quote double-evaled strings.
73016 for var in reload_cmds \
73017 old_postinstall_cmds \
73018 old_postuninstall_cmds \
73019 old_archive_cmds \
73020 extract_expsyms_cmds \
73021 old_archive_from_new_cmds \
73022 old_archive_from_expsyms_cmds \
73023 archive_cmds \
73024 archive_expsym_cmds \
73025 module_cmds \
73026 module_expsym_cmds \
73027 export_symbols_cmds \
73028 prelink_cmds \
73029 postinstall_cmds \
73030 postuninstall_cmds \
73031 finish_cmds \
73032 sys_lib_search_path_spec \
73033 sys_lib_dlsearch_path_spec \
73034 reload_cmds_CXX \
73035 old_archive_cmds_CXX \
73036 old_archive_from_new_cmds_CXX \
73037 old_archive_from_expsyms_cmds_CXX \
73038 archive_cmds_CXX \
73039 archive_expsym_cmds_CXX \
73040 module_cmds_CXX \
73041 module_expsym_cmds_CXX \
73042 export_symbols_cmds_CXX \
73043 prelink_cmds_CXX; do
73044 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73045 *[\\\\\\\`\\"\\\$]*)
73046 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73049 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73051 esac
73052 done
73054 ac_aux_dir='$ac_aux_dir'
73055 xsi_shell='$xsi_shell'
73056 lt_shell_append='$lt_shell_append'
73058 # See if we are running on zsh, and set the options which allow our
73059 # commands through without removal of \ escapes INIT.
73060 if test -n "\${ZSH_VERSION+set}" ; then
73061 setopt NO_GLOB_SUBST
73065 PACKAGE='$PACKAGE'
73066 VERSION='$VERSION'
73067 TIMESTAMP='$TIMESTAMP'
73068 RM='$RM'
73069 ofile='$ofile'
73076 GCC="$GCC"
73077 CC="$CC"
73078 acx_cv_header_stdint="$acx_cv_header_stdint"
73079 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73080 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73081 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73082 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73083 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73084 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73085 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73086 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73087 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73088 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73089 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73090 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73091 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73094 _ACEOF
73096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73098 # Handling of arguments.
73099 for ac_config_target in $ac_config_targets
73101 case $ac_config_target in
73102 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73103 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73104 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73105 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73106 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73107 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73108 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73109 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73110 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73111 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73112 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73113 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73114 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73115 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73116 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73117 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73118 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73119 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73121 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73122 esac
73123 done
73126 # If the user did not use the arguments to specify the items to instantiate,
73127 # then the envvar interface is used. Set only those that are not.
73128 # We use the long form for the default assignment because of an extremely
73129 # bizarre bug on SunOS 4.1.3.
73130 if $ac_need_defaults; then
73131 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73132 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73133 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73136 # Have a temporary directory for convenience. Make it in the build tree
73137 # simply because there is no reason against having it here, and in addition,
73138 # creating and moving files from /tmp can sometimes cause problems.
73139 # Hook for its removal unless debugging.
73140 # Note that there is a small window in which the directory will not be cleaned:
73141 # after its creation but before its name has been assigned to `$tmp'.
73142 $debug ||
73144 tmp=
73145 trap 'exit_status=$?
73146 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73148 trap 'as_fn_exit 1' 1 2 13 15
73150 # Create a (secure) tmp directory for tmp files.
73153 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73154 test -n "$tmp" && test -d "$tmp"
73155 } ||
73157 tmp=./conf$$-$RANDOM
73158 (umask 077 && mkdir "$tmp")
73159 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73161 # Set up the scripts for CONFIG_FILES section.
73162 # No need to generate them if there are no CONFIG_FILES.
73163 # This happens for instance with `./config.status config.h'.
73164 if test -n "$CONFIG_FILES"; then
73167 ac_cr=`echo X | tr X '\015'`
73168 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73169 # But we know of no other shell where ac_cr would be empty at this
73170 # point, so we can use a bashism as a fallback.
73171 if test "x$ac_cr" = x; then
73172 eval ac_cr=\$\'\\r\'
73174 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73175 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73176 ac_cs_awk_cr='\r'
73177 else
73178 ac_cs_awk_cr=$ac_cr
73181 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73182 _ACEOF
73186 echo "cat >conf$$subs.awk <<_ACEOF" &&
73187 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73188 echo "_ACEOF"
73189 } >conf$$subs.sh ||
73190 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73191 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73192 ac_delim='%!_!# '
73193 for ac_last_try in false false false false false :; do
73194 . ./conf$$subs.sh ||
73195 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73197 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73198 if test $ac_delim_n = $ac_delim_num; then
73199 break
73200 elif $ac_last_try; then
73201 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73202 else
73203 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73205 done
73206 rm -f conf$$subs.sh
73208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73209 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73210 _ACEOF
73211 sed -n '
73213 s/^/S["/; s/!.*/"]=/
73216 s/^[^!]*!//
73217 :repl
73218 t repl
73219 s/'"$ac_delim"'$//
73220 t delim
73223 s/\(.\{148\}\).*/\1/
73224 t more1
73225 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73228 b repl
73229 :more1
73230 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73233 s/.\{148\}//
73234 t nl
73235 :delim
73237 s/\(.\{148\}\).*/\1/
73238 t more2
73239 s/["\\]/\\&/g; s/^/"/; s/$/"/
73242 :more2
73243 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73246 s/.\{148\}//
73247 t delim
73248 ' <conf$$subs.awk | sed '
73249 /^[^""]/{
73251 s/\n//
73253 ' >>$CONFIG_STATUS || ac_write_fail=1
73254 rm -f conf$$subs.awk
73255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73256 _ACAWK
73257 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73258 for (key in S) S_is_set[key] = 1
73259 FS = "\a"
73263 line = $ 0
73264 nfields = split(line, field, "@")
73265 substed = 0
73266 len = length(field[1])
73267 for (i = 2; i < nfields; i++) {
73268 key = field[i]
73269 keylen = length(key)
73270 if (S_is_set[key]) {
73271 value = S[key]
73272 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73273 len += length(value) + length(field[++i])
73274 substed = 1
73275 } else
73276 len += 1 + keylen
73279 print line
73282 _ACAWK
73283 _ACEOF
73284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73285 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73286 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73287 else
73289 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73290 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73291 _ACEOF
73293 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73294 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73295 # trailing colons and then remove the whole line if VPATH becomes empty
73296 # (actually we leave an empty line to preserve line numbers).
73297 if test "x$srcdir" = x.; then
73298 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73299 s/:*\$(srcdir):*/:/
73300 s/:*\${srcdir}:*/:/
73301 s/:*@srcdir@:*/:/
73302 s/^\([^=]*=[ ]*\):*/\1/
73303 s/:*$//
73304 s/^[^=]*=[ ]*$//
73308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73309 fi # test -n "$CONFIG_FILES"
73311 # Set up the scripts for CONFIG_HEADERS section.
73312 # No need to generate them if there are no CONFIG_HEADERS.
73313 # This happens for instance with `./config.status Makefile'.
73314 if test -n "$CONFIG_HEADERS"; then
73315 cat >"$tmp/defines.awk" <<\_ACAWK ||
73316 BEGIN {
73317 _ACEOF
73319 # Transform confdefs.h into an awk script `defines.awk', embedded as
73320 # here-document in config.status, that substitutes the proper values into
73321 # config.h.in to produce config.h.
73323 # Create a delimiter string that does not exist in confdefs.h, to ease
73324 # handling of long lines.
73325 ac_delim='%!_!# '
73326 for ac_last_try in false false :; do
73327 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73328 if test -z "$ac_t"; then
73329 break
73330 elif $ac_last_try; then
73331 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73332 else
73333 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73335 done
73337 # For the awk script, D is an array of macro values keyed by name,
73338 # likewise P contains macro parameters if any. Preserve backslash
73339 # newline sequences.
73341 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73342 sed -n '
73343 s/.\{148\}/&'"$ac_delim"'/g
73344 t rset
73345 :rset
73346 s/^[ ]*#[ ]*define[ ][ ]*/ /
73347 t def
73349 :def
73350 s/\\$//
73351 t bsnl
73352 s/["\\]/\\&/g
73353 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73354 D["\1"]=" \3"/p
73355 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73357 :bsnl
73358 s/["\\]/\\&/g
73359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73360 D["\1"]=" \3\\\\\\n"\\/p
73361 t cont
73362 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73363 t cont
73365 :cont
73367 s/.\{148\}/&'"$ac_delim"'/g
73368 t clear
73369 :clear
73370 s/\\$//
73371 t bsnlc
73372 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73374 :bsnlc
73375 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73376 b cont
73377 ' <confdefs.h | sed '
73378 s/'"$ac_delim"'/"\\\
73379 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73382 for (key in D) D_is_set[key] = 1
73383 FS = "\a"
73385 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73386 line = \$ 0
73387 split(line, arg, " ")
73388 if (arg[1] == "#") {
73389 defundef = arg[2]
73390 mac1 = arg[3]
73391 } else {
73392 defundef = substr(arg[1], 2)
73393 mac1 = arg[2]
73395 split(mac1, mac2, "(") #)
73396 macro = mac2[1]
73397 prefix = substr(line, 1, index(line, defundef) - 1)
73398 if (D_is_set[macro]) {
73399 # Preserve the white space surrounding the "#".
73400 print prefix "define", macro P[macro] D[macro]
73401 next
73402 } else {
73403 # Replace #undef with comments. This is necessary, for example,
73404 # in the case of _POSIX_SOURCE, which is predefined and required
73405 # on some systems where configure will not decide to define it.
73406 if (defundef == "undef") {
73407 print "/*", prefix defundef, macro, "*/"
73408 next
73412 { print }
73413 _ACAWK
73414 _ACEOF
73415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73416 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73417 fi # test -n "$CONFIG_HEADERS"
73420 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73421 shift
73422 for ac_tag
73424 case $ac_tag in
73425 :[FHLC]) ac_mode=$ac_tag; continue;;
73426 esac
73427 case $ac_mode$ac_tag in
73428 :[FHL]*:*);;
73429 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73430 :[FH]-) ac_tag=-:-;;
73431 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73432 esac
73433 ac_save_IFS=$IFS
73434 IFS=:
73435 set x $ac_tag
73436 IFS=$ac_save_IFS
73437 shift
73438 ac_file=$1
73439 shift
73441 case $ac_mode in
73442 :L) ac_source=$1;;
73443 :[FH])
73444 ac_file_inputs=
73445 for ac_f
73447 case $ac_f in
73448 -) ac_f="$tmp/stdin";;
73449 *) # Look for the file first in the build tree, then in the source tree
73450 # (if the path is not absolute). The absolute path cannot be DOS-style,
73451 # because $ac_f cannot contain `:'.
73452 test -f "$ac_f" ||
73453 case $ac_f in
73454 [\\/$]*) false;;
73455 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73456 esac ||
73457 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73458 esac
73459 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73460 as_fn_append ac_file_inputs " '$ac_f'"
73461 done
73463 # Let's still pretend it is `configure' which instantiates (i.e., don't
73464 # use $as_me), people would be surprised to read:
73465 # /* config.h. Generated by config.status. */
73466 configure_input='Generated from '`
73467 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73468 `' by configure.'
73469 if test x"$ac_file" != x-; then
73470 configure_input="$ac_file. $configure_input"
73471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73472 $as_echo "$as_me: creating $ac_file" >&6;}
73474 # Neutralize special characters interpreted by sed in replacement strings.
73475 case $configure_input in #(
73476 *\&* | *\|* | *\\* )
73477 ac_sed_conf_input=`$as_echo "$configure_input" |
73478 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73479 *) ac_sed_conf_input=$configure_input;;
73480 esac
73482 case $ac_tag in
73483 *:-:* | *:-) cat >"$tmp/stdin" \
73484 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73485 esac
73487 esac
73489 ac_dir=`$as_dirname -- "$ac_file" ||
73490 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73491 X"$ac_file" : 'X\(//\)[^/]' \| \
73492 X"$ac_file" : 'X\(//\)$' \| \
73493 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73494 $as_echo X"$ac_file" |
73495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73496 s//\1/
73499 /^X\(\/\/\)[^/].*/{
73500 s//\1/
73503 /^X\(\/\/\)$/{
73504 s//\1/
73507 /^X\(\/\).*/{
73508 s//\1/
73511 s/.*/./; q'`
73512 as_dir="$ac_dir"; as_fn_mkdir_p
73513 ac_builddir=.
73515 case "$ac_dir" in
73516 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73518 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73519 # A ".." for each directory in $ac_dir_suffix.
73520 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73521 case $ac_top_builddir_sub in
73522 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73523 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73524 esac ;;
73525 esac
73526 ac_abs_top_builddir=$ac_pwd
73527 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73528 # for backward compatibility:
73529 ac_top_builddir=$ac_top_build_prefix
73531 case $srcdir in
73532 .) # We are building in place.
73533 ac_srcdir=.
73534 ac_top_srcdir=$ac_top_builddir_sub
73535 ac_abs_top_srcdir=$ac_pwd ;;
73536 [\\/]* | ?:[\\/]* ) # Absolute name.
73537 ac_srcdir=$srcdir$ac_dir_suffix;
73538 ac_top_srcdir=$srcdir
73539 ac_abs_top_srcdir=$srcdir ;;
73540 *) # Relative name.
73541 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73542 ac_top_srcdir=$ac_top_build_prefix$srcdir
73543 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73544 esac
73545 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73548 case $ac_mode in
73551 # CONFIG_FILE
73554 case $INSTALL in
73555 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73556 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73557 esac
73558 ac_MKDIR_P=$MKDIR_P
73559 case $MKDIR_P in
73560 [\\/$]* | ?:[\\/]* ) ;;
73561 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73562 esac
73563 _ACEOF
73565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73566 # If the template does not know about datarootdir, expand it.
73567 # FIXME: This hack should be removed a few years after 2.60.
73568 ac_datarootdir_hack=; ac_datarootdir_seen=
73569 ac_sed_dataroot='
73570 /datarootdir/ {
73574 /@datadir@/p
73575 /@docdir@/p
73576 /@infodir@/p
73577 /@localedir@/p
73578 /@mandir@/p'
73579 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73580 *datarootdir*) ac_datarootdir_seen=yes;;
73581 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73583 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73584 _ACEOF
73585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73586 ac_datarootdir_hack='
73587 s&@datadir@&$datadir&g
73588 s&@docdir@&$docdir&g
73589 s&@infodir@&$infodir&g
73590 s&@localedir@&$localedir&g
73591 s&@mandir@&$mandir&g
73592 s&\\\${datarootdir}&$datarootdir&g' ;;
73593 esac
73594 _ACEOF
73596 # Neutralize VPATH when `$srcdir' = `.'.
73597 # Shell code in configure.ac might set extrasub.
73598 # FIXME: do we really want to maintain this feature?
73599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73600 ac_sed_extra="$ac_vpsub
73601 $extrasub
73602 _ACEOF
73603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73605 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73606 s|@configure_input@|$ac_sed_conf_input|;t t
73607 s&@top_builddir@&$ac_top_builddir_sub&;t t
73608 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73609 s&@srcdir@&$ac_srcdir&;t t
73610 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73611 s&@top_srcdir@&$ac_top_srcdir&;t t
73612 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73613 s&@builddir@&$ac_builddir&;t t
73614 s&@abs_builddir@&$ac_abs_builddir&;t t
73615 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73616 s&@INSTALL@&$ac_INSTALL&;t t
73617 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73618 $ac_datarootdir_hack
73620 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73621 || as_fn_error "could not create $ac_file" "$LINENO" 5
73623 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73624 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73625 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73627 which seems to be undefined. Please make sure it is defined." >&5
73628 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73629 which seems to be undefined. Please make sure it is defined." >&2;}
73631 rm -f "$tmp/stdin"
73632 case $ac_file in
73633 -) cat "$tmp/out" && rm -f "$tmp/out";;
73634 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73635 esac \
73636 || as_fn_error "could not create $ac_file" "$LINENO" 5
73640 # CONFIG_HEADER
73642 if test x"$ac_file" != x-; then
73644 $as_echo "/* $configure_input */" \
73645 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73646 } >"$tmp/config.h" \
73647 || as_fn_error "could not create $ac_file" "$LINENO" 5
73648 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73649 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73650 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73651 else
73652 rm -f "$ac_file"
73653 mv "$tmp/config.h" "$ac_file" \
73654 || as_fn_error "could not create $ac_file" "$LINENO" 5
73656 else
73657 $as_echo "/* $configure_input */" \
73658 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73659 || as_fn_error "could not create -" "$LINENO" 5
73661 # Compute "$ac_file"'s index in $config_headers.
73662 _am_arg="$ac_file"
73663 _am_stamp_count=1
73664 for _am_header in $config_headers :; do
73665 case $_am_header in
73666 $_am_arg | $_am_arg:* )
73667 break ;;
73669 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73670 esac
73671 done
73672 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73673 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73674 X"$_am_arg" : 'X\(//\)[^/]' \| \
73675 X"$_am_arg" : 'X\(//\)$' \| \
73676 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73677 $as_echo X"$_am_arg" |
73678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73679 s//\1/
73682 /^X\(\/\/\)[^/].*/{
73683 s//\1/
73686 /^X\(\/\/\)$/{
73687 s//\1/
73690 /^X\(\/\).*/{
73691 s//\1/
73694 s/.*/./; q'`/stamp-h$_am_stamp_count
73697 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73698 $as_echo "$as_me: executing $ac_file commands" >&6;}
73700 esac
73703 case $ac_file$ac_mode in
73704 "default-1":C)
73705 # Only add multilib support code if we just rebuilt the top-level
73706 # Makefile.
73707 case " $CONFIG_FILES " in
73708 *" Makefile "*)
73709 ac_file=Makefile . ${multi_basedir}/config-ml.in
73711 esac ;;
73712 "libtool":C)
73714 # See if we are running on zsh, and set the options which allow our
73715 # commands through without removal of \ escapes.
73716 if test -n "${ZSH_VERSION+set}" ; then
73717 setopt NO_GLOB_SUBST
73720 cfgfile="${ofile}T"
73721 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73722 $RM "$cfgfile"
73724 cat <<_LT_EOF >> "$cfgfile"
73725 #! $SHELL
73727 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73728 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73729 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73730 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73732 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73733 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73734 # Written by Gordon Matzigkeit, 1996
73736 # This file is part of GNU Libtool.
73738 # GNU Libtool is free software; you can redistribute it and/or
73739 # modify it under the terms of the GNU General Public License as
73740 # published by the Free Software Foundation; either version 2 of
73741 # the License, or (at your option) any later version.
73743 # As a special exception to the GNU General Public License,
73744 # if you distribute this file as part of a program or library that
73745 # is built using GNU Libtool, you may include this file under the
73746 # same distribution terms that you use for the rest of that program.
73748 # GNU Libtool is distributed in the hope that it will be useful,
73749 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73750 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73751 # GNU General Public License for more details.
73753 # You should have received a copy of the GNU General Public License
73754 # along with GNU Libtool; see the file COPYING. If not, a copy
73755 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73756 # obtained by writing to the Free Software Foundation, Inc.,
73757 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73760 # The names of the tagged configurations supported by this script.
73761 available_tags="CXX "
73763 # ### BEGIN LIBTOOL CONFIG
73765 # Which release of libtool.m4 was used?
73766 macro_version=$macro_version
73767 macro_revision=$macro_revision
73769 # Whether or not to build shared libraries.
73770 build_libtool_libs=$enable_shared
73772 # Whether or not to build static libraries.
73773 build_old_libs=$enable_static
73775 # What type of objects to build.
73776 pic_mode=$pic_mode
73778 # Whether or not to optimize for fast installation.
73779 fast_install=$enable_fast_install
73781 # Shell to use when invoking shell scripts.
73782 SHELL=$lt_SHELL
73784 # An echo program that protects backslashes.
73785 ECHO=$lt_ECHO
73787 # The host system.
73788 host_alias=$host_alias
73789 host=$host
73790 host_os=$host_os
73792 # The build system.
73793 build_alias=$build_alias
73794 build=$build
73795 build_os=$build_os
73797 # A sed program that does not truncate output.
73798 SED=$lt_SED
73800 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73801 Xsed="\$SED -e 1s/^X//"
73803 # A grep program that handles long lines.
73804 GREP=$lt_GREP
73806 # An ERE matcher.
73807 EGREP=$lt_EGREP
73809 # A literal string matcher.
73810 FGREP=$lt_FGREP
73812 # A BSD- or MS-compatible name lister.
73813 NM=$lt_NM
73815 # Whether we need soft or hard links.
73816 LN_S=$lt_LN_S
73818 # What is the maximum length of a command?
73819 max_cmd_len=$max_cmd_len
73821 # Object file suffix (normally "o").
73822 objext=$ac_objext
73824 # Executable file suffix (normally "").
73825 exeext=$exeext
73827 # whether the shell understands "unset".
73828 lt_unset=$lt_unset
73830 # turn spaces into newlines.
73831 SP2NL=$lt_lt_SP2NL
73833 # turn newlines into spaces.
73834 NL2SP=$lt_lt_NL2SP
73836 # An object symbol dumper.
73837 OBJDUMP=$lt_OBJDUMP
73839 # Method to check whether dependent libraries are shared objects.
73840 deplibs_check_method=$lt_deplibs_check_method
73842 # Command to use when deplibs_check_method == "file_magic".
73843 file_magic_cmd=$lt_file_magic_cmd
73845 # The archiver.
73846 AR=$lt_AR
73847 AR_FLAGS=$lt_AR_FLAGS
73849 # A symbol stripping program.
73850 STRIP=$lt_STRIP
73852 # Commands used to install an old-style archive.
73853 RANLIB=$lt_RANLIB
73854 old_postinstall_cmds=$lt_old_postinstall_cmds
73855 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73857 # Whether to use a lock for old archive extraction.
73858 lock_old_archive_extraction=$lock_old_archive_extraction
73860 # A C compiler.
73861 LTCC=$lt_CC
73863 # LTCC compiler flags.
73864 LTCFLAGS=$lt_CFLAGS
73866 # Take the output of nm and produce a listing of raw symbols and C names.
73867 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
73869 # Transform the output of nm in a proper C declaration.
73870 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
73872 # Transform the output of nm in a C name address pair.
73873 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
73875 # Transform the output of nm in a C name address pair when lib prefix is needed.
73876 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
73878 # The name of the directory that contains temporary libtool files.
73879 objdir=$objdir
73881 # Used to examine libraries when file_magic_cmd begins with "file".
73882 MAGIC_CMD=$MAGIC_CMD
73884 # Must we lock files when doing compilation?
73885 need_locks=$lt_need_locks
73887 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
73888 DSYMUTIL=$lt_DSYMUTIL
73890 # Tool to change global to local symbols on Mac OS X.
73891 NMEDIT=$lt_NMEDIT
73893 # Tool to manipulate fat objects and archives on Mac OS X.
73894 LIPO=$lt_LIPO
73896 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
73897 OTOOL=$lt_OTOOL
73899 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
73900 OTOOL64=$lt_OTOOL64
73902 # Old archive suffix (normally "a").
73903 libext=$libext
73905 # Shared library suffix (normally ".so").
73906 shrext_cmds=$lt_shrext_cmds
73908 # The commands to extract the exported symbol list from a shared archive.
73909 extract_expsyms_cmds=$lt_extract_expsyms_cmds
73911 # Variables whose values should be saved in libtool wrapper scripts and
73912 # restored at link time.
73913 variables_saved_for_relink=$lt_variables_saved_for_relink
73915 # Do we need the "lib" prefix for modules?
73916 need_lib_prefix=$need_lib_prefix
73918 # Do we need a version for libraries?
73919 need_version=$need_version
73921 # Library versioning type.
73922 version_type=$version_type
73924 # Shared library runtime path variable.
73925 runpath_var=$runpath_var
73927 # Shared library path variable.
73928 shlibpath_var=$shlibpath_var
73930 # Is shlibpath searched before the hard-coded library search path?
73931 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
73933 # Format of library name prefix.
73934 libname_spec=$lt_libname_spec
73936 # List of archive names. First name is the real one, the rest are links.
73937 # The last name is the one that the linker finds with -lNAME
73938 library_names_spec=$lt_library_names_spec
73940 # The coded name of the library, if different from the real name.
73941 soname_spec=$lt_soname_spec
73943 # Permission mode override for installation of shared libraries.
73944 install_override_mode=$lt_install_override_mode
73946 # Command to use after installation of a shared archive.
73947 postinstall_cmds=$lt_postinstall_cmds
73949 # Command to use after uninstallation of a shared archive.
73950 postuninstall_cmds=$lt_postuninstall_cmds
73952 # Commands used to finish a libtool library installation in a directory.
73953 finish_cmds=$lt_finish_cmds
73955 # As "finish_cmds", except a single script fragment to be evaled but
73956 # not shown.
73957 finish_eval=$lt_finish_eval
73959 # Whether we should hardcode library paths into libraries.
73960 hardcode_into_libs=$hardcode_into_libs
73962 # Compile-time system search path for libraries.
73963 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
73965 # Run-time system search path for libraries.
73966 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
73968 # Whether dlopen is supported.
73969 dlopen_support=$enable_dlopen
73971 # Whether dlopen of programs is supported.
73972 dlopen_self=$enable_dlopen_self
73974 # Whether dlopen of statically linked programs is supported.
73975 dlopen_self_static=$enable_dlopen_self_static
73977 # Commands to strip libraries.
73978 old_striplib=$lt_old_striplib
73979 striplib=$lt_striplib
73982 # The linker used to build libraries.
73983 LD=$lt_LD
73985 # How to create reloadable object files.
73986 reload_flag=$lt_reload_flag
73987 reload_cmds=$lt_reload_cmds
73989 # Commands used to build an old-style archive.
73990 old_archive_cmds=$lt_old_archive_cmds
73992 # A language specific compiler.
73993 CC=$lt_compiler
73995 # Is the compiler the GNU compiler?
73996 with_gcc=$GCC
73998 # Compiler flag to turn off builtin functions.
73999 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74001 # How to pass a linker flag through the compiler.
74002 wl=$lt_lt_prog_compiler_wl
74004 # Additional compiler flags for building library objects.
74005 pic_flag=$lt_lt_prog_compiler_pic
74007 # Compiler flag to prevent dynamic linking.
74008 link_static_flag=$lt_lt_prog_compiler_static
74010 # Does compiler simultaneously support -c and -o options?
74011 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74013 # Whether or not to add -lc for building shared libraries.
74014 build_libtool_need_lc=$archive_cmds_need_lc
74016 # Whether or not to disallow shared libs when runtime libs are static.
74017 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74019 # Compiler flag to allow reflexive dlopens.
74020 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74022 # Compiler flag to generate shared objects directly from archives.
74023 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74025 # Whether the compiler copes with passing no objects directly.
74026 compiler_needs_object=$lt_compiler_needs_object
74028 # Create an old-style archive from a shared archive.
74029 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74031 # Create a temporary old-style archive to link instead of a shared archive.
74032 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74034 # Commands used to build a shared archive.
74035 archive_cmds=$lt_archive_cmds
74036 archive_expsym_cmds=$lt_archive_expsym_cmds
74038 # Commands used to build a loadable module if different from building
74039 # a shared archive.
74040 module_cmds=$lt_module_cmds
74041 module_expsym_cmds=$lt_module_expsym_cmds
74043 # Whether we are building with GNU ld or not.
74044 with_gnu_ld=$lt_with_gnu_ld
74046 # Flag that allows shared libraries with undefined symbols to be built.
74047 allow_undefined_flag=$lt_allow_undefined_flag
74049 # Flag that enforces no undefined symbols.
74050 no_undefined_flag=$lt_no_undefined_flag
74052 # Flag to hardcode \$libdir into a binary during linking.
74053 # This must work even if \$libdir does not exist
74054 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74056 # If ld is used when linking, flag to hardcode \$libdir into a binary
74057 # during linking. This must work even if \$libdir does not exist.
74058 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74060 # Whether we need a single "-rpath" flag with a separated argument.
74061 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74063 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74064 # DIR into the resulting binary.
74065 hardcode_direct=$hardcode_direct
74067 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74068 # DIR into the resulting binary and the resulting library dependency is
74069 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74070 # library is relocated.
74071 hardcode_direct_absolute=$hardcode_direct_absolute
74073 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74074 # into the resulting binary.
74075 hardcode_minus_L=$hardcode_minus_L
74077 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74078 # into the resulting binary.
74079 hardcode_shlibpath_var=$hardcode_shlibpath_var
74081 # Set to "yes" if building a shared library automatically hardcodes DIR
74082 # into the library and all subsequent libraries and executables linked
74083 # against it.
74084 hardcode_automatic=$hardcode_automatic
74086 # Set to yes if linker adds runtime paths of dependent libraries
74087 # to runtime path list.
74088 inherit_rpath=$inherit_rpath
74090 # Whether libtool must link a program against all its dependency libraries.
74091 link_all_deplibs=$link_all_deplibs
74093 # Fix the shell variable \$srcfile for the compiler.
74094 fix_srcfile_path=$lt_fix_srcfile_path
74096 # Set to "yes" if exported symbols are required.
74097 always_export_symbols=$always_export_symbols
74099 # The commands to list exported symbols.
74100 export_symbols_cmds=$lt_export_symbols_cmds
74102 # Symbols that should not be listed in the preloaded symbols.
74103 exclude_expsyms=$lt_exclude_expsyms
74105 # Symbols that must always be exported.
74106 include_expsyms=$lt_include_expsyms
74108 # Commands necessary for linking programs (against libraries) with templates.
74109 prelink_cmds=$lt_prelink_cmds
74111 # Specify filename containing input files.
74112 file_list_spec=$lt_file_list_spec
74114 # How to hardcode a shared library path into an executable.
74115 hardcode_action=$hardcode_action
74117 # The directories searched by this compiler when creating a shared library.
74118 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74120 # Dependencies to place before and after the objects being linked to
74121 # create a shared library.
74122 predep_objects=$lt_predep_objects
74123 postdep_objects=$lt_postdep_objects
74124 predeps=$lt_predeps
74125 postdeps=$lt_postdeps
74127 # The library search path used internally by the compiler when linking
74128 # a shared library.
74129 compiler_lib_search_path=$lt_compiler_lib_search_path
74131 # ### END LIBTOOL CONFIG
74133 _LT_EOF
74135 case $host_os in
74136 aix3*)
74137 cat <<\_LT_EOF >> "$cfgfile"
74138 # AIX sometimes has problems with the GCC collect2 program. For some
74139 # reason, if we set the COLLECT_NAMES environment variable, the problems
74140 # vanish in a puff of smoke.
74141 if test "X${COLLECT_NAMES+set}" != Xset; then
74142 COLLECT_NAMES=
74143 export COLLECT_NAMES
74145 _LT_EOF
74147 esac
74150 ltmain="$ac_aux_dir/ltmain.sh"
74153 # We use sed instead of cat because bash on DJGPP gets confused if
74154 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74155 # text mode, it properly converts lines to CR/LF. This bash problem
74156 # is reportedly fixed, but why not run on old versions too?
74157 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74158 || (rm -f "$cfgfile"; exit 1)
74160 case $xsi_shell in
74161 yes)
74162 cat << \_LT_EOF >> "$cfgfile"
74164 # func_dirname file append nondir_replacement
74165 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74166 # otherwise set result to NONDIR_REPLACEMENT.
74167 func_dirname ()
74169 case ${1} in
74170 */*) func_dirname_result="${1%/*}${2}" ;;
74171 * ) func_dirname_result="${3}" ;;
74172 esac
74175 # func_basename file
74176 func_basename ()
74178 func_basename_result="${1##*/}"
74181 # func_dirname_and_basename file append nondir_replacement
74182 # perform func_basename and func_dirname in a single function
74183 # call:
74184 # dirname: Compute the dirname of FILE. If nonempty,
74185 # add APPEND to the result, otherwise set result
74186 # to NONDIR_REPLACEMENT.
74187 # value returned in "$func_dirname_result"
74188 # basename: Compute filename of FILE.
74189 # value retuned in "$func_basename_result"
74190 # Implementation must be kept synchronized with func_dirname
74191 # and func_basename. For efficiency, we do not delegate to
74192 # those functions but instead duplicate the functionality here.
74193 func_dirname_and_basename ()
74195 case ${1} in
74196 */*) func_dirname_result="${1%/*}${2}" ;;
74197 * ) func_dirname_result="${3}" ;;
74198 esac
74199 func_basename_result="${1##*/}"
74202 # func_stripname prefix suffix name
74203 # strip PREFIX and SUFFIX off of NAME.
74204 # PREFIX and SUFFIX must not contain globbing or regex special
74205 # characters, hashes, percent signs, but SUFFIX may contain a leading
74206 # dot (in which case that matches only a dot).
74207 func_stripname ()
74209 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74210 # positional parameters, so assign one to ordinary parameter first.
74211 func_stripname_result=${3}
74212 func_stripname_result=${func_stripname_result#"${1}"}
74213 func_stripname_result=${func_stripname_result%"${2}"}
74216 # func_opt_split
74217 func_opt_split ()
74219 func_opt_split_opt=${1%%=*}
74220 func_opt_split_arg=${1#*=}
74223 # func_lo2o object
74224 func_lo2o ()
74226 case ${1} in
74227 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74228 *) func_lo2o_result=${1} ;;
74229 esac
74232 # func_xform libobj-or-source
74233 func_xform ()
74235 func_xform_result=${1%.*}.lo
74238 # func_arith arithmetic-term...
74239 func_arith ()
74241 func_arith_result=$(( $* ))
74244 # func_len string
74245 # STRING may not start with a hyphen.
74246 func_len ()
74248 func_len_result=${#1}
74251 _LT_EOF
74253 *) # Bourne compatible functions.
74254 cat << \_LT_EOF >> "$cfgfile"
74256 # func_dirname file append nondir_replacement
74257 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74258 # otherwise set result to NONDIR_REPLACEMENT.
74259 func_dirname ()
74261 # Extract subdirectory from the argument.
74262 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74263 if test "X$func_dirname_result" = "X${1}"; then
74264 func_dirname_result="${3}"
74265 else
74266 func_dirname_result="$func_dirname_result${2}"
74270 # func_basename file
74271 func_basename ()
74273 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74277 # func_stripname prefix suffix name
74278 # strip PREFIX and SUFFIX off of NAME.
74279 # PREFIX and SUFFIX must not contain globbing or regex special
74280 # characters, hashes, percent signs, but SUFFIX may contain a leading
74281 # dot (in which case that matches only a dot).
74282 # func_strip_suffix prefix name
74283 func_stripname ()
74285 case ${2} in
74286 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74287 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74288 esac
74291 # sed scripts:
74292 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74293 my_sed_long_arg='1s/^-[^=]*=//'
74295 # func_opt_split
74296 func_opt_split ()
74298 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74299 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74302 # func_lo2o object
74303 func_lo2o ()
74305 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74308 # func_xform libobj-or-source
74309 func_xform ()
74311 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74314 # func_arith arithmetic-term...
74315 func_arith ()
74317 func_arith_result=`expr "$@"`
74320 # func_len string
74321 # STRING may not start with a hyphen.
74322 func_len ()
74324 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74327 _LT_EOF
74328 esac
74330 case $lt_shell_append in
74331 yes)
74332 cat << \_LT_EOF >> "$cfgfile"
74334 # func_append var value
74335 # Append VALUE to the end of shell variable VAR.
74336 func_append ()
74338 eval "$1+=\$2"
74340 _LT_EOF
74343 cat << \_LT_EOF >> "$cfgfile"
74345 # func_append var value
74346 # Append VALUE to the end of shell variable VAR.
74347 func_append ()
74349 eval "$1=\$$1\$2"
74352 _LT_EOF
74354 esac
74357 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74358 || (rm -f "$cfgfile"; exit 1)
74360 mv -f "$cfgfile" "$ofile" ||
74361 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74362 chmod +x "$ofile"
74365 cat <<_LT_EOF >> "$ofile"
74367 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74369 # The linker used to build libraries.
74370 LD=$lt_LD_CXX
74372 # How to create reloadable object files.
74373 reload_flag=$lt_reload_flag_CXX
74374 reload_cmds=$lt_reload_cmds_CXX
74376 # Commands used to build an old-style archive.
74377 old_archive_cmds=$lt_old_archive_cmds_CXX
74379 # A language specific compiler.
74380 CC=$lt_compiler_CXX
74382 # Is the compiler the GNU compiler?
74383 with_gcc=$GCC_CXX
74385 # Compiler flag to turn off builtin functions.
74386 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74388 # How to pass a linker flag through the compiler.
74389 wl=$lt_lt_prog_compiler_wl_CXX
74391 # Additional compiler flags for building library objects.
74392 pic_flag=$lt_lt_prog_compiler_pic_CXX
74394 # Compiler flag to prevent dynamic linking.
74395 link_static_flag=$lt_lt_prog_compiler_static_CXX
74397 # Does compiler simultaneously support -c and -o options?
74398 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74400 # Whether or not to add -lc for building shared libraries.
74401 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74403 # Whether or not to disallow shared libs when runtime libs are static.
74404 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74406 # Compiler flag to allow reflexive dlopens.
74407 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74409 # Compiler flag to generate shared objects directly from archives.
74410 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74412 # Whether the compiler copes with passing no objects directly.
74413 compiler_needs_object=$lt_compiler_needs_object_CXX
74415 # Create an old-style archive from a shared archive.
74416 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74418 # Create a temporary old-style archive to link instead of a shared archive.
74419 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74421 # Commands used to build a shared archive.
74422 archive_cmds=$lt_archive_cmds_CXX
74423 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74425 # Commands used to build a loadable module if different from building
74426 # a shared archive.
74427 module_cmds=$lt_module_cmds_CXX
74428 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74430 # Whether we are building with GNU ld or not.
74431 with_gnu_ld=$lt_with_gnu_ld_CXX
74433 # Flag that allows shared libraries with undefined symbols to be built.
74434 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74436 # Flag that enforces no undefined symbols.
74437 no_undefined_flag=$lt_no_undefined_flag_CXX
74439 # Flag to hardcode \$libdir into a binary during linking.
74440 # This must work even if \$libdir does not exist
74441 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74443 # If ld is used when linking, flag to hardcode \$libdir into a binary
74444 # during linking. This must work even if \$libdir does not exist.
74445 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74447 # Whether we need a single "-rpath" flag with a separated argument.
74448 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74450 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74451 # DIR into the resulting binary.
74452 hardcode_direct=$hardcode_direct_CXX
74454 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74455 # DIR into the resulting binary and the resulting library dependency is
74456 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74457 # library is relocated.
74458 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74460 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74461 # into the resulting binary.
74462 hardcode_minus_L=$hardcode_minus_L_CXX
74464 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74465 # into the resulting binary.
74466 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74468 # Set to "yes" if building a shared library automatically hardcodes DIR
74469 # into the library and all subsequent libraries and executables linked
74470 # against it.
74471 hardcode_automatic=$hardcode_automatic_CXX
74473 # Set to yes if linker adds runtime paths of dependent libraries
74474 # to runtime path list.
74475 inherit_rpath=$inherit_rpath_CXX
74477 # Whether libtool must link a program against all its dependency libraries.
74478 link_all_deplibs=$link_all_deplibs_CXX
74480 # Fix the shell variable \$srcfile for the compiler.
74481 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74483 # Set to "yes" if exported symbols are required.
74484 always_export_symbols=$always_export_symbols_CXX
74486 # The commands to list exported symbols.
74487 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74489 # Symbols that should not be listed in the preloaded symbols.
74490 exclude_expsyms=$lt_exclude_expsyms_CXX
74492 # Symbols that must always be exported.
74493 include_expsyms=$lt_include_expsyms_CXX
74495 # Commands necessary for linking programs (against libraries) with templates.
74496 prelink_cmds=$lt_prelink_cmds_CXX
74498 # Specify filename containing input files.
74499 file_list_spec=$lt_file_list_spec_CXX
74501 # How to hardcode a shared library path into an executable.
74502 hardcode_action=$hardcode_action_CXX
74504 # The directories searched by this compiler when creating a shared library.
74505 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74507 # Dependencies to place before and after the objects being linked to
74508 # create a shared library.
74509 predep_objects=$lt_predep_objects_CXX
74510 postdep_objects=$lt_postdep_objects_CXX
74511 predeps=$lt_predeps_CXX
74512 postdeps=$lt_postdeps_CXX
74514 # The library search path used internally by the compiler when linking
74515 # a shared library.
74516 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74518 # ### END LIBTOOL TAG CONFIG: CXX
74519 _LT_EOF
74522 "include/gstdint.h":C)
74523 if test "$GCC" = yes; then
74524 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74525 else
74526 echo "/* generated for $CC */" > tmp-stdint.h
74529 sed 's/^ *//' >> tmp-stdint.h <<EOF
74531 #ifndef GCC_GENERATED_STDINT_H
74532 #define GCC_GENERATED_STDINT_H 1
74534 #include <sys/types.h>
74537 if test "$acx_cv_header_stdint" != stdint.h; then
74538 echo "#include <stddef.h>" >> tmp-stdint.h
74540 if test "$acx_cv_header_stdint" != stddef.h; then
74541 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74544 sed 's/^ *//' >> tmp-stdint.h <<EOF
74545 /* glibc uses these symbols as guards to prevent redefinitions. */
74546 #ifdef __int8_t_defined
74547 #define _INT8_T
74548 #define _INT16_T
74549 #define _INT32_T
74550 #endif
74551 #ifdef __uint32_t_defined
74552 #define _UINT32_T
74553 #endif
74557 # ----------------- done header, emit basic int types -------------
74558 if test "$acx_cv_header_stdint" = stddef.h; then
74559 sed 's/^ *//' >> tmp-stdint.h <<EOF
74561 #ifndef _UINT8_T
74562 #define _UINT8_T
74563 #ifndef __uint8_t_defined
74564 #define __uint8_t_defined
74565 #ifndef uint8_t
74566 typedef unsigned $acx_cv_type_int8_t uint8_t;
74567 #endif
74568 #endif
74569 #endif
74571 #ifndef _UINT16_T
74572 #define _UINT16_T
74573 #ifndef __uint16_t_defined
74574 #define __uint16_t_defined
74575 #ifndef uint16_t
74576 typedef unsigned $acx_cv_type_int16_t uint16_t;
74577 #endif
74578 #endif
74579 #endif
74581 #ifndef _UINT32_T
74582 #define _UINT32_T
74583 #ifndef __uint32_t_defined
74584 #define __uint32_t_defined
74585 #ifndef uint32_t
74586 typedef unsigned $acx_cv_type_int32_t uint32_t;
74587 #endif
74588 #endif
74589 #endif
74591 #ifndef _INT8_T
74592 #define _INT8_T
74593 #ifndef __int8_t_defined
74594 #define __int8_t_defined
74595 #ifndef int8_t
74596 typedef $acx_cv_type_int8_t int8_t;
74597 #endif
74598 #endif
74599 #endif
74601 #ifndef _INT16_T
74602 #define _INT16_T
74603 #ifndef __int16_t_defined
74604 #define __int16_t_defined
74605 #ifndef int16_t
74606 typedef $acx_cv_type_int16_t int16_t;
74607 #endif
74608 #endif
74609 #endif
74611 #ifndef _INT32_T
74612 #define _INT32_T
74613 #ifndef __int32_t_defined
74614 #define __int32_t_defined
74615 #ifndef int32_t
74616 typedef $acx_cv_type_int32_t int32_t;
74617 #endif
74618 #endif
74619 #endif
74621 elif test "$ac_cv_type_u_int32_t" = yes; then
74622 sed 's/^ *//' >> tmp-stdint.h <<EOF
74624 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74625 #ifndef _INT8_T
74626 #define _INT8_T
74627 #endif
74628 #ifndef _INT16_T
74629 #define _INT16_T
74630 #endif
74631 #ifndef _INT32_T
74632 #define _INT32_T
74633 #endif
74635 #ifndef _UINT8_T
74636 #define _UINT8_T
74637 #ifndef __uint8_t_defined
74638 #define __uint8_t_defined
74639 #ifndef uint8_t
74640 typedef u_int8_t uint8_t;
74641 #endif
74642 #endif
74643 #endif
74645 #ifndef _UINT16_T
74646 #define _UINT16_T
74647 #ifndef __uint16_t_defined
74648 #define __uint16_t_defined
74649 #ifndef uint16_t
74650 typedef u_int16_t uint16_t;
74651 #endif
74652 #endif
74653 #endif
74655 #ifndef _UINT32_T
74656 #define _UINT32_T
74657 #ifndef __uint32_t_defined
74658 #define __uint32_t_defined
74659 #ifndef uint32_t
74660 typedef u_int32_t uint32_t;
74661 #endif
74662 #endif
74663 #endif
74665 else
74666 sed 's/^ *//' >> tmp-stdint.h <<EOF
74668 /* Some systems have guard macros to prevent redefinitions, define them. */
74669 #ifndef _INT8_T
74670 #define _INT8_T
74671 #endif
74672 #ifndef _INT16_T
74673 #define _INT16_T
74674 #endif
74675 #ifndef _INT32_T
74676 #define _INT32_T
74677 #endif
74678 #ifndef _UINT8_T
74679 #define _UINT8_T
74680 #endif
74681 #ifndef _UINT16_T
74682 #define _UINT16_T
74683 #endif
74684 #ifndef _UINT32_T
74685 #define _UINT32_T
74686 #endif
74690 # ------------- done basic int types, emit int64_t types ------------
74691 if test "$ac_cv_type_uint64_t" = yes; then
74692 sed 's/^ *//' >> tmp-stdint.h <<EOF
74694 /* system headers have good uint64_t and int64_t */
74695 #ifndef _INT64_T
74696 #define _INT64_T
74697 #endif
74698 #ifndef _UINT64_T
74699 #define _UINT64_T
74700 #endif
74702 elif test "$ac_cv_type_u_int64_t" = yes; then
74703 sed 's/^ *//' >> tmp-stdint.h <<EOF
74705 /* system headers have an u_int64_t (and int64_t) */
74706 #ifndef _INT64_T
74707 #define _INT64_T
74708 #endif
74709 #ifndef _UINT64_T
74710 #define _UINT64_T
74711 #ifndef __uint64_t_defined
74712 #define __uint64_t_defined
74713 #ifndef uint64_t
74714 typedef u_int64_t uint64_t;
74715 #endif
74716 #endif
74717 #endif
74719 elif test -n "$acx_cv_type_int64_t"; then
74720 sed 's/^ *//' >> tmp-stdint.h <<EOF
74722 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74723 #ifndef _INT64_T
74724 #define _INT64_T
74725 #ifndef int64_t
74726 typedef $acx_cv_type_int64_t int64_t;
74727 #endif
74728 #endif
74729 #ifndef _UINT64_T
74730 #define _UINT64_T
74731 #ifndef __uint64_t_defined
74732 #define __uint64_t_defined
74733 #ifndef uint64_t
74734 typedef unsigned $acx_cv_type_int64_t uint64_t;
74735 #endif
74736 #endif
74737 #endif
74739 else
74740 sed 's/^ *//' >> tmp-stdint.h <<EOF
74742 /* some common heuristics for int64_t, using compiler-specific tests */
74743 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74744 #ifndef _INT64_T
74745 #define _INT64_T
74746 #ifndef __int64_t_defined
74747 #ifndef int64_t
74748 typedef long long int64_t;
74749 #endif
74750 #endif
74751 #endif
74752 #ifndef _UINT64_T
74753 #define _UINT64_T
74754 #ifndef uint64_t
74755 typedef unsigned long long uint64_t;
74756 #endif
74757 #endif
74759 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74760 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74761 does not implement __extension__. But that compiler doesn't define
74762 __GNUC_MINOR__. */
74763 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74764 # define __extension__
74765 # endif
74767 # ifndef _INT64_T
74768 # define _INT64_T
74769 # ifndef int64_t
74770 __extension__ typedef long long int64_t;
74771 # endif
74772 # endif
74773 # ifndef _UINT64_T
74774 # define _UINT64_T
74775 # ifndef uint64_t
74776 __extension__ typedef unsigned long long uint64_t;
74777 # endif
74778 # endif
74780 #elif !defined __STRICT_ANSI__
74781 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74783 # ifndef _INT64_T
74784 # define _INT64_T
74785 # ifndef int64_t
74786 typedef __int64 int64_t;
74787 # endif
74788 # endif
74789 # ifndef _UINT64_T
74790 # define _UINT64_T
74791 # ifndef uint64_t
74792 typedef unsigned __int64 uint64_t;
74793 # endif
74794 # endif
74795 # endif /* compiler */
74797 #endif /* ANSI version */
74801 # ------------- done int64_t types, emit intptr types ------------
74802 if test "$ac_cv_type_uintptr_t" != yes; then
74803 sed 's/^ *//' >> tmp-stdint.h <<EOF
74805 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74806 #ifndef __uintptr_t_defined
74807 #ifndef uintptr_t
74808 typedef u$acx_cv_type_intptr_t uintptr_t;
74809 #endif
74810 #endif
74811 #ifndef __intptr_t_defined
74812 #ifndef intptr_t
74813 typedef $acx_cv_type_intptr_t intptr_t;
74814 #endif
74815 #endif
74819 # ------------- done intptr types, emit int_least types ------------
74820 if test "$ac_cv_type_int_least32_t" != yes; then
74821 sed 's/^ *//' >> tmp-stdint.h <<EOF
74823 /* Define int_least types */
74824 typedef int8_t int_least8_t;
74825 typedef int16_t int_least16_t;
74826 typedef int32_t int_least32_t;
74827 #ifdef _INT64_T
74828 typedef int64_t int_least64_t;
74829 #endif
74831 typedef uint8_t uint_least8_t;
74832 typedef uint16_t uint_least16_t;
74833 typedef uint32_t uint_least32_t;
74834 #ifdef _UINT64_T
74835 typedef uint64_t uint_least64_t;
74836 #endif
74840 # ------------- done intptr types, emit int_fast types ------------
74841 if test "$ac_cv_type_int_fast32_t" != yes; then
74842 sed 's/^ *//' >> tmp-stdint.h <<EOF
74844 /* Define int_fast types. short is often slow */
74845 typedef int8_t int_fast8_t;
74846 typedef int int_fast16_t;
74847 typedef int32_t int_fast32_t;
74848 #ifdef _INT64_T
74849 typedef int64_t int_fast64_t;
74850 #endif
74852 typedef uint8_t uint_fast8_t;
74853 typedef unsigned int uint_fast16_t;
74854 typedef uint32_t uint_fast32_t;
74855 #ifdef _UINT64_T
74856 typedef uint64_t uint_fast64_t;
74857 #endif
74861 if test "$ac_cv_type_uintmax_t" != yes; then
74862 sed 's/^ *//' >> tmp-stdint.h <<EOF
74864 /* Define intmax based on what we found */
74865 #ifndef intmax_t
74866 #ifdef _INT64_T
74867 typedef int64_t intmax_t;
74868 #else
74869 typedef long intmax_t;
74870 #endif
74871 #endif
74872 #ifndef uintmax_t
74873 #ifdef _UINT64_T
74874 typedef uint64_t uintmax_t;
74875 #else
74876 typedef unsigned long uintmax_t;
74877 #endif
74878 #endif
74882 sed 's/^ *//' >> tmp-stdint.h <<EOF
74884 #endif /* GCC_GENERATED_STDINT_H */
74887 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
74888 rm -f tmp-stdint.h
74889 else
74890 mv -f tmp-stdint.h include/gstdint.h
74894 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
74895 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
74896 "include/Makefile":F) cat > vpsed$$ << \_EOF
74897 s!`test -f '$<' || echo '$(srcdir)/'`!!
74898 _EOF
74899 sed -f vpsed$$ $ac_file > tmp$$
74900 mv tmp$$ $ac_file
74901 rm vpsed$$
74902 echo 'MULTISUBDIR =' >> $ac_file
74903 ml_norecursion=yes
74904 . ${multi_basedir}/config-ml.in
74905 { ml_norecursion=; unset ml_norecursion;}
74907 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
74908 s!`test -f '$<' || echo '$(srcdir)/'`!!
74909 _EOF
74910 sed -f vpsed$$ $ac_file > tmp$$
74911 mv tmp$$ $ac_file
74912 rm vpsed$$
74913 echo 'MULTISUBDIR =' >> $ac_file
74914 ml_norecursion=yes
74915 . ${multi_basedir}/config-ml.in
74916 { ml_norecursion=; unset ml_norecursion;}
74918 "python/Makefile":F) cat > vpsed$$ << \_EOF
74919 s!`test -f '$<' || echo '$(srcdir)/'`!!
74920 _EOF
74921 sed -f vpsed$$ $ac_file > tmp$$
74922 mv tmp$$ $ac_file
74923 rm vpsed$$
74924 echo 'MULTISUBDIR =' >> $ac_file
74925 ml_norecursion=yes
74926 . ${multi_basedir}/config-ml.in
74927 { ml_norecursion=; unset ml_norecursion;}
74929 "src/Makefile":F) cat > vpsed$$ << \_EOF
74930 s!`test -f '$<' || echo '$(srcdir)/'`!!
74931 _EOF
74932 sed -f vpsed$$ $ac_file > tmp$$
74933 mv tmp$$ $ac_file
74934 rm vpsed$$
74935 echo 'MULTISUBDIR =' >> $ac_file
74936 ml_norecursion=yes
74937 . ${multi_basedir}/config-ml.in
74938 { ml_norecursion=; unset ml_norecursion;}
74940 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
74941 s!`test -f '$<' || echo '$(srcdir)/'`!!
74942 _EOF
74943 sed -f vpsed$$ $ac_file > tmp$$
74944 mv tmp$$ $ac_file
74945 rm vpsed$$
74946 echo 'MULTISUBDIR =' >> $ac_file
74947 ml_norecursion=yes
74948 . ${multi_basedir}/config-ml.in
74949 { ml_norecursion=; unset ml_norecursion;}
74951 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
74952 s!`test -f '$<' || echo '$(srcdir)/'`!!
74953 _EOF
74954 sed -f vpsed$$ $ac_file > tmp$$
74955 mv tmp$$ $ac_file
74956 rm vpsed$$
74957 echo 'MULTISUBDIR =' >> $ac_file
74958 ml_norecursion=yes
74959 . ${multi_basedir}/config-ml.in
74960 { ml_norecursion=; unset ml_norecursion;}
74962 "doc/Makefile":F) cat > vpsed$$ << \_EOF
74963 s!`test -f '$<' || echo '$(srcdir)/'`!!
74964 _EOF
74965 sed -f vpsed$$ $ac_file > tmp$$
74966 mv tmp$$ $ac_file
74967 rm vpsed$$
74968 echo 'MULTISUBDIR =' >> $ac_file
74969 ml_norecursion=yes
74970 . ${multi_basedir}/config-ml.in
74971 { ml_norecursion=; unset ml_norecursion;}
74973 "po/Makefile":F) cat > vpsed$$ << \_EOF
74974 s!`test -f '$<' || echo '$(srcdir)/'`!!
74975 _EOF
74976 sed -f vpsed$$ $ac_file > tmp$$
74977 mv tmp$$ $ac_file
74978 rm vpsed$$
74979 echo 'MULTISUBDIR =' >> $ac_file
74980 ml_norecursion=yes
74981 . ${multi_basedir}/config-ml.in
74982 { ml_norecursion=; unset ml_norecursion;}
74984 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
74985 s!`test -f '$<' || echo '$(srcdir)/'`!!
74986 _EOF
74987 sed -f vpsed$$ $ac_file > tmp$$
74988 mv tmp$$ $ac_file
74989 rm vpsed$$
74990 echo 'MULTISUBDIR =' >> $ac_file
74991 ml_norecursion=yes
74992 . ${multi_basedir}/config-ml.in
74993 { ml_norecursion=; unset ml_norecursion;}
74995 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
74997 esac
74998 done # for ac_tag
75001 as_fn_exit 0
75002 _ACEOF
75003 ac_clean_files=$ac_clean_files_save
75005 test $ac_write_fail = 0 ||
75006 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75009 # configure is writing to config.log, and then calls config.status.
75010 # config.status does its own redirection, appending to config.log.
75011 # Unfortunately, on DOS this fails, as config.log is still kept open
75012 # by configure, so config.status won't be able to write to it; its
75013 # output is simply discarded. So we exec the FD to /dev/null,
75014 # effectively closing config.log, so it can be properly (re)opened and
75015 # appended to by config.status. When coming back to configure, we
75016 # need to make the FD available again.
75017 if test "$no_create" != yes; then
75018 ac_cs_success=:
75019 ac_config_status_args=
75020 test "$silent" = yes &&
75021 ac_config_status_args="$ac_config_status_args --quiet"
75022 exec 5>/dev/null
75023 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75024 exec 5>>config.log
75025 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75026 # would make configure fail if this is the last instruction.
75027 $ac_cs_success || as_fn_exit $?
75029 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75031 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}