2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / libstdc++-v3 / configure
bloba4cf5c9f8cf5703e7479c99bda0495347fabf78a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
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 thread_header
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
731 ac_ct_DUMPBIN
732 DUMPBIN
734 FGREP
736 LIBTOOL
737 EGREP
738 GREP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
881 ac_precious_vars='build_alias
882 host_alias
883 target_alias
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
890 CXXFLAGS
893 CXXCPP
894 CXXFILT'
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
945 ac_prev=
946 ac_dashdash=
947 for ac_option
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\$ac_option
952 ac_prev=
953 continue
956 case $ac_option in
957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 *) ac_optarg=yes ;;
959 esac
961 # Accept the important Cygnus configure options, so we can diagnose typos.
963 case $ac_dashdash$ac_option in
965 ac_dashdash=yes ;;
967 -bindir | --bindir | --bindi | --bind | --bin | --bi)
968 ac_prev=bindir ;;
969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 bindir=$ac_optarg ;;
972 -build | --build | --buil | --bui | --bu)
973 ac_prev=build_alias ;;
974 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975 build_alias=$ac_optarg ;;
977 -cache-file | --cache-file | --cache-fil | --cache-fi \
978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979 ac_prev=cache_file ;;
980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982 cache_file=$ac_optarg ;;
984 --config-cache | -C)
985 cache_file=config.cache ;;
987 -datadir | --datadir | --datadi | --datad)
988 ac_prev=datadir ;;
989 -datadir=* | --datadir=* | --datadi=* | --datad=*)
990 datadir=$ac_optarg ;;
992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993 | --dataroo | --dataro | --datar)
994 ac_prev=datarootdir ;;
995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997 datarootdir=$ac_optarg ;;
999 -disable-* | --disable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1008 "enable_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval enable_$ac_useropt=no ;;
1015 -docdir | --docdir | --docdi | --doc | --do)
1016 ac_prev=docdir ;;
1017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018 docdir=$ac_optarg ;;
1020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021 ac_prev=dvidir ;;
1022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023 dvidir=$ac_optarg ;;
1025 -enable-* | --enable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=\$ac_optarg ;;
1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043 | --exec | --exe | --ex)
1044 ac_prev=exec_prefix ;;
1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047 | --exec=* | --exe=* | --ex=*)
1048 exec_prefix=$ac_optarg ;;
1050 -gas | --gas | --ga | --g)
1051 # Obsolete; use --with-gas.
1052 with_gas=yes ;;
1054 -help | --help | --hel | --he | -h)
1055 ac_init_help=long ;;
1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057 ac_init_help=recursive ;;
1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059 ac_init_help=short ;;
1061 -host | --host | --hos | --ho)
1062 ac_prev=host_alias ;;
1063 -host=* | --host=* | --hos=* | --ho=*)
1064 host_alias=$ac_optarg ;;
1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067 ac_prev=htmldir ;;
1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069 | --ht=*)
1070 htmldir=$ac_optarg ;;
1072 -includedir | --includedir | --includedi | --included | --include \
1073 | --includ | --inclu | --incl | --inc)
1074 ac_prev=includedir ;;
1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076 | --includ=* | --inclu=* | --incl=* | --inc=*)
1077 includedir=$ac_optarg ;;
1079 -infodir | --infodir | --infodi | --infod | --info | --inf)
1080 ac_prev=infodir ;;
1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082 infodir=$ac_optarg ;;
1084 -libdir | --libdir | --libdi | --libd)
1085 ac_prev=libdir ;;
1086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087 libdir=$ac_optarg ;;
1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090 | --libexe | --libex | --libe)
1091 ac_prev=libexecdir ;;
1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093 | --libexe=* | --libex=* | --libe=*)
1094 libexecdir=$ac_optarg ;;
1096 -localedir | --localedir | --localedi | --localed | --locale)
1097 ac_prev=localedir ;;
1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099 localedir=$ac_optarg ;;
1101 -localstatedir | --localstatedir | --localstatedi | --localstated \
1102 | --localstate | --localstat | --localsta | --localst | --locals)
1103 ac_prev=localstatedir ;;
1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106 localstatedir=$ac_optarg ;;
1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109 ac_prev=mandir ;;
1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111 mandir=$ac_optarg ;;
1113 -nfp | --nfp | --nf)
1114 # Obsolete; use --without-fp.
1115 with_fp=no ;;
1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118 | --no-cr | --no-c | -n)
1119 no_create=yes ;;
1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 no_recursion=yes ;;
1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127 | --oldin | --oldi | --old | --ol | --o)
1128 ac_prev=oldincludedir ;;
1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132 oldincludedir=$ac_optarg ;;
1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135 ac_prev=prefix ;;
1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137 prefix=$ac_optarg ;;
1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140 | --program-pre | --program-pr | --program-p)
1141 ac_prev=program_prefix ;;
1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144 program_prefix=$ac_optarg ;;
1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147 | --program-suf | --program-su | --program-s)
1148 ac_prev=program_suffix ;;
1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151 program_suffix=$ac_optarg ;;
1153 -program-transform-name | --program-transform-name \
1154 | --program-transform-nam | --program-transform-na \
1155 | --program-transform-n | --program-transform- \
1156 | --program-transform | --program-transfor \
1157 | --program-transfo | --program-transf \
1158 | --program-trans | --program-tran \
1159 | --progr-tra | --program-tr | --program-t)
1160 ac_prev=program_transform_name ;;
1161 -program-transform-name=* | --program-transform-name=* \
1162 | --program-transform-nam=* | --program-transform-na=* \
1163 | --program-transform-n=* | --program-transform-=* \
1164 | --program-transform=* | --program-transfor=* \
1165 | --program-transfo=* | --program-transf=* \
1166 | --program-trans=* | --program-tran=* \
1167 | --progr-tra=* | --program-tr=* | --program-t=*)
1168 program_transform_name=$ac_optarg ;;
1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171 ac_prev=pdfdir ;;
1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173 pdfdir=$ac_optarg ;;
1175 -psdir | --psdir | --psdi | --psd | --ps)
1176 ac_prev=psdir ;;
1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 psdir=$ac_optarg ;;
1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181 | -silent | --silent | --silen | --sile | --sil)
1182 silent=yes ;;
1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 ac_prev=sbindir ;;
1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187 | --sbi=* | --sb=*)
1188 sbindir=$ac_optarg ;;
1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192 | --sharedst | --shareds | --shared | --share | --shar \
1193 | --sha | --sh)
1194 ac_prev=sharedstatedir ;;
1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198 | --sha=* | --sh=*)
1199 sharedstatedir=$ac_optarg ;;
1201 -site | --site | --sit)
1202 ac_prev=site ;;
1203 -site=* | --site=* | --sit=*)
1204 site=$ac_optarg ;;
1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207 ac_prev=srcdir ;;
1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 srcdir=$ac_optarg ;;
1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212 | --syscon | --sysco | --sysc | --sys | --sy)
1213 ac_prev=sysconfdir ;;
1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 sysconfdir=$ac_optarg ;;
1218 -target | --target | --targe | --targ | --tar | --ta | --t)
1219 ac_prev=target_alias ;;
1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 target_alias=$ac_optarg ;;
1223 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 verbose=yes ;;
1226 -version | --version | --versio | --versi | --vers | -V)
1227 ac_init_version=: ;;
1229 -with-* | --with-*)
1230 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 as_fn_error "invalid package name: $ac_useropt"
1234 ac_useropt_orig=$ac_useropt
1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1238 "with_$ac_useropt"
1239 "*) ;;
1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241 ac_unrecognized_sep=', ';;
1242 esac
1243 eval with_$ac_useropt=\$ac_optarg ;;
1245 -without-* | --without-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1254 "with_$ac_useropt"
1255 "*) ;;
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1258 esac
1259 eval with_$ac_useropt=no ;;
1261 --x)
1262 # Obsolete; use --with-x.
1263 with_x=yes ;;
1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266 | --x-incl | --x-inc | --x-in | --x-i)
1267 ac_prev=x_includes ;;
1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270 x_includes=$ac_optarg ;;
1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274 ac_prev=x_libraries ;;
1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277 x_libraries=$ac_optarg ;;
1279 -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1283 *=*)
1284 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 case $ac_envvar in #(
1287 '' | [0-9]* | *[!_$as_cr_alnum]* )
1288 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289 esac
1290 eval $ac_envvar=\$ac_optarg
1291 export $ac_envvar ;;
1294 # FIXME: should be removed in autoconf 3.0.
1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1301 esac
1302 done
1304 if test -n "$ac_prev"; then
1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306 as_fn_error "missing argument to $ac_option"
1309 if test -n "$ac_unrecognized_opts"; then
1310 case $enable_option_checking in
1311 no) ;;
1312 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 esac
1317 # Check all directory arguments for consistency.
1318 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1323 eval ac_val=\$$ac_var
1324 # Remove trailing slashes.
1325 case $ac_val in
1326 */ )
1327 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\$ac_val;;
1329 esac
1330 # Be sure to have absolute directory names.
1331 case $ac_val in
1332 [\\/$]* | ?:[\\/]* ) continue;;
1333 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334 esac
1335 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347 if test "x$build_alias" = x; then
1348 cross_compiling=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1352 cross_compiling=yes
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1359 test "$silent" = yes && exec 6>/dev/null
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365 as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 as_fn_error "pwd does not report name of working directory"
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 s//\1/
1384 /^X\(\/\/\)[^/].*/{
1385 s//\1/
1388 /^X\(\/\/\)$/{
1389 s//\1/
1392 /^X\(\/\).*/{
1393 s//\1/
1396 s/.*/./; q'`
1397 srcdir=$ac_confdir
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 srcdir=..
1401 else
1402 ac_srcdir_defaulted=no
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411 pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 srcdir=.
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1430 # Report the --help message.
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1435 cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1443 Defaults for the options are specified in brackets.
1445 Configuration:
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 [PREFIX]
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1467 For better control, use the options below.
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1489 _ACEOF
1491 cat <<\_ACEOF
1493 Program names:
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1498 System types:
1499 --build=BUILD configure for building on BUILD [guessed]
1500 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1501 --target=TARGET configure for building compilers for TARGET [HOST]
1502 _ACEOF
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive ) echo "Configuration of package-unused version-unused:";;
1508 esac
1509 cat <<\_ACEOF
1511 Optional Features:
1512 --disable-option-checking ignore unrecognized --enable/--with options
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-multilib build many library versions (default)
1516 --enable-maintainer-mode enable make rules and dependencies not useful
1517 (and sometimes confusing) to the casual installer
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-hosted-libstdcxx
1524 only build freestanding C++ runtime support
1525 --disable-libstdcxx-verbose
1526 disable termination messages to standard error
1527 --enable-sjlj-exceptions
1528 force use of builtin_setjmp for exceptions
1529 [default=auto]
1530 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1531 [default=$is_hosted]
1532 --enable-cstdio[=PACKAGE]
1533 use target-specific I/O package [default=stdio]
1534 --enable-clocale[=MODEL]
1535 use MODEL for target locale package [default=auto]
1536 --enable-nls use Native Language Support (default)
1537 --enable-libstdcxx-allocator[=KIND]
1538 use KIND for target std::allocator base
1539 [default=auto]
1540 --enable-cheaders[=KIND]
1541 construct "C" headers for g++ [default=$c_model]
1542 --enable-long-long enable template specializations for 'long long'
1543 [default=yes]
1544 --enable-wchar_t enable template specializations for 'wchar_t'
1545 [default=yes]
1546 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1547 --enable-concept-checks use Boost-derived template checks [default=no]
1548 --enable-libstdcxx-debug-flags=FLAGS
1549 pass compiler FLAGS when building debug library
1550 [default="-gdwarf-4 -g3 -O0"]
1551 --enable-libstdcxx-debug
1552 build extra debug library [default=no]
1553 --enable-cxx-flags=FLAGS
1554 pass compiler FLAGS when building library [default=]
1555 --enable-fully-dynamic-string
1556 do not put empty strings in per-process static
1557 memory [default=no]
1558 --enable-extern-template
1559 enable extern template [default=yes]
1560 --enable-werror turns on -Werror [default=yes]
1561 --enable-libstdcxx-time[=KIND]
1562 use KIND for check type [default=no]
1563 --enable-tls Use thread-local storage [default=yes]
1564 --disable-rpath do not hardcode runtime library paths
1565 --enable-linux-futex use the Linux futex system call [default=default]
1566 --enable-symvers[=STYLE]
1567 enables symbol versioning of the shared library
1568 [default=yes]
1569 --enable-libstdcxx-visibility
1570 enables visibility safe usage [default=yes]
1571 --enable-libstdcxx-threads
1572 enable C++11 threads support [default=auto]
1573 --enable-version-specific-runtime-libs
1574 Specify that runtime libraries should be installed
1575 in a compiler-specific directory
1577 Optional Packages:
1578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580 --with-target-subdir=SUBDIR
1581 configuring in a subdirectory
1582 --with-cross-host=HOST configuring with a cross compiler
1583 --with-newlib assume newlib as a system C library
1584 --with-pic try to use only PIC/non-PIC objects [default=use
1585 both]
1586 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1587 --with-python-dir the location to install Python modules. This path is
1588 relative starting from the prefix.
1589 --with-gnu-ld assume the C compiler uses GNU ld default=no
1590 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1591 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1592 --with-system-libunwind use installed libunwind
1593 --with-gxx-include-dir=DIR
1594 installation directory for include files
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1604 CXX C++ compiler command
1605 CXXFLAGS C++ compiler flags
1606 CPP C preprocessor
1607 CXXCPP C++ preprocessor
1608 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1609 `c++filt', `gc++filt' on PATH.
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 continue
1625 ac_builddir=.
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1643 case $srcdir in
1644 .) # We are building in place.
1645 ac_srcdir=.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1652 *) # Relative name.
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1662 echo &&
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1665 echo &&
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1667 else
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 fi || ac_status=$?
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1671 done
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676 cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684 exit
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1706 ac_status=$?
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1717 ac_retval=0
1718 else
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1722 ac_retval=1
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 return $ac_retval
1727 } # ac_fn_c_try_compile
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext
1736 if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1760 ac_retval=1
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 return $ac_retval
1765 } # ac_fn_cxx_try_compile
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 ac_status=$?
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } >/dev/null && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1797 ac_retval=1
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 return $ac_retval
1802 } # ac_fn_c_try_cpp
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rm -f conftest.$ac_objext conftest$ac_exeext
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1819 ac_status=$?
1820 if test -s conftest.err; then
1821 grep -v '^ *+' conftest.err >conftest.er1
1822 cat conftest.er1 >&5
1823 mv -f conftest.er1 conftest.err
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest$ac_exeext && {
1830 test "$cross_compiling" = yes ||
1831 $as_test_x conftest$ac_exeext
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1838 ac_retval=1
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 return $ac_retval
1848 } # ac_fn_c_try_link
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860 $as_echo_n "(cached) " >&6
1861 else
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 eval "$3=yes"
1869 else
1870 eval "$3=no"
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874 eval ac_res=\$$3
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879 } # ac_fn_c_check_header_compile
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1906 ac_status=$?
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1915 ac_retval=$ac_status
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 return $ac_retval
1921 } # ac_fn_c_try_run
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 if test x$gcc_no_link = xyes; then
1935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1941 #define $2 innocuous_$2
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char $2 (); below.
1945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946 <limits.h> exists even on freestanding compilers. */
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1954 #undef $2
1956 /* Override any GCC internal prototype to avoid an error.
1957 Use char because int might match the return type of a GCC
1958 builtin and then its argument prototype would still apply. */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1971 main ()
1973 return $2 ();
1975 return 0;
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979 eval "$3=yes"
1980 else
1981 eval "$3=no"
1983 rm -f core conftest.err conftest.$ac_objext \
1984 conftest$ac_exeext conftest.$ac_ext
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991 } # ac_fn_c_check_func
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 ac_status=$?
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } >/dev/null && {
2015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 }; then :
2018 ac_retval=0
2019 else
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2023 ac_retval=1
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 return $ac_retval
2028 } # ac_fn_cxx_try_cpp
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 rm -f conftest.$ac_objext conftest$ac_exeext
2037 if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040 *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>conftest.err
2045 ac_status=$?
2046 if test -s conftest.err; then
2047 grep -v '^ *+' conftest.err >conftest.er1
2048 cat conftest.er1 >&5
2049 mv -f conftest.er1 conftest.err
2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052 test $ac_status = 0; } && {
2053 test -z "$ac_cxx_werror_flag" ||
2054 test ! -s conftest.err
2055 } && test -s conftest$ac_exeext && {
2056 test "$cross_compiling" = yes ||
2057 $as_test_x conftest$ac_exeext
2058 }; then :
2059 ac_retval=0
2060 else
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2064 ac_retval=1
2066 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068 # interfere with the next link command; also delete a directory that is
2069 # left behind by Apple's compiler. We do this before executing the actions.
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072 return $ac_retval
2074 } # ac_fn_cxx_try_link
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2090 eval ac_res=\$$3
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094 # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_header_compiler=yes
2104 else
2105 ac_header_compiler=no
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119 ac_header_preproc=yes
2120 else
2121 ac_header_preproc=no
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2127 # So? What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129 yes:no: )
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2135 no:yes:* )
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 esac
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=\$ac_header_compiler"
2155 eval ac_res=\$$3
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2161 } # ac_fn_c_check_header_mongrel
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2177 eval ac_res=\$$3
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2191 else
2192 ac_header_compiler=no
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2207 else
2208 ac_header_preproc=no
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216 yes:no: )
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2222 no:yes:* )
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2234 esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 eval "$3=\$ac_header_compiler"
2242 eval ac_res=\$$3
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248 } # ac_fn_cxx_check_header_mongrel
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2264 main ()
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2270 return 0;
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2280 main ()
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2286 return 0;
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2306 main ()
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2312 return 0;
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2322 main ()
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2328 return 0;
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2356 main ()
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2362 return 0;
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2385 main ()
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2398 else
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2410 return 0;
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2426 } # ac_fn_c_compute_int
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 eval "$3=no"
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2445 main ()
2447 if (sizeof ($2))
2448 return 0;
2450 return 0;
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2458 main ()
2460 if (sizeof (($2)))
2461 return 0;
2463 return 0;
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2468 else
2469 eval "$3=yes"
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 eval ac_res=\$$3
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64. Invocation command line was
2488 $ $0 $@
2490 _ACEOF
2491 exec 5>>config.log
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2507 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2508 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2511 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2512 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2513 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2515 _ASUNAME
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 $as_echo "PATH: $as_dir"
2523 done
2524 IFS=$as_save_IFS
2526 } >&5
2528 cat >&5 <<_ACEOF
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2535 _ACEOF
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2549 for ac_arg
2551 case $ac_arg in
2552 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554 | -silent | --silent | --silen | --sile | --sil)
2555 continue ;;
2556 *\'*)
2557 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558 esac
2559 case $ac_pass in
2560 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2562 as_fn_append ac_configure_args1 " '$ac_arg'"
2563 if test $ac_must_keep_next = true; then
2564 ac_must_keep_next=false # Got value, back to normal.
2565 else
2566 case $ac_arg in
2567 *=* | --config-cache | -C | -disable-* | --disable-* \
2568 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570 | -with-* | --with-* | -without-* | --without-* | --x)
2571 case "$ac_configure_args0 " in
2572 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573 esac
2575 -* ) ac_must_keep_next=true ;;
2576 esac
2578 as_fn_append ac_configure_args " '$ac_arg'"
2580 esac
2581 done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log. We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592 # Save into config.log some information that might help in debugging.
2594 echo
2596 cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601 echo
2602 # The following way of writing the cache mishandles newlines in values,
2604 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605 eval ac_val=\$$ac_var
2606 case $ac_val in #(
2607 *${as_nl}*)
2608 case $ac_var in #(
2609 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611 esac
2612 case $ac_var in #(
2613 _ | IFS | as_nl) ;; #(
2614 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615 *) { eval $ac_var=; unset $ac_var;} ;;
2616 esac ;;
2617 esac
2618 done
2619 (set) 2>&1 |
2620 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621 *${as_nl}ac_space=\ *)
2622 sed -n \
2623 "s/'\''/'\''\\\\'\'''\''/g;
2624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625 ;; #(
2627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2629 esac |
2630 sort
2632 echo
2634 cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_vars
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2650 if test -n "$ac_subst_files"; then
2651 cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656 echo
2657 for ac_var in $ac_subst_files
2659 eval ac_val=\$$ac_var
2660 case $ac_val in
2661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662 esac
2663 $as_echo "$ac_var='\''$ac_val'\''"
2664 done | sort
2665 echo
2668 if test -s confdefs.h; then
2669 cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674 echo
2675 cat confdefs.h
2676 echo
2678 test "$ac_signal" != 0 &&
2679 $as_echo "$as_me: caught signal $ac_signal"
2680 $as_echo "$as_me: exit $exit_status"
2681 } >&5
2682 rm -f core *.core core.conftest.* &&
2683 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684 exit $exit_status
2686 for ac_signal in 1 2 13 15; do
2687 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2694 $as_echo "/* confdefs.h */" > confdefs.h
2696 # Predefined preprocessor variables.
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728 ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730 ac_site_file1=$prefix/share/config.site
2731 ac_site_file2=$prefix/etc/config.site
2732 else
2733 ac_site_file1=$ac_default_prefix/share/config.site
2734 ac_site_file2=$ac_default_prefix/etc/config.site
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2738 test "x$ac_site_file" = xNONE && continue
2739 if test -r "$ac_site_file"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742 sed 's/^/| /' "$ac_site_file" >&5
2743 . "$ac_site_file"
2745 done
2747 if test -r "$cache_file"; then
2748 # Some versions of bash will fail to source /dev/null (special
2749 # files actually), so we avoid doing that.
2750 if test -f "$cache_file"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753 case $cache_file in
2754 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755 *) . "./$cache_file";;
2756 esac
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761 >$cache_file
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769 eval ac_new_set=\$ac_env_${ac_var}_set
2770 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771 eval ac_new_val=\$ac_env_${ac_var}_value
2772 case $ac_old_set,$ac_new_set in
2773 set,)
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776 ac_cache_corrupted=: ;;
2777 ,set)
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780 ac_cache_corrupted=: ;;
2781 ,);;
2783 if test "x$ac_old_val" != "x$ac_new_val"; then
2784 # differences in whitespace do not lead to failure.
2785 ac_old_val_w=`echo x $ac_old_val`
2786 ac_new_val_w=`echo x $ac_new_val`
2787 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790 ac_cache_corrupted=:
2791 else
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794 eval $ac_var=\$ac_old_val
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2797 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2800 fi;;
2801 esac
2802 # Pass precious variables to config.status.
2803 if test "$ac_new_set" = set; then
2804 case $ac_new_val in
2805 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806 *) ac_arg=$ac_var=$ac_new_val ;;
2807 esac
2808 case " $ac_configure_args " in
2809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2810 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811 esac
2813 done
2814 if $ac_cache_corrupted; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 ac_config_headers="$ac_config_headers config.h"
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported. Only used at the end of this file.
2843 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849 enableval=$enable_multilib; case "$enableval" in
2850 yes) multilib=yes ;;
2851 no) multilib=no ;;
2852 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853 esac
2854 else
2855 multilib=yes
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2863 if test "$srcdir" = "."; then
2864 if test "$with_target_subdir" != "."; then
2865 multi_basedir="$srcdir/$with_multisrctop../.."
2866 else
2867 multi_basedir="$srcdir/$with_multisrctop.."
2869 else
2870 multi_basedir="$srcdir/.."
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877 && test "x${with_multisubdir}" != x ; then
2878 cross_compiling=maybe
2881 ac_config_commands="$ac_config_commands default-1"
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2886 # You will slowly go insane if you do not grok the following fact: when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/. configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf. Therefore, 'target' and
2890 # 'host' will always be the same. This makes sense both for native and
2891 # cross compilers, just think about it for a little while. :-)
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2896 # Do not delete or change the following two lines. For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900 for ac_t in install-sh install.sh shtool; do
2901 if test -f "$ac_dir/$ac_t"; then
2902 ac_aux_dir=$ac_dir
2903 ac_install_sh="$ac_aux_dir/$ac_t -c"
2904 break 2
2906 done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 if test "x$host_alias" = x; then
2965 ac_cv_host=$ac_cv_build
2966 else
2967 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 if test "x$target_alias" = x; then
2998 ac_cv_target=$ac_cv_host
2999 else
3000 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028 test "$program_prefix$program_suffix$program_transform_name" = \
3029 NONENONEs,x,x, &&
3030 program_prefix=${target_alias}-
3032 target_alias=${target_alias-$host_alias}
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3037 if test "$build" != "$host"; then
3038 # We are being configured with some form of cross compiler.
3039 GLIBCXX_IS_NATIVE=false
3040 case "$host","$target" in
3041 # Darwin crosses can use the host system's libraries and headers,
3042 # because of the fat library support. Of course, it must be the
3043 # same version of Darwin on both sides. Allow the user to
3044 # just say --target=foo-darwin without a version number to mean
3045 # "the version on this system".
3046 *-*-darwin*,*-*-darwin*)
3047 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049 if test $hostos = $targetos -o $targetos = darwin ; then
3050 GLIBCXX_IS_NATIVE=true
3057 esac
3058 else
3059 GLIBCXX_IS_NATIVE=true
3062 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 # 1.x: minimum required version
3065 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 # of other PACKAGE_* variables will, however, and there's nothing
3067 # we can do about that; they come from AC_INIT).
3068 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3069 # file in the top srcdir, etc, etc), so stop complaining.
3070 # no-dependencies: turns off auto dependency generation (just for now)
3071 # no-dist: we don't want 'dist' and related rules.
3072 # -Wall: turns on all automake warnings...
3073 # -Wno-portability: ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3076 # Find a good install program. We prefer a C program (faster),
3077 # so one script is as good as another. But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103 ./ | .// | /[cC]/* | \
3104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106 /usr/ucb/* ) ;;
3108 # OSF1 and SCO ODT 3.0 have their own names for install.
3109 # Don't use installbsd from OSF since it installs stuff as root
3110 # by default.
3111 for ac_prog in ginstall scoinst install; do
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114 if test $ac_prog = install &&
3115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116 # AIX install. It has an incompatible calling convention.
3118 elif test $ac_prog = install &&
3119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120 # program-specific install script used by HP pwplus--don't use.
3122 else
3123 rm -rf conftest.one conftest.two conftest.dir
3124 echo one > conftest.one
3125 echo two > conftest.two
3126 mkdir conftest.dir
3127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128 test -s conftest.one && test -s conftest.two &&
3129 test -s conftest.dir/conftest.one &&
3130 test -s conftest.dir/conftest.two
3131 then
3132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133 break 3
3137 done
3138 done
3140 esac
3142 done
3143 IFS=$as_save_IFS
3145 rm -rf conftest.one conftest.two conftest.dir
3148 if test "${ac_cv_path_install+set}" = set; then
3149 INSTALL=$ac_cv_path_install
3150 else
3151 # As a last resort, use the slow shell script. Don't cache a
3152 # value for INSTALL within a source directory, because that will
3153 # break other packages using the cache if that directory is
3154 # removed, or if the value is a relative name.
3155 INSTALL=$ac_install_sh
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name. Accept space and tab only in the latter.
3176 am_lf='
3178 case `pwd` in
3179 *[\\\"\#\$\&\'\`$am_lf]*)
3180 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3184 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments. Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194 if test "$*" = "X"; then
3195 # -L didn't work.
3196 set X `ls -t "$srcdir/configure" conftest.file`
3198 rm -f conftest.file
3199 if test "$*" != "X $srcdir/configure conftest.file" \
3200 && test "$*" != "X conftest.file $srcdir/configure"; then
3202 # If neither matched, then we have a broken ls. This can happen
3203 # if, for instance, CONFIG_SHELL is bash and it inherits a
3204 # broken ls alias from the environment. This has actually
3205 # happened. Such a system could not be considered "sane".
3206 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3210 test "$2" = conftest.file
3212 then
3213 # Ok.
3215 else
3216 as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3234 if test x"${MISSING+set}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3239 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240 esac
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244 am_missing_run="$MISSING --run "
3245 else
3246 am_missing_run=
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3251 if test x"${install_sh}" != xset; then
3252 case $am_aux_dir in
3253 *\ * | *\ *)
3254 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3256 install_sh="\${SHELL} $am_aux_dir/install-sh"
3257 esac
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'. However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$STRIP"; then
3274 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3287 done
3288 done
3289 IFS=$as_save_IFS
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3304 if test -z "$ac_cv_prog_STRIP"; then
3305 ac_ct_STRIP=$STRIP
3306 # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_STRIP"; then
3314 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_ac_ct_STRIP="strip"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3327 done
3328 done
3329 IFS=$as_save_IFS
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3342 if test "x$ac_ct_STRIP" = x; then
3343 STRIP=":"
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 STRIP=$ac_ct_STRIP
3353 else
3354 STRIP="$ac_cv_prog_STRIP"
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363 if test "${ac_cv_path_mkdir+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_prog in mkdir gmkdir; do
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375 'mkdir (GNU coreutils) '* | \
3376 'mkdir (coreutils) '* | \
3377 'mkdir (fileutils) '4.1*)
3378 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379 break 3;;
3380 esac
3381 done
3382 done
3383 done
3384 IFS=$as_save_IFS
3388 if test "${ac_cv_path_mkdir+set}" = set; then
3389 MKDIR_P="$ac_cv_path_mkdir -p"
3390 else
3391 # As a last resort, use the slow shell script. Don't cache a
3392 # value for MKDIR_P within a source directory, because that will
3393 # break other packages using the cache if that directory is
3394 # removed, or if the value is a relative name.
3395 test -d ./--version && rmdir ./--version
3396 MKDIR_P="$ac_install_sh -d"
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404 [\\/$]* | ?:[\\/]*) ;;
3405 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3408 for ac_prog in gawk mawk nawk awk
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 if test -n "$AWK"; then
3418 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_AWK="$ac_prog"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3431 done
3432 done
3433 IFS=$as_save_IFS
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3447 test -n "$AWK" && break
3448 done
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3457 cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460 @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464 *@@@%%%=?*=@@@%%%*)
3465 eval ac_cv_prog_make_${ac_make}_set=yes;;
3467 eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474 SET_MAKE=
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 SET_MAKE="MAKE=${MAKE-make}"
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484 am__leading_dot=.
3485 else
3486 am__leading_dot=_
3488 rmdir .tst 2>/dev/null
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492 # is not polluted with repeated "-I."
3493 am__isrc=' -I$(srcdir)'
3494 # test to see if srcdir already configured
3495 if test -f $srcdir/config.status; then
3496 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502 if (cygpath --version) >/dev/null 2>/dev/null; then
3503 CYGPATH_W='cygpath -w'
3504 else
3505 CYGPATH_W=echo
3510 # Define the identity of the package.
3511 PACKAGE='libstdc++'
3512 VERSION='version-unused'
3515 # Some tools Automake needs.
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3531 # We need awk for the "check" target. The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3595 if test -z "$ac_cv_prog_CC"; then
3596 ac_ct_CC=$CC
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CC="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3644 else
3645 CC="$ac_cv_prog_CC"
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_CC="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3671 done
3672 done
3673 IFS=$as_save_IFS
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected=yes
3710 continue
3712 ac_cv_prog_CC="cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3716 done
3717 done
3718 IFS=$as_save_IFS
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy $ac_cv_prog_CC
3723 shift
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3728 shift
3729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog in cl.exe
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3770 done
3771 done
3772 IFS=$as_save_IFS
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$CC" && break
3787 done
3789 if test -z "$CC"; then
3790 ac_ct_CC=$CC
3791 for ac_prog in cl.exe
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_ac_ct_CC="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3814 done
3815 done
3816 IFS=$as_save_IFS
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$ac_ct_CC" && break
3831 done
3833 if test "x$ac_ct_CC" = x; then
3834 CC=""
3835 else
3836 case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842 CC=$ac_ct_CC
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859 { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 ac_status=$?
3868 if test -s conftest.err; then
3869 sed '10a\
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 done
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3883 main ()
3887 return 0;
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892 (eval $ac_link) 2>&5
3893 ac_status=$?
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; then :
3896 gcc_no_link=no
3897 else
3898 gcc_no_link=yes
3900 if test x$gcc_no_link = xyes; then
3901 # Setting cross_compile will disable run tests; it will
3902 # also disable AC_CHECK_FILE but that's generally
3903 # correct if we can't link.
3904 cross_compiling=yes
3905 EXEEXT=
3906 else
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3911 main ()
3915 return 0;
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3933 case $ac_file in
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936 esac
3937 done
3938 rm -f $ac_rmfiles
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link_default") 2>&5
3948 ac_status=$?
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3958 test -f "$ac_file" || continue
3959 case $ac_file in
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3962 [ab].out )
3963 # We found the default executable, but exeext='' is most
3964 # certainly right.
3965 break;;
3966 *.* )
3967 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968 then :; else
3969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3971 # We set ac_cv_exeext here because the later test for it is not
3972 # safe: cross compilers may not add the suffix if given an `-o'
3973 # argument, so we may need to know it at that point already.
3974 # Even if this section looks crufty: it has the advantage of
3975 # actually working.
3976 break;;
3978 break;;
3979 esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3983 else
3984 ac_file=''
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989 $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3998 ac_exeext=$ac_cv_exeext
4000 # Check that the compiler produces executables we can run. If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006 if { ac_try='./$ac_file'
4007 { { case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_try") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; }; then
4017 cross_compiling=no
4018 else
4019 if test "$cross_compiling" = maybe; then
4020 cross_compiling=yes
4021 else
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060 test -f "$ac_file" || continue
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 break;;
4065 * ) break;;
4066 esac
4067 done
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 main ()
4095 return 0;
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4142 main ()
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4149 return 0;
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4183 main ()
4187 return 0;
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4214 main ()
4218 return 0;
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265 char **p;
4266 int i;
4268 return p[i];
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4272 char *s;
4273 va_list v;
4274 va_start (v,p);
4275 s = g (p, va_arg (v,int));
4276 va_end (v);
4277 return s;
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4301 main ()
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4305 return 0;
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327 xno)
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4352 CXX=$CCC
4353 else
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4378 done
4379 done
4380 IFS=$as_save_IFS
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4394 test -n "$CXX" && break
4395 done
4397 if test -z "$CXX"; then
4398 ac_ct_CXX=$CXX
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4422 done
4423 done
4424 IFS=$as_save_IFS
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$ac_ct_CXX" && break
4439 done
4441 if test "x$ac_ct_CXX" = x; then
4442 CXX="g++"
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CXX=$ac_ct_CXX
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 sed '10a\
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err >conftest.er1
4474 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 done
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4492 #ifndef __GNUC__
4493 choke me
4494 #endif
4497 return 0;
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_compiler_gnu=yes
4502 else
4503 ac_compiler_gnu=no
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512 GXX=yes
4513 else
4514 GXX=
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag=yes
4525 ac_cv_prog_cxx_g=no
4526 CXXFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_cv_prog_cxx_g=yes
4540 else
4541 CXXFLAGS=""
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4546 main ()
4550 return 0;
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4555 else
4556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-g -O2"
4586 else
4587 CXXFLAGS="-g"
4589 else
4590 if test "$GXX" = yes; then
4591 CXXFLAGS="-O2"
4592 else
4593 CXXFLAGS=
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 CXXFLAGS="$save_CXXFLAGS"
4604 # Runs configure.host, and assorted other critical bits. Sets
4605 # up critical shell variables.
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616 CPP=
4618 if test -z "$CPP"; then
4619 if test "${ac_cv_prog_CPP+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 # Double quotes because CPP needs to be expanded
4623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4625 ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4628 # Use a header file that comes with gcc, so configuring glibc
4629 # with a fresh cross-compiler works.
4630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 # <limits.h> exists even on freestanding compilers.
4632 # On the NeXT, cc -E runs the code through the compiler's parser,
4633 # not just through cpp. "Syntax error" is here to catch this case.
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641 Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4645 else
4646 # Broken: fails on valid input.
4647 continue
4649 rm -f conftest.err conftest.$ac_ext
4651 # OK, works on sane cases. Now check whether nonexistent headers
4652 # can be detected and how.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658 # Broken: success on invalid input.
4659 continue
4660 else
4661 # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4665 rm -f conftest.err conftest.$ac_ext
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671 break
4674 done
4675 ac_cv_prog_CPP=$CPP
4678 CPP=$ac_cv_prog_CPP
4679 else
4680 ac_cv_prog_CPP=$CPP
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4687 # Use a header file that comes with gcc, so configuring glibc
4688 # with a fresh cross-compiler works.
4689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690 # <limits.h> exists even on freestanding compilers.
4691 # On the NeXT, cc -E runs the code through the compiler's parser,
4692 # not just through cpp. "Syntax error" is here to catch this case.
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700 Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4704 else
4705 # Broken: fails on valid input.
4706 continue
4708 rm -f conftest.err conftest.$ac_ext
4710 # OK, works on sane cases. Now check whether nonexistent headers
4711 # can be detected and how.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717 # Broken: success on invalid input.
4718 continue
4719 else
4720 # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4724 rm -f conftest.err conftest.$ac_ext
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4731 else
4732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in grep ggrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP="$ac_path_GREP"
4782 ac_path_GREP_max=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4790 $ac_path_GREP_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4798 else
4799 ac_cv_path_GREP=$GREP
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814 then ac_cv_path_EGREP="$GREP -E"
4815 else
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_prog in egrep; do
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4834 ac_count=0
4835 $as_echo_n 0123456789 >"conftest.in"
4836 while :
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844 as_fn_arith $ac_count + 1 && ac_count=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP="$ac_path_EGREP"
4848 ac_path_EGREP_max=$ac_count
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4852 done
4853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4856 $ac_path_EGREP_found && break 3
4857 done
4858 done
4859 done
4860 IFS=$as_save_IFS
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4864 else
4865 ac_cv_path_EGREP=$EGREP
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4876 # Keep these sync'd with the list in Makefile.am. The first provides an
4877 # expandable list at autoconf time; the second provides an expandable list
4878 # (i.e., shell variable) at configure time.
4880 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4882 # These need to be absolute paths, yet at the same time need to
4883 # canonicalize only relative paths, because then amd will not unmount
4884 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885 glibcxx_builddir=`${PWDCMD-pwd}`
4886 case $srcdir in
4887 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889 esac
4890 toplevel_builddir=${glibcxx_builddir}/..
4891 toplevel_srcdir=${glibcxx_srcdir}/..
4897 # We use these options to decide which functions to include. They are
4898 # set from the top level.
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902 withval=$with_target_subdir;
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909 withval=$with_cross_host;
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916 withval=$with_newlib;
4920 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921 # available). Uncomment the next line to force a particular method.
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4933 #LN_S='cp -p'
4935 if test -n "$ac_tool_prefix"; then
4936 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$AS"; then
4944 ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_AS="${ac_tool_prefix}as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4957 done
4958 done
4959 IFS=$as_save_IFS
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4974 if test -z "$ac_cv_prog_AS"; then
4975 ac_ct_AS=$AS
4976 # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AS"; then
4984 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_ac_ct_AS="as"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5012 if test "x$ac_ct_AS" = x; then
5013 AS=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 AS=$ac_ct_AS
5023 else
5024 AS="$ac_cv_prog_AS"
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$AR"; then
5036 ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_AR="${ac_tool_prefix}ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5066 if test -z "$ac_cv_prog_AR"; then
5067 ac_ct_AR=$AR
5068 # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_AR"; then
5076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_ac_ct_AR="ar"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5104 if test "x$ac_ct_AR" = x; then
5105 AR=""
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 AR=$ac_ct_AR
5115 else
5116 AR="$ac_cv_prog_AR"
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159 ac_ct_RANLIB=$RANLIB
5160 # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$ac_ct_RANLIB"; then
5168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_RANLIB="ranlib"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5181 done
5182 done
5183 IFS=$as_save_IFS
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5196 if test "x$ac_ct_RANLIB" = x; then
5197 RANLIB="ranlib-not-found-in-path-error"
5198 else
5199 case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205 RANLIB=$ac_ct_RANLIB
5207 else
5208 RANLIB="$ac_cv_prog_RANLIB"
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215 # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219 USE_MAINTAINER_MODE=no
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224 if test $USE_MAINTAINER_MODE = yes; then
5225 MAINTAINER_MODE_TRUE=
5226 MAINTAINER_MODE_FALSE='#'
5227 else
5228 MAINTAINER_MODE_TRUE='#'
5229 MAINTAINER_MODE_FALSE=
5232 MAINT=$MAINTAINER_MODE_TRUE
5236 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237 # which are themselves conditionally expanded.
5238 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239 ## other macros from doing the same. This should be automated.) -pme
5241 # Check for C library flavor since GNU/Linux platforms use different
5242 # configuration directories depending on the C library in use.
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5246 #include <stdio.h>
5247 #if __UCLIBC__
5248 _using_uclibc
5249 #endif
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254 uclibc=yes
5255 else
5256 uclibc=no
5258 rm -f conftest*
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5264 #include <stdio.h>
5265 #if __BIONIC__
5266 _using_bionic
5267 #endif
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272 bionic=yes
5273 else
5274 bionic=no
5276 rm -f conftest*
5279 # Find platform-specific directories containing configuration info.
5280 # Also possibly modify flags used elsewhere, as needed by the platform.
5282 . $glibcxx_srcdir/configure.host
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292 enable_dlopen=yes
5297 case `pwd` in
5298 *\ * | *\ *)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5320 ltmain="$ac_aux_dir/ltmain.sh"
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348 ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350 ECHO='printf %s\n'
5351 else
5352 # Use this function as a fallback that always works.
5353 func_fallback_echo ()
5355 eval 'cat <<_LTECHO_EOF
5357 _LTECHO_EOF'
5359 ECHO='func_fallback_echo'
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5366 $ECHO ""
5369 case "$ECHO" in
5370 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397 for ac_i in 1 2 3 4 5 6 7; do
5398 ac_script="$ac_script$as_nl$ac_script"
5399 done
5400 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401 { ac_script=; unset ac_script;}
5402 if test -z "$SED"; then
5403 ac_path_SED_found=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_prog in sed gsed; do
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415 # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5420 ac_count=0
5421 $as_echo_n 0123456789 >"conftest.in"
5422 while :
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo '' >> "conftest.nl"
5428 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430 as_fn_arith $ac_count + 1 && ac_count=$as_val
5431 if test $ac_count -gt ${ac_path_SED_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_SED="$ac_path_SED"
5434 ac_path_SED_max=$ac_count
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5438 done
5439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5442 $ac_path_SED_found && break 3
5443 done
5444 done
5445 done
5446 IFS=$as_save_IFS
5447 if test -z "$ac_cv_path_SED"; then
5448 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5450 else
5451 ac_cv_path_SED=$SED
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457 SED="$ac_cv_path_SED"
5458 rm -f conftest.sed
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5480 else
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_prog in fgrep; do
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494 # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5499 ac_count=0
5500 $as_echo_n 0123456789 >"conftest.in"
5501 while :
5503 cat "conftest.in" "conftest.in" >"conftest.tmp"
5504 mv "conftest.tmp" "conftest.in"
5505 cp "conftest.in" "conftest.nl"
5506 $as_echo 'FGREP' >> "conftest.nl"
5507 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509 as_fn_arith $ac_count + 1 && ac_count=$as_val
5510 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511 # Best one so far, save it but keep looking for a better one
5512 ac_cv_path_FGREP="$ac_path_FGREP"
5513 ac_path_FGREP_max=$ac_count
5515 # 10*(2^10) chars as input seems more than enough
5516 test $ac_count -gt 10 && break
5517 done
5518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5521 $ac_path_FGREP_found && break 3
5522 done
5523 done
5524 done
5525 IFS=$as_save_IFS
5526 if test -z "$ac_cv_path_FGREP"; then
5527 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5529 else
5530 ac_cv_path_FGREP=$FGREP
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5540 test -z "$GREP" && GREP=grep
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564 with_gnu_ld=no
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569 # Check if gcc -print-prog-name=ld gives a path.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572 case $host in
5573 *-*-mingw*)
5574 # gcc leaves a trailing carriage return which upsets mingw
5575 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5577 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578 esac
5579 case $ac_prog in
5580 # Accept absolute paths.
5581 [\\/]* | ?:[\\/]*)
5582 re_direlt='/[^/][^/]*/\.\./'
5583 # Canonicalize the pathname of ld
5584 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587 done
5588 test -z "$LD" && LD="$ac_prog"
5591 # If it fails, then pretend we aren't using GCC.
5592 ac_prog=ld
5595 # If it is relative, then search for the first ld in PATH.
5596 with_gnu_ld=unknown
5598 esac
5599 elif test "$with_gnu_ld" = yes; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -z "$LD"; then
5610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611 for ac_dir in $PATH; do
5612 IFS="$lt_save_ifs"
5613 test -z "$ac_dir" && ac_dir=.
5614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615 lt_cv_path_LD="$ac_dir/$ac_prog"
5616 # Check to see if the program is GNU ld. I'd rather use --version,
5617 # but apparently some variants of GNU ld only accept -v.
5618 # Break only if it was the GNU/non-GNU ld that we prefer.
5619 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620 *GNU* | *'with BFD'*)
5621 test "$with_gnu_ld" != no && break
5624 test "$with_gnu_ld" != yes && break
5626 esac
5628 done
5629 IFS="$lt_save_ifs"
5630 else
5631 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652 lt_cv_prog_gnu_ld=yes
5655 lt_cv_prog_gnu_ld=no
5657 esac
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$NM"; then
5677 # Let the user override the test.
5678 lt_cv_path_NM="$NM"
5679 else
5680 lt_nm_to_check="${ac_tool_prefix}nm"
5681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682 lt_nm_to_check="$lt_nm_to_check nm"
5684 for lt_tmp_nm in $lt_nm_to_check; do
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 tmp_nm="$ac_dir/$lt_tmp_nm"
5690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691 # Check to see if the nm accepts a BSD-compat flag.
5692 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693 # nm: unknown option "B" ignored
5694 # Tru64's nm complains that /dev/null is an invalid object file
5695 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696 */dev/null* | *'Invalid file or object type'*)
5697 lt_cv_path_NM="$tmp_nm -B"
5698 break
5701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702 */dev/null*)
5703 lt_cv_path_NM="$tmp_nm -p"
5704 break
5707 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708 continue # so that we can try to find one that supports BSD flags
5710 esac
5712 esac
5714 done
5715 IFS="$lt_save_ifs"
5716 done
5717 : ${lt_cv_path_NM=no}
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723 NM="$lt_cv_path_NM"
5724 else
5725 # Didn't find any BSD compatible name lister, look for dumpbin.
5726 if test -n "$DUMPBIN"; then :
5727 # Let the user override the test.
5728 else
5729 if test -n "$ac_tool_prefix"; then
5730 for ac_prog in dumpbin "link -dump"
5732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$DUMPBIN"; then
5740 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5753 done
5754 done
5755 IFS=$as_save_IFS
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5769 test -n "$DUMPBIN" && break
5770 done
5772 if test -z "$DUMPBIN"; then
5773 ac_ct_DUMPBIN=$DUMPBIN
5774 for ac_prog in dumpbin "link -dump"
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$ac_ct_DUMPBIN"; then
5784 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$ac_ct_DUMPBIN" && break
5814 done
5816 if test "x$ac_ct_DUMPBIN" = x; then
5817 DUMPBIN=":"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 DUMPBIN=$ac_ct_DUMPBIN
5829 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830 *COFF*)
5831 DUMPBIN="$DUMPBIN -symbols"
5834 DUMPBIN=:
5836 esac
5839 if test "$DUMPBIN" != ":"; then
5840 NM="$DUMPBIN"
5843 test -z "$NM" && NM=nm
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 lt_cv_nm_interface="BSD nm"
5856 echo "int some_variable = 0;" > conftest.$ac_ext
5857 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858 (eval "$ac_compile" 2>conftest.err)
5859 cat conftest.err >&5
5860 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862 cat conftest.err >&5
5863 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864 cat conftest.out >&5
5865 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866 lt_cv_nm_interface="MS dumpbin"
5868 rm -f conftest*
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5880 teststring="ABCD"
5882 case $build_os in
5883 msdosdjgpp*)
5884 # On DJGPP, this test can blow up pretty badly due to problems in libc
5885 # (any single argument exceeding 2000 bytes causes a buffer overrun
5886 # during glob expansion). Even if it were fixed, the result of this
5887 # check would be larger than it should be.
5888 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5891 gnu*)
5892 # Under GNU Hurd, this test is not required because there is
5893 # no limit to the length of command line arguments.
5894 # Libtool will interpret -1 as no limit whatsoever
5895 lt_cv_sys_max_cmd_len=-1;
5898 cygwin* | mingw* | cegcc*)
5899 # On Win9x/ME, this test blows up -- it succeeds, but takes
5900 # about 5 minutes as the teststring grows exponentially.
5901 # Worse, since 9x/ME are not pre-emptively multitasking,
5902 # you end up with a "frozen" computer, even though with patience
5903 # the test eventually succeeds (with a max line length of 256k).
5904 # Instead, let's just punt: use the minimum linelength reported by
5905 # all of the supported platforms: 8192 (on NT/2K/XP).
5906 lt_cv_sys_max_cmd_len=8192;
5909 mint*)
5910 # On MiNT this can take a long time and run out of memory.
5911 lt_cv_sys_max_cmd_len=8192;
5914 amigaos*)
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926 else
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5934 interix*)
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5939 osf*)
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949 esac
5952 sco3.2v5*)
5953 lt_cv_sys_max_cmd_len=102400
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5959 else
5960 lt_cv_sys_max_cmd_len=32768
5964 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965 if test -n "$lt_cv_sys_max_cmd_len"; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968 else
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5973 done
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5977 # we can't tell.
5978 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5982 i=`expr $i + 1`
5983 teststring=$teststring$teststring
5984 done
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987 teststring=
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5994 esac
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, \
6023 && eval 'test $(( 1 + 1 )) -eq 2 \
6024 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025 && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034 >/dev/null 2>&1 \
6035 && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041 lt_unset=unset
6042 else
6043 lt_unset=false
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052 A) # ASCII based system
6053 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054 lt_SP2NL='tr \040 \012'
6055 lt_NL2SP='tr \015\012 \040\040'
6057 *) # EBCDIC based system
6058 lt_SP2NL='tr \100 \n'
6059 lt_NL2SP='tr \r\n \100\100'
6061 esac
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 lt_cv_ld_reload_flag='-r'
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087 darwin*)
6088 if test "$GCC" = yes; then
6089 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090 else
6091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6094 esac
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$OBJDUMP"; then
6113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144 ac_ct_OBJDUMP=$OBJDUMP
6145 # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$ac_ct_OBJDUMP"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6181 if test "x$ac_ct_OBJDUMP" = x; then
6182 OBJDUMP="false"
6183 else
6184 case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190 OBJDUMP=$ac_ct_OBJDUMP
6192 else
6193 OBJDUMP="$ac_cv_prog_OBJDUMP"
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6225 case $host_os in
6226 aix[4-9]*)
6227 lt_cv_deplibs_check_method=pass_all
6230 beos*)
6231 lt_cv_deplibs_check_method=pass_all
6234 bsdi[45]*)
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236 lt_cv_file_magic_cmd='/usr/bin/file -L'
6237 lt_cv_file_magic_test_file=/shlib/libc.so
6240 cygwin*)
6241 # func_win32_libid is a shell function defined in ltmain.sh
6242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243 lt_cv_file_magic_cmd='func_win32_libid'
6246 mingw* | pw32*)
6247 # Base MSYS/MinGW do not provide the 'file' command needed by
6248 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249 # unless we find 'file', for example because we are cross-compiling.
6250 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253 lt_cv_file_magic_cmd='func_win32_libid'
6254 else
6255 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256 lt_cv_file_magic_cmd='$OBJDUMP -f'
6260 cegcc*)
6261 # use the weaker test based on 'objdump'. See mingw*.
6262 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6266 darwin* | rhapsody*)
6267 lt_cv_deplibs_check_method=pass_all
6270 freebsd* | dragonfly*)
6271 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 case $host_cpu in
6273 i*86 )
6274 # Not sure whether the presence of OpenBSD here was a mistake.
6275 # Let's accept both of them until this is cleared up.
6276 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6280 esac
6281 else
6282 lt_cv_deplibs_check_method=pass_all
6286 gnu*)
6287 lt_cv_deplibs_check_method=pass_all
6290 haiku*)
6291 lt_cv_deplibs_check_method=pass_all
6294 hpux10.20* | hpux11*)
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 case $host_cpu in
6297 ia64*)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6301 hppa*64*)
6302 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]'
6303 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6309 esac
6312 interix[3-9]*)
6313 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6317 irix5* | irix6* | nonstopux*)
6318 case $LD in
6319 *-32|*"-32 ") libmagic=32-bit;;
6320 *-n32|*"-n32 ") libmagic=N32;;
6321 *-64|*"-64 ") libmagic=64-bit;;
6322 *) libmagic=never-match;;
6323 esac
6324 lt_cv_deplibs_check_method=pass_all
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329 lt_cv_deplibs_check_method=pass_all
6332 netbsd*)
6333 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 else
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6340 newos6*)
6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342 lt_cv_file_magic_cmd=/usr/bin/file
6343 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6346 *nto* | *qnx*)
6347 lt_cv_deplibs_check_method=pass_all
6350 openbsd*)
6351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6358 osf3* | osf4* | osf5*)
6359 lt_cv_deplibs_check_method=pass_all
6362 rdos*)
6363 lt_cv_deplibs_check_method=pass_all
6366 solaris*)
6367 lt_cv_deplibs_check_method=pass_all
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371 lt_cv_deplibs_check_method=pass_all
6374 sysv4 | sysv4.3*)
6375 case $host_vendor in
6376 motorola)
6377 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]'
6378 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6380 ncr)
6381 lt_cv_deplibs_check_method=pass_all
6383 sequent)
6384 lt_cv_file_magic_cmd='/bin/file'
6385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6387 sni)
6388 lt_cv_file_magic_cmd='/bin/file'
6389 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390 lt_cv_file_magic_test_file=/lib/libc.so
6392 siemens)
6393 lt_cv_deplibs_check_method=pass_all
6396 lt_cv_deplibs_check_method=pass_all
6398 esac
6401 tpf*)
6402 lt_cv_deplibs_check_method=pass_all
6404 esac
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$AR"; then
6433 ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_AR="${ac_tool_prefix}ar"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6463 if test -z "$ac_cv_prog_AR"; then
6464 ac_ct_AR=$AR
6465 # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$ac_ct_AR"; then
6473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_AR="ar"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6486 done
6487 done
6488 IFS=$as_save_IFS
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6501 if test "x$ac_ct_AR" = x; then
6502 AR="false"
6503 else
6504 case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510 AR=$ac_ct_AR
6512 else
6513 AR="$ac_cv_prog_AR"
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$STRIP"; then
6538 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6551 done
6552 done
6553 IFS=$as_save_IFS
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6568 if test -z "$ac_cv_prog_STRIP"; then
6569 ac_ct_STRIP=$STRIP
6570 # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$ac_ct_STRIP"; then
6578 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_STRIP="strip"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6591 done
6592 done
6593 IFS=$as_save_IFS
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6606 if test "x$ac_ct_STRIP" = x; then
6607 STRIP=":"
6608 else
6609 case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615 STRIP=$ac_ct_STRIP
6617 else
6618 STRIP="$ac_cv_prog_STRIP"
6621 test -z "$STRIP" && STRIP=:
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$RANLIB"; then
6637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6650 done
6651 done
6652 IFS=$as_save_IFS
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668 ac_ct_RANLIB=$RANLIB
6669 # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$ac_ct_RANLIB"; then
6677 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_RANLIB="ranlib"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6690 done
6691 done
6692 IFS=$as_save_IFS
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6705 if test "x$ac_ct_RANLIB" = x; then
6706 RANLIB=":"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 RANLIB=$ac_ct_RANLIB
6716 else
6717 RANLIB="$ac_cv_prog_RANLIB"
6720 test -z "$RANLIB" && RANLIB=:
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6732 if test -n "$RANLIB"; then
6733 case $host_os in
6734 openbsd*)
6735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6738 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6740 esac
6741 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6744 case $host_os in
6745 darwin*)
6746 lock_old_archive_extraction=yes ;;
6748 lock_old_archive_extraction=no ;;
6749 esac
6789 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818 symcode='[BCDT]'
6820 cygwin* | mingw* | pw32* | cegcc*)
6821 symcode='[ABCDGISTW]'
6823 hpux*)
6824 if test "$host_cpu" = ia64; then
6825 symcode='[ABCDEGRST]'
6828 irix* | nonstopux*)
6829 symcode='[BCDEGRST]'
6831 osf*)
6832 symcode='[BCDEGQRST]'
6834 solaris*)
6835 symcode='[BDRT]'
6837 sco3.2v5*)
6838 symcode='[DT]'
6840 sysv4.2uw2*)
6841 symcode='[DT]'
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844 symcode='[ABDT]'
6846 sysv4)
6847 symcode='[DFNSTU]'
6849 esac
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854 symcode='[ABCDGIRSTW]' ;;
6855 esac
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6864 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'"
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6872 esac
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6877 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878 symxfrm="\\1 $ac_symprfx\\2 \\2"
6880 # Write the raw and C identifiers.
6881 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882 # Fake it for dumpbin and say T for any non-static function
6883 # and D for any global variable.
6884 # Also find C++ and __fastcall symbols from MSVC++,
6885 # which start with @ or ?.
6886 lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 " {last_section=section; section=\$ 3};"\
6888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 " \$ 0!~/External *\|/{next};"\
6890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 " {if(hide[section]) next};"\
6892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 " ' prfx=^$ac_symprfx"
6897 else
6898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6901 # Check to see that the pipe works correctly.
6902 pipe_works=no
6904 rm -f conftest*
6905 cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6920 ac_status=$?
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 # Now try to grab the symbols.
6924 nlist=conftest.nm
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; } && test -s "$nlist"; then
6930 # Try sorting and uniquifying the output.
6931 if sort "$nlist" | uniq > "$nlist"T; then
6932 mv -f "$nlist"T "$nlist"
6933 else
6934 rm -f "$nlist"T
6937 # Make sure that we snagged all the symbols we need.
6938 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940 cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6945 _LT_EOF
6946 # Now generate the symbol file.
6947 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6949 cat <<_LT_EOF >> conftest.$ac_ext
6951 /* The mapping between symbol names and symbols. */
6952 const struct {
6953 const char *name;
6954 void *address;
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6958 { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961 cat <<\_LT_EOF >> conftest.$ac_ext
6962 {0, (void *) 0}
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968 return lt__PROGRAM__LTX_preloaded_symbols;
6970 #endif
6972 #ifdef __cplusplus
6974 #endif
6975 _LT_EOF
6976 # Now try linking the two files.
6977 mv conftest.$ac_objext conftstm.$ac_objext
6978 lt_save_LIBS="$LIBS"
6979 lt_save_CFLAGS="$CFLAGS"
6980 LIBS="conftstm.$ac_objext"
6981 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983 (eval $ac_link) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987 pipe_works=yes
6989 LIBS="$lt_save_LIBS"
6990 CFLAGS="$lt_save_CFLAGS"
6991 else
6992 echo "cannot find nm_test_func in $nlist" >&5
6994 else
6995 echo "cannot find nm_test_var in $nlist" >&5
6997 else
6998 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7000 else
7001 echo "$progname: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7004 rm -rf conftest* conftst*
7006 # Do not use the global_symbol_pipe unless it works.
7007 if test "$pipe_works" = yes; then
7008 break
7009 else
7010 lt_cv_sys_global_symbol_pipe=
7012 done
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017 lt_cv_sys_global_symbol_to_cdecl=
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050 enableval=$enable_libtool_lock;
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059 # Find out which ABI we are using.
7060 echo 'int i;' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *ELF-32*)
7068 HPUX_IA64_MODE="32"
7070 *ELF-64*)
7071 HPUX_IA64_MODE="64"
7073 esac
7075 rm -rf conftest*
7077 *-*-irix6*)
7078 # Find out which ABI we are using.
7079 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081 (eval $ac_compile) 2>&5
7082 ac_status=$?
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084 test $ac_status = 0; }; then
7085 if test "$lt_cv_prog_gnu_ld" = yes; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *32-bit*)
7088 LD="${LD-ld} -melf32bsmip"
7090 *N32*)
7091 LD="${LD-ld} -melf32bmipn32"
7093 *64-bit*)
7094 LD="${LD-ld} -melf64bmip"
7096 esac
7097 else
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -32"
7102 *N32*)
7103 LD="${LD-ld} -n32"
7105 *64-bit*)
7106 LD="${LD-ld} -64"
7108 esac
7111 rm -rf conftest*
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116 # Find out which ABI we are using.
7117 echo 'int i;' > conftest.$ac_ext
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119 (eval $ac_compile) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; }; then
7123 case `/usr/bin/file conftest.o` in
7124 *32-bit*)
7125 case $host in
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_i386_fbsd"
7129 x86_64-*linux*)
7130 case `/usr/bin/file conftest.o` in
7131 *x86-64*)
7132 LD="${LD-ld} -m elf32_x86_64"
7135 LD="${LD-ld} -m elf_i386"
7137 esac
7139 ppc64-*linux*|powerpc64-*linux*)
7140 LD="${LD-ld} -m elf32ppclinux"
7142 s390x-*linux*)
7143 LD="${LD-ld} -m elf_s390"
7145 sparc64-*linux*)
7146 LD="${LD-ld} -m elf32_sparc"
7148 esac
7150 *64-bit*)
7151 case $host in
7152 x86_64-*kfreebsd*-gnu)
7153 LD="${LD-ld} -m elf_x86_64_fbsd"
7155 x86_64-*linux*)
7156 LD="${LD-ld} -m elf_x86_64"
7158 ppc*-*linux*|powerpc*-*linux*)
7159 LD="${LD-ld} -m elf64ppc"
7161 s390*-*linux*|s390*-*tpf*)
7162 LD="${LD-ld} -m elf64_s390"
7164 sparc*-*linux*)
7165 LD="${LD-ld} -m elf64_sparc"
7167 esac
7169 esac
7171 rm -rf conftest*
7174 *-*-sco3.2v5*)
7175 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176 SAVE_CFLAGS="$CFLAGS"
7177 CFLAGS="$CFLAGS -belf"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7182 else
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7189 if test x$gcc_no_link = xyes; then
7190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7196 main ()
7200 return 0;
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204 lt_cv_cc_needs_belf=yes
7205 else
7206 lt_cv_cc_needs_belf=no
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221 CFLAGS="$SAVE_CFLAGS"
7224 sparc*-*solaris*)
7225 # Find out which ABI we are using.
7226 echo 'int i;' > conftest.$ac_ext
7227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228 (eval $ac_compile) 2>&5
7229 ac_status=$?
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231 test $ac_status = 0; }; then
7232 case `/usr/bin/file conftest.o` in
7233 *64-bit*)
7234 case $lt_cv_prog_gnu_ld in
7235 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7237 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238 LD="${LD-ld} -64"
7241 esac
7243 esac
7245 rm -rf conftest*
7247 esac
7249 need_locks="$enable_libtool_lock"
7252 case $host_os in
7253 rhapsody* | darwin*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7276 done
7277 done
7278 IFS=$as_save_IFS
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7316 done
7317 done
7318 IFS=$as_save_IFS
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7331 if test "x$ac_ct_DSYMUTIL" = x; then
7332 DSYMUTIL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 DSYMUTIL=$ac_ct_DSYMUTIL
7342 else
7343 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_NMEDIT" = x; then
7424 NMEDIT=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 NMEDIT=$ac_ct_NMEDIT
7434 else
7435 NMEDIT="$ac_cv_prog_NMEDIT"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_LIPO"; then
7478 ac_ct_LIPO=$LIPO
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_LIPO="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_LIPO" = x; then
7516 LIPO=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 LIPO=$ac_ct_LIPO
7526 else
7527 LIPO="$ac_cv_prog_LIPO"
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7552 done
7553 done
7554 IFS=$as_save_IFS
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570 ac_ct_OTOOL=$OTOOL
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_OTOOL="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_OTOOL" = x; then
7608 OTOOL=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 OTOOL=$ac_ct_OTOOL
7618 else
7619 OTOOL="$ac_cv_prog_OTOOL"
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL64="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7684 done
7685 done
7686 IFS=$as_save_IFS
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7699 if test "x$ac_ct_OTOOL64" = x; then
7700 OTOOL64=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL64=$ac_ct_OTOOL64
7710 else
7711 OTOOL64="$ac_cv_prog_OTOOL64"
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 lt_cv_apple_cc_single_mod=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7750 # link flags.
7751 rm -rf libconftest.dylib*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757 _lt_result=$?
7758 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759 lt_cv_apple_cc_single_mod=yes
7760 else
7761 cat conftest.err >&5
7763 rm -rf libconftest.dylib*
7764 rm -f conftest.*
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 lt_cv_ld_exported_symbols_list=no
7775 save_LDFLAGS=$LDFLAGS
7776 echo "_main" > conftest.sym
7777 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778 if test x$gcc_no_link = xyes; then
7779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7785 main ()
7789 return 0;
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_ld_exported_symbols_list=yes
7794 else
7795 lt_cv_ld_exported_symbols_list=no
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7799 LDFLAGS="$save_LDFLAGS"
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 lt_cv_ld_force_load=no
7810 cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815 echo "$AR cru libconftest.a conftest.o" >&5
7816 $AR cru libconftest.a conftest.o 2>&5
7817 cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822 _lt_result=$?
7823 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7867 esac
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872 $as_echo_n "(cached) " >&6
7873 else
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7882 main ()
7886 return 0;
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890 ac_cv_header_stdc=yes
7891 else
7892 ac_cv_header_stdc=no
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7896 if test $ac_cv_header_stdc = yes; then
7897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <string.h>
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904 $EGREP "memchr" >/dev/null 2>&1; then :
7906 else
7907 ac_cv_header_stdc=no
7909 rm -f conftest*
7913 if test $ac_cv_header_stdc = yes; then
7914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 #include <stdlib.h>
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921 $EGREP "free" >/dev/null 2>&1; then :
7923 else
7924 ac_cv_header_stdc=no
7926 rm -f conftest*
7930 if test $ac_cv_header_stdc = yes; then
7931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932 if test "$cross_compiling" = yes; then :
7934 else
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944 (('a' <= (c) && (c) <= 'i') \
7945 || ('j' <= (c) && (c) <= 'r') \
7946 || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7952 main ()
7954 int i;
7955 for (i = 0; i < 256; i++)
7956 if (XOR (islower (i), ISLOWER (i))
7957 || toupper (i) != TOUPPER (i))
7958 return 2;
7959 return 0;
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7964 else
7965 ac_cv_header_stdc=no
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968 conftest.$ac_objext conftest.beam conftest.$ac_ext
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983 inttypes.h stdint.h unistd.h
7984 do :
7985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7988 eval as_val=\$$as_ac_Header
7989 if test "x$as_val" = x""yes; then :
7990 cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7996 done
7999 for ac_header in dlfcn.h
8000 do :
8001 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8010 done
8017 # Set options
8022 enable_win32_dll=no
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval=$enable_shared; p=${PACKAGE-default}
8028 case $enableval in
8029 yes) enable_shared=yes ;;
8030 no) enable_shared=no ;;
8032 enable_shared=no
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035 for pkg in $enableval; do
8036 IFS="$lt_save_ifs"
8037 if test "X$pkg" = "X$p"; then
8038 enable_shared=yes
8040 done
8041 IFS="$lt_save_ifs"
8043 esac
8044 else
8045 enable_shared=yes
8056 # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058 enableval=$enable_static; p=${PACKAGE-default}
8059 case $enableval in
8060 yes) enable_static=yes ;;
8061 no) enable_static=no ;;
8063 enable_static=no
8064 # Look at the argument we got. We use all the common list separators.
8065 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066 for pkg in $enableval; do
8067 IFS="$lt_save_ifs"
8068 if test "X$pkg" = "X$p"; then
8069 enable_static=yes
8071 done
8072 IFS="$lt_save_ifs"
8074 esac
8075 else
8076 enable_static=yes
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090 withval=$with_pic; pic_mode="$withval"
8091 else
8092 pic_mode=default
8096 test -z "$pic_mode" && pic_mode=default
8104 # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106 enableval=$enable_fast_install; p=${PACKAGE-default}
8107 case $enableval in
8108 yes) enable_fast_install=yes ;;
8109 no) enable_fast_install=no ;;
8111 enable_fast_install=no
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8115 IFS="$lt_save_ifs"
8116 if test "X$pkg" = "X$p"; then
8117 enable_fast_install=yes
8119 done
8120 IFS="$lt_save_ifs"
8122 esac
8123 else
8124 enable_fast_install=yes
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8168 test -z "$LN_S" && LN_S="ln -s"
8183 if test -n "${ZSH_VERSION+set}" ; then
8184 setopt NO_GLOB_SUBST
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195 lt_cv_objdir=.libs
8196 else
8197 # MS-DOS does not allow filenames that begin with a dot.
8198 lt_cv_objdir=_libs
8200 rmdir .libs 2>/dev/null
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8217 case $host_os in
8218 aix3*)
8219 # AIX sometimes has problems with the GCC collect2 program. For some
8220 # reason, if we set the COLLECT_NAMES environment variable, the problems
8221 # vanish in a puff of smoke.
8222 if test "X${COLLECT_NAMES+set}" != Xset; then
8223 COLLECT_NAMES=
8224 export COLLECT_NAMES
8227 esac
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8249 for cc_temp in $compiler""; do
8250 case $cc_temp in
8251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253 \-*) ;;
8254 *) break;;
8255 esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/${ac_tool_prefix}file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8291 else
8292 cat <<_LT_EOF 1>&2
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8303 _LT_EOF
8304 fi ;;
8305 esac
8307 break
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8313 esac
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330 if test -n "$ac_tool_prefix"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 case $MAGIC_CMD in
8337 [\\/*] | ?:[\\/]*)
8338 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8341 lt_save_MAGIC_CMD="$MAGIC_CMD"
8342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344 for ac_dir in $ac_dummy; do
8345 IFS="$lt_save_ifs"
8346 test -z "$ac_dir" && ac_dir=.
8347 if test -f $ac_dir/file; then
8348 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349 if test -n "$file_magic_test_file"; then
8350 case $deplibs_check_method in
8351 "file_magic "*)
8352 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355 $EGREP "$file_magic_regex" > /dev/null; then
8357 else
8358 cat <<_LT_EOF 1>&2
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such. This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem. Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8369 _LT_EOF
8370 fi ;;
8371 esac
8373 break
8375 done
8376 IFS="$lt_save_ifs"
8377 MAGIC_CMD="$lt_save_MAGIC_CMD"
8379 esac
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8392 else
8393 MAGIC_CMD=:
8399 esac
8401 # Use C for the default configuration in the libtool script
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8411 # Source file extension for C test sources.
8412 ac_ext=c
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8463 lt_prog_compiler_no_builtin_flag=
8465 if test "$GCC" = yes; then
8466 case $cc_basename in
8467 nvcc*)
8468 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8470 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471 esac
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 lt_cv_prog_compiler_rtti_exceptions=no
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481 lt_compiler_flag="-fno-rtti -fno-exceptions"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err)
8493 ac_status=$?
8494 cat conftest.err >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502 lt_cv_prog_compiler_rtti_exceptions=yes
8505 $RM conftest*
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8524 lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8531 if test "$GCC" = yes; then
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_static='-static'
8535 case $host_os in
8536 aix*)
8537 # All AIX code is PIC.
8538 if test "$host_cpu" = ia64; then
8539 # AIX 5 now supports IA64 processor
8540 lt_prog_compiler_static='-Bstatic'
8542 lt_prog_compiler_pic='-fPIC'
8545 amigaos*)
8546 case $host_cpu in
8547 powerpc)
8548 # see comment about AmigaOS4 .so support
8549 lt_prog_compiler_pic='-fPIC'
8551 m68k)
8552 # FIXME: we need at least 68020 code to build shared libraries, but
8553 # adding the `-m68020' flag to GCC prevents building anything better,
8554 # like `-m68040'.
8555 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8557 esac
8560 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561 # PIC is the default for these OSes.
8564 mingw* | cygwin* | pw32* | os2* | cegcc*)
8565 # This hack is so that the source file can tell whether it is being
8566 # built for inclusion in a dll (and should export symbols for example).
8567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568 # (--disable-auto-import) libraries
8569 lt_prog_compiler_pic='-DDLL_EXPORT'
8572 darwin* | rhapsody*)
8573 # PIC is the default on this platform
8574 # Common symbols not allowed in MH_DYLIB files
8575 lt_prog_compiler_pic='-fno-common'
8578 haiku*)
8579 # PIC is the default for Haiku.
8580 # The "-static" flag exists, but is broken.
8581 lt_prog_compiler_static=
8584 hpux*)
8585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8587 # sets the default TLS model and affects inlining.
8588 case $host_cpu in
8589 hppa*64*)
8590 # +Z the default
8593 lt_prog_compiler_pic='-fPIC'
8595 esac
8598 interix[3-9]*)
8599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600 # Instead, we relocate shared libraries at runtime.
8603 msdosdjgpp*)
8604 # Just because we use GCC doesn't mean we suddenly get shared libraries
8605 # on systems that don't support them.
8606 lt_prog_compiler_can_build_shared=no
8607 enable_shared=no
8610 *nto* | *qnx*)
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8612 # it will coredump.
8613 lt_prog_compiler_pic='-fPIC -shared'
8616 sysv4*MP*)
8617 if test -d /usr/nec; then
8618 lt_prog_compiler_pic=-Kconform_pic
8623 lt_prog_compiler_pic='-fPIC'
8625 esac
8627 case $cc_basename in
8628 nvcc*) # Cuda Compiler Driver 2.2
8629 lt_prog_compiler_wl='-Xlinker '
8630 lt_prog_compiler_pic='-Xcompiler -fPIC'
8632 esac
8633 else
8634 # PORTME Check for flag to pass linker flags through the system compiler.
8635 case $host_os in
8636 aix*)
8637 lt_prog_compiler_wl='-Wl,'
8638 if test "$host_cpu" = ia64; then
8639 # AIX 5 now supports IA64 processor
8640 lt_prog_compiler_static='-Bstatic'
8641 else
8642 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8646 mingw* | cygwin* | pw32* | os2* | cegcc*)
8647 # This hack is so that the source file can tell whether it is being
8648 # built for inclusion in a dll (and should export symbols for example).
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8652 hpux9* | hpux10* | hpux11*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655 # not for PA HP-UX.
8656 case $host_cpu in
8657 hppa*64*|ia64*)
8658 # +Z the default
8661 lt_prog_compiler_pic='+Z'
8663 esac
8664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665 lt_prog_compiler_static='${wl}-a ${wl}archive'
8668 irix5* | irix6* | nonstopux*)
8669 lt_prog_compiler_wl='-Wl,'
8670 # PIC (with -KPIC) is the default.
8671 lt_prog_compiler_static='-non_shared'
8674 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675 case $cc_basename in
8676 # old Intel for x86_64 which still supported -KPIC.
8677 ecc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-KPIC'
8680 lt_prog_compiler_static='-static'
8682 # icc used to be incompatible with GCC.
8683 # ICC 10 doesn't accept -KPIC any more.
8684 icc* | ifort*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-fPIC'
8687 lt_prog_compiler_static='-static'
8689 # Lahey Fortran 8.1.
8690 lf95*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='--shared'
8693 lt_prog_compiler_static='--static'
8695 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696 # Portland Group compilers (*not* the Pentium gcc compiler,
8697 # which looks to be a dead project)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fpic'
8700 lt_prog_compiler_static='-Bstatic'
8702 ccc*)
8703 lt_prog_compiler_wl='-Wl,'
8704 # All Alpha code is PIC.
8705 lt_prog_compiler_static='-non_shared'
8707 xl* | bgxl* | bgf* | mpixl*)
8708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-qpic'
8711 lt_prog_compiler_static='-qstaticlink'
8714 case `$CC -V 2>&1 | sed 5q` in
8715 *Sun\ F* | *Sun*Fortran*)
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl=''
8721 *Sun\ C*)
8722 # Sun C 5.9
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8727 esac
8729 esac
8732 newsos6)
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8737 *nto* | *qnx*)
8738 # QNX uses GNU C++, but need to define -shared option too, otherwise
8739 # it will coredump.
8740 lt_prog_compiler_pic='-fPIC -shared'
8743 osf3* | osf4* | osf5*)
8744 lt_prog_compiler_wl='-Wl,'
8745 # All OSF/1 code is PIC.
8746 lt_prog_compiler_static='-non_shared'
8749 rdos*)
8750 lt_prog_compiler_static='-non_shared'
8753 solaris*)
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 case $cc_basename in
8757 f77* | f90* | f95*)
8758 lt_prog_compiler_wl='-Qoption ld ';;
8760 lt_prog_compiler_wl='-Wl,';;
8761 esac
8764 sunos4*)
8765 lt_prog_compiler_wl='-Qoption ld '
8766 lt_prog_compiler_pic='-PIC'
8767 lt_prog_compiler_static='-Bstatic'
8770 sysv4 | sysv4.2uw2* | sysv4.3*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8776 sysv4*MP*)
8777 if test -d /usr/nec ;then
8778 lt_prog_compiler_pic='-Kconform_pic'
8779 lt_prog_compiler_static='-Bstatic'
8783 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 unicos*)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_can_build_shared=no
8794 uts4*)
8795 lt_prog_compiler_pic='-pic'
8796 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_can_build_shared=no
8802 esac
8805 case $host_os in
8806 # For platforms which do not support PIC, -DPIC is meaningless:
8807 *djgpp*)
8808 lt_prog_compiler_pic=
8811 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8823 # Check to make sure the PIC flag actually works.
8825 if test -n "$lt_prog_compiler_pic"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 lt_cv_prog_compiler_pic_works=no
8832 ac_outfile=conftest.$ac_objext
8833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 # The option is referenced via a variable to avoid confusing sed.
8840 lt_compile=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>conftest.err)
8846 ac_status=$?
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s "$ac_outfile"; then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings other than the usual output.
8852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_pic_works=yes
8858 $RM conftest*
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865 case $lt_prog_compiler_pic in
8866 "" | " "*) ;;
8867 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868 esac
8869 else
8870 lt_prog_compiler_pic=
8871 lt_prog_compiler_can_build_shared=no
8882 # Check to make sure the static flag actually works.
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 lt_cv_prog_compiler_static_works=no
8891 save_LDFLAGS="$LDFLAGS"
8892 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err; then
8898 # Append any errors to the config.log.
8899 cat conftest.err 1>&5
8900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902 if diff conftest.exp conftest.er2 >/dev/null; then
8903 lt_cv_prog_compiler_static_works=yes
8905 else
8906 lt_cv_prog_compiler_static_works=yes
8909 $RM -r conftest*
8910 LDFLAGS="$save_LDFLAGS"
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8918 else
8919 lt_prog_compiler_static=
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 lt_cv_prog_compiler_c_o=no
8934 $RM -r conftest 2>/dev/null
8935 mkdir conftest
8936 cd conftest
8937 mkdir out
8938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8940 lt_compiler_flag="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out/conftest.err)
8951 ac_status=$?
8952 cat out/conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 then
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961 lt_cv_prog_compiler_c_o=yes
8964 chmod u+w . 2>&5
8965 $RM conftest*
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969 $RM out/* && rmdir out
8970 cd ..
8971 $RM -r conftest
8972 $RM conftest*
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 lt_cv_prog_compiler_c_o=no
8989 $RM -r conftest 2>/dev/null
8990 mkdir conftest
8991 cd conftest
8992 mkdir out
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995 lt_compiler_flag="-o out/conftest2.$ac_objext"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 lt_compile=`echo "$ac_compile" | $SED \
9001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003 -e 's:$: $lt_compiler_flag:'`
9004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005 (eval "$lt_compile" 2>out/conftest.err)
9006 ac_status=$?
9007 cat out/conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010 then
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings
9013 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016 lt_cv_prog_compiler_c_o=yes
9019 chmod u+w . 2>&5
9020 $RM conftest*
9021 # SGI C++ compiler will create directory out/ii_files/ for
9022 # template instantiation
9023 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024 $RM out/* && rmdir out
9025 cd ..
9026 $RM -r conftest
9027 $RM conftest*
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038 # do not overwrite the value of need_locks provided by the user
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041 hard_links=yes
9042 $RM conftest*
9043 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044 touch conftest.a
9045 ln conftest.a conftest.b 2>&5 || hard_links=no
9046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049 if test "$hard_links" = no; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052 need_locks=warn
9054 else
9055 need_locks=no
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9066 runpath_var=
9067 allow_undefined_flag=
9068 always_export_symbols=no
9069 archive_cmds=
9070 archive_expsym_cmds=
9071 compiler_needs_object=no
9072 enable_shared_with_static_runtimes=no
9073 export_dynamic_flag_spec=
9074 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075 hardcode_automatic=no
9076 hardcode_direct=no
9077 hardcode_direct_absolute=no
9078 hardcode_libdir_flag_spec=
9079 hardcode_libdir_flag_spec_ld=
9080 hardcode_libdir_separator=
9081 hardcode_minus_L=no
9082 hardcode_shlibpath_var=unsupported
9083 inherit_rpath=no
9084 link_all_deplibs=unknown
9085 module_cmds=
9086 module_expsym_cmds=
9087 old_archive_from_new_cmds=
9088 old_archive_from_expsyms_cmds=
9089 thread_safe_flag_spec=
9090 whole_archive_flag_spec=
9091 # include_expsyms should be a list of space-separated symbols to be *always*
9092 # included in the symbol list
9093 include_expsyms=
9094 # exclude_expsyms can be an extended regexp of symbols to exclude
9095 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097 # as well as any symbol that contains `d'.
9098 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100 # platforms (ab)use it in PIC code, but their linkers get confused if
9101 # the symbol is explicitly referenced. Since portable code cannot
9102 # rely on this symbol name, it's probably fine to never include it in
9103 # preloaded symbol tables.
9104 # Exclude shared library initialization/finalization symbols.
9105 extract_expsyms_cmds=
9107 case $host_os in
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 if test "$GCC" != yes; then
9113 with_gnu_ld=no
9116 interix*)
9117 # we just hope/assume this is gcc and not c89 (= MSVC++)
9118 with_gnu_ld=yes
9120 openbsd*)
9121 with_gnu_ld=no
9123 esac
9125 ld_shlibs=yes
9127 # On some targets, GNU ld is compatible enough with the native linker
9128 # that we're better off using the native interface for both.
9129 lt_use_gnu_ld_interface=no
9130 if test "$with_gnu_ld" = yes; then
9131 case $host_os in
9132 aix*)
9133 # The AIX port of GNU ld has always aspired to compatibility
9134 # with the native linker. However, as the warning in the GNU ld
9135 # block says, versions before 2.19.5* couldn't really create working
9136 # shared libraries, regardless of the interface used.
9137 case `$LD -v 2>&1` in
9138 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9142 lt_use_gnu_ld_interface=yes
9144 esac
9147 lt_use_gnu_ld_interface=yes
9149 esac
9152 if test "$lt_use_gnu_ld_interface" = yes; then
9153 # If archive_cmds runs LD, not CC, wlarc should be empty
9154 wlarc='${wl}'
9156 # Set some defaults for GNU ld with shared library support. These
9157 # are reset later if shared libraries are not supported. Putting them
9158 # here allows them to be overridden if necessary.
9159 runpath_var=LD_RUN_PATH
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 export_dynamic_flag_spec='${wl}--export-dynamic'
9162 # ancient GNU ld didn't support --whole-archive et. al.
9163 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165 else
9166 whole_archive_flag_spec=
9168 supports_anon_versioning=no
9169 case `$LD -v 2>&1` in
9170 *GNU\ gold*) supports_anon_versioning=yes ;;
9171 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174 *\ 2.11.*) ;; # other 2.11 versions
9175 *) supports_anon_versioning=yes ;;
9176 esac
9178 # See if GNU ld supports shared libraries.
9179 case $host_os in
9180 aix[3-9]*)
9181 # On AIX/PPC, the GNU linker is very broken
9182 if test "$host_cpu" != ia64; then
9183 ld_shlibs=no
9184 cat <<_LT_EOF 1>&2
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support. If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9193 _LT_EOF
9197 amigaos*)
9198 case $host_cpu in
9199 powerpc)
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds=''
9204 m68k)
9205 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)'
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_minus_L=yes
9209 esac
9212 beos*)
9213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214 allow_undefined_flag=unsupported
9215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216 # support --undefined. This deserves some investigation. FIXME
9217 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218 else
9219 ld_shlibs=no
9223 cygwin* | mingw* | pw32* | cegcc*)
9224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225 # as there is no search path for DLLs.
9226 hardcode_libdir_flag_spec='-L$libdir'
9227 export_dynamic_flag_spec='${wl}--export-all-symbols'
9228 allow_undefined_flag=unsupported
9229 always_export_symbols=no
9230 enable_shared_with_static_runtimes=yes
9231 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9233 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 # If the export-symbols file already is a .def file (1st line
9236 # is EXPORTS), use it as is; otherwise, prepend...
9237 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238 cp $export_symbols $output_objdir/$soname.def;
9239 else
9240 echo EXPORTS > $output_objdir/$soname.def;
9241 cat $export_symbols >> $output_objdir/$soname.def;
9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 else
9245 ld_shlibs=no
9249 haiku*)
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 link_all_deplibs=yes
9254 interix[3-9]*)
9255 hardcode_direct=no
9256 hardcode_shlibpath_var=no
9257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258 export_dynamic_flag_spec='${wl}-E'
9259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260 # Instead, shared libraries are loaded at an image base (0x10000000 by
9261 # default) and relocated if they conflict, which is a slow very memory
9262 # consuming and fragmenting process. To avoid this, we pick a random,
9263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9265 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266 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'
9269 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270 tmp_diet=no
9271 if test "$host_os" = linux-dietlibc; then
9272 case $cc_basename in
9273 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9274 esac
9276 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277 && test "$tmp_diet" = no
9278 then
9279 tmp_addflag=
9280 tmp_sharedflag='-shared'
9281 case $cc_basename,$host_cpu in
9282 pgcc*) # Portland Group C compiler
9283 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'
9284 tmp_addflag=' $pic_flag'
9286 pgf77* | pgf90* | pgf95* | pgfortran*)
9287 # Portland Group f77 and f90 compilers
9288 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'
9289 tmp_addflag=' $pic_flag -Mnomain' ;;
9290 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9291 tmp_addflag=' -i_dynamic' ;;
9292 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9293 tmp_addflag=' -i_dynamic -nofor_main' ;;
9294 ifc* | ifort*) # Intel Fortran compiler
9295 tmp_addflag=' -nofor_main' ;;
9296 lf95*) # Lahey Fortran 8.1
9297 whole_archive_flag_spec=
9298 tmp_sharedflag='--shared' ;;
9299 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300 tmp_sharedflag='-qmkshrobj'
9301 tmp_addflag= ;;
9302 nvcc*) # Cuda Compiler Driver 2.2
9303 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'
9304 compiler_needs_object=yes
9306 esac
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ C*) # Sun C 5.9
9309 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'
9310 compiler_needs_object=yes
9311 tmp_sharedflag='-G' ;;
9312 *Sun\ F*) # Sun Fortran 8.3
9313 tmp_sharedflag='-G' ;;
9314 esac
9315 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9317 if test "x$supports_anon_versioning" = xyes; then
9318 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320 echo "local: *; };" >> $output_objdir/$libname.ver~
9321 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9324 case $cc_basename in
9325 xlf* | bgf* | bgxlf* | mpixlf*)
9326 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328 hardcode_libdir_flag_spec=
9329 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes; then
9332 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9338 esac
9339 else
9340 ld_shlibs=no
9344 netbsd*)
9345 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347 wlarc=
9348 else
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 solaris*)
9355 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356 ld_shlibs=no
9357 cat <<_LT_EOF 1>&2
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9366 _LT_EOF
9367 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 else
9371 ld_shlibs=no
9375 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376 case `$LD -v 2>&1` in
9377 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378 ld_shlibs=no
9379 cat <<_LT_EOF 1>&2
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems. Therefore, libtool
9383 *** is disabling shared libraries support. We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9388 _LT_EOF
9391 # For security reasons, it is highly recommended that you always
9392 # use absolute paths for naming shared libraries, and exclude the
9393 # DT_RUNPATH tag from executables and libraries. But doing so
9394 # requires that you compile everything twice, which is a pain.
9395 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 else
9400 ld_shlibs=no
9403 esac
9406 sunos4*)
9407 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408 wlarc=
9409 hardcode_direct=yes
9410 hardcode_shlibpath_var=no
9414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9421 esac
9423 if test "$ld_shlibs" = no; then
9424 runpath_var=
9425 hardcode_libdir_flag_spec=
9426 export_dynamic_flag_spec=
9427 whole_archive_flag_spec=
9429 else
9430 # PORTME fill in a description of your system's linker (not GNU ld)
9431 case $host_os in
9432 aix3*)
9433 allow_undefined_flag=unsupported
9434 always_export_symbols=yes
9435 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'
9436 # Note: this linker hardcodes the directories in LIBPATH if there
9437 # are no directories specified by -L.
9438 hardcode_minus_L=yes
9439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440 # Neither direct hardcoding nor static linking is supported with a
9441 # broken collect2.
9442 hardcode_direct=unsupported
9446 aix[4-9]*)
9447 if test "$host_cpu" = ia64; then
9448 # On IA64, the linker does run time linking by default, so we don't
9449 # have to do anything special.
9450 aix_use_runtimelinking=no
9451 exp_sym_flag='-Bexport'
9452 no_entry_flag=""
9453 else
9454 # If we're using GNU nm, then we don't want the "-C" option.
9455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456 # Also, AIX nm treats weak defined symbols like other global
9457 # defined symbols, whereas GNU nm marks them as "W".
9458 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459 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'
9460 else
9461 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'
9463 aix_use_runtimelinking=no
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469 for ld_flag in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking=yes
9472 break
9474 done
9476 esac
9478 exp_sym_flag='-bexport'
9479 no_entry_flag='-bnoentry'
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9488 archive_cmds=''
9489 hardcode_direct=yes
9490 hardcode_direct_absolute=yes
9491 hardcode_libdir_separator=':'
9492 link_all_deplibs=yes
9493 file_list_spec='${wl}-f,'
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.[012]|aix4.[012].*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502 then
9503 # We have reworked collect2
9505 else
9506 # We have old collect2
9507 hardcode_direct=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L=yes
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_libdir_separator=
9516 esac
9517 shared_flag='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag="$shared_flag "'${wl}-G'
9521 else
9522 # not using gcc
9523 if test "$host_cpu" = ia64; then
9524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525 # chokes on -Wl,-G. The following line is correct:
9526 shared_flag='-G'
9527 else
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag='${wl}-G'
9530 else
9531 shared_flag='${wl}-bM:SRE'
9536 export_dynamic_flag_spec='${wl}-bexpall'
9537 # It seems that -bexpall does not export symbols beginning with
9538 # underscore (_), so it is better to generate a list of symbols to export.
9539 always_export_symbols=yes
9540 if test "$aix_use_runtimelinking" = yes; then
9541 # Warning - without using the other runtime loading flags (-brtl),
9542 # -berok will link without error, but may produce a broken library.
9543 allow_undefined_flag='-berok'
9544 # Determine the default libpath from the value encoded in an
9545 # empty executable.
9546 if test x$gcc_no_link = xyes; then
9547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9553 main ()
9557 return 0;
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9562 lt_aix_libpath_sed='
9563 /Import File Strings/,/^$/ {
9564 /^0/ {
9565 s/^0 *\(.*\)$/\1/
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580 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"
9581 else
9582 if test "$host_cpu" = ia64; then
9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584 allow_undefined_flag="-z nodefs"
9585 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"
9586 else
9587 # Determine the default libpath from the value encoded in an
9588 # empty executable.
9589 if test x$gcc_no_link = xyes; then
9590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9596 main ()
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9605 lt_aix_libpath_sed='
9606 /Import File Strings/,/^$/ {
9607 /^0/ {
9608 s/^0 *\(.*\)$/\1/
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9622 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623 # Warning - without using the other run time loading flags,
9624 # -berok will link without error, but may produce a broken library.
9625 no_undefined_flag=' ${wl}-bernotok'
9626 allow_undefined_flag=' ${wl}-berok'
9627 if test "$with_gnu_ld" = yes; then
9628 # We only use this code for GNU lds that support --whole-archive.
9629 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 else
9631 # Exported symbols can be pulled into shared objects from archives
9632 whole_archive_flag_spec='$convenience'
9634 archive_cmds_need_lc=yes
9635 # This is similar to how AIX traditionally builds its shared libraries.
9636 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'
9641 amigaos*)
9642 case $host_cpu in
9643 powerpc)
9644 # see comment about AmigaOS4 .so support
9645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646 archive_expsym_cmds=''
9648 m68k)
9649 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)'
9650 hardcode_libdir_flag_spec='-L$libdir'
9651 hardcode_minus_L=yes
9653 esac
9656 bsdi[45]*)
9657 export_dynamic_flag_spec=-rdynamic
9660 cygwin* | mingw* | pw32* | cegcc*)
9661 # When not using gcc, we currently assume that we are using
9662 # Microsoft Visual C++.
9663 # hardcode_libdir_flag_spec is actually meaningless, as there is
9664 # no search path for DLLs.
9665 hardcode_libdir_flag_spec=' '
9666 allow_undefined_flag=unsupported
9667 # Tell ltmain to make .lib files, not .a files.
9668 libext=lib
9669 # Tell ltmain to make .dll files, not .so files.
9670 shrext_cmds=".dll"
9671 # FIXME: Setting linknames here is a bad hack.
9672 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673 # The linker will automatically build a .lib file if we build a DLL.
9674 old_archive_from_new_cmds='true'
9675 # FIXME: Should let the user specify the lib program.
9676 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 enable_shared_with_static_runtimes=yes
9681 darwin* | rhapsody*)
9684 archive_cmds_need_lc=no
9685 hardcode_direct=no
9686 hardcode_automatic=yes
9687 hardcode_shlibpath_var=unsupported
9688 if test "$lt_cv_ld_force_load" = "yes"; then
9689 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\"`'
9690 else
9691 whole_archive_flag_spec=''
9693 link_all_deplibs=yes
9694 allow_undefined_flag="$_lt_dar_allow_undefined"
9695 case $cc_basename in
9696 ifort*) _lt_dar_can_shared=yes ;;
9697 *) _lt_dar_can_shared=$GCC ;;
9698 esac
9699 if test "$_lt_dar_can_shared" = "yes"; then
9700 output_verbose_link_cmd=func_echo_all
9701 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703 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}"
9704 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}"
9706 else
9707 ld_shlibs=no
9712 dgux*)
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_shlibpath_var=no
9718 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719 # support. Future versions do this automatically, but an explicit c++rt0.o
9720 # does not break anything, and helps significantly (at the cost of a little
9721 # extra space).
9722 freebsd2.2*)
9723 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9729 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730 freebsd2.*)
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_direct=yes
9733 hardcode_minus_L=yes
9734 hardcode_shlibpath_var=no
9737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738 freebsd* | dragonfly*)
9739 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec='-R$libdir'
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9745 hpux9*)
9746 if test "$GCC" = yes; then
9747 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'
9748 else
9749 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'
9751 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752 hardcode_libdir_separator=:
9753 hardcode_direct=yes
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L=yes
9758 export_dynamic_flag_spec='${wl}-E'
9761 hpux10*)
9762 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 else
9765 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9767 if test "$with_gnu_ld" = no; then
9768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769 hardcode_libdir_flag_spec_ld='+b $libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772 hardcode_direct_absolute=yes
9773 export_dynamic_flag_spec='${wl}-E'
9774 # hardcode_minus_L: Not really in the search PATH,
9775 # but as the default location of the library.
9776 hardcode_minus_L=yes
9780 hpux11*)
9781 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782 case $host_cpu in
9783 hppa*64*)
9784 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9786 ia64*)
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9792 esac
9793 else
9794 case $host_cpu in
9795 hppa*64*)
9796 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9798 ia64*)
9799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 # Older versions of the 11.00 compiler do not understand -b yet
9804 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 lt_cv_prog_compiler__b=no
9811 save_LDFLAGS="$LDFLAGS"
9812 LDFLAGS="$LDFLAGS -b"
9813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815 # The linker can only warn and ignore the option if not recognized
9816 # So say no if there are warnings
9817 if test -s conftest.err; then
9818 # Append any errors to the config.log.
9819 cat conftest.err 1>&5
9820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822 if diff conftest.exp conftest.er2 >/dev/null; then
9823 lt_cv_prog_compiler__b=yes
9825 else
9826 lt_cv_prog_compiler__b=yes
9829 $RM -r conftest*
9830 LDFLAGS="$save_LDFLAGS"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9843 esac
9845 if test "$with_gnu_ld" = no; then
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9849 case $host_cpu in
9850 hppa*64*|ia64*)
9851 hardcode_direct=no
9852 hardcode_shlibpath_var=no
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L=yes
9863 esac
9867 irix5* | irix6* | nonstopux*)
9868 if test "$GCC" = yes; then
9869 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'
9870 # Try to use the -exported_symbol ld option, if it does not
9871 # work, assume that -exports_file does not work either and
9872 # implicitly export all symbols.
9873 save_LDFLAGS="$LDFLAGS"
9874 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875 if test x$gcc_no_link = xyes; then
9876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 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'
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LDFLAGS="$save_LDFLAGS"
9889 else
9890 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'
9891 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'
9893 archive_cmds_need_lc='no'
9894 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895 hardcode_libdir_separator=:
9896 inherit_rpath=yes
9897 link_all_deplibs=yes
9900 netbsd*)
9901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9903 else
9904 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9906 hardcode_libdir_flag_spec='-R$libdir'
9907 hardcode_direct=yes
9908 hardcode_shlibpath_var=no
9911 newsos6)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_direct=yes
9914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator=:
9916 hardcode_shlibpath_var=no
9919 *nto* | *qnx*)
9922 openbsd*)
9923 if test -f /usr/libexec/ld.so; then
9924 hardcode_direct=yes
9925 hardcode_shlibpath_var=no
9926 hardcode_direct_absolute=yes
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931 export_dynamic_flag_spec='${wl}-E'
9932 else
9933 case $host_os in
9934 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec='-R$libdir'
9939 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9942 esac
9944 else
9945 ld_shlibs=no
9949 os2*)
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_minus_L=yes
9952 allow_undefined_flag=unsupported
9953 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'
9954 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9957 osf3*)
9958 if test "$GCC" = yes; then
9959 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960 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'
9961 else
9962 allow_undefined_flag=' -expect_unresolved \*'
9963 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'
9965 archive_cmds_need_lc='no'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9970 osf4* | osf5*) # as osf3* with the addition of -msym flag
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975 else
9976 allow_undefined_flag=' -expect_unresolved \*'
9977 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'
9978 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~
9979 $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'
9981 # Both c and cxx compiler support -rpath directly
9982 hardcode_libdir_flag_spec='-rpath $libdir'
9984 archive_cmds_need_lc='no'
9985 hardcode_libdir_separator=:
9988 solaris*)
9989 no_undefined_flag=' -z defs'
9990 if test "$GCC" = yes; then
9991 wlarc='${wl}'
9992 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995 else
9996 case `$CC -V 2>&1` in
9997 *"Compilers 5.0"*)
9998 wlarc=''
9999 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10004 wlarc='${wl}'
10005 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10009 esac
10011 hardcode_libdir_flag_spec='-R$libdir'
10012 hardcode_shlibpath_var=no
10013 case $host_os in
10014 solaris2.[0-5] | solaris2.[0-5].*) ;;
10016 # The compiler driver will combine and reorder linker options,
10017 # but understands `-z linker_flag'. GCC discards it without `$wl',
10018 # but is careful enough not to reorder.
10019 # Supported since Solaris 2.6 (maybe 2.5.1?)
10020 if test "$GCC" = yes; then
10021 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022 else
10023 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10026 esac
10027 link_all_deplibs=yes
10030 sunos4*)
10031 if test "x$host_vendor" = xsequent; then
10032 # Use $CC to link under sequent, because it throws in some extra .o
10033 # files that make .init and .fini sections work.
10034 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035 else
10036 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_direct=yes
10040 hardcode_minus_L=yes
10041 hardcode_shlibpath_var=no
10044 sysv4)
10045 case $host_vendor in
10046 sni)
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct=yes # is this really true???
10050 siemens)
10051 ## LD is ld it makes a PLAMLIB
10052 ## CC just makes a GrossModule.
10053 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054 reload_cmds='$CC -r -o $output$reload_objs'
10055 hardcode_direct=no
10057 motorola)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10061 esac
10062 runpath_var='LD_RUN_PATH'
10063 hardcode_shlibpath_var=no
10066 sysv4.3*)
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_shlibpath_var=no
10069 export_dynamic_flag_spec='-Bexport'
10072 sysv4*MP*)
10073 if test -d /usr/nec; then
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 runpath_var=LD_RUN_PATH
10077 hardcode_runpath_var=yes
10078 ld_shlibs=yes
10082 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083 no_undefined_flag='${wl}-z,text'
10084 archive_cmds_need_lc=no
10085 hardcode_shlibpath_var=no
10086 runpath_var='LD_RUN_PATH'
10088 if test "$GCC" = yes; then
10089 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 sysv5* | sco3.2v5* | sco5v6*)
10098 # Note: We can NOT use -z defs as we might desire, because we do not
10099 # link with -lc, and that would cause any symbols used from libc to
10100 # always be unresolved, which means just about no library would
10101 # ever link correctly. If we're not using GNU ld we use -z text
10102 # though, which does catch some bad symbols but isn't as heavy-handed
10103 # as -z defs.
10104 no_undefined_flag='${wl}-z,text'
10105 allow_undefined_flag='${wl}-z,nodefs'
10106 archive_cmds_need_lc=no
10107 hardcode_shlibpath_var=no
10108 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109 hardcode_libdir_separator=':'
10110 link_all_deplibs=yes
10111 export_dynamic_flag_spec='${wl}-Bexport'
10112 runpath_var='LD_RUN_PATH'
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 uts4*)
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_libdir_flag_spec='-L$libdir'
10126 hardcode_shlibpath_var=no
10130 ld_shlibs=no
10132 esac
10134 if test x$host_vendor = xsni; then
10135 case $host in
10136 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137 export_dynamic_flag_spec='${wl}-Blargedynsym'
10139 esac
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10147 with_gnu_ld=$with_gnu_ld
10164 # Do we need to explicitly link libc?
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168 # Assume -lc should be added
10169 archive_cmds_need_lc=yes
10171 if test "$enable_shared" = yes && test "$GCC" = yes; then
10172 case $archive_cmds in
10173 *'~'*)
10174 # FIXME: we may have to deal with multi-command sequences.
10176 '$CC '*)
10177 # Test whether the compiler implicitly links with -lc since on some
10178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179 # to ld, don't add -lc before -lgcc.
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 $RM conftest*
10186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189 (eval $ac_compile) 2>&5
10190 ac_status=$?
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; } 2>conftest.err; then
10193 soname=conftest
10194 lib=conftest
10195 libobjs=conftest.$ac_objext
10196 deplibs=
10197 wl=$lt_prog_compiler_wl
10198 pic_flag=$lt_prog_compiler_pic
10199 compiler_flags=-v
10200 linker_flags=-v
10201 verstring=
10202 output_objdir=.
10203 libname=conftest
10204 lt_save_allow_undefined_flag=$allow_undefined_flag
10205 allow_undefined_flag=
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; }
10211 then
10212 lt_cv_archive_cmds_need_lc=no
10213 else
10214 lt_cv_archive_cmds_need_lc=yes
10216 allow_undefined_flag=$lt_save_allow_undefined_flag
10217 else
10218 cat conftest.err 1>&5
10220 $RM conftest*
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10227 esac
10230 esac
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10391 if test "$GCC" = yes; then
10392 case $host_os in
10393 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394 *) lt_awk_arg="/^libraries:/" ;;
10395 esac
10396 case $host_os in
10397 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398 *) lt_sed_strip_eq="s,=/,/,g" ;;
10399 esac
10400 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401 case $lt_search_path_spec in
10402 *\;*)
10403 # if the path contains ";" then we assume it to be the separator
10404 # otherwise default to the standard path separator (i.e. ":") - it is
10405 # assumed that no part of a normal pathname contains ";" but that should
10406 # okay in the real world where ";" in dirpaths is itself problematic.
10407 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10410 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10412 esac
10413 # Ok, now we have the path, separated by spaces, we can step through it
10414 # and add multilib dir if necessary.
10415 lt_tmp_lt_search_path_spec=
10416 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417 for lt_sys_path in $lt_search_path_spec; do
10418 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420 else
10421 test -d "$lt_sys_path" && \
10422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10424 done
10425 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427 lt_foo="";
10428 lt_count=0;
10429 for (lt_i = NF; lt_i > 0; lt_i--) {
10430 if ($lt_i != "" && $lt_i != ".") {
10431 if ($lt_i == "..") {
10432 lt_count++;
10433 } else {
10434 if (lt_count == 0) {
10435 lt_foo="/" $lt_i lt_foo;
10436 } else {
10437 lt_count--;
10442 if (lt_foo != "") { lt_freq[lt_foo]++; }
10443 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10445 # AWK program above erroneously prepends '/' to C:/dos/paths
10446 # for these hosts.
10447 case $host_os in
10448 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450 esac
10451 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10475 case $host_os in
10476 aix3*)
10477 version_type=linux
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479 shlibpath_var=LIBPATH
10481 # AIX 3 has no versioning support, so we append a major version to the name.
10482 soname_spec='${libname}${release}${shared_ext}$major'
10485 aix[4-9]*)
10486 version_type=linux
10487 need_lib_prefix=no
10488 need_version=no
10489 hardcode_into_libs=yes
10490 if test "$host_cpu" = ia64; then
10491 # AIX 5 supports IA64
10492 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 else
10495 # With GCC up to 2.95.x, collect2 would create an import file
10496 # for dependence libraries. The import file would start with
10497 # the line `#! .'. This would cause the generated library to
10498 # depend on `.', always an invalid library. This was fixed in
10499 # development snapshots of GCC prior to 3.0.
10500 case $host_os in
10501 aix4 | aix4.[01] | aix4.[01].*)
10502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503 echo ' yes '
10504 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10506 else
10507 can_build_shared=no
10510 esac
10511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512 # soname into executable. Probably we can add versioning support to
10513 # collect2, so additional links can be useful in future.
10514 if test "$aix_use_runtimelinking" = yes; then
10515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516 # instead of lib<name>.a to let people know that these are not
10517 # typical AIX shared libraries.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 else
10520 # We preserve .a as extension for shared libraries through AIX4.2
10521 # and later when we are not doing run time linking.
10522 library_names_spec='${libname}${release}.a $libname.a'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10525 shlibpath_var=LIBPATH
10529 amigaos*)
10530 case $host_cpu in
10531 powerpc)
10532 # Since July 2007 AmigaOS4 officially supports .so libraries.
10533 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 m68k)
10537 library_names_spec='$libname.ixlibrary $libname.a'
10538 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539 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'
10541 esac
10544 beos*)
10545 library_names_spec='${libname}${shared_ext}'
10546 dynamic_linker="$host_os ld.so"
10547 shlibpath_var=LIBRARY_PATH
10550 bsdi[45]*)
10551 version_type=linux
10552 need_version=no
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559 # the default ld.so.conf also contains /usr/contrib/lib and
10560 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561 # libtool to hard-code these into programs
10564 cygwin* | mingw* | pw32* | cegcc*)
10565 version_type=windows
10566 shrext_cmds=".dll"
10567 need_version=no
10568 need_lib_prefix=no
10570 case $GCC,$host_os in
10571 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572 library_names_spec='$libname.dll.a'
10573 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574 postinstall_cmds='base_file=`basename \${file}`~
10575 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576 dldir=$destdir/`dirname \$dlpath`~
10577 test -d \$dldir || mkdir -p \$dldir~
10578 $install_prog $dir/$dlname \$dldir/$dlname~
10579 chmod a+x \$dldir/$dlname~
10580 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10583 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584 dlpath=$dir/\$dldll~
10585 $RM \$dlpath'
10586 shlibpath_overrides_runpath=yes
10588 case $host_os in
10589 cygwin*)
10590 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10593 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10595 mingw* | cegcc*)
10596 # MinGW DLLs use traditional 'lib' prefix
10597 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10599 pw32*)
10600 # pw32 DLLs use 'pw' prefix rather than 'lib'
10601 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10603 esac
10607 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10609 esac
10610 dynamic_linker='Win32 ld.exe'
10611 # FIXME: first we should search . and the directory the executable is in
10612 shlibpath_var=PATH
10615 darwin* | rhapsody*)
10616 dynamic_linker="$host_os dyld"
10617 version_type=darwin
10618 need_lib_prefix=no
10619 need_version=no
10620 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621 soname_spec='${libname}${release}${major}$shared_ext'
10622 shlibpath_overrides_runpath=yes
10623 shlibpath_var=DYLD_LIBRARY_PATH
10624 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10626 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10630 dgux*)
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10639 freebsd* | dragonfly*)
10640 # DragonFly does not have aout. When/if they implement a new
10641 # versioning mechanism, adjust this.
10642 if test -x /usr/bin/objformat; then
10643 objformat=`/usr/bin/objformat`
10644 else
10645 case $host_os in
10646 freebsd[23].*) objformat=aout ;;
10647 *) objformat=elf ;;
10648 esac
10650 version_type=freebsd-$objformat
10651 case $version_type in
10652 freebsd-elf*)
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654 need_version=no
10655 need_lib_prefix=no
10657 freebsd-*)
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659 need_version=yes
10661 esac
10662 shlibpath_var=LD_LIBRARY_PATH
10663 case $host_os in
10664 freebsd2.*)
10665 shlibpath_overrides_runpath=yes
10667 freebsd3.[01]* | freebsdelf3.[01]*)
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10671 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673 shlibpath_overrides_runpath=no
10674 hardcode_into_libs=yes
10676 *) # from 4.6 on, and DragonFly
10677 shlibpath_overrides_runpath=yes
10678 hardcode_into_libs=yes
10680 esac
10683 gnu*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 hardcode_into_libs=yes
10693 haiku*)
10694 version_type=linux
10695 need_lib_prefix=no
10696 need_version=no
10697 dynamic_linker="$host_os runtime_loader"
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10702 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703 hardcode_into_libs=yes
10706 hpux9* | hpux10* | hpux11*)
10707 # Give a soname corresponding to the major version so that dld.sl refuses to
10708 # link against other versions.
10709 version_type=sunos
10710 need_lib_prefix=no
10711 need_version=no
10712 case $host_cpu in
10713 ia64*)
10714 shrext_cmds='.so'
10715 hardcode_into_libs=yes
10716 dynamic_linker="$host_os dld.so"
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 if test "X$HPUX_IA64_MODE" = X32; then
10722 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723 else
10724 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10726 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10728 hppa*64*)
10729 shrext_cmds='.sl'
10730 hardcode_into_libs=yes
10731 dynamic_linker="$host_os dld.sl"
10732 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10740 shrext_cmds='.sl'
10741 dynamic_linker="$host_os dld.sl"
10742 shlibpath_var=SHLIB_PATH
10743 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10747 esac
10748 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749 postinstall_cmds='chmod 555 $lib'
10750 # or fails outright, so override atomically:
10751 install_override_mode=555
10754 interix[3-9]*)
10755 version_type=linux
10756 need_lib_prefix=no
10757 need_version=no
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath=no
10763 hardcode_into_libs=yes
10766 irix5* | irix6* | nonstopux*)
10767 case $host_os in
10768 nonstopux*) version_type=nonstopux ;;
10770 if test "$lt_cv_prog_gnu_ld" = yes; then
10771 version_type=linux
10772 else
10773 version_type=irix
10774 fi ;;
10775 esac
10776 need_lib_prefix=no
10777 need_version=no
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780 case $host_os in
10781 irix5* | nonstopux*)
10782 libsuff= shlibsuff=
10785 case $LD in # libtool.m4 will add one of these switches to LD
10786 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787 libsuff= shlibsuff= libmagic=32-bit;;
10788 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789 libsuff=32 shlibsuff=N32 libmagic=N32;;
10790 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792 *) libsuff= shlibsuff= libmagic=never-match;;
10793 esac
10795 esac
10796 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797 shlibpath_overrides_runpath=no
10798 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800 hardcode_into_libs=yes
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805 dynamic_linker=no
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810 version_type=linux
10811 need_lib_prefix=no
10812 need_version=no
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=no
10819 # Some binutils ld are patched to set DT_RUNPATH
10820 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 lt_cv_shlibpath_overrides_runpath=no
10824 save_LDFLAGS=$LDFLAGS
10825 save_libdir=$libdir
10826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828 if test x$gcc_no_link = xyes; then
10829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10835 main ()
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844 lt_cv_shlibpath_overrides_runpath=yes
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LDFLAGS=$save_LDFLAGS
10850 libdir=$save_libdir
10854 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10856 # This implies no fast_install, which is unacceptable.
10857 # Some rework will be needed to allow for fast_install
10858 # before this can be enabled.
10859 hardcode_into_libs=yes
10861 # Append ld.so.conf contents to the search path
10862 if test -f /etc/ld.so.conf; then
10863 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' ' '`
10864 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10867 # We used to test for /lib/ld.so.1 and disable shared libraries on
10868 # powerpc, because MkLinux only supported shared libraries with the
10869 # GNU dynamic linker. Since this was broken with cross compilers,
10870 # most powerpc-linux boxes support dynamic linking these days and
10871 # people can always --disable-shared, the test was removed, and we
10872 # assume the GNU/Linux dynamic linker is in use.
10873 dynamic_linker='GNU/Linux ld.so'
10876 netbsd*)
10877 version_type=sunos
10878 need_lib_prefix=no
10879 need_version=no
10880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883 dynamic_linker='NetBSD (a.out) ld.so'
10884 else
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 dynamic_linker='NetBSD ld.elf_so'
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10894 newsos6)
10895 version_type=linux
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10901 *nto* | *qnx*)
10902 version_type=qnx
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10910 dynamic_linker='ldqnx.so'
10913 openbsd*)
10914 version_type=sunos
10915 sys_lib_dlsearch_path_spec="/usr/lib"
10916 need_lib_prefix=no
10917 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918 case $host_os in
10919 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10920 *) need_version=no ;;
10921 esac
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926 case $host_os in
10927 openbsd2.[89] | openbsd2.[89].*)
10928 shlibpath_overrides_runpath=no
10931 shlibpath_overrides_runpath=yes
10933 esac
10934 else
10935 shlibpath_overrides_runpath=yes
10939 os2*)
10940 libname_spec='$name'
10941 shrext_cmds=".dll"
10942 need_lib_prefix=no
10943 library_names_spec='$libname${shared_ext} $libname.a'
10944 dynamic_linker='OS/2 ld.exe'
10945 shlibpath_var=LIBPATH
10948 osf3* | osf4* | osf5*)
10949 version_type=osf
10950 need_lib_prefix=no
10951 need_version=no
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10959 rdos*)
10960 dynamic_linker=no
10963 solaris*)
10964 version_type=linux
10965 need_lib_prefix=no
10966 need_version=no
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10972 # ldd complains unless libraries are executable
10973 postinstall_cmds='chmod +x $lib'
10976 sunos4*)
10977 version_type=sunos
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 if test "$with_gnu_ld" = yes; then
10983 need_lib_prefix=no
10985 need_version=yes
10988 sysv4 | sysv4.3*)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 case $host_vendor in
10994 sni)
10995 shlibpath_overrides_runpath=no
10996 need_lib_prefix=no
10997 runpath_var=LD_RUN_PATH
10999 siemens)
11000 need_lib_prefix=no
11002 motorola)
11003 need_lib_prefix=no
11004 need_version=no
11005 shlibpath_overrides_runpath=no
11006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11008 esac
11011 sysv4*MP*)
11012 if test -d /usr/nec ;then
11013 version_type=linux
11014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015 soname_spec='$libname${shared_ext}.$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021 version_type=freebsd-elf
11022 need_lib_prefix=no
11023 need_version=no
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 hardcode_into_libs=yes
11029 if test "$with_gnu_ld" = yes; then
11030 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031 else
11032 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033 case $host_os in
11034 sco3.2v5*)
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11037 esac
11039 sys_lib_dlsearch_path_spec='/usr/lib'
11042 tpf*)
11043 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 version_type=linux
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11053 uts4*)
11054 version_type=linux
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11061 dynamic_linker=no
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175 test -n "$runpath_var" ||
11176 test "X$hardcode_automatic" = "Xyes" ; then
11178 # We can hardcode non-existent directories.
11179 if test "$hardcode_direct" != no &&
11180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181 # have to relink, otherwise we might link with an installed library
11182 # when we should be linking with a yet-to-be-installed one
11183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184 test "$hardcode_minus_L" != no; then
11185 # Linking always hardcodes the temporary library directory.
11186 hardcode_action=relink
11187 else
11188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189 hardcode_action=immediate
11191 else
11192 # We cannot hardcode anything, or else we can only hardcode existing
11193 # directories.
11194 hardcode_action=unsupported
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11199 if test "$hardcode_action" = relink ||
11200 test "$inherit_rpath" = yes; then
11201 # Fast installation is not supported
11202 enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204 test "$enable_shared" = no; then
11205 # Fast installation is not necessary
11206 enable_fast_install=needless
11214 if test "x$enable_dlopen" != xyes; then
11215 enable_dlopen=unknown
11216 enable_dlopen_self=unknown
11217 enable_dlopen_self_static=unknown
11218 else
11219 lt_cv_dlopen=no
11220 lt_cv_dlopen_libs=
11222 case $host_os in
11223 beos*)
11224 lt_cv_dlopen="load_add_on"
11225 lt_cv_dlopen_libs=
11226 lt_cv_dlopen_self=yes
11229 mingw* | pw32* | cegcc*)
11230 lt_cv_dlopen="LoadLibrary"
11231 lt_cv_dlopen_libs=
11234 cygwin*)
11235 lt_cv_dlopen="dlopen"
11236 lt_cv_dlopen_libs=
11239 darwin*)
11240 # if libdl is installed we need to link against it
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11262 main ()
11264 return dlopen ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_dl_dlopen=yes
11271 else
11272 ac_cv_lib_dl_dlopen=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11284 lt_cv_dlopen="dyld"
11285 lt_cv_dlopen_libs=
11286 lt_cv_dlopen_self=yes
11293 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295 lt_cv_dlopen="shl_load"
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11318 main ()
11320 return shl_load ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_dld_shl_load=yes
11327 else
11328 ac_cv_lib_dld_shl_load=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341 lt_cv_dlopen="dlopen"
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11364 main ()
11366 return dlopen ();
11368 return 0;
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_dl_dlopen=yes
11373 else
11374 ac_cv_lib_dl_dlopen=no
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11406 main ()
11408 return dlopen ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_svld_dlopen=yes
11415 else
11416 ac_cv_lib_svld_dlopen=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11448 main ()
11450 return dld_link ();
11452 return 0;
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dld_dld_link=yes
11457 else
11458 ac_cv_lib_dld_dld_link=no
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11486 esac
11488 if test "x$lt_cv_dlopen" != xno; then
11489 enable_dlopen=yes
11490 else
11491 enable_dlopen=no
11494 case $lt_cv_dlopen in
11495 dlopen)
11496 save_CPPFLAGS="$CPPFLAGS"
11497 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11499 save_LDFLAGS="$LDFLAGS"
11500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11502 save_LIBS="$LIBS"
11503 LIBS="$lt_cv_dlopen_libs $LIBS"
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 if test "$cross_compiling" = yes; then :
11511 lt_cv_dlopen_self=cross
11512 else
11513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514 lt_status=$lt_dlunknown
11515 cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11523 #include <stdio.h>
11525 #ifdef RTLD_GLOBAL
11526 # define LT_DLGLOBAL RTLD_GLOBAL
11527 #else
11528 # ifdef DL_GLOBAL
11529 # define LT_DLGLOBAL DL_GLOBAL
11530 # else
11531 # define LT_DLGLOBAL 0
11532 # endif
11533 #endif
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536 find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 # ifdef RTLD_LAZY
11539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # else
11541 # ifdef DL_LAZY
11542 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # else
11544 # ifdef RTLD_NOW
11545 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # else
11547 # ifdef DL_NOW
11548 # define LT_DLLAZY_OR_NOW DL_NOW
11549 # else
11550 # define LT_DLLAZY_OR_NOW 0
11551 # endif
11552 # endif
11553 # endif
11554 # endif
11555 #endif
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558 correspondingly for the symbols needed. */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11563 void fnord () { int i=42; }
11564 int main ()
11566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567 int status = $lt_dlunknown;
11569 if (self)
11571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 else
11574 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11575 else puts (dlerror ());
11577 /* dlclose (self); */
11579 else
11580 puts (dlerror ());
11582 return status;
11584 _LT_EOF
11585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586 (eval $ac_link) 2>&5
11587 ac_status=$?
11588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590 (./conftest; exit; ) >&5 2>/dev/null
11591 lt_status=$?
11592 case x$lt_status in
11593 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596 esac
11597 else :
11598 # compilation failed
11599 lt_cv_dlopen_self=no
11602 rm -fr conftest*
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11609 if test "x$lt_cv_dlopen_self" = xyes; then
11610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 if test "$cross_compiling" = yes; then :
11617 lt_cv_dlopen_self_static=cross
11618 else
11619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620 lt_status=$lt_dlunknown
11621 cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11629 #include <stdio.h>
11631 #ifdef RTLD_GLOBAL
11632 # define LT_DLGLOBAL RTLD_GLOBAL
11633 #else
11634 # ifdef DL_GLOBAL
11635 # define LT_DLGLOBAL DL_GLOBAL
11636 # else
11637 # define LT_DLGLOBAL 0
11638 # endif
11639 #endif
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642 find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 # ifdef RTLD_LAZY
11645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11646 # else
11647 # ifdef DL_LAZY
11648 # define LT_DLLAZY_OR_NOW DL_LAZY
11649 # else
11650 # ifdef RTLD_NOW
11651 # define LT_DLLAZY_OR_NOW RTLD_NOW
11652 # else
11653 # ifdef DL_NOW
11654 # define LT_DLLAZY_OR_NOW DL_NOW
11655 # else
11656 # define LT_DLLAZY_OR_NOW 0
11657 # endif
11658 # endif
11659 # endif
11660 # endif
11661 #endif
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664 correspondingly for the symbols needed. */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11669 void fnord () { int i=42; }
11670 int main ()
11672 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673 int status = $lt_dlunknown;
11675 if (self)
11677 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11678 else
11680 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11681 else puts (dlerror ());
11683 /* dlclose (self); */
11685 else
11686 puts (dlerror ());
11688 return status;
11690 _LT_EOF
11691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692 (eval $ac_link) 2>&5
11693 ac_status=$?
11694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696 (./conftest; exit; ) >&5 2>/dev/null
11697 lt_status=$?
11698 case x$lt_status in
11699 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702 esac
11703 else :
11704 # compilation failed
11705 lt_cv_dlopen_self_static=no
11708 rm -fr conftest*
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11716 CPPFLAGS="$save_CPPFLAGS"
11717 LDFLAGS="$save_LDFLAGS"
11718 LIBS="$save_LIBS"
11720 esac
11722 case $lt_cv_dlopen_self in
11723 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724 *) enable_dlopen_self=unknown ;;
11725 esac
11727 case $lt_cv_dlopen_self_static in
11728 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729 *) enable_dlopen_self_static=unknown ;;
11730 esac
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760 case $host_os in
11761 darwin*)
11762 if test -n "$STRIP" ; then
11763 striplib="$STRIP -x"
11764 old_striplib="$STRIP -S"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11776 esac
11790 # Report which library types will actually be built
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798 test "$can_build_shared" = "no" && enable_shared=no
11800 # On AIX, shared libraries and static libraries use the same namespace, and
11801 # are all built from PIC.
11802 case $host_os in
11803 aix3*)
11804 test "$enable_shared" = yes && enable_static=no
11805 if test -n "$RANLIB"; then
11806 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807 postinstall_cmds='$RANLIB $lib'
11811 aix[4-9]*)
11812 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813 test "$enable_shared" = yes && enable_static=no
11816 esac
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822 # Make sure either enable_shared or enable_static is yes.
11823 test "$enable_shared" = yes || enable_static=yes
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11837 CC="$lt_save_CC"
11839 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841 (test "X$CXX" != "Xg++"))) ; then
11842 ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 # Double quotes because CXXCPP needs to be expanded
11854 for CXXCPP in "$CXX -E" "/lib/cpp"
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11876 else
11877 # Broken: fails on valid input.
11878 continue
11880 rm -f conftest.err conftest.$ac_ext
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11896 rm -f conftest.err conftest.$ac_ext
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902 break
11905 done
11906 ac_cv_prog_CXXCPP=$CXXCPP
11909 CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911 ac_cv_prog_CXXCPP=$CXXCPP
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11918 # Use a header file that comes with gcc, so configuring glibc
11919 # with a fresh cross-compiler works.
11920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 # <limits.h> exists even on freestanding compilers.
11922 # On the NeXT, cc -E runs the code through the compiler's parser,
11923 # not just through cpp. "Syntax error" is here to catch this case.
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931 Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11935 else
11936 # Broken: fails on valid input.
11937 continue
11939 rm -f conftest.err conftest.$ac_ext
11941 # OK, works on sane cases. Now check whether nonexistent headers
11942 # can be detected and how.
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 # Broken: success on invalid input.
11949 continue
11950 else
11951 # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11955 rm -f conftest.err conftest.$ac_ext
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11962 else
11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11975 else
11976 _lt_caught_CXX_error=yes
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working. Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022 # Code to be used in simple compile tests
12023 lt_simple_compile_test_code="int some_variable = 0;"
12025 # Code to be used in simple link tests
12026 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12045 # save warnings/boilerplate of simple test code
12046 ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12052 ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12059 # Allow CC to be a program name with arguments.
12060 lt_save_CC=$CC
12061 lt_save_LD=$LD
12062 lt_save_GCC=$GCC
12063 GCC=$GXX
12064 lt_save_with_gnu_ld=$with_gnu_ld
12065 lt_save_path_LD=$lt_cv_path_LD
12066 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068 else
12069 $as_unset lt_cv_prog_gnu_ld
12071 if test -n "${lt_cv_path_LDCXX+set}"; then
12072 lt_cv_path_LD=$lt_cv_path_LDCXX
12073 else
12074 $as_unset lt_cv_path_LD
12076 test -z "${LDCXX+set}" || LD=$LDCXX
12077 CC=${CXX-"c++"}
12078 compiler=$CC
12079 compiler_CXX=$CC
12080 for cc_temp in $compiler""; do
12081 case $cc_temp in
12082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084 \-*) ;;
12085 *) break;;
12086 esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12091 if test -n "$compiler"; then
12092 # We don't want -fno-exception when compiling C++ code, so set the
12093 # no_builtin_flag separately
12094 if test "$GXX" = yes; then
12095 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096 else
12097 lt_prog_compiler_no_builtin_flag_CXX=
12100 if test "$GXX" = yes; then
12101 # Set up default GNU C++ configuration
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109 with_gnu_ld=no
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114 # Check if gcc -print-prog-name=ld gives a path.
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117 case $host in
12118 *-*-mingw*)
12119 # gcc leaves a trailing carriage return which upsets mingw
12120 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12122 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123 esac
12124 case $ac_prog in
12125 # Accept absolute paths.
12126 [\\/]* | ?:[\\/]*)
12127 re_direlt='/[^/][^/]*/\.\./'
12128 # Canonicalize the pathname of ld
12129 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132 done
12133 test -z "$LD" && LD="$ac_prog"
12136 # If it fails, then pretend we aren't using GCC.
12137 ac_prog=ld
12140 # If it is relative, then search for the first ld in PATH.
12141 with_gnu_ld=unknown
12143 esac
12144 elif test "$with_gnu_ld" = yes; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 if test -z "$LD"; then
12155 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156 for ac_dir in $PATH; do
12157 IFS="$lt_save_ifs"
12158 test -z "$ac_dir" && ac_dir=.
12159 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160 lt_cv_path_LD="$ac_dir/$ac_prog"
12161 # Check to see if the program is GNU ld. I'd rather use --version,
12162 # but apparently some variants of GNU ld only accept -v.
12163 # Break only if it was the GNU/non-GNU ld that we prefer.
12164 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165 *GNU* | *'with BFD'*)
12166 test "$with_gnu_ld" != no && break
12169 test "$with_gnu_ld" != yes && break
12171 esac
12173 done
12174 IFS="$lt_save_ifs"
12175 else
12176 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197 lt_cv_prog_gnu_ld=yes
12200 lt_cv_prog_gnu_ld=no
12202 esac
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12214 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215 # archiving commands below assume that GNU ld is being used.
12216 if test "$with_gnu_ld" = yes; then
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218 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'
12220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12223 # If archive_cmds runs LD, not CC, wlarc should be empty
12224 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225 # investigate it a little bit more. (MM)
12226 wlarc='${wl}'
12228 # ancient GNU ld didn't support --whole-archive et. al.
12229 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230 $GREP 'no-whole-archive' > /dev/null; then
12231 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232 else
12233 whole_archive_flag_spec_CXX=
12235 else
12236 with_gnu_ld=no
12237 wlarc=
12239 # A generic and very simple default shared library creation
12240 # command for GNU C++ for the case where it uses the native
12241 # linker, instead of GNU ld. If possible, this setting should
12242 # overridden to take advantage of the native linker features on
12243 # the platform it is being used on.
12244 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12247 # Commands to make compiler produce verbose output that lists
12248 # what "hidden" libraries, object files and flags are used when
12249 # linking a shared library.
12250 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12252 else
12253 GXX=no
12254 with_gnu_ld=no
12255 wlarc=
12258 # PORTME: fill in a description of your system's C++ link characteristics
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261 ld_shlibs_CXX=yes
12262 case $host_os in
12263 aix3*)
12264 # FIXME: insert proper C++ library support
12265 ld_shlibs_CXX=no
12267 aix[4-9]*)
12268 if test "$host_cpu" = ia64; then
12269 # On IA64, the linker does run time linking by default, so we don't
12270 # have to do anything special.
12271 aix_use_runtimelinking=no
12272 exp_sym_flag='-Bexport'
12273 no_entry_flag=""
12274 else
12275 aix_use_runtimelinking=no
12277 # Test if we are trying to use run time linking or normal
12278 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279 # need to do runtime linking.
12280 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281 for ld_flag in $LDFLAGS; do
12282 case $ld_flag in
12283 *-brtl*)
12284 aix_use_runtimelinking=yes
12285 break
12287 esac
12288 done
12290 esac
12292 exp_sym_flag='-bexport'
12293 no_entry_flag='-bnoentry'
12296 # When large executables or shared objects are built, AIX ld can
12297 # have problems creating the table of contents. If linking a library
12298 # or program results in "error TOC overflow" add -mminimal-toc to
12299 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12300 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12302 archive_cmds_CXX=''
12303 hardcode_direct_CXX=yes
12304 hardcode_direct_absolute_CXX=yes
12305 hardcode_libdir_separator_CXX=':'
12306 link_all_deplibs_CXX=yes
12307 file_list_spec_CXX='${wl}-f,'
12309 if test "$GXX" = yes; then
12310 case $host_os in aix4.[012]|aix4.[012].*)
12311 # We only want to do this on AIX 4.2 and lower, the check
12312 # below for broken collect2 doesn't work under 4.3+
12313 collect2name=`${CC} -print-prog-name=collect2`
12314 if test -f "$collect2name" &&
12315 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316 then
12317 # We have reworked collect2
12319 else
12320 # We have old collect2
12321 hardcode_direct_CXX=unsupported
12322 # It fails to find uninstalled libraries when the uninstalled
12323 # path is not listed in the libpath. Setting hardcode_minus_L
12324 # to unsupported forces relinking
12325 hardcode_minus_L_CXX=yes
12326 hardcode_libdir_flag_spec_CXX='-L$libdir'
12327 hardcode_libdir_separator_CXX=
12329 esac
12330 shared_flag='-shared'
12331 if test "$aix_use_runtimelinking" = yes; then
12332 shared_flag="$shared_flag "'${wl}-G'
12334 else
12335 # not using gcc
12336 if test "$host_cpu" = ia64; then
12337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338 # chokes on -Wl,-G. The following line is correct:
12339 shared_flag='-G'
12340 else
12341 if test "$aix_use_runtimelinking" = yes; then
12342 shared_flag='${wl}-G'
12343 else
12344 shared_flag='${wl}-bM:SRE'
12349 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350 # It seems that -bexpall does not export symbols beginning with
12351 # underscore (_), so it is better to generate a list of symbols to
12352 # export.
12353 always_export_symbols_CXX=yes
12354 if test "$aix_use_runtimelinking" = yes; then
12355 # Warning - without using the other runtime loading flags (-brtl),
12356 # -berok will link without error, but may produce a broken library.
12357 allow_undefined_flag_CXX='-berok'
12358 # Determine the default libpath from the value encoded in an empty
12359 # executable.
12360 if test x$gcc_no_link = xyes; then
12361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12367 main ()
12371 return 0;
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12376 lt_aix_libpath_sed='
12377 /Import File Strings/,/^$/ {
12378 /^0/ {
12379 s/^0 *\(.*\)$/\1/
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12393 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12395 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"
12396 else
12397 if test "$host_cpu" = ia64; then
12398 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399 allow_undefined_flag_CXX="-z nodefs"
12400 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"
12401 else
12402 # Determine the default libpath from the value encoded in an
12403 # empty executable.
12404 if test x$gcc_no_link = xyes; then
12405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12411 main ()
12415 return 0;
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12420 lt_aix_libpath_sed='
12421 /Import File Strings/,/^$/ {
12422 /^0/ {
12423 s/^0 *\(.*\)$/\1/
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12437 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438 # Warning - without using the other run time loading flags,
12439 # -berok will link without error, but may produce a broken library.
12440 no_undefined_flag_CXX=' ${wl}-bernotok'
12441 allow_undefined_flag_CXX=' ${wl}-berok'
12442 if test "$with_gnu_ld" = yes; then
12443 # We only use this code for GNU lds that support --whole-archive.
12444 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445 else
12446 # Exported symbols can be pulled into shared objects from archives
12447 whole_archive_flag_spec_CXX='$convenience'
12449 archive_cmds_need_lc_CXX=yes
12450 # This is similar to how AIX traditionally builds its shared
12451 # libraries.
12452 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'
12457 beos*)
12458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459 allow_undefined_flag_CXX=unsupported
12460 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461 # support --undefined. This deserves some investigation. FIXME
12462 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463 else
12464 ld_shlibs_CXX=no
12468 chorus*)
12469 case $cc_basename in
12471 # FIXME: insert proper C++ library support
12472 ld_shlibs_CXX=no
12474 esac
12477 cygwin* | mingw* | pw32* | cegcc*)
12478 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479 # as there is no search path for DLLs.
12480 hardcode_libdir_flag_spec_CXX='-L$libdir'
12481 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482 allow_undefined_flag_CXX=unsupported
12483 always_export_symbols_CXX=no
12484 enable_shared_with_static_runtimes_CXX=yes
12486 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487 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'
12488 # If the export-symbols file already is a .def file (1st line
12489 # is EXPORTS), use it as is; otherwise, prepend...
12490 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491 cp $export_symbols $output_objdir/$soname.def;
12492 else
12493 echo EXPORTS > $output_objdir/$soname.def;
12494 cat $export_symbols >> $output_objdir/$soname.def;
12496 $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'
12497 else
12498 ld_shlibs_CXX=no
12501 darwin* | rhapsody*)
12504 archive_cmds_need_lc_CXX=no
12505 hardcode_direct_CXX=no
12506 hardcode_automatic_CXX=yes
12507 hardcode_shlibpath_var_CXX=unsupported
12508 if test "$lt_cv_ld_force_load" = "yes"; then
12509 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\"`'
12510 else
12511 whole_archive_flag_spec_CXX=''
12513 link_all_deplibs_CXX=yes
12514 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515 case $cc_basename in
12516 ifort*) _lt_dar_can_shared=yes ;;
12517 *) _lt_dar_can_shared=$GCC ;;
12518 esac
12519 if test "$_lt_dar_can_shared" = "yes"; then
12520 output_verbose_link_cmd=func_echo_all
12521 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}"
12522 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523 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}"
12524 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}"
12525 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526 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}"
12527 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}"
12530 else
12531 ld_shlibs_CXX=no
12536 dgux*)
12537 case $cc_basename in
12538 ec++*)
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12542 ghcx*)
12543 # Green Hills C++ Compiler
12544 # FIXME: insert proper C++ library support
12545 ld_shlibs_CXX=no
12548 # FIXME: insert proper C++ library support
12549 ld_shlibs_CXX=no
12551 esac
12554 freebsd2.*)
12555 # C++ shared libraries reported to be fairly broken before
12556 # switch to ELF
12557 ld_shlibs_CXX=no
12560 freebsd-elf*)
12561 archive_cmds_need_lc_CXX=no
12564 freebsd* | dragonfly*)
12565 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566 # conventions
12567 ld_shlibs_CXX=yes
12570 gnu*)
12573 haiku*)
12574 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575 link_all_deplibs_CXX=yes
12578 hpux9*)
12579 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580 hardcode_libdir_separator_CXX=:
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12582 hardcode_direct_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12587 case $cc_basename in
12588 CC*)
12589 # FIXME: insert proper C++ library support
12590 ld_shlibs_CXX=no
12592 aCC*)
12593 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'
12594 # Commands to make compiler produce verbose output that lists
12595 # what "hidden" libraries, object files and flags are used when
12596 # linking a shared library.
12598 # There doesn't appear to be a way to prevent this compiler from
12599 # explicitly linking system object files so we need to strip them
12600 # from the output so that they don't get included in the library
12601 # dependencies.
12602 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"'
12605 if test "$GXX" = yes; then
12606 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'
12607 else
12608 # FIXME: insert proper C++ library support
12609 ld_shlibs_CXX=no
12612 esac
12615 hpux10*|hpux11*)
12616 if test $with_gnu_ld = no; then
12617 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618 hardcode_libdir_separator_CXX=:
12620 case $host_cpu in
12621 hppa*64*|ia64*)
12624 export_dynamic_flag_spec_CXX='${wl}-E'
12626 esac
12628 case $host_cpu in
12629 hppa*64*|ia64*)
12630 hardcode_direct_CXX=no
12631 hardcode_shlibpath_var_CXX=no
12634 hardcode_direct_CXX=yes
12635 hardcode_direct_absolute_CXX=yes
12636 hardcode_minus_L_CXX=yes # Not in the search PATH,
12637 # but as the default
12638 # location of the library.
12640 esac
12642 case $cc_basename in
12643 CC*)
12644 # FIXME: insert proper C++ library support
12645 ld_shlibs_CXX=no
12647 aCC*)
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652 ia64*)
12653 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12658 esac
12659 # Commands to make compiler produce verbose output that lists
12660 # what "hidden" libraries, object files and flags are used when
12661 # linking a shared library.
12663 # There doesn't appear to be a way to prevent this compiler from
12664 # explicitly linking system object files so we need to strip them
12665 # from the output so that they don't get included in the library
12666 # dependencies.
12667 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"'
12670 if test "$GXX" = yes; then
12671 if test $with_gnu_ld = no; then
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12676 ia64*)
12677 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12680 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'
12682 esac
12684 else
12685 # FIXME: insert proper C++ library support
12686 ld_shlibs_CXX=no
12689 esac
12692 interix[3-9]*)
12693 hardcode_direct_CXX=no
12694 hardcode_shlibpath_var_CXX=no
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}-E'
12697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698 # Instead, shared libraries are loaded at an image base (0x10000000 by
12699 # default) and relocated if they conflict, which is a slow very memory
12700 # consuming and fragmenting process. To avoid this, we pick a random,
12701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12703 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'
12704 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'
12706 irix5* | irix6*)
12707 case $cc_basename in
12708 CC*)
12709 # SGI C++
12710 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'
12712 # Archives containing C++ object files must be created using
12713 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12714 # necessary to make sure instantiated templates are included
12715 # in the archive.
12716 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12719 if test "$GXX" = yes; then
12720 if test "$with_gnu_ld" = no; then
12721 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'
12722 else
12723 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'
12726 link_all_deplibs_CXX=yes
12728 esac
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730 hardcode_libdir_separator_CXX=:
12731 inherit_rpath_CXX=yes
12734 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735 case $cc_basename in
12736 KCC*)
12737 # Kuck and Associates, Inc. (KAI) C++ Compiler
12739 # KCC will only create a shared library if the output file
12740 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741 # to its proper name (with version) after linking.
12742 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'
12743 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'
12744 # Commands to make compiler produce verbose output that lists
12745 # what "hidden" libraries, object files and flags are used when
12746 # linking a shared library.
12748 # There doesn't appear to be a way to prevent this compiler from
12749 # explicitly linking system object files so we need to strip them
12750 # from the output so that they don't get included in the library
12751 # dependencies.
12752 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"'
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 # Archives containing C++ object files must be created using
12758 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12761 icpc* | ecpc* )
12762 # Intel C++
12763 with_gnu_ld=yes
12764 # version 8.0 and above of icpc choke on multiply defined symbols
12765 # if we add $predep_objects and $postdep_objects, however 7.1 and
12766 # earlier do not add the objects themselves.
12767 case `$CC -V 2>&1` in
12768 *"Version 7."*)
12769 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770 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'
12772 *) # Version 8.0 or newer
12773 tmp_idyn=
12774 case $host_cpu in
12775 ia64*) tmp_idyn=' -i_dynamic';;
12776 esac
12777 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 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'
12780 esac
12781 archive_cmds_need_lc_CXX=no
12782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12786 pgCC* | pgcpp*)
12787 # Portland Group C++ compiler
12788 case `$CC -V` in
12789 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790 prelink_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794 old_archive_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798 $RANLIB $oldlib'
12799 archive_cmds_CXX='tpldir=Template.dir~
12800 rm -rf $tpldir~
12801 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803 archive_expsym_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806 $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'
12808 *) # Version 6 and above use weak symbols
12809 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 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'
12812 esac
12814 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 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'
12818 cxx*)
12819 # Compaq C++
12820 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 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'
12823 runpath_var=LD_RUN_PATH
12824 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825 hardcode_libdir_separator_CXX=:
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 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'
12837 xl* | mpixl* | bgxl*)
12838 # IBM XL 8.0 on PPC, with GNU ld
12839 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 if test "x$supports_anon_versioning" = xyes; then
12843 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845 echo "local: *; };" >> $output_objdir/$libname.ver~
12846 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12850 case `$CC -V 2>&1 | sed 5q` in
12851 *Sun\ C*)
12852 # Sun C++ 5.9
12853 no_undefined_flag_CXX=' -zdefs'
12854 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855 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'
12856 hardcode_libdir_flag_spec_CXX='-R$libdir'
12857 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'
12858 compiler_needs_object_CXX=yes
12860 # Not sure whether something based on
12861 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862 # would be better.
12863 output_verbose_link_cmd='func_echo_all'
12865 # Archives containing C++ object files must be created using
12866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12867 # necessary to make sure instantiated templates are included
12868 # in the archive.
12869 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12871 esac
12873 esac
12876 lynxos*)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12881 m88k*)
12882 # FIXME: insert proper C++ library support
12883 ld_shlibs_CXX=no
12886 mvs*)
12887 case $cc_basename in
12888 cxx*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12893 # FIXME: insert proper C++ library support
12894 ld_shlibs_CXX=no
12896 esac
12899 netbsd*)
12900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902 wlarc=
12903 hardcode_libdir_flag_spec_CXX='-R$libdir'
12904 hardcode_direct_CXX=yes
12905 hardcode_shlibpath_var_CXX=no
12907 # Workaround some broken pre-1.5 toolchains
12908 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12911 *nto* | *qnx*)
12912 ld_shlibs_CXX=yes
12915 openbsd2*)
12916 # C++ shared libraries are fairly broken
12917 ld_shlibs_CXX=no
12920 openbsd*)
12921 if test -f /usr/libexec/ld.so; then
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 hardcode_direct_absolute_CXX=yes
12925 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929 export_dynamic_flag_spec_CXX='${wl}-E'
12930 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12932 output_verbose_link_cmd=func_echo_all
12933 else
12934 ld_shlibs_CXX=no
12938 osf3* | osf4* | osf5*)
12939 case $cc_basename in
12940 KCC*)
12941 # Kuck and Associates, Inc. (KAI) C++ Compiler
12943 # KCC will only create a shared library if the output file
12944 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945 # to its proper name (with version) after linking.
12946 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'
12948 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949 hardcode_libdir_separator_CXX=:
12951 # Archives containing C++ object files must be created using
12952 # the KAI C++ compiler.
12953 case $host in
12954 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956 esac
12958 RCC*)
12959 # Rational C++ 2.4.1
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12963 cxx*)
12964 case $host in
12965 osf3*)
12966 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967 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'
12968 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12971 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972 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'
12973 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974 echo "-hidden">> $lib.exp~
12975 $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~
12976 $RM $lib.exp'
12977 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12979 esac
12981 hardcode_libdir_separator_CXX=:
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12987 # There doesn't appear to be a way to prevent this compiler from
12988 # explicitly linking system object files so we need to strip them
12989 # from the output so that they don't get included in the library
12990 # dependencies.
12991 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"'
12994 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996 case $host in
12997 osf3*)
12998 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'
13001 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'
13003 esac
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006 hardcode_libdir_separator_CXX=:
13008 # Commands to make compiler produce verbose output that lists
13009 # what "hidden" libraries, object files and flags are used when
13010 # linking a shared library.
13011 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13013 else
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13018 esac
13021 psos*)
13022 # FIXME: insert proper C++ library support
13023 ld_shlibs_CXX=no
13026 sunos4*)
13027 case $cc_basename in
13028 CC*)
13029 # Sun C++ 4.x
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13033 lcc*)
13034 # Lucid
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 # FIXME: insert proper C++ library support
13040 ld_shlibs_CXX=no
13042 esac
13045 solaris*)
13046 case $cc_basename in
13047 CC*)
13048 # Sun C++ 4.2, 5.x and Centerline C++
13049 archive_cmds_need_lc_CXX=yes
13050 no_undefined_flag_CXX=' -zdefs'
13051 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053 $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'
13055 hardcode_libdir_flag_spec_CXX='-R$libdir'
13056 hardcode_shlibpath_var_CXX=no
13057 case $host_os in
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13060 # The compiler driver will combine and reorder linker options,
13061 # but understands `-z linker_flag'.
13062 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13065 esac
13066 link_all_deplibs_CXX=yes
13068 output_verbose_link_cmd='func_echo_all'
13070 # Archives containing C++ object files must be created using
13071 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13072 # necessary to make sure instantiated templates are included
13073 # in the archive.
13074 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13076 gcx*)
13077 # Green Hills C++ Compiler
13078 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13080 # The C++ compiler must be used to create the archive.
13081 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13084 # GNU C++ compiler with Solaris linker
13085 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098 # platform.
13099 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110 case $host_os in
13111 solaris2.[0-5] | solaris2.[0-5].*) ;;
13113 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13115 esac
13118 esac
13121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 runpath_var='LD_RUN_PATH'
13127 case $cc_basename in
13128 CC*)
13129 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 esac
13139 sysv5* | sco3.2v5* | sco5v6*)
13140 # Note: We can NOT use -z defs as we might desire, because we do not
13141 # link with -lc, and that would cause any symbols used from libc to
13142 # always be unresolved, which means just about no library would
13143 # ever link correctly. If we're not using GNU ld we use -z text
13144 # though, which does catch some bad symbols but isn't as heavy-handed
13145 # as -z defs.
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 allow_undefined_flag_CXX='${wl}-z,nodefs'
13148 archive_cmds_need_lc_CXX=no
13149 hardcode_shlibpath_var_CXX=no
13150 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151 hardcode_libdir_separator_CXX=':'
13152 link_all_deplibs_CXX=yes
13153 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154 runpath_var='LD_RUN_PATH'
13156 case $cc_basename in
13157 CC*)
13158 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161 '"$old_archive_cmds_CXX"
13162 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163 '"$reload_cmds_CXX"
13166 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13169 esac
13172 tandem*)
13173 case $cc_basename in
13174 NCC*)
13175 # NonStop-UX NCC 3.20
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13180 # FIXME: insert proper C++ library support
13181 ld_shlibs_CXX=no
13183 esac
13186 vxworks*)
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13192 # FIXME: insert proper C++ library support
13193 ld_shlibs_CXX=no
13195 esac
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199 test "$ld_shlibs_CXX" = no && can_build_shared=no
13201 GCC_CXX="$GXX"
13202 LD_CXX="$LD"
13204 ## CAVEAT EMPTOR:
13205 ## There is no encapsulation within the following macros, do not change
13206 ## the running order or otherwise move them around unless you know exactly
13207 ## what you are doing...
13208 # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13218 public:
13219 Foo (void) { a = 0; }
13220 private:
13221 int a;
13223 _LT_EOF
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226 (eval $ac_compile) 2>&5
13227 ac_status=$?
13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229 test $ac_status = 0; }; then
13230 # Parse the compiler output and extract the necessary
13231 # objects, libraries and library flags.
13233 # Sentinel used to keep track of whether or not we are before
13234 # the conftest object file.
13235 pre_test_object_deps_done=no
13237 for p in `eval "$output_verbose_link_cmd"`; do
13238 case $p in
13240 -L* | -R* | -l*)
13241 # Some compilers place space between "-{L,R}" and the path.
13242 # Remove the space.
13243 if test $p = "-L" ||
13244 test $p = "-R"; then
13245 prev=$p
13246 continue
13247 else
13248 prev=
13251 if test "$pre_test_object_deps_done" = no; then
13252 case $p in
13253 -L* | -R*)
13254 # Internal compiler library paths should come after those
13255 # provided the user. The postdeps already come after the
13256 # user supplied libs so there is no need to process them.
13257 if test -z "$compiler_lib_search_path_CXX"; then
13258 compiler_lib_search_path_CXX="${prev}${p}"
13259 else
13260 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13263 # The "-l" case would never come before the object being
13264 # linked, so don't bother handling this case.
13265 esac
13266 else
13267 if test -z "$postdeps_CXX"; then
13268 postdeps_CXX="${prev}${p}"
13269 else
13270 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13275 *.$objext)
13276 # This assumes that the test object file only shows up
13277 # once in the compiler output.
13278 if test "$p" = "conftest.$objext"; then
13279 pre_test_object_deps_done=yes
13280 continue
13283 if test "$pre_test_object_deps_done" = no; then
13284 if test -z "$predep_objects_CXX"; then
13285 predep_objects_CXX="$p"
13286 else
13287 predep_objects_CXX="$predep_objects_CXX $p"
13289 else
13290 if test -z "$postdep_objects_CXX"; then
13291 postdep_objects_CXX="$p"
13292 else
13293 postdep_objects_CXX="$postdep_objects_CXX $p"
13298 *) ;; # Ignore the rest.
13300 esac
13301 done
13303 # Clean up.
13304 rm -f a.out a.exe
13305 else
13306 echo "libtool.m4: error: problem compiling CXX test program"
13309 $RM -f confest.$objext
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315 # hack all around it, let's just trust "g++" to DTRT.
13316 predep_objects_CXX=
13317 postdep_objects_CXX=
13318 postdeps_CXX=
13321 linux*)
13322 case `$CC -V 2>&1 | sed 5q` in
13323 *Sun\ C*)
13324 # Sun C++ 5.9
13326 # The more standards-conforming stlport4 library is
13327 # incompatible with the Cstd library. Avoid specifying
13328 # it if it's in CXXFLAGS. Ignore libCrun as
13329 # -library=stlport4 depends on it.
13330 case " $CXX $CXXFLAGS " in
13331 *" -library=stlport4 "*)
13332 solaris_use_stlport4=yes
13334 esac
13336 if test "$solaris_use_stlport4" != yes; then
13337 postdeps_CXX='-library=Cstd -library=Crun'
13340 esac
13343 solaris*)
13344 case $cc_basename in
13345 CC*)
13346 # The more standards-conforming stlport4 library is
13347 # incompatible with the Cstd library. Avoid specifying
13348 # it if it's in CXXFLAGS. Ignore libCrun as
13349 # -library=stlport4 depends on it.
13350 case " $CXX $CXXFLAGS " in
13351 *" -library=stlport4 "*)
13352 solaris_use_stlport4=yes
13354 esac
13356 # Adding this requires a known-good setup of shared libraries for
13357 # Sun compiler versions before 5.6, else PIC objects from an old
13358 # archive will be linked into the output, leading to subtle bugs.
13359 if test "$solaris_use_stlport4" != yes; then
13360 postdeps_CXX='-library=Cstd -library=Crun'
13363 esac
13365 esac
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371 compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13406 lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13413 # C++ specific cases for pic, static, wl, etc.
13414 if test "$GXX" = yes; then
13415 lt_prog_compiler_wl_CXX='-Wl,'
13416 lt_prog_compiler_static_CXX='-static'
13418 case $host_os in
13419 aix*)
13420 # All AIX code is PIC.
13421 if test "$host_cpu" = ia64; then
13422 # AIX 5 now supports IA64 processor
13423 lt_prog_compiler_static_CXX='-Bstatic'
13425 lt_prog_compiler_pic_CXX='-fPIC'
13428 amigaos*)
13429 case $host_cpu in
13430 powerpc)
13431 # see comment about AmigaOS4 .so support
13432 lt_prog_compiler_pic_CXX='-fPIC'
13434 m68k)
13435 # FIXME: we need at least 68020 code to build shared libraries, but
13436 # adding the `-m68020' flag to GCC prevents building anything better,
13437 # like `-m68040'.
13438 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13440 esac
13443 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444 # PIC is the default for these OSes.
13446 mingw* | cygwin* | os2* | pw32* | cegcc*)
13447 # This hack is so that the source file can tell whether it is being
13448 # built for inclusion in a dll (and should export symbols for example).
13449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450 # (--disable-auto-import) libraries
13451 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13453 darwin* | rhapsody*)
13454 # PIC is the default on this platform
13455 # Common symbols not allowed in MH_DYLIB files
13456 lt_prog_compiler_pic_CXX='-fno-common'
13458 *djgpp*)
13459 # DJGPP does not support shared libraries at all
13460 lt_prog_compiler_pic_CXX=
13462 haiku*)
13463 # PIC is the default for Haiku.
13464 # The "-static" flag exists, but is broken.
13465 lt_prog_compiler_static_CXX=
13467 interix[3-9]*)
13468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469 # Instead, we relocate shared libraries at runtime.
13471 sysv4*MP*)
13472 if test -d /usr/nec; then
13473 lt_prog_compiler_pic_CXX=-Kconform_pic
13476 hpux*)
13477 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13479 # sets the default TLS model and affects inlining.
13480 case $host_cpu in
13481 hppa*64*)
13484 lt_prog_compiler_pic_CXX='-fPIC'
13486 esac
13488 *qnx* | *nto*)
13489 # QNX uses GNU C++, but need to define -shared option too, otherwise
13490 # it will coredump.
13491 lt_prog_compiler_pic_CXX='-fPIC -shared'
13494 lt_prog_compiler_pic_CXX='-fPIC'
13496 esac
13497 else
13498 case $host_os in
13499 aix[4-9]*)
13500 # All AIX code is PIC.
13501 if test "$host_cpu" = ia64; then
13502 # AIX 5 now supports IA64 processor
13503 lt_prog_compiler_static_CXX='-Bstatic'
13504 else
13505 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13508 chorus*)
13509 case $cc_basename in
13510 cxch68*)
13511 # Green Hills C++ Compiler
13512 # _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"
13514 esac
13516 dgux*)
13517 case $cc_basename in
13518 ec++*)
13519 lt_prog_compiler_pic_CXX='-KPIC'
13521 ghcx*)
13522 # Green Hills C++ Compiler
13523 lt_prog_compiler_pic_CXX='-pic'
13527 esac
13529 freebsd* | dragonfly*)
13530 # FreeBSD uses GNU C++
13532 hpux9* | hpux10* | hpux11*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537 if test "$host_cpu" != ia64; then
13538 lt_prog_compiler_pic_CXX='+Z'
13541 aCC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 case $host_cpu in
13545 hppa*64*|ia64*)
13546 # +Z the default
13549 lt_prog_compiler_pic_CXX='+Z'
13551 esac
13555 esac
13557 interix*)
13558 # This is c89, which is MS Visual C++ (no shared libs)
13559 # Anyone wants to do a port?
13561 irix5* | irix6* | nonstopux*)
13562 case $cc_basename in
13563 CC*)
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='-non_shared'
13566 # CC pic flag -KPIC is the default.
13570 esac
13572 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573 case $cc_basename in
13574 KCC*)
13575 # KAI C++ Compiler
13576 lt_prog_compiler_wl_CXX='--backend -Wl,'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 ecpc* )
13580 # old Intel C++ for x86_64 which still supported -KPIC.
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-KPIC'
13583 lt_prog_compiler_static_CXX='-static'
13585 icpc* )
13586 # Intel C++, used to be incompatible with GCC.
13587 # ICC 10 doesn't accept -KPIC any more.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13590 lt_prog_compiler_static_CXX='-static'
13592 pgCC* | pgcpp*)
13593 # Portland Group C++ compiler
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-fpic'
13596 lt_prog_compiler_static_CXX='-Bstatic'
13598 cxx*)
13599 # Compaq C++
13600 # Make sure the PIC flag is empty. It appears that all Alpha
13601 # Linux and Compaq Tru64 Unix objects are PIC.
13602 lt_prog_compiler_pic_CXX=
13603 lt_prog_compiler_static_CXX='-non_shared'
13605 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606 # IBM XL 8.0, 9.0 on PPC and BlueGene
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-qpic'
13609 lt_prog_compiler_static_CXX='-qstaticlink'
13612 case `$CC -V 2>&1 | sed 5q` in
13613 *Sun\ C*)
13614 # Sun C++ 5.9
13615 lt_prog_compiler_pic_CXX='-KPIC'
13616 lt_prog_compiler_static_CXX='-Bstatic'
13617 lt_prog_compiler_wl_CXX='-Qoption ld '
13619 esac
13621 esac
13623 lynxos*)
13625 m88k*)
13627 mvs*)
13628 case $cc_basename in
13629 cxx*)
13630 lt_prog_compiler_pic_CXX='-W c,exportall'
13634 esac
13636 netbsd*)
13638 *qnx* | *nto*)
13639 # QNX uses GNU C++, but need to define -shared option too, otherwise
13640 # it will coredump.
13641 lt_prog_compiler_pic_CXX='-fPIC -shared'
13643 osf3* | osf4* | osf5*)
13644 case $cc_basename in
13645 KCC*)
13646 lt_prog_compiler_wl_CXX='--backend -Wl,'
13648 RCC*)
13649 # Rational C++ 2.4.1
13650 lt_prog_compiler_pic_CXX='-pic'
13652 cxx*)
13653 # Digital/Compaq C++
13654 lt_prog_compiler_wl_CXX='-Wl,'
13655 # Make sure the PIC flag is empty. It appears that all Alpha
13656 # Linux and Compaq Tru64 Unix objects are PIC.
13657 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_static_CXX='-non_shared'
13662 esac
13664 psos*)
13666 solaris*)
13667 case $cc_basename in
13668 CC*)
13669 # Sun C++ 4.2, 5.x and Centerline C++
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-Bstatic'
13672 lt_prog_compiler_wl_CXX='-Qoption ld '
13674 gcx*)
13675 # Green Hills C++ Compiler
13676 lt_prog_compiler_pic_CXX='-PIC'
13680 esac
13682 sunos4*)
13683 case $cc_basename in
13684 CC*)
13685 # Sun C++ 4.x
13686 lt_prog_compiler_pic_CXX='-pic'
13687 lt_prog_compiler_static_CXX='-Bstatic'
13689 lcc*)
13690 # Lucid
13691 lt_prog_compiler_pic_CXX='-pic'
13695 esac
13697 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698 case $cc_basename in
13699 CC*)
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-KPIC'
13702 lt_prog_compiler_static_CXX='-Bstatic'
13704 esac
13706 tandem*)
13707 case $cc_basename in
13708 NCC*)
13709 # NonStop-UX NCC 3.20
13710 lt_prog_compiler_pic_CXX='-KPIC'
13714 esac
13716 vxworks*)
13719 lt_prog_compiler_can_build_shared_CXX=no
13721 esac
13724 case $host_os in
13725 # For platforms which do not support PIC, -DPIC is meaningless:
13726 *djgpp*)
13727 lt_prog_compiler_pic_CXX=
13730 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13739 # Check to make sure the PIC flag actually works.
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 lt_cv_prog_compiler_pic_works_CXX=no
13748 ac_outfile=conftest.$ac_objext
13749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751 # Insert the option either (1) after the last *FLAGS variable, or
13752 # (2) before a word containing "conftest.", or (3) at the end.
13753 # Note that $ac_compile itself does not contain backslashes and begins
13754 # with a dollar sign (not a hyphen), so the echo should work correctly.
13755 # The option is referenced via a variable to avoid confusing sed.
13756 lt_compile=`echo "$ac_compile" | $SED \
13757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759 -e 's:$: $lt_compiler_flag:'`
13760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761 (eval "$lt_compile" 2>conftest.err)
13762 ac_status=$?
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 if (exit $ac_status) && test -s "$ac_outfile"; then
13766 # The compiler can only warn and ignore the option if not recognized
13767 # So say no if there are warnings other than the usual output.
13768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771 lt_cv_prog_compiler_pic_works_CXX=yes
13774 $RM conftest*
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781 case $lt_prog_compiler_pic_CXX in
13782 "" | " "*) ;;
13783 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784 esac
13785 else
13786 lt_prog_compiler_pic_CXX=
13787 lt_prog_compiler_can_build_shared_CXX=no
13795 # Check to make sure the static flag actually works.
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 lt_cv_prog_compiler_static_works_CXX=no
13804 save_LDFLAGS="$LDFLAGS"
13805 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808 # The linker can only warn and ignore the option if not recognized
13809 # So say no if there are warnings
13810 if test -s conftest.err; then
13811 # Append any errors to the config.log.
13812 cat conftest.err 1>&5
13813 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815 if diff conftest.exp conftest.er2 >/dev/null; then
13816 lt_cv_prog_compiler_static_works_CXX=yes
13818 else
13819 lt_cv_prog_compiler_static_works_CXX=yes
13822 $RM -r conftest*
13823 LDFLAGS="$save_LDFLAGS"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13831 else
13832 lt_prog_compiler_static_CXX=
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 lt_cv_prog_compiler_c_o_CXX=no
13844 $RM -r conftest 2>/dev/null
13845 mkdir conftest
13846 cd conftest
13847 mkdir out
13848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13850 lt_compiler_flag="-o out/conftest2.$ac_objext"
13851 # Insert the option either (1) after the last *FLAGS variable, or
13852 # (2) before a word containing "conftest.", or (3) at the end.
13853 # Note that $ac_compile itself does not contain backslashes and begins
13854 # with a dollar sign (not a hyphen), so the echo should work correctly.
13855 lt_compile=`echo "$ac_compile" | $SED \
13856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858 -e 's:$: $lt_compiler_flag:'`
13859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860 (eval "$lt_compile" 2>out/conftest.err)
13861 ac_status=$?
13862 cat out/conftest.err >&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865 then
13866 # The compiler can only warn and ignore the option if not recognized
13867 # So say no if there are warnings
13868 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871 lt_cv_prog_compiler_c_o_CXX=yes
13874 chmod u+w . 2>&5
13875 $RM conftest*
13876 # SGI C++ compiler will create directory out/ii_files/ for
13877 # template instantiation
13878 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879 $RM out/* && rmdir out
13880 cd ..
13881 $RM -r conftest
13882 $RM conftest*
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_c_o_CXX=no
13896 $RM -r conftest 2>/dev/null
13897 mkdir conftest
13898 cd conftest
13899 mkdir out
13900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13902 lt_compiler_flag="-o out/conftest2.$ac_objext"
13903 # Insert the option either (1) after the last *FLAGS variable, or
13904 # (2) before a word containing "conftest.", or (3) at the end.
13905 # Note that $ac_compile itself does not contain backslashes and begins
13906 # with a dollar sign (not a hyphen), so the echo should work correctly.
13907 lt_compile=`echo "$ac_compile" | $SED \
13908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910 -e 's:$: $lt_compiler_flag:'`
13911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912 (eval "$lt_compile" 2>out/conftest.err)
13913 ac_status=$?
13914 cat out/conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917 then
13918 # The compiler can only warn and ignore the option if not recognized
13919 # So say no if there are warnings
13920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923 lt_cv_prog_compiler_c_o_CXX=yes
13926 chmod u+w . 2>&5
13927 $RM conftest*
13928 # SGI C++ compiler will create directory out/ii_files/ for
13929 # template instantiation
13930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931 $RM out/* && rmdir out
13932 cd ..
13933 $RM -r conftest
13934 $RM conftest*
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945 # do not overwrite the value of need_locks provided by the user
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948 hard_links=yes
13949 $RM conftest*
13950 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951 touch conftest.a
13952 ln conftest.a conftest.b 2>&5 || hard_links=no
13953 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956 if test "$hard_links" = no; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959 need_locks=warn
13961 else
13962 need_locks=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13970 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971 case $host_os in
13972 aix[4-9]*)
13973 # If we're using GNU nm, then we don't want the "-C" option.
13974 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975 # Also, AIX nm treats weak defined symbols like other global defined
13976 # symbols, whereas GNU nm marks them as "W".
13977 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978 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'
13979 else
13980 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'
13983 pw32*)
13984 export_symbols_cmds_CXX="$ltdll_cmds"
13986 cygwin* | mingw* | cegcc*)
13987 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'
13990 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13992 esac
13993 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13999 with_gnu_ld_CXX=$with_gnu_ld
14007 # Do we need to explicitly link libc?
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011 # Assume -lc should be added
14012 archive_cmds_need_lc_CXX=yes
14014 if test "$enable_shared" = yes && test "$GCC" = yes; then
14015 case $archive_cmds_CXX in
14016 *'~'*)
14017 # FIXME: we may have to deal with multi-command sequences.
14019 '$CC '*)
14020 # Test whether the compiler implicitly links with -lc since on some
14021 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022 # to ld, don't add -lc before -lgcc.
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 $RM conftest*
14029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032 (eval $ac_compile) 2>&5
14033 ac_status=$?
14034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035 test $ac_status = 0; } 2>conftest.err; then
14036 soname=conftest
14037 lib=conftest
14038 libobjs=conftest.$ac_objext
14039 deplibs=
14040 wl=$lt_prog_compiler_wl_CXX
14041 pic_flag=$lt_prog_compiler_pic_CXX
14042 compiler_flags=-v
14043 linker_flags=-v
14044 verstring=
14045 output_objdir=.
14046 libname=conftest
14047 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048 allow_undefined_flag_CXX=
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; }
14054 then
14055 lt_cv_archive_cmds_need_lc_CXX=no
14056 else
14057 lt_cv_archive_cmds_need_lc_CXX=yes
14059 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060 else
14061 cat conftest.err 1>&5
14063 $RM conftest*
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14070 esac
14073 esac
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14161 case $host_os in
14162 aix3*)
14163 version_type=linux
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165 shlibpath_var=LIBPATH
14167 # AIX 3 has no versioning support, so we append a major version to the name.
14168 soname_spec='${libname}${release}${shared_ext}$major'
14171 aix[4-9]*)
14172 version_type=linux
14173 need_lib_prefix=no
14174 need_version=no
14175 hardcode_into_libs=yes
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 supports IA64
14178 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179 shlibpath_var=LD_LIBRARY_PATH
14180 else
14181 # With GCC up to 2.95.x, collect2 would create an import file
14182 # for dependence libraries. The import file would start with
14183 # the line `#! .'. This would cause the generated library to
14184 # depend on `.', always an invalid library. This was fixed in
14185 # development snapshots of GCC prior to 3.0.
14186 case $host_os in
14187 aix4 | aix4.[01] | aix4.[01].*)
14188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189 echo ' yes '
14190 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14192 else
14193 can_build_shared=no
14196 esac
14197 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198 # soname into executable. Probably we can add versioning support to
14199 # collect2, so additional links can be useful in future.
14200 if test "$aix_use_runtimelinking" = yes; then
14201 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202 # instead of lib<name>.a to let people know that these are not
14203 # typical AIX shared libraries.
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 else
14206 # We preserve .a as extension for shared libraries through AIX4.2
14207 # and later when we are not doing run time linking.
14208 library_names_spec='${libname}${release}.a $libname.a'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14211 shlibpath_var=LIBPATH
14215 amigaos*)
14216 case $host_cpu in
14217 powerpc)
14218 # Since July 2007 AmigaOS4 officially supports .so libraries.
14219 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14222 m68k)
14223 library_names_spec='$libname.ixlibrary $libname.a'
14224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225 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'
14227 esac
14230 beos*)
14231 library_names_spec='${libname}${shared_ext}'
14232 dynamic_linker="$host_os ld.so"
14233 shlibpath_var=LIBRARY_PATH
14236 bsdi[45]*)
14237 version_type=linux
14238 need_version=no
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 soname_spec='${libname}${release}${shared_ext}$major'
14241 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242 shlibpath_var=LD_LIBRARY_PATH
14243 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245 # the default ld.so.conf also contains /usr/contrib/lib and
14246 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247 # libtool to hard-code these into programs
14250 cygwin* | mingw* | pw32* | cegcc*)
14251 version_type=windows
14252 shrext_cmds=".dll"
14253 need_version=no
14254 need_lib_prefix=no
14256 case $GCC,$host_os in
14257 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258 library_names_spec='$libname.dll.a'
14259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260 postinstall_cmds='base_file=`basename \${file}`~
14261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262 dldir=$destdir/`dirname \$dlpath`~
14263 test -d \$dldir || mkdir -p \$dldir~
14264 $install_prog $dir/$dlname \$dldir/$dlname~
14265 chmod a+x \$dldir/$dlname~
14266 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14269 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270 dlpath=$dir/\$dldll~
14271 $RM \$dlpath'
14272 shlibpath_overrides_runpath=yes
14274 case $host_os in
14275 cygwin*)
14276 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14280 mingw* | cegcc*)
14281 # MinGW DLLs use traditional 'lib' prefix
14282 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14284 pw32*)
14285 # pw32 DLLs use 'pw' prefix rather than 'lib'
14286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14288 esac
14292 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14294 esac
14295 dynamic_linker='Win32 ld.exe'
14296 # FIXME: first we should search . and the directory the executable is in
14297 shlibpath_var=PATH
14300 darwin* | rhapsody*)
14301 dynamic_linker="$host_os dyld"
14302 version_type=darwin
14303 need_lib_prefix=no
14304 need_version=no
14305 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306 soname_spec='${libname}${release}${major}$shared_ext'
14307 shlibpath_overrides_runpath=yes
14308 shlibpath_var=DYLD_LIBRARY_PATH
14309 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14311 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14314 dgux*)
14315 version_type=linux
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14320 shlibpath_var=LD_LIBRARY_PATH
14323 freebsd* | dragonfly*)
14324 # DragonFly does not have aout. When/if they implement a new
14325 # versioning mechanism, adjust this.
14326 if test -x /usr/bin/objformat; then
14327 objformat=`/usr/bin/objformat`
14328 else
14329 case $host_os in
14330 freebsd[23].*) objformat=aout ;;
14331 *) objformat=elf ;;
14332 esac
14334 version_type=freebsd-$objformat
14335 case $version_type in
14336 freebsd-elf*)
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338 need_version=no
14339 need_lib_prefix=no
14341 freebsd-*)
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343 need_version=yes
14345 esac
14346 shlibpath_var=LD_LIBRARY_PATH
14347 case $host_os in
14348 freebsd2.*)
14349 shlibpath_overrides_runpath=yes
14351 freebsd3.[01]* | freebsdelf3.[01]*)
14352 shlibpath_overrides_runpath=yes
14353 hardcode_into_libs=yes
14355 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357 shlibpath_overrides_runpath=no
14358 hardcode_into_libs=yes
14360 *) # from 4.6 on, and DragonFly
14361 shlibpath_overrides_runpath=yes
14362 hardcode_into_libs=yes
14364 esac
14367 gnu*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 shlibpath_var=LD_LIBRARY_PATH
14374 hardcode_into_libs=yes
14377 haiku*)
14378 version_type=linux
14379 need_lib_prefix=no
14380 need_version=no
14381 dynamic_linker="$host_os runtime_loader"
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 shlibpath_var=LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes
14386 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387 hardcode_into_libs=yes
14390 hpux9* | hpux10* | hpux11*)
14391 # Give a soname corresponding to the major version so that dld.sl refuses to
14392 # link against other versions.
14393 version_type=sunos
14394 need_lib_prefix=no
14395 need_version=no
14396 case $host_cpu in
14397 ia64*)
14398 shrext_cmds='.so'
14399 hardcode_into_libs=yes
14400 dynamic_linker="$host_os dld.so"
14401 shlibpath_var=LD_LIBRARY_PATH
14402 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14405 if test "X$HPUX_IA64_MODE" = X32; then
14406 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407 else
14408 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14412 hppa*64*)
14413 shrext_cmds='.sl'
14414 hardcode_into_libs=yes
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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'
14420 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14424 shrext_cmds='.sl'
14425 dynamic_linker="$host_os dld.sl"
14426 shlibpath_var=SHLIB_PATH
14427 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 soname_spec='${libname}${release}${shared_ext}$major'
14431 esac
14432 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433 postinstall_cmds='chmod 555 $lib'
14434 # or fails outright, so override atomically:
14435 install_override_mode=555
14438 interix[3-9]*)
14439 version_type=linux
14440 need_lib_prefix=no
14441 need_version=no
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=no
14447 hardcode_into_libs=yes
14450 irix5* | irix6* | nonstopux*)
14451 case $host_os in
14452 nonstopux*) version_type=nonstopux ;;
14454 if test "$lt_cv_prog_gnu_ld" = yes; then
14455 version_type=linux
14456 else
14457 version_type=irix
14458 fi ;;
14459 esac
14460 need_lib_prefix=no
14461 need_version=no
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464 case $host_os in
14465 irix5* | nonstopux*)
14466 libsuff= shlibsuff=
14469 case $LD in # libtool.m4 will add one of these switches to LD
14470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471 libsuff= shlibsuff= libmagic=32-bit;;
14472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473 libsuff=32 shlibsuff=N32 libmagic=N32;;
14474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476 *) libsuff= shlibsuff= libmagic=never-match;;
14477 esac
14479 esac
14480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481 shlibpath_overrides_runpath=no
14482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484 hardcode_into_libs=yes
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489 dynamic_linker=no
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494 version_type=linux
14495 need_lib_prefix=no
14496 need_version=no
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=no
14503 # Some binutils ld are patched to set DT_RUNPATH
14504 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 lt_cv_shlibpath_overrides_runpath=no
14508 save_LDFLAGS=$LDFLAGS
14509 save_libdir=$libdir
14510 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512 if test x$gcc_no_link = xyes; then
14513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14519 main ()
14523 return 0;
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528 lt_cv_shlibpath_overrides_runpath=yes
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LDFLAGS=$save_LDFLAGS
14534 libdir=$save_libdir
14538 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14540 # This implies no fast_install, which is unacceptable.
14541 # Some rework will be needed to allow for fast_install
14542 # before this can be enabled.
14543 hardcode_into_libs=yes
14545 # Append ld.so.conf contents to the search path
14546 if test -f /etc/ld.so.conf; then
14547 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' ' '`
14548 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14551 # We used to test for /lib/ld.so.1 and disable shared libraries on
14552 # powerpc, because MkLinux only supported shared libraries with the
14553 # GNU dynamic linker. Since this was broken with cross compilers,
14554 # most powerpc-linux boxes support dynamic linking these days and
14555 # people can always --disable-shared, the test was removed, and we
14556 # assume the GNU/Linux dynamic linker is in use.
14557 dynamic_linker='GNU/Linux ld.so'
14560 netbsd*)
14561 version_type=sunos
14562 need_lib_prefix=no
14563 need_version=no
14564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567 dynamic_linker='NetBSD (a.out) ld.so'
14568 else
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 dynamic_linker='NetBSD ld.elf_so'
14573 shlibpath_var=LD_LIBRARY_PATH
14574 shlibpath_overrides_runpath=yes
14575 hardcode_into_libs=yes
14578 newsos6)
14579 version_type=linux
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=yes
14585 *nto* | *qnx*)
14586 version_type=qnx
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=no
14593 hardcode_into_libs=yes
14594 dynamic_linker='ldqnx.so'
14597 openbsd*)
14598 version_type=sunos
14599 sys_lib_dlsearch_path_spec="/usr/lib"
14600 need_lib_prefix=no
14601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602 case $host_os in
14603 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14604 *) need_version=no ;;
14605 esac
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610 case $host_os in
14611 openbsd2.[89] | openbsd2.[89].*)
14612 shlibpath_overrides_runpath=no
14615 shlibpath_overrides_runpath=yes
14617 esac
14618 else
14619 shlibpath_overrides_runpath=yes
14623 os2*)
14624 libname_spec='$name'
14625 shrext_cmds=".dll"
14626 need_lib_prefix=no
14627 library_names_spec='$libname${shared_ext} $libname.a'
14628 dynamic_linker='OS/2 ld.exe'
14629 shlibpath_var=LIBPATH
14632 osf3* | osf4* | osf5*)
14633 version_type=osf
14634 need_lib_prefix=no
14635 need_version=no
14636 soname_spec='${libname}${release}${shared_ext}$major'
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14643 rdos*)
14644 dynamic_linker=no
14647 solaris*)
14648 version_type=linux
14649 need_lib_prefix=no
14650 need_version=no
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec='${libname}${release}${shared_ext}$major'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 hardcode_into_libs=yes
14656 # ldd complains unless libraries are executable
14657 postinstall_cmds='chmod +x $lib'
14660 sunos4*)
14661 version_type=sunos
14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14666 if test "$with_gnu_ld" = yes; then
14667 need_lib_prefix=no
14669 need_version=yes
14672 sysv4 | sysv4.3*)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 soname_spec='${libname}${release}${shared_ext}$major'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 case $host_vendor in
14678 sni)
14679 shlibpath_overrides_runpath=no
14680 need_lib_prefix=no
14681 runpath_var=LD_RUN_PATH
14683 siemens)
14684 need_lib_prefix=no
14686 motorola)
14687 need_lib_prefix=no
14688 need_version=no
14689 shlibpath_overrides_runpath=no
14690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14692 esac
14695 sysv4*MP*)
14696 if test -d /usr/nec ;then
14697 version_type=linux
14698 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699 soname_spec='$libname${shared_ext}.$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705 version_type=freebsd-elf
14706 need_lib_prefix=no
14707 need_version=no
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709 soname_spec='${libname}${release}${shared_ext}$major'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=yes
14712 hardcode_into_libs=yes
14713 if test "$with_gnu_ld" = yes; then
14714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715 else
14716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717 case $host_os in
14718 sco3.2v5*)
14719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14721 esac
14723 sys_lib_dlsearch_path_spec='/usr/lib'
14726 tpf*)
14727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14728 version_type=linux
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=no
14734 hardcode_into_libs=yes
14737 uts4*)
14738 version_type=linux
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14745 dynamic_linker=no
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805 test -n "$runpath_var_CXX" ||
14806 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14808 # We can hardcode non-existent directories.
14809 if test "$hardcode_direct_CXX" != no &&
14810 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811 # have to relink, otherwise we might link with an installed library
14812 # when we should be linking with a yet-to-be-installed one
14813 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814 test "$hardcode_minus_L_CXX" != no; then
14815 # Linking always hardcodes the temporary library directory.
14816 hardcode_action_CXX=relink
14817 else
14818 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819 hardcode_action_CXX=immediate
14821 else
14822 # We cannot hardcode anything, or else we can only hardcode existing
14823 # directories.
14824 hardcode_action_CXX=unsupported
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14829 if test "$hardcode_action_CXX" = relink ||
14830 test "$inherit_rpath_CXX" = yes; then
14831 # Fast installation is not supported
14832 enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834 test "$enable_shared" = no; then
14835 # Fast installation is not necessary
14836 enable_fast_install=needless
14845 fi # test -n "$compiler"
14847 CC=$lt_save_CC
14848 LDCXX=$LD
14849 LD=$lt_save_LD
14850 GCC=$lt_save_GCC
14851 with_gnu_ld=$lt_save_with_gnu_ld
14852 lt_cv_path_LDCXX=$lt_cv_path_LD
14853 lt_cv_path_LD=$lt_save_path_LD
14854 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14876 ac_config_commands="$ac_config_commands libtool"
14881 # Only expand once:
14887 case $host in
14888 *-cygwin* | *-mingw*)
14889 # 'host' will be top-level target in the case of a target lib,
14890 # we must compare to with_cross_host to decide if this is a native
14891 # or cross-compiler and select where to install dlls appropriately.
14892 if test -n "$with_cross_host" &&
14893 test x"$with_cross_host" != x"no"; then
14894 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895 else
14896 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14900 lt_host_flags=
14902 esac
14909 # libtool variables for C++ shared and position-independent compiles.
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922 glibcxx_lt_pic_flag="-prefer-pic"
14923 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14926 else
14927 glibcxx_lt_pic_flag=
14928 glibcxx_compiler_pic_flag=
14929 glibcxx_compiler_shared_flag=
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results. Faster /and/ more correct, win win.
14948 # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950 enableval=$enable_hosted_libstdcxx;
14951 else
14952 case "$host" in
14953 arm*-*-symbianelf*)
14954 enable_hosted_libstdcxx=no
14957 enable_hosted_libstdcxx=yes
14959 esac
14962 if test "$enable_hosted_libstdcxx" = no; then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965 is_hosted=no
14966 hosted_define=0
14967 enable_abi_check=no
14968 enable_libstdcxx_pch=no
14969 else
14970 is_hosted=yes
14971 hosted_define=1
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14981 # Enable descriptive messages to standard output on termination.
14983 # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985 enableval=$enable_libstdcxx_verbose;
14986 else
14987 enable_libstdcxx_verbose=yes
14990 if test x"$enable_libstdcxx_verbose" = xyes; then
14991 verbose_define=1
14992 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995 verbose_define=0
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15004 # Enable compiler support that doesn't require linking.
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15009 ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15015 # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017 enableval=$enable_sjlj_exceptions;
15018 case "$enableval" in
15019 yes|no|auto) ;;
15020 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021 esac
15023 else
15024 enable_sjlj_exceptions=auto
15029 if test $enable_sjlj_exceptions = auto; then
15030 # Botheration. Now we've got to detect the exception model. Link tests
15031 # against libgcc.a are problematic since we've not been given proper -L
15032 # bits for single-tree newlib and libgloss.
15034 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15035 cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15041 S s;
15042 bar();
15045 old_CXXFLAGS="$CXXFLAGS"
15046 CXXFLAGS=-S
15047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048 (eval $ac_compile) 2>&5
15049 ac_status=$?
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; then
15052 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053 enable_sjlj_exceptions=yes
15054 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055 enable_sjlj_exceptions=no
15056 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057 enable_sjlj_exceptions=no
15060 CXXFLAGS="$old_CXXFLAGS"
15061 rm -f conftest*
15064 # This is a tad weird, for hysterical raisins. We have to map
15065 # enable/disable to two different models.
15066 case $enable_sjlj_exceptions in
15067 yes)
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15071 ac_exception_model_name=sjlj
15074 ac_exception_model_name="call frame"
15077 as_fn_error "unable to detect exception model" "$LINENO" 5
15079 esac
15080 ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15090 # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092 enableval=$enable_libstdcxx_pch;
15093 case "$enableval" in
15094 yes|no) ;;
15095 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096 esac
15098 else
15099 enable_libstdcxx_pch=$is_hosted
15103 if test $enable_libstdcxx_pch = yes; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_save_CXXFLAGS="$CXXFLAGS"
15110 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15112 ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15118 echo '#include <math.h>' > conftest.h
15119 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120 -o conftest.h.gch 1>&5 2>&1 &&
15121 echo '#error "pch failed"' > conftest.h &&
15122 echo '#include "conftest.h"' > conftest.cc &&
15123 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124 then
15125 glibcxx_cv_prog_CXX_pch=yes
15126 else
15127 glibcxx_cv_prog_CXX_pch=no
15129 rm -f conftest*
15130 CXXFLAGS=$ac_save_CXXFLAGS
15131 ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15150 if test $enable_libstdcxx_pch = yes; then
15151 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152 else
15153 glibcxx_PCHFLAGS=""
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15164 case $target_thread_file in
15165 aix) thread_header=config/rs6000/gthr-aix.h ;;
15166 dce) thread_header=config/pa/gthr-dce.h ;;
15167 lynx) thread_header=config/gthr-lynx.h ;;
15168 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15169 posix) thread_header=gthr-posix.h ;;
15170 rtems) thread_header=config/gthr-rtems.h ;;
15171 single) thread_header=gthr-single.h ;;
15172 tpf) thread_header=config/s390/gthr-tpf.h ;;
15173 vxworks) thread_header=config/gthr-vxworks.h ;;
15174 win32) thread_header=config/i386/gthr-win32.h ;;
15175 esac
15181 ac_ext=cpp
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15187 old_CXXFLAGS="$CXXFLAGS"
15189 # Do link tests if possible, instead asm tests, limited to some platforms
15190 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15191 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15192 atomic_builtins_link_tests=no
15193 if test x$gcc_no_link != xyes; then
15194 # Can do link tests. Limit to some tested platforms
15195 case "$host" in
15196 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15197 atomic_builtins_link_tests=yes
15199 esac
15202 if test x$atomic_builtins_link_tests = xyes; then
15204 # Do link tests.
15206 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15209 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15210 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15214 if test x$gcc_no_link = xyes; then
15215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15221 main ()
15223 typedef bool atomic_type;
15224 atomic_type c1;
15225 atomic_type c2;
15226 atomic_type c3(0);
15227 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15228 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15229 __ATOMIC_RELAXED);
15230 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15231 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15234 return 0;
15236 _ACEOF
15237 if ac_fn_cxx_try_link "$LINENO"; then :
15238 glibcxx_cv_atomic_bool=yes
15239 else
15240 glibcxx_cv_atomic_bool=no
15242 rm -f core conftest.err conftest.$ac_objext \
15243 conftest$ac_exeext conftest.$ac_ext
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15248 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15251 $as_echo_n "checking for atomic builtins for short... " >&6; }
15252 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15256 if test x$gcc_no_link = xyes; then
15257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15263 main ()
15265 typedef short atomic_type;
15266 atomic_type c1;
15267 atomic_type c2;
15268 atomic_type c3(0);
15269 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15270 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15271 __ATOMIC_RELAXED);
15272 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15273 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15276 return 0;
15278 _ACEOF
15279 if ac_fn_cxx_try_link "$LINENO"; then :
15280 glibcxx_cv_atomic_short=yes
15281 else
15282 glibcxx_cv_atomic_short=no
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15290 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15293 $as_echo_n "checking for atomic builtins for int... " >&6; }
15294 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15298 if test x$gcc_no_link = xyes; then
15299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15305 main ()
15307 typedef int atomic_type;
15308 atomic_type c1;
15309 atomic_type c2;
15310 atomic_type c3(0);
15311 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15312 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15313 __ATOMIC_RELAXED);
15314 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15315 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15318 return 0;
15320 _ACEOF
15321 if ac_fn_cxx_try_link "$LINENO"; then :
15322 glibcxx_cv_atomic_int=yes
15323 else
15324 glibcxx_cv_atomic_int=no
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15332 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15335 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15336 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15340 if test x$gcc_no_link = xyes; then
15341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15347 main ()
15349 typedef long long atomic_type;
15350 atomic_type c1;
15351 atomic_type c2;
15352 atomic_type c3(0);
15353 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15354 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15355 __ATOMIC_RELAXED);
15356 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15357 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15360 return 0;
15362 _ACEOF
15363 if ac_fn_cxx_try_link "$LINENO"; then :
15364 glibcxx_cv_atomic_long_long=yes
15365 else
15366 glibcxx_cv_atomic_long_long=no
15368 rm -f core conftest.err conftest.$ac_objext \
15369 conftest$ac_exeext conftest.$ac_ext
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15374 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15376 else
15378 # Do asm tests.
15380 # Compile unoptimized.
15381 CXXFLAGS='-O0 -S'
15383 # Fake what AC_TRY_COMPILE does.
15385 cat > conftest.$ac_ext << EOF
15386 #line 15386 "configure"
15387 int main()
15389 typedef bool atomic_type;
15390 atomic_type c1;
15391 atomic_type c2;
15392 atomic_type c3(0);
15393 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15394 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15395 __ATOMIC_RELAXED);
15396 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15397 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15399 return 0;
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15404 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406 (eval $ac_compile) 2>&5
15407 ac_status=$?
15408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409 test $ac_status = 0; }; then
15410 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15411 glibcxx_cv_atomic_bool=no
15412 else
15413 glibcxx_cv_atomic_bool=yes
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15417 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15418 rm -f conftest*
15420 cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15424 typedef short atomic_type;
15425 atomic_type c1;
15426 atomic_type c2;
15427 atomic_type c3(0);
15428 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15429 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15430 __ATOMIC_RELAXED);
15431 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15432 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15434 return 0;
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15439 $as_echo_n "checking for atomic builtins for short... " >&6; }
15440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15441 (eval $ac_compile) 2>&5
15442 ac_status=$?
15443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444 test $ac_status = 0; }; then
15445 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15446 glibcxx_cv_atomic_short=no
15447 else
15448 glibcxx_cv_atomic_short=yes
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15452 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15453 rm -f conftest*
15455 cat > conftest.$ac_ext << EOF
15456 #line 15456 "configure"
15457 int main()
15459 // NB: _Atomic_word not necessarily int.
15460 typedef int atomic_type;
15461 atomic_type c1;
15462 atomic_type c2;
15463 atomic_type c3(0);
15464 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15465 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15466 __ATOMIC_RELAXED);
15467 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15468 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15470 return 0;
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15475 $as_echo_n "checking for atomic builtins for int... " >&6; }
15476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15477 (eval $ac_compile) 2>&5
15478 ac_status=$?
15479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480 test $ac_status = 0; }; then
15481 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15482 glibcxx_cv_atomic_int=no
15483 else
15484 glibcxx_cv_atomic_int=yes
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15488 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15489 rm -f conftest*
15491 cat > conftest.$ac_ext << EOF
15492 #line 15492 "configure"
15493 int main()
15495 typedef long long atomic_type;
15496 atomic_type c1;
15497 atomic_type c2;
15498 atomic_type c3(0);
15499 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15500 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15501 __ATOMIC_RELAXED);
15502 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15503 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15505 return 0;
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15510 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512 (eval $ac_compile) 2>&5
15513 ac_status=$?
15514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515 test $ac_status = 0; }; then
15516 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15517 glibcxx_cv_atomic_long_long=no
15518 else
15519 glibcxx_cv_atomic_long_long=yes
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15523 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15524 rm -f conftest*
15528 CXXFLAGS="$old_CXXFLAGS"
15529 ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536 # Set atomicity_dir to builtins if all but the long long test above passes.
15537 if test $glibcxx_cv_atomic_bool = yes \
15538 && test $glibcxx_cv_atomic_short = yes \
15539 && test $glibcxx_cv_atomic_int = yes; then
15541 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15543 atomicity_dir=cpu/generic/atomicity_builtins
15546 # If still generic, set to mutex.
15547 if test $atomicity_dir = "cpu/generic" ; then
15548 atomicity_dir=cpu/generic/atomicity_mutex
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15550 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15551 if test "x$target_thread_file" = xsingle; then
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15553 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15555 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15558 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15560 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15567 # Fake what AC_TRY_COMPILE does, without linking as this is
15568 # unnecessary for this test.
15570 cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15574 _Decimal32 d1;
15575 _Decimal64 d2;
15576 _Decimal128 d3;
15577 return 0;
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15582 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15584 (eval $ac_compile) 2>&5
15585 ac_status=$?
15586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15587 test $ac_status = 0; }; then
15589 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15591 enable_dfp=yes
15592 else
15593 enable_dfp=no
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15596 $as_echo "$enable_dfp" >&6; }
15597 rm -f conftest*
15602 ac_ext=cpp
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15609 # Fake what AC_TRY_COMPILE does, without linking as this is
15610 # unnecessary for this test.
15612 cat > conftest.$ac_ext << EOF
15613 #line 15613 "configure"
15614 template<typename T1, typename T2>
15615 struct same
15616 { typedef T2 type; };
15618 template<typename T>
15619 struct same<T, T>;
15621 int main()
15623 typename same<long, __int128>::type i1;
15624 typename same<long long, __int128>::type i2;
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15629 $as_echo_n "checking for __int128... " >&6; }
15630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15631 (eval $ac_compile) 2>&5
15632 ac_status=$?
15633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634 test $ac_status = 0; }; then
15636 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15638 enable_int128=yes
15639 else
15640 enable_int128=no
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15643 $as_echo "$enable_int128" >&6; }
15644 rm -f conftest*
15646 cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649 struct same
15650 { typedef T2 type; };
15652 template<typename T>
15653 struct same<T, T>;
15655 int main()
15657 typename same<double, __float128>::type f1;
15658 typename same<long double, __float128>::type f2;
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15663 $as_echo_n "checking for __float128... " >&6; }
15664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; }; then
15670 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15672 enable_float128=yes
15673 else
15674 enable_float128=no
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15677 $as_echo "$enable_float128" >&6; }
15678 rm -f conftest*
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15688 # Checks for compiler support that doesn't require linking.
15690 # All these tests are for C++; save the language and the compiler flags.
15691 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15692 # found in GLIBCXX_CONFIGURE.
15694 ac_ext=cpp
15695 ac_cpp='$CXXCPP $CPPFLAGS'
15696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15700 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15701 ac_save_CXXFLAGS="$CXXFLAGS"
15703 # Check for maintainer-mode bits.
15704 if test x"$USE_MAINTAINER_MODE" = xno; then
15705 WERROR=''
15706 else
15707 WERROR='-Werror'
15710 # Check for -ffunction-sections -fdata-sections
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15712 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15713 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 int foo; void bar() { };
15718 main ()
15722 return 0;
15724 _ACEOF
15725 if ac_fn_cxx_try_compile "$LINENO"; then :
15726 ac_fdsections=yes
15727 else
15728 ac_fdsections=no
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731 if test "$ac_test_CXXFLAGS" = set; then
15732 CXXFLAGS="$ac_save_CXXFLAGS"
15733 else
15734 # this is the suspicious part
15735 CXXFLAGS=''
15737 if test x"$ac_fdsections" = x"yes"; then
15738 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15741 $as_echo "$ac_fdsections" >&6; }
15743 ac_ext=c
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15753 # Enable all the variable C++ runtime options that don't require linking.
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15756 $as_echo_n "checking for underlying I/O to use... " >&6; }
15757 # Check whether --enable-cstdio was given.
15758 if test "${enable_cstdio+set}" = set; then :
15759 enableval=$enable_cstdio;
15760 case "$enableval" in
15761 stdio) ;;
15762 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15763 esac
15765 else
15766 enable_cstdio=stdio
15771 # Now that libio has been removed, you can have any color you want as long
15772 # as it's black. This is one big no-op until other packages are added, but
15773 # showing the framework never hurts.
15774 case ${enable_cstdio} in
15775 stdio)
15776 CSTDIO_H=config/io/c_io_stdio.h
15777 BASIC_FILE_H=config/io/basic_file_stdio.h
15778 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15780 $as_echo "stdio" >&6; }
15782 esac
15789 # Check whether --enable-clocale was given.
15790 if test "${enable_clocale+set}" = set; then :
15791 enableval=$enable_clocale;
15792 case "$enableval" in
15793 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15794 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15795 esac
15797 else
15798 enable_clocale=auto
15803 # Deal with gettext issues. Default to not using it (=no) until we detect
15804 # support for it later. Let the user turn it off via --e/d, but let that
15805 # default to on for easier handling.
15806 USE_NLS=no
15807 # Check whether --enable-nls was given.
15808 if test "${enable_nls+set}" = set; then :
15809 enableval=$enable_nls;
15810 else
15811 enable_nls=yes
15815 # Either a known package, or "auto"
15816 if test $enable_clocale = no || test $enable_clocale = yes; then
15817 enable_clocale=auto
15819 enable_clocale_flag=$enable_clocale
15821 # Probe for locale model to use if none specified.
15822 # Default to "generic".
15823 if test $enable_clocale_flag = auto; then
15824 case ${target_os} in
15825 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15826 enable_clocale_flag=gnu
15828 darwin* | freebsd*)
15829 enable_clocale_flag=darwin
15831 openbsd*)
15832 enable_clocale_flag=newlib
15835 if test x"$with_newlib" = x"yes"; then
15836 enable_clocale_flag=newlib
15837 else
15838 enable_clocale_flag=generic
15841 esac
15844 # Sanity check model, and test for special functionality.
15845 if test $enable_clocale_flag = gnu; then
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15849 #include <features.h>
15850 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15851 _GLIBCXX_ok
15852 #endif
15854 _ACEOF
15855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15857 enable_clocale_flag=gnu
15858 else
15859 enable_clocale_flag=generic
15861 rm -f conftest*
15864 # Set it to scream when it hurts.
15865 ac_save_CFLAGS="$CFLAGS"
15866 CFLAGS="-Wimplicit-function-declaration -Werror"
15868 # Use strxfrm_l if available.
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE 1
15872 #include <string.h>
15873 #include <locale.h>
15875 main ()
15877 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15879 return 0;
15881 _ACEOF
15882 if ac_fn_c_try_compile "$LINENO"; then :
15884 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15889 # Use strerror_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15896 main ()
15898 __locale_t loc; strerror_l(5, loc);
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15905 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 CFLAGS="$ac_save_CFLAGS"
15913 # Perhaps use strerror_r if available, and strerror_l isn't.
15914 ac_save_CFLAGS="$CFLAGS"
15915 CFLAGS="-Wimplicit-function-declaration -Werror"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 #define _GNU_SOURCE 1
15919 #include <string.h>
15920 #include <locale.h>
15922 main ()
15924 char s[128]; strerror_r(5, s, 128);
15926 return 0;
15928 _ACEOF
15929 if ac_fn_c_try_compile "$LINENO"; then :
15931 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 CFLAGS="$ac_save_CFLAGS"
15937 # Set configure bits for specified locale package
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15939 $as_echo_n "checking for C locale to use... " >&6; }
15940 case ${enable_clocale_flag} in
15941 generic)
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15943 $as_echo "generic" >&6; }
15945 CLOCALE_H=config/locale/generic/c_locale.h
15946 CLOCALE_CC=config/locale/generic/c_locale.cc
15947 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15948 CCOLLATE_CC=config/locale/generic/collate_members.cc
15949 CCTYPE_CC=config/locale/generic/ctype_members.cc
15950 CMESSAGES_H=config/locale/generic/messages_members.h
15951 CMESSAGES_CC=config/locale/generic/messages_members.cc
15952 CMONEY_CC=config/locale/generic/monetary_members.cc
15953 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15954 CTIME_H=config/locale/generic/time_members.h
15955 CTIME_CC=config/locale/generic/time_members.cc
15956 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15958 darwin)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15960 $as_echo "darwin or freebsd" >&6; }
15962 CLOCALE_H=config/locale/generic/c_locale.h
15963 CLOCALE_CC=config/locale/generic/c_locale.cc
15964 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965 CCOLLATE_CC=config/locale/generic/collate_members.cc
15966 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15967 CMESSAGES_H=config/locale/generic/messages_members.h
15968 CMESSAGES_CC=config/locale/generic/messages_members.cc
15969 CMONEY_CC=config/locale/generic/monetary_members.cc
15970 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971 CTIME_H=config/locale/generic/time_members.h
15972 CTIME_CC=config/locale/generic/time_members.cc
15973 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15976 gnu)
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15978 $as_echo "gnu" >&6; }
15980 # Declare intention to use gettext, and add support for specific
15981 # languages.
15982 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15983 ALL_LINGUAS="de fr"
15985 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15986 # Extract the first word of "msgfmt", so it can be a program name with args.
15987 set dummy msgfmt; ac_word=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 if test -n "$check_msgfmt"; then
15994 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15995 else
15996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15997 for as_dir in $PATH
15999 IFS=$as_save_IFS
16000 test -z "$as_dir" && as_dir=.
16001 for ac_exec_ext in '' $ac_executable_extensions; do
16002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16003 ac_cv_prog_check_msgfmt="yes"
16004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005 break 2
16007 done
16008 done
16009 IFS=$as_save_IFS
16011 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16014 check_msgfmt=$ac_cv_prog_check_msgfmt
16015 if test -n "$check_msgfmt"; then
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16017 $as_echo "$check_msgfmt" >&6; }
16018 else
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16024 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16025 USE_NLS=yes
16027 # Export the build objects.
16028 for ling in $ALL_LINGUAS; do \
16029 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16030 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16031 done
16035 CLOCALE_H=config/locale/gnu/c_locale.h
16036 CLOCALE_CC=config/locale/gnu/c_locale.cc
16037 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16038 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16039 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16040 CMESSAGES_H=config/locale/gnu/messages_members.h
16041 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16042 CMONEY_CC=config/locale/gnu/monetary_members.cc
16043 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16044 CTIME_H=config/locale/gnu/time_members.h
16045 CTIME_CC=config/locale/gnu/time_members.cc
16046 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16048 ieee_1003.1-2001)
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16050 $as_echo "IEEE 1003.1" >&6; }
16052 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16053 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16054 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16055 CCOLLATE_CC=config/locale/generic/collate_members.cc
16056 CCTYPE_CC=config/locale/generic/ctype_members.cc
16057 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16058 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16059 CMONEY_CC=config/locale/generic/monetary_members.cc
16060 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16061 CTIME_H=config/locale/generic/time_members.h
16062 CTIME_CC=config/locale/generic/time_members.cc
16063 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16065 newlib)
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16067 $as_echo "newlib" >&6; }
16069 CLOCALE_H=config/locale/generic/c_locale.h
16070 CLOCALE_CC=config/locale/generic/c_locale.cc
16071 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16072 CCOLLATE_CC=config/locale/generic/collate_members.cc
16073 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16074 CMESSAGES_H=config/locale/generic/messages_members.h
16075 CMESSAGES_CC=config/locale/generic/messages_members.cc
16076 CMONEY_CC=config/locale/generic/monetary_members.cc
16077 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16078 CTIME_H=config/locale/generic/time_members.h
16079 CTIME_CC=config/locale/generic/time_members.cc
16080 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16082 esac
16084 # This is where the testsuite looks for locale catalogs, using the
16085 # -DLOCALEDIR define during testsuite compilation.
16086 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16089 # A standalone libintl (e.g., GNU libintl) may be in use.
16090 if test $USE_NLS = yes; then
16091 for ac_header in libintl.h
16092 do :
16093 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_LIBINTL_H 1
16097 _ACEOF
16099 else
16100 USE_NLS=no
16103 done
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16106 $as_echo_n "checking for library containing gettext... " >&6; }
16107 if test "${ac_cv_search_gettext+set}" = set; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char gettext ();
16122 main ()
16124 return gettext ();
16126 return 0;
16128 _ACEOF
16129 for ac_lib in '' intl; do
16130 if test -z "$ac_lib"; then
16131 ac_res="none required"
16132 else
16133 ac_res=-l$ac_lib
16134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16136 if test x$gcc_no_link = xyes; then
16137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16139 if ac_fn_c_try_link "$LINENO"; then :
16140 ac_cv_search_gettext=$ac_res
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext
16144 if test "${ac_cv_search_gettext+set}" = set; then :
16145 break
16147 done
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16150 else
16151 ac_cv_search_gettext=no
16153 rm conftest.$ac_ext
16154 LIBS=$ac_func_search_save_LIBS
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16157 $as_echo "$ac_cv_search_gettext" >&6; }
16158 ac_res=$ac_cv_search_gettext
16159 if test "$ac_res" != no; then :
16160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16162 else
16163 USE_NLS=no
16167 if test $USE_NLS = yes; then
16169 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16189 $as_echo_n "checking for std::allocator base class... " >&6; }
16190 # Check whether --enable-libstdcxx-allocator was given.
16191 if test "${enable_libstdcxx_allocator+set}" = set; then :
16192 enableval=$enable_libstdcxx_allocator;
16193 case "$enableval" in
16194 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16195 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16196 esac
16198 else
16199 enable_libstdcxx_allocator=auto
16204 # If they didn't use this option switch, or if they specified --enable
16205 # with no specific model, we'll have to look for one. If they
16206 # specified --disable (???), do likewise.
16207 if test $enable_libstdcxx_allocator = no ||
16208 test $enable_libstdcxx_allocator = yes;
16209 then
16210 enable_libstdcxx_allocator=auto
16213 # Either a known package, or "auto". Auto implies the default choice
16214 # for a particular platform.
16215 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16217 # Probe for host-specific support if no specific model is specified.
16218 # Default to "new".
16219 if test $enable_libstdcxx_allocator_flag = auto; then
16220 case ${target_os} in
16221 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16222 enable_libstdcxx_allocator_flag=new
16225 enable_libstdcxx_allocator_flag=new
16227 esac
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16230 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16233 # Set configure bits for specified locale package
16234 case ${enable_libstdcxx_allocator_flag} in
16235 bitmap)
16236 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16237 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16239 malloc)
16240 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16241 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16244 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16245 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16247 new)
16248 ALLOCATOR_H=config/allocator/new_allocator_base.h
16249 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16251 pool)
16252 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16253 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16255 esac
16261 # Check whether --enable-cheaders was given.
16262 if test "${enable_cheaders+set}" = set; then :
16263 enableval=$enable_cheaders;
16264 case "$enableval" in
16265 c|c_std|c_global) ;;
16266 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16267 esac
16269 else
16270 enable_cheaders=$c_model
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16275 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16277 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16279 # Allow overrides to configure.host here.
16280 if test $enable_cheaders = c_global; then
16281 c_compatibility=yes
16290 # Check whether --enable-long-long was given.
16291 if test "${enable_long_long+set}" = set; then :
16292 enableval=$enable_long_long;
16293 case "$enableval" in
16294 yes|no) ;;
16295 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16296 esac
16298 else
16299 enable_long_long=yes
16303 if test $enable_long_long = yes; then
16305 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16309 $as_echo_n "checking for enabled long long specializations... " >&6; }
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16311 $as_echo "$enable_long_long" >&6; }
16314 # Check whether --enable-wchar_t was given.
16315 if test "${enable_wchar_t+set}" = set; then :
16316 enableval=$enable_wchar_t;
16317 case "$enableval" in
16318 yes|no) ;;
16319 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16320 esac
16322 else
16323 enable_wchar_t=yes
16328 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16329 for ac_header in wchar.h
16330 do :
16331 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16332 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_WCHAR_H 1
16335 _ACEOF
16336 ac_has_wchar_h=yes
16337 else
16338 ac_has_wchar_h=no
16341 done
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16344 $as_echo_n "checking for mbstate_t... " >&6; }
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #include <wchar.h>
16349 main ()
16351 mbstate_t teststate;
16353 return 0;
16355 _ACEOF
16356 if ac_fn_c_try_compile "$LINENO"; then :
16357 have_mbstate_t=yes
16358 else
16359 have_mbstate_t=no
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16363 $as_echo "$have_mbstate_t" >&6; }
16364 if test x"$have_mbstate_t" = xyes; then
16366 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16370 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16371 # ac_has_wchar_h.
16372 for ac_header in wctype.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCTYPE_H 1
16378 _ACEOF
16379 ac_has_wctype_h=yes
16380 else
16381 ac_has_wctype_h=no
16384 done
16387 if test x"$enable_wchar_t" = x"yes"; then
16390 ac_ext=cpp
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16397 if test x"$ac_has_wchar_h" = xyes &&
16398 test x"$ac_has_wctype_h" = xyes; then
16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16401 #include <wchar.h>
16402 #include <stddef.h>
16403 wint_t i;
16404 long l = WEOF;
16405 long j = WCHAR_MIN;
16406 long k = WCHAR_MAX;
16407 namespace test
16409 using ::btowc;
16410 using ::fgetwc;
16411 using ::fgetws;
16412 using ::fputwc;
16413 using ::fputws;
16414 using ::fwide;
16415 using ::fwprintf;
16416 using ::fwscanf;
16417 using ::getwc;
16418 using ::getwchar;
16419 using ::mbrlen;
16420 using ::mbrtowc;
16421 using ::mbsinit;
16422 using ::mbsrtowcs;
16423 using ::putwc;
16424 using ::putwchar;
16425 using ::swprintf;
16426 using ::swscanf;
16427 using ::ungetwc;
16428 using ::vfwprintf;
16429 using ::vswprintf;
16430 using ::vwprintf;
16431 using ::wcrtomb;
16432 using ::wcscat;
16433 using ::wcschr;
16434 using ::wcscmp;
16435 using ::wcscoll;
16436 using ::wcscpy;
16437 using ::wcscspn;
16438 using ::wcsftime;
16439 using ::wcslen;
16440 using ::wcsncat;
16441 using ::wcsncmp;
16442 using ::wcsncpy;
16443 using ::wcspbrk;
16444 using ::wcsrchr;
16445 using ::wcsrtombs;
16446 using ::wcsspn;
16447 using ::wcsstr;
16448 using ::wcstod;
16449 using ::wcstok;
16450 using ::wcstol;
16451 using ::wcstoul;
16452 using ::wcsxfrm;
16453 using ::wctob;
16454 using ::wmemchr;
16455 using ::wmemcmp;
16456 using ::wmemcpy;
16457 using ::wmemmove;
16458 using ::wmemset;
16459 using ::wprintf;
16460 using ::wscanf;
16464 main ()
16468 return 0;
16470 _ACEOF
16471 if ac_fn_cxx_try_compile "$LINENO"; then :
16473 else
16474 enable_wchar_t=no
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477 else
16478 enable_wchar_t=no
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16489 if test x"$enable_wchar_t" = x"yes"; then
16491 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16496 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16498 $as_echo "$enable_wchar_t" >&6; }
16502 # Check whether --enable-c99 was given.
16503 if test "${enable_c99+set}" = set; then :
16504 enableval=$enable_c99;
16505 case "$enableval" in
16506 yes|no) ;;
16507 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16508 esac
16510 else
16511 enable_c99=yes
16516 if test x"$enable_c99" = x"yes"; then
16519 ac_ext=cpp
16520 ac_cpp='$CXXCPP $CPPFLAGS'
16521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16526 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16527 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16528 # spuriously enabled.
16529 # Long term, -std=c++0x could be even better, could manage to explicitely
16530 # request C99 facilities to the underlying C headers.
16531 ac_save_CXXFLAGS="$CXXFLAGS"
16532 CXXFLAGS="$CXXFLAGS -std=c++98"
16533 ac_save_LIBS="$LIBS"
16534 ac_save_gcc_no_link="$gcc_no_link"
16536 if test x$gcc_no_link != xyes; then
16537 # Use -fno-exceptions to that the C driver can link these tests without
16538 # hitting undefined references to personality routines.
16539 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16541 $as_echo_n "checking for sin in -lm... " >&6; }
16542 if test "${ac_cv_lib_m_sin+set}" = set; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lm $LIBS"
16547 if test x$gcc_no_link = xyes; then
16548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char sin ();
16561 main ()
16563 return sin ();
16565 return 0;
16567 _ACEOF
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569 ac_cv_lib_m_sin=yes
16570 else
16571 ac_cv_lib_m_sin=no
16573 rm -f core conftest.err conftest.$ac_objext \
16574 conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16578 $as_echo "$ac_cv_lib_m_sin" >&6; }
16579 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16581 LIBS="$LIBS -lm"
16583 else
16585 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16586 gcc_no_link=yes
16592 # Check for the existence of <math.h> functions used if C99 is enabled.
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16594 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16595 if test "${glibcxx_cv_c99_math+set}" = set; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16599 if test x$gcc_no_link = xyes; then
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #include <math.h>
16603 volatile double d1, d2;
16604 volatile int i;
16606 main ()
16608 i = fpclassify(d1);
16609 i = isfinite(d1);
16610 i = isinf(d1);
16611 i = isnan(d1);
16612 i = isnormal(d1);
16613 i = signbit(d1);
16614 i = isgreater(d1, d2);
16615 i = isgreaterequal(d1, d2);
16616 i = isless(d1, d2);
16617 i = islessequal(d1, d2);
16618 i = islessgreater(d1, d2);
16619 i = islessgreater(d1, d2);
16620 i = isunordered(d1, d2);
16623 return 0;
16625 _ACEOF
16626 if ac_fn_cxx_try_compile "$LINENO"; then :
16627 glibcxx_cv_c99_math=yes
16628 else
16629 glibcxx_cv_c99_math=no
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632 else
16633 if test x$gcc_no_link = xyes; then
16634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #include <math.h>
16639 volatile double d1, d2;
16640 volatile int i;
16642 main ()
16644 i = fpclassify(d1);
16645 i = isfinite(d1);
16646 i = isinf(d1);
16647 i = isnan(d1);
16648 i = isnormal(d1);
16649 i = signbit(d1);
16650 i = isgreater(d1, d2);
16651 i = isgreaterequal(d1, d2);
16652 i = isless(d1, d2);
16653 i = islessequal(d1, d2);
16654 i = islessgreater(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = isunordered(d1, d2);
16659 return 0;
16661 _ACEOF
16662 if ac_fn_cxx_try_link "$LINENO"; then :
16663 glibcxx_cv_c99_math=yes
16664 else
16665 glibcxx_cv_c99_math=no
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16674 $as_echo "$glibcxx_cv_c99_math" >&6; }
16675 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16677 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16681 # Check for the existence of <complex.h> complex math functions.
16682 # This is necessary even though libstdc++ uses the builtin versions
16683 # of these functions, because if the builtin cannot be used, a reference
16684 # to the library function is emitted.
16685 for ac_header in tgmath.h
16686 do :
16687 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16688 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_TGMATH_H 1
16691 _ACEOF
16692 ac_has_tgmath_h=yes
16693 else
16694 ac_has_tgmath_h=no
16697 done
16699 for ac_header in complex.h
16700 do :
16701 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16702 if test "x$ac_cv_header_complex_h" = x""yes; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define HAVE_COMPLEX_H 1
16705 _ACEOF
16706 ac_has_complex_h=yes
16707 else
16708 ac_has_complex_h=no
16711 done
16713 glibcxx_cv_c99_complex=no;
16714 if test x"$ac_has_complex_h" = x"yes"; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16716 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16717 if test x$gcc_no_link = xyes; then
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16720 #include <complex.h>
16721 typedef __complex__ float float_type;
16722 typedef __complex__ double double_type;
16723 typedef __complex__ long double ld_type;
16724 volatile float_type tmpf;
16725 volatile double_type tmpd;
16726 volatile ld_type tmpld;
16727 volatile float f;
16728 volatile double d;
16729 volatile long double ld;
16731 main ()
16733 f = cabsf(tmpf);
16734 f = cargf(tmpf);
16735 tmpf = ccosf(tmpf);
16736 tmpf = ccoshf(tmpf);
16737 tmpf = cexpf(tmpf);
16738 tmpf = clogf(tmpf);
16739 tmpf = csinf(tmpf);
16740 tmpf = csinhf(tmpf);
16741 tmpf = csqrtf(tmpf);
16742 tmpf = ctanf(tmpf);
16743 tmpf = ctanhf(tmpf);
16744 tmpf = cpowf(tmpf, tmpf);
16745 tmpf = cprojf(tmpf);
16746 d = cabs(tmpd);
16747 d = carg(tmpd);
16748 tmpd = ccos(tmpd);
16749 tmpd = ccosh(tmpd);
16750 tmpd = cexp(tmpd);
16751 tmpd = clog(tmpd);
16752 tmpd = csin(tmpd);
16753 tmpd = csinh(tmpd);
16754 tmpd = csqrt(tmpd);
16755 tmpd = ctan(tmpd);
16756 tmpd = ctanh(tmpd);
16757 tmpd = cpow(tmpd, tmpd);
16758 tmpd = cproj(tmpd);
16759 ld = cabsl(tmpld);
16760 ld = cargl(tmpld);
16761 tmpld = ccosl(tmpld);
16762 tmpld = ccoshl(tmpld);
16763 tmpld = cexpl(tmpld);
16764 tmpld = clogl(tmpld);
16765 tmpld = csinl(tmpld);
16766 tmpld = csinhl(tmpld);
16767 tmpld = csqrtl(tmpld);
16768 tmpld = ctanl(tmpld);
16769 tmpld = ctanhl(tmpld);
16770 tmpld = cpowl(tmpld, tmpld);
16771 tmpld = cprojl(tmpld);
16774 return 0;
16776 _ACEOF
16777 if ac_fn_cxx_try_compile "$LINENO"; then :
16778 glibcxx_cv_c99_complex=yes
16779 else
16780 glibcxx_cv_c99_complex=no
16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 else
16784 if test x$gcc_no_link = xyes; then
16785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16789 #include <complex.h>
16790 typedef __complex__ float float_type;
16791 typedef __complex__ double double_type;
16792 typedef __complex__ long double ld_type;
16793 volatile float_type tmpf;
16794 volatile double_type tmpd;
16795 volatile ld_type tmpld;
16796 volatile float f;
16797 volatile double d;
16798 volatile long double ld;
16800 main ()
16802 f = cabsf(tmpf);
16803 f = cargf(tmpf);
16804 tmpf = ccosf(tmpf);
16805 tmpf = ccoshf(tmpf);
16806 tmpf = cexpf(tmpf);
16807 tmpf = clogf(tmpf);
16808 tmpf = csinf(tmpf);
16809 tmpf = csinhf(tmpf);
16810 tmpf = csqrtf(tmpf);
16811 tmpf = ctanf(tmpf);
16812 tmpf = ctanhf(tmpf);
16813 tmpf = cpowf(tmpf, tmpf);
16814 tmpf = cprojf(tmpf);
16815 d = cabs(tmpd);
16816 d = carg(tmpd);
16817 tmpd = ccos(tmpd);
16818 tmpd = ccosh(tmpd);
16819 tmpd = cexp(tmpd);
16820 tmpd = clog(tmpd);
16821 tmpd = csin(tmpd);
16822 tmpd = csinh(tmpd);
16823 tmpd = csqrt(tmpd);
16824 tmpd = ctan(tmpd);
16825 tmpd = ctanh(tmpd);
16826 tmpd = cpow(tmpd, tmpd);
16827 tmpd = cproj(tmpd);
16828 ld = cabsl(tmpld);
16829 ld = cargl(tmpld);
16830 tmpld = ccosl(tmpld);
16831 tmpld = ccoshl(tmpld);
16832 tmpld = cexpl(tmpld);
16833 tmpld = clogl(tmpld);
16834 tmpld = csinl(tmpld);
16835 tmpld = csinhl(tmpld);
16836 tmpld = csqrtl(tmpld);
16837 tmpld = ctanl(tmpld);
16838 tmpld = ctanhl(tmpld);
16839 tmpld = cpowl(tmpld, tmpld);
16840 tmpld = cprojl(tmpld);
16843 return 0;
16845 _ACEOF
16846 if ac_fn_cxx_try_link "$LINENO"; then :
16847 glibcxx_cv_c99_complex=yes
16848 else
16849 glibcxx_cv_c99_complex=no
16851 rm -f core conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16856 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16857 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16859 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16863 # Check for the existence in <stdio.h> of vscanf, et. al.
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16865 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16866 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16870 if test x$gcc_no_link = xyes; then
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 #include <stdio.h>
16874 #include <stdarg.h>
16875 void foo(char* fmt, ...)
16877 va_list args; va_start(args, fmt);
16878 vfscanf(stderr, "%i", args);
16879 vscanf("%i", args);
16880 vsnprintf(fmt, 0, "%i", args);
16881 vsscanf(fmt, "%i", args);
16884 main ()
16886 snprintf("12", 0, "%i");
16888 return 0;
16890 _ACEOF
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16892 glibcxx_cv_c99_stdio=yes
16893 else
16894 glibcxx_cv_c99_stdio=no
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 else
16898 if test x$gcc_no_link = xyes; then
16899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <stdio.h>
16904 #include <stdarg.h>
16905 void foo(char* fmt, ...)
16907 va_list args; va_start(args, fmt);
16908 vfscanf(stderr, "%i", args);
16909 vscanf("%i", args);
16910 vsnprintf(fmt, 0, "%i", args);
16911 vsscanf(fmt, "%i", args);
16914 main ()
16916 snprintf("12", 0, "%i");
16918 return 0;
16920 _ACEOF
16921 if ac_fn_cxx_try_link "$LINENO"; then :
16922 glibcxx_cv_c99_stdio=yes
16923 else
16924 glibcxx_cv_c99_stdio=no
16926 rm -f core conftest.err conftest.$ac_objext \
16927 conftest$ac_exeext conftest.$ac_ext
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16933 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16935 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16937 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16938 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16939 $as_echo_n "(cached) " >&6
16940 else
16942 if test x$gcc_no_link = xyes; then
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #include <stdlib.h>
16946 volatile float f;
16947 volatile long double ld;
16948 volatile unsigned long long ll;
16949 lldiv_t mydivt;
16951 main ()
16953 char* tmp;
16954 f = strtof("gnu", &tmp);
16955 ld = strtold("gnu", &tmp);
16956 ll = strtoll("gnu", &tmp, 10);
16957 ll = strtoull("gnu", &tmp, 10);
16958 ll = llabs(10);
16959 mydivt = lldiv(10,1);
16960 ll = mydivt.quot;
16961 ll = mydivt.rem;
16962 ll = atoll("10");
16963 _Exit(0);
16966 return 0;
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970 glibcxx_cv_c99_stdlib=yes
16971 else
16972 glibcxx_cv_c99_stdlib=no
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975 else
16976 if test x$gcc_no_link = xyes; then
16977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #include <stdlib.h>
16982 volatile float f;
16983 volatile long double ld;
16984 volatile unsigned long long ll;
16985 lldiv_t mydivt;
16987 main ()
16989 char* tmp;
16990 f = strtof("gnu", &tmp);
16991 ld = strtold("gnu", &tmp);
16992 ll = strtoll("gnu", &tmp, 10);
16993 ll = strtoull("gnu", &tmp, 10);
16994 ll = llabs(10);
16995 mydivt = lldiv(10,1);
16996 ll = mydivt.quot;
16997 ll = mydivt.rem;
16998 ll = atoll("10");
16999 _Exit(0);
17002 return 0;
17004 _ACEOF
17005 if ac_fn_cxx_try_link "$LINENO"; then :
17006 glibcxx_cv_c99_stdlib=yes
17007 else
17008 glibcxx_cv_c99_stdlib=no
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17017 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17019 # Check for the existence in <wchar.h> of wcstold, etc.
17020 glibcxx_cv_c99_wchar=no;
17021 if test x"$ac_has_wchar_h" = xyes &&
17022 test x"$ac_has_wctype_h" = xyes; then
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17024 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <wchar.h>
17028 namespace test
17030 using ::wcstold;
17031 using ::wcstoll;
17032 using ::wcstoull;
17036 main ()
17040 return 0;
17042 _ACEOF
17043 if ac_fn_cxx_try_compile "$LINENO"; then :
17044 glibcxx_cv_c99_wchar=yes
17045 else
17046 glibcxx_cv_c99_wchar=no
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050 # Checks for wide character functions that may not be present.
17051 # Injection of these is wrapped with guard macros.
17052 # NB: only put functions here, instead of immediately above, if
17053 # absolutely necessary.
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test { using ::vfwscanf; }
17059 main ()
17063 return 0;
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17068 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test { using ::vswscanf; }
17078 main ()
17082 return 0;
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17087 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <wchar.h>
17095 namespace test { using ::vwscanf; }
17097 main ()
17101 return 0;
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17106 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <wchar.h>
17114 namespace test { using ::wcstof; }
17116 main ()
17120 return 0;
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17125 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wctype.h>
17134 main ()
17136 wint_t t; int i = iswblank(t);
17138 return 0;
17140 _ACEOF
17141 if ac_fn_cxx_try_compile "$LINENO"; then :
17143 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17149 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17152 # Option parsed, now set things appropriately.
17153 if test x"$glibcxx_cv_c99_math" = x"no" ||
17154 test x"$glibcxx_cv_c99_complex" = x"no" ||
17155 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17156 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17157 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17158 enable_c99=no;
17159 else
17161 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17165 gcc_no_link="$ac_save_gcc_no_link"
17166 LIBS="$ac_save_LIBS"
17167 CXXFLAGS="$ac_save_CXXFLAGS"
17168 ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17177 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17179 $as_echo "$enable_c99" >&6; }
17182 # Check whether --enable-concept-checks was given.
17183 if test "${enable_concept_checks+set}" = set; then :
17184 enableval=$enable_concept_checks;
17185 case "$enableval" in
17186 yes|no) ;;
17187 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17188 esac
17190 else
17191 enable_concept_checks=no
17195 if test $enable_concept_checks = yes; then
17197 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17202 # Check whether --enable-libstdcxx-debug-flags was given.
17203 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17204 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17205 xno | x) enable_libstdcxx_debug_flags= ;;
17206 x-*) ;;
17207 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17208 esac
17209 else
17210 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17215 # Option parsed, now set things appropriately
17216 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17220 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17224 $as_echo_n "checking for additional debug build... " >&6; }
17225 # Check whether --enable-libstdcxx-debug was given.
17226 if test "${enable_libstdcxx_debug+set}" = set; then :
17227 enableval=$enable_libstdcxx_debug;
17228 case "$enableval" in
17229 yes|no) ;;
17230 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17231 esac
17233 else
17234 enable_libstdcxx_debug=no
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17239 $as_echo "$enable_libstdcxx_debug" >&6; }
17244 enable_parallel=no;
17246 # See if configured libgomp/omp.h exists. (libgomp may be in
17247 # noconfigdirs but not explicitly disabled.)
17248 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17249 enable_parallel=yes;
17250 else
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17252 $as_echo "$as_me: target-libgomp not built" >&6;}
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17256 $as_echo_n "checking for parallel mode support... " >&6; }
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17258 $as_echo "$enable_parallel" >&6; }
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17261 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17262 # Check whether --enable-cxx-flags was given.
17263 if test "${enable_cxx_flags+set}" = set; then :
17264 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17265 xno | x) enable_cxx_flags= ;;
17266 x-*) ;;
17267 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268 esac
17269 else
17270 enable_cxx_flags=
17275 # Run through flags (either default or command-line) and set anything
17276 # extra (e.g., #defines) that must accompany particular g++ options.
17277 if test -n "$enable_cxx_flags"; then
17278 for f in $enable_cxx_flags; do
17279 case "$f" in
17280 -fhonor-std) ;;
17281 -*) ;;
17282 *) # and we're trying to pass /what/ exactly?
17283 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17284 esac
17285 done
17288 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17290 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17294 # Check whether --enable-fully-dynamic-string was given.
17295 if test "${enable_fully_dynamic_string+set}" = set; then :
17296 enableval=$enable_fully_dynamic_string;
17297 case "$enableval" in
17298 yes|no) ;;
17299 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17300 esac
17302 else
17303 enable_fully_dynamic_string=no
17307 if test $enable_fully_dynamic_string = yes; then
17308 enable_fully_dynamic_string_def=1
17309 else
17310 enable_fully_dynamic_string_def=0
17313 cat >>confdefs.h <<_ACEOF
17314 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17315 _ACEOF
17320 # Check whether --enable-extern-template was given.
17321 if test "${enable_extern_template+set}" = set; then :
17322 enableval=$enable_extern_template;
17323 case "$enableval" in
17324 yes|no) ;;
17325 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17326 esac
17328 else
17329 enable_extern_template=yes
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17335 $as_echo_n "checking for extern template support... " >&6; }
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17337 $as_echo "$enable_extern_template" >&6; }
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17344 $as_echo_n "checking for custom python install directory... " >&6; }
17346 # Check whether --with-python-dir was given.
17347 if test "${with_python_dir+set}" = set; then :
17348 withval=$with_python_dir; with_python_dir=$withval
17349 else
17350 with_python_dir="no"
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17354 $as_echo "${with_python_dir}" >&6; }
17356 # Needed for installing Python modules during make install.
17357 python_mod_dir="${with_python_dir}"
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17363 $as_echo_n "checking for -Werror... " >&6; }
17364 # Check whether --enable-werror was given.
17365 if test "${enable_werror+set}" = set; then :
17366 enableval=$enable_werror;
17367 case "$enableval" in
17368 yes|no) ;;
17369 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17370 esac
17372 else
17373 enable_werror=yes
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17378 $as_echo "$enable_werror" >&6; }
17382 # Checks for operating systems support that doesn't require linking.
17386 ac_ext=cpp
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17394 $as_echo_n "checking for gets declaration... " >&6; }
17395 if test "${glibcxx_cv_gets+set}" = set; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #include <stdio.h>
17402 namespace test
17404 using ::gets;
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17409 glibcxx_cv_gets=yes
17410 else
17411 glibcxx_cv_gets=no
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17418 if test $glibcxx_cv_gets = yes; then
17420 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17424 $as_echo "$glibcxx_cv_gets" >&6; }
17426 ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17436 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17437 if test "${glibcxx_cv_system_error1+set}" = set; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 #include <errno.h>
17445 main ()
17447 int i = EOWNERDEAD;
17449 return 0;
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 glibcxx_cv_system_error1=yes
17454 else
17455 glibcxx_cv_system_error1=no
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17462 $as_echo "$glibcxx_cv_system_error1" >&6; }
17463 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17465 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17469 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17470 if test "${glibcxx_cv_system_error2+set}" = set; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <errno.h>
17478 main ()
17480 int i = ENOTRECOVERABLE;
17482 return 0;
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486 glibcxx_cv_system_error2=yes
17487 else
17488 glibcxx_cv_system_error2=no
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17495 $as_echo "$glibcxx_cv_system_error2" >&6; }
17496 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17498 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17502 $as_echo_n "checking for ENOLINK... " >&6; }
17503 if test "${glibcxx_cv_system_error3+set}" = set; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <errno.h>
17511 main ()
17513 int i = ENOLINK;
17515 return 0;
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519 glibcxx_cv_system_error3=yes
17520 else
17521 glibcxx_cv_system_error3=no
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17528 $as_echo "$glibcxx_cv_system_error3" >&6; }
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17531 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17535 $as_echo_n "checking for EPROTO... " >&6; }
17536 if test "${glibcxx_cv_system_error4+set}" = set; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <errno.h>
17544 main ()
17546 int i = EPROTO;
17548 return 0;
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552 glibcxx_cv_system_error4=yes
17553 else
17554 glibcxx_cv_system_error4=no
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17561 $as_echo "$glibcxx_cv_system_error4" >&6; }
17562 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17564 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17568 $as_echo_n "checking for ENODATA... " >&6; }
17569 if test "${glibcxx_cv_system_error5+set}" = set; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <errno.h>
17577 main ()
17579 int i = ENODATA;
17581 return 0;
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585 glibcxx_cv_system_error5=yes
17586 else
17587 glibcxx_cv_system_error5=no
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17594 $as_echo "$glibcxx_cv_system_error5" >&6; }
17595 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17597 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17601 $as_echo_n "checking for ENOSR... " >&6; }
17602 if test "${glibcxx_cv_system_error6+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #include <errno.h>
17610 main ()
17612 int i = ENOSR;
17614 return 0;
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618 glibcxx_cv_system_error6=yes
17619 else
17620 glibcxx_cv_system_error6=no
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17627 $as_echo "$glibcxx_cv_system_error6" >&6; }
17628 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17630 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17634 $as_echo_n "checking for ENOSTR... " >&6; }
17635 if test "${glibcxx_cv_system_error7+set}" = set; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <errno.h>
17643 main ()
17645 int i = ENOSTR;
17647 return 0;
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651 glibcxx_cv_system_error7=yes
17652 else
17653 glibcxx_cv_system_error7=no
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17660 $as_echo "$glibcxx_cv_system_error7" >&6; }
17661 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17663 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17667 $as_echo_n "checking for ETIME... " >&6; }
17668 if test "${glibcxx_cv_system_error8+set}" = set; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 #include <errno.h>
17676 main ()
17678 int i = ETIME;
17680 return 0;
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 glibcxx_cv_system_error8=yes
17685 else
17686 glibcxx_cv_system_error8=no
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17693 $as_echo "$glibcxx_cv_system_error8" >&6; }
17694 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17696 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17700 $as_echo_n "checking for EBADMSG... " >&6; }
17701 if test "${glibcxx_cv_system_error9+set}" = set; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <errno.h>
17709 main ()
17711 int i = EBADMSG;
17713 return 0;
17715 _ACEOF
17716 if ac_fn_c_try_compile "$LINENO"; then :
17717 glibcxx_cv_system_error9=yes
17718 else
17719 glibcxx_cv_system_error9=no
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17726 $as_echo "$glibcxx_cv_system_error9" >&6; }
17727 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17729 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17733 $as_echo_n "checking for ECANCELED... " >&6; }
17734 if test "${glibcxx_cv_system_error10+set}" = set; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <errno.h>
17742 main ()
17744 int i = ECANCELED;
17746 return 0;
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750 glibcxx_cv_system_error10=yes
17751 else
17752 glibcxx_cv_system_error10=no
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17759 $as_echo "$glibcxx_cv_system_error10" >&6; }
17760 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17762 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17766 $as_echo_n "checking for EOVERFLOW... " >&6; }
17767 if test "${glibcxx_cv_system_error11+set}" = set; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #include <errno.h>
17775 main ()
17777 int i = EOVERFLOW;
17779 return 0;
17781 _ACEOF
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783 glibcxx_cv_system_error11=yes
17784 else
17785 glibcxx_cv_system_error11=no
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17792 $as_echo "$glibcxx_cv_system_error11" >&6; }
17793 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17795 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17799 $as_echo_n "checking for ENOTSUP... " >&6; }
17800 if test "${glibcxx_cv_system_error12+set}" = set; then :
17801 $as_echo_n "(cached) " >&6
17802 else
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #include <errno.h>
17808 main ()
17810 int i = ENOTSUP;
17812 return 0;
17814 _ACEOF
17815 if ac_fn_c_try_compile "$LINENO"; then :
17816 glibcxx_cv_system_error12=yes
17817 else
17818 glibcxx_cv_system_error12=no
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17825 $as_echo "$glibcxx_cv_system_error12" >&6; }
17826 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17828 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17832 $as_echo_n "checking for EIDRM... " >&6; }
17833 if test "${glibcxx_cv_system_error13+set}" = set; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17839 #include <errno.h>
17841 main ()
17843 int i = EIDRM;
17845 return 0;
17847 _ACEOF
17848 if ac_fn_c_try_compile "$LINENO"; then :
17849 glibcxx_cv_system_error13=yes
17850 else
17851 glibcxx_cv_system_error13=no
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17858 $as_echo "$glibcxx_cv_system_error13" >&6; }
17859 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17861 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17865 $as_echo_n "checking for ETXTBSY... " >&6; }
17866 if test "${glibcxx_cv_system_error14+set}" = set; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17872 #include <errno.h>
17874 main ()
17876 int i = ETXTBSY;
17878 return 0;
17880 _ACEOF
17881 if ac_fn_c_try_compile "$LINENO"; then :
17882 glibcxx_cv_system_error14=yes
17883 else
17884 glibcxx_cv_system_error14=no
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17891 $as_echo "$glibcxx_cv_system_error14" >&6; }
17892 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17894 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17898 $as_echo_n "checking for ECHILD... " >&6; }
17899 if test "${glibcxx_cv_system_error15+set}" = set; then :
17900 $as_echo_n "(cached) " >&6
17901 else
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h. */
17905 #include <errno.h>
17907 main ()
17909 int i = ECHILD;
17911 return 0;
17913 _ACEOF
17914 if ac_fn_c_try_compile "$LINENO"; then :
17915 glibcxx_cv_system_error15=yes
17916 else
17917 glibcxx_cv_system_error15=no
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17924 $as_echo "$glibcxx_cv_system_error15" >&6; }
17925 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17927 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17931 $as_echo_n "checking for ENOSPC... " >&6; }
17932 if test "${glibcxx_cv_system_error16+set}" = set; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <errno.h>
17940 main ()
17942 int i = ENOSPC;
17944 return 0;
17946 _ACEOF
17947 if ac_fn_c_try_compile "$LINENO"; then :
17948 glibcxx_cv_system_error16=yes
17949 else
17950 glibcxx_cv_system_error16=no
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17957 $as_echo "$glibcxx_cv_system_error16" >&6; }
17958 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17960 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17964 $as_echo_n "checking for EPERM... " >&6; }
17965 if test "${glibcxx_cv_system_error17+set}" = set; then :
17966 $as_echo_n "(cached) " >&6
17967 else
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971 #include <errno.h>
17973 main ()
17975 int i = EPERM;
17977 return 0;
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981 glibcxx_cv_system_error17=yes
17982 else
17983 glibcxx_cv_system_error17=no
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17990 $as_echo "$glibcxx_cv_system_error17" >&6; }
17991 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17993 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17997 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17998 if test "${glibcxx_cv_system_error18+set}" = set; then :
17999 $as_echo_n "(cached) " >&6
18000 else
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <errno.h>
18006 main ()
18008 int i = ETIMEDOUT;
18010 return 0;
18012 _ACEOF
18013 if ac_fn_c_try_compile "$LINENO"; then :
18014 glibcxx_cv_system_error18=yes
18015 else
18016 glibcxx_cv_system_error18=no
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18023 $as_echo "$glibcxx_cv_system_error18" >&6; }
18024 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18026 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18030 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18031 if test "${glibcxx_cv_system_error19+set}" = set; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 #include <errno.h>
18039 main ()
18041 int i = EWOULDBLOCK;
18043 return 0;
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"; then :
18047 glibcxx_cv_system_error19=yes
18048 else
18049 glibcxx_cv_system_error19=no
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18056 $as_echo "$glibcxx_cv_system_error19" >&6; }
18057 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18059 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18065 # For the streamoff typedef.
18069 ac_ext=cpp
18070 ac_cpp='$CXXCPP $CPPFLAGS'
18071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18077 $as_echo_n "checking for int64_t... " >&6; }
18078 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <stdint.h>
18086 main ()
18088 int64_t var;
18090 return 0;
18092 _ACEOF
18093 if ac_fn_cxx_try_compile "$LINENO"; then :
18094 glibcxx_cv_INT64_T=yes
18095 else
18096 glibcxx_cv_INT64_T=no
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18103 if test $glibcxx_cv_INT64_T = yes; then
18105 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18108 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18111 $as_echo_n "checking for int64_t as long... " >&6; }
18112 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18113 $as_echo_n "(cached) " >&6
18114 else
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <stdint.h>
18119 template<typename, typename> struct same { enum { value = -1 }; };
18120 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18121 int array[same<int64_t, long>::value];
18123 main ()
18127 return 0;
18129 _ACEOF
18130 if ac_fn_cxx_try_compile "$LINENO"; then :
18131 glibcxx_cv_int64_t_long=yes
18132 else
18133 glibcxx_cv_int64_t_long=no
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140 if test $glibcxx_cv_int64_t_long = yes; then
18142 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18145 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18149 $as_echo_n "checking for int64_t as long long... " >&6; }
18150 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <stdint.h>
18157 template<typename, typename> struct same { enum { value = -1 }; };
18158 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18159 int array[same<int64_t, long long>::value];
18161 main ()
18165 return 0;
18167 _ACEOF
18168 if ac_fn_cxx_try_compile "$LINENO"; then :
18169 glibcxx_cv_int64_t_long_long=yes
18170 else
18171 glibcxx_cv_int64_t_long_long=no
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18178 if test $glibcxx_cv_int64_t_long_long = yes; then
18180 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18183 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18187 ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18195 # For LFS support.
18198 ac_ext=cpp
18199 ac_cpp='$CXXCPP $CPPFLAGS'
18200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18204 ac_save_CXXFLAGS="$CXXFLAGS"
18205 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18207 $as_echo_n "checking for LFS support... " >&6; }
18208 if test "${glibcxx_cv_LFS+set}" = set; then :
18209 $as_echo_n "(cached) " >&6
18210 else
18212 if test x$gcc_no_link = xyes; then
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18215 #include <unistd.h>
18216 #include <stdio.h>
18217 #include <sys/stat.h>
18220 main ()
18222 FILE* fp;
18223 fopen64("t", "w");
18224 fseeko64(fp, 0, SEEK_CUR);
18225 ftello64(fp);
18226 lseek64(1, 0, SEEK_CUR);
18227 struct stat64 buf;
18228 fstat64(1, &buf);
18230 return 0;
18232 _ACEOF
18233 if ac_fn_cxx_try_compile "$LINENO"; then :
18234 glibcxx_cv_LFS=yes
18235 else
18236 glibcxx_cv_LFS=no
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 else
18240 if test x$gcc_no_link = xyes; then
18241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #include <unistd.h>
18246 #include <stdio.h>
18247 #include <sys/stat.h>
18250 main ()
18252 FILE* fp;
18253 fopen64("t", "w");
18254 fseeko64(fp, 0, SEEK_CUR);
18255 ftello64(fp);
18256 lseek64(1, 0, SEEK_CUR);
18257 struct stat64 buf;
18258 fstat64(1, &buf);
18260 return 0;
18262 _ACEOF
18263 if ac_fn_cxx_try_link "$LINENO"; then :
18264 glibcxx_cv_LFS=yes
18265 else
18266 glibcxx_cv_LFS=no
18268 rm -f core conftest.err conftest.$ac_objext \
18269 conftest$ac_exeext conftest.$ac_ext
18274 if test $glibcxx_cv_LFS = yes; then
18276 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18280 $as_echo "$glibcxx_cv_LFS" >&6; }
18281 CXXFLAGS="$ac_save_CXXFLAGS"
18282 ac_ext=c
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18290 # For showmanyc_helper().
18291 for ac_header in sys/ioctl.h sys/filio.h
18292 do :
18293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18295 eval as_val=\$$as_ac_Header
18296 if test "x$as_val" = x""yes; then :
18297 cat >>confdefs.h <<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299 _ACEOF
18303 done
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 poll" >&5
18318 $as_echo_n "checking for poll... " >&6; }
18319 if test "${glibcxx_cv_POLL+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 <poll.h>
18328 main ()
18330 struct pollfd pfd[1];
18331 pfd[0].events = POLLIN;
18332 poll(pfd, 1, 0);
18334 return 0;
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_POLL=yes
18339 else
18340 glibcxx_cv_POLL=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 <poll.h>
18351 main ()
18353 struct pollfd pfd[1];
18354 pfd[0].events = POLLIN;
18355 poll(pfd, 1, 0);
18357 return 0;
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361 glibcxx_cv_POLL=yes
18362 else
18363 glibcxx_cv_POLL=no
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18371 if test $glibcxx_cv_POLL = yes; then
18373 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18377 $as_echo "$glibcxx_cv_POLL" >&6; }
18379 CXXFLAGS="$ac_save_CXXFLAGS"
18380 ac_ext=c
18381 ac_cpp='$CPP $CPPFLAGS'
18382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18390 ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18396 ac_save_CXXFLAGS="$CXXFLAGS"
18397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18400 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18401 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18405 if test x$gcc_no_link = xyes; then
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <sys/stat.h>
18410 main ()
18412 struct stat buffer;
18413 fstat(0, &buffer);
18414 S_ISREG(buffer.st_mode);
18416 return 0;
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420 glibcxx_cv_S_ISREG=yes
18421 else
18422 glibcxx_cv_S_ISREG=no
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426 if test x$gcc_no_link = xyes; then
18427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <sys/stat.h>
18433 main ()
18435 struct stat buffer;
18436 fstat(0, &buffer);
18437 S_ISREG(buffer.st_mode);
18439 return 0;
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443 glibcxx_cv_S_ISREG=yes
18444 else
18445 glibcxx_cv_S_ISREG=no
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18453 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18454 $as_echo_n "(cached) " >&6
18455 else
18457 if test x$gcc_no_link = xyes; then
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18460 #include <sys/stat.h>
18462 main ()
18464 struct stat buffer;
18465 fstat(0, &buffer);
18466 S_IFREG & buffer.st_mode;
18468 return 0;
18470 _ACEOF
18471 if ac_fn_cxx_try_compile "$LINENO"; then :
18472 glibcxx_cv_S_IFREG=yes
18473 else
18474 glibcxx_cv_S_IFREG=no
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477 else
18478 if test x$gcc_no_link = xyes; then
18479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18483 #include <sys/stat.h>
18485 main ()
18487 struct stat buffer;
18488 fstat(0, &buffer);
18489 S_IFREG & buffer.st_mode;
18491 return 0;
18493 _ACEOF
18494 if ac_fn_cxx_try_link "$LINENO"; then :
18495 glibcxx_cv_S_IFREG=yes
18496 else
18497 glibcxx_cv_S_IFREG=no
18499 rm -f core conftest.err conftest.$ac_objext \
18500 conftest$ac_exeext conftest.$ac_ext
18505 res=no
18506 if test $glibcxx_cv_S_ISREG = yes; then
18508 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18510 res=S_ISREG
18511 elif test $glibcxx_cv_S_IFREG = yes; then
18513 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18515 res=S_IFREG
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18518 $as_echo "$res" >&6; }
18520 CXXFLAGS="$ac_save_CXXFLAGS"
18521 ac_ext=c
18522 ac_cpp='$CPP $CPPFLAGS'
18523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18529 # For xsputn_2().
18530 for ac_header in sys/uio.h
18531 do :
18532 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18533 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18534 cat >>confdefs.h <<_ACEOF
18535 #define HAVE_SYS_UIO_H 1
18536 _ACEOF
18540 done
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
18551 ac_save_CXXFLAGS="$CXXFLAGS"
18552 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18555 $as_echo_n "checking for writev... " >&6; }
18556 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18557 $as_echo_n "(cached) " >&6
18558 else
18560 if test x$gcc_no_link = xyes; then
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <sys/uio.h>
18565 main ()
18567 struct iovec iov[2];
18568 writev(0, iov, 0);
18570 return 0;
18572 _ACEOF
18573 if ac_fn_cxx_try_compile "$LINENO"; then :
18574 glibcxx_cv_WRITEV=yes
18575 else
18576 glibcxx_cv_WRITEV=no
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 else
18580 if test x$gcc_no_link = xyes; then
18581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 #include <sys/uio.h>
18587 main ()
18589 struct iovec iov[2];
18590 writev(0, iov, 0);
18592 return 0;
18594 _ACEOF
18595 if ac_fn_cxx_try_link "$LINENO"; then :
18596 glibcxx_cv_WRITEV=yes
18597 else
18598 glibcxx_cv_WRITEV=no
18600 rm -f core conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18606 if test $glibcxx_cv_WRITEV = yes; then
18608 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18612 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18614 CXXFLAGS="$ac_save_CXXFLAGS"
18615 ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18623 # For C99 support to TR1.
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18634 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18635 # undefined and fake C99 facilities may be spuriously enabled.
18636 ac_save_CXXFLAGS="$CXXFLAGS"
18637 CXXFLAGS="$CXXFLAGS -std=c++98"
18639 # Check for the existence of <complex.h> complex math functions used
18640 # by tr1/complex.
18641 for ac_header in complex.h
18642 do :
18643 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18644 if test "x$ac_cv_header_complex_h" = x""yes; then :
18645 cat >>confdefs.h <<_ACEOF
18646 #define HAVE_COMPLEX_H 1
18647 _ACEOF
18648 ac_has_complex_h=yes
18649 else
18650 ac_has_complex_h=no
18653 done
18655 ac_c99_complex_tr1=no;
18656 if test x"$ac_has_complex_h" = x"yes"; then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18658 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 #include <complex.h>
18663 main ()
18665 typedef __complex__ float float_type; float_type tmpf;
18666 cacosf(tmpf);
18667 casinf(tmpf);
18668 catanf(tmpf);
18669 cacoshf(tmpf);
18670 casinhf(tmpf);
18671 catanhf(tmpf);
18672 typedef __complex__ double double_type; double_type tmpd;
18673 cacos(tmpd);
18674 casin(tmpd);
18675 catan(tmpd);
18676 cacosh(tmpd);
18677 casinh(tmpd);
18678 catanh(tmpd);
18679 typedef __complex__ long double ld_type; ld_type tmpld;
18680 cacosl(tmpld);
18681 casinl(tmpld);
18682 catanl(tmpld);
18683 cacoshl(tmpld);
18684 casinhl(tmpld);
18685 catanhl(tmpld);
18688 return 0;
18690 _ACEOF
18691 if ac_fn_cxx_try_compile "$LINENO"; then :
18692 ac_c99_complex_tr1=yes
18693 else
18694 ac_c99_complex_tr1=no
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18699 $as_echo "$ac_c99_complex_tr1" >&6; }
18700 if test x"$ac_c99_complex_tr1" = x"yes"; then
18702 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18706 # Check for the existence of <ctype.h> functions.
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18708 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18709 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18710 $as_echo_n "(cached) " >&6
18711 else
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #include <ctype.h>
18717 main ()
18719 int ch;
18720 int ret;
18721 ret = isblank(ch);
18724 return 0;
18726 _ACEOF
18727 if ac_fn_cxx_try_compile "$LINENO"; then :
18728 glibcxx_cv_c99_ctype_tr1=yes
18729 else
18730 glibcxx_cv_c99_ctype_tr1=no
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18737 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18738 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18740 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18744 # Check for the existence of <fenv.h> functions.
18745 for ac_header in fenv.h
18746 do :
18747 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_FENV_H 1
18751 _ACEOF
18752 ac_has_fenv_h=yes
18753 else
18754 ac_has_fenv_h=no
18757 done
18759 ac_c99_fenv_tr1=no;
18760 if test x"$ac_has_fenv_h" = x"yes"; then
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #include <fenv.h>
18767 main ()
18769 int except, mode;
18770 fexcept_t* pflag;
18771 fenv_t* penv;
18772 int ret;
18773 ret = feclearexcept(except);
18774 ret = fegetexceptflag(pflag, except);
18775 ret = feraiseexcept(except);
18776 ret = fesetexceptflag(pflag, except);
18777 ret = fetestexcept(except);
18778 ret = fegetround();
18779 ret = fesetround(mode);
18780 ret = fegetenv(penv);
18781 ret = feholdexcept(penv);
18782 ret = fesetenv(penv);
18783 ret = feupdateenv(penv);
18786 return 0;
18788 _ACEOF
18789 if ac_fn_cxx_try_compile "$LINENO"; then :
18790 ac_c99_fenv_tr1=yes
18791 else
18792 ac_c99_fenv_tr1=no
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18797 $as_echo "$ac_c99_fenv_tr1" >&6; }
18798 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18800 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18804 # Check for the existence of <stdint.h> types.
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18806 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18807 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18808 $as_echo_n "(cached) " >&6
18809 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #define __STDC_LIMIT_MACROS
18814 #define __STDC_CONSTANT_MACROS
18815 #include <stdint.h>
18817 main ()
18819 typedef int8_t my_int8_t;
18820 my_int8_t i8 = INT8_MIN;
18821 i8 = INT8_MAX;
18822 typedef int16_t my_int16_t;
18823 my_int16_t i16 = INT16_MIN;
18824 i16 = INT16_MAX;
18825 typedef int32_t my_int32_t;
18826 my_int32_t i32 = INT32_MIN;
18827 i32 = INT32_MAX;
18828 typedef int64_t my_int64_t;
18829 my_int64_t i64 = INT64_MIN;
18830 i64 = INT64_MAX;
18831 typedef int_fast8_t my_int_fast8_t;
18832 my_int_fast8_t if8 = INT_FAST8_MIN;
18833 if8 = INT_FAST8_MAX;
18834 typedef int_fast16_t my_int_fast16_t;
18835 my_int_fast16_t if16 = INT_FAST16_MIN;
18836 if16 = INT_FAST16_MAX;
18837 typedef int_fast32_t my_int_fast32_t;
18838 my_int_fast32_t if32 = INT_FAST32_MIN;
18839 if32 = INT_FAST32_MAX;
18840 typedef int_fast64_t my_int_fast64_t;
18841 my_int_fast64_t if64 = INT_FAST64_MIN;
18842 if64 = INT_FAST64_MAX;
18843 typedef int_least8_t my_int_least8_t;
18844 my_int_least8_t il8 = INT_LEAST8_MIN;
18845 il8 = INT_LEAST8_MAX;
18846 typedef int_least16_t my_int_least16_t;
18847 my_int_least16_t il16 = INT_LEAST16_MIN;
18848 il16 = INT_LEAST16_MAX;
18849 typedef int_least32_t my_int_least32_t;
18850 my_int_least32_t il32 = INT_LEAST32_MIN;
18851 il32 = INT_LEAST32_MAX;
18852 typedef int_least64_t my_int_least64_t;
18853 my_int_least64_t il64 = INT_LEAST64_MIN;
18854 il64 = INT_LEAST64_MAX;
18855 typedef intmax_t my_intmax_t;
18856 my_intmax_t im = INTMAX_MAX;
18857 im = INTMAX_MIN;
18858 typedef intptr_t my_intptr_t;
18859 my_intptr_t ip = INTPTR_MAX;
18860 ip = INTPTR_MIN;
18861 typedef uint8_t my_uint8_t;
18862 my_uint8_t ui8 = UINT8_MAX;
18863 ui8 = UINT8_MAX;
18864 typedef uint16_t my_uint16_t;
18865 my_uint16_t ui16 = UINT16_MAX;
18866 ui16 = UINT16_MAX;
18867 typedef uint32_t my_uint32_t;
18868 my_uint32_t ui32 = UINT32_MAX;
18869 ui32 = UINT32_MAX;
18870 typedef uint64_t my_uint64_t;
18871 my_uint64_t ui64 = UINT64_MAX;
18872 ui64 = UINT64_MAX;
18873 typedef uint_fast8_t my_uint_fast8_t;
18874 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18875 uif8 = UINT_FAST8_MAX;
18876 typedef uint_fast16_t my_uint_fast16_t;
18877 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18878 uif16 = UINT_FAST16_MAX;
18879 typedef uint_fast32_t my_uint_fast32_t;
18880 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18881 uif32 = UINT_FAST32_MAX;
18882 typedef uint_fast64_t my_uint_fast64_t;
18883 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18884 uif64 = UINT_FAST64_MAX;
18885 typedef uint_least8_t my_uint_least8_t;
18886 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18887 uil8 = UINT_LEAST8_MAX;
18888 typedef uint_least16_t my_uint_least16_t;
18889 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18890 uil16 = UINT_LEAST16_MAX;
18891 typedef uint_least32_t my_uint_least32_t;
18892 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18893 uil32 = UINT_LEAST32_MAX;
18894 typedef uint_least64_t my_uint_least64_t;
18895 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18896 uil64 = UINT_LEAST64_MAX;
18897 typedef uintmax_t my_uintmax_t;
18898 my_uintmax_t uim = UINTMAX_MAX;
18899 uim = UINTMAX_MAX;
18900 typedef uintptr_t my_uintptr_t;
18901 my_uintptr_t uip = UINTPTR_MAX;
18902 uip = UINTPTR_MAX;
18905 return 0;
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909 glibcxx_cv_c99_stdint_tr1=yes
18910 else
18911 glibcxx_cv_c99_stdint_tr1=no
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18918 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18919 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18921 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18925 # Check for the existence of <math.h> functions.
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18927 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18928 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18929 $as_echo_n "(cached) " >&6
18930 else
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 #include <math.h>
18936 main ()
18938 typedef double_t my_double_t;
18939 typedef float_t my_float_t;
18940 acosh(0.0);
18941 acoshf(0.0f);
18942 acoshl(0.0l);
18943 asinh(0.0);
18944 asinhf(0.0f);
18945 asinhl(0.0l);
18946 atanh(0.0);
18947 atanhf(0.0f);
18948 atanhl(0.0l);
18949 cbrt(0.0);
18950 cbrtf(0.0f);
18951 cbrtl(0.0l);
18952 copysign(0.0, 0.0);
18953 copysignf(0.0f, 0.0f);
18954 copysignl(0.0l, 0.0l);
18955 erf(0.0);
18956 erff(0.0f);
18957 erfl(0.0l);
18958 erfc(0.0);
18959 erfcf(0.0f);
18960 erfcl(0.0l);
18961 exp2(0.0);
18962 exp2f(0.0f);
18963 exp2l(0.0l);
18964 expm1(0.0);
18965 expm1f(0.0f);
18966 expm1l(0.0l);
18967 fdim(0.0, 0.0);
18968 fdimf(0.0f, 0.0f);
18969 fdiml(0.0l, 0.0l);
18970 fma(0.0, 0.0, 0.0);
18971 fmaf(0.0f, 0.0f, 0.0f);
18972 fmal(0.0l, 0.0l, 0.0l);
18973 fmax(0.0, 0.0);
18974 fmaxf(0.0f, 0.0f);
18975 fmaxl(0.0l, 0.0l);
18976 fmin(0.0, 0.0);
18977 fminf(0.0f, 0.0f);
18978 fminl(0.0l, 0.0l);
18979 hypot(0.0, 0.0);
18980 hypotf(0.0f, 0.0f);
18981 hypotl(0.0l, 0.0l);
18982 ilogb(0.0);
18983 ilogbf(0.0f);
18984 ilogbl(0.0l);
18985 lgamma(0.0);
18986 lgammaf(0.0f);
18987 lgammal(0.0l);
18988 llrint(0.0);
18989 llrintf(0.0f);
18990 llrintl(0.0l);
18991 llround(0.0);
18992 llroundf(0.0f);
18993 llroundl(0.0l);
18994 log1p(0.0);
18995 log1pf(0.0f);
18996 log1pl(0.0l);
18997 log2(0.0);
18998 log2f(0.0f);
18999 log2l(0.0l);
19000 logb(0.0);
19001 logbf(0.0f);
19002 logbl(0.0l);
19003 lrint(0.0);
19004 lrintf(0.0f);
19005 lrintl(0.0l);
19006 lround(0.0);
19007 lroundf(0.0f);
19008 lroundl(0.0l);
19009 nan(0);
19010 nanf(0);
19011 nanl(0);
19012 nearbyint(0.0);
19013 nearbyintf(0.0f);
19014 nearbyintl(0.0l);
19015 nextafter(0.0, 0.0);
19016 nextafterf(0.0f, 0.0f);
19017 nextafterl(0.0l, 0.0l);
19018 nexttoward(0.0, 0.0);
19019 nexttowardf(0.0f, 0.0f);
19020 nexttowardl(0.0l, 0.0l);
19021 remainder(0.0, 0.0);
19022 remainderf(0.0f, 0.0f);
19023 remainderl(0.0l, 0.0l);
19024 remquo(0.0, 0.0, 0);
19025 remquof(0.0f, 0.0f, 0);
19026 remquol(0.0l, 0.0l, 0);
19027 rint(0.0);
19028 rintf(0.0f);
19029 rintl(0.0l);
19030 round(0.0);
19031 roundf(0.0f);
19032 roundl(0.0l);
19033 scalbln(0.0, 0l);
19034 scalblnf(0.0f, 0l);
19035 scalblnl(0.0l, 0l);
19036 scalbn(0.0, 0);
19037 scalbnf(0.0f, 0);
19038 scalbnl(0.0l, 0);
19039 tgamma(0.0);
19040 tgammaf(0.0f);
19041 tgammal(0.0l);
19042 trunc(0.0);
19043 truncf(0.0f);
19044 truncl(0.0l);
19047 return 0;
19049 _ACEOF
19050 if ac_fn_cxx_try_compile "$LINENO"; then :
19051 glibcxx_cv_c99_math_tr1=yes
19052 else
19053 glibcxx_cv_c99_math_tr1=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19060 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19061 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19063 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19067 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19068 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069 ac_c99_inttypes_tr1=no;
19070 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19072 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 #include <inttypes.h>
19077 main ()
19079 intmax_t i, numer, denom, base;
19080 const char* s;
19081 char** endptr;
19082 intmax_t ret = imaxabs(i);
19083 imaxdiv_t dret = imaxdiv(numer, denom);
19084 ret = strtoimax(s, endptr, base);
19085 uintmax_t uret = strtoumax(s, endptr, base);
19088 return 0;
19090 _ACEOF
19091 if ac_fn_cxx_try_compile "$LINENO"; then :
19092 ac_c99_inttypes_tr1=yes
19093 else
19094 ac_c99_inttypes_tr1=no
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19099 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19100 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19102 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19106 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19107 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19108 ac_c99_inttypes_wchar_t_tr1=no;
19109 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19111 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 #include <inttypes.h>
19116 main ()
19118 intmax_t base;
19119 const wchar_t* s;
19120 wchar_t** endptr;
19121 intmax_t ret = wcstoimax(s, endptr, base);
19122 uintmax_t uret = wcstoumax(s, endptr, base);
19125 return 0;
19127 _ACEOF
19128 if ac_fn_cxx_try_compile "$LINENO"; then :
19129 ac_c99_inttypes_wchar_t_tr1=yes
19130 else
19131 ac_c99_inttypes_wchar_t_tr1=no
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19136 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19137 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19139 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19143 # Check for the existence of the <stdbool.h> header.
19144 for ac_header in stdbool.h
19145 do :
19146 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19147 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STDBOOL_H 1
19150 _ACEOF
19154 done
19157 # Check for the existence of the <stdalign.h> header.
19158 for ac_header in stdalign.h
19159 do :
19160 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19161 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STDALIGN_H 1
19164 _ACEOF
19168 done
19171 CXXFLAGS="$ac_save_CXXFLAGS"
19172 ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19180 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19184 $as_echo_n "checking for the value of EOF... " >&6; }
19185 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19186 $as_echo_n "(cached) " >&6
19187 else
19189 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19191 else
19192 as_fn_error "computing EOF failed" "$LINENO" 5
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19198 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19200 cat >>confdefs.h <<_ACEOF
19201 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19202 _ACEOF
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19206 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19207 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19208 $as_echo_n "(cached) " >&6
19209 else
19211 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19213 else
19214 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19220 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19222 cat >>confdefs.h <<_ACEOF
19223 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19224 _ACEOF
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19228 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19229 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19233 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19235 else
19236 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19242 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19244 cat >>confdefs.h <<_ACEOF
19245 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19246 _ACEOF
19250 # For gettimeofday support.
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19254 $as_echo_n "checking for gettimeofday... " >&6; }
19257 ac_ext=cpp
19258 ac_cpp='$CXXCPP $CPPFLAGS'
19259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19263 ac_save_CXXFLAGS="$CXXFLAGS"
19264 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19266 ac_has_gettimeofday=no;
19267 for ac_header in sys/time.h
19268 do :
19269 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_SYS_TIME_H 1
19273 _ACEOF
19274 ac_has_sys_time_h=yes
19275 else
19276 ac_has_sys_time_h=no
19279 done
19281 if test x"$ac_has_sys_time_h" = x"yes"; then
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19283 $as_echo_n "checking for gettimeofday... " >&6; }
19284 if test x$gcc_no_link = xyes; then
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287 #include <sys/time.h>
19289 main ()
19291 timeval tv; gettimeofday(&tv, 0);
19293 return 0;
19295 _ACEOF
19296 if ac_fn_cxx_try_compile "$LINENO"; then :
19297 ac_has_gettimeofday=yes
19298 else
19299 ac_has_gettimeofday=no
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 else
19303 if test x$gcc_no_link = xyes; then
19304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 #include <sys/time.h>
19310 main ()
19312 timeval tv; gettimeofday(&tv, 0);
19314 return 0;
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318 ac_has_gettimeofday=yes
19319 else
19320 ac_has_gettimeofday=no
19322 rm -f core conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19327 $as_echo "$ac_has_gettimeofday" >&6; }
19330 if test x"$ac_has_gettimeofday" = x"yes"; then
19332 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19336 CXXFLAGS="$ac_save_CXXFLAGS"
19337 ac_ext=c
19338 ac_cpp='$CPP $CPPFLAGS'
19339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19345 # For clock_gettime, nanosleep and sched_yield support.
19346 # NB: The default is [no], because otherwise it requires linking.
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19350 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19351 # Check whether --enable-libstdcxx-time was given.
19352 if test "${enable_libstdcxx_time+set}" = set; then :
19353 enableval=$enable_libstdcxx_time;
19354 case "$enableval" in
19355 yes|no|rt) ;;
19356 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19357 esac
19359 else
19360 enable_libstdcxx_time=no
19366 ac_ext=cpp
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19372 ac_save_CXXFLAGS="$CXXFLAGS"
19373 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19374 ac_save_LIBS="$LIBS"
19376 ac_has_clock_monotonic=no
19377 ac_has_clock_realtime=no
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19379 $as_echo "$enable_libstdcxx_time" >&6; }
19381 if test x"$enable_libstdcxx_time" != x"no"; then
19383 if test x"$enable_libstdcxx_time" = x"rt"; then
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19385 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19386 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19387 $as_echo_n "(cached) " >&6
19388 else
19389 ac_func_search_save_LIBS=$LIBS
19390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391 /* end confdefs.h. */
19393 /* Override any GCC internal prototype to avoid an error.
19394 Use char because int might match the return type of a GCC
19395 builtin and then its argument prototype would still apply. */
19396 #ifdef __cplusplus
19397 extern "C"
19398 #endif
19399 char clock_gettime ();
19401 main ()
19403 return clock_gettime ();
19405 return 0;
19407 _ACEOF
19408 for ac_lib in '' rt posix4; do
19409 if test -z "$ac_lib"; then
19410 ac_res="none required"
19411 else
19412 ac_res=-l$ac_lib
19413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19415 if test x$gcc_no_link = xyes; then
19416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19418 if ac_fn_cxx_try_link "$LINENO"; then :
19419 ac_cv_search_clock_gettime=$ac_res
19421 rm -f core conftest.err conftest.$ac_objext \
19422 conftest$ac_exeext
19423 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19424 break
19426 done
19427 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19429 else
19430 ac_cv_search_clock_gettime=no
19432 rm conftest.$ac_ext
19433 LIBS=$ac_func_search_save_LIBS
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19436 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19437 ac_res=$ac_cv_search_clock_gettime
19438 if test "$ac_res" != no; then :
19439 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19444 $as_echo_n "checking for library containing nanosleep... " >&6; }
19445 if test "${ac_cv_search_nanosleep+set}" = set; then :
19446 $as_echo_n "(cached) " >&6
19447 else
19448 ac_func_search_save_LIBS=$LIBS
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19452 /* Override any GCC internal prototype to avoid an error.
19453 Use char because int might match the return type of a GCC
19454 builtin and then its argument prototype would still apply. */
19455 #ifdef __cplusplus
19456 extern "C"
19457 #endif
19458 char nanosleep ();
19460 main ()
19462 return nanosleep ();
19464 return 0;
19466 _ACEOF
19467 for ac_lib in '' rt posix4; do
19468 if test -z "$ac_lib"; then
19469 ac_res="none required"
19470 else
19471 ac_res=-l$ac_lib
19472 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19474 if test x$gcc_no_link = xyes; then
19475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19477 if ac_fn_cxx_try_link "$LINENO"; then :
19478 ac_cv_search_nanosleep=$ac_res
19480 rm -f core conftest.err conftest.$ac_objext \
19481 conftest$ac_exeext
19482 if test "${ac_cv_search_nanosleep+set}" = set; then :
19483 break
19485 done
19486 if test "${ac_cv_search_nanosleep+set}" = set; then :
19488 else
19489 ac_cv_search_nanosleep=no
19491 rm conftest.$ac_ext
19492 LIBS=$ac_func_search_save_LIBS
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19495 $as_echo "$ac_cv_search_nanosleep" >&6; }
19496 ac_res=$ac_cv_search_nanosleep
19497 if test "$ac_res" != no; then :
19498 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19502 else
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19504 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19505 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 ac_func_search_save_LIBS=$LIBS
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19512 /* Override any GCC internal prototype to avoid an error.
19513 Use char because int might match the return type of a GCC
19514 builtin and then its argument prototype would still apply. */
19515 #ifdef __cplusplus
19516 extern "C"
19517 #endif
19518 char clock_gettime ();
19520 main ()
19522 return clock_gettime ();
19524 return 0;
19526 _ACEOF
19527 for ac_lib in '' posix4; do
19528 if test -z "$ac_lib"; then
19529 ac_res="none required"
19530 else
19531 ac_res=-l$ac_lib
19532 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19534 if test x$gcc_no_link = xyes; then
19535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19537 if ac_fn_cxx_try_link "$LINENO"; then :
19538 ac_cv_search_clock_gettime=$ac_res
19540 rm -f core conftest.err conftest.$ac_objext \
19541 conftest$ac_exeext
19542 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19543 break
19545 done
19546 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19548 else
19549 ac_cv_search_clock_gettime=no
19551 rm conftest.$ac_ext
19552 LIBS=$ac_func_search_save_LIBS
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19555 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19556 ac_res=$ac_cv_search_clock_gettime
19557 if test "$ac_res" != no; then :
19558 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19563 $as_echo_n "checking for library containing nanosleep... " >&6; }
19564 if test "${ac_cv_search_nanosleep+set}" = set; then :
19565 $as_echo_n "(cached) " >&6
19566 else
19567 ac_func_search_save_LIBS=$LIBS
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19571 /* Override any GCC internal prototype to avoid an error.
19572 Use char because int might match the return type of a GCC
19573 builtin and then its argument prototype would still apply. */
19574 #ifdef __cplusplus
19575 extern "C"
19576 #endif
19577 char nanosleep ();
19579 main ()
19581 return nanosleep ();
19583 return 0;
19585 _ACEOF
19586 for ac_lib in '' posix4; do
19587 if test -z "$ac_lib"; then
19588 ac_res="none required"
19589 else
19590 ac_res=-l$ac_lib
19591 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19593 if test x$gcc_no_link = xyes; then
19594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19596 if ac_fn_cxx_try_link "$LINENO"; then :
19597 ac_cv_search_nanosleep=$ac_res
19599 rm -f core conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext
19601 if test "${ac_cv_search_nanosleep+set}" = set; then :
19602 break
19604 done
19605 if test "${ac_cv_search_nanosleep+set}" = set; then :
19607 else
19608 ac_cv_search_nanosleep=no
19610 rm conftest.$ac_ext
19611 LIBS=$ac_func_search_save_LIBS
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19614 $as_echo "$ac_cv_search_nanosleep" >&6; }
19615 ac_res=$ac_cv_search_nanosleep
19616 if test "$ac_res" != no; then :
19617 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19623 case "$ac_cv_search_clock_gettime" in
19624 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19626 esac
19627 case "$ac_cv_search_nanosleep" in
19628 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19630 esac
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19633 $as_echo_n "checking for library containing sched_yield... " >&6; }
19634 if test "${ac_cv_search_sched_yield+set}" = set; then :
19635 $as_echo_n "(cached) " >&6
19636 else
19637 ac_func_search_save_LIBS=$LIBS
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19641 /* Override any GCC internal prototype to avoid an error.
19642 Use char because int might match the return type of a GCC
19643 builtin and then its argument prototype would still apply. */
19644 #ifdef __cplusplus
19645 extern "C"
19646 #endif
19647 char sched_yield ();
19649 main ()
19651 return sched_yield ();
19653 return 0;
19655 _ACEOF
19656 for ac_lib in '' rt posix4; do
19657 if test -z "$ac_lib"; then
19658 ac_res="none required"
19659 else
19660 ac_res=-l$ac_lib
19661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19663 if test x$gcc_no_link = xyes; then
19664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19666 if ac_fn_cxx_try_link "$LINENO"; then :
19667 ac_cv_search_sched_yield=$ac_res
19669 rm -f core conftest.err conftest.$ac_objext \
19670 conftest$ac_exeext
19671 if test "${ac_cv_search_sched_yield+set}" = set; then :
19672 break
19674 done
19675 if test "${ac_cv_search_sched_yield+set}" = set; then :
19677 else
19678 ac_cv_search_sched_yield=no
19680 rm conftest.$ac_ext
19681 LIBS=$ac_func_search_save_LIBS
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19684 $as_echo "$ac_cv_search_sched_yield" >&6; }
19685 ac_res=$ac_cv_search_sched_yield
19686 if test "$ac_res" != no; then :
19687 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19692 case "$ac_cv_search_sched_yield" in
19693 -lposix4*)
19694 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19696 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19699 -lrt*)
19700 if test x"$enable_libstdcxx_time" = x"rt"; then
19701 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19703 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19709 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19712 esac
19714 for ac_header in unistd.h
19715 do :
19716 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19717 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19718 cat >>confdefs.h <<_ACEOF
19719 #define HAVE_UNISTD_H 1
19720 _ACEOF
19721 ac_has_unistd_h=yes
19722 else
19723 ac_has_unistd_h=no
19726 done
19729 if test x"$ac_has_unistd_h" = x"yes"; then
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19731 $as_echo_n "checking for monotonic clock... " >&6; }
19732 if test x$gcc_no_link = xyes; then
19733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19737 #include <unistd.h>
19738 #include <time.h>
19741 main ()
19743 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19744 timespec tp;
19745 #endif
19746 clock_gettime(CLOCK_MONOTONIC, &tp);
19749 return 0;
19751 _ACEOF
19752 if ac_fn_cxx_try_link "$LINENO"; then :
19753 ac_has_clock_monotonic=yes
19754 else
19755 ac_has_clock_monotonic=no
19757 rm -f core conftest.err conftest.$ac_objext \
19758 conftest$ac_exeext conftest.$ac_ext
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19761 $as_echo "$ac_has_clock_monotonic" >&6; }
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19764 $as_echo_n "checking for realtime clock... " >&6; }
19765 if test x$gcc_no_link = xyes; then
19766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19770 #include <unistd.h>
19771 #include <time.h>
19774 main ()
19776 #if _POSIX_TIMERS > 0
19777 timespec tp;
19778 #endif
19779 clock_gettime(CLOCK_REALTIME, &tp);
19782 return 0;
19784 _ACEOF
19785 if ac_fn_cxx_try_link "$LINENO"; then :
19786 ac_has_clock_realtime=yes
19787 else
19788 ac_has_clock_realtime=no
19790 rm -f core conftest.err conftest.$ac_objext \
19791 conftest$ac_exeext conftest.$ac_ext
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19794 $as_echo "$ac_has_clock_realtime" >&6; }
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19797 $as_echo_n "checking for nanosleep... " >&6; }
19798 if test x$gcc_no_link = xyes; then
19799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19803 #include <unistd.h>
19804 #include <time.h>
19807 main ()
19809 #if _POSIX_TIMERS > 0
19810 timespec tp;
19811 #endif
19812 nanosleep(&tp, 0);
19815 return 0;
19817 _ACEOF
19818 if ac_fn_cxx_try_link "$LINENO"; then :
19819 ac_has_nanosleep=yes
19820 else
19821 ac_has_nanosleep=no
19823 rm -f core conftest.err conftest.$ac_objext \
19824 conftest$ac_exeext conftest.$ac_ext
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19827 $as_echo "$ac_has_nanosleep" >&6; }
19831 if test x"$ac_has_clock_monotonic" = x"yes"; then
19833 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19837 if test x"$ac_has_clock_realtime" = x"yes"; then
19839 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19843 if test x"$ac_has_nanosleep" = x"yes"; then
19845 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19847 else
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19849 $as_echo_n "checking for sleep... " >&6; }
19850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19852 #include <unistd.h>
19854 main ()
19856 sleep(1)
19858 return 0;
19860 _ACEOF
19861 if ac_fn_cxx_try_compile "$LINENO"; then :
19862 ac_has_sleep=yes
19863 else
19864 ac_has_sleep=no
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 if test x"$ac_has_sleep" = x"yes"; then
19869 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19873 $as_echo "$ac_has_sleep" >&6; }
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19875 $as_echo_n "checking for usleep... " >&6; }
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19878 #include <unistd.h>
19880 main ()
19882 sleep(1);
19883 usleep(100);
19885 return 0;
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889 ac_has_usleep=yes
19890 else
19891 ac_has_usleep=no
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 if test x"$ac_has_usleep" = x"yes"; then
19896 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19900 $as_echo "$ac_has_usleep" >&6; }
19903 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
19905 $as_echo_n "checking for Sleep... " >&6; }
19906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19908 #include <windows.h>
19910 main ()
19912 Sleep(1)
19914 return 0;
19916 _ACEOF
19917 if ac_fn_cxx_try_compile "$LINENO"; then :
19918 ac_has_win32_sleep=yes
19919 else
19920 ac_has_win32_sleep=no
19922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19923 if test x"$ac_has_win32_sleep" = x"yes"; then
19925 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
19929 $as_echo "$ac_has_win32_sleep" >&6; }
19934 CXXFLAGS="$ac_save_CXXFLAGS"
19935 LIBS="$ac_save_LIBS"
19936 ac_ext=c
19937 ac_cpp='$CPP $CPPFLAGS'
19938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19945 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19946 if test "x$ac_cv_header_locale_h" = x""yes; then :
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19949 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19950 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19951 $as_echo_n "(cached) " >&6
19952 else
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19955 #include <locale.h>
19957 main ()
19959 return LC_MESSAGES
19961 return 0;
19963 _ACEOF
19964 if ac_fn_c_try_compile "$LINENO"; then :
19965 ac_cv_val_LC_MESSAGES=yes
19966 else
19967 ac_cv_val_LC_MESSAGES=no
19969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19972 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19973 if test $ac_cv_val_LC_MESSAGES = yes; then
19975 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19984 # For hardware_concurrency
19985 for ac_header in sys/sysinfo.h
19986 do :
19987 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19988 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19989 cat >>confdefs.h <<_ACEOF
19990 #define HAVE_SYS_SYSINFO_H 1
19991 _ACEOF
19995 done
20000 ac_ext=cpp
20001 ac_cpp='$CXXCPP $CPPFLAGS'
20002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20006 ac_save_CXXFLAGS="$CXXFLAGS"
20007 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20010 $as_echo_n "checking for get_nprocs... " >&6; }
20011 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20012 $as_echo_n "(cached) " >&6
20013 else
20015 if test x$gcc_no_link = xyes; then
20016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20017 /* end confdefs.h. */
20018 #include <sys/sysinfo.h>
20020 main ()
20022 int n = get_nprocs();
20024 return 0;
20026 _ACEOF
20027 if ac_fn_cxx_try_compile "$LINENO"; then :
20028 glibcxx_cv_GET_NPROCS=yes
20029 else
20030 glibcxx_cv_GET_NPROCS=no
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20033 else
20034 if test x$gcc_no_link = xyes; then
20035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h. */
20039 #include <sys/sysinfo.h>
20041 main ()
20043 int n = get_nprocs();
20045 return 0;
20047 _ACEOF
20048 if ac_fn_cxx_try_link "$LINENO"; then :
20049 glibcxx_cv_GET_NPROCS=yes
20050 else
20051 glibcxx_cv_GET_NPROCS=no
20053 rm -f core conftest.err conftest.$ac_objext \
20054 conftest$ac_exeext conftest.$ac_ext
20059 if test $glibcxx_cv_GET_NPROCS = yes; then
20061 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20065 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20067 CXXFLAGS="$ac_save_CXXFLAGS"
20068 ac_ext=c
20069 ac_cpp='$CPP $CPPFLAGS'
20070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20075 for ac_header in unistd.h
20076 do :
20077 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20078 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20079 cat >>confdefs.h <<_ACEOF
20080 #define HAVE_UNISTD_H 1
20081 _ACEOF
20085 done
20090 ac_ext=cpp
20091 ac_cpp='$CXXCPP $CPPFLAGS'
20092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20096 ac_save_CXXFLAGS="$CXXFLAGS"
20097 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20100 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20101 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20102 $as_echo_n "(cached) " >&6
20103 else
20105 if test x$gcc_no_link = xyes; then
20106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20107 /* end confdefs.h. */
20108 #include <unistd.h>
20110 main ()
20112 int n = sysconf(_SC_NPROCESSORS_ONLN);
20114 return 0;
20116 _ACEOF
20117 if ac_fn_cxx_try_compile "$LINENO"; then :
20118 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20119 else
20120 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20123 else
20124 if test x$gcc_no_link = xyes; then
20125 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h. */
20129 #include <unistd.h>
20131 main ()
20133 int n = sysconf(_SC_NPROCESSORS_ONLN);
20135 return 0;
20137 _ACEOF
20138 if ac_fn_cxx_try_link "$LINENO"; then :
20139 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20140 else
20141 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20143 rm -f core conftest.err conftest.$ac_objext \
20144 conftest$ac_exeext conftest.$ac_ext
20149 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20151 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20155 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20157 CXXFLAGS="$ac_save_CXXFLAGS"
20158 ac_ext=c
20159 ac_cpp='$CPP $CPPFLAGS'
20160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20168 ac_ext=cpp
20169 ac_cpp='$CXXCPP $CPPFLAGS'
20170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20174 ac_save_CXXFLAGS="$CXXFLAGS"
20175 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20178 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20179 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20180 $as_echo_n "(cached) " >&6
20181 else
20183 if test x$gcc_no_link = xyes; then
20184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20185 /* end confdefs.h. */
20186 #include <unistd.h>
20188 main ()
20190 int n = sysconf(_SC_NPROC_ONLN);
20192 return 0;
20194 _ACEOF
20195 if ac_fn_cxx_try_compile "$LINENO"; then :
20196 glibcxx_cv_SC_NPROC_ONLN=yes
20197 else
20198 glibcxx_cv_SC_NPROC_ONLN=no
20200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201 else
20202 if test x$gcc_no_link = xyes; then
20203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20206 /* end confdefs.h. */
20207 #include <unistd.h>
20209 main ()
20211 int n = sysconf(_SC_NPROC_ONLN);
20213 return 0;
20215 _ACEOF
20216 if ac_fn_cxx_try_link "$LINENO"; then :
20217 glibcxx_cv_SC_NPROC_ONLN=yes
20218 else
20219 glibcxx_cv_SC_NPROC_ONLN=no
20221 rm -f core conftest.err conftest.$ac_objext \
20222 conftest$ac_exeext conftest.$ac_ext
20227 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20229 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20233 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20235 CXXFLAGS="$ac_save_CXXFLAGS"
20236 ac_ext=c
20237 ac_cpp='$CPP $CPPFLAGS'
20238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20246 ac_ext=cpp
20247 ac_cpp='$CXXCPP $CPPFLAGS'
20248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20252 ac_save_CXXFLAGS="$CXXFLAGS"
20253 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20256 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20257 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20258 $as_echo_n "(cached) " >&6
20259 else
20261 if test x$gcc_no_link = xyes; then
20262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20264 #include <pthread.h>
20266 main ()
20268 int n = pthread_num_processors_np();
20270 return 0;
20272 _ACEOF
20273 if ac_fn_cxx_try_compile "$LINENO"; then :
20274 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20275 else
20276 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20279 else
20280 if test x$gcc_no_link = xyes; then
20281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20284 /* end confdefs.h. */
20285 #include <pthread.h>
20287 main ()
20289 int n = pthread_num_processors_np();
20291 return 0;
20293 _ACEOF
20294 if ac_fn_cxx_try_link "$LINENO"; then :
20295 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20296 else
20297 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20299 rm -f core conftest.err conftest.$ac_objext \
20300 conftest$ac_exeext conftest.$ac_ext
20305 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20307 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20311 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20313 CXXFLAGS="$ac_save_CXXFLAGS"
20314 ac_ext=c
20315 ac_cpp='$CPP $CPPFLAGS'
20316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20324 ac_ext=cpp
20325 ac_cpp='$CXXCPP $CPPFLAGS'
20326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20330 ac_save_CXXFLAGS="$CXXFLAGS"
20331 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20334 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20335 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20336 $as_echo_n "(cached) " >&6
20337 else
20339 if test x$gcc_no_link = xyes; then
20340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20341 /* end confdefs.h. */
20343 #include <stddef.h>
20344 #include <sys/sysctl.h>
20347 main ()
20350 int count;
20351 size_t size = sizeof(count);
20352 int mib[] = { CTL_HW, HW_NCPU };
20353 sysctl(mib, 2, &count, &size, NULL, 0);
20356 return 0;
20358 _ACEOF
20359 if ac_fn_cxx_try_compile "$LINENO"; then :
20360 glibcxx_cv_SYSCTL_HW_NCPU=yes
20361 else
20362 glibcxx_cv_SYSCTL_HW_NCPU=no
20364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20365 else
20366 if test x$gcc_no_link = xyes; then
20367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20370 /* end confdefs.h. */
20372 #include <stddef.h>
20373 #include <sys/sysctl.h>
20376 main ()
20379 int count;
20380 size_t size = sizeof(count);
20381 int mib[] = { CTL_HW, HW_NCPU };
20382 sysctl(mib, 2, &count, &size, NULL, 0);
20385 return 0;
20387 _ACEOF
20388 if ac_fn_cxx_try_link "$LINENO"; then :
20389 glibcxx_cv_SYSCTL_HW_NCPU=yes
20390 else
20391 glibcxx_cv_SYSCTL_HW_NCPU=no
20393 rm -f core conftest.err conftest.$ac_objext \
20394 conftest$ac_exeext conftest.$ac_ext
20399 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20401 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20405 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20407 CXXFLAGS="$ac_save_CXXFLAGS"
20408 ac_ext=c
20409 ac_cpp='$CPP $CPPFLAGS'
20410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20416 # Check for available headers.
20417 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20418 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20419 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20420 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20421 wchar.h wctype.h
20422 do :
20423 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20424 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20425 eval as_val=\$$as_ac_Header
20426 if test "x$as_val" = x""yes; then :
20427 cat >>confdefs.h <<_ACEOF
20428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20429 _ACEOF
20433 done
20436 # Only do link tests if native. Else, hardcode.
20437 if $GLIBCXX_IS_NATIVE; then
20439 # We can do more elaborate tests that assume a working linker.
20440 CANADIAN=no
20444 # Check whether --with-gnu-ld was given.
20445 if test "${with_gnu_ld+set}" = set; then :
20446 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20447 else
20448 with_gnu_ld=no
20451 ac_prog=ld
20452 if test "$GCC" = yes; then
20453 # Check if gcc -print-prog-name=ld gives a path.
20454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20455 $as_echo_n "checking for ld used by $CC... " >&6; }
20456 case $host in
20457 *-*-mingw*)
20458 # gcc leaves a trailing carriage return which upsets mingw
20459 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20461 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20462 esac
20463 case $ac_prog in
20464 # Accept absolute paths.
20465 [\\/]* | ?:[\\/]*)
20466 re_direlt='/[^/][^/]*/\.\./'
20467 # Canonicalize the pathname of ld
20468 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20469 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20470 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20471 done
20472 test -z "$LD" && LD="$ac_prog"
20475 # If it fails, then pretend we aren't using GCC.
20476 ac_prog=ld
20479 # If it is relative, then search for the first ld in PATH.
20480 with_gnu_ld=unknown
20482 esac
20483 elif test "$with_gnu_ld" = yes; then
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20485 $as_echo_n "checking for GNU ld... " >&6; }
20486 else
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20488 $as_echo_n "checking for non-GNU ld... " >&6; }
20490 if test "${lt_cv_path_LD+set}" = set; then :
20491 $as_echo_n "(cached) " >&6
20492 else
20493 if test -z "$LD"; then
20494 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20495 for ac_dir in $PATH; do
20496 IFS="$lt_save_ifs"
20497 test -z "$ac_dir" && ac_dir=.
20498 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20499 lt_cv_path_LD="$ac_dir/$ac_prog"
20500 # Check to see if the program is GNU ld. I'd rather use --version,
20501 # but apparently some variants of GNU ld only accept -v.
20502 # Break only if it was the GNU/non-GNU ld that we prefer.
20503 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20504 *GNU* | *'with BFD'*)
20505 test "$with_gnu_ld" != no && break
20508 test "$with_gnu_ld" != yes && break
20510 esac
20512 done
20513 IFS="$lt_save_ifs"
20514 else
20515 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20519 LD="$lt_cv_path_LD"
20520 if test -n "$LD"; then
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20522 $as_echo "$LD" >&6; }
20523 else
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20525 $as_echo "no" >&6; }
20527 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20529 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20530 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20531 $as_echo_n "(cached) " >&6
20532 else
20533 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20534 case `$LD -v 2>&1 </dev/null` in
20535 *GNU* | *'with BFD'*)
20536 lt_cv_prog_gnu_ld=yes
20539 lt_cv_prog_gnu_ld=no
20541 esac
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20544 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20545 with_gnu_ld=$lt_cv_prog_gnu_ld
20553 # If we're not using GNU ld, then there's no point in even trying these
20554 # tests. Check for that first. We should have already tested for gld
20555 # by now (in libtool), but require it now just to be safe...
20556 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20557 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20561 # The name set by libtool depends on the version of libtool. Shame on us
20562 # for depending on an impl detail, but c'est la vie. Older versions used
20563 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20564 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20565 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20566 # set (hence we're using an older libtool), then set it.
20567 if test x${with_gnu_ld+set} != xset; then
20568 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20569 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20570 with_gnu_ld=no
20571 else
20572 with_gnu_ld=$ac_cv_prog_gnu_ld
20576 # Start by getting the version number. I think the libtool test already
20577 # does some of this, but throws away the result.
20578 glibcxx_ld_is_gold=no
20579 if test x"$with_gnu_ld" = x"yes"; then
20580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20581 $as_echo_n "checking for ld version... " >&6; }
20583 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20584 glibcxx_ld_is_gold=yes
20586 ldver=`$LD --version 2>/dev/null |
20587 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'`
20589 glibcxx_gnu_ld_version=`echo $ldver | \
20590 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20592 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20595 # Set --gc-sections.
20596 glibcxx_have_gc_sections=no
20597 if test "$glibcxx_ld_is_gold" = "yes"; then
20598 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20599 glibcxx_have_gc_sections=yes
20601 else
20602 glibcxx_gcsections_min_ld=21602
20603 if test x"$with_gnu_ld" = x"yes" &&
20604 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20605 glibcxx_have_gc_sections=yes
20608 if test "$glibcxx_have_gc_sections" = "yes"; then
20609 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20610 # NB: This flag only works reliably after 2.16.1. Configure tests
20611 # for this are difficult, so hard wire a value that should work.
20613 ac_test_CFLAGS="${CFLAGS+set}"
20614 ac_save_CFLAGS="$CFLAGS"
20615 CFLAGS='-Wl,--gc-sections'
20617 # Check for -Wl,--gc-sections
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20619 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20620 if test x$gcc_no_link = xyes; then
20621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20625 int one(void) { return 1; }
20626 int two(void) { return 2; }
20629 main ()
20631 two();
20633 return 0;
20635 _ACEOF
20636 if ac_fn_c_try_link "$LINENO"; then :
20637 ac_gcsections=yes
20638 else
20639 ac_gcsections=no
20641 rm -f core conftest.err conftest.$ac_objext \
20642 conftest$ac_exeext conftest.$ac_ext
20643 if test "$ac_gcsections" = "yes"; then
20644 rm -f conftest.c
20645 touch conftest.c
20646 if $CC -c conftest.c; then
20647 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20648 grep "Warning: gc-sections option ignored" > /dev/null; then
20649 ac_gcsections=no
20652 rm -f conftest.c conftest.o conftest
20654 if test "$ac_gcsections" = "yes"; then
20655 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20658 $as_echo "$ac_gcsections" >&6; }
20660 if test "$ac_test_CFLAGS" = set; then
20661 CFLAGS="$ac_save_CFLAGS"
20662 else
20663 # this is the suspicious part
20664 CFLAGS=''
20668 # Set -z,relro.
20669 # Note this is only for shared objects.
20670 ac_ld_relro=no
20671 if test x"$with_gnu_ld" = x"yes"; then
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20673 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20674 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20675 if test -n "$cxx_z_relo"; then
20676 OPT_LDFLAGS="-Wl,-z,relro"
20677 ac_ld_relro=yes
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20680 $as_echo "$ac_ld_relro" >&6; }
20683 # Set linker optimization flags.
20684 if test x"$with_gnu_ld" = x"yes"; then
20685 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20692 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20693 ac_save_CXXFLAGS="$CXXFLAGS"
20694 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20697 $as_echo_n "checking for sin in -lm... " >&6; }
20698 if test "${ac_cv_lib_m_sin+set}" = set; then :
20699 $as_echo_n "(cached) " >&6
20700 else
20701 ac_check_lib_save_LIBS=$LIBS
20702 LIBS="-lm $LIBS"
20703 if test x$gcc_no_link = xyes; then
20704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20707 /* end confdefs.h. */
20709 /* Override any GCC internal prototype to avoid an error.
20710 Use char because int might match the return type of a GCC
20711 builtin and then its argument prototype would still apply. */
20712 #ifdef __cplusplus
20713 extern "C"
20714 #endif
20715 char sin ();
20717 main ()
20719 return sin ();
20721 return 0;
20723 _ACEOF
20724 if ac_fn_c_try_link "$LINENO"; then :
20725 ac_cv_lib_m_sin=yes
20726 else
20727 ac_cv_lib_m_sin=no
20729 rm -f core conftest.err conftest.$ac_objext \
20730 conftest$ac_exeext conftest.$ac_ext
20731 LIBS=$ac_check_lib_save_LIBS
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20734 $as_echo "$ac_cv_lib_m_sin" >&6; }
20735 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20736 libm="-lm"
20739 ac_save_LIBS="$LIBS"
20740 LIBS="$LIBS $libm"
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20745 $as_echo_n "checking for isinf declaration... " >&6; }
20746 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20747 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20748 $as_echo_n "(cached) " >&6
20749 else
20752 ac_ext=cpp
20753 ac_cpp='$CXXCPP $CPPFLAGS'
20754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h. */
20760 #include <math.h>
20761 #ifdef HAVE_IEEEFP_H
20762 #include <ieeefp.h>
20763 #endif
20766 main ()
20768 isinf(0);
20770 return 0;
20772 _ACEOF
20773 if ac_fn_cxx_try_compile "$LINENO"; then :
20774 glibcxx_cv_func_isinf_use=yes
20775 else
20776 glibcxx_cv_func_isinf_use=no
20778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 ac_ext=c
20780 ac_cpp='$CPP $CPPFLAGS'
20781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20790 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20792 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20793 for ac_func in isinf
20794 do :
20795 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20796 if test "x$ac_cv_func_isinf" = x""yes; then :
20797 cat >>confdefs.h <<_ACEOF
20798 #define HAVE_ISINF 1
20799 _ACEOF
20802 done
20804 else
20806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20807 $as_echo_n "checking for _isinf declaration... " >&6; }
20808 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20809 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20810 $as_echo_n "(cached) " >&6
20811 else
20814 ac_ext=cpp
20815 ac_cpp='$CXXCPP $CPPFLAGS'
20816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20821 /* end confdefs.h. */
20822 #include <math.h>
20823 #ifdef HAVE_IEEEFP_H
20824 #include <ieeefp.h>
20825 #endif
20828 main ()
20830 _isinf(0);
20832 return 0;
20834 _ACEOF
20835 if ac_fn_cxx_try_compile "$LINENO"; then :
20836 glibcxx_cv_func__isinf_use=yes
20837 else
20838 glibcxx_cv_func__isinf_use=no
20840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20841 ac_ext=c
20842 ac_cpp='$CPP $CPPFLAGS'
20843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20852 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20854 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20855 for ac_func in _isinf
20856 do :
20857 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20858 if test "x$ac_cv_func__isinf" = x""yes; then :
20859 cat >>confdefs.h <<_ACEOF
20860 #define HAVE__ISINF 1
20861 _ACEOF
20864 done
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20874 $as_echo_n "checking for isnan declaration... " >&6; }
20875 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20876 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20877 $as_echo_n "(cached) " >&6
20878 else
20881 ac_ext=cpp
20882 ac_cpp='$CXXCPP $CPPFLAGS'
20883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h. */
20889 #include <math.h>
20890 #ifdef HAVE_IEEEFP_H
20891 #include <ieeefp.h>
20892 #endif
20895 main ()
20897 isnan(0);
20899 return 0;
20901 _ACEOF
20902 if ac_fn_cxx_try_compile "$LINENO"; then :
20903 glibcxx_cv_func_isnan_use=yes
20904 else
20905 glibcxx_cv_func_isnan_use=no
20907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20908 ac_ext=c
20909 ac_cpp='$CPP $CPPFLAGS'
20910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20919 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20921 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20922 for ac_func in isnan
20923 do :
20924 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20925 if test "x$ac_cv_func_isnan" = x""yes; then :
20926 cat >>confdefs.h <<_ACEOF
20927 #define HAVE_ISNAN 1
20928 _ACEOF
20931 done
20933 else
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20936 $as_echo_n "checking for _isnan declaration... " >&6; }
20937 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20938 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20939 $as_echo_n "(cached) " >&6
20940 else
20943 ac_ext=cpp
20944 ac_cpp='$CXXCPP $CPPFLAGS'
20945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20950 /* end confdefs.h. */
20951 #include <math.h>
20952 #ifdef HAVE_IEEEFP_H
20953 #include <ieeefp.h>
20954 #endif
20957 main ()
20959 _isnan(0);
20961 return 0;
20963 _ACEOF
20964 if ac_fn_cxx_try_compile "$LINENO"; then :
20965 glibcxx_cv_func__isnan_use=yes
20966 else
20967 glibcxx_cv_func__isnan_use=no
20969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20970 ac_ext=c
20971 ac_cpp='$CPP $CPPFLAGS'
20972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20981 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20983 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20984 for ac_func in _isnan
20985 do :
20986 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20987 if test "x$ac_cv_func__isnan" = x""yes; then :
20988 cat >>confdefs.h <<_ACEOF
20989 #define HAVE__ISNAN 1
20990 _ACEOF
20993 done
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21003 $as_echo_n "checking for finite declaration... " >&6; }
21004 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21005 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21006 $as_echo_n "(cached) " >&6
21007 else
21010 ac_ext=cpp
21011 ac_cpp='$CXXCPP $CPPFLAGS'
21012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h. */
21018 #include <math.h>
21019 #ifdef HAVE_IEEEFP_H
21020 #include <ieeefp.h>
21021 #endif
21024 main ()
21026 finite(0);
21028 return 0;
21030 _ACEOF
21031 if ac_fn_cxx_try_compile "$LINENO"; then :
21032 glibcxx_cv_func_finite_use=yes
21033 else
21034 glibcxx_cv_func_finite_use=no
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037 ac_ext=c
21038 ac_cpp='$CPP $CPPFLAGS'
21039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21048 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21050 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21051 for ac_func in finite
21052 do :
21053 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21054 if test "x$ac_cv_func_finite" = x""yes; then :
21055 cat >>confdefs.h <<_ACEOF
21056 #define HAVE_FINITE 1
21057 _ACEOF
21060 done
21062 else
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21065 $as_echo_n "checking for _finite declaration... " >&6; }
21066 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21067 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21068 $as_echo_n "(cached) " >&6
21069 else
21072 ac_ext=cpp
21073 ac_cpp='$CXXCPP $CPPFLAGS'
21074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21079 /* end confdefs.h. */
21080 #include <math.h>
21081 #ifdef HAVE_IEEEFP_H
21082 #include <ieeefp.h>
21083 #endif
21086 main ()
21088 _finite(0);
21090 return 0;
21092 _ACEOF
21093 if ac_fn_cxx_try_compile "$LINENO"; then :
21094 glibcxx_cv_func__finite_use=yes
21095 else
21096 glibcxx_cv_func__finite_use=no
21098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 ac_ext=c
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21110 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21112 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21113 for ac_func in _finite
21114 do :
21115 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21116 if test "x$ac_cv_func__finite" = x""yes; then :
21117 cat >>confdefs.h <<_ACEOF
21118 #define HAVE__FINITE 1
21119 _ACEOF
21122 done
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21132 $as_echo_n "checking for sincos declaration... " >&6; }
21133 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21134 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21135 $as_echo_n "(cached) " >&6
21136 else
21139 ac_ext=cpp
21140 ac_cpp='$CXXCPP $CPPFLAGS'
21141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21146 /* end confdefs.h. */
21147 #include <math.h>
21149 main ()
21151 sincos(0, 0, 0);
21153 return 0;
21155 _ACEOF
21156 if ac_fn_cxx_try_compile "$LINENO"; then :
21157 glibcxx_cv_func_sincos_use=yes
21158 else
21159 glibcxx_cv_func_sincos_use=no
21161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21162 ac_ext=c
21163 ac_cpp='$CPP $CPPFLAGS'
21164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21173 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21175 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21176 for ac_func in sincos
21177 do :
21178 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21179 if test "x$ac_cv_func_sincos" = x""yes; then :
21180 cat >>confdefs.h <<_ACEOF
21181 #define HAVE_SINCOS 1
21182 _ACEOF
21185 done
21187 else
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21190 $as_echo_n "checking for _sincos declaration... " >&6; }
21191 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21192 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21193 $as_echo_n "(cached) " >&6
21194 else
21197 ac_ext=cpp
21198 ac_cpp='$CXXCPP $CPPFLAGS'
21199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21204 /* end confdefs.h. */
21205 #include <math.h>
21207 main ()
21209 _sincos(0, 0, 0);
21211 return 0;
21213 _ACEOF
21214 if ac_fn_cxx_try_compile "$LINENO"; then :
21215 glibcxx_cv_func__sincos_use=yes
21216 else
21217 glibcxx_cv_func__sincos_use=no
21219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21220 ac_ext=c
21221 ac_cpp='$CPP $CPPFLAGS'
21222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21231 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21233 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21234 for ac_func in _sincos
21235 do :
21236 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21237 if test "x$ac_cv_func__sincos" = x""yes; then :
21238 cat >>confdefs.h <<_ACEOF
21239 #define HAVE__SINCOS 1
21240 _ACEOF
21243 done
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21253 $as_echo_n "checking for fpclass declaration... " >&6; }
21254 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21255 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21256 $as_echo_n "(cached) " >&6
21257 else
21260 ac_ext=cpp
21261 ac_cpp='$CXXCPP $CPPFLAGS'
21262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21267 /* end confdefs.h. */
21268 #include <math.h>
21269 #ifdef HAVE_IEEEFP_H
21270 #include <ieeefp.h>
21271 #endif
21274 main ()
21276 fpclass(0);
21278 return 0;
21280 _ACEOF
21281 if ac_fn_cxx_try_compile "$LINENO"; then :
21282 glibcxx_cv_func_fpclass_use=yes
21283 else
21284 glibcxx_cv_func_fpclass_use=no
21286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21287 ac_ext=c
21288 ac_cpp='$CPP $CPPFLAGS'
21289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21298 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21300 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21301 for ac_func in fpclass
21302 do :
21303 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21304 if test "x$ac_cv_func_fpclass" = x""yes; then :
21305 cat >>confdefs.h <<_ACEOF
21306 #define HAVE_FPCLASS 1
21307 _ACEOF
21310 done
21312 else
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21315 $as_echo_n "checking for _fpclass declaration... " >&6; }
21316 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21317 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21318 $as_echo_n "(cached) " >&6
21319 else
21322 ac_ext=cpp
21323 ac_cpp='$CXXCPP $CPPFLAGS'
21324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21329 /* end confdefs.h. */
21330 #include <math.h>
21331 #ifdef HAVE_IEEEFP_H
21332 #include <ieeefp.h>
21333 #endif
21336 main ()
21338 _fpclass(0);
21340 return 0;
21342 _ACEOF
21343 if ac_fn_cxx_try_compile "$LINENO"; then :
21344 glibcxx_cv_func__fpclass_use=yes
21345 else
21346 glibcxx_cv_func__fpclass_use=no
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21349 ac_ext=c
21350 ac_cpp='$CPP $CPPFLAGS'
21351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21360 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21362 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21363 for ac_func in _fpclass
21364 do :
21365 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21366 if test "x$ac_cv_func__fpclass" = x""yes; then :
21367 cat >>confdefs.h <<_ACEOF
21368 #define HAVE__FPCLASS 1
21369 _ACEOF
21372 done
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21382 $as_echo_n "checking for qfpclass declaration... " >&6; }
21383 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21384 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21385 $as_echo_n "(cached) " >&6
21386 else
21389 ac_ext=cpp
21390 ac_cpp='$CXXCPP $CPPFLAGS'
21391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21396 /* end confdefs.h. */
21397 #include <math.h>
21398 #ifdef HAVE_IEEEFP_H
21399 #include <ieeefp.h>
21400 #endif
21403 main ()
21405 qfpclass(0);
21407 return 0;
21409 _ACEOF
21410 if ac_fn_cxx_try_compile "$LINENO"; then :
21411 glibcxx_cv_func_qfpclass_use=yes
21412 else
21413 glibcxx_cv_func_qfpclass_use=no
21415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21416 ac_ext=c
21417 ac_cpp='$CPP $CPPFLAGS'
21418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21427 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21429 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21430 for ac_func in qfpclass
21431 do :
21432 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21433 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21434 cat >>confdefs.h <<_ACEOF
21435 #define HAVE_QFPCLASS 1
21436 _ACEOF
21439 done
21441 else
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21444 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21445 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21446 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21447 $as_echo_n "(cached) " >&6
21448 else
21451 ac_ext=cpp
21452 ac_cpp='$CXXCPP $CPPFLAGS'
21453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21458 /* end confdefs.h. */
21459 #include <math.h>
21460 #ifdef HAVE_IEEEFP_H
21461 #include <ieeefp.h>
21462 #endif
21465 main ()
21467 _qfpclass(0);
21469 return 0;
21471 _ACEOF
21472 if ac_fn_cxx_try_compile "$LINENO"; then :
21473 glibcxx_cv_func__qfpclass_use=yes
21474 else
21475 glibcxx_cv_func__qfpclass_use=no
21477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21478 ac_ext=c
21479 ac_cpp='$CPP $CPPFLAGS'
21480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21489 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21491 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21492 for ac_func in _qfpclass
21493 do :
21494 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21495 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21496 cat >>confdefs.h <<_ACEOF
21497 #define HAVE__QFPCLASS 1
21498 _ACEOF
21501 done
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21511 $as_echo_n "checking for hypot declaration... " >&6; }
21512 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21513 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21514 $as_echo_n "(cached) " >&6
21515 else
21518 ac_ext=cpp
21519 ac_cpp='$CXXCPP $CPPFLAGS'
21520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21525 /* end confdefs.h. */
21526 #include <math.h>
21528 main ()
21530 hypot(0, 0);
21532 return 0;
21534 _ACEOF
21535 if ac_fn_cxx_try_compile "$LINENO"; then :
21536 glibcxx_cv_func_hypot_use=yes
21537 else
21538 glibcxx_cv_func_hypot_use=no
21540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21541 ac_ext=c
21542 ac_cpp='$CPP $CPPFLAGS'
21543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21552 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21554 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21555 for ac_func in hypot
21556 do :
21557 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21558 if test "x$ac_cv_func_hypot" = x""yes; then :
21559 cat >>confdefs.h <<_ACEOF
21560 #define HAVE_HYPOT 1
21561 _ACEOF
21564 done
21566 else
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21569 $as_echo_n "checking for _hypot declaration... " >&6; }
21570 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21571 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21572 $as_echo_n "(cached) " >&6
21573 else
21576 ac_ext=cpp
21577 ac_cpp='$CXXCPP $CPPFLAGS'
21578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21583 /* end confdefs.h. */
21584 #include <math.h>
21586 main ()
21588 _hypot(0, 0);
21590 return 0;
21592 _ACEOF
21593 if ac_fn_cxx_try_compile "$LINENO"; then :
21594 glibcxx_cv_func__hypot_use=yes
21595 else
21596 glibcxx_cv_func__hypot_use=no
21598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21599 ac_ext=c
21600 ac_cpp='$CPP $CPPFLAGS'
21601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21610 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21612 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21613 for ac_func in _hypot
21614 do :
21615 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21616 if test "x$ac_cv_func__hypot" = x""yes; then :
21617 cat >>confdefs.h <<_ACEOF
21618 #define HAVE__HYPOT 1
21619 _ACEOF
21622 done
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21632 $as_echo_n "checking for float trig functions... " >&6; }
21633 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21634 $as_echo_n "(cached) " >&6
21635 else
21638 ac_ext=cpp
21639 ac_cpp='$CXXCPP $CPPFLAGS'
21640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h. */
21646 #include <math.h>
21648 main ()
21650 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21652 return 0;
21654 _ACEOF
21655 if ac_fn_cxx_try_compile "$LINENO"; then :
21656 glibcxx_cv_func_float_trig_use=yes
21657 else
21658 glibcxx_cv_func_float_trig_use=no
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661 ac_ext=c
21662 ac_cpp='$CPP $CPPFLAGS'
21663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21670 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21671 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21672 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21673 do :
21674 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21675 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21676 eval as_val=\$$as_ac_var
21677 if test "x$as_val" = x""yes; then :
21678 cat >>confdefs.h <<_ACEOF
21679 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21680 _ACEOF
21683 done
21685 else
21686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21687 $as_echo_n "checking for _float trig functions... " >&6; }
21688 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21689 $as_echo_n "(cached) " >&6
21690 else
21693 ac_ext=cpp
21694 ac_cpp='$CXXCPP $CPPFLAGS'
21695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21700 /* end confdefs.h. */
21701 #include <math.h>
21703 main ()
21705 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21707 return 0;
21709 _ACEOF
21710 if ac_fn_cxx_try_compile "$LINENO"; then :
21711 glibcxx_cv_func__float_trig_use=yes
21712 else
21713 glibcxx_cv_func__float_trig_use=no
21715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21716 ac_ext=c
21717 ac_cpp='$CPP $CPPFLAGS'
21718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21725 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21726 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21727 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21728 do :
21729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21731 eval as_val=\$$as_ac_var
21732 if test "x$as_val" = x""yes; then :
21733 cat >>confdefs.h <<_ACEOF
21734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21735 _ACEOF
21738 done
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21748 $as_echo_n "checking for float round functions... " >&6; }
21749 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21750 $as_echo_n "(cached) " >&6
21751 else
21754 ac_ext=cpp
21755 ac_cpp='$CXXCPP $CPPFLAGS'
21756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21761 /* end confdefs.h. */
21762 #include <math.h>
21764 main ()
21766 ceilf (0); floorf (0);
21768 return 0;
21770 _ACEOF
21771 if ac_fn_cxx_try_compile "$LINENO"; then :
21772 glibcxx_cv_func_float_round_use=yes
21773 else
21774 glibcxx_cv_func_float_round_use=no
21776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21777 ac_ext=c
21778 ac_cpp='$CPP $CPPFLAGS'
21779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21786 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21787 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21788 for ac_func in ceilf floorf
21789 do :
21790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21792 eval as_val=\$$as_ac_var
21793 if test "x$as_val" = x""yes; then :
21794 cat >>confdefs.h <<_ACEOF
21795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21796 _ACEOF
21799 done
21801 else
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21803 $as_echo_n "checking for _float round functions... " >&6; }
21804 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21805 $as_echo_n "(cached) " >&6
21806 else
21809 ac_ext=cpp
21810 ac_cpp='$CXXCPP $CPPFLAGS'
21811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21816 /* end confdefs.h. */
21817 #include <math.h>
21819 main ()
21821 _ceilf (0); _floorf (0);
21823 return 0;
21825 _ACEOF
21826 if ac_fn_cxx_try_compile "$LINENO"; then :
21827 glibcxx_cv_func__float_round_use=yes
21828 else
21829 glibcxx_cv_func__float_round_use=no
21831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21832 ac_ext=c
21833 ac_cpp='$CPP $CPPFLAGS'
21834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21841 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21842 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21843 for ac_func in _ceilf _floorf
21844 do :
21845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21847 eval as_val=\$$as_ac_var
21848 if test "x$as_val" = x""yes; then :
21849 cat >>confdefs.h <<_ACEOF
21850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21851 _ACEOF
21854 done
21864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21865 $as_echo_n "checking for expf declaration... " >&6; }
21866 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21867 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21868 $as_echo_n "(cached) " >&6
21869 else
21872 ac_ext=cpp
21873 ac_cpp='$CXXCPP $CPPFLAGS'
21874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21879 /* end confdefs.h. */
21880 #include <math.h>
21881 #ifdef HAVE_IEEEFP_H
21882 #include <ieeefp.h>
21883 #endif
21886 main ()
21888 expf(0);
21890 return 0;
21892 _ACEOF
21893 if ac_fn_cxx_try_compile "$LINENO"; then :
21894 glibcxx_cv_func_expf_use=yes
21895 else
21896 glibcxx_cv_func_expf_use=no
21898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21899 ac_ext=c
21900 ac_cpp='$CPP $CPPFLAGS'
21901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21910 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21912 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21913 for ac_func in expf
21914 do :
21915 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21916 if test "x$ac_cv_func_expf" = x""yes; then :
21917 cat >>confdefs.h <<_ACEOF
21918 #define HAVE_EXPF 1
21919 _ACEOF
21922 done
21924 else
21926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21927 $as_echo_n "checking for _expf declaration... " >&6; }
21928 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21929 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21930 $as_echo_n "(cached) " >&6
21931 else
21934 ac_ext=cpp
21935 ac_cpp='$CXXCPP $CPPFLAGS'
21936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21941 /* end confdefs.h. */
21942 #include <math.h>
21943 #ifdef HAVE_IEEEFP_H
21944 #include <ieeefp.h>
21945 #endif
21948 main ()
21950 _expf(0);
21952 return 0;
21954 _ACEOF
21955 if ac_fn_cxx_try_compile "$LINENO"; then :
21956 glibcxx_cv_func__expf_use=yes
21957 else
21958 glibcxx_cv_func__expf_use=no
21960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21961 ac_ext=c
21962 ac_cpp='$CPP $CPPFLAGS'
21963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21972 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21974 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21975 for ac_func in _expf
21976 do :
21977 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21978 if test "x$ac_cv_func__expf" = x""yes; then :
21979 cat >>confdefs.h <<_ACEOF
21980 #define HAVE__EXPF 1
21981 _ACEOF
21984 done
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21994 $as_echo_n "checking for isnanf declaration... " >&6; }
21995 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21996 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21997 $as_echo_n "(cached) " >&6
21998 else
22001 ac_ext=cpp
22002 ac_cpp='$CXXCPP $CPPFLAGS'
22003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h. */
22009 #include <math.h>
22010 #ifdef HAVE_IEEEFP_H
22011 #include <ieeefp.h>
22012 #endif
22015 main ()
22017 isnanf(0);
22019 return 0;
22021 _ACEOF
22022 if ac_fn_cxx_try_compile "$LINENO"; then :
22023 glibcxx_cv_func_isnanf_use=yes
22024 else
22025 glibcxx_cv_func_isnanf_use=no
22027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22028 ac_ext=c
22029 ac_cpp='$CPP $CPPFLAGS'
22030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22039 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22041 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22042 for ac_func in isnanf
22043 do :
22044 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22045 if test "x$ac_cv_func_isnanf" = x""yes; then :
22046 cat >>confdefs.h <<_ACEOF
22047 #define HAVE_ISNANF 1
22048 _ACEOF
22051 done
22053 else
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22056 $as_echo_n "checking for _isnanf declaration... " >&6; }
22057 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22058 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22059 $as_echo_n "(cached) " >&6
22060 else
22063 ac_ext=cpp
22064 ac_cpp='$CXXCPP $CPPFLAGS'
22065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22070 /* end confdefs.h. */
22071 #include <math.h>
22072 #ifdef HAVE_IEEEFP_H
22073 #include <ieeefp.h>
22074 #endif
22077 main ()
22079 _isnanf(0);
22081 return 0;
22083 _ACEOF
22084 if ac_fn_cxx_try_compile "$LINENO"; then :
22085 glibcxx_cv_func__isnanf_use=yes
22086 else
22087 glibcxx_cv_func__isnanf_use=no
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22090 ac_ext=c
22091 ac_cpp='$CPP $CPPFLAGS'
22092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22101 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22103 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22104 for ac_func in _isnanf
22105 do :
22106 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22107 if test "x$ac_cv_func__isnanf" = x""yes; then :
22108 cat >>confdefs.h <<_ACEOF
22109 #define HAVE__ISNANF 1
22110 _ACEOF
22113 done
22122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22123 $as_echo_n "checking for isinff declaration... " >&6; }
22124 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22125 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22126 $as_echo_n "(cached) " >&6
22127 else
22130 ac_ext=cpp
22131 ac_cpp='$CXXCPP $CPPFLAGS'
22132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22137 /* end confdefs.h. */
22138 #include <math.h>
22139 #ifdef HAVE_IEEEFP_H
22140 #include <ieeefp.h>
22141 #endif
22144 main ()
22146 isinff(0);
22148 return 0;
22150 _ACEOF
22151 if ac_fn_cxx_try_compile "$LINENO"; then :
22152 glibcxx_cv_func_isinff_use=yes
22153 else
22154 glibcxx_cv_func_isinff_use=no
22156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22157 ac_ext=c
22158 ac_cpp='$CPP $CPPFLAGS'
22159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22168 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22170 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22171 for ac_func in isinff
22172 do :
22173 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22174 if test "x$ac_cv_func_isinff" = x""yes; then :
22175 cat >>confdefs.h <<_ACEOF
22176 #define HAVE_ISINFF 1
22177 _ACEOF
22180 done
22182 else
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22185 $as_echo_n "checking for _isinff declaration... " >&6; }
22186 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22187 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22188 $as_echo_n "(cached) " >&6
22189 else
22192 ac_ext=cpp
22193 ac_cpp='$CXXCPP $CPPFLAGS'
22194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22199 /* end confdefs.h. */
22200 #include <math.h>
22201 #ifdef HAVE_IEEEFP_H
22202 #include <ieeefp.h>
22203 #endif
22206 main ()
22208 _isinff(0);
22210 return 0;
22212 _ACEOF
22213 if ac_fn_cxx_try_compile "$LINENO"; then :
22214 glibcxx_cv_func__isinff_use=yes
22215 else
22216 glibcxx_cv_func__isinff_use=no
22218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22219 ac_ext=c
22220 ac_cpp='$CPP $CPPFLAGS'
22221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22230 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22232 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22233 for ac_func in _isinff
22234 do :
22235 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22236 if test "x$ac_cv_func__isinff" = x""yes; then :
22237 cat >>confdefs.h <<_ACEOF
22238 #define HAVE__ISINFF 1
22239 _ACEOF
22242 done
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22252 $as_echo_n "checking for atan2f declaration... " >&6; }
22253 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22254 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22255 $as_echo_n "(cached) " >&6
22256 else
22259 ac_ext=cpp
22260 ac_cpp='$CXXCPP $CPPFLAGS'
22261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22266 /* end confdefs.h. */
22267 #include <math.h>
22269 main ()
22271 atan2f(0, 0);
22273 return 0;
22275 _ACEOF
22276 if ac_fn_cxx_try_compile "$LINENO"; then :
22277 glibcxx_cv_func_atan2f_use=yes
22278 else
22279 glibcxx_cv_func_atan2f_use=no
22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22282 ac_ext=c
22283 ac_cpp='$CPP $CPPFLAGS'
22284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22293 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22295 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22296 for ac_func in atan2f
22297 do :
22298 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22299 if test "x$ac_cv_func_atan2f" = x""yes; then :
22300 cat >>confdefs.h <<_ACEOF
22301 #define HAVE_ATAN2F 1
22302 _ACEOF
22305 done
22307 else
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22310 $as_echo_n "checking for _atan2f declaration... " >&6; }
22311 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22312 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22313 $as_echo_n "(cached) " >&6
22314 else
22317 ac_ext=cpp
22318 ac_cpp='$CXXCPP $CPPFLAGS'
22319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22324 /* end confdefs.h. */
22325 #include <math.h>
22327 main ()
22329 _atan2f(0, 0);
22331 return 0;
22333 _ACEOF
22334 if ac_fn_cxx_try_compile "$LINENO"; then :
22335 glibcxx_cv_func__atan2f_use=yes
22336 else
22337 glibcxx_cv_func__atan2f_use=no
22339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22340 ac_ext=c
22341 ac_cpp='$CPP $CPPFLAGS'
22342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22351 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22353 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22354 for ac_func in _atan2f
22355 do :
22356 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22357 if test "x$ac_cv_func__atan2f" = x""yes; then :
22358 cat >>confdefs.h <<_ACEOF
22359 #define HAVE__ATAN2F 1
22360 _ACEOF
22363 done
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22373 $as_echo_n "checking for fabsf declaration... " >&6; }
22374 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22375 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22376 $as_echo_n "(cached) " >&6
22377 else
22380 ac_ext=cpp
22381 ac_cpp='$CXXCPP $CPPFLAGS'
22382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22387 /* end confdefs.h. */
22388 #include <math.h>
22389 #ifdef HAVE_IEEEFP_H
22390 #include <ieeefp.h>
22391 #endif
22394 main ()
22396 fabsf(0);
22398 return 0;
22400 _ACEOF
22401 if ac_fn_cxx_try_compile "$LINENO"; then :
22402 glibcxx_cv_func_fabsf_use=yes
22403 else
22404 glibcxx_cv_func_fabsf_use=no
22406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22407 ac_ext=c
22408 ac_cpp='$CPP $CPPFLAGS'
22409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22418 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22420 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22421 for ac_func in fabsf
22422 do :
22423 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22424 if test "x$ac_cv_func_fabsf" = x""yes; then :
22425 cat >>confdefs.h <<_ACEOF
22426 #define HAVE_FABSF 1
22427 _ACEOF
22430 done
22432 else
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22435 $as_echo_n "checking for _fabsf declaration... " >&6; }
22436 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22437 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22438 $as_echo_n "(cached) " >&6
22439 else
22442 ac_ext=cpp
22443 ac_cpp='$CXXCPP $CPPFLAGS'
22444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22449 /* end confdefs.h. */
22450 #include <math.h>
22451 #ifdef HAVE_IEEEFP_H
22452 #include <ieeefp.h>
22453 #endif
22456 main ()
22458 _fabsf(0);
22460 return 0;
22462 _ACEOF
22463 if ac_fn_cxx_try_compile "$LINENO"; then :
22464 glibcxx_cv_func__fabsf_use=yes
22465 else
22466 glibcxx_cv_func__fabsf_use=no
22468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22469 ac_ext=c
22470 ac_cpp='$CPP $CPPFLAGS'
22471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22480 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22482 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22483 for ac_func in _fabsf
22484 do :
22485 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22486 if test "x$ac_cv_func__fabsf" = x""yes; then :
22487 cat >>confdefs.h <<_ACEOF
22488 #define HAVE__FABSF 1
22489 _ACEOF
22492 done
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22502 $as_echo_n "checking for fmodf declaration... " >&6; }
22503 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22504 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22505 $as_echo_n "(cached) " >&6
22506 else
22509 ac_ext=cpp
22510 ac_cpp='$CXXCPP $CPPFLAGS'
22511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h. */
22517 #include <math.h>
22519 main ()
22521 fmodf(0, 0);
22523 return 0;
22525 _ACEOF
22526 if ac_fn_cxx_try_compile "$LINENO"; then :
22527 glibcxx_cv_func_fmodf_use=yes
22528 else
22529 glibcxx_cv_func_fmodf_use=no
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22532 ac_ext=c
22533 ac_cpp='$CPP $CPPFLAGS'
22534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22543 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22545 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22546 for ac_func in fmodf
22547 do :
22548 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22549 if test "x$ac_cv_func_fmodf" = x""yes; then :
22550 cat >>confdefs.h <<_ACEOF
22551 #define HAVE_FMODF 1
22552 _ACEOF
22555 done
22557 else
22559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22560 $as_echo_n "checking for _fmodf declaration... " >&6; }
22561 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22562 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22563 $as_echo_n "(cached) " >&6
22564 else
22567 ac_ext=cpp
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h. */
22575 #include <math.h>
22577 main ()
22579 _fmodf(0, 0);
22581 return 0;
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585 glibcxx_cv_func__fmodf_use=yes
22586 else
22587 glibcxx_cv_func__fmodf_use=no
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22601 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22603 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22604 for ac_func in _fmodf
22605 do :
22606 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22607 if test "x$ac_cv_func__fmodf" = x""yes; then :
22608 cat >>confdefs.h <<_ACEOF
22609 #define HAVE__FMODF 1
22610 _ACEOF
22613 done
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22623 $as_echo_n "checking for frexpf declaration... " >&6; }
22624 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22625 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22626 $as_echo_n "(cached) " >&6
22627 else
22630 ac_ext=cpp
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h. */
22638 #include <math.h>
22640 main ()
22642 frexpf(0, 0);
22644 return 0;
22646 _ACEOF
22647 if ac_fn_cxx_try_compile "$LINENO"; then :
22648 glibcxx_cv_func_frexpf_use=yes
22649 else
22650 glibcxx_cv_func_frexpf_use=no
22652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22653 ac_ext=c
22654 ac_cpp='$CPP $CPPFLAGS'
22655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22664 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22666 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22667 for ac_func in frexpf
22668 do :
22669 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22670 if test "x$ac_cv_func_frexpf" = x""yes; then :
22671 cat >>confdefs.h <<_ACEOF
22672 #define HAVE_FREXPF 1
22673 _ACEOF
22676 done
22678 else
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22681 $as_echo_n "checking for _frexpf declaration... " >&6; }
22682 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22683 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22684 $as_echo_n "(cached) " >&6
22685 else
22688 ac_ext=cpp
22689 ac_cpp='$CXXCPP $CPPFLAGS'
22690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22695 /* end confdefs.h. */
22696 #include <math.h>
22698 main ()
22700 _frexpf(0, 0);
22702 return 0;
22704 _ACEOF
22705 if ac_fn_cxx_try_compile "$LINENO"; then :
22706 glibcxx_cv_func__frexpf_use=yes
22707 else
22708 glibcxx_cv_func__frexpf_use=no
22710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22711 ac_ext=c
22712 ac_cpp='$CPP $CPPFLAGS'
22713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22722 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22724 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22725 for ac_func in _frexpf
22726 do :
22727 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22728 if test "x$ac_cv_func__frexpf" = x""yes; then :
22729 cat >>confdefs.h <<_ACEOF
22730 #define HAVE__FREXPF 1
22731 _ACEOF
22734 done
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22744 $as_echo_n "checking for hypotf declaration... " >&6; }
22745 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22746 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22747 $as_echo_n "(cached) " >&6
22748 else
22751 ac_ext=cpp
22752 ac_cpp='$CXXCPP $CPPFLAGS'
22753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22758 /* end confdefs.h. */
22759 #include <math.h>
22761 main ()
22763 hypotf(0, 0);
22765 return 0;
22767 _ACEOF
22768 if ac_fn_cxx_try_compile "$LINENO"; then :
22769 glibcxx_cv_func_hypotf_use=yes
22770 else
22771 glibcxx_cv_func_hypotf_use=no
22773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22774 ac_ext=c
22775 ac_cpp='$CPP $CPPFLAGS'
22776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22785 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22787 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22788 for ac_func in hypotf
22789 do :
22790 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22791 if test "x$ac_cv_func_hypotf" = x""yes; then :
22792 cat >>confdefs.h <<_ACEOF
22793 #define HAVE_HYPOTF 1
22794 _ACEOF
22797 done
22799 else
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22802 $as_echo_n "checking for _hypotf declaration... " >&6; }
22803 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22804 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22805 $as_echo_n "(cached) " >&6
22806 else
22809 ac_ext=cpp
22810 ac_cpp='$CXXCPP $CPPFLAGS'
22811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22816 /* end confdefs.h. */
22817 #include <math.h>
22819 main ()
22821 _hypotf(0, 0);
22823 return 0;
22825 _ACEOF
22826 if ac_fn_cxx_try_compile "$LINENO"; then :
22827 glibcxx_cv_func__hypotf_use=yes
22828 else
22829 glibcxx_cv_func__hypotf_use=no
22831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22832 ac_ext=c
22833 ac_cpp='$CPP $CPPFLAGS'
22834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22843 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22845 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22846 for ac_func in _hypotf
22847 do :
22848 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22849 if test "x$ac_cv_func__hypotf" = x""yes; then :
22850 cat >>confdefs.h <<_ACEOF
22851 #define HAVE__HYPOTF 1
22852 _ACEOF
22855 done
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22865 $as_echo_n "checking for ldexpf declaration... " >&6; }
22866 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22867 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22868 $as_echo_n "(cached) " >&6
22869 else
22872 ac_ext=cpp
22873 ac_cpp='$CXXCPP $CPPFLAGS'
22874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22879 /* end confdefs.h. */
22880 #include <math.h>
22882 main ()
22884 ldexpf(0, 0);
22886 return 0;
22888 _ACEOF
22889 if ac_fn_cxx_try_compile "$LINENO"; then :
22890 glibcxx_cv_func_ldexpf_use=yes
22891 else
22892 glibcxx_cv_func_ldexpf_use=no
22894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22895 ac_ext=c
22896 ac_cpp='$CPP $CPPFLAGS'
22897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22906 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22908 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22909 for ac_func in ldexpf
22910 do :
22911 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22912 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22913 cat >>confdefs.h <<_ACEOF
22914 #define HAVE_LDEXPF 1
22915 _ACEOF
22918 done
22920 else
22922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22923 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22924 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22925 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22926 $as_echo_n "(cached) " >&6
22927 else
22930 ac_ext=cpp
22931 ac_cpp='$CXXCPP $CPPFLAGS'
22932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22937 /* end confdefs.h. */
22938 #include <math.h>
22940 main ()
22942 _ldexpf(0, 0);
22944 return 0;
22946 _ACEOF
22947 if ac_fn_cxx_try_compile "$LINENO"; then :
22948 glibcxx_cv_func__ldexpf_use=yes
22949 else
22950 glibcxx_cv_func__ldexpf_use=no
22952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22953 ac_ext=c
22954 ac_cpp='$CPP $CPPFLAGS'
22955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22964 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22966 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22967 for ac_func in _ldexpf
22968 do :
22969 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22970 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22971 cat >>confdefs.h <<_ACEOF
22972 #define HAVE__LDEXPF 1
22973 _ACEOF
22976 done
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22986 $as_echo_n "checking for logf declaration... " >&6; }
22987 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22988 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22989 $as_echo_n "(cached) " >&6
22990 else
22993 ac_ext=cpp
22994 ac_cpp='$CXXCPP $CPPFLAGS'
22995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23000 /* end confdefs.h. */
23001 #include <math.h>
23002 #ifdef HAVE_IEEEFP_H
23003 #include <ieeefp.h>
23004 #endif
23007 main ()
23009 logf(0);
23011 return 0;
23013 _ACEOF
23014 if ac_fn_cxx_try_compile "$LINENO"; then :
23015 glibcxx_cv_func_logf_use=yes
23016 else
23017 glibcxx_cv_func_logf_use=no
23019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23020 ac_ext=c
23021 ac_cpp='$CPP $CPPFLAGS'
23022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23031 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23033 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23034 for ac_func in logf
23035 do :
23036 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23037 if test "x$ac_cv_func_logf" = x""yes; then :
23038 cat >>confdefs.h <<_ACEOF
23039 #define HAVE_LOGF 1
23040 _ACEOF
23043 done
23045 else
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23048 $as_echo_n "checking for _logf declaration... " >&6; }
23049 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23050 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23051 $as_echo_n "(cached) " >&6
23052 else
23055 ac_ext=cpp
23056 ac_cpp='$CXXCPP $CPPFLAGS'
23057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23062 /* end confdefs.h. */
23063 #include <math.h>
23064 #ifdef HAVE_IEEEFP_H
23065 #include <ieeefp.h>
23066 #endif
23069 main ()
23071 _logf(0);
23073 return 0;
23075 _ACEOF
23076 if ac_fn_cxx_try_compile "$LINENO"; then :
23077 glibcxx_cv_func__logf_use=yes
23078 else
23079 glibcxx_cv_func__logf_use=no
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 ac_ext=c
23083 ac_cpp='$CPP $CPPFLAGS'
23084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23093 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23095 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23096 for ac_func in _logf
23097 do :
23098 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23099 if test "x$ac_cv_func__logf" = x""yes; then :
23100 cat >>confdefs.h <<_ACEOF
23101 #define HAVE__LOGF 1
23102 _ACEOF
23105 done
23114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23115 $as_echo_n "checking for log10f declaration... " >&6; }
23116 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23117 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23118 $as_echo_n "(cached) " >&6
23119 else
23122 ac_ext=cpp
23123 ac_cpp='$CXXCPP $CPPFLAGS'
23124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23129 /* end confdefs.h. */
23130 #include <math.h>
23131 #ifdef HAVE_IEEEFP_H
23132 #include <ieeefp.h>
23133 #endif
23136 main ()
23138 log10f(0);
23140 return 0;
23142 _ACEOF
23143 if ac_fn_cxx_try_compile "$LINENO"; then :
23144 glibcxx_cv_func_log10f_use=yes
23145 else
23146 glibcxx_cv_func_log10f_use=no
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149 ac_ext=c
23150 ac_cpp='$CPP $CPPFLAGS'
23151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23160 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23162 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23163 for ac_func in log10f
23164 do :
23165 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23166 if test "x$ac_cv_func_log10f" = x""yes; then :
23167 cat >>confdefs.h <<_ACEOF
23168 #define HAVE_LOG10F 1
23169 _ACEOF
23172 done
23174 else
23176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23177 $as_echo_n "checking for _log10f declaration... " >&6; }
23178 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23179 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23180 $as_echo_n "(cached) " >&6
23181 else
23184 ac_ext=cpp
23185 ac_cpp='$CXXCPP $CPPFLAGS'
23186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23191 /* end confdefs.h. */
23192 #include <math.h>
23193 #ifdef HAVE_IEEEFP_H
23194 #include <ieeefp.h>
23195 #endif
23198 main ()
23200 _log10f(0);
23202 return 0;
23204 _ACEOF
23205 if ac_fn_cxx_try_compile "$LINENO"; then :
23206 glibcxx_cv_func__log10f_use=yes
23207 else
23208 glibcxx_cv_func__log10f_use=no
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211 ac_ext=c
23212 ac_cpp='$CPP $CPPFLAGS'
23213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23222 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23224 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23225 for ac_func in _log10f
23226 do :
23227 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23228 if test "x$ac_cv_func__log10f" = x""yes; then :
23229 cat >>confdefs.h <<_ACEOF
23230 #define HAVE__LOG10F 1
23231 _ACEOF
23234 done
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23244 $as_echo_n "checking for modff declaration... " >&6; }
23245 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23246 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23247 $as_echo_n "(cached) " >&6
23248 else
23251 ac_ext=cpp
23252 ac_cpp='$CXXCPP $CPPFLAGS'
23253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23258 /* end confdefs.h. */
23259 #include <math.h>
23261 main ()
23263 modff(0, 0);
23265 return 0;
23267 _ACEOF
23268 if ac_fn_cxx_try_compile "$LINENO"; then :
23269 glibcxx_cv_func_modff_use=yes
23270 else
23271 glibcxx_cv_func_modff_use=no
23273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23274 ac_ext=c
23275 ac_cpp='$CPP $CPPFLAGS'
23276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23285 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23287 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23288 for ac_func in modff
23289 do :
23290 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23291 if test "x$ac_cv_func_modff" = x""yes; then :
23292 cat >>confdefs.h <<_ACEOF
23293 #define HAVE_MODFF 1
23294 _ACEOF
23297 done
23299 else
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23302 $as_echo_n "checking for _modff declaration... " >&6; }
23303 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23304 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23305 $as_echo_n "(cached) " >&6
23306 else
23309 ac_ext=cpp
23310 ac_cpp='$CXXCPP $CPPFLAGS'
23311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23316 /* end confdefs.h. */
23317 #include <math.h>
23319 main ()
23321 _modff(0, 0);
23323 return 0;
23325 _ACEOF
23326 if ac_fn_cxx_try_compile "$LINENO"; then :
23327 glibcxx_cv_func__modff_use=yes
23328 else
23329 glibcxx_cv_func__modff_use=no
23331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23332 ac_ext=c
23333 ac_cpp='$CPP $CPPFLAGS'
23334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23343 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23345 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23346 for ac_func in _modff
23347 do :
23348 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23349 if test "x$ac_cv_func__modff" = x""yes; then :
23350 cat >>confdefs.h <<_ACEOF
23351 #define HAVE__MODFF 1
23352 _ACEOF
23355 done
23364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23365 $as_echo_n "checking for modf declaration... " >&6; }
23366 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23367 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23368 $as_echo_n "(cached) " >&6
23369 else
23372 ac_ext=cpp
23373 ac_cpp='$CXXCPP $CPPFLAGS'
23374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23379 /* end confdefs.h. */
23380 #include <math.h>
23382 main ()
23384 modf(0, 0);
23386 return 0;
23388 _ACEOF
23389 if ac_fn_cxx_try_compile "$LINENO"; then :
23390 glibcxx_cv_func_modf_use=yes
23391 else
23392 glibcxx_cv_func_modf_use=no
23394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23395 ac_ext=c
23396 ac_cpp='$CPP $CPPFLAGS'
23397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23406 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23408 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23409 for ac_func in modf
23410 do :
23411 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23412 if test "x$ac_cv_func_modf" = x""yes; then :
23413 cat >>confdefs.h <<_ACEOF
23414 #define HAVE_MODF 1
23415 _ACEOF
23418 done
23420 else
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23423 $as_echo_n "checking for _modf declaration... " >&6; }
23424 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23425 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23426 $as_echo_n "(cached) " >&6
23427 else
23430 ac_ext=cpp
23431 ac_cpp='$CXXCPP $CPPFLAGS'
23432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23437 /* end confdefs.h. */
23438 #include <math.h>
23440 main ()
23442 _modf(0, 0);
23444 return 0;
23446 _ACEOF
23447 if ac_fn_cxx_try_compile "$LINENO"; then :
23448 glibcxx_cv_func__modf_use=yes
23449 else
23450 glibcxx_cv_func__modf_use=no
23452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23453 ac_ext=c
23454 ac_cpp='$CPP $CPPFLAGS'
23455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23464 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23466 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23467 for ac_func in _modf
23468 do :
23469 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23470 if test "x$ac_cv_func__modf" = x""yes; then :
23471 cat >>confdefs.h <<_ACEOF
23472 #define HAVE__MODF 1
23473 _ACEOF
23476 done
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23486 $as_echo_n "checking for powf declaration... " >&6; }
23487 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23488 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23489 $as_echo_n "(cached) " >&6
23490 else
23493 ac_ext=cpp
23494 ac_cpp='$CXXCPP $CPPFLAGS'
23495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23500 /* end confdefs.h. */
23501 #include <math.h>
23503 main ()
23505 powf(0, 0);
23507 return 0;
23509 _ACEOF
23510 if ac_fn_cxx_try_compile "$LINENO"; then :
23511 glibcxx_cv_func_powf_use=yes
23512 else
23513 glibcxx_cv_func_powf_use=no
23515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23516 ac_ext=c
23517 ac_cpp='$CPP $CPPFLAGS'
23518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23527 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23529 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23530 for ac_func in powf
23531 do :
23532 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23533 if test "x$ac_cv_func_powf" = x""yes; then :
23534 cat >>confdefs.h <<_ACEOF
23535 #define HAVE_POWF 1
23536 _ACEOF
23539 done
23541 else
23543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23544 $as_echo_n "checking for _powf declaration... " >&6; }
23545 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23546 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23547 $as_echo_n "(cached) " >&6
23548 else
23551 ac_ext=cpp
23552 ac_cpp='$CXXCPP $CPPFLAGS'
23553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23558 /* end confdefs.h. */
23559 #include <math.h>
23561 main ()
23563 _powf(0, 0);
23565 return 0;
23567 _ACEOF
23568 if ac_fn_cxx_try_compile "$LINENO"; then :
23569 glibcxx_cv_func__powf_use=yes
23570 else
23571 glibcxx_cv_func__powf_use=no
23573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23574 ac_ext=c
23575 ac_cpp='$CPP $CPPFLAGS'
23576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23585 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23587 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23588 for ac_func in _powf
23589 do :
23590 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23591 if test "x$ac_cv_func__powf" = x""yes; then :
23592 cat >>confdefs.h <<_ACEOF
23593 #define HAVE__POWF 1
23594 _ACEOF
23597 done
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23607 $as_echo_n "checking for sqrtf declaration... " >&6; }
23608 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23609 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23610 $as_echo_n "(cached) " >&6
23611 else
23614 ac_ext=cpp
23615 ac_cpp='$CXXCPP $CPPFLAGS'
23616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23621 /* end confdefs.h. */
23622 #include <math.h>
23623 #ifdef HAVE_IEEEFP_H
23624 #include <ieeefp.h>
23625 #endif
23628 main ()
23630 sqrtf(0);
23632 return 0;
23634 _ACEOF
23635 if ac_fn_cxx_try_compile "$LINENO"; then :
23636 glibcxx_cv_func_sqrtf_use=yes
23637 else
23638 glibcxx_cv_func_sqrtf_use=no
23640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23641 ac_ext=c
23642 ac_cpp='$CPP $CPPFLAGS'
23643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23652 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23654 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23655 for ac_func in sqrtf
23656 do :
23657 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23658 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23659 cat >>confdefs.h <<_ACEOF
23660 #define HAVE_SQRTF 1
23661 _ACEOF
23664 done
23666 else
23668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23669 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23670 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23671 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23672 $as_echo_n "(cached) " >&6
23673 else
23676 ac_ext=cpp
23677 ac_cpp='$CXXCPP $CPPFLAGS'
23678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23683 /* end confdefs.h. */
23684 #include <math.h>
23685 #ifdef HAVE_IEEEFP_H
23686 #include <ieeefp.h>
23687 #endif
23690 main ()
23692 _sqrtf(0);
23694 return 0;
23696 _ACEOF
23697 if ac_fn_cxx_try_compile "$LINENO"; then :
23698 glibcxx_cv_func__sqrtf_use=yes
23699 else
23700 glibcxx_cv_func__sqrtf_use=no
23702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23703 ac_ext=c
23704 ac_cpp='$CPP $CPPFLAGS'
23705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23714 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23716 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23717 for ac_func in _sqrtf
23718 do :
23719 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23720 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23721 cat >>confdefs.h <<_ACEOF
23722 #define HAVE__SQRTF 1
23723 _ACEOF
23726 done
23735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23736 $as_echo_n "checking for sincosf declaration... " >&6; }
23737 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23738 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23739 $as_echo_n "(cached) " >&6
23740 else
23743 ac_ext=cpp
23744 ac_cpp='$CXXCPP $CPPFLAGS'
23745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23750 /* end confdefs.h. */
23751 #include <math.h>
23753 main ()
23755 sincosf(0, 0, 0);
23757 return 0;
23759 _ACEOF
23760 if ac_fn_cxx_try_compile "$LINENO"; then :
23761 glibcxx_cv_func_sincosf_use=yes
23762 else
23763 glibcxx_cv_func_sincosf_use=no
23765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23766 ac_ext=c
23767 ac_cpp='$CPP $CPPFLAGS'
23768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23777 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23779 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23780 for ac_func in sincosf
23781 do :
23782 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23783 if test "x$ac_cv_func_sincosf" = x""yes; then :
23784 cat >>confdefs.h <<_ACEOF
23785 #define HAVE_SINCOSF 1
23786 _ACEOF
23789 done
23791 else
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23794 $as_echo_n "checking for _sincosf declaration... " >&6; }
23795 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23796 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23797 $as_echo_n "(cached) " >&6
23798 else
23801 ac_ext=cpp
23802 ac_cpp='$CXXCPP $CPPFLAGS'
23803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23808 /* end confdefs.h. */
23809 #include <math.h>
23811 main ()
23813 _sincosf(0, 0, 0);
23815 return 0;
23817 _ACEOF
23818 if ac_fn_cxx_try_compile "$LINENO"; then :
23819 glibcxx_cv_func__sincosf_use=yes
23820 else
23821 glibcxx_cv_func__sincosf_use=no
23823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23824 ac_ext=c
23825 ac_cpp='$CPP $CPPFLAGS'
23826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23835 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23837 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23838 for ac_func in _sincosf
23839 do :
23840 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23841 if test "x$ac_cv_func__sincosf" = x""yes; then :
23842 cat >>confdefs.h <<_ACEOF
23843 #define HAVE__SINCOSF 1
23844 _ACEOF
23847 done
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23857 $as_echo_n "checking for finitef declaration... " >&6; }
23858 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23859 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23860 $as_echo_n "(cached) " >&6
23861 else
23864 ac_ext=cpp
23865 ac_cpp='$CXXCPP $CPPFLAGS'
23866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23871 /* end confdefs.h. */
23872 #include <math.h>
23873 #ifdef HAVE_IEEEFP_H
23874 #include <ieeefp.h>
23875 #endif
23878 main ()
23880 finitef(0);
23882 return 0;
23884 _ACEOF
23885 if ac_fn_cxx_try_compile "$LINENO"; then :
23886 glibcxx_cv_func_finitef_use=yes
23887 else
23888 glibcxx_cv_func_finitef_use=no
23890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23891 ac_ext=c
23892 ac_cpp='$CPP $CPPFLAGS'
23893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23902 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23904 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23905 for ac_func in finitef
23906 do :
23907 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23908 if test "x$ac_cv_func_finitef" = x""yes; then :
23909 cat >>confdefs.h <<_ACEOF
23910 #define HAVE_FINITEF 1
23911 _ACEOF
23914 done
23916 else
23918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23919 $as_echo_n "checking for _finitef declaration... " >&6; }
23920 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23921 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23922 $as_echo_n "(cached) " >&6
23923 else
23926 ac_ext=cpp
23927 ac_cpp='$CXXCPP $CPPFLAGS'
23928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23933 /* end confdefs.h. */
23934 #include <math.h>
23935 #ifdef HAVE_IEEEFP_H
23936 #include <ieeefp.h>
23937 #endif
23940 main ()
23942 _finitef(0);
23944 return 0;
23946 _ACEOF
23947 if ac_fn_cxx_try_compile "$LINENO"; then :
23948 glibcxx_cv_func__finitef_use=yes
23949 else
23950 glibcxx_cv_func__finitef_use=no
23952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23953 ac_ext=c
23954 ac_cpp='$CPP $CPPFLAGS'
23955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23964 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23966 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23967 for ac_func in _finitef
23968 do :
23969 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23970 if test "x$ac_cv_func__finitef" = x""yes; then :
23971 cat >>confdefs.h <<_ACEOF
23972 #define HAVE__FINITEF 1
23973 _ACEOF
23976 done
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23986 $as_echo_n "checking for long double trig functions... " >&6; }
23987 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23988 $as_echo_n "(cached) " >&6
23989 else
23992 ac_ext=cpp
23993 ac_cpp='$CXXCPP $CPPFLAGS'
23994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23999 /* end confdefs.h. */
24000 #include <math.h>
24002 main ()
24004 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24006 return 0;
24008 _ACEOF
24009 if ac_fn_cxx_try_compile "$LINENO"; then :
24010 glibcxx_cv_func_long_double_trig_use=yes
24011 else
24012 glibcxx_cv_func_long_double_trig_use=no
24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24015 ac_ext=c
24016 ac_cpp='$CPP $CPPFLAGS'
24017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24024 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24025 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24026 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24027 do :
24028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24030 eval as_val=\$$as_ac_var
24031 if test "x$as_val" = x""yes; then :
24032 cat >>confdefs.h <<_ACEOF
24033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24034 _ACEOF
24037 done
24039 else
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24041 $as_echo_n "checking for _long double trig functions... " >&6; }
24042 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24043 $as_echo_n "(cached) " >&6
24044 else
24047 ac_ext=cpp
24048 ac_cpp='$CXXCPP $CPPFLAGS'
24049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24054 /* end confdefs.h. */
24055 #include <math.h>
24057 main ()
24059 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24061 return 0;
24063 _ACEOF
24064 if ac_fn_cxx_try_compile "$LINENO"; then :
24065 glibcxx_cv_func__long_double_trig_use=yes
24066 else
24067 glibcxx_cv_func__long_double_trig_use=no
24069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24070 ac_ext=c
24071 ac_cpp='$CPP $CPPFLAGS'
24072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24079 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24080 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24081 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24082 do :
24083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24085 eval as_val=\$$as_ac_var
24086 if test "x$as_val" = x""yes; then :
24087 cat >>confdefs.h <<_ACEOF
24088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24089 _ACEOF
24092 done
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24102 $as_echo_n "checking for long double round functions... " >&6; }
24103 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24104 $as_echo_n "(cached) " >&6
24105 else
24108 ac_ext=cpp
24109 ac_cpp='$CXXCPP $CPPFLAGS'
24110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24115 /* end confdefs.h. */
24116 #include <math.h>
24118 main ()
24120 ceill (0); floorl (0);
24122 return 0;
24124 _ACEOF
24125 if ac_fn_cxx_try_compile "$LINENO"; then :
24126 glibcxx_cv_func_long_double_round_use=yes
24127 else
24128 glibcxx_cv_func_long_double_round_use=no
24130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24131 ac_ext=c
24132 ac_cpp='$CPP $CPPFLAGS'
24133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24140 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24141 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24142 for ac_func in ceill floorl
24143 do :
24144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24146 eval as_val=\$$as_ac_var
24147 if test "x$as_val" = x""yes; then :
24148 cat >>confdefs.h <<_ACEOF
24149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24150 _ACEOF
24153 done
24155 else
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24157 $as_echo_n "checking for _long double round functions... " >&6; }
24158 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24159 $as_echo_n "(cached) " >&6
24160 else
24163 ac_ext=cpp
24164 ac_cpp='$CXXCPP $CPPFLAGS'
24165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24170 /* end confdefs.h. */
24171 #include <math.h>
24173 main ()
24175 _ceill (0); _floorl (0);
24177 return 0;
24179 _ACEOF
24180 if ac_fn_cxx_try_compile "$LINENO"; then :
24181 glibcxx_cv_func__long_double_round_use=yes
24182 else
24183 glibcxx_cv_func__long_double_round_use=no
24185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24186 ac_ext=c
24187 ac_cpp='$CPP $CPPFLAGS'
24188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24195 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24196 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24197 for ac_func in _ceill _floorl
24198 do :
24199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24201 eval as_val=\$$as_ac_var
24202 if test "x$as_val" = x""yes; then :
24203 cat >>confdefs.h <<_ACEOF
24204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24205 _ACEOF
24208 done
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24219 $as_echo_n "checking for isnanl declaration... " >&6; }
24220 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24221 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24222 $as_echo_n "(cached) " >&6
24223 else
24226 ac_ext=cpp
24227 ac_cpp='$CXXCPP $CPPFLAGS'
24228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24233 /* end confdefs.h. */
24234 #include <math.h>
24235 #ifdef HAVE_IEEEFP_H
24236 #include <ieeefp.h>
24237 #endif
24240 main ()
24242 isnanl(0);
24244 return 0;
24246 _ACEOF
24247 if ac_fn_cxx_try_compile "$LINENO"; then :
24248 glibcxx_cv_func_isnanl_use=yes
24249 else
24250 glibcxx_cv_func_isnanl_use=no
24252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24253 ac_ext=c
24254 ac_cpp='$CPP $CPPFLAGS'
24255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24264 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24266 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24267 for ac_func in isnanl
24268 do :
24269 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24270 if test "x$ac_cv_func_isnanl" = x""yes; then :
24271 cat >>confdefs.h <<_ACEOF
24272 #define HAVE_ISNANL 1
24273 _ACEOF
24276 done
24278 else
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24281 $as_echo_n "checking for _isnanl declaration... " >&6; }
24282 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24283 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24284 $as_echo_n "(cached) " >&6
24285 else
24288 ac_ext=cpp
24289 ac_cpp='$CXXCPP $CPPFLAGS'
24290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24295 /* end confdefs.h. */
24296 #include <math.h>
24297 #ifdef HAVE_IEEEFP_H
24298 #include <ieeefp.h>
24299 #endif
24302 main ()
24304 _isnanl(0);
24306 return 0;
24308 _ACEOF
24309 if ac_fn_cxx_try_compile "$LINENO"; then :
24310 glibcxx_cv_func__isnanl_use=yes
24311 else
24312 glibcxx_cv_func__isnanl_use=no
24314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24315 ac_ext=c
24316 ac_cpp='$CPP $CPPFLAGS'
24317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24326 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24328 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24329 for ac_func in _isnanl
24330 do :
24331 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24332 if test "x$ac_cv_func__isnanl" = x""yes; then :
24333 cat >>confdefs.h <<_ACEOF
24334 #define HAVE__ISNANL 1
24335 _ACEOF
24338 done
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24348 $as_echo_n "checking for isinfl declaration... " >&6; }
24349 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24350 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24351 $as_echo_n "(cached) " >&6
24352 else
24355 ac_ext=cpp
24356 ac_cpp='$CXXCPP $CPPFLAGS'
24357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24362 /* end confdefs.h. */
24363 #include <math.h>
24364 #ifdef HAVE_IEEEFP_H
24365 #include <ieeefp.h>
24366 #endif
24369 main ()
24371 isinfl(0);
24373 return 0;
24375 _ACEOF
24376 if ac_fn_cxx_try_compile "$LINENO"; then :
24377 glibcxx_cv_func_isinfl_use=yes
24378 else
24379 glibcxx_cv_func_isinfl_use=no
24381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24382 ac_ext=c
24383 ac_cpp='$CPP $CPPFLAGS'
24384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24393 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24395 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24396 for ac_func in isinfl
24397 do :
24398 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24399 if test "x$ac_cv_func_isinfl" = x""yes; then :
24400 cat >>confdefs.h <<_ACEOF
24401 #define HAVE_ISINFL 1
24402 _ACEOF
24405 done
24407 else
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24410 $as_echo_n "checking for _isinfl declaration... " >&6; }
24411 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24412 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24413 $as_echo_n "(cached) " >&6
24414 else
24417 ac_ext=cpp
24418 ac_cpp='$CXXCPP $CPPFLAGS'
24419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424 /* end confdefs.h. */
24425 #include <math.h>
24426 #ifdef HAVE_IEEEFP_H
24427 #include <ieeefp.h>
24428 #endif
24431 main ()
24433 _isinfl(0);
24435 return 0;
24437 _ACEOF
24438 if ac_fn_cxx_try_compile "$LINENO"; then :
24439 glibcxx_cv_func__isinfl_use=yes
24440 else
24441 glibcxx_cv_func__isinfl_use=no
24443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24444 ac_ext=c
24445 ac_cpp='$CPP $CPPFLAGS'
24446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24455 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24457 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24458 for ac_func in _isinfl
24459 do :
24460 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24461 if test "x$ac_cv_func__isinfl" = x""yes; then :
24462 cat >>confdefs.h <<_ACEOF
24463 #define HAVE__ISINFL 1
24464 _ACEOF
24467 done
24476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24477 $as_echo_n "checking for atan2l declaration... " >&6; }
24478 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24479 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24480 $as_echo_n "(cached) " >&6
24481 else
24484 ac_ext=cpp
24485 ac_cpp='$CXXCPP $CPPFLAGS'
24486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24491 /* end confdefs.h. */
24492 #include <math.h>
24494 main ()
24496 atan2l(0, 0);
24498 return 0;
24500 _ACEOF
24501 if ac_fn_cxx_try_compile "$LINENO"; then :
24502 glibcxx_cv_func_atan2l_use=yes
24503 else
24504 glibcxx_cv_func_atan2l_use=no
24506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24507 ac_ext=c
24508 ac_cpp='$CPP $CPPFLAGS'
24509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24518 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24520 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24521 for ac_func in atan2l
24522 do :
24523 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24524 if test "x$ac_cv_func_atan2l" = x""yes; then :
24525 cat >>confdefs.h <<_ACEOF
24526 #define HAVE_ATAN2L 1
24527 _ACEOF
24530 done
24532 else
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24535 $as_echo_n "checking for _atan2l declaration... " >&6; }
24536 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24537 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24538 $as_echo_n "(cached) " >&6
24539 else
24542 ac_ext=cpp
24543 ac_cpp='$CXXCPP $CPPFLAGS'
24544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24549 /* end confdefs.h. */
24550 #include <math.h>
24552 main ()
24554 _atan2l(0, 0);
24556 return 0;
24558 _ACEOF
24559 if ac_fn_cxx_try_compile "$LINENO"; then :
24560 glibcxx_cv_func__atan2l_use=yes
24561 else
24562 glibcxx_cv_func__atan2l_use=no
24564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24565 ac_ext=c
24566 ac_cpp='$CPP $CPPFLAGS'
24567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24576 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24578 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24579 for ac_func in _atan2l
24580 do :
24581 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24582 if test "x$ac_cv_func__atan2l" = x""yes; then :
24583 cat >>confdefs.h <<_ACEOF
24584 #define HAVE__ATAN2L 1
24585 _ACEOF
24588 done
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24598 $as_echo_n "checking for expl declaration... " >&6; }
24599 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24600 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24601 $as_echo_n "(cached) " >&6
24602 else
24605 ac_ext=cpp
24606 ac_cpp='$CXXCPP $CPPFLAGS'
24607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24612 /* end confdefs.h. */
24613 #include <math.h>
24614 #ifdef HAVE_IEEEFP_H
24615 #include <ieeefp.h>
24616 #endif
24619 main ()
24621 expl(0);
24623 return 0;
24625 _ACEOF
24626 if ac_fn_cxx_try_compile "$LINENO"; then :
24627 glibcxx_cv_func_expl_use=yes
24628 else
24629 glibcxx_cv_func_expl_use=no
24631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24632 ac_ext=c
24633 ac_cpp='$CPP $CPPFLAGS'
24634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24643 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24645 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24646 for ac_func in expl
24647 do :
24648 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24649 if test "x$ac_cv_func_expl" = x""yes; then :
24650 cat >>confdefs.h <<_ACEOF
24651 #define HAVE_EXPL 1
24652 _ACEOF
24655 done
24657 else
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24660 $as_echo_n "checking for _expl declaration... " >&6; }
24661 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24662 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24663 $as_echo_n "(cached) " >&6
24664 else
24667 ac_ext=cpp
24668 ac_cpp='$CXXCPP $CPPFLAGS'
24669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24674 /* end confdefs.h. */
24675 #include <math.h>
24676 #ifdef HAVE_IEEEFP_H
24677 #include <ieeefp.h>
24678 #endif
24681 main ()
24683 _expl(0);
24685 return 0;
24687 _ACEOF
24688 if ac_fn_cxx_try_compile "$LINENO"; then :
24689 glibcxx_cv_func__expl_use=yes
24690 else
24691 glibcxx_cv_func__expl_use=no
24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24694 ac_ext=c
24695 ac_cpp='$CPP $CPPFLAGS'
24696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24705 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24707 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24708 for ac_func in _expl
24709 do :
24710 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24711 if test "x$ac_cv_func__expl" = x""yes; then :
24712 cat >>confdefs.h <<_ACEOF
24713 #define HAVE__EXPL 1
24714 _ACEOF
24717 done
24726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24727 $as_echo_n "checking for fabsl declaration... " >&6; }
24728 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24729 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24730 $as_echo_n "(cached) " >&6
24731 else
24734 ac_ext=cpp
24735 ac_cpp='$CXXCPP $CPPFLAGS'
24736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24741 /* end confdefs.h. */
24742 #include <math.h>
24743 #ifdef HAVE_IEEEFP_H
24744 #include <ieeefp.h>
24745 #endif
24748 main ()
24750 fabsl(0);
24752 return 0;
24754 _ACEOF
24755 if ac_fn_cxx_try_compile "$LINENO"; then :
24756 glibcxx_cv_func_fabsl_use=yes
24757 else
24758 glibcxx_cv_func_fabsl_use=no
24760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761 ac_ext=c
24762 ac_cpp='$CPP $CPPFLAGS'
24763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24772 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24774 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24775 for ac_func in fabsl
24776 do :
24777 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24778 if test "x$ac_cv_func_fabsl" = x""yes; then :
24779 cat >>confdefs.h <<_ACEOF
24780 #define HAVE_FABSL 1
24781 _ACEOF
24784 done
24786 else
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24789 $as_echo_n "checking for _fabsl declaration... " >&6; }
24790 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24791 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24792 $as_echo_n "(cached) " >&6
24793 else
24796 ac_ext=cpp
24797 ac_cpp='$CXXCPP $CPPFLAGS'
24798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24803 /* end confdefs.h. */
24804 #include <math.h>
24805 #ifdef HAVE_IEEEFP_H
24806 #include <ieeefp.h>
24807 #endif
24810 main ()
24812 _fabsl(0);
24814 return 0;
24816 _ACEOF
24817 if ac_fn_cxx_try_compile "$LINENO"; then :
24818 glibcxx_cv_func__fabsl_use=yes
24819 else
24820 glibcxx_cv_func__fabsl_use=no
24822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24823 ac_ext=c
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24834 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24836 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24837 for ac_func in _fabsl
24838 do :
24839 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24840 if test "x$ac_cv_func__fabsl" = x""yes; then :
24841 cat >>confdefs.h <<_ACEOF
24842 #define HAVE__FABSL 1
24843 _ACEOF
24846 done
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24856 $as_echo_n "checking for fmodl declaration... " >&6; }
24857 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24858 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24859 $as_echo_n "(cached) " >&6
24860 else
24863 ac_ext=cpp
24864 ac_cpp='$CXXCPP $CPPFLAGS'
24865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24870 /* end confdefs.h. */
24871 #include <math.h>
24873 main ()
24875 fmodl(0, 0);
24877 return 0;
24879 _ACEOF
24880 if ac_fn_cxx_try_compile "$LINENO"; then :
24881 glibcxx_cv_func_fmodl_use=yes
24882 else
24883 glibcxx_cv_func_fmodl_use=no
24885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24886 ac_ext=c
24887 ac_cpp='$CPP $CPPFLAGS'
24888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24897 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24899 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24900 for ac_func in fmodl
24901 do :
24902 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24903 if test "x$ac_cv_func_fmodl" = x""yes; then :
24904 cat >>confdefs.h <<_ACEOF
24905 #define HAVE_FMODL 1
24906 _ACEOF
24909 done
24911 else
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24914 $as_echo_n "checking for _fmodl declaration... " >&6; }
24915 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24916 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24917 $as_echo_n "(cached) " >&6
24918 else
24921 ac_ext=cpp
24922 ac_cpp='$CXXCPP $CPPFLAGS'
24923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24928 /* end confdefs.h. */
24929 #include <math.h>
24931 main ()
24933 _fmodl(0, 0);
24935 return 0;
24937 _ACEOF
24938 if ac_fn_cxx_try_compile "$LINENO"; then :
24939 glibcxx_cv_func__fmodl_use=yes
24940 else
24941 glibcxx_cv_func__fmodl_use=no
24943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24944 ac_ext=c
24945 ac_cpp='$CPP $CPPFLAGS'
24946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24955 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24957 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24958 for ac_func in _fmodl
24959 do :
24960 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24961 if test "x$ac_cv_func__fmodl" = x""yes; then :
24962 cat >>confdefs.h <<_ACEOF
24963 #define HAVE__FMODL 1
24964 _ACEOF
24967 done
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24977 $as_echo_n "checking for frexpl declaration... " >&6; }
24978 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24979 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24980 $as_echo_n "(cached) " >&6
24981 else
24984 ac_ext=cpp
24985 ac_cpp='$CXXCPP $CPPFLAGS'
24986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24991 /* end confdefs.h. */
24992 #include <math.h>
24994 main ()
24996 frexpl(0, 0);
24998 return 0;
25000 _ACEOF
25001 if ac_fn_cxx_try_compile "$LINENO"; then :
25002 glibcxx_cv_func_frexpl_use=yes
25003 else
25004 glibcxx_cv_func_frexpl_use=no
25006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25007 ac_ext=c
25008 ac_cpp='$CPP $CPPFLAGS'
25009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25018 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25020 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25021 for ac_func in frexpl
25022 do :
25023 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25024 if test "x$ac_cv_func_frexpl" = x""yes; then :
25025 cat >>confdefs.h <<_ACEOF
25026 #define HAVE_FREXPL 1
25027 _ACEOF
25030 done
25032 else
25034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25035 $as_echo_n "checking for _frexpl declaration... " >&6; }
25036 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25037 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25038 $as_echo_n "(cached) " >&6
25039 else
25042 ac_ext=cpp
25043 ac_cpp='$CXXCPP $CPPFLAGS'
25044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25049 /* end confdefs.h. */
25050 #include <math.h>
25052 main ()
25054 _frexpl(0, 0);
25056 return 0;
25058 _ACEOF
25059 if ac_fn_cxx_try_compile "$LINENO"; then :
25060 glibcxx_cv_func__frexpl_use=yes
25061 else
25062 glibcxx_cv_func__frexpl_use=no
25064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25065 ac_ext=c
25066 ac_cpp='$CPP $CPPFLAGS'
25067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25076 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25078 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25079 for ac_func in _frexpl
25080 do :
25081 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25082 if test "x$ac_cv_func__frexpl" = x""yes; then :
25083 cat >>confdefs.h <<_ACEOF
25084 #define HAVE__FREXPL 1
25085 _ACEOF
25088 done
25097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25098 $as_echo_n "checking for hypotl declaration... " >&6; }
25099 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25100 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25101 $as_echo_n "(cached) " >&6
25102 else
25105 ac_ext=cpp
25106 ac_cpp='$CXXCPP $CPPFLAGS'
25107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25112 /* end confdefs.h. */
25113 #include <math.h>
25115 main ()
25117 hypotl(0, 0);
25119 return 0;
25121 _ACEOF
25122 if ac_fn_cxx_try_compile "$LINENO"; then :
25123 glibcxx_cv_func_hypotl_use=yes
25124 else
25125 glibcxx_cv_func_hypotl_use=no
25127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128 ac_ext=c
25129 ac_cpp='$CPP $CPPFLAGS'
25130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25139 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25141 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25142 for ac_func in hypotl
25143 do :
25144 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25145 if test "x$ac_cv_func_hypotl" = x""yes; then :
25146 cat >>confdefs.h <<_ACEOF
25147 #define HAVE_HYPOTL 1
25148 _ACEOF
25151 done
25153 else
25155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25156 $as_echo_n "checking for _hypotl declaration... " >&6; }
25157 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25158 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25159 $as_echo_n "(cached) " >&6
25160 else
25163 ac_ext=cpp
25164 ac_cpp='$CXXCPP $CPPFLAGS'
25165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25170 /* end confdefs.h. */
25171 #include <math.h>
25173 main ()
25175 _hypotl(0, 0);
25177 return 0;
25179 _ACEOF
25180 if ac_fn_cxx_try_compile "$LINENO"; then :
25181 glibcxx_cv_func__hypotl_use=yes
25182 else
25183 glibcxx_cv_func__hypotl_use=no
25185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25186 ac_ext=c
25187 ac_cpp='$CPP $CPPFLAGS'
25188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25197 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25199 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25200 for ac_func in _hypotl
25201 do :
25202 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25203 if test "x$ac_cv_func__hypotl" = x""yes; then :
25204 cat >>confdefs.h <<_ACEOF
25205 #define HAVE__HYPOTL 1
25206 _ACEOF
25209 done
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25219 $as_echo_n "checking for ldexpl declaration... " >&6; }
25220 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25221 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25222 $as_echo_n "(cached) " >&6
25223 else
25226 ac_ext=cpp
25227 ac_cpp='$CXXCPP $CPPFLAGS'
25228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25233 /* end confdefs.h. */
25234 #include <math.h>
25236 main ()
25238 ldexpl(0, 0);
25240 return 0;
25242 _ACEOF
25243 if ac_fn_cxx_try_compile "$LINENO"; then :
25244 glibcxx_cv_func_ldexpl_use=yes
25245 else
25246 glibcxx_cv_func_ldexpl_use=no
25248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25249 ac_ext=c
25250 ac_cpp='$CPP $CPPFLAGS'
25251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25260 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25262 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25263 for ac_func in ldexpl
25264 do :
25265 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25266 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25267 cat >>confdefs.h <<_ACEOF
25268 #define HAVE_LDEXPL 1
25269 _ACEOF
25272 done
25274 else
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25277 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25278 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25279 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25280 $as_echo_n "(cached) " >&6
25281 else
25284 ac_ext=cpp
25285 ac_cpp='$CXXCPP $CPPFLAGS'
25286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25291 /* end confdefs.h. */
25292 #include <math.h>
25294 main ()
25296 _ldexpl(0, 0);
25298 return 0;
25300 _ACEOF
25301 if ac_fn_cxx_try_compile "$LINENO"; then :
25302 glibcxx_cv_func__ldexpl_use=yes
25303 else
25304 glibcxx_cv_func__ldexpl_use=no
25306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25307 ac_ext=c
25308 ac_cpp='$CPP $CPPFLAGS'
25309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25318 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25320 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25321 for ac_func in _ldexpl
25322 do :
25323 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25324 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25325 cat >>confdefs.h <<_ACEOF
25326 #define HAVE__LDEXPL 1
25327 _ACEOF
25330 done
25339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25340 $as_echo_n "checking for logl declaration... " >&6; }
25341 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25342 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25343 $as_echo_n "(cached) " >&6
25344 else
25347 ac_ext=cpp
25348 ac_cpp='$CXXCPP $CPPFLAGS'
25349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25354 /* end confdefs.h. */
25355 #include <math.h>
25356 #ifdef HAVE_IEEEFP_H
25357 #include <ieeefp.h>
25358 #endif
25361 main ()
25363 logl(0);
25365 return 0;
25367 _ACEOF
25368 if ac_fn_cxx_try_compile "$LINENO"; then :
25369 glibcxx_cv_func_logl_use=yes
25370 else
25371 glibcxx_cv_func_logl_use=no
25373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25374 ac_ext=c
25375 ac_cpp='$CPP $CPPFLAGS'
25376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25385 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25387 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25388 for ac_func in logl
25389 do :
25390 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25391 if test "x$ac_cv_func_logl" = x""yes; then :
25392 cat >>confdefs.h <<_ACEOF
25393 #define HAVE_LOGL 1
25394 _ACEOF
25397 done
25399 else
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25402 $as_echo_n "checking for _logl declaration... " >&6; }
25403 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25404 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25405 $as_echo_n "(cached) " >&6
25406 else
25409 ac_ext=cpp
25410 ac_cpp='$CXXCPP $CPPFLAGS'
25411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25416 /* end confdefs.h. */
25417 #include <math.h>
25418 #ifdef HAVE_IEEEFP_H
25419 #include <ieeefp.h>
25420 #endif
25423 main ()
25425 _logl(0);
25427 return 0;
25429 _ACEOF
25430 if ac_fn_cxx_try_compile "$LINENO"; then :
25431 glibcxx_cv_func__logl_use=yes
25432 else
25433 glibcxx_cv_func__logl_use=no
25435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25436 ac_ext=c
25437 ac_cpp='$CPP $CPPFLAGS'
25438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25447 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25449 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25450 for ac_func in _logl
25451 do :
25452 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25453 if test "x$ac_cv_func__logl" = x""yes; then :
25454 cat >>confdefs.h <<_ACEOF
25455 #define HAVE__LOGL 1
25456 _ACEOF
25459 done
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25469 $as_echo_n "checking for log10l declaration... " >&6; }
25470 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25471 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25472 $as_echo_n "(cached) " >&6
25473 else
25476 ac_ext=cpp
25477 ac_cpp='$CXXCPP $CPPFLAGS'
25478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25483 /* end confdefs.h. */
25484 #include <math.h>
25485 #ifdef HAVE_IEEEFP_H
25486 #include <ieeefp.h>
25487 #endif
25490 main ()
25492 log10l(0);
25494 return 0;
25496 _ACEOF
25497 if ac_fn_cxx_try_compile "$LINENO"; then :
25498 glibcxx_cv_func_log10l_use=yes
25499 else
25500 glibcxx_cv_func_log10l_use=no
25502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25503 ac_ext=c
25504 ac_cpp='$CPP $CPPFLAGS'
25505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25514 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25516 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25517 for ac_func in log10l
25518 do :
25519 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25520 if test "x$ac_cv_func_log10l" = x""yes; then :
25521 cat >>confdefs.h <<_ACEOF
25522 #define HAVE_LOG10L 1
25523 _ACEOF
25526 done
25528 else
25530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25531 $as_echo_n "checking for _log10l declaration... " >&6; }
25532 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25533 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25534 $as_echo_n "(cached) " >&6
25535 else
25538 ac_ext=cpp
25539 ac_cpp='$CXXCPP $CPPFLAGS'
25540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25545 /* end confdefs.h. */
25546 #include <math.h>
25547 #ifdef HAVE_IEEEFP_H
25548 #include <ieeefp.h>
25549 #endif
25552 main ()
25554 _log10l(0);
25556 return 0;
25558 _ACEOF
25559 if ac_fn_cxx_try_compile "$LINENO"; then :
25560 glibcxx_cv_func__log10l_use=yes
25561 else
25562 glibcxx_cv_func__log10l_use=no
25564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25565 ac_ext=c
25566 ac_cpp='$CPP $CPPFLAGS'
25567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25576 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25578 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25579 for ac_func in _log10l
25580 do :
25581 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25582 if test "x$ac_cv_func__log10l" = x""yes; then :
25583 cat >>confdefs.h <<_ACEOF
25584 #define HAVE__LOG10L 1
25585 _ACEOF
25588 done
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25598 $as_echo_n "checking for modfl declaration... " >&6; }
25599 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25600 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25601 $as_echo_n "(cached) " >&6
25602 else
25605 ac_ext=cpp
25606 ac_cpp='$CXXCPP $CPPFLAGS'
25607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25612 /* end confdefs.h. */
25613 #include <math.h>
25615 main ()
25617 modfl(0, 0);
25619 return 0;
25621 _ACEOF
25622 if ac_fn_cxx_try_compile "$LINENO"; then :
25623 glibcxx_cv_func_modfl_use=yes
25624 else
25625 glibcxx_cv_func_modfl_use=no
25627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25628 ac_ext=c
25629 ac_cpp='$CPP $CPPFLAGS'
25630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25639 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25641 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25642 for ac_func in modfl
25643 do :
25644 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25645 if test "x$ac_cv_func_modfl" = x""yes; then :
25646 cat >>confdefs.h <<_ACEOF
25647 #define HAVE_MODFL 1
25648 _ACEOF
25651 done
25653 else
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25656 $as_echo_n "checking for _modfl declaration... " >&6; }
25657 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25658 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25659 $as_echo_n "(cached) " >&6
25660 else
25663 ac_ext=cpp
25664 ac_cpp='$CXXCPP $CPPFLAGS'
25665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25670 /* end confdefs.h. */
25671 #include <math.h>
25673 main ()
25675 _modfl(0, 0);
25677 return 0;
25679 _ACEOF
25680 if ac_fn_cxx_try_compile "$LINENO"; then :
25681 glibcxx_cv_func__modfl_use=yes
25682 else
25683 glibcxx_cv_func__modfl_use=no
25685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25686 ac_ext=c
25687 ac_cpp='$CPP $CPPFLAGS'
25688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25697 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25699 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25700 for ac_func in _modfl
25701 do :
25702 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25703 if test "x$ac_cv_func__modfl" = x""yes; then :
25704 cat >>confdefs.h <<_ACEOF
25705 #define HAVE__MODFL 1
25706 _ACEOF
25709 done
25718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25719 $as_echo_n "checking for powl declaration... " >&6; }
25720 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25721 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25722 $as_echo_n "(cached) " >&6
25723 else
25726 ac_ext=cpp
25727 ac_cpp='$CXXCPP $CPPFLAGS'
25728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25733 /* end confdefs.h. */
25734 #include <math.h>
25736 main ()
25738 powl(0, 0);
25740 return 0;
25742 _ACEOF
25743 if ac_fn_cxx_try_compile "$LINENO"; then :
25744 glibcxx_cv_func_powl_use=yes
25745 else
25746 glibcxx_cv_func_powl_use=no
25748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25749 ac_ext=c
25750 ac_cpp='$CPP $CPPFLAGS'
25751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25760 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25762 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25763 for ac_func in powl
25764 do :
25765 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25766 if test "x$ac_cv_func_powl" = x""yes; then :
25767 cat >>confdefs.h <<_ACEOF
25768 #define HAVE_POWL 1
25769 _ACEOF
25772 done
25774 else
25776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25777 $as_echo_n "checking for _powl declaration... " >&6; }
25778 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25779 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25780 $as_echo_n "(cached) " >&6
25781 else
25784 ac_ext=cpp
25785 ac_cpp='$CXXCPP $CPPFLAGS'
25786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25791 /* end confdefs.h. */
25792 #include <math.h>
25794 main ()
25796 _powl(0, 0);
25798 return 0;
25800 _ACEOF
25801 if ac_fn_cxx_try_compile "$LINENO"; then :
25802 glibcxx_cv_func__powl_use=yes
25803 else
25804 glibcxx_cv_func__powl_use=no
25806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25807 ac_ext=c
25808 ac_cpp='$CPP $CPPFLAGS'
25809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25818 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25820 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25821 for ac_func in _powl
25822 do :
25823 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25824 if test "x$ac_cv_func__powl" = x""yes; then :
25825 cat >>confdefs.h <<_ACEOF
25826 #define HAVE__POWL 1
25827 _ACEOF
25830 done
25839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25840 $as_echo_n "checking for sqrtl declaration... " >&6; }
25841 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25842 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25843 $as_echo_n "(cached) " >&6
25844 else
25847 ac_ext=cpp
25848 ac_cpp='$CXXCPP $CPPFLAGS'
25849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25854 /* end confdefs.h. */
25855 #include <math.h>
25856 #ifdef HAVE_IEEEFP_H
25857 #include <ieeefp.h>
25858 #endif
25861 main ()
25863 sqrtl(0);
25865 return 0;
25867 _ACEOF
25868 if ac_fn_cxx_try_compile "$LINENO"; then :
25869 glibcxx_cv_func_sqrtl_use=yes
25870 else
25871 glibcxx_cv_func_sqrtl_use=no
25873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25874 ac_ext=c
25875 ac_cpp='$CPP $CPPFLAGS'
25876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25885 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25887 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25888 for ac_func in sqrtl
25889 do :
25890 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25891 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25892 cat >>confdefs.h <<_ACEOF
25893 #define HAVE_SQRTL 1
25894 _ACEOF
25897 done
25899 else
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25902 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25903 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25904 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25905 $as_echo_n "(cached) " >&6
25906 else
25909 ac_ext=cpp
25910 ac_cpp='$CXXCPP $CPPFLAGS'
25911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25916 /* end confdefs.h. */
25917 #include <math.h>
25918 #ifdef HAVE_IEEEFP_H
25919 #include <ieeefp.h>
25920 #endif
25923 main ()
25925 _sqrtl(0);
25927 return 0;
25929 _ACEOF
25930 if ac_fn_cxx_try_compile "$LINENO"; then :
25931 glibcxx_cv_func__sqrtl_use=yes
25932 else
25933 glibcxx_cv_func__sqrtl_use=no
25935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25936 ac_ext=c
25937 ac_cpp='$CPP $CPPFLAGS'
25938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25947 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25949 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25950 for ac_func in _sqrtl
25951 do :
25952 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25953 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25954 cat >>confdefs.h <<_ACEOF
25955 #define HAVE__SQRTL 1
25956 _ACEOF
25959 done
25968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25969 $as_echo_n "checking for sincosl declaration... " >&6; }
25970 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25971 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25972 $as_echo_n "(cached) " >&6
25973 else
25976 ac_ext=cpp
25977 ac_cpp='$CXXCPP $CPPFLAGS'
25978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25983 /* end confdefs.h. */
25984 #include <math.h>
25986 main ()
25988 sincosl(0, 0, 0);
25990 return 0;
25992 _ACEOF
25993 if ac_fn_cxx_try_compile "$LINENO"; then :
25994 glibcxx_cv_func_sincosl_use=yes
25995 else
25996 glibcxx_cv_func_sincosl_use=no
25998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25999 ac_ext=c
26000 ac_cpp='$CPP $CPPFLAGS'
26001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26010 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26012 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26013 for ac_func in sincosl
26014 do :
26015 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26016 if test "x$ac_cv_func_sincosl" = x""yes; then :
26017 cat >>confdefs.h <<_ACEOF
26018 #define HAVE_SINCOSL 1
26019 _ACEOF
26022 done
26024 else
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26027 $as_echo_n "checking for _sincosl declaration... " >&6; }
26028 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26029 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26030 $as_echo_n "(cached) " >&6
26031 else
26034 ac_ext=cpp
26035 ac_cpp='$CXXCPP $CPPFLAGS'
26036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26041 /* end confdefs.h. */
26042 #include <math.h>
26044 main ()
26046 _sincosl(0, 0, 0);
26048 return 0;
26050 _ACEOF
26051 if ac_fn_cxx_try_compile "$LINENO"; then :
26052 glibcxx_cv_func__sincosl_use=yes
26053 else
26054 glibcxx_cv_func__sincosl_use=no
26056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26057 ac_ext=c
26058 ac_cpp='$CPP $CPPFLAGS'
26059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26068 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26070 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26071 for ac_func in _sincosl
26072 do :
26073 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26074 if test "x$ac_cv_func__sincosl" = x""yes; then :
26075 cat >>confdefs.h <<_ACEOF
26076 #define HAVE__SINCOSL 1
26077 _ACEOF
26080 done
26089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26090 $as_echo_n "checking for finitel declaration... " >&6; }
26091 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26092 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26093 $as_echo_n "(cached) " >&6
26094 else
26097 ac_ext=cpp
26098 ac_cpp='$CXXCPP $CPPFLAGS'
26099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26104 /* end confdefs.h. */
26105 #include <math.h>
26106 #ifdef HAVE_IEEEFP_H
26107 #include <ieeefp.h>
26108 #endif
26111 main ()
26113 finitel(0);
26115 return 0;
26117 _ACEOF
26118 if ac_fn_cxx_try_compile "$LINENO"; then :
26119 glibcxx_cv_func_finitel_use=yes
26120 else
26121 glibcxx_cv_func_finitel_use=no
26123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26124 ac_ext=c
26125 ac_cpp='$CPP $CPPFLAGS'
26126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26135 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26137 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26138 for ac_func in finitel
26139 do :
26140 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26141 if test "x$ac_cv_func_finitel" = x""yes; then :
26142 cat >>confdefs.h <<_ACEOF
26143 #define HAVE_FINITEL 1
26144 _ACEOF
26147 done
26149 else
26151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26152 $as_echo_n "checking for _finitel declaration... " >&6; }
26153 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26154 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26155 $as_echo_n "(cached) " >&6
26156 else
26159 ac_ext=cpp
26160 ac_cpp='$CXXCPP $CPPFLAGS'
26161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26166 /* end confdefs.h. */
26167 #include <math.h>
26168 #ifdef HAVE_IEEEFP_H
26169 #include <ieeefp.h>
26170 #endif
26173 main ()
26175 _finitel(0);
26177 return 0;
26179 _ACEOF
26180 if ac_fn_cxx_try_compile "$LINENO"; then :
26181 glibcxx_cv_func__finitel_use=yes
26182 else
26183 glibcxx_cv_func__finitel_use=no
26185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26186 ac_ext=c
26187 ac_cpp='$CPP $CPPFLAGS'
26188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26197 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26199 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26200 for ac_func in _finitel
26201 do :
26202 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26203 if test "x$ac_cv_func__finitel" = x""yes; then :
26204 cat >>confdefs.h <<_ACEOF
26205 #define HAVE__FINITEL 1
26206 _ACEOF
26209 done
26217 LIBS="$ac_save_LIBS"
26218 CXXFLAGS="$ac_save_CXXFLAGS"
26221 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26222 ac_save_CXXFLAGS="$CXXFLAGS"
26223 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26227 $as_echo_n "checking for strtold declaration... " >&6; }
26228 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26229 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26230 $as_echo_n "(cached) " >&6
26231 else
26234 ac_ext=cpp
26235 ac_cpp='$CXXCPP $CPPFLAGS'
26236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26241 /* end confdefs.h. */
26242 #include <stdlib.h>
26244 main ()
26246 strtold(0, 0);
26248 return 0;
26250 _ACEOF
26251 if ac_fn_cxx_try_compile "$LINENO"; then :
26252 glibcxx_cv_func_strtold_use=yes
26253 else
26254 glibcxx_cv_func_strtold_use=no
26256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26257 ac_ext=c
26258 ac_cpp='$CPP $CPPFLAGS'
26259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26268 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26269 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26270 for ac_func in strtold
26271 do :
26272 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26273 if test "x$ac_cv_func_strtold" = x""yes; then :
26274 cat >>confdefs.h <<_ACEOF
26275 #define HAVE_STRTOLD 1
26276 _ACEOF
26279 done
26286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26287 $as_echo_n "checking for strtof declaration... " >&6; }
26288 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26289 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26290 $as_echo_n "(cached) " >&6
26291 else
26294 ac_ext=cpp
26295 ac_cpp='$CXXCPP $CPPFLAGS'
26296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26301 /* end confdefs.h. */
26302 #include <stdlib.h>
26304 main ()
26306 strtof(0, 0);
26308 return 0;
26310 _ACEOF
26311 if ac_fn_cxx_try_compile "$LINENO"; then :
26312 glibcxx_cv_func_strtof_use=yes
26313 else
26314 glibcxx_cv_func_strtof_use=no
26316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26317 ac_ext=c
26318 ac_cpp='$CPP $CPPFLAGS'
26319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26328 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26329 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26330 for ac_func in strtof
26331 do :
26332 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26333 if test "x$ac_cv_func_strtof" = x""yes; then :
26334 cat >>confdefs.h <<_ACEOF
26335 #define HAVE_STRTOF 1
26336 _ACEOF
26339 done
26346 CXXFLAGS="$ac_save_CXXFLAGS"
26349 # For /dev/random and /dev/urandom for TR1.
26352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26353 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26354 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26355 $as_echo_n "(cached) " >&6
26356 else
26358 if test -r /dev/random && test -r /dev/urandom; then
26359 glibcxx_cv_random_tr1=yes;
26360 else
26361 glibcxx_cv_random_tr1=no;
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26367 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26369 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26371 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26377 # For TLS support.
26380 # Check whether --enable-tls was given.
26381 if test "${enable_tls+set}" = set; then :
26382 enableval=$enable_tls;
26383 case "$enableval" in
26384 yes|no) ;;
26385 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26386 esac
26388 else
26389 enable_tls=yes
26393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26394 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26395 if test "${gcc_cv_have_tls+set}" = set; then :
26396 $as_echo_n "(cached) " >&6
26397 else
26399 if test "$cross_compiling" = yes; then :
26400 if test x$gcc_no_link = xyes; then
26401 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26404 /* end confdefs.h. */
26405 __thread int a; int b; int main() { return a = b; }
26406 _ACEOF
26407 if ac_fn_c_try_link "$LINENO"; then :
26408 chktls_save_LDFLAGS="$LDFLAGS"
26409 case $host in
26410 *-*-linux*)
26411 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26413 esac
26414 chktls_save_CFLAGS="$CFLAGS"
26415 CFLAGS="-fPIC $CFLAGS"
26416 if test x$gcc_no_link = xyes; then
26417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26420 /* end confdefs.h. */
26421 int f() { return 0; }
26422 _ACEOF
26423 if ac_fn_c_try_link "$LINENO"; then :
26424 if test x$gcc_no_link = xyes; then
26425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26428 /* end confdefs.h. */
26429 __thread int a; int b; int f() { return a = b; }
26430 _ACEOF
26431 if ac_fn_c_try_link "$LINENO"; then :
26432 gcc_cv_have_tls=yes
26433 else
26434 gcc_cv_have_tls=no
26436 rm -f core conftest.err conftest.$ac_objext \
26437 conftest$ac_exeext conftest.$ac_ext
26438 else
26439 gcc_cv_have_tls=yes
26441 rm -f core conftest.err conftest.$ac_objext \
26442 conftest$ac_exeext conftest.$ac_ext
26443 CFLAGS="$chktls_save_CFLAGS"
26444 LDFLAGS="$chktls_save_LDFLAGS"
26445 else
26446 gcc_cv_have_tls=no
26448 rm -f core conftest.err conftest.$ac_objext \
26449 conftest$ac_exeext conftest.$ac_ext
26452 else
26453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26454 /* end confdefs.h. */
26455 __thread int a; int b; int main() { return a = b; }
26456 _ACEOF
26457 if ac_fn_c_try_run "$LINENO"; then :
26458 chktls_save_LDFLAGS="$LDFLAGS"
26459 LDFLAGS="-static $LDFLAGS"
26460 if test x$gcc_no_link = xyes; then
26461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26464 /* end confdefs.h. */
26465 int main() { return 0; }
26466 _ACEOF
26467 if ac_fn_c_try_link "$LINENO"; then :
26468 if test "$cross_compiling" = yes; then :
26469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26471 as_fn_error "cannot run test program while cross compiling
26472 See \`config.log' for more details." "$LINENO" 5; }
26473 else
26474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26475 /* end confdefs.h. */
26476 __thread int a; int b; int main() { return a = b; }
26477 _ACEOF
26478 if ac_fn_c_try_run "$LINENO"; then :
26479 gcc_cv_have_tls=yes
26480 else
26481 gcc_cv_have_tls=no
26483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26484 conftest.$ac_objext conftest.beam conftest.$ac_ext
26487 else
26488 gcc_cv_have_tls=yes
26490 rm -f core conftest.err conftest.$ac_objext \
26491 conftest$ac_exeext conftest.$ac_ext
26492 LDFLAGS="$chktls_save_LDFLAGS"
26493 if test $gcc_cv_have_tls = yes; then
26494 chktls_save_CFLAGS="$CFLAGS"
26495 thread_CFLAGS=failed
26496 for flag in '' '-pthread' '-lpthread'; do
26497 CFLAGS="$flag $chktls_save_CFLAGS"
26498 if test x$gcc_no_link = xyes; then
26499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <pthread.h>
26504 void *g(void *d) { return NULL; }
26506 main ()
26508 pthread_t t; pthread_create(&t,NULL,g,NULL);
26510 return 0;
26512 _ACEOF
26513 if ac_fn_c_try_link "$LINENO"; then :
26514 thread_CFLAGS="$flag"
26516 rm -f core conftest.err conftest.$ac_objext \
26517 conftest$ac_exeext conftest.$ac_ext
26518 if test "X$thread_CFLAGS" != Xfailed; then
26519 break
26521 done
26522 CFLAGS="$chktls_save_CFLAGS"
26523 if test "X$thread_CFLAGS" != Xfailed; then
26524 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26525 if test "$cross_compiling" = yes; then :
26526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26528 as_fn_error "cannot run test program while cross compiling
26529 See \`config.log' for more details." "$LINENO" 5; }
26530 else
26531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26532 /* end confdefs.h. */
26533 #include <pthread.h>
26534 __thread int a;
26535 static int *volatile a_in_other_thread;
26536 static void *
26537 thread_func (void *arg)
26539 a_in_other_thread = &a;
26540 return (void *)0;
26543 main ()
26545 pthread_t thread;
26546 void *thread_retval;
26547 int *volatile a_in_main_thread;
26548 a_in_main_thread = &a;
26549 if (pthread_create (&thread, (pthread_attr_t *)0,
26550 thread_func, (void *)0))
26551 return 0;
26552 if (pthread_join (thread, &thread_retval))
26553 return 0;
26554 return (a_in_other_thread == a_in_main_thread);
26556 return 0;
26558 _ACEOF
26559 if ac_fn_c_try_run "$LINENO"; then :
26560 gcc_cv_have_tls=yes
26561 else
26562 gcc_cv_have_tls=no
26564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26565 conftest.$ac_objext conftest.beam conftest.$ac_ext
26568 CFLAGS="$chktls_save_CFLAGS"
26571 else
26572 gcc_cv_have_tls=no
26574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26575 conftest.$ac_objext conftest.beam conftest.$ac_ext
26579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26580 $as_echo "$gcc_cv_have_tls" >&6; }
26581 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26583 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26587 # For iconv support.
26589 if test "X$prefix" = "XNONE"; then
26590 acl_final_prefix="$ac_default_prefix"
26591 else
26592 acl_final_prefix="$prefix"
26594 if test "X$exec_prefix" = "XNONE"; then
26595 acl_final_exec_prefix='${prefix}'
26596 else
26597 acl_final_exec_prefix="$exec_prefix"
26599 acl_save_prefix="$prefix"
26600 prefix="$acl_final_prefix"
26601 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26602 prefix="$acl_save_prefix"
26605 # Check whether --with-gnu-ld was given.
26606 if test "${with_gnu_ld+set}" = set; then :
26607 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26608 else
26609 with_gnu_ld=no
26612 # Prepare PATH_SEPARATOR.
26613 # The user is always right.
26614 if test "${PATH_SEPARATOR+set}" != set; then
26615 echo "#! /bin/sh" >conf$$.sh
26616 echo "exit 0" >>conf$$.sh
26617 chmod +x conf$$.sh
26618 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26619 PATH_SEPARATOR=';'
26620 else
26621 PATH_SEPARATOR=:
26623 rm -f conf$$.sh
26625 ac_prog=ld
26626 if test "$GCC" = yes; then
26627 # Check if gcc -print-prog-name=ld gives a path.
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26629 $as_echo_n "checking for ld used by GCC... " >&6; }
26630 case $host in
26631 *-*-mingw*)
26632 # gcc leaves a trailing carriage return which upsets mingw
26633 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26635 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26636 esac
26637 case $ac_prog in
26638 # Accept absolute paths.
26639 [\\/]* | [A-Za-z]:[\\/]*)
26640 re_direlt='/[^/][^/]*/\.\./'
26641 # Canonicalize the path of ld
26642 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26643 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26644 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26645 done
26646 test -z "$LD" && LD="$ac_prog"
26649 # If it fails, then pretend we aren't using GCC.
26650 ac_prog=ld
26653 # If it is relative, then search for the first ld in PATH.
26654 with_gnu_ld=unknown
26656 esac
26657 elif test "$with_gnu_ld" = yes; then
26658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26659 $as_echo_n "checking for GNU ld... " >&6; }
26660 else
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26662 $as_echo_n "checking for non-GNU ld... " >&6; }
26664 if test "${acl_cv_path_LD+set}" = set; then :
26665 $as_echo_n "(cached) " >&6
26666 else
26667 if test -z "$LD"; then
26668 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26669 for ac_dir in $PATH; do
26670 test -z "$ac_dir" && ac_dir=.
26671 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26672 acl_cv_path_LD="$ac_dir/$ac_prog"
26673 # Check to see if the program is GNU ld. I'd rather use --version,
26674 # but apparently some GNU ld's only accept -v.
26675 # Break only if it was the GNU/non-GNU ld that we prefer.
26676 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26677 test "$with_gnu_ld" != no && break
26678 else
26679 test "$with_gnu_ld" != yes && break
26682 done
26683 IFS="$ac_save_ifs"
26684 else
26685 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26689 LD="$acl_cv_path_LD"
26690 if test -n "$LD"; then
26691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26692 $as_echo "$LD" >&6; }
26693 else
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26695 $as_echo "no" >&6; }
26697 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26699 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26700 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26701 $as_echo_n "(cached) " >&6
26702 else
26703 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26704 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26705 acl_cv_prog_gnu_ld=yes
26706 else
26707 acl_cv_prog_gnu_ld=no
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26711 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26712 with_gnu_ld=$acl_cv_prog_gnu_ld
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26717 $as_echo_n "checking for shared library run path origin... " >&6; }
26718 if test "${acl_cv_rpath+set}" = set; then :
26719 $as_echo_n "(cached) " >&6
26720 else
26722 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26723 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26724 . ./conftest.sh
26725 rm -f ./conftest.sh
26726 acl_cv_rpath=done
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26730 $as_echo "$acl_cv_rpath" >&6; }
26731 wl="$acl_cv_wl"
26732 libext="$acl_cv_libext"
26733 shlibext="$acl_cv_shlibext"
26734 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26735 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26736 hardcode_direct="$acl_cv_hardcode_direct"
26737 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26738 # Check whether --enable-rpath was given.
26739 if test "${enable_rpath+set}" = set; then :
26740 enableval=$enable_rpath; :
26741 else
26742 enable_rpath=yes
26752 use_additional=yes
26754 acl_save_prefix="$prefix"
26755 prefix="$acl_final_prefix"
26756 acl_save_exec_prefix="$exec_prefix"
26757 exec_prefix="$acl_final_exec_prefix"
26759 eval additional_includedir=\"$includedir\"
26760 eval additional_libdir=\"$libdir\"
26762 exec_prefix="$acl_save_exec_prefix"
26763 prefix="$acl_save_prefix"
26766 # Check whether --with-libiconv-prefix was given.
26767 if test "${with_libiconv_prefix+set}" = set; then :
26768 withval=$with_libiconv_prefix;
26769 if test "X$withval" = "Xno"; then
26770 use_additional=no
26771 else
26772 if test "X$withval" = "X"; then
26774 acl_save_prefix="$prefix"
26775 prefix="$acl_final_prefix"
26776 acl_save_exec_prefix="$exec_prefix"
26777 exec_prefix="$acl_final_exec_prefix"
26779 eval additional_includedir=\"$includedir\"
26780 eval additional_libdir=\"$libdir\"
26782 exec_prefix="$acl_save_exec_prefix"
26783 prefix="$acl_save_prefix"
26785 else
26786 additional_includedir="$withval/include"
26787 additional_libdir="$withval/lib"
26793 LIBICONV=
26794 LTLIBICONV=
26795 INCICONV=
26796 rpathdirs=
26797 ltrpathdirs=
26798 names_already_handled=
26799 names_next_round='iconv '
26800 while test -n "$names_next_round"; do
26801 names_this_round="$names_next_round"
26802 names_next_round=
26803 for name in $names_this_round; do
26804 already_handled=
26805 for n in $names_already_handled; do
26806 if test "$n" = "$name"; then
26807 already_handled=yes
26808 break
26810 done
26811 if test -z "$already_handled"; then
26812 names_already_handled="$names_already_handled $name"
26813 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26814 eval value=\"\$HAVE_LIB$uppername\"
26815 if test -n "$value"; then
26816 if test "$value" = yes; then
26817 eval value=\"\$LIB$uppername\"
26818 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26819 eval value=\"\$LTLIB$uppername\"
26820 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26821 else
26824 else
26825 found_dir=
26826 found_la=
26827 found_so=
26828 found_a=
26829 if test $use_additional = yes; then
26830 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26831 found_dir="$additional_libdir"
26832 found_so="$additional_libdir/lib$name.$shlibext"
26833 if test -f "$additional_libdir/lib$name.la"; then
26834 found_la="$additional_libdir/lib$name.la"
26836 else
26837 if test -f "$additional_libdir/lib$name.$libext"; then
26838 found_dir="$additional_libdir"
26839 found_a="$additional_libdir/lib$name.$libext"
26840 if test -f "$additional_libdir/lib$name.la"; then
26841 found_la="$additional_libdir/lib$name.la"
26846 if test "X$found_dir" = "X"; then
26847 for x in $LDFLAGS $LTLIBICONV; do
26849 acl_save_prefix="$prefix"
26850 prefix="$acl_final_prefix"
26851 acl_save_exec_prefix="$exec_prefix"
26852 exec_prefix="$acl_final_exec_prefix"
26853 eval x=\"$x\"
26854 exec_prefix="$acl_save_exec_prefix"
26855 prefix="$acl_save_prefix"
26857 case "$x" in
26858 -L*)
26859 dir=`echo "X$x" | sed -e 's/^X-L//'`
26860 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26861 found_dir="$dir"
26862 found_so="$dir/lib$name.$shlibext"
26863 if test -f "$dir/lib$name.la"; then
26864 found_la="$dir/lib$name.la"
26866 else
26867 if test -f "$dir/lib$name.$libext"; then
26868 found_dir="$dir"
26869 found_a="$dir/lib$name.$libext"
26870 if test -f "$dir/lib$name.la"; then
26871 found_la="$dir/lib$name.la"
26876 esac
26877 if test "X$found_dir" != "X"; then
26878 break
26880 done
26882 if test "X$found_dir" != "X"; then
26883 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26884 if test "X$found_so" != "X"; then
26885 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26886 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26887 else
26888 haveit=
26889 for x in $ltrpathdirs; do
26890 if test "X$x" = "X$found_dir"; then
26891 haveit=yes
26892 break
26894 done
26895 if test -z "$haveit"; then
26896 ltrpathdirs="$ltrpathdirs $found_dir"
26898 if test "$hardcode_direct" = yes; then
26899 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26900 else
26901 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26902 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26903 haveit=
26904 for x in $rpathdirs; do
26905 if test "X$x" = "X$found_dir"; then
26906 haveit=yes
26907 break
26909 done
26910 if test -z "$haveit"; then
26911 rpathdirs="$rpathdirs $found_dir"
26913 else
26914 haveit=
26915 for x in $LDFLAGS $LIBICONV; do
26917 acl_save_prefix="$prefix"
26918 prefix="$acl_final_prefix"
26919 acl_save_exec_prefix="$exec_prefix"
26920 exec_prefix="$acl_final_exec_prefix"
26921 eval x=\"$x\"
26922 exec_prefix="$acl_save_exec_prefix"
26923 prefix="$acl_save_prefix"
26925 if test "X$x" = "X-L$found_dir"; then
26926 haveit=yes
26927 break
26929 done
26930 if test -z "$haveit"; then
26931 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26933 if test "$hardcode_minus_L" != no; then
26934 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26935 else
26936 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26941 else
26942 if test "X$found_a" != "X"; then
26943 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26944 else
26945 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26948 additional_includedir=
26949 case "$found_dir" in
26950 */lib | */lib/)
26951 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26952 additional_includedir="$basedir/include"
26954 esac
26955 if test "X$additional_includedir" != "X"; then
26956 if test "X$additional_includedir" != "X/usr/include"; then
26957 haveit=
26958 if test "X$additional_includedir" = "X/usr/local/include"; then
26959 if test -n "$GCC"; then
26960 case $host_os in
26961 linux*) haveit=yes;;
26962 esac
26965 if test -z "$haveit"; then
26966 for x in $CPPFLAGS $INCICONV; do
26968 acl_save_prefix="$prefix"
26969 prefix="$acl_final_prefix"
26970 acl_save_exec_prefix="$exec_prefix"
26971 exec_prefix="$acl_final_exec_prefix"
26972 eval x=\"$x\"
26973 exec_prefix="$acl_save_exec_prefix"
26974 prefix="$acl_save_prefix"
26976 if test "X$x" = "X-I$additional_includedir"; then
26977 haveit=yes
26978 break
26980 done
26981 if test -z "$haveit"; then
26982 if test -d "$additional_includedir"; then
26983 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26989 if test -n "$found_la"; then
26990 save_libdir="$libdir"
26991 case "$found_la" in
26992 */* | *\\*) . "$found_la" ;;
26993 *) . "./$found_la" ;;
26994 esac
26995 libdir="$save_libdir"
26996 for dep in $dependency_libs; do
26997 case "$dep" in
26998 -L*)
26999 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27000 if test "X$additional_libdir" != "X/usr/lib"; then
27001 haveit=
27002 if test "X$additional_libdir" = "X/usr/local/lib"; then
27003 if test -n "$GCC"; then
27004 case $host_os in
27005 linux*) haveit=yes;;
27006 esac
27009 if test -z "$haveit"; then
27010 haveit=
27011 for x in $LDFLAGS $LIBICONV; do
27013 acl_save_prefix="$prefix"
27014 prefix="$acl_final_prefix"
27015 acl_save_exec_prefix="$exec_prefix"
27016 exec_prefix="$acl_final_exec_prefix"
27017 eval x=\"$x\"
27018 exec_prefix="$acl_save_exec_prefix"
27019 prefix="$acl_save_prefix"
27021 if test "X$x" = "X-L$additional_libdir"; then
27022 haveit=yes
27023 break
27025 done
27026 if test -z "$haveit"; then
27027 if test -d "$additional_libdir"; then
27028 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27031 haveit=
27032 for x in $LDFLAGS $LTLIBICONV; do
27034 acl_save_prefix="$prefix"
27035 prefix="$acl_final_prefix"
27036 acl_save_exec_prefix="$exec_prefix"
27037 exec_prefix="$acl_final_exec_prefix"
27038 eval x=\"$x\"
27039 exec_prefix="$acl_save_exec_prefix"
27040 prefix="$acl_save_prefix"
27042 if test "X$x" = "X-L$additional_libdir"; then
27043 haveit=yes
27044 break
27046 done
27047 if test -z "$haveit"; then
27048 if test -d "$additional_libdir"; then
27049 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27055 -R*)
27056 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27057 if test "$enable_rpath" != no; then
27058 haveit=
27059 for x in $rpathdirs; do
27060 if test "X$x" = "X$dir"; then
27061 haveit=yes
27062 break
27064 done
27065 if test -z "$haveit"; then
27066 rpathdirs="$rpathdirs $dir"
27068 haveit=
27069 for x in $ltrpathdirs; do
27070 if test "X$x" = "X$dir"; then
27071 haveit=yes
27072 break
27074 done
27075 if test -z "$haveit"; then
27076 ltrpathdirs="$ltrpathdirs $dir"
27080 -l*)
27081 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27083 *.la)
27084 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27087 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27088 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27090 esac
27091 done
27093 else
27094 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27095 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27099 done
27100 done
27101 if test "X$rpathdirs" != "X"; then
27102 if test -n "$hardcode_libdir_separator"; then
27103 alldirs=
27104 for found_dir in $rpathdirs; do
27105 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27106 done
27107 acl_save_libdir="$libdir"
27108 libdir="$alldirs"
27109 eval flag=\"$hardcode_libdir_flag_spec\"
27110 libdir="$acl_save_libdir"
27111 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27112 else
27113 for found_dir in $rpathdirs; do
27114 acl_save_libdir="$libdir"
27115 libdir="$found_dir"
27116 eval flag=\"$hardcode_libdir_flag_spec\"
27117 libdir="$acl_save_libdir"
27118 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27119 done
27122 if test "X$ltrpathdirs" != "X"; then
27123 for found_dir in $ltrpathdirs; do
27124 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27125 done
27134 am_save_CPPFLAGS="$CPPFLAGS"
27136 for element in $INCICONV; do
27137 haveit=
27138 for x in $CPPFLAGS; do
27140 acl_save_prefix="$prefix"
27141 prefix="$acl_final_prefix"
27142 acl_save_exec_prefix="$exec_prefix"
27143 exec_prefix="$acl_final_exec_prefix"
27144 eval x=\"$x\"
27145 exec_prefix="$acl_save_exec_prefix"
27146 prefix="$acl_save_prefix"
27148 if test "X$x" = "X$element"; then
27149 haveit=yes
27150 break
27152 done
27153 if test -z "$haveit"; then
27154 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27156 done
27159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27160 $as_echo_n "checking for iconv... " >&6; }
27161 if test "${am_cv_func_iconv+set}" = set; then :
27162 $as_echo_n "(cached) " >&6
27163 else
27165 am_cv_func_iconv="no, consider installing GNU libiconv"
27166 am_cv_lib_iconv=no
27167 if test x$gcc_no_link = xyes; then
27168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27171 /* end confdefs.h. */
27172 #include <stdlib.h>
27173 #include <iconv.h>
27175 main ()
27177 iconv_t cd = iconv_open("","");
27178 iconv(cd,NULL,NULL,NULL,NULL);
27179 iconv_close(cd);
27181 return 0;
27183 _ACEOF
27184 if ac_fn_c_try_link "$LINENO"; then :
27185 am_cv_func_iconv=yes
27187 rm -f core conftest.err conftest.$ac_objext \
27188 conftest$ac_exeext conftest.$ac_ext
27189 if test "$am_cv_func_iconv" != yes; then
27190 am_save_LIBS="$LIBS"
27191 LIBS="$LIBS $LIBICONV"
27192 if test x$gcc_no_link = xyes; then
27193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27196 /* end confdefs.h. */
27197 #include <stdlib.h>
27198 #include <iconv.h>
27200 main ()
27202 iconv_t cd = iconv_open("","");
27203 iconv(cd,NULL,NULL,NULL,NULL);
27204 iconv_close(cd);
27206 return 0;
27208 _ACEOF
27209 if ac_fn_c_try_link "$LINENO"; then :
27210 am_cv_lib_iconv=yes
27211 am_cv_func_iconv=yes
27213 rm -f core conftest.err conftest.$ac_objext \
27214 conftest$ac_exeext conftest.$ac_ext
27215 LIBS="$am_save_LIBS"
27219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27220 $as_echo "$am_cv_func_iconv" >&6; }
27221 if test "$am_cv_func_iconv" = yes; then
27223 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27226 if test "$am_cv_lib_iconv" = yes; then
27227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27228 $as_echo_n "checking how to link with libiconv... " >&6; }
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27230 $as_echo "$LIBICONV" >&6; }
27231 else
27232 CPPFLAGS="$am_save_CPPFLAGS"
27233 LIBICONV=
27234 LTLIBICONV=
27239 if test "$am_cv_func_iconv" = yes; then
27240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27241 $as_echo_n "checking for iconv declaration... " >&6; }
27242 if test "${am_cv_proto_iconv+set}" = set; then :
27243 $as_echo_n "(cached) " >&6
27244 else
27246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27247 /* end confdefs.h. */
27249 #include <stdlib.h>
27250 #include <iconv.h>
27251 extern
27252 #ifdef __cplusplus
27254 #endif
27255 #if defined(__STDC__) || defined(__cplusplus)
27256 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27257 #else
27258 size_t iconv();
27259 #endif
27262 main ()
27266 return 0;
27268 _ACEOF
27269 if ac_fn_c_try_compile "$LINENO"; then :
27270 am_cv_proto_iconv_arg1=""
27271 else
27272 am_cv_proto_iconv_arg1="const"
27274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27275 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);"
27278 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27280 }$am_cv_proto_iconv" >&5
27281 $as_echo "${ac_t:-
27282 }$am_cv_proto_iconv" >&6; }
27284 cat >>confdefs.h <<_ACEOF
27285 #define ICONV_CONST $am_cv_proto_iconv_arg1
27286 _ACEOF
27291 else
27293 # This lets us hard-code the functionality we know we'll have in the cross
27294 # target environment. "Let" is a sugar-coated word placed on an especially
27295 # dull and tedious hack, actually.
27297 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27298 # that involve linking, can't be used:
27299 # "cannot open sim-crt0.o"
27300 # "cannot open crt0.o"
27301 # etc. All this is because there currently exists no unified, consistent
27302 # way for top level CC information to be passed down to target directories:
27303 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27304 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27305 # crosses can be removed.
27307 # If Canadian cross, then don't pick up tools from the build directory.
27308 # Used only in GLIBCXX_EXPORT_INCLUDES.
27309 if test -n "$with_cross_host" &&
27310 test x"$build_alias" != x"$with_cross_host" &&
27311 test x"$build" != x"$target";
27312 then
27313 CANADIAN=yes
27314 else
27315 CANADIAN=no
27318 # Construct crosses by hand, eliminating bits that need ld...
27319 # GLIBCXX_CHECK_MATH_SUPPORT
27321 # First, test for "known" system libraries. We may be using newlib even
27322 # on a hosted environment.
27323 if test "x${with_newlib}" = "xyes"; then
27324 os_include_dir="os/newlib"
27325 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27328 # GLIBCXX_CHECK_STDLIB_SUPPORT
27329 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27332 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27334 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27336 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27338 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27340 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27342 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27344 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27346 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27348 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27350 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27352 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27354 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27356 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27358 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27360 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27362 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27364 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27366 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27368 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27370 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27372 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27374 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27377 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27379 else
27381 # Base decisions on target environment.
27382 case "${host}" in
27383 arm*-*-symbianelf*)
27384 # This is a freestanding configuration; there is nothing to do here.
27387 mips*-sde-elf*)
27388 # These definitions are for the SDE C library rather than newlib.
27389 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27392 # All these tests are for C++; save the language and the compiler flags.
27393 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27394 # found in GLIBCXX_CONFIGURE.
27396 ac_ext=cpp
27397 ac_cpp='$CXXCPP $CPPFLAGS'
27398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27402 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27403 ac_save_CXXFLAGS="$CXXFLAGS"
27405 # Check for maintainer-mode bits.
27406 if test x"$USE_MAINTAINER_MODE" = xno; then
27407 WERROR=''
27408 else
27409 WERROR='-Werror'
27412 # Check for -ffunction-sections -fdata-sections
27413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27414 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27415 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27417 /* end confdefs.h. */
27418 int foo; void bar() { };
27420 main ()
27424 return 0;
27426 _ACEOF
27427 if ac_fn_cxx_try_compile "$LINENO"; then :
27428 ac_fdsections=yes
27429 else
27430 ac_fdsections=no
27432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27433 if test "$ac_test_CXXFLAGS" = set; then
27434 CXXFLAGS="$ac_save_CXXFLAGS"
27435 else
27436 # this is the suspicious part
27437 CXXFLAGS=''
27439 if test x"$ac_fdsections" = x"yes"; then
27440 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27443 $as_echo "$ac_fdsections" >&6; }
27445 ac_ext=c
27446 ac_cpp='$CPP $CPPFLAGS'
27447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27455 # If we're not using GNU ld, then there's no point in even trying these
27456 # tests. Check for that first. We should have already tested for gld
27457 # by now (in libtool), but require it now just to be safe...
27458 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27459 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27463 # The name set by libtool depends on the version of libtool. Shame on us
27464 # for depending on an impl detail, but c'est la vie. Older versions used
27465 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27466 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27467 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27468 # set (hence we're using an older libtool), then set it.
27469 if test x${with_gnu_ld+set} != xset; then
27470 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27471 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27472 with_gnu_ld=no
27473 else
27474 with_gnu_ld=$ac_cv_prog_gnu_ld
27478 # Start by getting the version number. I think the libtool test already
27479 # does some of this, but throws away the result.
27480 glibcxx_ld_is_gold=no
27481 if test x"$with_gnu_ld" = x"yes"; then
27482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27483 $as_echo_n "checking for ld version... " >&6; }
27485 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27486 glibcxx_ld_is_gold=yes
27488 ldver=`$LD --version 2>/dev/null |
27489 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'`
27491 glibcxx_gnu_ld_version=`echo $ldver | \
27492 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27494 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27497 # Set --gc-sections.
27498 glibcxx_have_gc_sections=no
27499 if test "$glibcxx_ld_is_gold" = "yes"; then
27500 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27501 glibcxx_have_gc_sections=yes
27503 else
27504 glibcxx_gcsections_min_ld=21602
27505 if test x"$with_gnu_ld" = x"yes" &&
27506 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27507 glibcxx_have_gc_sections=yes
27510 if test "$glibcxx_have_gc_sections" = "yes"; then
27511 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27512 # NB: This flag only works reliably after 2.16.1. Configure tests
27513 # for this are difficult, so hard wire a value that should work.
27515 ac_test_CFLAGS="${CFLAGS+set}"
27516 ac_save_CFLAGS="$CFLAGS"
27517 CFLAGS='-Wl,--gc-sections'
27519 # Check for -Wl,--gc-sections
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27521 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27522 if test x$gcc_no_link = xyes; then
27523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27526 /* end confdefs.h. */
27527 int one(void) { return 1; }
27528 int two(void) { return 2; }
27531 main ()
27533 two();
27535 return 0;
27537 _ACEOF
27538 if ac_fn_c_try_link "$LINENO"; then :
27539 ac_gcsections=yes
27540 else
27541 ac_gcsections=no
27543 rm -f core conftest.err conftest.$ac_objext \
27544 conftest$ac_exeext conftest.$ac_ext
27545 if test "$ac_gcsections" = "yes"; then
27546 rm -f conftest.c
27547 touch conftest.c
27548 if $CC -c conftest.c; then
27549 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27550 grep "Warning: gc-sections option ignored" > /dev/null; then
27551 ac_gcsections=no
27554 rm -f conftest.c conftest.o conftest
27556 if test "$ac_gcsections" = "yes"; then
27557 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27560 $as_echo "$ac_gcsections" >&6; }
27562 if test "$ac_test_CFLAGS" = set; then
27563 CFLAGS="$ac_save_CFLAGS"
27564 else
27565 # this is the suspicious part
27566 CFLAGS=''
27570 # Set -z,relro.
27571 # Note this is only for shared objects.
27572 ac_ld_relro=no
27573 if test x"$with_gnu_ld" = x"yes"; then
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27575 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27576 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27577 if test -n "$cxx_z_relo"; then
27578 OPT_LDFLAGS="-Wl,-z,relro"
27579 ac_ld_relro=yes
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27582 $as_echo "$ac_ld_relro" >&6; }
27585 # Set linker optimization flags.
27586 if test x"$with_gnu_ld" = x"yes"; then
27587 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27594 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27595 ac_save_CXXFLAGS="$CXXFLAGS"
27596 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27599 $as_echo_n "checking for sin in -lm... " >&6; }
27600 if test "${ac_cv_lib_m_sin+set}" = set; then :
27601 $as_echo_n "(cached) " >&6
27602 else
27603 ac_check_lib_save_LIBS=$LIBS
27604 LIBS="-lm $LIBS"
27605 if test x$gcc_no_link = xyes; then
27606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27609 /* end confdefs.h. */
27611 /* Override any GCC internal prototype to avoid an error.
27612 Use char because int might match the return type of a GCC
27613 builtin and then its argument prototype would still apply. */
27614 #ifdef __cplusplus
27615 extern "C"
27616 #endif
27617 char sin ();
27619 main ()
27621 return sin ();
27623 return 0;
27625 _ACEOF
27626 if ac_fn_c_try_link "$LINENO"; then :
27627 ac_cv_lib_m_sin=yes
27628 else
27629 ac_cv_lib_m_sin=no
27631 rm -f core conftest.err conftest.$ac_objext \
27632 conftest$ac_exeext conftest.$ac_ext
27633 LIBS=$ac_check_lib_save_LIBS
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27636 $as_echo "$ac_cv_lib_m_sin" >&6; }
27637 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27638 libm="-lm"
27641 ac_save_LIBS="$LIBS"
27642 LIBS="$LIBS $libm"
27646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27647 $as_echo_n "checking for isinf declaration... " >&6; }
27648 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27649 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27650 $as_echo_n "(cached) " >&6
27651 else
27654 ac_ext=cpp
27655 ac_cpp='$CXXCPP $CPPFLAGS'
27656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27661 /* end confdefs.h. */
27662 #include <math.h>
27663 #ifdef HAVE_IEEEFP_H
27664 #include <ieeefp.h>
27665 #endif
27668 main ()
27670 isinf(0);
27672 return 0;
27674 _ACEOF
27675 if ac_fn_cxx_try_compile "$LINENO"; then :
27676 glibcxx_cv_func_isinf_use=yes
27677 else
27678 glibcxx_cv_func_isinf_use=no
27680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27681 ac_ext=c
27682 ac_cpp='$CPP $CPPFLAGS'
27683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27692 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27694 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27695 for ac_func in isinf
27696 do :
27697 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27698 if test "x$ac_cv_func_isinf" = x""yes; then :
27699 cat >>confdefs.h <<_ACEOF
27700 #define HAVE_ISINF 1
27701 _ACEOF
27704 done
27706 else
27708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27709 $as_echo_n "checking for _isinf declaration... " >&6; }
27710 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27711 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27712 $as_echo_n "(cached) " >&6
27713 else
27716 ac_ext=cpp
27717 ac_cpp='$CXXCPP $CPPFLAGS'
27718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27723 /* end confdefs.h. */
27724 #include <math.h>
27725 #ifdef HAVE_IEEEFP_H
27726 #include <ieeefp.h>
27727 #endif
27730 main ()
27732 _isinf(0);
27734 return 0;
27736 _ACEOF
27737 if ac_fn_cxx_try_compile "$LINENO"; then :
27738 glibcxx_cv_func__isinf_use=yes
27739 else
27740 glibcxx_cv_func__isinf_use=no
27742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27743 ac_ext=c
27744 ac_cpp='$CPP $CPPFLAGS'
27745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27754 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27756 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27757 for ac_func in _isinf
27758 do :
27759 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27760 if test "x$ac_cv_func__isinf" = x""yes; then :
27761 cat >>confdefs.h <<_ACEOF
27762 #define HAVE__ISINF 1
27763 _ACEOF
27766 done
27775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27776 $as_echo_n "checking for isnan declaration... " >&6; }
27777 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27778 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27779 $as_echo_n "(cached) " >&6
27780 else
27783 ac_ext=cpp
27784 ac_cpp='$CXXCPP $CPPFLAGS'
27785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27790 /* end confdefs.h. */
27791 #include <math.h>
27792 #ifdef HAVE_IEEEFP_H
27793 #include <ieeefp.h>
27794 #endif
27797 main ()
27799 isnan(0);
27801 return 0;
27803 _ACEOF
27804 if ac_fn_cxx_try_compile "$LINENO"; then :
27805 glibcxx_cv_func_isnan_use=yes
27806 else
27807 glibcxx_cv_func_isnan_use=no
27809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27810 ac_ext=c
27811 ac_cpp='$CPP $CPPFLAGS'
27812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27821 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27823 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27824 for ac_func in isnan
27825 do :
27826 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27827 if test "x$ac_cv_func_isnan" = x""yes; then :
27828 cat >>confdefs.h <<_ACEOF
27829 #define HAVE_ISNAN 1
27830 _ACEOF
27833 done
27835 else
27837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27838 $as_echo_n "checking for _isnan declaration... " >&6; }
27839 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27840 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27841 $as_echo_n "(cached) " >&6
27842 else
27845 ac_ext=cpp
27846 ac_cpp='$CXXCPP $CPPFLAGS'
27847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27852 /* end confdefs.h. */
27853 #include <math.h>
27854 #ifdef HAVE_IEEEFP_H
27855 #include <ieeefp.h>
27856 #endif
27859 main ()
27861 _isnan(0);
27863 return 0;
27865 _ACEOF
27866 if ac_fn_cxx_try_compile "$LINENO"; then :
27867 glibcxx_cv_func__isnan_use=yes
27868 else
27869 glibcxx_cv_func__isnan_use=no
27871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27872 ac_ext=c
27873 ac_cpp='$CPP $CPPFLAGS'
27874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27883 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27885 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27886 for ac_func in _isnan
27887 do :
27888 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27889 if test "x$ac_cv_func__isnan" = x""yes; then :
27890 cat >>confdefs.h <<_ACEOF
27891 #define HAVE__ISNAN 1
27892 _ACEOF
27895 done
27904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27905 $as_echo_n "checking for finite declaration... " >&6; }
27906 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27907 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27908 $as_echo_n "(cached) " >&6
27909 else
27912 ac_ext=cpp
27913 ac_cpp='$CXXCPP $CPPFLAGS'
27914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27919 /* end confdefs.h. */
27920 #include <math.h>
27921 #ifdef HAVE_IEEEFP_H
27922 #include <ieeefp.h>
27923 #endif
27926 main ()
27928 finite(0);
27930 return 0;
27932 _ACEOF
27933 if ac_fn_cxx_try_compile "$LINENO"; then :
27934 glibcxx_cv_func_finite_use=yes
27935 else
27936 glibcxx_cv_func_finite_use=no
27938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27939 ac_ext=c
27940 ac_cpp='$CPP $CPPFLAGS'
27941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27950 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27952 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27953 for ac_func in finite
27954 do :
27955 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27956 if test "x$ac_cv_func_finite" = x""yes; then :
27957 cat >>confdefs.h <<_ACEOF
27958 #define HAVE_FINITE 1
27959 _ACEOF
27962 done
27964 else
27966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27967 $as_echo_n "checking for _finite declaration... " >&6; }
27968 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27969 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27970 $as_echo_n "(cached) " >&6
27971 else
27974 ac_ext=cpp
27975 ac_cpp='$CXXCPP $CPPFLAGS'
27976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27981 /* end confdefs.h. */
27982 #include <math.h>
27983 #ifdef HAVE_IEEEFP_H
27984 #include <ieeefp.h>
27985 #endif
27988 main ()
27990 _finite(0);
27992 return 0;
27994 _ACEOF
27995 if ac_fn_cxx_try_compile "$LINENO"; then :
27996 glibcxx_cv_func__finite_use=yes
27997 else
27998 glibcxx_cv_func__finite_use=no
28000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28001 ac_ext=c
28002 ac_cpp='$CPP $CPPFLAGS'
28003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28012 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28014 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28015 for ac_func in _finite
28016 do :
28017 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28018 if test "x$ac_cv_func__finite" = x""yes; then :
28019 cat >>confdefs.h <<_ACEOF
28020 #define HAVE__FINITE 1
28021 _ACEOF
28024 done
28033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28034 $as_echo_n "checking for sincos declaration... " >&6; }
28035 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28036 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28037 $as_echo_n "(cached) " >&6
28038 else
28041 ac_ext=cpp
28042 ac_cpp='$CXXCPP $CPPFLAGS'
28043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28048 /* end confdefs.h. */
28049 #include <math.h>
28051 main ()
28053 sincos(0, 0, 0);
28055 return 0;
28057 _ACEOF
28058 if ac_fn_cxx_try_compile "$LINENO"; then :
28059 glibcxx_cv_func_sincos_use=yes
28060 else
28061 glibcxx_cv_func_sincos_use=no
28063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28064 ac_ext=c
28065 ac_cpp='$CPP $CPPFLAGS'
28066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28075 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28077 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28078 for ac_func in sincos
28079 do :
28080 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28081 if test "x$ac_cv_func_sincos" = x""yes; then :
28082 cat >>confdefs.h <<_ACEOF
28083 #define HAVE_SINCOS 1
28084 _ACEOF
28087 done
28089 else
28091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28092 $as_echo_n "checking for _sincos declaration... " >&6; }
28093 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28094 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28095 $as_echo_n "(cached) " >&6
28096 else
28099 ac_ext=cpp
28100 ac_cpp='$CXXCPP $CPPFLAGS'
28101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28106 /* end confdefs.h. */
28107 #include <math.h>
28109 main ()
28111 _sincos(0, 0, 0);
28113 return 0;
28115 _ACEOF
28116 if ac_fn_cxx_try_compile "$LINENO"; then :
28117 glibcxx_cv_func__sincos_use=yes
28118 else
28119 glibcxx_cv_func__sincos_use=no
28121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28122 ac_ext=c
28123 ac_cpp='$CPP $CPPFLAGS'
28124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28133 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28135 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28136 for ac_func in _sincos
28137 do :
28138 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28139 if test "x$ac_cv_func__sincos" = x""yes; then :
28140 cat >>confdefs.h <<_ACEOF
28141 #define HAVE__SINCOS 1
28142 _ACEOF
28145 done
28154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28155 $as_echo_n "checking for fpclass declaration... " >&6; }
28156 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28157 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28158 $as_echo_n "(cached) " >&6
28159 else
28162 ac_ext=cpp
28163 ac_cpp='$CXXCPP $CPPFLAGS'
28164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28169 /* end confdefs.h. */
28170 #include <math.h>
28171 #ifdef HAVE_IEEEFP_H
28172 #include <ieeefp.h>
28173 #endif
28176 main ()
28178 fpclass(0);
28180 return 0;
28182 _ACEOF
28183 if ac_fn_cxx_try_compile "$LINENO"; then :
28184 glibcxx_cv_func_fpclass_use=yes
28185 else
28186 glibcxx_cv_func_fpclass_use=no
28188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28189 ac_ext=c
28190 ac_cpp='$CPP $CPPFLAGS'
28191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28200 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28202 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28203 for ac_func in fpclass
28204 do :
28205 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28206 if test "x$ac_cv_func_fpclass" = x""yes; then :
28207 cat >>confdefs.h <<_ACEOF
28208 #define HAVE_FPCLASS 1
28209 _ACEOF
28212 done
28214 else
28216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28217 $as_echo_n "checking for _fpclass declaration... " >&6; }
28218 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28219 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28220 $as_echo_n "(cached) " >&6
28221 else
28224 ac_ext=cpp
28225 ac_cpp='$CXXCPP $CPPFLAGS'
28226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28231 /* end confdefs.h. */
28232 #include <math.h>
28233 #ifdef HAVE_IEEEFP_H
28234 #include <ieeefp.h>
28235 #endif
28238 main ()
28240 _fpclass(0);
28242 return 0;
28244 _ACEOF
28245 if ac_fn_cxx_try_compile "$LINENO"; then :
28246 glibcxx_cv_func__fpclass_use=yes
28247 else
28248 glibcxx_cv_func__fpclass_use=no
28250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28251 ac_ext=c
28252 ac_cpp='$CPP $CPPFLAGS'
28253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28262 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28264 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28265 for ac_func in _fpclass
28266 do :
28267 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28268 if test "x$ac_cv_func__fpclass" = x""yes; then :
28269 cat >>confdefs.h <<_ACEOF
28270 #define HAVE__FPCLASS 1
28271 _ACEOF
28274 done
28283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28284 $as_echo_n "checking for qfpclass declaration... " >&6; }
28285 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28286 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28287 $as_echo_n "(cached) " >&6
28288 else
28291 ac_ext=cpp
28292 ac_cpp='$CXXCPP $CPPFLAGS'
28293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28298 /* end confdefs.h. */
28299 #include <math.h>
28300 #ifdef HAVE_IEEEFP_H
28301 #include <ieeefp.h>
28302 #endif
28305 main ()
28307 qfpclass(0);
28309 return 0;
28311 _ACEOF
28312 if ac_fn_cxx_try_compile "$LINENO"; then :
28313 glibcxx_cv_func_qfpclass_use=yes
28314 else
28315 glibcxx_cv_func_qfpclass_use=no
28317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28318 ac_ext=c
28319 ac_cpp='$CPP $CPPFLAGS'
28320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28329 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28331 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28332 for ac_func in qfpclass
28333 do :
28334 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28335 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28336 cat >>confdefs.h <<_ACEOF
28337 #define HAVE_QFPCLASS 1
28338 _ACEOF
28341 done
28343 else
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28346 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28347 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28348 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28349 $as_echo_n "(cached) " >&6
28350 else
28353 ac_ext=cpp
28354 ac_cpp='$CXXCPP $CPPFLAGS'
28355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28360 /* end confdefs.h. */
28361 #include <math.h>
28362 #ifdef HAVE_IEEEFP_H
28363 #include <ieeefp.h>
28364 #endif
28367 main ()
28369 _qfpclass(0);
28371 return 0;
28373 _ACEOF
28374 if ac_fn_cxx_try_compile "$LINENO"; then :
28375 glibcxx_cv_func__qfpclass_use=yes
28376 else
28377 glibcxx_cv_func__qfpclass_use=no
28379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28380 ac_ext=c
28381 ac_cpp='$CPP $CPPFLAGS'
28382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28391 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28393 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28394 for ac_func in _qfpclass
28395 do :
28396 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28397 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28398 cat >>confdefs.h <<_ACEOF
28399 #define HAVE__QFPCLASS 1
28400 _ACEOF
28403 done
28412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28413 $as_echo_n "checking for hypot declaration... " >&6; }
28414 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28415 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28416 $as_echo_n "(cached) " >&6
28417 else
28420 ac_ext=cpp
28421 ac_cpp='$CXXCPP $CPPFLAGS'
28422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28427 /* end confdefs.h. */
28428 #include <math.h>
28430 main ()
28432 hypot(0, 0);
28434 return 0;
28436 _ACEOF
28437 if ac_fn_cxx_try_compile "$LINENO"; then :
28438 glibcxx_cv_func_hypot_use=yes
28439 else
28440 glibcxx_cv_func_hypot_use=no
28442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28443 ac_ext=c
28444 ac_cpp='$CPP $CPPFLAGS'
28445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28454 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28456 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28457 for ac_func in hypot
28458 do :
28459 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28460 if test "x$ac_cv_func_hypot" = x""yes; then :
28461 cat >>confdefs.h <<_ACEOF
28462 #define HAVE_HYPOT 1
28463 _ACEOF
28466 done
28468 else
28470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28471 $as_echo_n "checking for _hypot declaration... " >&6; }
28472 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28473 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28474 $as_echo_n "(cached) " >&6
28475 else
28478 ac_ext=cpp
28479 ac_cpp='$CXXCPP $CPPFLAGS'
28480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28485 /* end confdefs.h. */
28486 #include <math.h>
28488 main ()
28490 _hypot(0, 0);
28492 return 0;
28494 _ACEOF
28495 if ac_fn_cxx_try_compile "$LINENO"; then :
28496 glibcxx_cv_func__hypot_use=yes
28497 else
28498 glibcxx_cv_func__hypot_use=no
28500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28501 ac_ext=c
28502 ac_cpp='$CPP $CPPFLAGS'
28503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28512 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28514 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28515 for ac_func in _hypot
28516 do :
28517 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28518 if test "x$ac_cv_func__hypot" = x""yes; then :
28519 cat >>confdefs.h <<_ACEOF
28520 #define HAVE__HYPOT 1
28521 _ACEOF
28524 done
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28534 $as_echo_n "checking for float trig functions... " >&6; }
28535 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28536 $as_echo_n "(cached) " >&6
28537 else
28540 ac_ext=cpp
28541 ac_cpp='$CXXCPP $CPPFLAGS'
28542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28547 /* end confdefs.h. */
28548 #include <math.h>
28550 main ()
28552 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28554 return 0;
28556 _ACEOF
28557 if ac_fn_cxx_try_compile "$LINENO"; then :
28558 glibcxx_cv_func_float_trig_use=yes
28559 else
28560 glibcxx_cv_func_float_trig_use=no
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28563 ac_ext=c
28564 ac_cpp='$CPP $CPPFLAGS'
28565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28572 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28573 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28574 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28575 do :
28576 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28578 eval as_val=\$$as_ac_var
28579 if test "x$as_val" = x""yes; then :
28580 cat >>confdefs.h <<_ACEOF
28581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28582 _ACEOF
28585 done
28587 else
28588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28589 $as_echo_n "checking for _float trig functions... " >&6; }
28590 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28591 $as_echo_n "(cached) " >&6
28592 else
28595 ac_ext=cpp
28596 ac_cpp='$CXXCPP $CPPFLAGS'
28597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28602 /* end confdefs.h. */
28603 #include <math.h>
28605 main ()
28607 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28609 return 0;
28611 _ACEOF
28612 if ac_fn_cxx_try_compile "$LINENO"; then :
28613 glibcxx_cv_func__float_trig_use=yes
28614 else
28615 glibcxx_cv_func__float_trig_use=no
28617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28618 ac_ext=c
28619 ac_cpp='$CPP $CPPFLAGS'
28620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28627 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28628 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28629 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28630 do :
28631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28633 eval as_val=\$$as_ac_var
28634 if test "x$as_val" = x""yes; then :
28635 cat >>confdefs.h <<_ACEOF
28636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28637 _ACEOF
28640 done
28649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28650 $as_echo_n "checking for float round functions... " >&6; }
28651 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28652 $as_echo_n "(cached) " >&6
28653 else
28656 ac_ext=cpp
28657 ac_cpp='$CXXCPP $CPPFLAGS'
28658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28663 /* end confdefs.h. */
28664 #include <math.h>
28666 main ()
28668 ceilf (0); floorf (0);
28670 return 0;
28672 _ACEOF
28673 if ac_fn_cxx_try_compile "$LINENO"; then :
28674 glibcxx_cv_func_float_round_use=yes
28675 else
28676 glibcxx_cv_func_float_round_use=no
28678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28679 ac_ext=c
28680 ac_cpp='$CPP $CPPFLAGS'
28681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28688 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28689 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28690 for ac_func in ceilf floorf
28691 do :
28692 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28693 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28694 eval as_val=\$$as_ac_var
28695 if test "x$as_val" = x""yes; then :
28696 cat >>confdefs.h <<_ACEOF
28697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28698 _ACEOF
28701 done
28703 else
28704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28705 $as_echo_n "checking for _float round functions... " >&6; }
28706 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28707 $as_echo_n "(cached) " >&6
28708 else
28711 ac_ext=cpp
28712 ac_cpp='$CXXCPP $CPPFLAGS'
28713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28718 /* end confdefs.h. */
28719 #include <math.h>
28721 main ()
28723 _ceilf (0); _floorf (0);
28725 return 0;
28727 _ACEOF
28728 if ac_fn_cxx_try_compile "$LINENO"; then :
28729 glibcxx_cv_func__float_round_use=yes
28730 else
28731 glibcxx_cv_func__float_round_use=no
28733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28734 ac_ext=c
28735 ac_cpp='$CPP $CPPFLAGS'
28736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28743 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28744 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28745 for ac_func in _ceilf _floorf
28746 do :
28747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28749 eval as_val=\$$as_ac_var
28750 if test "x$as_val" = x""yes; then :
28751 cat >>confdefs.h <<_ACEOF
28752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28753 _ACEOF
28756 done
28766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28767 $as_echo_n "checking for expf declaration... " >&6; }
28768 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28769 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28770 $as_echo_n "(cached) " >&6
28771 else
28774 ac_ext=cpp
28775 ac_cpp='$CXXCPP $CPPFLAGS'
28776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28781 /* end confdefs.h. */
28782 #include <math.h>
28783 #ifdef HAVE_IEEEFP_H
28784 #include <ieeefp.h>
28785 #endif
28788 main ()
28790 expf(0);
28792 return 0;
28794 _ACEOF
28795 if ac_fn_cxx_try_compile "$LINENO"; then :
28796 glibcxx_cv_func_expf_use=yes
28797 else
28798 glibcxx_cv_func_expf_use=no
28800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28801 ac_ext=c
28802 ac_cpp='$CPP $CPPFLAGS'
28803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28812 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28814 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28815 for ac_func in expf
28816 do :
28817 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28818 if test "x$ac_cv_func_expf" = x""yes; then :
28819 cat >>confdefs.h <<_ACEOF
28820 #define HAVE_EXPF 1
28821 _ACEOF
28824 done
28826 else
28828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28829 $as_echo_n "checking for _expf declaration... " >&6; }
28830 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28831 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28832 $as_echo_n "(cached) " >&6
28833 else
28836 ac_ext=cpp
28837 ac_cpp='$CXXCPP $CPPFLAGS'
28838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28843 /* end confdefs.h. */
28844 #include <math.h>
28845 #ifdef HAVE_IEEEFP_H
28846 #include <ieeefp.h>
28847 #endif
28850 main ()
28852 _expf(0);
28854 return 0;
28856 _ACEOF
28857 if ac_fn_cxx_try_compile "$LINENO"; then :
28858 glibcxx_cv_func__expf_use=yes
28859 else
28860 glibcxx_cv_func__expf_use=no
28862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28863 ac_ext=c
28864 ac_cpp='$CPP $CPPFLAGS'
28865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28874 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28876 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28877 for ac_func in _expf
28878 do :
28879 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28880 if test "x$ac_cv_func__expf" = x""yes; then :
28881 cat >>confdefs.h <<_ACEOF
28882 #define HAVE__EXPF 1
28883 _ACEOF
28886 done
28895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28896 $as_echo_n "checking for isnanf declaration... " >&6; }
28897 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28898 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28899 $as_echo_n "(cached) " >&6
28900 else
28903 ac_ext=cpp
28904 ac_cpp='$CXXCPP $CPPFLAGS'
28905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28910 /* end confdefs.h. */
28911 #include <math.h>
28912 #ifdef HAVE_IEEEFP_H
28913 #include <ieeefp.h>
28914 #endif
28917 main ()
28919 isnanf(0);
28921 return 0;
28923 _ACEOF
28924 if ac_fn_cxx_try_compile "$LINENO"; then :
28925 glibcxx_cv_func_isnanf_use=yes
28926 else
28927 glibcxx_cv_func_isnanf_use=no
28929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28930 ac_ext=c
28931 ac_cpp='$CPP $CPPFLAGS'
28932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28941 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28943 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28944 for ac_func in isnanf
28945 do :
28946 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28947 if test "x$ac_cv_func_isnanf" = x""yes; then :
28948 cat >>confdefs.h <<_ACEOF
28949 #define HAVE_ISNANF 1
28950 _ACEOF
28953 done
28955 else
28957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28958 $as_echo_n "checking for _isnanf declaration... " >&6; }
28959 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28960 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28961 $as_echo_n "(cached) " >&6
28962 else
28965 ac_ext=cpp
28966 ac_cpp='$CXXCPP $CPPFLAGS'
28967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28972 /* end confdefs.h. */
28973 #include <math.h>
28974 #ifdef HAVE_IEEEFP_H
28975 #include <ieeefp.h>
28976 #endif
28979 main ()
28981 _isnanf(0);
28983 return 0;
28985 _ACEOF
28986 if ac_fn_cxx_try_compile "$LINENO"; then :
28987 glibcxx_cv_func__isnanf_use=yes
28988 else
28989 glibcxx_cv_func__isnanf_use=no
28991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28992 ac_ext=c
28993 ac_cpp='$CPP $CPPFLAGS'
28994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29003 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29005 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29006 for ac_func in _isnanf
29007 do :
29008 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29009 if test "x$ac_cv_func__isnanf" = x""yes; then :
29010 cat >>confdefs.h <<_ACEOF
29011 #define HAVE__ISNANF 1
29012 _ACEOF
29015 done
29024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29025 $as_echo_n "checking for isinff declaration... " >&6; }
29026 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29027 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29028 $as_echo_n "(cached) " >&6
29029 else
29032 ac_ext=cpp
29033 ac_cpp='$CXXCPP $CPPFLAGS'
29034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29039 /* end confdefs.h. */
29040 #include <math.h>
29041 #ifdef HAVE_IEEEFP_H
29042 #include <ieeefp.h>
29043 #endif
29046 main ()
29048 isinff(0);
29050 return 0;
29052 _ACEOF
29053 if ac_fn_cxx_try_compile "$LINENO"; then :
29054 glibcxx_cv_func_isinff_use=yes
29055 else
29056 glibcxx_cv_func_isinff_use=no
29058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29059 ac_ext=c
29060 ac_cpp='$CPP $CPPFLAGS'
29061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29070 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29072 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29073 for ac_func in isinff
29074 do :
29075 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29076 if test "x$ac_cv_func_isinff" = x""yes; then :
29077 cat >>confdefs.h <<_ACEOF
29078 #define HAVE_ISINFF 1
29079 _ACEOF
29082 done
29084 else
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29087 $as_echo_n "checking for _isinff declaration... " >&6; }
29088 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29089 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29090 $as_echo_n "(cached) " >&6
29091 else
29094 ac_ext=cpp
29095 ac_cpp='$CXXCPP $CPPFLAGS'
29096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29101 /* end confdefs.h. */
29102 #include <math.h>
29103 #ifdef HAVE_IEEEFP_H
29104 #include <ieeefp.h>
29105 #endif
29108 main ()
29110 _isinff(0);
29112 return 0;
29114 _ACEOF
29115 if ac_fn_cxx_try_compile "$LINENO"; then :
29116 glibcxx_cv_func__isinff_use=yes
29117 else
29118 glibcxx_cv_func__isinff_use=no
29120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29121 ac_ext=c
29122 ac_cpp='$CPP $CPPFLAGS'
29123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29132 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29134 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29135 for ac_func in _isinff
29136 do :
29137 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29138 if test "x$ac_cv_func__isinff" = x""yes; then :
29139 cat >>confdefs.h <<_ACEOF
29140 #define HAVE__ISINFF 1
29141 _ACEOF
29144 done
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29154 $as_echo_n "checking for atan2f declaration... " >&6; }
29155 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29156 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29157 $as_echo_n "(cached) " >&6
29158 else
29161 ac_ext=cpp
29162 ac_cpp='$CXXCPP $CPPFLAGS'
29163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29168 /* end confdefs.h. */
29169 #include <math.h>
29171 main ()
29173 atan2f(0, 0);
29175 return 0;
29177 _ACEOF
29178 if ac_fn_cxx_try_compile "$LINENO"; then :
29179 glibcxx_cv_func_atan2f_use=yes
29180 else
29181 glibcxx_cv_func_atan2f_use=no
29183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29184 ac_ext=c
29185 ac_cpp='$CPP $CPPFLAGS'
29186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29195 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29197 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29198 for ac_func in atan2f
29199 do :
29200 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29201 if test "x$ac_cv_func_atan2f" = x""yes; then :
29202 cat >>confdefs.h <<_ACEOF
29203 #define HAVE_ATAN2F 1
29204 _ACEOF
29207 done
29209 else
29211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29212 $as_echo_n "checking for _atan2f declaration... " >&6; }
29213 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29214 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29215 $as_echo_n "(cached) " >&6
29216 else
29219 ac_ext=cpp
29220 ac_cpp='$CXXCPP $CPPFLAGS'
29221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29226 /* end confdefs.h. */
29227 #include <math.h>
29229 main ()
29231 _atan2f(0, 0);
29233 return 0;
29235 _ACEOF
29236 if ac_fn_cxx_try_compile "$LINENO"; then :
29237 glibcxx_cv_func__atan2f_use=yes
29238 else
29239 glibcxx_cv_func__atan2f_use=no
29241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29242 ac_ext=c
29243 ac_cpp='$CPP $CPPFLAGS'
29244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29253 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29255 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29256 for ac_func in _atan2f
29257 do :
29258 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29259 if test "x$ac_cv_func__atan2f" = x""yes; then :
29260 cat >>confdefs.h <<_ACEOF
29261 #define HAVE__ATAN2F 1
29262 _ACEOF
29265 done
29274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29275 $as_echo_n "checking for fabsf declaration... " >&6; }
29276 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29277 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29278 $as_echo_n "(cached) " >&6
29279 else
29282 ac_ext=cpp
29283 ac_cpp='$CXXCPP $CPPFLAGS'
29284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29289 /* end confdefs.h. */
29290 #include <math.h>
29291 #ifdef HAVE_IEEEFP_H
29292 #include <ieeefp.h>
29293 #endif
29296 main ()
29298 fabsf(0);
29300 return 0;
29302 _ACEOF
29303 if ac_fn_cxx_try_compile "$LINENO"; then :
29304 glibcxx_cv_func_fabsf_use=yes
29305 else
29306 glibcxx_cv_func_fabsf_use=no
29308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29309 ac_ext=c
29310 ac_cpp='$CPP $CPPFLAGS'
29311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29320 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29322 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29323 for ac_func in fabsf
29324 do :
29325 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29326 if test "x$ac_cv_func_fabsf" = x""yes; then :
29327 cat >>confdefs.h <<_ACEOF
29328 #define HAVE_FABSF 1
29329 _ACEOF
29332 done
29334 else
29336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29337 $as_echo_n "checking for _fabsf declaration... " >&6; }
29338 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29339 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29340 $as_echo_n "(cached) " >&6
29341 else
29344 ac_ext=cpp
29345 ac_cpp='$CXXCPP $CPPFLAGS'
29346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29351 /* end confdefs.h. */
29352 #include <math.h>
29353 #ifdef HAVE_IEEEFP_H
29354 #include <ieeefp.h>
29355 #endif
29358 main ()
29360 _fabsf(0);
29362 return 0;
29364 _ACEOF
29365 if ac_fn_cxx_try_compile "$LINENO"; then :
29366 glibcxx_cv_func__fabsf_use=yes
29367 else
29368 glibcxx_cv_func__fabsf_use=no
29370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29371 ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29382 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29384 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29385 for ac_func in _fabsf
29386 do :
29387 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29388 if test "x$ac_cv_func__fabsf" = x""yes; then :
29389 cat >>confdefs.h <<_ACEOF
29390 #define HAVE__FABSF 1
29391 _ACEOF
29394 done
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29404 $as_echo_n "checking for fmodf declaration... " >&6; }
29405 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29406 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29407 $as_echo_n "(cached) " >&6
29408 else
29411 ac_ext=cpp
29412 ac_cpp='$CXXCPP $CPPFLAGS'
29413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29418 /* end confdefs.h. */
29419 #include <math.h>
29421 main ()
29423 fmodf(0, 0);
29425 return 0;
29427 _ACEOF
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429 glibcxx_cv_func_fmodf_use=yes
29430 else
29431 glibcxx_cv_func_fmodf_use=no
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434 ac_ext=c
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29445 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29447 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29448 for ac_func in fmodf
29449 do :
29450 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29451 if test "x$ac_cv_func_fmodf" = x""yes; then :
29452 cat >>confdefs.h <<_ACEOF
29453 #define HAVE_FMODF 1
29454 _ACEOF
29457 done
29459 else
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29462 $as_echo_n "checking for _fmodf declaration... " >&6; }
29463 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29464 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29465 $as_echo_n "(cached) " >&6
29466 else
29469 ac_ext=cpp
29470 ac_cpp='$CXXCPP $CPPFLAGS'
29471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29476 /* end confdefs.h. */
29477 #include <math.h>
29479 main ()
29481 _fmodf(0, 0);
29483 return 0;
29485 _ACEOF
29486 if ac_fn_cxx_try_compile "$LINENO"; then :
29487 glibcxx_cv_func__fmodf_use=yes
29488 else
29489 glibcxx_cv_func__fmodf_use=no
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492 ac_ext=c
29493 ac_cpp='$CPP $CPPFLAGS'
29494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29503 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29505 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29506 for ac_func in _fmodf
29507 do :
29508 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29509 if test "x$ac_cv_func__fmodf" = x""yes; then :
29510 cat >>confdefs.h <<_ACEOF
29511 #define HAVE__FMODF 1
29512 _ACEOF
29515 done
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29525 $as_echo_n "checking for frexpf declaration... " >&6; }
29526 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29527 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29528 $as_echo_n "(cached) " >&6
29529 else
29532 ac_ext=cpp
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29539 /* end confdefs.h. */
29540 #include <math.h>
29542 main ()
29544 frexpf(0, 0);
29546 return 0;
29548 _ACEOF
29549 if ac_fn_cxx_try_compile "$LINENO"; then :
29550 glibcxx_cv_func_frexpf_use=yes
29551 else
29552 glibcxx_cv_func_frexpf_use=no
29554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29555 ac_ext=c
29556 ac_cpp='$CPP $CPPFLAGS'
29557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29566 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29568 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29569 for ac_func in frexpf
29570 do :
29571 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29572 if test "x$ac_cv_func_frexpf" = x""yes; then :
29573 cat >>confdefs.h <<_ACEOF
29574 #define HAVE_FREXPF 1
29575 _ACEOF
29578 done
29580 else
29582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29583 $as_echo_n "checking for _frexpf declaration... " >&6; }
29584 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29585 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29586 $as_echo_n "(cached) " >&6
29587 else
29590 ac_ext=cpp
29591 ac_cpp='$CXXCPP $CPPFLAGS'
29592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29597 /* end confdefs.h. */
29598 #include <math.h>
29600 main ()
29602 _frexpf(0, 0);
29604 return 0;
29606 _ACEOF
29607 if ac_fn_cxx_try_compile "$LINENO"; then :
29608 glibcxx_cv_func__frexpf_use=yes
29609 else
29610 glibcxx_cv_func__frexpf_use=no
29612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29613 ac_ext=c
29614 ac_cpp='$CPP $CPPFLAGS'
29615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29624 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29626 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29627 for ac_func in _frexpf
29628 do :
29629 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29630 if test "x$ac_cv_func__frexpf" = x""yes; then :
29631 cat >>confdefs.h <<_ACEOF
29632 #define HAVE__FREXPF 1
29633 _ACEOF
29636 done
29645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29646 $as_echo_n "checking for hypotf declaration... " >&6; }
29647 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29648 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29649 $as_echo_n "(cached) " >&6
29650 else
29653 ac_ext=cpp
29654 ac_cpp='$CXXCPP $CPPFLAGS'
29655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29660 /* end confdefs.h. */
29661 #include <math.h>
29663 main ()
29665 hypotf(0, 0);
29667 return 0;
29669 _ACEOF
29670 if ac_fn_cxx_try_compile "$LINENO"; then :
29671 glibcxx_cv_func_hypotf_use=yes
29672 else
29673 glibcxx_cv_func_hypotf_use=no
29675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29676 ac_ext=c
29677 ac_cpp='$CPP $CPPFLAGS'
29678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29687 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29689 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29690 for ac_func in hypotf
29691 do :
29692 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29693 if test "x$ac_cv_func_hypotf" = x""yes; then :
29694 cat >>confdefs.h <<_ACEOF
29695 #define HAVE_HYPOTF 1
29696 _ACEOF
29699 done
29701 else
29703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29704 $as_echo_n "checking for _hypotf declaration... " >&6; }
29705 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29706 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29707 $as_echo_n "(cached) " >&6
29708 else
29711 ac_ext=cpp
29712 ac_cpp='$CXXCPP $CPPFLAGS'
29713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29718 /* end confdefs.h. */
29719 #include <math.h>
29721 main ()
29723 _hypotf(0, 0);
29725 return 0;
29727 _ACEOF
29728 if ac_fn_cxx_try_compile "$LINENO"; then :
29729 glibcxx_cv_func__hypotf_use=yes
29730 else
29731 glibcxx_cv_func__hypotf_use=no
29733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29734 ac_ext=c
29735 ac_cpp='$CPP $CPPFLAGS'
29736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29745 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29747 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29748 for ac_func in _hypotf
29749 do :
29750 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29751 if test "x$ac_cv_func__hypotf" = x""yes; then :
29752 cat >>confdefs.h <<_ACEOF
29753 #define HAVE__HYPOTF 1
29754 _ACEOF
29757 done
29766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29767 $as_echo_n "checking for ldexpf declaration... " >&6; }
29768 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29769 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29770 $as_echo_n "(cached) " >&6
29771 else
29774 ac_ext=cpp
29775 ac_cpp='$CXXCPP $CPPFLAGS'
29776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29781 /* end confdefs.h. */
29782 #include <math.h>
29784 main ()
29786 ldexpf(0, 0);
29788 return 0;
29790 _ACEOF
29791 if ac_fn_cxx_try_compile "$LINENO"; then :
29792 glibcxx_cv_func_ldexpf_use=yes
29793 else
29794 glibcxx_cv_func_ldexpf_use=no
29796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29797 ac_ext=c
29798 ac_cpp='$CPP $CPPFLAGS'
29799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29808 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29810 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29811 for ac_func in ldexpf
29812 do :
29813 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29814 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29815 cat >>confdefs.h <<_ACEOF
29816 #define HAVE_LDEXPF 1
29817 _ACEOF
29820 done
29822 else
29824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29825 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29826 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29827 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29828 $as_echo_n "(cached) " >&6
29829 else
29832 ac_ext=cpp
29833 ac_cpp='$CXXCPP $CPPFLAGS'
29834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29839 /* end confdefs.h. */
29840 #include <math.h>
29842 main ()
29844 _ldexpf(0, 0);
29846 return 0;
29848 _ACEOF
29849 if ac_fn_cxx_try_compile "$LINENO"; then :
29850 glibcxx_cv_func__ldexpf_use=yes
29851 else
29852 glibcxx_cv_func__ldexpf_use=no
29854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29855 ac_ext=c
29856 ac_cpp='$CPP $CPPFLAGS'
29857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29866 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29868 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29869 for ac_func in _ldexpf
29870 do :
29871 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29872 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29873 cat >>confdefs.h <<_ACEOF
29874 #define HAVE__LDEXPF 1
29875 _ACEOF
29878 done
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29888 $as_echo_n "checking for logf declaration... " >&6; }
29889 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29890 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29891 $as_echo_n "(cached) " >&6
29892 else
29895 ac_ext=cpp
29896 ac_cpp='$CXXCPP $CPPFLAGS'
29897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29902 /* end confdefs.h. */
29903 #include <math.h>
29904 #ifdef HAVE_IEEEFP_H
29905 #include <ieeefp.h>
29906 #endif
29909 main ()
29911 logf(0);
29913 return 0;
29915 _ACEOF
29916 if ac_fn_cxx_try_compile "$LINENO"; then :
29917 glibcxx_cv_func_logf_use=yes
29918 else
29919 glibcxx_cv_func_logf_use=no
29921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29922 ac_ext=c
29923 ac_cpp='$CPP $CPPFLAGS'
29924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29933 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29935 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29936 for ac_func in logf
29937 do :
29938 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29939 if test "x$ac_cv_func_logf" = x""yes; then :
29940 cat >>confdefs.h <<_ACEOF
29941 #define HAVE_LOGF 1
29942 _ACEOF
29945 done
29947 else
29949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29950 $as_echo_n "checking for _logf declaration... " >&6; }
29951 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29952 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29953 $as_echo_n "(cached) " >&6
29954 else
29957 ac_ext=cpp
29958 ac_cpp='$CXXCPP $CPPFLAGS'
29959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29964 /* end confdefs.h. */
29965 #include <math.h>
29966 #ifdef HAVE_IEEEFP_H
29967 #include <ieeefp.h>
29968 #endif
29971 main ()
29973 _logf(0);
29975 return 0;
29977 _ACEOF
29978 if ac_fn_cxx_try_compile "$LINENO"; then :
29979 glibcxx_cv_func__logf_use=yes
29980 else
29981 glibcxx_cv_func__logf_use=no
29983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29984 ac_ext=c
29985 ac_cpp='$CPP $CPPFLAGS'
29986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29995 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29997 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29998 for ac_func in _logf
29999 do :
30000 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30001 if test "x$ac_cv_func__logf" = x""yes; then :
30002 cat >>confdefs.h <<_ACEOF
30003 #define HAVE__LOGF 1
30004 _ACEOF
30007 done
30016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30017 $as_echo_n "checking for log10f declaration... " >&6; }
30018 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30019 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30020 $as_echo_n "(cached) " >&6
30021 else
30024 ac_ext=cpp
30025 ac_cpp='$CXXCPP $CPPFLAGS'
30026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30031 /* end confdefs.h. */
30032 #include <math.h>
30033 #ifdef HAVE_IEEEFP_H
30034 #include <ieeefp.h>
30035 #endif
30038 main ()
30040 log10f(0);
30042 return 0;
30044 _ACEOF
30045 if ac_fn_cxx_try_compile "$LINENO"; then :
30046 glibcxx_cv_func_log10f_use=yes
30047 else
30048 glibcxx_cv_func_log10f_use=no
30050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30051 ac_ext=c
30052 ac_cpp='$CPP $CPPFLAGS'
30053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30062 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30064 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30065 for ac_func in log10f
30066 do :
30067 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30068 if test "x$ac_cv_func_log10f" = x""yes; then :
30069 cat >>confdefs.h <<_ACEOF
30070 #define HAVE_LOG10F 1
30071 _ACEOF
30074 done
30076 else
30078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30079 $as_echo_n "checking for _log10f declaration... " >&6; }
30080 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30081 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30082 $as_echo_n "(cached) " >&6
30083 else
30086 ac_ext=cpp
30087 ac_cpp='$CXXCPP $CPPFLAGS'
30088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30093 /* end confdefs.h. */
30094 #include <math.h>
30095 #ifdef HAVE_IEEEFP_H
30096 #include <ieeefp.h>
30097 #endif
30100 main ()
30102 _log10f(0);
30104 return 0;
30106 _ACEOF
30107 if ac_fn_cxx_try_compile "$LINENO"; then :
30108 glibcxx_cv_func__log10f_use=yes
30109 else
30110 glibcxx_cv_func__log10f_use=no
30112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30113 ac_ext=c
30114 ac_cpp='$CPP $CPPFLAGS'
30115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30124 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30126 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30127 for ac_func in _log10f
30128 do :
30129 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30130 if test "x$ac_cv_func__log10f" = x""yes; then :
30131 cat >>confdefs.h <<_ACEOF
30132 #define HAVE__LOG10F 1
30133 _ACEOF
30136 done
30145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30146 $as_echo_n "checking for modff declaration... " >&6; }
30147 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30148 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30149 $as_echo_n "(cached) " >&6
30150 else
30153 ac_ext=cpp
30154 ac_cpp='$CXXCPP $CPPFLAGS'
30155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30160 /* end confdefs.h. */
30161 #include <math.h>
30163 main ()
30165 modff(0, 0);
30167 return 0;
30169 _ACEOF
30170 if ac_fn_cxx_try_compile "$LINENO"; then :
30171 glibcxx_cv_func_modff_use=yes
30172 else
30173 glibcxx_cv_func_modff_use=no
30175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30176 ac_ext=c
30177 ac_cpp='$CPP $CPPFLAGS'
30178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30187 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30189 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30190 for ac_func in modff
30191 do :
30192 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30193 if test "x$ac_cv_func_modff" = x""yes; then :
30194 cat >>confdefs.h <<_ACEOF
30195 #define HAVE_MODFF 1
30196 _ACEOF
30199 done
30201 else
30203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30204 $as_echo_n "checking for _modff declaration... " >&6; }
30205 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30206 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30207 $as_echo_n "(cached) " >&6
30208 else
30211 ac_ext=cpp
30212 ac_cpp='$CXXCPP $CPPFLAGS'
30213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30218 /* end confdefs.h. */
30219 #include <math.h>
30221 main ()
30223 _modff(0, 0);
30225 return 0;
30227 _ACEOF
30228 if ac_fn_cxx_try_compile "$LINENO"; then :
30229 glibcxx_cv_func__modff_use=yes
30230 else
30231 glibcxx_cv_func__modff_use=no
30233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30234 ac_ext=c
30235 ac_cpp='$CPP $CPPFLAGS'
30236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30245 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30247 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30248 for ac_func in _modff
30249 do :
30250 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30251 if test "x$ac_cv_func__modff" = x""yes; then :
30252 cat >>confdefs.h <<_ACEOF
30253 #define HAVE__MODFF 1
30254 _ACEOF
30257 done
30266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30267 $as_echo_n "checking for modf declaration... " >&6; }
30268 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30269 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30270 $as_echo_n "(cached) " >&6
30271 else
30274 ac_ext=cpp
30275 ac_cpp='$CXXCPP $CPPFLAGS'
30276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30281 /* end confdefs.h. */
30282 #include <math.h>
30284 main ()
30286 modf(0, 0);
30288 return 0;
30290 _ACEOF
30291 if ac_fn_cxx_try_compile "$LINENO"; then :
30292 glibcxx_cv_func_modf_use=yes
30293 else
30294 glibcxx_cv_func_modf_use=no
30296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30297 ac_ext=c
30298 ac_cpp='$CPP $CPPFLAGS'
30299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30308 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30310 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30311 for ac_func in modf
30312 do :
30313 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30314 if test "x$ac_cv_func_modf" = x""yes; then :
30315 cat >>confdefs.h <<_ACEOF
30316 #define HAVE_MODF 1
30317 _ACEOF
30320 done
30322 else
30324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30325 $as_echo_n "checking for _modf declaration... " >&6; }
30326 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30327 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30328 $as_echo_n "(cached) " >&6
30329 else
30332 ac_ext=cpp
30333 ac_cpp='$CXXCPP $CPPFLAGS'
30334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30339 /* end confdefs.h. */
30340 #include <math.h>
30342 main ()
30344 _modf(0, 0);
30346 return 0;
30348 _ACEOF
30349 if ac_fn_cxx_try_compile "$LINENO"; then :
30350 glibcxx_cv_func__modf_use=yes
30351 else
30352 glibcxx_cv_func__modf_use=no
30354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30355 ac_ext=c
30356 ac_cpp='$CPP $CPPFLAGS'
30357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30366 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30368 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30369 for ac_func in _modf
30370 do :
30371 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30372 if test "x$ac_cv_func__modf" = x""yes; then :
30373 cat >>confdefs.h <<_ACEOF
30374 #define HAVE__MODF 1
30375 _ACEOF
30378 done
30387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30388 $as_echo_n "checking for powf declaration... " >&6; }
30389 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30390 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30391 $as_echo_n "(cached) " >&6
30392 else
30395 ac_ext=cpp
30396 ac_cpp='$CXXCPP $CPPFLAGS'
30397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30402 /* end confdefs.h. */
30403 #include <math.h>
30405 main ()
30407 powf(0, 0);
30409 return 0;
30411 _ACEOF
30412 if ac_fn_cxx_try_compile "$LINENO"; then :
30413 glibcxx_cv_func_powf_use=yes
30414 else
30415 glibcxx_cv_func_powf_use=no
30417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30418 ac_ext=c
30419 ac_cpp='$CPP $CPPFLAGS'
30420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30429 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30431 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30432 for ac_func in powf
30433 do :
30434 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30435 if test "x$ac_cv_func_powf" = x""yes; then :
30436 cat >>confdefs.h <<_ACEOF
30437 #define HAVE_POWF 1
30438 _ACEOF
30441 done
30443 else
30445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30446 $as_echo_n "checking for _powf declaration... " >&6; }
30447 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30448 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30449 $as_echo_n "(cached) " >&6
30450 else
30453 ac_ext=cpp
30454 ac_cpp='$CXXCPP $CPPFLAGS'
30455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30460 /* end confdefs.h. */
30461 #include <math.h>
30463 main ()
30465 _powf(0, 0);
30467 return 0;
30469 _ACEOF
30470 if ac_fn_cxx_try_compile "$LINENO"; then :
30471 glibcxx_cv_func__powf_use=yes
30472 else
30473 glibcxx_cv_func__powf_use=no
30475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30476 ac_ext=c
30477 ac_cpp='$CPP $CPPFLAGS'
30478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30487 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30489 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30490 for ac_func in _powf
30491 do :
30492 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30493 if test "x$ac_cv_func__powf" = x""yes; then :
30494 cat >>confdefs.h <<_ACEOF
30495 #define HAVE__POWF 1
30496 _ACEOF
30499 done
30508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30509 $as_echo_n "checking for sqrtf declaration... " >&6; }
30510 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30511 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30512 $as_echo_n "(cached) " >&6
30513 else
30516 ac_ext=cpp
30517 ac_cpp='$CXXCPP $CPPFLAGS'
30518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30523 /* end confdefs.h. */
30524 #include <math.h>
30525 #ifdef HAVE_IEEEFP_H
30526 #include <ieeefp.h>
30527 #endif
30530 main ()
30532 sqrtf(0);
30534 return 0;
30536 _ACEOF
30537 if ac_fn_cxx_try_compile "$LINENO"; then :
30538 glibcxx_cv_func_sqrtf_use=yes
30539 else
30540 glibcxx_cv_func_sqrtf_use=no
30542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30543 ac_ext=c
30544 ac_cpp='$CPP $CPPFLAGS'
30545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30554 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30556 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30557 for ac_func in sqrtf
30558 do :
30559 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30560 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30561 cat >>confdefs.h <<_ACEOF
30562 #define HAVE_SQRTF 1
30563 _ACEOF
30566 done
30568 else
30570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30571 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30572 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30573 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30574 $as_echo_n "(cached) " >&6
30575 else
30578 ac_ext=cpp
30579 ac_cpp='$CXXCPP $CPPFLAGS'
30580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30585 /* end confdefs.h. */
30586 #include <math.h>
30587 #ifdef HAVE_IEEEFP_H
30588 #include <ieeefp.h>
30589 #endif
30592 main ()
30594 _sqrtf(0);
30596 return 0;
30598 _ACEOF
30599 if ac_fn_cxx_try_compile "$LINENO"; then :
30600 glibcxx_cv_func__sqrtf_use=yes
30601 else
30602 glibcxx_cv_func__sqrtf_use=no
30604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30605 ac_ext=c
30606 ac_cpp='$CPP $CPPFLAGS'
30607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30616 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30618 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30619 for ac_func in _sqrtf
30620 do :
30621 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30622 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30623 cat >>confdefs.h <<_ACEOF
30624 #define HAVE__SQRTF 1
30625 _ACEOF
30628 done
30637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30638 $as_echo_n "checking for sincosf declaration... " >&6; }
30639 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30640 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30641 $as_echo_n "(cached) " >&6
30642 else
30645 ac_ext=cpp
30646 ac_cpp='$CXXCPP $CPPFLAGS'
30647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30652 /* end confdefs.h. */
30653 #include <math.h>
30655 main ()
30657 sincosf(0, 0, 0);
30659 return 0;
30661 _ACEOF
30662 if ac_fn_cxx_try_compile "$LINENO"; then :
30663 glibcxx_cv_func_sincosf_use=yes
30664 else
30665 glibcxx_cv_func_sincosf_use=no
30667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30668 ac_ext=c
30669 ac_cpp='$CPP $CPPFLAGS'
30670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30679 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30681 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30682 for ac_func in sincosf
30683 do :
30684 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30685 if test "x$ac_cv_func_sincosf" = x""yes; then :
30686 cat >>confdefs.h <<_ACEOF
30687 #define HAVE_SINCOSF 1
30688 _ACEOF
30691 done
30693 else
30695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30696 $as_echo_n "checking for _sincosf declaration... " >&6; }
30697 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30698 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30699 $as_echo_n "(cached) " >&6
30700 else
30703 ac_ext=cpp
30704 ac_cpp='$CXXCPP $CPPFLAGS'
30705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30710 /* end confdefs.h. */
30711 #include <math.h>
30713 main ()
30715 _sincosf(0, 0, 0);
30717 return 0;
30719 _ACEOF
30720 if ac_fn_cxx_try_compile "$LINENO"; then :
30721 glibcxx_cv_func__sincosf_use=yes
30722 else
30723 glibcxx_cv_func__sincosf_use=no
30725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30726 ac_ext=c
30727 ac_cpp='$CPP $CPPFLAGS'
30728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30737 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30739 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30740 for ac_func in _sincosf
30741 do :
30742 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30743 if test "x$ac_cv_func__sincosf" = x""yes; then :
30744 cat >>confdefs.h <<_ACEOF
30745 #define HAVE__SINCOSF 1
30746 _ACEOF
30749 done
30758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30759 $as_echo_n "checking for finitef declaration... " >&6; }
30760 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30761 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30762 $as_echo_n "(cached) " >&6
30763 else
30766 ac_ext=cpp
30767 ac_cpp='$CXXCPP $CPPFLAGS'
30768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30773 /* end confdefs.h. */
30774 #include <math.h>
30775 #ifdef HAVE_IEEEFP_H
30776 #include <ieeefp.h>
30777 #endif
30780 main ()
30782 finitef(0);
30784 return 0;
30786 _ACEOF
30787 if ac_fn_cxx_try_compile "$LINENO"; then :
30788 glibcxx_cv_func_finitef_use=yes
30789 else
30790 glibcxx_cv_func_finitef_use=no
30792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30793 ac_ext=c
30794 ac_cpp='$CPP $CPPFLAGS'
30795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30804 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30806 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30807 for ac_func in finitef
30808 do :
30809 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30810 if test "x$ac_cv_func_finitef" = x""yes; then :
30811 cat >>confdefs.h <<_ACEOF
30812 #define HAVE_FINITEF 1
30813 _ACEOF
30816 done
30818 else
30820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30821 $as_echo_n "checking for _finitef declaration... " >&6; }
30822 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30823 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30824 $as_echo_n "(cached) " >&6
30825 else
30828 ac_ext=cpp
30829 ac_cpp='$CXXCPP $CPPFLAGS'
30830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30835 /* end confdefs.h. */
30836 #include <math.h>
30837 #ifdef HAVE_IEEEFP_H
30838 #include <ieeefp.h>
30839 #endif
30842 main ()
30844 _finitef(0);
30846 return 0;
30848 _ACEOF
30849 if ac_fn_cxx_try_compile "$LINENO"; then :
30850 glibcxx_cv_func__finitef_use=yes
30851 else
30852 glibcxx_cv_func__finitef_use=no
30854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30855 ac_ext=c
30856 ac_cpp='$CPP $CPPFLAGS'
30857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30866 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30868 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30869 for ac_func in _finitef
30870 do :
30871 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30872 if test "x$ac_cv_func__finitef" = x""yes; then :
30873 cat >>confdefs.h <<_ACEOF
30874 #define HAVE__FINITEF 1
30875 _ACEOF
30878 done
30887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30888 $as_echo_n "checking for long double trig functions... " >&6; }
30889 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30890 $as_echo_n "(cached) " >&6
30891 else
30894 ac_ext=cpp
30895 ac_cpp='$CXXCPP $CPPFLAGS'
30896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30901 /* end confdefs.h. */
30902 #include <math.h>
30904 main ()
30906 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30908 return 0;
30910 _ACEOF
30911 if ac_fn_cxx_try_compile "$LINENO"; then :
30912 glibcxx_cv_func_long_double_trig_use=yes
30913 else
30914 glibcxx_cv_func_long_double_trig_use=no
30916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30917 ac_ext=c
30918 ac_cpp='$CPP $CPPFLAGS'
30919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30926 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30927 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30928 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30929 do :
30930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30932 eval as_val=\$$as_ac_var
30933 if test "x$as_val" = x""yes; then :
30934 cat >>confdefs.h <<_ACEOF
30935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30936 _ACEOF
30939 done
30941 else
30942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30943 $as_echo_n "checking for _long double trig functions... " >&6; }
30944 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30945 $as_echo_n "(cached) " >&6
30946 else
30949 ac_ext=cpp
30950 ac_cpp='$CXXCPP $CPPFLAGS'
30951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30956 /* end confdefs.h. */
30957 #include <math.h>
30959 main ()
30961 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30963 return 0;
30965 _ACEOF
30966 if ac_fn_cxx_try_compile "$LINENO"; then :
30967 glibcxx_cv_func__long_double_trig_use=yes
30968 else
30969 glibcxx_cv_func__long_double_trig_use=no
30971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30972 ac_ext=c
30973 ac_cpp='$CPP $CPPFLAGS'
30974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30981 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30982 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30983 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30984 do :
30985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30987 eval as_val=\$$as_ac_var
30988 if test "x$as_val" = x""yes; then :
30989 cat >>confdefs.h <<_ACEOF
30990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30991 _ACEOF
30994 done
31003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31004 $as_echo_n "checking for long double round functions... " >&6; }
31005 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31006 $as_echo_n "(cached) " >&6
31007 else
31010 ac_ext=cpp
31011 ac_cpp='$CXXCPP $CPPFLAGS'
31012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31017 /* end confdefs.h. */
31018 #include <math.h>
31020 main ()
31022 ceill (0); floorl (0);
31024 return 0;
31026 _ACEOF
31027 if ac_fn_cxx_try_compile "$LINENO"; then :
31028 glibcxx_cv_func_long_double_round_use=yes
31029 else
31030 glibcxx_cv_func_long_double_round_use=no
31032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31033 ac_ext=c
31034 ac_cpp='$CPP $CPPFLAGS'
31035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31042 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31043 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31044 for ac_func in ceill floorl
31045 do :
31046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31048 eval as_val=\$$as_ac_var
31049 if test "x$as_val" = x""yes; then :
31050 cat >>confdefs.h <<_ACEOF
31051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31052 _ACEOF
31055 done
31057 else
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31059 $as_echo_n "checking for _long double round functions... " >&6; }
31060 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31061 $as_echo_n "(cached) " >&6
31062 else
31065 ac_ext=cpp
31066 ac_cpp='$CXXCPP $CPPFLAGS'
31067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31072 /* end confdefs.h. */
31073 #include <math.h>
31075 main ()
31077 _ceill (0); _floorl (0);
31079 return 0;
31081 _ACEOF
31082 if ac_fn_cxx_try_compile "$LINENO"; then :
31083 glibcxx_cv_func__long_double_round_use=yes
31084 else
31085 glibcxx_cv_func__long_double_round_use=no
31087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31088 ac_ext=c
31089 ac_cpp='$CPP $CPPFLAGS'
31090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31097 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31098 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31099 for ac_func in _ceill _floorl
31100 do :
31101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31103 eval as_val=\$$as_ac_var
31104 if test "x$as_val" = x""yes; then :
31105 cat >>confdefs.h <<_ACEOF
31106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31107 _ACEOF
31110 done
31120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31121 $as_echo_n "checking for isnanl declaration... " >&6; }
31122 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31123 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31124 $as_echo_n "(cached) " >&6
31125 else
31128 ac_ext=cpp
31129 ac_cpp='$CXXCPP $CPPFLAGS'
31130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31135 /* end confdefs.h. */
31136 #include <math.h>
31137 #ifdef HAVE_IEEEFP_H
31138 #include <ieeefp.h>
31139 #endif
31142 main ()
31144 isnanl(0);
31146 return 0;
31148 _ACEOF
31149 if ac_fn_cxx_try_compile "$LINENO"; then :
31150 glibcxx_cv_func_isnanl_use=yes
31151 else
31152 glibcxx_cv_func_isnanl_use=no
31154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31155 ac_ext=c
31156 ac_cpp='$CPP $CPPFLAGS'
31157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31166 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31168 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31169 for ac_func in isnanl
31170 do :
31171 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31172 if test "x$ac_cv_func_isnanl" = x""yes; then :
31173 cat >>confdefs.h <<_ACEOF
31174 #define HAVE_ISNANL 1
31175 _ACEOF
31178 done
31180 else
31182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31183 $as_echo_n "checking for _isnanl declaration... " >&6; }
31184 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31185 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31186 $as_echo_n "(cached) " >&6
31187 else
31190 ac_ext=cpp
31191 ac_cpp='$CXXCPP $CPPFLAGS'
31192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31197 /* end confdefs.h. */
31198 #include <math.h>
31199 #ifdef HAVE_IEEEFP_H
31200 #include <ieeefp.h>
31201 #endif
31204 main ()
31206 _isnanl(0);
31208 return 0;
31210 _ACEOF
31211 if ac_fn_cxx_try_compile "$LINENO"; then :
31212 glibcxx_cv_func__isnanl_use=yes
31213 else
31214 glibcxx_cv_func__isnanl_use=no
31216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31217 ac_ext=c
31218 ac_cpp='$CPP $CPPFLAGS'
31219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31228 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31230 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31231 for ac_func in _isnanl
31232 do :
31233 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31234 if test "x$ac_cv_func__isnanl" = x""yes; then :
31235 cat >>confdefs.h <<_ACEOF
31236 #define HAVE__ISNANL 1
31237 _ACEOF
31240 done
31249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31250 $as_echo_n "checking for isinfl declaration... " >&6; }
31251 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31252 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31253 $as_echo_n "(cached) " >&6
31254 else
31257 ac_ext=cpp
31258 ac_cpp='$CXXCPP $CPPFLAGS'
31259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31264 /* end confdefs.h. */
31265 #include <math.h>
31266 #ifdef HAVE_IEEEFP_H
31267 #include <ieeefp.h>
31268 #endif
31271 main ()
31273 isinfl(0);
31275 return 0;
31277 _ACEOF
31278 if ac_fn_cxx_try_compile "$LINENO"; then :
31279 glibcxx_cv_func_isinfl_use=yes
31280 else
31281 glibcxx_cv_func_isinfl_use=no
31283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31284 ac_ext=c
31285 ac_cpp='$CPP $CPPFLAGS'
31286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31295 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31297 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31298 for ac_func in isinfl
31299 do :
31300 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31301 if test "x$ac_cv_func_isinfl" = x""yes; then :
31302 cat >>confdefs.h <<_ACEOF
31303 #define HAVE_ISINFL 1
31304 _ACEOF
31307 done
31309 else
31311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31312 $as_echo_n "checking for _isinfl declaration... " >&6; }
31313 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31314 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31315 $as_echo_n "(cached) " >&6
31316 else
31319 ac_ext=cpp
31320 ac_cpp='$CXXCPP $CPPFLAGS'
31321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31326 /* end confdefs.h. */
31327 #include <math.h>
31328 #ifdef HAVE_IEEEFP_H
31329 #include <ieeefp.h>
31330 #endif
31333 main ()
31335 _isinfl(0);
31337 return 0;
31339 _ACEOF
31340 if ac_fn_cxx_try_compile "$LINENO"; then :
31341 glibcxx_cv_func__isinfl_use=yes
31342 else
31343 glibcxx_cv_func__isinfl_use=no
31345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31346 ac_ext=c
31347 ac_cpp='$CPP $CPPFLAGS'
31348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31357 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31359 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31360 for ac_func in _isinfl
31361 do :
31362 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31363 if test "x$ac_cv_func__isinfl" = x""yes; then :
31364 cat >>confdefs.h <<_ACEOF
31365 #define HAVE__ISINFL 1
31366 _ACEOF
31369 done
31378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31379 $as_echo_n "checking for atan2l declaration... " >&6; }
31380 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31381 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31382 $as_echo_n "(cached) " >&6
31383 else
31386 ac_ext=cpp
31387 ac_cpp='$CXXCPP $CPPFLAGS'
31388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31393 /* end confdefs.h. */
31394 #include <math.h>
31396 main ()
31398 atan2l(0, 0);
31400 return 0;
31402 _ACEOF
31403 if ac_fn_cxx_try_compile "$LINENO"; then :
31404 glibcxx_cv_func_atan2l_use=yes
31405 else
31406 glibcxx_cv_func_atan2l_use=no
31408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31409 ac_ext=c
31410 ac_cpp='$CPP $CPPFLAGS'
31411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31420 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31422 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31423 for ac_func in atan2l
31424 do :
31425 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31426 if test "x$ac_cv_func_atan2l" = x""yes; then :
31427 cat >>confdefs.h <<_ACEOF
31428 #define HAVE_ATAN2L 1
31429 _ACEOF
31432 done
31434 else
31436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31437 $as_echo_n "checking for _atan2l declaration... " >&6; }
31438 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31439 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31440 $as_echo_n "(cached) " >&6
31441 else
31444 ac_ext=cpp
31445 ac_cpp='$CXXCPP $CPPFLAGS'
31446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31451 /* end confdefs.h. */
31452 #include <math.h>
31454 main ()
31456 _atan2l(0, 0);
31458 return 0;
31460 _ACEOF
31461 if ac_fn_cxx_try_compile "$LINENO"; then :
31462 glibcxx_cv_func__atan2l_use=yes
31463 else
31464 glibcxx_cv_func__atan2l_use=no
31466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31467 ac_ext=c
31468 ac_cpp='$CPP $CPPFLAGS'
31469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31478 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31480 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31481 for ac_func in _atan2l
31482 do :
31483 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31484 if test "x$ac_cv_func__atan2l" = x""yes; then :
31485 cat >>confdefs.h <<_ACEOF
31486 #define HAVE__ATAN2L 1
31487 _ACEOF
31490 done
31499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31500 $as_echo_n "checking for expl declaration... " >&6; }
31501 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31502 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31503 $as_echo_n "(cached) " >&6
31504 else
31507 ac_ext=cpp
31508 ac_cpp='$CXXCPP $CPPFLAGS'
31509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31514 /* end confdefs.h. */
31515 #include <math.h>
31516 #ifdef HAVE_IEEEFP_H
31517 #include <ieeefp.h>
31518 #endif
31521 main ()
31523 expl(0);
31525 return 0;
31527 _ACEOF
31528 if ac_fn_cxx_try_compile "$LINENO"; then :
31529 glibcxx_cv_func_expl_use=yes
31530 else
31531 glibcxx_cv_func_expl_use=no
31533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31534 ac_ext=c
31535 ac_cpp='$CPP $CPPFLAGS'
31536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31545 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31547 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31548 for ac_func in expl
31549 do :
31550 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31551 if test "x$ac_cv_func_expl" = x""yes; then :
31552 cat >>confdefs.h <<_ACEOF
31553 #define HAVE_EXPL 1
31554 _ACEOF
31557 done
31559 else
31561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31562 $as_echo_n "checking for _expl declaration... " >&6; }
31563 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31564 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31565 $as_echo_n "(cached) " >&6
31566 else
31569 ac_ext=cpp
31570 ac_cpp='$CXXCPP $CPPFLAGS'
31571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31576 /* end confdefs.h. */
31577 #include <math.h>
31578 #ifdef HAVE_IEEEFP_H
31579 #include <ieeefp.h>
31580 #endif
31583 main ()
31585 _expl(0);
31587 return 0;
31589 _ACEOF
31590 if ac_fn_cxx_try_compile "$LINENO"; then :
31591 glibcxx_cv_func__expl_use=yes
31592 else
31593 glibcxx_cv_func__expl_use=no
31595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31596 ac_ext=c
31597 ac_cpp='$CPP $CPPFLAGS'
31598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31607 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31609 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31610 for ac_func in _expl
31611 do :
31612 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31613 if test "x$ac_cv_func__expl" = x""yes; then :
31614 cat >>confdefs.h <<_ACEOF
31615 #define HAVE__EXPL 1
31616 _ACEOF
31619 done
31628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31629 $as_echo_n "checking for fabsl declaration... " >&6; }
31630 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31631 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31632 $as_echo_n "(cached) " >&6
31633 else
31636 ac_ext=cpp
31637 ac_cpp='$CXXCPP $CPPFLAGS'
31638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31643 /* end confdefs.h. */
31644 #include <math.h>
31645 #ifdef HAVE_IEEEFP_H
31646 #include <ieeefp.h>
31647 #endif
31650 main ()
31652 fabsl(0);
31654 return 0;
31656 _ACEOF
31657 if ac_fn_cxx_try_compile "$LINENO"; then :
31658 glibcxx_cv_func_fabsl_use=yes
31659 else
31660 glibcxx_cv_func_fabsl_use=no
31662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31663 ac_ext=c
31664 ac_cpp='$CPP $CPPFLAGS'
31665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31674 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31676 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31677 for ac_func in fabsl
31678 do :
31679 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31680 if test "x$ac_cv_func_fabsl" = x""yes; then :
31681 cat >>confdefs.h <<_ACEOF
31682 #define HAVE_FABSL 1
31683 _ACEOF
31686 done
31688 else
31690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31691 $as_echo_n "checking for _fabsl declaration... " >&6; }
31692 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31693 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31694 $as_echo_n "(cached) " >&6
31695 else
31698 ac_ext=cpp
31699 ac_cpp='$CXXCPP $CPPFLAGS'
31700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31705 /* end confdefs.h. */
31706 #include <math.h>
31707 #ifdef HAVE_IEEEFP_H
31708 #include <ieeefp.h>
31709 #endif
31712 main ()
31714 _fabsl(0);
31716 return 0;
31718 _ACEOF
31719 if ac_fn_cxx_try_compile "$LINENO"; then :
31720 glibcxx_cv_func__fabsl_use=yes
31721 else
31722 glibcxx_cv_func__fabsl_use=no
31724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31725 ac_ext=c
31726 ac_cpp='$CPP $CPPFLAGS'
31727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31736 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31738 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31739 for ac_func in _fabsl
31740 do :
31741 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31742 if test "x$ac_cv_func__fabsl" = x""yes; then :
31743 cat >>confdefs.h <<_ACEOF
31744 #define HAVE__FABSL 1
31745 _ACEOF
31748 done
31757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31758 $as_echo_n "checking for fmodl declaration... " >&6; }
31759 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31760 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31761 $as_echo_n "(cached) " >&6
31762 else
31765 ac_ext=cpp
31766 ac_cpp='$CXXCPP $CPPFLAGS'
31767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31772 /* end confdefs.h. */
31773 #include <math.h>
31775 main ()
31777 fmodl(0, 0);
31779 return 0;
31781 _ACEOF
31782 if ac_fn_cxx_try_compile "$LINENO"; then :
31783 glibcxx_cv_func_fmodl_use=yes
31784 else
31785 glibcxx_cv_func_fmodl_use=no
31787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31788 ac_ext=c
31789 ac_cpp='$CPP $CPPFLAGS'
31790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31799 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31801 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31802 for ac_func in fmodl
31803 do :
31804 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31805 if test "x$ac_cv_func_fmodl" = x""yes; then :
31806 cat >>confdefs.h <<_ACEOF
31807 #define HAVE_FMODL 1
31808 _ACEOF
31811 done
31813 else
31815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31816 $as_echo_n "checking for _fmodl declaration... " >&6; }
31817 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31818 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31819 $as_echo_n "(cached) " >&6
31820 else
31823 ac_ext=cpp
31824 ac_cpp='$CXXCPP $CPPFLAGS'
31825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31830 /* end confdefs.h. */
31831 #include <math.h>
31833 main ()
31835 _fmodl(0, 0);
31837 return 0;
31839 _ACEOF
31840 if ac_fn_cxx_try_compile "$LINENO"; then :
31841 glibcxx_cv_func__fmodl_use=yes
31842 else
31843 glibcxx_cv_func__fmodl_use=no
31845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31846 ac_ext=c
31847 ac_cpp='$CPP $CPPFLAGS'
31848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31857 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31859 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31860 for ac_func in _fmodl
31861 do :
31862 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31863 if test "x$ac_cv_func__fmodl" = x""yes; then :
31864 cat >>confdefs.h <<_ACEOF
31865 #define HAVE__FMODL 1
31866 _ACEOF
31869 done
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31879 $as_echo_n "checking for frexpl declaration... " >&6; }
31880 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31881 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31882 $as_echo_n "(cached) " >&6
31883 else
31886 ac_ext=cpp
31887 ac_cpp='$CXXCPP $CPPFLAGS'
31888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31893 /* end confdefs.h. */
31894 #include <math.h>
31896 main ()
31898 frexpl(0, 0);
31900 return 0;
31902 _ACEOF
31903 if ac_fn_cxx_try_compile "$LINENO"; then :
31904 glibcxx_cv_func_frexpl_use=yes
31905 else
31906 glibcxx_cv_func_frexpl_use=no
31908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31909 ac_ext=c
31910 ac_cpp='$CPP $CPPFLAGS'
31911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31920 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31922 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31923 for ac_func in frexpl
31924 do :
31925 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31926 if test "x$ac_cv_func_frexpl" = x""yes; then :
31927 cat >>confdefs.h <<_ACEOF
31928 #define HAVE_FREXPL 1
31929 _ACEOF
31932 done
31934 else
31936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31937 $as_echo_n "checking for _frexpl declaration... " >&6; }
31938 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31939 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31940 $as_echo_n "(cached) " >&6
31941 else
31944 ac_ext=cpp
31945 ac_cpp='$CXXCPP $CPPFLAGS'
31946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31951 /* end confdefs.h. */
31952 #include <math.h>
31954 main ()
31956 _frexpl(0, 0);
31958 return 0;
31960 _ACEOF
31961 if ac_fn_cxx_try_compile "$LINENO"; then :
31962 glibcxx_cv_func__frexpl_use=yes
31963 else
31964 glibcxx_cv_func__frexpl_use=no
31966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31967 ac_ext=c
31968 ac_cpp='$CPP $CPPFLAGS'
31969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31978 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31980 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31981 for ac_func in _frexpl
31982 do :
31983 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31984 if test "x$ac_cv_func__frexpl" = x""yes; then :
31985 cat >>confdefs.h <<_ACEOF
31986 #define HAVE__FREXPL 1
31987 _ACEOF
31990 done
31999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32000 $as_echo_n "checking for hypotl declaration... " >&6; }
32001 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32002 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32003 $as_echo_n "(cached) " >&6
32004 else
32007 ac_ext=cpp
32008 ac_cpp='$CXXCPP $CPPFLAGS'
32009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32014 /* end confdefs.h. */
32015 #include <math.h>
32017 main ()
32019 hypotl(0, 0);
32021 return 0;
32023 _ACEOF
32024 if ac_fn_cxx_try_compile "$LINENO"; then :
32025 glibcxx_cv_func_hypotl_use=yes
32026 else
32027 glibcxx_cv_func_hypotl_use=no
32029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32030 ac_ext=c
32031 ac_cpp='$CPP $CPPFLAGS'
32032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32041 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32043 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32044 for ac_func in hypotl
32045 do :
32046 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32047 if test "x$ac_cv_func_hypotl" = x""yes; then :
32048 cat >>confdefs.h <<_ACEOF
32049 #define HAVE_HYPOTL 1
32050 _ACEOF
32053 done
32055 else
32057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32058 $as_echo_n "checking for _hypotl declaration... " >&6; }
32059 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32060 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32061 $as_echo_n "(cached) " >&6
32062 else
32065 ac_ext=cpp
32066 ac_cpp='$CXXCPP $CPPFLAGS'
32067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32072 /* end confdefs.h. */
32073 #include <math.h>
32075 main ()
32077 _hypotl(0, 0);
32079 return 0;
32081 _ACEOF
32082 if ac_fn_cxx_try_compile "$LINENO"; then :
32083 glibcxx_cv_func__hypotl_use=yes
32084 else
32085 glibcxx_cv_func__hypotl_use=no
32087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32088 ac_ext=c
32089 ac_cpp='$CPP $CPPFLAGS'
32090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32099 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32101 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32102 for ac_func in _hypotl
32103 do :
32104 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32105 if test "x$ac_cv_func__hypotl" = x""yes; then :
32106 cat >>confdefs.h <<_ACEOF
32107 #define HAVE__HYPOTL 1
32108 _ACEOF
32111 done
32120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32121 $as_echo_n "checking for ldexpl declaration... " >&6; }
32122 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32123 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32124 $as_echo_n "(cached) " >&6
32125 else
32128 ac_ext=cpp
32129 ac_cpp='$CXXCPP $CPPFLAGS'
32130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32135 /* end confdefs.h. */
32136 #include <math.h>
32138 main ()
32140 ldexpl(0, 0);
32142 return 0;
32144 _ACEOF
32145 if ac_fn_cxx_try_compile "$LINENO"; then :
32146 glibcxx_cv_func_ldexpl_use=yes
32147 else
32148 glibcxx_cv_func_ldexpl_use=no
32150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32151 ac_ext=c
32152 ac_cpp='$CPP $CPPFLAGS'
32153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32162 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32164 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32165 for ac_func in ldexpl
32166 do :
32167 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32168 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32169 cat >>confdefs.h <<_ACEOF
32170 #define HAVE_LDEXPL 1
32171 _ACEOF
32174 done
32176 else
32178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32179 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32180 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32181 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32182 $as_echo_n "(cached) " >&6
32183 else
32186 ac_ext=cpp
32187 ac_cpp='$CXXCPP $CPPFLAGS'
32188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32193 /* end confdefs.h. */
32194 #include <math.h>
32196 main ()
32198 _ldexpl(0, 0);
32200 return 0;
32202 _ACEOF
32203 if ac_fn_cxx_try_compile "$LINENO"; then :
32204 glibcxx_cv_func__ldexpl_use=yes
32205 else
32206 glibcxx_cv_func__ldexpl_use=no
32208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32209 ac_ext=c
32210 ac_cpp='$CPP $CPPFLAGS'
32211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32220 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32222 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32223 for ac_func in _ldexpl
32224 do :
32225 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32226 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32227 cat >>confdefs.h <<_ACEOF
32228 #define HAVE__LDEXPL 1
32229 _ACEOF
32232 done
32241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32242 $as_echo_n "checking for logl declaration... " >&6; }
32243 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32244 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32245 $as_echo_n "(cached) " >&6
32246 else
32249 ac_ext=cpp
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32256 /* end confdefs.h. */
32257 #include <math.h>
32258 #ifdef HAVE_IEEEFP_H
32259 #include <ieeefp.h>
32260 #endif
32263 main ()
32265 logl(0);
32267 return 0;
32269 _ACEOF
32270 if ac_fn_cxx_try_compile "$LINENO"; then :
32271 glibcxx_cv_func_logl_use=yes
32272 else
32273 glibcxx_cv_func_logl_use=no
32275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32276 ac_ext=c
32277 ac_cpp='$CPP $CPPFLAGS'
32278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32287 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32289 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32290 for ac_func in logl
32291 do :
32292 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32293 if test "x$ac_cv_func_logl" = x""yes; then :
32294 cat >>confdefs.h <<_ACEOF
32295 #define HAVE_LOGL 1
32296 _ACEOF
32299 done
32301 else
32303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32304 $as_echo_n "checking for _logl declaration... " >&6; }
32305 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32306 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32307 $as_echo_n "(cached) " >&6
32308 else
32311 ac_ext=cpp
32312 ac_cpp='$CXXCPP $CPPFLAGS'
32313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32318 /* end confdefs.h. */
32319 #include <math.h>
32320 #ifdef HAVE_IEEEFP_H
32321 #include <ieeefp.h>
32322 #endif
32325 main ()
32327 _logl(0);
32329 return 0;
32331 _ACEOF
32332 if ac_fn_cxx_try_compile "$LINENO"; then :
32333 glibcxx_cv_func__logl_use=yes
32334 else
32335 glibcxx_cv_func__logl_use=no
32337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32338 ac_ext=c
32339 ac_cpp='$CPP $CPPFLAGS'
32340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32349 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32351 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32352 for ac_func in _logl
32353 do :
32354 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32355 if test "x$ac_cv_func__logl" = x""yes; then :
32356 cat >>confdefs.h <<_ACEOF
32357 #define HAVE__LOGL 1
32358 _ACEOF
32361 done
32370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32371 $as_echo_n "checking for log10l declaration... " >&6; }
32372 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32373 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32374 $as_echo_n "(cached) " >&6
32375 else
32378 ac_ext=cpp
32379 ac_cpp='$CXXCPP $CPPFLAGS'
32380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32385 /* end confdefs.h. */
32386 #include <math.h>
32387 #ifdef HAVE_IEEEFP_H
32388 #include <ieeefp.h>
32389 #endif
32392 main ()
32394 log10l(0);
32396 return 0;
32398 _ACEOF
32399 if ac_fn_cxx_try_compile "$LINENO"; then :
32400 glibcxx_cv_func_log10l_use=yes
32401 else
32402 glibcxx_cv_func_log10l_use=no
32404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32405 ac_ext=c
32406 ac_cpp='$CPP $CPPFLAGS'
32407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32416 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32418 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32419 for ac_func in log10l
32420 do :
32421 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32422 if test "x$ac_cv_func_log10l" = x""yes; then :
32423 cat >>confdefs.h <<_ACEOF
32424 #define HAVE_LOG10L 1
32425 _ACEOF
32428 done
32430 else
32432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32433 $as_echo_n "checking for _log10l declaration... " >&6; }
32434 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32435 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32436 $as_echo_n "(cached) " >&6
32437 else
32440 ac_ext=cpp
32441 ac_cpp='$CXXCPP $CPPFLAGS'
32442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32447 /* end confdefs.h. */
32448 #include <math.h>
32449 #ifdef HAVE_IEEEFP_H
32450 #include <ieeefp.h>
32451 #endif
32454 main ()
32456 _log10l(0);
32458 return 0;
32460 _ACEOF
32461 if ac_fn_cxx_try_compile "$LINENO"; then :
32462 glibcxx_cv_func__log10l_use=yes
32463 else
32464 glibcxx_cv_func__log10l_use=no
32466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32467 ac_ext=c
32468 ac_cpp='$CPP $CPPFLAGS'
32469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32478 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32480 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32481 for ac_func in _log10l
32482 do :
32483 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32484 if test "x$ac_cv_func__log10l" = x""yes; then :
32485 cat >>confdefs.h <<_ACEOF
32486 #define HAVE__LOG10L 1
32487 _ACEOF
32490 done
32499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32500 $as_echo_n "checking for modfl declaration... " >&6; }
32501 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32502 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32503 $as_echo_n "(cached) " >&6
32504 else
32507 ac_ext=cpp
32508 ac_cpp='$CXXCPP $CPPFLAGS'
32509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32514 /* end confdefs.h. */
32515 #include <math.h>
32517 main ()
32519 modfl(0, 0);
32521 return 0;
32523 _ACEOF
32524 if ac_fn_cxx_try_compile "$LINENO"; then :
32525 glibcxx_cv_func_modfl_use=yes
32526 else
32527 glibcxx_cv_func_modfl_use=no
32529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32530 ac_ext=c
32531 ac_cpp='$CPP $CPPFLAGS'
32532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32541 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32543 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32544 for ac_func in modfl
32545 do :
32546 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32547 if test "x$ac_cv_func_modfl" = x""yes; then :
32548 cat >>confdefs.h <<_ACEOF
32549 #define HAVE_MODFL 1
32550 _ACEOF
32553 done
32555 else
32557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32558 $as_echo_n "checking for _modfl declaration... " >&6; }
32559 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32560 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32561 $as_echo_n "(cached) " >&6
32562 else
32565 ac_ext=cpp
32566 ac_cpp='$CXXCPP $CPPFLAGS'
32567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32572 /* end confdefs.h. */
32573 #include <math.h>
32575 main ()
32577 _modfl(0, 0);
32579 return 0;
32581 _ACEOF
32582 if ac_fn_cxx_try_compile "$LINENO"; then :
32583 glibcxx_cv_func__modfl_use=yes
32584 else
32585 glibcxx_cv_func__modfl_use=no
32587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32588 ac_ext=c
32589 ac_cpp='$CPP $CPPFLAGS'
32590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32599 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32601 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32602 for ac_func in _modfl
32603 do :
32604 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32605 if test "x$ac_cv_func__modfl" = x""yes; then :
32606 cat >>confdefs.h <<_ACEOF
32607 #define HAVE__MODFL 1
32608 _ACEOF
32611 done
32620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32621 $as_echo_n "checking for powl declaration... " >&6; }
32622 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32623 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32624 $as_echo_n "(cached) " >&6
32625 else
32628 ac_ext=cpp
32629 ac_cpp='$CXXCPP $CPPFLAGS'
32630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32635 /* end confdefs.h. */
32636 #include <math.h>
32638 main ()
32640 powl(0, 0);
32642 return 0;
32644 _ACEOF
32645 if ac_fn_cxx_try_compile "$LINENO"; then :
32646 glibcxx_cv_func_powl_use=yes
32647 else
32648 glibcxx_cv_func_powl_use=no
32650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32651 ac_ext=c
32652 ac_cpp='$CPP $CPPFLAGS'
32653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32662 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32664 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32665 for ac_func in powl
32666 do :
32667 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32668 if test "x$ac_cv_func_powl" = x""yes; then :
32669 cat >>confdefs.h <<_ACEOF
32670 #define HAVE_POWL 1
32671 _ACEOF
32674 done
32676 else
32678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32679 $as_echo_n "checking for _powl declaration... " >&6; }
32680 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32681 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32682 $as_echo_n "(cached) " >&6
32683 else
32686 ac_ext=cpp
32687 ac_cpp='$CXXCPP $CPPFLAGS'
32688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32693 /* end confdefs.h. */
32694 #include <math.h>
32696 main ()
32698 _powl(0, 0);
32700 return 0;
32702 _ACEOF
32703 if ac_fn_cxx_try_compile "$LINENO"; then :
32704 glibcxx_cv_func__powl_use=yes
32705 else
32706 glibcxx_cv_func__powl_use=no
32708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32709 ac_ext=c
32710 ac_cpp='$CPP $CPPFLAGS'
32711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32720 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32722 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32723 for ac_func in _powl
32724 do :
32725 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32726 if test "x$ac_cv_func__powl" = x""yes; then :
32727 cat >>confdefs.h <<_ACEOF
32728 #define HAVE__POWL 1
32729 _ACEOF
32732 done
32741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32742 $as_echo_n "checking for sqrtl declaration... " >&6; }
32743 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32744 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32745 $as_echo_n "(cached) " >&6
32746 else
32749 ac_ext=cpp
32750 ac_cpp='$CXXCPP $CPPFLAGS'
32751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32756 /* end confdefs.h. */
32757 #include <math.h>
32758 #ifdef HAVE_IEEEFP_H
32759 #include <ieeefp.h>
32760 #endif
32763 main ()
32765 sqrtl(0);
32767 return 0;
32769 _ACEOF
32770 if ac_fn_cxx_try_compile "$LINENO"; then :
32771 glibcxx_cv_func_sqrtl_use=yes
32772 else
32773 glibcxx_cv_func_sqrtl_use=no
32775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32776 ac_ext=c
32777 ac_cpp='$CPP $CPPFLAGS'
32778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32787 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32789 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32790 for ac_func in sqrtl
32791 do :
32792 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32793 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32794 cat >>confdefs.h <<_ACEOF
32795 #define HAVE_SQRTL 1
32796 _ACEOF
32799 done
32801 else
32803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32804 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32805 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32806 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32807 $as_echo_n "(cached) " >&6
32808 else
32811 ac_ext=cpp
32812 ac_cpp='$CXXCPP $CPPFLAGS'
32813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32818 /* end confdefs.h. */
32819 #include <math.h>
32820 #ifdef HAVE_IEEEFP_H
32821 #include <ieeefp.h>
32822 #endif
32825 main ()
32827 _sqrtl(0);
32829 return 0;
32831 _ACEOF
32832 if ac_fn_cxx_try_compile "$LINENO"; then :
32833 glibcxx_cv_func__sqrtl_use=yes
32834 else
32835 glibcxx_cv_func__sqrtl_use=no
32837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32838 ac_ext=c
32839 ac_cpp='$CPP $CPPFLAGS'
32840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32849 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32851 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32852 for ac_func in _sqrtl
32853 do :
32854 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32855 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32856 cat >>confdefs.h <<_ACEOF
32857 #define HAVE__SQRTL 1
32858 _ACEOF
32861 done
32870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32871 $as_echo_n "checking for sincosl declaration... " >&6; }
32872 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32873 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32874 $as_echo_n "(cached) " >&6
32875 else
32878 ac_ext=cpp
32879 ac_cpp='$CXXCPP $CPPFLAGS'
32880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32885 /* end confdefs.h. */
32886 #include <math.h>
32888 main ()
32890 sincosl(0, 0, 0);
32892 return 0;
32894 _ACEOF
32895 if ac_fn_cxx_try_compile "$LINENO"; then :
32896 glibcxx_cv_func_sincosl_use=yes
32897 else
32898 glibcxx_cv_func_sincosl_use=no
32900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32901 ac_ext=c
32902 ac_cpp='$CPP $CPPFLAGS'
32903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32912 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32914 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32915 for ac_func in sincosl
32916 do :
32917 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32918 if test "x$ac_cv_func_sincosl" = x""yes; then :
32919 cat >>confdefs.h <<_ACEOF
32920 #define HAVE_SINCOSL 1
32921 _ACEOF
32924 done
32926 else
32928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32929 $as_echo_n "checking for _sincosl declaration... " >&6; }
32930 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32931 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32932 $as_echo_n "(cached) " >&6
32933 else
32936 ac_ext=cpp
32937 ac_cpp='$CXXCPP $CPPFLAGS'
32938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32943 /* end confdefs.h. */
32944 #include <math.h>
32946 main ()
32948 _sincosl(0, 0, 0);
32950 return 0;
32952 _ACEOF
32953 if ac_fn_cxx_try_compile "$LINENO"; then :
32954 glibcxx_cv_func__sincosl_use=yes
32955 else
32956 glibcxx_cv_func__sincosl_use=no
32958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32959 ac_ext=c
32960 ac_cpp='$CPP $CPPFLAGS'
32961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32970 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32972 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32973 for ac_func in _sincosl
32974 do :
32975 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32976 if test "x$ac_cv_func__sincosl" = x""yes; then :
32977 cat >>confdefs.h <<_ACEOF
32978 #define HAVE__SINCOSL 1
32979 _ACEOF
32982 done
32991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32992 $as_echo_n "checking for finitel declaration... " >&6; }
32993 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32994 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32995 $as_echo_n "(cached) " >&6
32996 else
32999 ac_ext=cpp
33000 ac_cpp='$CXXCPP $CPPFLAGS'
33001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33006 /* end confdefs.h. */
33007 #include <math.h>
33008 #ifdef HAVE_IEEEFP_H
33009 #include <ieeefp.h>
33010 #endif
33013 main ()
33015 finitel(0);
33017 return 0;
33019 _ACEOF
33020 if ac_fn_cxx_try_compile "$LINENO"; then :
33021 glibcxx_cv_func_finitel_use=yes
33022 else
33023 glibcxx_cv_func_finitel_use=no
33025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33026 ac_ext=c
33027 ac_cpp='$CPP $CPPFLAGS'
33028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33037 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33039 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33040 for ac_func in finitel
33041 do :
33042 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33043 if test "x$ac_cv_func_finitel" = x""yes; then :
33044 cat >>confdefs.h <<_ACEOF
33045 #define HAVE_FINITEL 1
33046 _ACEOF
33049 done
33051 else
33053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33054 $as_echo_n "checking for _finitel declaration... " >&6; }
33055 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33056 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33057 $as_echo_n "(cached) " >&6
33058 else
33061 ac_ext=cpp
33062 ac_cpp='$CXXCPP $CPPFLAGS'
33063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33068 /* end confdefs.h. */
33069 #include <math.h>
33070 #ifdef HAVE_IEEEFP_H
33071 #include <ieeefp.h>
33072 #endif
33075 main ()
33077 _finitel(0);
33079 return 0;
33081 _ACEOF
33082 if ac_fn_cxx_try_compile "$LINENO"; then :
33083 glibcxx_cv_func__finitel_use=yes
33084 else
33085 glibcxx_cv_func__finitel_use=no
33087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33088 ac_ext=c
33089 ac_cpp='$CPP $CPPFLAGS'
33090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33099 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33101 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33102 for ac_func in _finitel
33103 do :
33104 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33105 if test "x$ac_cv_func__finitel" = x""yes; then :
33106 cat >>confdefs.h <<_ACEOF
33107 #define HAVE__FINITEL 1
33108 _ACEOF
33111 done
33119 LIBS="$ac_save_LIBS"
33120 CXXFLAGS="$ac_save_CXXFLAGS"
33123 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33124 ac_save_CXXFLAGS="$CXXFLAGS"
33125 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33129 $as_echo_n "checking for strtold declaration... " >&6; }
33130 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33131 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33132 $as_echo_n "(cached) " >&6
33133 else
33136 ac_ext=cpp
33137 ac_cpp='$CXXCPP $CPPFLAGS'
33138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33143 /* end confdefs.h. */
33144 #include <stdlib.h>
33146 main ()
33148 strtold(0, 0);
33150 return 0;
33152 _ACEOF
33153 if ac_fn_cxx_try_compile "$LINENO"; then :
33154 glibcxx_cv_func_strtold_use=yes
33155 else
33156 glibcxx_cv_func_strtold_use=no
33158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33159 ac_ext=c
33160 ac_cpp='$CPP $CPPFLAGS'
33161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33170 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33171 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33172 for ac_func in strtold
33173 do :
33174 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33175 if test "x$ac_cv_func_strtold" = x""yes; then :
33176 cat >>confdefs.h <<_ACEOF
33177 #define HAVE_STRTOLD 1
33178 _ACEOF
33181 done
33188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33189 $as_echo_n "checking for strtof declaration... " >&6; }
33190 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33191 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33192 $as_echo_n "(cached) " >&6
33193 else
33196 ac_ext=cpp
33197 ac_cpp='$CXXCPP $CPPFLAGS'
33198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33203 /* end confdefs.h. */
33204 #include <stdlib.h>
33206 main ()
33208 strtof(0, 0);
33210 return 0;
33212 _ACEOF
33213 if ac_fn_cxx_try_compile "$LINENO"; then :
33214 glibcxx_cv_func_strtof_use=yes
33215 else
33216 glibcxx_cv_func_strtof_use=no
33218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33219 ac_ext=c
33220 ac_cpp='$CPP $CPPFLAGS'
33221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33230 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33231 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33232 for ac_func in strtof
33233 do :
33234 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33235 if test "x$ac_cv_func_strtof" = x""yes; then :
33236 cat >>confdefs.h <<_ACEOF
33237 #define HAVE_STRTOF 1
33238 _ACEOF
33241 done
33248 CXXFLAGS="$ac_save_CXXFLAGS"
33251 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33253 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33255 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33257 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33260 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33262 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33264 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33268 *-aix*)
33270 # If we're not using GNU ld, then there's no point in even trying these
33271 # tests. Check for that first. We should have already tested for gld
33272 # by now (in libtool), but require it now just to be safe...
33273 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33274 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33278 # The name set by libtool depends on the version of libtool. Shame on us
33279 # for depending on an impl detail, but c'est la vie. Older versions used
33280 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33281 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33282 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33283 # set (hence we're using an older libtool), then set it.
33284 if test x${with_gnu_ld+set} != xset; then
33285 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33286 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33287 with_gnu_ld=no
33288 else
33289 with_gnu_ld=$ac_cv_prog_gnu_ld
33293 # Start by getting the version number. I think the libtool test already
33294 # does some of this, but throws away the result.
33295 glibcxx_ld_is_gold=no
33296 if test x"$with_gnu_ld" = x"yes"; then
33297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33298 $as_echo_n "checking for ld version... " >&6; }
33300 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33301 glibcxx_ld_is_gold=yes
33303 ldver=`$LD --version 2>/dev/null |
33304 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'`
33306 glibcxx_gnu_ld_version=`echo $ldver | \
33307 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33309 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33312 # Set --gc-sections.
33313 glibcxx_have_gc_sections=no
33314 if test "$glibcxx_ld_is_gold" = "yes"; then
33315 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33316 glibcxx_have_gc_sections=yes
33318 else
33319 glibcxx_gcsections_min_ld=21602
33320 if test x"$with_gnu_ld" = x"yes" &&
33321 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33322 glibcxx_have_gc_sections=yes
33325 if test "$glibcxx_have_gc_sections" = "yes"; then
33326 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33327 # NB: This flag only works reliably after 2.16.1. Configure tests
33328 # for this are difficult, so hard wire a value that should work.
33330 ac_test_CFLAGS="${CFLAGS+set}"
33331 ac_save_CFLAGS="$CFLAGS"
33332 CFLAGS='-Wl,--gc-sections'
33334 # Check for -Wl,--gc-sections
33335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33336 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33337 if test x$gcc_no_link = xyes; then
33338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33341 /* end confdefs.h. */
33342 int one(void) { return 1; }
33343 int two(void) { return 2; }
33346 main ()
33348 two();
33350 return 0;
33352 _ACEOF
33353 if ac_fn_c_try_link "$LINENO"; then :
33354 ac_gcsections=yes
33355 else
33356 ac_gcsections=no
33358 rm -f core conftest.err conftest.$ac_objext \
33359 conftest$ac_exeext conftest.$ac_ext
33360 if test "$ac_gcsections" = "yes"; then
33361 rm -f conftest.c
33362 touch conftest.c
33363 if $CC -c conftest.c; then
33364 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33365 grep "Warning: gc-sections option ignored" > /dev/null; then
33366 ac_gcsections=no
33369 rm -f conftest.c conftest.o conftest
33371 if test "$ac_gcsections" = "yes"; then
33372 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33375 $as_echo "$ac_gcsections" >&6; }
33377 if test "$ac_test_CFLAGS" = set; then
33378 CFLAGS="$ac_save_CFLAGS"
33379 else
33380 # this is the suspicious part
33381 CFLAGS=''
33385 # Set -z,relro.
33386 # Note this is only for shared objects.
33387 ac_ld_relro=no
33388 if test x"$with_gnu_ld" = x"yes"; then
33389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33390 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33391 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33392 if test -n "$cxx_z_relo"; then
33393 OPT_LDFLAGS="-Wl,-z,relro"
33394 ac_ld_relro=yes
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33397 $as_echo "$ac_ld_relro" >&6; }
33400 # Set linker optimization flags.
33401 if test x"$with_gnu_ld" = x"yes"; then
33402 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33409 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33410 ac_save_CXXFLAGS="$CXXFLAGS"
33411 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33414 $as_echo_n "checking for sin in -lm... " >&6; }
33415 if test "${ac_cv_lib_m_sin+set}" = set; then :
33416 $as_echo_n "(cached) " >&6
33417 else
33418 ac_check_lib_save_LIBS=$LIBS
33419 LIBS="-lm $LIBS"
33420 if test x$gcc_no_link = xyes; then
33421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33424 /* end confdefs.h. */
33426 /* Override any GCC internal prototype to avoid an error.
33427 Use char because int might match the return type of a GCC
33428 builtin and then its argument prototype would still apply. */
33429 #ifdef __cplusplus
33430 extern "C"
33431 #endif
33432 char sin ();
33434 main ()
33436 return sin ();
33438 return 0;
33440 _ACEOF
33441 if ac_fn_c_try_link "$LINENO"; then :
33442 ac_cv_lib_m_sin=yes
33443 else
33444 ac_cv_lib_m_sin=no
33446 rm -f core conftest.err conftest.$ac_objext \
33447 conftest$ac_exeext conftest.$ac_ext
33448 LIBS=$ac_check_lib_save_LIBS
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33451 $as_echo "$ac_cv_lib_m_sin" >&6; }
33452 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33453 libm="-lm"
33456 ac_save_LIBS="$LIBS"
33457 LIBS="$LIBS $libm"
33461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33462 $as_echo_n "checking for isinf declaration... " >&6; }
33463 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33464 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33465 $as_echo_n "(cached) " >&6
33466 else
33469 ac_ext=cpp
33470 ac_cpp='$CXXCPP $CPPFLAGS'
33471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33476 /* end confdefs.h. */
33477 #include <math.h>
33478 #ifdef HAVE_IEEEFP_H
33479 #include <ieeefp.h>
33480 #endif
33483 main ()
33485 isinf(0);
33487 return 0;
33489 _ACEOF
33490 if ac_fn_cxx_try_compile "$LINENO"; then :
33491 glibcxx_cv_func_isinf_use=yes
33492 else
33493 glibcxx_cv_func_isinf_use=no
33495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33496 ac_ext=c
33497 ac_cpp='$CPP $CPPFLAGS'
33498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33507 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33509 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33510 for ac_func in isinf
33511 do :
33512 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33513 if test "x$ac_cv_func_isinf" = x""yes; then :
33514 cat >>confdefs.h <<_ACEOF
33515 #define HAVE_ISINF 1
33516 _ACEOF
33519 done
33521 else
33523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33524 $as_echo_n "checking for _isinf declaration... " >&6; }
33525 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33526 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33527 $as_echo_n "(cached) " >&6
33528 else
33531 ac_ext=cpp
33532 ac_cpp='$CXXCPP $CPPFLAGS'
33533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33538 /* end confdefs.h. */
33539 #include <math.h>
33540 #ifdef HAVE_IEEEFP_H
33541 #include <ieeefp.h>
33542 #endif
33545 main ()
33547 _isinf(0);
33549 return 0;
33551 _ACEOF
33552 if ac_fn_cxx_try_compile "$LINENO"; then :
33553 glibcxx_cv_func__isinf_use=yes
33554 else
33555 glibcxx_cv_func__isinf_use=no
33557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33558 ac_ext=c
33559 ac_cpp='$CPP $CPPFLAGS'
33560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33569 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33571 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33572 for ac_func in _isinf
33573 do :
33574 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33575 if test "x$ac_cv_func__isinf" = x""yes; then :
33576 cat >>confdefs.h <<_ACEOF
33577 #define HAVE__ISINF 1
33578 _ACEOF
33581 done
33590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33591 $as_echo_n "checking for isnan declaration... " >&6; }
33592 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33593 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33594 $as_echo_n "(cached) " >&6
33595 else
33598 ac_ext=cpp
33599 ac_cpp='$CXXCPP $CPPFLAGS'
33600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33605 /* end confdefs.h. */
33606 #include <math.h>
33607 #ifdef HAVE_IEEEFP_H
33608 #include <ieeefp.h>
33609 #endif
33612 main ()
33614 isnan(0);
33616 return 0;
33618 _ACEOF
33619 if ac_fn_cxx_try_compile "$LINENO"; then :
33620 glibcxx_cv_func_isnan_use=yes
33621 else
33622 glibcxx_cv_func_isnan_use=no
33624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33625 ac_ext=c
33626 ac_cpp='$CPP $CPPFLAGS'
33627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33636 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33638 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33639 for ac_func in isnan
33640 do :
33641 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33642 if test "x$ac_cv_func_isnan" = x""yes; then :
33643 cat >>confdefs.h <<_ACEOF
33644 #define HAVE_ISNAN 1
33645 _ACEOF
33648 done
33650 else
33652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33653 $as_echo_n "checking for _isnan declaration... " >&6; }
33654 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33655 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33656 $as_echo_n "(cached) " >&6
33657 else
33660 ac_ext=cpp
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33667 /* end confdefs.h. */
33668 #include <math.h>
33669 #ifdef HAVE_IEEEFP_H
33670 #include <ieeefp.h>
33671 #endif
33674 main ()
33676 _isnan(0);
33678 return 0;
33680 _ACEOF
33681 if ac_fn_cxx_try_compile "$LINENO"; then :
33682 glibcxx_cv_func__isnan_use=yes
33683 else
33684 glibcxx_cv_func__isnan_use=no
33686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33687 ac_ext=c
33688 ac_cpp='$CPP $CPPFLAGS'
33689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33698 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33700 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33701 for ac_func in _isnan
33702 do :
33703 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33704 if test "x$ac_cv_func__isnan" = x""yes; then :
33705 cat >>confdefs.h <<_ACEOF
33706 #define HAVE__ISNAN 1
33707 _ACEOF
33710 done
33719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33720 $as_echo_n "checking for finite declaration... " >&6; }
33721 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33722 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33723 $as_echo_n "(cached) " >&6
33724 else
33727 ac_ext=cpp
33728 ac_cpp='$CXXCPP $CPPFLAGS'
33729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33734 /* end confdefs.h. */
33735 #include <math.h>
33736 #ifdef HAVE_IEEEFP_H
33737 #include <ieeefp.h>
33738 #endif
33741 main ()
33743 finite(0);
33745 return 0;
33747 _ACEOF
33748 if ac_fn_cxx_try_compile "$LINENO"; then :
33749 glibcxx_cv_func_finite_use=yes
33750 else
33751 glibcxx_cv_func_finite_use=no
33753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33754 ac_ext=c
33755 ac_cpp='$CPP $CPPFLAGS'
33756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33765 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33767 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33768 for ac_func in finite
33769 do :
33770 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33771 if test "x$ac_cv_func_finite" = x""yes; then :
33772 cat >>confdefs.h <<_ACEOF
33773 #define HAVE_FINITE 1
33774 _ACEOF
33777 done
33779 else
33781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33782 $as_echo_n "checking for _finite declaration... " >&6; }
33783 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33784 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33785 $as_echo_n "(cached) " >&6
33786 else
33789 ac_ext=cpp
33790 ac_cpp='$CXXCPP $CPPFLAGS'
33791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33796 /* end confdefs.h. */
33797 #include <math.h>
33798 #ifdef HAVE_IEEEFP_H
33799 #include <ieeefp.h>
33800 #endif
33803 main ()
33805 _finite(0);
33807 return 0;
33809 _ACEOF
33810 if ac_fn_cxx_try_compile "$LINENO"; then :
33811 glibcxx_cv_func__finite_use=yes
33812 else
33813 glibcxx_cv_func__finite_use=no
33815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33816 ac_ext=c
33817 ac_cpp='$CPP $CPPFLAGS'
33818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33827 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33829 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33830 for ac_func in _finite
33831 do :
33832 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33833 if test "x$ac_cv_func__finite" = x""yes; then :
33834 cat >>confdefs.h <<_ACEOF
33835 #define HAVE__FINITE 1
33836 _ACEOF
33839 done
33848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33849 $as_echo_n "checking for sincos declaration... " >&6; }
33850 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33851 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33852 $as_echo_n "(cached) " >&6
33853 else
33856 ac_ext=cpp
33857 ac_cpp='$CXXCPP $CPPFLAGS'
33858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33863 /* end confdefs.h. */
33864 #include <math.h>
33866 main ()
33868 sincos(0, 0, 0);
33870 return 0;
33872 _ACEOF
33873 if ac_fn_cxx_try_compile "$LINENO"; then :
33874 glibcxx_cv_func_sincos_use=yes
33875 else
33876 glibcxx_cv_func_sincos_use=no
33878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33879 ac_ext=c
33880 ac_cpp='$CPP $CPPFLAGS'
33881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33890 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33892 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33893 for ac_func in sincos
33894 do :
33895 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33896 if test "x$ac_cv_func_sincos" = x""yes; then :
33897 cat >>confdefs.h <<_ACEOF
33898 #define HAVE_SINCOS 1
33899 _ACEOF
33902 done
33904 else
33906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33907 $as_echo_n "checking for _sincos declaration... " >&6; }
33908 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33909 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33910 $as_echo_n "(cached) " >&6
33911 else
33914 ac_ext=cpp
33915 ac_cpp='$CXXCPP $CPPFLAGS'
33916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33921 /* end confdefs.h. */
33922 #include <math.h>
33924 main ()
33926 _sincos(0, 0, 0);
33928 return 0;
33930 _ACEOF
33931 if ac_fn_cxx_try_compile "$LINENO"; then :
33932 glibcxx_cv_func__sincos_use=yes
33933 else
33934 glibcxx_cv_func__sincos_use=no
33936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33937 ac_ext=c
33938 ac_cpp='$CPP $CPPFLAGS'
33939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33948 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33950 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33951 for ac_func in _sincos
33952 do :
33953 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33954 if test "x$ac_cv_func__sincos" = x""yes; then :
33955 cat >>confdefs.h <<_ACEOF
33956 #define HAVE__SINCOS 1
33957 _ACEOF
33960 done
33969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33970 $as_echo_n "checking for fpclass declaration... " >&6; }
33971 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33972 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33973 $as_echo_n "(cached) " >&6
33974 else
33977 ac_ext=cpp
33978 ac_cpp='$CXXCPP $CPPFLAGS'
33979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33984 /* end confdefs.h. */
33985 #include <math.h>
33986 #ifdef HAVE_IEEEFP_H
33987 #include <ieeefp.h>
33988 #endif
33991 main ()
33993 fpclass(0);
33995 return 0;
33997 _ACEOF
33998 if ac_fn_cxx_try_compile "$LINENO"; then :
33999 glibcxx_cv_func_fpclass_use=yes
34000 else
34001 glibcxx_cv_func_fpclass_use=no
34003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34004 ac_ext=c
34005 ac_cpp='$CPP $CPPFLAGS'
34006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34015 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34017 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34018 for ac_func in fpclass
34019 do :
34020 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34021 if test "x$ac_cv_func_fpclass" = x""yes; then :
34022 cat >>confdefs.h <<_ACEOF
34023 #define HAVE_FPCLASS 1
34024 _ACEOF
34027 done
34029 else
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34032 $as_echo_n "checking for _fpclass declaration... " >&6; }
34033 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34034 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34035 $as_echo_n "(cached) " >&6
34036 else
34039 ac_ext=cpp
34040 ac_cpp='$CXXCPP $CPPFLAGS'
34041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34046 /* end confdefs.h. */
34047 #include <math.h>
34048 #ifdef HAVE_IEEEFP_H
34049 #include <ieeefp.h>
34050 #endif
34053 main ()
34055 _fpclass(0);
34057 return 0;
34059 _ACEOF
34060 if ac_fn_cxx_try_compile "$LINENO"; then :
34061 glibcxx_cv_func__fpclass_use=yes
34062 else
34063 glibcxx_cv_func__fpclass_use=no
34065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34066 ac_ext=c
34067 ac_cpp='$CPP $CPPFLAGS'
34068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34077 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34079 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34080 for ac_func in _fpclass
34081 do :
34082 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34083 if test "x$ac_cv_func__fpclass" = x""yes; then :
34084 cat >>confdefs.h <<_ACEOF
34085 #define HAVE__FPCLASS 1
34086 _ACEOF
34089 done
34098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34099 $as_echo_n "checking for qfpclass declaration... " >&6; }
34100 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34101 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34102 $as_echo_n "(cached) " >&6
34103 else
34106 ac_ext=cpp
34107 ac_cpp='$CXXCPP $CPPFLAGS'
34108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34113 /* end confdefs.h. */
34114 #include <math.h>
34115 #ifdef HAVE_IEEEFP_H
34116 #include <ieeefp.h>
34117 #endif
34120 main ()
34122 qfpclass(0);
34124 return 0;
34126 _ACEOF
34127 if ac_fn_cxx_try_compile "$LINENO"; then :
34128 glibcxx_cv_func_qfpclass_use=yes
34129 else
34130 glibcxx_cv_func_qfpclass_use=no
34132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34133 ac_ext=c
34134 ac_cpp='$CPP $CPPFLAGS'
34135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34144 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34146 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34147 for ac_func in qfpclass
34148 do :
34149 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34150 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34151 cat >>confdefs.h <<_ACEOF
34152 #define HAVE_QFPCLASS 1
34153 _ACEOF
34156 done
34158 else
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34161 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34162 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34163 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34164 $as_echo_n "(cached) " >&6
34165 else
34168 ac_ext=cpp
34169 ac_cpp='$CXXCPP $CPPFLAGS'
34170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34175 /* end confdefs.h. */
34176 #include <math.h>
34177 #ifdef HAVE_IEEEFP_H
34178 #include <ieeefp.h>
34179 #endif
34182 main ()
34184 _qfpclass(0);
34186 return 0;
34188 _ACEOF
34189 if ac_fn_cxx_try_compile "$LINENO"; then :
34190 glibcxx_cv_func__qfpclass_use=yes
34191 else
34192 glibcxx_cv_func__qfpclass_use=no
34194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34195 ac_ext=c
34196 ac_cpp='$CPP $CPPFLAGS'
34197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34206 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34208 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34209 for ac_func in _qfpclass
34210 do :
34211 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34212 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34213 cat >>confdefs.h <<_ACEOF
34214 #define HAVE__QFPCLASS 1
34215 _ACEOF
34218 done
34227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34228 $as_echo_n "checking for hypot declaration... " >&6; }
34229 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34230 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34231 $as_echo_n "(cached) " >&6
34232 else
34235 ac_ext=cpp
34236 ac_cpp='$CXXCPP $CPPFLAGS'
34237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34242 /* end confdefs.h. */
34243 #include <math.h>
34245 main ()
34247 hypot(0, 0);
34249 return 0;
34251 _ACEOF
34252 if ac_fn_cxx_try_compile "$LINENO"; then :
34253 glibcxx_cv_func_hypot_use=yes
34254 else
34255 glibcxx_cv_func_hypot_use=no
34257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34258 ac_ext=c
34259 ac_cpp='$CPP $CPPFLAGS'
34260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34269 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34271 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34272 for ac_func in hypot
34273 do :
34274 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34275 if test "x$ac_cv_func_hypot" = x""yes; then :
34276 cat >>confdefs.h <<_ACEOF
34277 #define HAVE_HYPOT 1
34278 _ACEOF
34281 done
34283 else
34285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34286 $as_echo_n "checking for _hypot declaration... " >&6; }
34287 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34288 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34289 $as_echo_n "(cached) " >&6
34290 else
34293 ac_ext=cpp
34294 ac_cpp='$CXXCPP $CPPFLAGS'
34295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34300 /* end confdefs.h. */
34301 #include <math.h>
34303 main ()
34305 _hypot(0, 0);
34307 return 0;
34309 _ACEOF
34310 if ac_fn_cxx_try_compile "$LINENO"; then :
34311 glibcxx_cv_func__hypot_use=yes
34312 else
34313 glibcxx_cv_func__hypot_use=no
34315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34316 ac_ext=c
34317 ac_cpp='$CPP $CPPFLAGS'
34318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34327 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34329 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34330 for ac_func in _hypot
34331 do :
34332 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34333 if test "x$ac_cv_func__hypot" = x""yes; then :
34334 cat >>confdefs.h <<_ACEOF
34335 #define HAVE__HYPOT 1
34336 _ACEOF
34339 done
34348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34349 $as_echo_n "checking for float trig functions... " >&6; }
34350 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34351 $as_echo_n "(cached) " >&6
34352 else
34355 ac_ext=cpp
34356 ac_cpp='$CXXCPP $CPPFLAGS'
34357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34362 /* end confdefs.h. */
34363 #include <math.h>
34365 main ()
34367 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34369 return 0;
34371 _ACEOF
34372 if ac_fn_cxx_try_compile "$LINENO"; then :
34373 glibcxx_cv_func_float_trig_use=yes
34374 else
34375 glibcxx_cv_func_float_trig_use=no
34377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34378 ac_ext=c
34379 ac_cpp='$CPP $CPPFLAGS'
34380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34387 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34388 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34389 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34390 do :
34391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34393 eval as_val=\$$as_ac_var
34394 if test "x$as_val" = x""yes; then :
34395 cat >>confdefs.h <<_ACEOF
34396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34397 _ACEOF
34400 done
34402 else
34403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34404 $as_echo_n "checking for _float trig functions... " >&6; }
34405 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34406 $as_echo_n "(cached) " >&6
34407 else
34410 ac_ext=cpp
34411 ac_cpp='$CXXCPP $CPPFLAGS'
34412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34417 /* end confdefs.h. */
34418 #include <math.h>
34420 main ()
34422 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34424 return 0;
34426 _ACEOF
34427 if ac_fn_cxx_try_compile "$LINENO"; then :
34428 glibcxx_cv_func__float_trig_use=yes
34429 else
34430 glibcxx_cv_func__float_trig_use=no
34432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34433 ac_ext=c
34434 ac_cpp='$CPP $CPPFLAGS'
34435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34442 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34443 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34444 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34445 do :
34446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34448 eval as_val=\$$as_ac_var
34449 if test "x$as_val" = x""yes; then :
34450 cat >>confdefs.h <<_ACEOF
34451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34452 _ACEOF
34455 done
34464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34465 $as_echo_n "checking for float round functions... " >&6; }
34466 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34467 $as_echo_n "(cached) " >&6
34468 else
34471 ac_ext=cpp
34472 ac_cpp='$CXXCPP $CPPFLAGS'
34473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34478 /* end confdefs.h. */
34479 #include <math.h>
34481 main ()
34483 ceilf (0); floorf (0);
34485 return 0;
34487 _ACEOF
34488 if ac_fn_cxx_try_compile "$LINENO"; then :
34489 glibcxx_cv_func_float_round_use=yes
34490 else
34491 glibcxx_cv_func_float_round_use=no
34493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494 ac_ext=c
34495 ac_cpp='$CPP $CPPFLAGS'
34496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34503 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34504 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34505 for ac_func in ceilf floorf
34506 do :
34507 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34508 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34509 eval as_val=\$$as_ac_var
34510 if test "x$as_val" = x""yes; then :
34511 cat >>confdefs.h <<_ACEOF
34512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34513 _ACEOF
34516 done
34518 else
34519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34520 $as_echo_n "checking for _float round functions... " >&6; }
34521 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34522 $as_echo_n "(cached) " >&6
34523 else
34526 ac_ext=cpp
34527 ac_cpp='$CXXCPP $CPPFLAGS'
34528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34533 /* end confdefs.h. */
34534 #include <math.h>
34536 main ()
34538 _ceilf (0); _floorf (0);
34540 return 0;
34542 _ACEOF
34543 if ac_fn_cxx_try_compile "$LINENO"; then :
34544 glibcxx_cv_func__float_round_use=yes
34545 else
34546 glibcxx_cv_func__float_round_use=no
34548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34549 ac_ext=c
34550 ac_cpp='$CPP $CPPFLAGS'
34551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34558 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34559 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34560 for ac_func in _ceilf _floorf
34561 do :
34562 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34563 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34564 eval as_val=\$$as_ac_var
34565 if test "x$as_val" = x""yes; then :
34566 cat >>confdefs.h <<_ACEOF
34567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34568 _ACEOF
34571 done
34581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34582 $as_echo_n "checking for expf declaration... " >&6; }
34583 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34584 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34585 $as_echo_n "(cached) " >&6
34586 else
34589 ac_ext=cpp
34590 ac_cpp='$CXXCPP $CPPFLAGS'
34591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34596 /* end confdefs.h. */
34597 #include <math.h>
34598 #ifdef HAVE_IEEEFP_H
34599 #include <ieeefp.h>
34600 #endif
34603 main ()
34605 expf(0);
34607 return 0;
34609 _ACEOF
34610 if ac_fn_cxx_try_compile "$LINENO"; then :
34611 glibcxx_cv_func_expf_use=yes
34612 else
34613 glibcxx_cv_func_expf_use=no
34615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34616 ac_ext=c
34617 ac_cpp='$CPP $CPPFLAGS'
34618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34627 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34629 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34630 for ac_func in expf
34631 do :
34632 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34633 if test "x$ac_cv_func_expf" = x""yes; then :
34634 cat >>confdefs.h <<_ACEOF
34635 #define HAVE_EXPF 1
34636 _ACEOF
34639 done
34641 else
34643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34644 $as_echo_n "checking for _expf declaration... " >&6; }
34645 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34646 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34647 $as_echo_n "(cached) " >&6
34648 else
34651 ac_ext=cpp
34652 ac_cpp='$CXXCPP $CPPFLAGS'
34653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34658 /* end confdefs.h. */
34659 #include <math.h>
34660 #ifdef HAVE_IEEEFP_H
34661 #include <ieeefp.h>
34662 #endif
34665 main ()
34667 _expf(0);
34669 return 0;
34671 _ACEOF
34672 if ac_fn_cxx_try_compile "$LINENO"; then :
34673 glibcxx_cv_func__expf_use=yes
34674 else
34675 glibcxx_cv_func__expf_use=no
34677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34678 ac_ext=c
34679 ac_cpp='$CPP $CPPFLAGS'
34680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34689 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34691 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34692 for ac_func in _expf
34693 do :
34694 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34695 if test "x$ac_cv_func__expf" = x""yes; then :
34696 cat >>confdefs.h <<_ACEOF
34697 #define HAVE__EXPF 1
34698 _ACEOF
34701 done
34710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34711 $as_echo_n "checking for isnanf declaration... " >&6; }
34712 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34713 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34714 $as_echo_n "(cached) " >&6
34715 else
34718 ac_ext=cpp
34719 ac_cpp='$CXXCPP $CPPFLAGS'
34720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34725 /* end confdefs.h. */
34726 #include <math.h>
34727 #ifdef HAVE_IEEEFP_H
34728 #include <ieeefp.h>
34729 #endif
34732 main ()
34734 isnanf(0);
34736 return 0;
34738 _ACEOF
34739 if ac_fn_cxx_try_compile "$LINENO"; then :
34740 glibcxx_cv_func_isnanf_use=yes
34741 else
34742 glibcxx_cv_func_isnanf_use=no
34744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34745 ac_ext=c
34746 ac_cpp='$CPP $CPPFLAGS'
34747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34756 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34758 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34759 for ac_func in isnanf
34760 do :
34761 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34762 if test "x$ac_cv_func_isnanf" = x""yes; then :
34763 cat >>confdefs.h <<_ACEOF
34764 #define HAVE_ISNANF 1
34765 _ACEOF
34768 done
34770 else
34772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34773 $as_echo_n "checking for _isnanf declaration... " >&6; }
34774 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34775 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34776 $as_echo_n "(cached) " >&6
34777 else
34780 ac_ext=cpp
34781 ac_cpp='$CXXCPP $CPPFLAGS'
34782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34787 /* end confdefs.h. */
34788 #include <math.h>
34789 #ifdef HAVE_IEEEFP_H
34790 #include <ieeefp.h>
34791 #endif
34794 main ()
34796 _isnanf(0);
34798 return 0;
34800 _ACEOF
34801 if ac_fn_cxx_try_compile "$LINENO"; then :
34802 glibcxx_cv_func__isnanf_use=yes
34803 else
34804 glibcxx_cv_func__isnanf_use=no
34806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34807 ac_ext=c
34808 ac_cpp='$CPP $CPPFLAGS'
34809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34818 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34820 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34821 for ac_func in _isnanf
34822 do :
34823 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34824 if test "x$ac_cv_func__isnanf" = x""yes; then :
34825 cat >>confdefs.h <<_ACEOF
34826 #define HAVE__ISNANF 1
34827 _ACEOF
34830 done
34839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34840 $as_echo_n "checking for isinff declaration... " >&6; }
34841 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34842 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34843 $as_echo_n "(cached) " >&6
34844 else
34847 ac_ext=cpp
34848 ac_cpp='$CXXCPP $CPPFLAGS'
34849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34854 /* end confdefs.h. */
34855 #include <math.h>
34856 #ifdef HAVE_IEEEFP_H
34857 #include <ieeefp.h>
34858 #endif
34861 main ()
34863 isinff(0);
34865 return 0;
34867 _ACEOF
34868 if ac_fn_cxx_try_compile "$LINENO"; then :
34869 glibcxx_cv_func_isinff_use=yes
34870 else
34871 glibcxx_cv_func_isinff_use=no
34873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34874 ac_ext=c
34875 ac_cpp='$CPP $CPPFLAGS'
34876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34885 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34887 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34888 for ac_func in isinff
34889 do :
34890 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34891 if test "x$ac_cv_func_isinff" = x""yes; then :
34892 cat >>confdefs.h <<_ACEOF
34893 #define HAVE_ISINFF 1
34894 _ACEOF
34897 done
34899 else
34901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34902 $as_echo_n "checking for _isinff declaration... " >&6; }
34903 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34904 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34905 $as_echo_n "(cached) " >&6
34906 else
34909 ac_ext=cpp
34910 ac_cpp='$CXXCPP $CPPFLAGS'
34911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34916 /* end confdefs.h. */
34917 #include <math.h>
34918 #ifdef HAVE_IEEEFP_H
34919 #include <ieeefp.h>
34920 #endif
34923 main ()
34925 _isinff(0);
34927 return 0;
34929 _ACEOF
34930 if ac_fn_cxx_try_compile "$LINENO"; then :
34931 glibcxx_cv_func__isinff_use=yes
34932 else
34933 glibcxx_cv_func__isinff_use=no
34935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34936 ac_ext=c
34937 ac_cpp='$CPP $CPPFLAGS'
34938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34947 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34949 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34950 for ac_func in _isinff
34951 do :
34952 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34953 if test "x$ac_cv_func__isinff" = x""yes; then :
34954 cat >>confdefs.h <<_ACEOF
34955 #define HAVE__ISINFF 1
34956 _ACEOF
34959 done
34968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34969 $as_echo_n "checking for atan2f declaration... " >&6; }
34970 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34971 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34972 $as_echo_n "(cached) " >&6
34973 else
34976 ac_ext=cpp
34977 ac_cpp='$CXXCPP $CPPFLAGS'
34978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34983 /* end confdefs.h. */
34984 #include <math.h>
34986 main ()
34988 atan2f(0, 0);
34990 return 0;
34992 _ACEOF
34993 if ac_fn_cxx_try_compile "$LINENO"; then :
34994 glibcxx_cv_func_atan2f_use=yes
34995 else
34996 glibcxx_cv_func_atan2f_use=no
34998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34999 ac_ext=c
35000 ac_cpp='$CPP $CPPFLAGS'
35001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35010 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35012 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35013 for ac_func in atan2f
35014 do :
35015 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35016 if test "x$ac_cv_func_atan2f" = x""yes; then :
35017 cat >>confdefs.h <<_ACEOF
35018 #define HAVE_ATAN2F 1
35019 _ACEOF
35022 done
35024 else
35026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35027 $as_echo_n "checking for _atan2f declaration... " >&6; }
35028 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35029 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35030 $as_echo_n "(cached) " >&6
35031 else
35034 ac_ext=cpp
35035 ac_cpp='$CXXCPP $CPPFLAGS'
35036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35041 /* end confdefs.h. */
35042 #include <math.h>
35044 main ()
35046 _atan2f(0, 0);
35048 return 0;
35050 _ACEOF
35051 if ac_fn_cxx_try_compile "$LINENO"; then :
35052 glibcxx_cv_func__atan2f_use=yes
35053 else
35054 glibcxx_cv_func__atan2f_use=no
35056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35057 ac_ext=c
35058 ac_cpp='$CPP $CPPFLAGS'
35059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35068 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35070 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35071 for ac_func in _atan2f
35072 do :
35073 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35074 if test "x$ac_cv_func__atan2f" = x""yes; then :
35075 cat >>confdefs.h <<_ACEOF
35076 #define HAVE__ATAN2F 1
35077 _ACEOF
35080 done
35089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35090 $as_echo_n "checking for fabsf declaration... " >&6; }
35091 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35092 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35093 $as_echo_n "(cached) " >&6
35094 else
35097 ac_ext=cpp
35098 ac_cpp='$CXXCPP $CPPFLAGS'
35099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35104 /* end confdefs.h. */
35105 #include <math.h>
35106 #ifdef HAVE_IEEEFP_H
35107 #include <ieeefp.h>
35108 #endif
35111 main ()
35113 fabsf(0);
35115 return 0;
35117 _ACEOF
35118 if ac_fn_cxx_try_compile "$LINENO"; then :
35119 glibcxx_cv_func_fabsf_use=yes
35120 else
35121 glibcxx_cv_func_fabsf_use=no
35123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35124 ac_ext=c
35125 ac_cpp='$CPP $CPPFLAGS'
35126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35135 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35137 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35138 for ac_func in fabsf
35139 do :
35140 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35141 if test "x$ac_cv_func_fabsf" = x""yes; then :
35142 cat >>confdefs.h <<_ACEOF
35143 #define HAVE_FABSF 1
35144 _ACEOF
35147 done
35149 else
35151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35152 $as_echo_n "checking for _fabsf declaration... " >&6; }
35153 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35154 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35155 $as_echo_n "(cached) " >&6
35156 else
35159 ac_ext=cpp
35160 ac_cpp='$CXXCPP $CPPFLAGS'
35161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35166 /* end confdefs.h. */
35167 #include <math.h>
35168 #ifdef HAVE_IEEEFP_H
35169 #include <ieeefp.h>
35170 #endif
35173 main ()
35175 _fabsf(0);
35177 return 0;
35179 _ACEOF
35180 if ac_fn_cxx_try_compile "$LINENO"; then :
35181 glibcxx_cv_func__fabsf_use=yes
35182 else
35183 glibcxx_cv_func__fabsf_use=no
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186 ac_ext=c
35187 ac_cpp='$CPP $CPPFLAGS'
35188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35197 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35199 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35200 for ac_func in _fabsf
35201 do :
35202 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35203 if test "x$ac_cv_func__fabsf" = x""yes; then :
35204 cat >>confdefs.h <<_ACEOF
35205 #define HAVE__FABSF 1
35206 _ACEOF
35209 done
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35219 $as_echo_n "checking for fmodf declaration... " >&6; }
35220 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35221 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35222 $as_echo_n "(cached) " >&6
35223 else
35226 ac_ext=cpp
35227 ac_cpp='$CXXCPP $CPPFLAGS'
35228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35233 /* end confdefs.h. */
35234 #include <math.h>
35236 main ()
35238 fmodf(0, 0);
35240 return 0;
35242 _ACEOF
35243 if ac_fn_cxx_try_compile "$LINENO"; then :
35244 glibcxx_cv_func_fmodf_use=yes
35245 else
35246 glibcxx_cv_func_fmodf_use=no
35248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35249 ac_ext=c
35250 ac_cpp='$CPP $CPPFLAGS'
35251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35260 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35262 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35263 for ac_func in fmodf
35264 do :
35265 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35266 if test "x$ac_cv_func_fmodf" = x""yes; then :
35267 cat >>confdefs.h <<_ACEOF
35268 #define HAVE_FMODF 1
35269 _ACEOF
35272 done
35274 else
35276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35277 $as_echo_n "checking for _fmodf declaration... " >&6; }
35278 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35279 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35280 $as_echo_n "(cached) " >&6
35281 else
35284 ac_ext=cpp
35285 ac_cpp='$CXXCPP $CPPFLAGS'
35286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35291 /* end confdefs.h. */
35292 #include <math.h>
35294 main ()
35296 _fmodf(0, 0);
35298 return 0;
35300 _ACEOF
35301 if ac_fn_cxx_try_compile "$LINENO"; then :
35302 glibcxx_cv_func__fmodf_use=yes
35303 else
35304 glibcxx_cv_func__fmodf_use=no
35306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35307 ac_ext=c
35308 ac_cpp='$CPP $CPPFLAGS'
35309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35318 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35320 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35321 for ac_func in _fmodf
35322 do :
35323 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35324 if test "x$ac_cv_func__fmodf" = x""yes; then :
35325 cat >>confdefs.h <<_ACEOF
35326 #define HAVE__FMODF 1
35327 _ACEOF
35330 done
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35340 $as_echo_n "checking for frexpf declaration... " >&6; }
35341 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35342 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35343 $as_echo_n "(cached) " >&6
35344 else
35347 ac_ext=cpp
35348 ac_cpp='$CXXCPP $CPPFLAGS'
35349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35354 /* end confdefs.h. */
35355 #include <math.h>
35357 main ()
35359 frexpf(0, 0);
35361 return 0;
35363 _ACEOF
35364 if ac_fn_cxx_try_compile "$LINENO"; then :
35365 glibcxx_cv_func_frexpf_use=yes
35366 else
35367 glibcxx_cv_func_frexpf_use=no
35369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35370 ac_ext=c
35371 ac_cpp='$CPP $CPPFLAGS'
35372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35381 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35383 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35384 for ac_func in frexpf
35385 do :
35386 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35387 if test "x$ac_cv_func_frexpf" = x""yes; then :
35388 cat >>confdefs.h <<_ACEOF
35389 #define HAVE_FREXPF 1
35390 _ACEOF
35393 done
35395 else
35397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35398 $as_echo_n "checking for _frexpf declaration... " >&6; }
35399 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35400 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35401 $as_echo_n "(cached) " >&6
35402 else
35405 ac_ext=cpp
35406 ac_cpp='$CXXCPP $CPPFLAGS'
35407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35412 /* end confdefs.h. */
35413 #include <math.h>
35415 main ()
35417 _frexpf(0, 0);
35419 return 0;
35421 _ACEOF
35422 if ac_fn_cxx_try_compile "$LINENO"; then :
35423 glibcxx_cv_func__frexpf_use=yes
35424 else
35425 glibcxx_cv_func__frexpf_use=no
35427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35428 ac_ext=c
35429 ac_cpp='$CPP $CPPFLAGS'
35430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35439 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35441 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35442 for ac_func in _frexpf
35443 do :
35444 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35445 if test "x$ac_cv_func__frexpf" = x""yes; then :
35446 cat >>confdefs.h <<_ACEOF
35447 #define HAVE__FREXPF 1
35448 _ACEOF
35451 done
35460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35461 $as_echo_n "checking for hypotf declaration... " >&6; }
35462 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35463 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35464 $as_echo_n "(cached) " >&6
35465 else
35468 ac_ext=cpp
35469 ac_cpp='$CXXCPP $CPPFLAGS'
35470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35475 /* end confdefs.h. */
35476 #include <math.h>
35478 main ()
35480 hypotf(0, 0);
35482 return 0;
35484 _ACEOF
35485 if ac_fn_cxx_try_compile "$LINENO"; then :
35486 glibcxx_cv_func_hypotf_use=yes
35487 else
35488 glibcxx_cv_func_hypotf_use=no
35490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35491 ac_ext=c
35492 ac_cpp='$CPP $CPPFLAGS'
35493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35502 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35504 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35505 for ac_func in hypotf
35506 do :
35507 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35508 if test "x$ac_cv_func_hypotf" = x""yes; then :
35509 cat >>confdefs.h <<_ACEOF
35510 #define HAVE_HYPOTF 1
35511 _ACEOF
35514 done
35516 else
35518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35519 $as_echo_n "checking for _hypotf declaration... " >&6; }
35520 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35521 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35522 $as_echo_n "(cached) " >&6
35523 else
35526 ac_ext=cpp
35527 ac_cpp='$CXXCPP $CPPFLAGS'
35528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35533 /* end confdefs.h. */
35534 #include <math.h>
35536 main ()
35538 _hypotf(0, 0);
35540 return 0;
35542 _ACEOF
35543 if ac_fn_cxx_try_compile "$LINENO"; then :
35544 glibcxx_cv_func__hypotf_use=yes
35545 else
35546 glibcxx_cv_func__hypotf_use=no
35548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35549 ac_ext=c
35550 ac_cpp='$CPP $CPPFLAGS'
35551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35560 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35562 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35563 for ac_func in _hypotf
35564 do :
35565 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35566 if test "x$ac_cv_func__hypotf" = x""yes; then :
35567 cat >>confdefs.h <<_ACEOF
35568 #define HAVE__HYPOTF 1
35569 _ACEOF
35572 done
35581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35582 $as_echo_n "checking for ldexpf declaration... " >&6; }
35583 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35584 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35585 $as_echo_n "(cached) " >&6
35586 else
35589 ac_ext=cpp
35590 ac_cpp='$CXXCPP $CPPFLAGS'
35591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35596 /* end confdefs.h. */
35597 #include <math.h>
35599 main ()
35601 ldexpf(0, 0);
35603 return 0;
35605 _ACEOF
35606 if ac_fn_cxx_try_compile "$LINENO"; then :
35607 glibcxx_cv_func_ldexpf_use=yes
35608 else
35609 glibcxx_cv_func_ldexpf_use=no
35611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35612 ac_ext=c
35613 ac_cpp='$CPP $CPPFLAGS'
35614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35623 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35625 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35626 for ac_func in ldexpf
35627 do :
35628 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35629 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35630 cat >>confdefs.h <<_ACEOF
35631 #define HAVE_LDEXPF 1
35632 _ACEOF
35635 done
35637 else
35639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35640 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35641 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35642 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35643 $as_echo_n "(cached) " >&6
35644 else
35647 ac_ext=cpp
35648 ac_cpp='$CXXCPP $CPPFLAGS'
35649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35654 /* end confdefs.h. */
35655 #include <math.h>
35657 main ()
35659 _ldexpf(0, 0);
35661 return 0;
35663 _ACEOF
35664 if ac_fn_cxx_try_compile "$LINENO"; then :
35665 glibcxx_cv_func__ldexpf_use=yes
35666 else
35667 glibcxx_cv_func__ldexpf_use=no
35669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35670 ac_ext=c
35671 ac_cpp='$CPP $CPPFLAGS'
35672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35681 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35683 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35684 for ac_func in _ldexpf
35685 do :
35686 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35687 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35688 cat >>confdefs.h <<_ACEOF
35689 #define HAVE__LDEXPF 1
35690 _ACEOF
35693 done
35702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35703 $as_echo_n "checking for logf declaration... " >&6; }
35704 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35705 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35706 $as_echo_n "(cached) " >&6
35707 else
35710 ac_ext=cpp
35711 ac_cpp='$CXXCPP $CPPFLAGS'
35712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35717 /* end confdefs.h. */
35718 #include <math.h>
35719 #ifdef HAVE_IEEEFP_H
35720 #include <ieeefp.h>
35721 #endif
35724 main ()
35726 logf(0);
35728 return 0;
35730 _ACEOF
35731 if ac_fn_cxx_try_compile "$LINENO"; then :
35732 glibcxx_cv_func_logf_use=yes
35733 else
35734 glibcxx_cv_func_logf_use=no
35736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35737 ac_ext=c
35738 ac_cpp='$CPP $CPPFLAGS'
35739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35748 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35750 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35751 for ac_func in logf
35752 do :
35753 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35754 if test "x$ac_cv_func_logf" = x""yes; then :
35755 cat >>confdefs.h <<_ACEOF
35756 #define HAVE_LOGF 1
35757 _ACEOF
35760 done
35762 else
35764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35765 $as_echo_n "checking for _logf declaration... " >&6; }
35766 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35767 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35768 $as_echo_n "(cached) " >&6
35769 else
35772 ac_ext=cpp
35773 ac_cpp='$CXXCPP $CPPFLAGS'
35774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35779 /* end confdefs.h. */
35780 #include <math.h>
35781 #ifdef HAVE_IEEEFP_H
35782 #include <ieeefp.h>
35783 #endif
35786 main ()
35788 _logf(0);
35790 return 0;
35792 _ACEOF
35793 if ac_fn_cxx_try_compile "$LINENO"; then :
35794 glibcxx_cv_func__logf_use=yes
35795 else
35796 glibcxx_cv_func__logf_use=no
35798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35799 ac_ext=c
35800 ac_cpp='$CPP $CPPFLAGS'
35801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35810 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35812 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35813 for ac_func in _logf
35814 do :
35815 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35816 if test "x$ac_cv_func__logf" = x""yes; then :
35817 cat >>confdefs.h <<_ACEOF
35818 #define HAVE__LOGF 1
35819 _ACEOF
35822 done
35831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35832 $as_echo_n "checking for log10f declaration... " >&6; }
35833 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35834 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35835 $as_echo_n "(cached) " >&6
35836 else
35839 ac_ext=cpp
35840 ac_cpp='$CXXCPP $CPPFLAGS'
35841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35846 /* end confdefs.h. */
35847 #include <math.h>
35848 #ifdef HAVE_IEEEFP_H
35849 #include <ieeefp.h>
35850 #endif
35853 main ()
35855 log10f(0);
35857 return 0;
35859 _ACEOF
35860 if ac_fn_cxx_try_compile "$LINENO"; then :
35861 glibcxx_cv_func_log10f_use=yes
35862 else
35863 glibcxx_cv_func_log10f_use=no
35865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35866 ac_ext=c
35867 ac_cpp='$CPP $CPPFLAGS'
35868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35877 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35879 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35880 for ac_func in log10f
35881 do :
35882 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35883 if test "x$ac_cv_func_log10f" = x""yes; then :
35884 cat >>confdefs.h <<_ACEOF
35885 #define HAVE_LOG10F 1
35886 _ACEOF
35889 done
35891 else
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35894 $as_echo_n "checking for _log10f declaration... " >&6; }
35895 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35896 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35897 $as_echo_n "(cached) " >&6
35898 else
35901 ac_ext=cpp
35902 ac_cpp='$CXXCPP $CPPFLAGS'
35903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35908 /* end confdefs.h. */
35909 #include <math.h>
35910 #ifdef HAVE_IEEEFP_H
35911 #include <ieeefp.h>
35912 #endif
35915 main ()
35917 _log10f(0);
35919 return 0;
35921 _ACEOF
35922 if ac_fn_cxx_try_compile "$LINENO"; then :
35923 glibcxx_cv_func__log10f_use=yes
35924 else
35925 glibcxx_cv_func__log10f_use=no
35927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35928 ac_ext=c
35929 ac_cpp='$CPP $CPPFLAGS'
35930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35939 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35941 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35942 for ac_func in _log10f
35943 do :
35944 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35945 if test "x$ac_cv_func__log10f" = x""yes; then :
35946 cat >>confdefs.h <<_ACEOF
35947 #define HAVE__LOG10F 1
35948 _ACEOF
35951 done
35960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35961 $as_echo_n "checking for modff declaration... " >&6; }
35962 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35963 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35964 $as_echo_n "(cached) " >&6
35965 else
35968 ac_ext=cpp
35969 ac_cpp='$CXXCPP $CPPFLAGS'
35970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35975 /* end confdefs.h. */
35976 #include <math.h>
35978 main ()
35980 modff(0, 0);
35982 return 0;
35984 _ACEOF
35985 if ac_fn_cxx_try_compile "$LINENO"; then :
35986 glibcxx_cv_func_modff_use=yes
35987 else
35988 glibcxx_cv_func_modff_use=no
35990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35991 ac_ext=c
35992 ac_cpp='$CPP $CPPFLAGS'
35993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36002 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36004 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36005 for ac_func in modff
36006 do :
36007 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36008 if test "x$ac_cv_func_modff" = x""yes; then :
36009 cat >>confdefs.h <<_ACEOF
36010 #define HAVE_MODFF 1
36011 _ACEOF
36014 done
36016 else
36018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36019 $as_echo_n "checking for _modff declaration... " >&6; }
36020 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36021 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36022 $as_echo_n "(cached) " >&6
36023 else
36026 ac_ext=cpp
36027 ac_cpp='$CXXCPP $CPPFLAGS'
36028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36033 /* end confdefs.h. */
36034 #include <math.h>
36036 main ()
36038 _modff(0, 0);
36040 return 0;
36042 _ACEOF
36043 if ac_fn_cxx_try_compile "$LINENO"; then :
36044 glibcxx_cv_func__modff_use=yes
36045 else
36046 glibcxx_cv_func__modff_use=no
36048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36049 ac_ext=c
36050 ac_cpp='$CPP $CPPFLAGS'
36051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36060 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36062 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36063 for ac_func in _modff
36064 do :
36065 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36066 if test "x$ac_cv_func__modff" = x""yes; then :
36067 cat >>confdefs.h <<_ACEOF
36068 #define HAVE__MODFF 1
36069 _ACEOF
36072 done
36081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36082 $as_echo_n "checking for modf declaration... " >&6; }
36083 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36084 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36085 $as_echo_n "(cached) " >&6
36086 else
36089 ac_ext=cpp
36090 ac_cpp='$CXXCPP $CPPFLAGS'
36091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36096 /* end confdefs.h. */
36097 #include <math.h>
36099 main ()
36101 modf(0, 0);
36103 return 0;
36105 _ACEOF
36106 if ac_fn_cxx_try_compile "$LINENO"; then :
36107 glibcxx_cv_func_modf_use=yes
36108 else
36109 glibcxx_cv_func_modf_use=no
36111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36112 ac_ext=c
36113 ac_cpp='$CPP $CPPFLAGS'
36114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36123 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36125 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36126 for ac_func in modf
36127 do :
36128 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36129 if test "x$ac_cv_func_modf" = x""yes; then :
36130 cat >>confdefs.h <<_ACEOF
36131 #define HAVE_MODF 1
36132 _ACEOF
36135 done
36137 else
36139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36140 $as_echo_n "checking for _modf declaration... " >&6; }
36141 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36142 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36143 $as_echo_n "(cached) " >&6
36144 else
36147 ac_ext=cpp
36148 ac_cpp='$CXXCPP $CPPFLAGS'
36149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36154 /* end confdefs.h. */
36155 #include <math.h>
36157 main ()
36159 _modf(0, 0);
36161 return 0;
36163 _ACEOF
36164 if ac_fn_cxx_try_compile "$LINENO"; then :
36165 glibcxx_cv_func__modf_use=yes
36166 else
36167 glibcxx_cv_func__modf_use=no
36169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36170 ac_ext=c
36171 ac_cpp='$CPP $CPPFLAGS'
36172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36181 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36183 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36184 for ac_func in _modf
36185 do :
36186 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36187 if test "x$ac_cv_func__modf" = x""yes; then :
36188 cat >>confdefs.h <<_ACEOF
36189 #define HAVE__MODF 1
36190 _ACEOF
36193 done
36202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36203 $as_echo_n "checking for powf declaration... " >&6; }
36204 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36205 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36206 $as_echo_n "(cached) " >&6
36207 else
36210 ac_ext=cpp
36211 ac_cpp='$CXXCPP $CPPFLAGS'
36212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36217 /* end confdefs.h. */
36218 #include <math.h>
36220 main ()
36222 powf(0, 0);
36224 return 0;
36226 _ACEOF
36227 if ac_fn_cxx_try_compile "$LINENO"; then :
36228 glibcxx_cv_func_powf_use=yes
36229 else
36230 glibcxx_cv_func_powf_use=no
36232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36233 ac_ext=c
36234 ac_cpp='$CPP $CPPFLAGS'
36235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36244 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36246 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36247 for ac_func in powf
36248 do :
36249 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36250 if test "x$ac_cv_func_powf" = x""yes; then :
36251 cat >>confdefs.h <<_ACEOF
36252 #define HAVE_POWF 1
36253 _ACEOF
36256 done
36258 else
36260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36261 $as_echo_n "checking for _powf declaration... " >&6; }
36262 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36263 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36264 $as_echo_n "(cached) " >&6
36265 else
36268 ac_ext=cpp
36269 ac_cpp='$CXXCPP $CPPFLAGS'
36270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36275 /* end confdefs.h. */
36276 #include <math.h>
36278 main ()
36280 _powf(0, 0);
36282 return 0;
36284 _ACEOF
36285 if ac_fn_cxx_try_compile "$LINENO"; then :
36286 glibcxx_cv_func__powf_use=yes
36287 else
36288 glibcxx_cv_func__powf_use=no
36290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36291 ac_ext=c
36292 ac_cpp='$CPP $CPPFLAGS'
36293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36302 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36304 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36305 for ac_func in _powf
36306 do :
36307 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36308 if test "x$ac_cv_func__powf" = x""yes; then :
36309 cat >>confdefs.h <<_ACEOF
36310 #define HAVE__POWF 1
36311 _ACEOF
36314 done
36323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36324 $as_echo_n "checking for sqrtf declaration... " >&6; }
36325 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36326 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36327 $as_echo_n "(cached) " >&6
36328 else
36331 ac_ext=cpp
36332 ac_cpp='$CXXCPP $CPPFLAGS'
36333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36338 /* end confdefs.h. */
36339 #include <math.h>
36340 #ifdef HAVE_IEEEFP_H
36341 #include <ieeefp.h>
36342 #endif
36345 main ()
36347 sqrtf(0);
36349 return 0;
36351 _ACEOF
36352 if ac_fn_cxx_try_compile "$LINENO"; then :
36353 glibcxx_cv_func_sqrtf_use=yes
36354 else
36355 glibcxx_cv_func_sqrtf_use=no
36357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36358 ac_ext=c
36359 ac_cpp='$CPP $CPPFLAGS'
36360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36369 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36371 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36372 for ac_func in sqrtf
36373 do :
36374 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36375 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36376 cat >>confdefs.h <<_ACEOF
36377 #define HAVE_SQRTF 1
36378 _ACEOF
36381 done
36383 else
36385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36386 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36387 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36388 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36389 $as_echo_n "(cached) " >&6
36390 else
36393 ac_ext=cpp
36394 ac_cpp='$CXXCPP $CPPFLAGS'
36395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36400 /* end confdefs.h. */
36401 #include <math.h>
36402 #ifdef HAVE_IEEEFP_H
36403 #include <ieeefp.h>
36404 #endif
36407 main ()
36409 _sqrtf(0);
36411 return 0;
36413 _ACEOF
36414 if ac_fn_cxx_try_compile "$LINENO"; then :
36415 glibcxx_cv_func__sqrtf_use=yes
36416 else
36417 glibcxx_cv_func__sqrtf_use=no
36419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36420 ac_ext=c
36421 ac_cpp='$CPP $CPPFLAGS'
36422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36431 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36433 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36434 for ac_func in _sqrtf
36435 do :
36436 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36437 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36438 cat >>confdefs.h <<_ACEOF
36439 #define HAVE__SQRTF 1
36440 _ACEOF
36443 done
36452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36453 $as_echo_n "checking for sincosf declaration... " >&6; }
36454 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36455 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36456 $as_echo_n "(cached) " >&6
36457 else
36460 ac_ext=cpp
36461 ac_cpp='$CXXCPP $CPPFLAGS'
36462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36467 /* end confdefs.h. */
36468 #include <math.h>
36470 main ()
36472 sincosf(0, 0, 0);
36474 return 0;
36476 _ACEOF
36477 if ac_fn_cxx_try_compile "$LINENO"; then :
36478 glibcxx_cv_func_sincosf_use=yes
36479 else
36480 glibcxx_cv_func_sincosf_use=no
36482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36483 ac_ext=c
36484 ac_cpp='$CPP $CPPFLAGS'
36485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36494 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36496 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36497 for ac_func in sincosf
36498 do :
36499 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36500 if test "x$ac_cv_func_sincosf" = x""yes; then :
36501 cat >>confdefs.h <<_ACEOF
36502 #define HAVE_SINCOSF 1
36503 _ACEOF
36506 done
36508 else
36510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36511 $as_echo_n "checking for _sincosf declaration... " >&6; }
36512 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36513 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36514 $as_echo_n "(cached) " >&6
36515 else
36518 ac_ext=cpp
36519 ac_cpp='$CXXCPP $CPPFLAGS'
36520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36525 /* end confdefs.h. */
36526 #include <math.h>
36528 main ()
36530 _sincosf(0, 0, 0);
36532 return 0;
36534 _ACEOF
36535 if ac_fn_cxx_try_compile "$LINENO"; then :
36536 glibcxx_cv_func__sincosf_use=yes
36537 else
36538 glibcxx_cv_func__sincosf_use=no
36540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36541 ac_ext=c
36542 ac_cpp='$CPP $CPPFLAGS'
36543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36552 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36554 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36555 for ac_func in _sincosf
36556 do :
36557 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36558 if test "x$ac_cv_func__sincosf" = x""yes; then :
36559 cat >>confdefs.h <<_ACEOF
36560 #define HAVE__SINCOSF 1
36561 _ACEOF
36564 done
36573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36574 $as_echo_n "checking for finitef declaration... " >&6; }
36575 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36576 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36577 $as_echo_n "(cached) " >&6
36578 else
36581 ac_ext=cpp
36582 ac_cpp='$CXXCPP $CPPFLAGS'
36583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36588 /* end confdefs.h. */
36589 #include <math.h>
36590 #ifdef HAVE_IEEEFP_H
36591 #include <ieeefp.h>
36592 #endif
36595 main ()
36597 finitef(0);
36599 return 0;
36601 _ACEOF
36602 if ac_fn_cxx_try_compile "$LINENO"; then :
36603 glibcxx_cv_func_finitef_use=yes
36604 else
36605 glibcxx_cv_func_finitef_use=no
36607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36608 ac_ext=c
36609 ac_cpp='$CPP $CPPFLAGS'
36610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36619 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36621 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36622 for ac_func in finitef
36623 do :
36624 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36625 if test "x$ac_cv_func_finitef" = x""yes; then :
36626 cat >>confdefs.h <<_ACEOF
36627 #define HAVE_FINITEF 1
36628 _ACEOF
36631 done
36633 else
36635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36636 $as_echo_n "checking for _finitef declaration... " >&6; }
36637 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36638 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36639 $as_echo_n "(cached) " >&6
36640 else
36643 ac_ext=cpp
36644 ac_cpp='$CXXCPP $CPPFLAGS'
36645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36650 /* end confdefs.h. */
36651 #include <math.h>
36652 #ifdef HAVE_IEEEFP_H
36653 #include <ieeefp.h>
36654 #endif
36657 main ()
36659 _finitef(0);
36661 return 0;
36663 _ACEOF
36664 if ac_fn_cxx_try_compile "$LINENO"; then :
36665 glibcxx_cv_func__finitef_use=yes
36666 else
36667 glibcxx_cv_func__finitef_use=no
36669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36670 ac_ext=c
36671 ac_cpp='$CPP $CPPFLAGS'
36672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36681 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36683 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36684 for ac_func in _finitef
36685 do :
36686 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36687 if test "x$ac_cv_func__finitef" = x""yes; then :
36688 cat >>confdefs.h <<_ACEOF
36689 #define HAVE__FINITEF 1
36690 _ACEOF
36693 done
36702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36703 $as_echo_n "checking for long double trig functions... " >&6; }
36704 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36705 $as_echo_n "(cached) " >&6
36706 else
36709 ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h. */
36717 #include <math.h>
36719 main ()
36721 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36723 return 0;
36725 _ACEOF
36726 if ac_fn_cxx_try_compile "$LINENO"; then :
36727 glibcxx_cv_func_long_double_trig_use=yes
36728 else
36729 glibcxx_cv_func_long_double_trig_use=no
36731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732 ac_ext=c
36733 ac_cpp='$CPP $CPPFLAGS'
36734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36741 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36742 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36743 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36744 do :
36745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36747 eval as_val=\$$as_ac_var
36748 if test "x$as_val" = x""yes; then :
36749 cat >>confdefs.h <<_ACEOF
36750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36751 _ACEOF
36754 done
36756 else
36757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36758 $as_echo_n "checking for _long double trig functions... " >&6; }
36759 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36760 $as_echo_n "(cached) " >&6
36761 else
36764 ac_ext=cpp
36765 ac_cpp='$CXXCPP $CPPFLAGS'
36766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36771 /* end confdefs.h. */
36772 #include <math.h>
36774 main ()
36776 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36778 return 0;
36780 _ACEOF
36781 if ac_fn_cxx_try_compile "$LINENO"; then :
36782 glibcxx_cv_func__long_double_trig_use=yes
36783 else
36784 glibcxx_cv_func__long_double_trig_use=no
36786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36787 ac_ext=c
36788 ac_cpp='$CPP $CPPFLAGS'
36789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36796 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36797 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36798 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36799 do :
36800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36802 eval as_val=\$$as_ac_var
36803 if test "x$as_val" = x""yes; then :
36804 cat >>confdefs.h <<_ACEOF
36805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36806 _ACEOF
36809 done
36818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36819 $as_echo_n "checking for long double round functions... " >&6; }
36820 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36821 $as_echo_n "(cached) " >&6
36822 else
36825 ac_ext=cpp
36826 ac_cpp='$CXXCPP $CPPFLAGS'
36827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36832 /* end confdefs.h. */
36833 #include <math.h>
36835 main ()
36837 ceill (0); floorl (0);
36839 return 0;
36841 _ACEOF
36842 if ac_fn_cxx_try_compile "$LINENO"; then :
36843 glibcxx_cv_func_long_double_round_use=yes
36844 else
36845 glibcxx_cv_func_long_double_round_use=no
36847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36848 ac_ext=c
36849 ac_cpp='$CPP $CPPFLAGS'
36850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36857 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36858 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36859 for ac_func in ceill floorl
36860 do :
36861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36863 eval as_val=\$$as_ac_var
36864 if test "x$as_val" = x""yes; then :
36865 cat >>confdefs.h <<_ACEOF
36866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36867 _ACEOF
36870 done
36872 else
36873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36874 $as_echo_n "checking for _long double round functions... " >&6; }
36875 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36876 $as_echo_n "(cached) " >&6
36877 else
36880 ac_ext=cpp
36881 ac_cpp='$CXXCPP $CPPFLAGS'
36882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36887 /* end confdefs.h. */
36888 #include <math.h>
36890 main ()
36892 _ceill (0); _floorl (0);
36894 return 0;
36896 _ACEOF
36897 if ac_fn_cxx_try_compile "$LINENO"; then :
36898 glibcxx_cv_func__long_double_round_use=yes
36899 else
36900 glibcxx_cv_func__long_double_round_use=no
36902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36903 ac_ext=c
36904 ac_cpp='$CPP $CPPFLAGS'
36905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36912 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36913 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36914 for ac_func in _ceill _floorl
36915 do :
36916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36918 eval as_val=\$$as_ac_var
36919 if test "x$as_val" = x""yes; then :
36920 cat >>confdefs.h <<_ACEOF
36921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36922 _ACEOF
36925 done
36935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36936 $as_echo_n "checking for isnanl declaration... " >&6; }
36937 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36938 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36939 $as_echo_n "(cached) " >&6
36940 else
36943 ac_ext=cpp
36944 ac_cpp='$CXXCPP $CPPFLAGS'
36945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36950 /* end confdefs.h. */
36951 #include <math.h>
36952 #ifdef HAVE_IEEEFP_H
36953 #include <ieeefp.h>
36954 #endif
36957 main ()
36959 isnanl(0);
36961 return 0;
36963 _ACEOF
36964 if ac_fn_cxx_try_compile "$LINENO"; then :
36965 glibcxx_cv_func_isnanl_use=yes
36966 else
36967 glibcxx_cv_func_isnanl_use=no
36969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36970 ac_ext=c
36971 ac_cpp='$CPP $CPPFLAGS'
36972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36981 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36983 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36984 for ac_func in isnanl
36985 do :
36986 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36987 if test "x$ac_cv_func_isnanl" = x""yes; then :
36988 cat >>confdefs.h <<_ACEOF
36989 #define HAVE_ISNANL 1
36990 _ACEOF
36993 done
36995 else
36997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36998 $as_echo_n "checking for _isnanl declaration... " >&6; }
36999 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37000 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37001 $as_echo_n "(cached) " >&6
37002 else
37005 ac_ext=cpp
37006 ac_cpp='$CXXCPP $CPPFLAGS'
37007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37012 /* end confdefs.h. */
37013 #include <math.h>
37014 #ifdef HAVE_IEEEFP_H
37015 #include <ieeefp.h>
37016 #endif
37019 main ()
37021 _isnanl(0);
37023 return 0;
37025 _ACEOF
37026 if ac_fn_cxx_try_compile "$LINENO"; then :
37027 glibcxx_cv_func__isnanl_use=yes
37028 else
37029 glibcxx_cv_func__isnanl_use=no
37031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37032 ac_ext=c
37033 ac_cpp='$CPP $CPPFLAGS'
37034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37043 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37045 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37046 for ac_func in _isnanl
37047 do :
37048 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37049 if test "x$ac_cv_func__isnanl" = x""yes; then :
37050 cat >>confdefs.h <<_ACEOF
37051 #define HAVE__ISNANL 1
37052 _ACEOF
37055 done
37064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37065 $as_echo_n "checking for isinfl declaration... " >&6; }
37066 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37067 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37068 $as_echo_n "(cached) " >&6
37069 else
37072 ac_ext=cpp
37073 ac_cpp='$CXXCPP $CPPFLAGS'
37074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37079 /* end confdefs.h. */
37080 #include <math.h>
37081 #ifdef HAVE_IEEEFP_H
37082 #include <ieeefp.h>
37083 #endif
37086 main ()
37088 isinfl(0);
37090 return 0;
37092 _ACEOF
37093 if ac_fn_cxx_try_compile "$LINENO"; then :
37094 glibcxx_cv_func_isinfl_use=yes
37095 else
37096 glibcxx_cv_func_isinfl_use=no
37098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37099 ac_ext=c
37100 ac_cpp='$CPP $CPPFLAGS'
37101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37110 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37112 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37113 for ac_func in isinfl
37114 do :
37115 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37116 if test "x$ac_cv_func_isinfl" = x""yes; then :
37117 cat >>confdefs.h <<_ACEOF
37118 #define HAVE_ISINFL 1
37119 _ACEOF
37122 done
37124 else
37126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37127 $as_echo_n "checking for _isinfl declaration... " >&6; }
37128 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37129 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37130 $as_echo_n "(cached) " >&6
37131 else
37134 ac_ext=cpp
37135 ac_cpp='$CXXCPP $CPPFLAGS'
37136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37141 /* end confdefs.h. */
37142 #include <math.h>
37143 #ifdef HAVE_IEEEFP_H
37144 #include <ieeefp.h>
37145 #endif
37148 main ()
37150 _isinfl(0);
37152 return 0;
37154 _ACEOF
37155 if ac_fn_cxx_try_compile "$LINENO"; then :
37156 glibcxx_cv_func__isinfl_use=yes
37157 else
37158 glibcxx_cv_func__isinfl_use=no
37160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37161 ac_ext=c
37162 ac_cpp='$CPP $CPPFLAGS'
37163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37172 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37174 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37175 for ac_func in _isinfl
37176 do :
37177 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37178 if test "x$ac_cv_func__isinfl" = x""yes; then :
37179 cat >>confdefs.h <<_ACEOF
37180 #define HAVE__ISINFL 1
37181 _ACEOF
37184 done
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37194 $as_echo_n "checking for atan2l declaration... " >&6; }
37195 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37196 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37197 $as_echo_n "(cached) " >&6
37198 else
37201 ac_ext=cpp
37202 ac_cpp='$CXXCPP $CPPFLAGS'
37203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37208 /* end confdefs.h. */
37209 #include <math.h>
37211 main ()
37213 atan2l(0, 0);
37215 return 0;
37217 _ACEOF
37218 if ac_fn_cxx_try_compile "$LINENO"; then :
37219 glibcxx_cv_func_atan2l_use=yes
37220 else
37221 glibcxx_cv_func_atan2l_use=no
37223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37224 ac_ext=c
37225 ac_cpp='$CPP $CPPFLAGS'
37226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37235 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37237 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37238 for ac_func in atan2l
37239 do :
37240 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37241 if test "x$ac_cv_func_atan2l" = x""yes; then :
37242 cat >>confdefs.h <<_ACEOF
37243 #define HAVE_ATAN2L 1
37244 _ACEOF
37247 done
37249 else
37251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37252 $as_echo_n "checking for _atan2l declaration... " >&6; }
37253 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37254 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37255 $as_echo_n "(cached) " >&6
37256 else
37259 ac_ext=cpp
37260 ac_cpp='$CXXCPP $CPPFLAGS'
37261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37266 /* end confdefs.h. */
37267 #include <math.h>
37269 main ()
37271 _atan2l(0, 0);
37273 return 0;
37275 _ACEOF
37276 if ac_fn_cxx_try_compile "$LINENO"; then :
37277 glibcxx_cv_func__atan2l_use=yes
37278 else
37279 glibcxx_cv_func__atan2l_use=no
37281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37282 ac_ext=c
37283 ac_cpp='$CPP $CPPFLAGS'
37284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37293 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37295 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37296 for ac_func in _atan2l
37297 do :
37298 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37299 if test "x$ac_cv_func__atan2l" = x""yes; then :
37300 cat >>confdefs.h <<_ACEOF
37301 #define HAVE__ATAN2L 1
37302 _ACEOF
37305 done
37314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37315 $as_echo_n "checking for expl declaration... " >&6; }
37316 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37317 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37318 $as_echo_n "(cached) " >&6
37319 else
37322 ac_ext=cpp
37323 ac_cpp='$CXXCPP $CPPFLAGS'
37324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37329 /* end confdefs.h. */
37330 #include <math.h>
37331 #ifdef HAVE_IEEEFP_H
37332 #include <ieeefp.h>
37333 #endif
37336 main ()
37338 expl(0);
37340 return 0;
37342 _ACEOF
37343 if ac_fn_cxx_try_compile "$LINENO"; then :
37344 glibcxx_cv_func_expl_use=yes
37345 else
37346 glibcxx_cv_func_expl_use=no
37348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37349 ac_ext=c
37350 ac_cpp='$CPP $CPPFLAGS'
37351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37360 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37362 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37363 for ac_func in expl
37364 do :
37365 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37366 if test "x$ac_cv_func_expl" = x""yes; then :
37367 cat >>confdefs.h <<_ACEOF
37368 #define HAVE_EXPL 1
37369 _ACEOF
37372 done
37374 else
37376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37377 $as_echo_n "checking for _expl declaration... " >&6; }
37378 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37379 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37380 $as_echo_n "(cached) " >&6
37381 else
37384 ac_ext=cpp
37385 ac_cpp='$CXXCPP $CPPFLAGS'
37386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37391 /* end confdefs.h. */
37392 #include <math.h>
37393 #ifdef HAVE_IEEEFP_H
37394 #include <ieeefp.h>
37395 #endif
37398 main ()
37400 _expl(0);
37402 return 0;
37404 _ACEOF
37405 if ac_fn_cxx_try_compile "$LINENO"; then :
37406 glibcxx_cv_func__expl_use=yes
37407 else
37408 glibcxx_cv_func__expl_use=no
37410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37411 ac_ext=c
37412 ac_cpp='$CPP $CPPFLAGS'
37413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37422 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37424 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37425 for ac_func in _expl
37426 do :
37427 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37428 if test "x$ac_cv_func__expl" = x""yes; then :
37429 cat >>confdefs.h <<_ACEOF
37430 #define HAVE__EXPL 1
37431 _ACEOF
37434 done
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37444 $as_echo_n "checking for fabsl declaration... " >&6; }
37445 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37446 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37447 $as_echo_n "(cached) " >&6
37448 else
37451 ac_ext=cpp
37452 ac_cpp='$CXXCPP $CPPFLAGS'
37453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37458 /* end confdefs.h. */
37459 #include <math.h>
37460 #ifdef HAVE_IEEEFP_H
37461 #include <ieeefp.h>
37462 #endif
37465 main ()
37467 fabsl(0);
37469 return 0;
37471 _ACEOF
37472 if ac_fn_cxx_try_compile "$LINENO"; then :
37473 glibcxx_cv_func_fabsl_use=yes
37474 else
37475 glibcxx_cv_func_fabsl_use=no
37477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37478 ac_ext=c
37479 ac_cpp='$CPP $CPPFLAGS'
37480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37489 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37491 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37492 for ac_func in fabsl
37493 do :
37494 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37495 if test "x$ac_cv_func_fabsl" = x""yes; then :
37496 cat >>confdefs.h <<_ACEOF
37497 #define HAVE_FABSL 1
37498 _ACEOF
37501 done
37503 else
37505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37506 $as_echo_n "checking for _fabsl declaration... " >&6; }
37507 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37508 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37509 $as_echo_n "(cached) " >&6
37510 else
37513 ac_ext=cpp
37514 ac_cpp='$CXXCPP $CPPFLAGS'
37515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37520 /* end confdefs.h. */
37521 #include <math.h>
37522 #ifdef HAVE_IEEEFP_H
37523 #include <ieeefp.h>
37524 #endif
37527 main ()
37529 _fabsl(0);
37531 return 0;
37533 _ACEOF
37534 if ac_fn_cxx_try_compile "$LINENO"; then :
37535 glibcxx_cv_func__fabsl_use=yes
37536 else
37537 glibcxx_cv_func__fabsl_use=no
37539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37540 ac_ext=c
37541 ac_cpp='$CPP $CPPFLAGS'
37542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37551 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37553 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37554 for ac_func in _fabsl
37555 do :
37556 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37557 if test "x$ac_cv_func__fabsl" = x""yes; then :
37558 cat >>confdefs.h <<_ACEOF
37559 #define HAVE__FABSL 1
37560 _ACEOF
37563 done
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37573 $as_echo_n "checking for fmodl declaration... " >&6; }
37574 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37575 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37576 $as_echo_n "(cached) " >&6
37577 else
37580 ac_ext=cpp
37581 ac_cpp='$CXXCPP $CPPFLAGS'
37582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37587 /* end confdefs.h. */
37588 #include <math.h>
37590 main ()
37592 fmodl(0, 0);
37594 return 0;
37596 _ACEOF
37597 if ac_fn_cxx_try_compile "$LINENO"; then :
37598 glibcxx_cv_func_fmodl_use=yes
37599 else
37600 glibcxx_cv_func_fmodl_use=no
37602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37603 ac_ext=c
37604 ac_cpp='$CPP $CPPFLAGS'
37605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37614 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37616 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37617 for ac_func in fmodl
37618 do :
37619 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37620 if test "x$ac_cv_func_fmodl" = x""yes; then :
37621 cat >>confdefs.h <<_ACEOF
37622 #define HAVE_FMODL 1
37623 _ACEOF
37626 done
37628 else
37630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37631 $as_echo_n "checking for _fmodl declaration... " >&6; }
37632 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37633 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37634 $as_echo_n "(cached) " >&6
37635 else
37638 ac_ext=cpp
37639 ac_cpp='$CXXCPP $CPPFLAGS'
37640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37645 /* end confdefs.h. */
37646 #include <math.h>
37648 main ()
37650 _fmodl(0, 0);
37652 return 0;
37654 _ACEOF
37655 if ac_fn_cxx_try_compile "$LINENO"; then :
37656 glibcxx_cv_func__fmodl_use=yes
37657 else
37658 glibcxx_cv_func__fmodl_use=no
37660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37661 ac_ext=c
37662 ac_cpp='$CPP $CPPFLAGS'
37663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37672 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37674 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37675 for ac_func in _fmodl
37676 do :
37677 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37678 if test "x$ac_cv_func__fmodl" = x""yes; then :
37679 cat >>confdefs.h <<_ACEOF
37680 #define HAVE__FMODL 1
37681 _ACEOF
37684 done
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37694 $as_echo_n "checking for frexpl declaration... " >&6; }
37695 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37696 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37697 $as_echo_n "(cached) " >&6
37698 else
37701 ac_ext=cpp
37702 ac_cpp='$CXXCPP $CPPFLAGS'
37703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37708 /* end confdefs.h. */
37709 #include <math.h>
37711 main ()
37713 frexpl(0, 0);
37715 return 0;
37717 _ACEOF
37718 if ac_fn_cxx_try_compile "$LINENO"; then :
37719 glibcxx_cv_func_frexpl_use=yes
37720 else
37721 glibcxx_cv_func_frexpl_use=no
37723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37724 ac_ext=c
37725 ac_cpp='$CPP $CPPFLAGS'
37726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37735 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37737 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37738 for ac_func in frexpl
37739 do :
37740 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37741 if test "x$ac_cv_func_frexpl" = x""yes; then :
37742 cat >>confdefs.h <<_ACEOF
37743 #define HAVE_FREXPL 1
37744 _ACEOF
37747 done
37749 else
37751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37752 $as_echo_n "checking for _frexpl declaration... " >&6; }
37753 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37754 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37755 $as_echo_n "(cached) " >&6
37756 else
37759 ac_ext=cpp
37760 ac_cpp='$CXXCPP $CPPFLAGS'
37761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37766 /* end confdefs.h. */
37767 #include <math.h>
37769 main ()
37771 _frexpl(0, 0);
37773 return 0;
37775 _ACEOF
37776 if ac_fn_cxx_try_compile "$LINENO"; then :
37777 glibcxx_cv_func__frexpl_use=yes
37778 else
37779 glibcxx_cv_func__frexpl_use=no
37781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37782 ac_ext=c
37783 ac_cpp='$CPP $CPPFLAGS'
37784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37793 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37795 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37796 for ac_func in _frexpl
37797 do :
37798 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37799 if test "x$ac_cv_func__frexpl" = x""yes; then :
37800 cat >>confdefs.h <<_ACEOF
37801 #define HAVE__FREXPL 1
37802 _ACEOF
37805 done
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37815 $as_echo_n "checking for hypotl declaration... " >&6; }
37816 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37817 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37818 $as_echo_n "(cached) " >&6
37819 else
37822 ac_ext=cpp
37823 ac_cpp='$CXXCPP $CPPFLAGS'
37824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37829 /* end confdefs.h. */
37830 #include <math.h>
37832 main ()
37834 hypotl(0, 0);
37836 return 0;
37838 _ACEOF
37839 if ac_fn_cxx_try_compile "$LINENO"; then :
37840 glibcxx_cv_func_hypotl_use=yes
37841 else
37842 glibcxx_cv_func_hypotl_use=no
37844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37845 ac_ext=c
37846 ac_cpp='$CPP $CPPFLAGS'
37847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37856 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37858 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37859 for ac_func in hypotl
37860 do :
37861 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37862 if test "x$ac_cv_func_hypotl" = x""yes; then :
37863 cat >>confdefs.h <<_ACEOF
37864 #define HAVE_HYPOTL 1
37865 _ACEOF
37868 done
37870 else
37872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37873 $as_echo_n "checking for _hypotl declaration... " >&6; }
37874 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37875 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37876 $as_echo_n "(cached) " >&6
37877 else
37880 ac_ext=cpp
37881 ac_cpp='$CXXCPP $CPPFLAGS'
37882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37887 /* end confdefs.h. */
37888 #include <math.h>
37890 main ()
37892 _hypotl(0, 0);
37894 return 0;
37896 _ACEOF
37897 if ac_fn_cxx_try_compile "$LINENO"; then :
37898 glibcxx_cv_func__hypotl_use=yes
37899 else
37900 glibcxx_cv_func__hypotl_use=no
37902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37903 ac_ext=c
37904 ac_cpp='$CPP $CPPFLAGS'
37905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37914 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37916 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37917 for ac_func in _hypotl
37918 do :
37919 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37920 if test "x$ac_cv_func__hypotl" = x""yes; then :
37921 cat >>confdefs.h <<_ACEOF
37922 #define HAVE__HYPOTL 1
37923 _ACEOF
37926 done
37935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37936 $as_echo_n "checking for ldexpl declaration... " >&6; }
37937 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37938 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37939 $as_echo_n "(cached) " >&6
37940 else
37943 ac_ext=cpp
37944 ac_cpp='$CXXCPP $CPPFLAGS'
37945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37950 /* end confdefs.h. */
37951 #include <math.h>
37953 main ()
37955 ldexpl(0, 0);
37957 return 0;
37959 _ACEOF
37960 if ac_fn_cxx_try_compile "$LINENO"; then :
37961 glibcxx_cv_func_ldexpl_use=yes
37962 else
37963 glibcxx_cv_func_ldexpl_use=no
37965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37966 ac_ext=c
37967 ac_cpp='$CPP $CPPFLAGS'
37968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37977 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37979 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37980 for ac_func in ldexpl
37981 do :
37982 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37983 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37984 cat >>confdefs.h <<_ACEOF
37985 #define HAVE_LDEXPL 1
37986 _ACEOF
37989 done
37991 else
37993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37994 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37995 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37996 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37997 $as_echo_n "(cached) " >&6
37998 else
38001 ac_ext=cpp
38002 ac_cpp='$CXXCPP $CPPFLAGS'
38003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38008 /* end confdefs.h. */
38009 #include <math.h>
38011 main ()
38013 _ldexpl(0, 0);
38015 return 0;
38017 _ACEOF
38018 if ac_fn_cxx_try_compile "$LINENO"; then :
38019 glibcxx_cv_func__ldexpl_use=yes
38020 else
38021 glibcxx_cv_func__ldexpl_use=no
38023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38024 ac_ext=c
38025 ac_cpp='$CPP $CPPFLAGS'
38026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38035 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38037 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38038 for ac_func in _ldexpl
38039 do :
38040 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38041 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38042 cat >>confdefs.h <<_ACEOF
38043 #define HAVE__LDEXPL 1
38044 _ACEOF
38047 done
38056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38057 $as_echo_n "checking for logl declaration... " >&6; }
38058 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38059 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38060 $as_echo_n "(cached) " >&6
38061 else
38064 ac_ext=cpp
38065 ac_cpp='$CXXCPP $CPPFLAGS'
38066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38071 /* end confdefs.h. */
38072 #include <math.h>
38073 #ifdef HAVE_IEEEFP_H
38074 #include <ieeefp.h>
38075 #endif
38078 main ()
38080 logl(0);
38082 return 0;
38084 _ACEOF
38085 if ac_fn_cxx_try_compile "$LINENO"; then :
38086 glibcxx_cv_func_logl_use=yes
38087 else
38088 glibcxx_cv_func_logl_use=no
38090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38091 ac_ext=c
38092 ac_cpp='$CPP $CPPFLAGS'
38093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38102 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38104 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38105 for ac_func in logl
38106 do :
38107 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38108 if test "x$ac_cv_func_logl" = x""yes; then :
38109 cat >>confdefs.h <<_ACEOF
38110 #define HAVE_LOGL 1
38111 _ACEOF
38114 done
38116 else
38118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38119 $as_echo_n "checking for _logl declaration... " >&6; }
38120 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38121 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38122 $as_echo_n "(cached) " >&6
38123 else
38126 ac_ext=cpp
38127 ac_cpp='$CXXCPP $CPPFLAGS'
38128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38133 /* end confdefs.h. */
38134 #include <math.h>
38135 #ifdef HAVE_IEEEFP_H
38136 #include <ieeefp.h>
38137 #endif
38140 main ()
38142 _logl(0);
38144 return 0;
38146 _ACEOF
38147 if ac_fn_cxx_try_compile "$LINENO"; then :
38148 glibcxx_cv_func__logl_use=yes
38149 else
38150 glibcxx_cv_func__logl_use=no
38152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38153 ac_ext=c
38154 ac_cpp='$CPP $CPPFLAGS'
38155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38164 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38166 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38167 for ac_func in _logl
38168 do :
38169 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38170 if test "x$ac_cv_func__logl" = x""yes; then :
38171 cat >>confdefs.h <<_ACEOF
38172 #define HAVE__LOGL 1
38173 _ACEOF
38176 done
38185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38186 $as_echo_n "checking for log10l declaration... " >&6; }
38187 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38188 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38189 $as_echo_n "(cached) " >&6
38190 else
38193 ac_ext=cpp
38194 ac_cpp='$CXXCPP $CPPFLAGS'
38195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38200 /* end confdefs.h. */
38201 #include <math.h>
38202 #ifdef HAVE_IEEEFP_H
38203 #include <ieeefp.h>
38204 #endif
38207 main ()
38209 log10l(0);
38211 return 0;
38213 _ACEOF
38214 if ac_fn_cxx_try_compile "$LINENO"; then :
38215 glibcxx_cv_func_log10l_use=yes
38216 else
38217 glibcxx_cv_func_log10l_use=no
38219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38220 ac_ext=c
38221 ac_cpp='$CPP $CPPFLAGS'
38222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38231 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38233 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38234 for ac_func in log10l
38235 do :
38236 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38237 if test "x$ac_cv_func_log10l" = x""yes; then :
38238 cat >>confdefs.h <<_ACEOF
38239 #define HAVE_LOG10L 1
38240 _ACEOF
38243 done
38245 else
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38248 $as_echo_n "checking for _log10l declaration... " >&6; }
38249 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38250 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38251 $as_echo_n "(cached) " >&6
38252 else
38255 ac_ext=cpp
38256 ac_cpp='$CXXCPP $CPPFLAGS'
38257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38262 /* end confdefs.h. */
38263 #include <math.h>
38264 #ifdef HAVE_IEEEFP_H
38265 #include <ieeefp.h>
38266 #endif
38269 main ()
38271 _log10l(0);
38273 return 0;
38275 _ACEOF
38276 if ac_fn_cxx_try_compile "$LINENO"; then :
38277 glibcxx_cv_func__log10l_use=yes
38278 else
38279 glibcxx_cv_func__log10l_use=no
38281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38282 ac_ext=c
38283 ac_cpp='$CPP $CPPFLAGS'
38284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38293 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38295 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38296 for ac_func in _log10l
38297 do :
38298 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38299 if test "x$ac_cv_func__log10l" = x""yes; then :
38300 cat >>confdefs.h <<_ACEOF
38301 #define HAVE__LOG10L 1
38302 _ACEOF
38305 done
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38315 $as_echo_n "checking for modfl declaration... " >&6; }
38316 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38317 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38318 $as_echo_n "(cached) " >&6
38319 else
38322 ac_ext=cpp
38323 ac_cpp='$CXXCPP $CPPFLAGS'
38324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38329 /* end confdefs.h. */
38330 #include <math.h>
38332 main ()
38334 modfl(0, 0);
38336 return 0;
38338 _ACEOF
38339 if ac_fn_cxx_try_compile "$LINENO"; then :
38340 glibcxx_cv_func_modfl_use=yes
38341 else
38342 glibcxx_cv_func_modfl_use=no
38344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38345 ac_ext=c
38346 ac_cpp='$CPP $CPPFLAGS'
38347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38356 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38358 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38359 for ac_func in modfl
38360 do :
38361 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38362 if test "x$ac_cv_func_modfl" = x""yes; then :
38363 cat >>confdefs.h <<_ACEOF
38364 #define HAVE_MODFL 1
38365 _ACEOF
38368 done
38370 else
38372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38373 $as_echo_n "checking for _modfl declaration... " >&6; }
38374 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38375 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38376 $as_echo_n "(cached) " >&6
38377 else
38380 ac_ext=cpp
38381 ac_cpp='$CXXCPP $CPPFLAGS'
38382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38387 /* end confdefs.h. */
38388 #include <math.h>
38390 main ()
38392 _modfl(0, 0);
38394 return 0;
38396 _ACEOF
38397 if ac_fn_cxx_try_compile "$LINENO"; then :
38398 glibcxx_cv_func__modfl_use=yes
38399 else
38400 glibcxx_cv_func__modfl_use=no
38402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38403 ac_ext=c
38404 ac_cpp='$CPP $CPPFLAGS'
38405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38414 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38416 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38417 for ac_func in _modfl
38418 do :
38419 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38420 if test "x$ac_cv_func__modfl" = x""yes; then :
38421 cat >>confdefs.h <<_ACEOF
38422 #define HAVE__MODFL 1
38423 _ACEOF
38426 done
38435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38436 $as_echo_n "checking for powl declaration... " >&6; }
38437 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38438 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38439 $as_echo_n "(cached) " >&6
38440 else
38443 ac_ext=cpp
38444 ac_cpp='$CXXCPP $CPPFLAGS'
38445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38450 /* end confdefs.h. */
38451 #include <math.h>
38453 main ()
38455 powl(0, 0);
38457 return 0;
38459 _ACEOF
38460 if ac_fn_cxx_try_compile "$LINENO"; then :
38461 glibcxx_cv_func_powl_use=yes
38462 else
38463 glibcxx_cv_func_powl_use=no
38465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38466 ac_ext=c
38467 ac_cpp='$CPP $CPPFLAGS'
38468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38477 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38479 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38480 for ac_func in powl
38481 do :
38482 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38483 if test "x$ac_cv_func_powl" = x""yes; then :
38484 cat >>confdefs.h <<_ACEOF
38485 #define HAVE_POWL 1
38486 _ACEOF
38489 done
38491 else
38493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38494 $as_echo_n "checking for _powl declaration... " >&6; }
38495 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38496 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38497 $as_echo_n "(cached) " >&6
38498 else
38501 ac_ext=cpp
38502 ac_cpp='$CXXCPP $CPPFLAGS'
38503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38508 /* end confdefs.h. */
38509 #include <math.h>
38511 main ()
38513 _powl(0, 0);
38515 return 0;
38517 _ACEOF
38518 if ac_fn_cxx_try_compile "$LINENO"; then :
38519 glibcxx_cv_func__powl_use=yes
38520 else
38521 glibcxx_cv_func__powl_use=no
38523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38524 ac_ext=c
38525 ac_cpp='$CPP $CPPFLAGS'
38526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38535 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38537 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38538 for ac_func in _powl
38539 do :
38540 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38541 if test "x$ac_cv_func__powl" = x""yes; then :
38542 cat >>confdefs.h <<_ACEOF
38543 #define HAVE__POWL 1
38544 _ACEOF
38547 done
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38557 $as_echo_n "checking for sqrtl declaration... " >&6; }
38558 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38559 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38560 $as_echo_n "(cached) " >&6
38561 else
38564 ac_ext=cpp
38565 ac_cpp='$CXXCPP $CPPFLAGS'
38566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38571 /* end confdefs.h. */
38572 #include <math.h>
38573 #ifdef HAVE_IEEEFP_H
38574 #include <ieeefp.h>
38575 #endif
38578 main ()
38580 sqrtl(0);
38582 return 0;
38584 _ACEOF
38585 if ac_fn_cxx_try_compile "$LINENO"; then :
38586 glibcxx_cv_func_sqrtl_use=yes
38587 else
38588 glibcxx_cv_func_sqrtl_use=no
38590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38591 ac_ext=c
38592 ac_cpp='$CPP $CPPFLAGS'
38593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38602 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38604 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38605 for ac_func in sqrtl
38606 do :
38607 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38608 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38609 cat >>confdefs.h <<_ACEOF
38610 #define HAVE_SQRTL 1
38611 _ACEOF
38614 done
38616 else
38618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38619 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38620 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38621 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38622 $as_echo_n "(cached) " >&6
38623 else
38626 ac_ext=cpp
38627 ac_cpp='$CXXCPP $CPPFLAGS'
38628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38633 /* end confdefs.h. */
38634 #include <math.h>
38635 #ifdef HAVE_IEEEFP_H
38636 #include <ieeefp.h>
38637 #endif
38640 main ()
38642 _sqrtl(0);
38644 return 0;
38646 _ACEOF
38647 if ac_fn_cxx_try_compile "$LINENO"; then :
38648 glibcxx_cv_func__sqrtl_use=yes
38649 else
38650 glibcxx_cv_func__sqrtl_use=no
38652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38653 ac_ext=c
38654 ac_cpp='$CPP $CPPFLAGS'
38655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38664 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38666 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38667 for ac_func in _sqrtl
38668 do :
38669 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38670 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38671 cat >>confdefs.h <<_ACEOF
38672 #define HAVE__SQRTL 1
38673 _ACEOF
38676 done
38685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38686 $as_echo_n "checking for sincosl declaration... " >&6; }
38687 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38688 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38689 $as_echo_n "(cached) " >&6
38690 else
38693 ac_ext=cpp
38694 ac_cpp='$CXXCPP $CPPFLAGS'
38695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38700 /* end confdefs.h. */
38701 #include <math.h>
38703 main ()
38705 sincosl(0, 0, 0);
38707 return 0;
38709 _ACEOF
38710 if ac_fn_cxx_try_compile "$LINENO"; then :
38711 glibcxx_cv_func_sincosl_use=yes
38712 else
38713 glibcxx_cv_func_sincosl_use=no
38715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38716 ac_ext=c
38717 ac_cpp='$CPP $CPPFLAGS'
38718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38727 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38729 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38730 for ac_func in sincosl
38731 do :
38732 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38733 if test "x$ac_cv_func_sincosl" = x""yes; then :
38734 cat >>confdefs.h <<_ACEOF
38735 #define HAVE_SINCOSL 1
38736 _ACEOF
38739 done
38741 else
38743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38744 $as_echo_n "checking for _sincosl declaration... " >&6; }
38745 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38746 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38747 $as_echo_n "(cached) " >&6
38748 else
38751 ac_ext=cpp
38752 ac_cpp='$CXXCPP $CPPFLAGS'
38753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38758 /* end confdefs.h. */
38759 #include <math.h>
38761 main ()
38763 _sincosl(0, 0, 0);
38765 return 0;
38767 _ACEOF
38768 if ac_fn_cxx_try_compile "$LINENO"; then :
38769 glibcxx_cv_func__sincosl_use=yes
38770 else
38771 glibcxx_cv_func__sincosl_use=no
38773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38774 ac_ext=c
38775 ac_cpp='$CPP $CPPFLAGS'
38776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38785 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38787 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38788 for ac_func in _sincosl
38789 do :
38790 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38791 if test "x$ac_cv_func__sincosl" = x""yes; then :
38792 cat >>confdefs.h <<_ACEOF
38793 #define HAVE__SINCOSL 1
38794 _ACEOF
38797 done
38806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38807 $as_echo_n "checking for finitel declaration... " >&6; }
38808 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38809 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38810 $as_echo_n "(cached) " >&6
38811 else
38814 ac_ext=cpp
38815 ac_cpp='$CXXCPP $CPPFLAGS'
38816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38821 /* end confdefs.h. */
38822 #include <math.h>
38823 #ifdef HAVE_IEEEFP_H
38824 #include <ieeefp.h>
38825 #endif
38828 main ()
38830 finitel(0);
38832 return 0;
38834 _ACEOF
38835 if ac_fn_cxx_try_compile "$LINENO"; then :
38836 glibcxx_cv_func_finitel_use=yes
38837 else
38838 glibcxx_cv_func_finitel_use=no
38840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38841 ac_ext=c
38842 ac_cpp='$CPP $CPPFLAGS'
38843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38852 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38854 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38855 for ac_func in finitel
38856 do :
38857 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38858 if test "x$ac_cv_func_finitel" = x""yes; then :
38859 cat >>confdefs.h <<_ACEOF
38860 #define HAVE_FINITEL 1
38861 _ACEOF
38864 done
38866 else
38868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38869 $as_echo_n "checking for _finitel declaration... " >&6; }
38870 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38871 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38872 $as_echo_n "(cached) " >&6
38873 else
38876 ac_ext=cpp
38877 ac_cpp='$CXXCPP $CPPFLAGS'
38878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38883 /* end confdefs.h. */
38884 #include <math.h>
38885 #ifdef HAVE_IEEEFP_H
38886 #include <ieeefp.h>
38887 #endif
38890 main ()
38892 _finitel(0);
38894 return 0;
38896 _ACEOF
38897 if ac_fn_cxx_try_compile "$LINENO"; then :
38898 glibcxx_cv_func__finitel_use=yes
38899 else
38900 glibcxx_cv_func__finitel_use=no
38902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38903 ac_ext=c
38904 ac_cpp='$CPP $CPPFLAGS'
38905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38914 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38916 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38917 for ac_func in _finitel
38918 do :
38919 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38920 if test "x$ac_cv_func__finitel" = x""yes; then :
38921 cat >>confdefs.h <<_ACEOF
38922 #define HAVE__FINITEL 1
38923 _ACEOF
38926 done
38934 LIBS="$ac_save_LIBS"
38935 CXXFLAGS="$ac_save_CXXFLAGS"
38938 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38939 ac_save_CXXFLAGS="$CXXFLAGS"
38940 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38944 $as_echo_n "checking for strtold declaration... " >&6; }
38945 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38946 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38947 $as_echo_n "(cached) " >&6
38948 else
38951 ac_ext=cpp
38952 ac_cpp='$CXXCPP $CPPFLAGS'
38953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38958 /* end confdefs.h. */
38959 #include <stdlib.h>
38961 main ()
38963 strtold(0, 0);
38965 return 0;
38967 _ACEOF
38968 if ac_fn_cxx_try_compile "$LINENO"; then :
38969 glibcxx_cv_func_strtold_use=yes
38970 else
38971 glibcxx_cv_func_strtold_use=no
38973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38974 ac_ext=c
38975 ac_cpp='$CPP $CPPFLAGS'
38976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38985 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38986 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38987 for ac_func in strtold
38988 do :
38989 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38990 if test "x$ac_cv_func_strtold" = x""yes; then :
38991 cat >>confdefs.h <<_ACEOF
38992 #define HAVE_STRTOLD 1
38993 _ACEOF
38996 done
39003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39004 $as_echo_n "checking for strtof declaration... " >&6; }
39005 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39006 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39007 $as_echo_n "(cached) " >&6
39008 else
39011 ac_ext=cpp
39012 ac_cpp='$CXXCPP $CPPFLAGS'
39013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39018 /* end confdefs.h. */
39019 #include <stdlib.h>
39021 main ()
39023 strtof(0, 0);
39025 return 0;
39027 _ACEOF
39028 if ac_fn_cxx_try_compile "$LINENO"; then :
39029 glibcxx_cv_func_strtof_use=yes
39030 else
39031 glibcxx_cv_func_strtof_use=no
39033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39034 ac_ext=c
39035 ac_cpp='$CPP $CPPFLAGS'
39036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39045 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39046 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39047 for ac_func in strtof
39048 do :
39049 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39050 if test "x$ac_cv_func_strtof" = x""yes; then :
39051 cat >>confdefs.h <<_ACEOF
39052 #define HAVE_STRTOF 1
39053 _ACEOF
39056 done
39063 CXXFLAGS="$ac_save_CXXFLAGS"
39065 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39067 # We don't yet support AIX's TLS ABI.
39068 #GCC_CHECK_TLS
39074 am_save_CPPFLAGS="$CPPFLAGS"
39076 for element in $INCICONV; do
39077 haveit=
39078 for x in $CPPFLAGS; do
39080 acl_save_prefix="$prefix"
39081 prefix="$acl_final_prefix"
39082 acl_save_exec_prefix="$exec_prefix"
39083 exec_prefix="$acl_final_exec_prefix"
39084 eval x=\"$x\"
39085 exec_prefix="$acl_save_exec_prefix"
39086 prefix="$acl_save_prefix"
39088 if test "X$x" = "X$element"; then
39089 haveit=yes
39090 break
39092 done
39093 if test -z "$haveit"; then
39094 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39096 done
39099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39100 $as_echo_n "checking for iconv... " >&6; }
39101 if test "${am_cv_func_iconv+set}" = set; then :
39102 $as_echo_n "(cached) " >&6
39103 else
39105 am_cv_func_iconv="no, consider installing GNU libiconv"
39106 am_cv_lib_iconv=no
39107 if test x$gcc_no_link = xyes; then
39108 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39111 /* end confdefs.h. */
39112 #include <stdlib.h>
39113 #include <iconv.h>
39115 main ()
39117 iconv_t cd = iconv_open("","");
39118 iconv(cd,NULL,NULL,NULL,NULL);
39119 iconv_close(cd);
39121 return 0;
39123 _ACEOF
39124 if ac_fn_c_try_link "$LINENO"; then :
39125 am_cv_func_iconv=yes
39127 rm -f core conftest.err conftest.$ac_objext \
39128 conftest$ac_exeext conftest.$ac_ext
39129 if test "$am_cv_func_iconv" != yes; then
39130 am_save_LIBS="$LIBS"
39131 LIBS="$LIBS $LIBICONV"
39132 if test x$gcc_no_link = xyes; then
39133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39136 /* end confdefs.h. */
39137 #include <stdlib.h>
39138 #include <iconv.h>
39140 main ()
39142 iconv_t cd = iconv_open("","");
39143 iconv(cd,NULL,NULL,NULL,NULL);
39144 iconv_close(cd);
39146 return 0;
39148 _ACEOF
39149 if ac_fn_c_try_link "$LINENO"; then :
39150 am_cv_lib_iconv=yes
39151 am_cv_func_iconv=yes
39153 rm -f core conftest.err conftest.$ac_objext \
39154 conftest$ac_exeext conftest.$ac_ext
39155 LIBS="$am_save_LIBS"
39159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39160 $as_echo "$am_cv_func_iconv" >&6; }
39161 if test "$am_cv_func_iconv" = yes; then
39163 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39166 if test "$am_cv_lib_iconv" = yes; then
39167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39168 $as_echo_n "checking how to link with libiconv... " >&6; }
39169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39170 $as_echo "$LIBICONV" >&6; }
39171 else
39172 CPPFLAGS="$am_save_CPPFLAGS"
39173 LIBICONV=
39174 LTLIBICONV=
39179 if test "$am_cv_func_iconv" = yes; then
39180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39181 $as_echo_n "checking for iconv declaration... " >&6; }
39182 if test "${am_cv_proto_iconv+set}" = set; then :
39183 $as_echo_n "(cached) " >&6
39184 else
39186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39187 /* end confdefs.h. */
39189 #include <stdlib.h>
39190 #include <iconv.h>
39191 extern
39192 #ifdef __cplusplus
39194 #endif
39195 #if defined(__STDC__) || defined(__cplusplus)
39196 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39197 #else
39198 size_t iconv();
39199 #endif
39202 main ()
39206 return 0;
39208 _ACEOF
39209 if ac_fn_c_try_compile "$LINENO"; then :
39210 am_cv_proto_iconv_arg1=""
39211 else
39212 am_cv_proto_iconv_arg1="const"
39214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39215 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);"
39218 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39220 }$am_cv_proto_iconv" >&5
39221 $as_echo "${ac_t:-
39222 }$am_cv_proto_iconv" >&6; }
39224 cat >>confdefs.h <<_ACEOF
39225 #define ICONV_CONST $am_cv_proto_iconv_arg1
39226 _ACEOF
39232 *-darwin*)
39233 # Darwin versions vary, but the linker should work in a cross environment,
39234 # so we just check for all the features here.
39235 # Check for available headers.
39237 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39239 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39240 ac_save_CXXFLAGS="$CXXFLAGS"
39241 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39244 $as_echo_n "checking for sin in -lm... " >&6; }
39245 if test "${ac_cv_lib_m_sin+set}" = set; then :
39246 $as_echo_n "(cached) " >&6
39247 else
39248 ac_check_lib_save_LIBS=$LIBS
39249 LIBS="-lm $LIBS"
39250 if test x$gcc_no_link = xyes; then
39251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39254 /* end confdefs.h. */
39256 /* Override any GCC internal prototype to avoid an error.
39257 Use char because int might match the return type of a GCC
39258 builtin and then its argument prototype would still apply. */
39259 #ifdef __cplusplus
39260 extern "C"
39261 #endif
39262 char sin ();
39264 main ()
39266 return sin ();
39268 return 0;
39270 _ACEOF
39271 if ac_fn_c_try_link "$LINENO"; then :
39272 ac_cv_lib_m_sin=yes
39273 else
39274 ac_cv_lib_m_sin=no
39276 rm -f core conftest.err conftest.$ac_objext \
39277 conftest$ac_exeext conftest.$ac_ext
39278 LIBS=$ac_check_lib_save_LIBS
39280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39281 $as_echo "$ac_cv_lib_m_sin" >&6; }
39282 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39283 libm="-lm"
39286 ac_save_LIBS="$LIBS"
39287 LIBS="$LIBS $libm"
39291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39292 $as_echo_n "checking for isinf declaration... " >&6; }
39293 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39294 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39295 $as_echo_n "(cached) " >&6
39296 else
39299 ac_ext=cpp
39300 ac_cpp='$CXXCPP $CPPFLAGS'
39301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39306 /* end confdefs.h. */
39307 #include <math.h>
39308 #ifdef HAVE_IEEEFP_H
39309 #include <ieeefp.h>
39310 #endif
39313 main ()
39315 isinf(0);
39317 return 0;
39319 _ACEOF
39320 if ac_fn_cxx_try_compile "$LINENO"; then :
39321 glibcxx_cv_func_isinf_use=yes
39322 else
39323 glibcxx_cv_func_isinf_use=no
39325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39326 ac_ext=c
39327 ac_cpp='$CPP $CPPFLAGS'
39328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39337 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39339 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39340 for ac_func in isinf
39341 do :
39342 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39343 if test "x$ac_cv_func_isinf" = x""yes; then :
39344 cat >>confdefs.h <<_ACEOF
39345 #define HAVE_ISINF 1
39346 _ACEOF
39349 done
39351 else
39353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39354 $as_echo_n "checking for _isinf declaration... " >&6; }
39355 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39356 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39357 $as_echo_n "(cached) " >&6
39358 else
39361 ac_ext=cpp
39362 ac_cpp='$CXXCPP $CPPFLAGS'
39363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39368 /* end confdefs.h. */
39369 #include <math.h>
39370 #ifdef HAVE_IEEEFP_H
39371 #include <ieeefp.h>
39372 #endif
39375 main ()
39377 _isinf(0);
39379 return 0;
39381 _ACEOF
39382 if ac_fn_cxx_try_compile "$LINENO"; then :
39383 glibcxx_cv_func__isinf_use=yes
39384 else
39385 glibcxx_cv_func__isinf_use=no
39387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39388 ac_ext=c
39389 ac_cpp='$CPP $CPPFLAGS'
39390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39399 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39401 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39402 for ac_func in _isinf
39403 do :
39404 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39405 if test "x$ac_cv_func__isinf" = x""yes; then :
39406 cat >>confdefs.h <<_ACEOF
39407 #define HAVE__ISINF 1
39408 _ACEOF
39411 done
39420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39421 $as_echo_n "checking for isnan declaration... " >&6; }
39422 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39423 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39424 $as_echo_n "(cached) " >&6
39425 else
39428 ac_ext=cpp
39429 ac_cpp='$CXXCPP $CPPFLAGS'
39430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39435 /* end confdefs.h. */
39436 #include <math.h>
39437 #ifdef HAVE_IEEEFP_H
39438 #include <ieeefp.h>
39439 #endif
39442 main ()
39444 isnan(0);
39446 return 0;
39448 _ACEOF
39449 if ac_fn_cxx_try_compile "$LINENO"; then :
39450 glibcxx_cv_func_isnan_use=yes
39451 else
39452 glibcxx_cv_func_isnan_use=no
39454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39455 ac_ext=c
39456 ac_cpp='$CPP $CPPFLAGS'
39457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39466 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39468 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39469 for ac_func in isnan
39470 do :
39471 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39472 if test "x$ac_cv_func_isnan" = x""yes; then :
39473 cat >>confdefs.h <<_ACEOF
39474 #define HAVE_ISNAN 1
39475 _ACEOF
39478 done
39480 else
39482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39483 $as_echo_n "checking for _isnan declaration... " >&6; }
39484 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39485 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39486 $as_echo_n "(cached) " >&6
39487 else
39490 ac_ext=cpp
39491 ac_cpp='$CXXCPP $CPPFLAGS'
39492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39497 /* end confdefs.h. */
39498 #include <math.h>
39499 #ifdef HAVE_IEEEFP_H
39500 #include <ieeefp.h>
39501 #endif
39504 main ()
39506 _isnan(0);
39508 return 0;
39510 _ACEOF
39511 if ac_fn_cxx_try_compile "$LINENO"; then :
39512 glibcxx_cv_func__isnan_use=yes
39513 else
39514 glibcxx_cv_func__isnan_use=no
39516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39517 ac_ext=c
39518 ac_cpp='$CPP $CPPFLAGS'
39519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39528 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39530 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39531 for ac_func in _isnan
39532 do :
39533 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39534 if test "x$ac_cv_func__isnan" = x""yes; then :
39535 cat >>confdefs.h <<_ACEOF
39536 #define HAVE__ISNAN 1
39537 _ACEOF
39540 done
39549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39550 $as_echo_n "checking for finite declaration... " >&6; }
39551 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39552 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39553 $as_echo_n "(cached) " >&6
39554 else
39557 ac_ext=cpp
39558 ac_cpp='$CXXCPP $CPPFLAGS'
39559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39564 /* end confdefs.h. */
39565 #include <math.h>
39566 #ifdef HAVE_IEEEFP_H
39567 #include <ieeefp.h>
39568 #endif
39571 main ()
39573 finite(0);
39575 return 0;
39577 _ACEOF
39578 if ac_fn_cxx_try_compile "$LINENO"; then :
39579 glibcxx_cv_func_finite_use=yes
39580 else
39581 glibcxx_cv_func_finite_use=no
39583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39584 ac_ext=c
39585 ac_cpp='$CPP $CPPFLAGS'
39586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39595 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39597 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39598 for ac_func in finite
39599 do :
39600 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39601 if test "x$ac_cv_func_finite" = x""yes; then :
39602 cat >>confdefs.h <<_ACEOF
39603 #define HAVE_FINITE 1
39604 _ACEOF
39607 done
39609 else
39611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39612 $as_echo_n "checking for _finite declaration... " >&6; }
39613 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39614 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39615 $as_echo_n "(cached) " >&6
39616 else
39619 ac_ext=cpp
39620 ac_cpp='$CXXCPP $CPPFLAGS'
39621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39626 /* end confdefs.h. */
39627 #include <math.h>
39628 #ifdef HAVE_IEEEFP_H
39629 #include <ieeefp.h>
39630 #endif
39633 main ()
39635 _finite(0);
39637 return 0;
39639 _ACEOF
39640 if ac_fn_cxx_try_compile "$LINENO"; then :
39641 glibcxx_cv_func__finite_use=yes
39642 else
39643 glibcxx_cv_func__finite_use=no
39645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39646 ac_ext=c
39647 ac_cpp='$CPP $CPPFLAGS'
39648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39657 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39659 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39660 for ac_func in _finite
39661 do :
39662 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39663 if test "x$ac_cv_func__finite" = x""yes; then :
39664 cat >>confdefs.h <<_ACEOF
39665 #define HAVE__FINITE 1
39666 _ACEOF
39669 done
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39679 $as_echo_n "checking for sincos declaration... " >&6; }
39680 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39681 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39682 $as_echo_n "(cached) " >&6
39683 else
39686 ac_ext=cpp
39687 ac_cpp='$CXXCPP $CPPFLAGS'
39688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39693 /* end confdefs.h. */
39694 #include <math.h>
39696 main ()
39698 sincos(0, 0, 0);
39700 return 0;
39702 _ACEOF
39703 if ac_fn_cxx_try_compile "$LINENO"; then :
39704 glibcxx_cv_func_sincos_use=yes
39705 else
39706 glibcxx_cv_func_sincos_use=no
39708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39709 ac_ext=c
39710 ac_cpp='$CPP $CPPFLAGS'
39711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39720 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39722 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39723 for ac_func in sincos
39724 do :
39725 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39726 if test "x$ac_cv_func_sincos" = x""yes; then :
39727 cat >>confdefs.h <<_ACEOF
39728 #define HAVE_SINCOS 1
39729 _ACEOF
39732 done
39734 else
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39737 $as_echo_n "checking for _sincos declaration... " >&6; }
39738 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39739 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39740 $as_echo_n "(cached) " >&6
39741 else
39744 ac_ext=cpp
39745 ac_cpp='$CXXCPP $CPPFLAGS'
39746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39751 /* end confdefs.h. */
39752 #include <math.h>
39754 main ()
39756 _sincos(0, 0, 0);
39758 return 0;
39760 _ACEOF
39761 if ac_fn_cxx_try_compile "$LINENO"; then :
39762 glibcxx_cv_func__sincos_use=yes
39763 else
39764 glibcxx_cv_func__sincos_use=no
39766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39767 ac_ext=c
39768 ac_cpp='$CPP $CPPFLAGS'
39769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39778 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39780 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39781 for ac_func in _sincos
39782 do :
39783 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39784 if test "x$ac_cv_func__sincos" = x""yes; then :
39785 cat >>confdefs.h <<_ACEOF
39786 #define HAVE__SINCOS 1
39787 _ACEOF
39790 done
39799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39800 $as_echo_n "checking for fpclass declaration... " >&6; }
39801 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39802 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39803 $as_echo_n "(cached) " >&6
39804 else
39807 ac_ext=cpp
39808 ac_cpp='$CXXCPP $CPPFLAGS'
39809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39814 /* end confdefs.h. */
39815 #include <math.h>
39816 #ifdef HAVE_IEEEFP_H
39817 #include <ieeefp.h>
39818 #endif
39821 main ()
39823 fpclass(0);
39825 return 0;
39827 _ACEOF
39828 if ac_fn_cxx_try_compile "$LINENO"; then :
39829 glibcxx_cv_func_fpclass_use=yes
39830 else
39831 glibcxx_cv_func_fpclass_use=no
39833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39834 ac_ext=c
39835 ac_cpp='$CPP $CPPFLAGS'
39836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39845 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39847 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39848 for ac_func in fpclass
39849 do :
39850 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39851 if test "x$ac_cv_func_fpclass" = x""yes; then :
39852 cat >>confdefs.h <<_ACEOF
39853 #define HAVE_FPCLASS 1
39854 _ACEOF
39857 done
39859 else
39861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39862 $as_echo_n "checking for _fpclass declaration... " >&6; }
39863 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39864 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39865 $as_echo_n "(cached) " >&6
39866 else
39869 ac_ext=cpp
39870 ac_cpp='$CXXCPP $CPPFLAGS'
39871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39876 /* end confdefs.h. */
39877 #include <math.h>
39878 #ifdef HAVE_IEEEFP_H
39879 #include <ieeefp.h>
39880 #endif
39883 main ()
39885 _fpclass(0);
39887 return 0;
39889 _ACEOF
39890 if ac_fn_cxx_try_compile "$LINENO"; then :
39891 glibcxx_cv_func__fpclass_use=yes
39892 else
39893 glibcxx_cv_func__fpclass_use=no
39895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39896 ac_ext=c
39897 ac_cpp='$CPP $CPPFLAGS'
39898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39907 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39909 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39910 for ac_func in _fpclass
39911 do :
39912 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39913 if test "x$ac_cv_func__fpclass" = x""yes; then :
39914 cat >>confdefs.h <<_ACEOF
39915 #define HAVE__FPCLASS 1
39916 _ACEOF
39919 done
39928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39929 $as_echo_n "checking for qfpclass declaration... " >&6; }
39930 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39931 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39932 $as_echo_n "(cached) " >&6
39933 else
39936 ac_ext=cpp
39937 ac_cpp='$CXXCPP $CPPFLAGS'
39938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39943 /* end confdefs.h. */
39944 #include <math.h>
39945 #ifdef HAVE_IEEEFP_H
39946 #include <ieeefp.h>
39947 #endif
39950 main ()
39952 qfpclass(0);
39954 return 0;
39956 _ACEOF
39957 if ac_fn_cxx_try_compile "$LINENO"; then :
39958 glibcxx_cv_func_qfpclass_use=yes
39959 else
39960 glibcxx_cv_func_qfpclass_use=no
39962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39963 ac_ext=c
39964 ac_cpp='$CPP $CPPFLAGS'
39965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39974 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39976 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39977 for ac_func in qfpclass
39978 do :
39979 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39980 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39981 cat >>confdefs.h <<_ACEOF
39982 #define HAVE_QFPCLASS 1
39983 _ACEOF
39986 done
39988 else
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39991 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39992 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39993 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39994 $as_echo_n "(cached) " >&6
39995 else
39998 ac_ext=cpp
39999 ac_cpp='$CXXCPP $CPPFLAGS'
40000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40005 /* end confdefs.h. */
40006 #include <math.h>
40007 #ifdef HAVE_IEEEFP_H
40008 #include <ieeefp.h>
40009 #endif
40012 main ()
40014 _qfpclass(0);
40016 return 0;
40018 _ACEOF
40019 if ac_fn_cxx_try_compile "$LINENO"; then :
40020 glibcxx_cv_func__qfpclass_use=yes
40021 else
40022 glibcxx_cv_func__qfpclass_use=no
40024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40025 ac_ext=c
40026 ac_cpp='$CPP $CPPFLAGS'
40027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40036 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40038 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40039 for ac_func in _qfpclass
40040 do :
40041 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40042 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40043 cat >>confdefs.h <<_ACEOF
40044 #define HAVE__QFPCLASS 1
40045 _ACEOF
40048 done
40057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40058 $as_echo_n "checking for hypot declaration... " >&6; }
40059 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40060 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40061 $as_echo_n "(cached) " >&6
40062 else
40065 ac_ext=cpp
40066 ac_cpp='$CXXCPP $CPPFLAGS'
40067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40072 /* end confdefs.h. */
40073 #include <math.h>
40075 main ()
40077 hypot(0, 0);
40079 return 0;
40081 _ACEOF
40082 if ac_fn_cxx_try_compile "$LINENO"; then :
40083 glibcxx_cv_func_hypot_use=yes
40084 else
40085 glibcxx_cv_func_hypot_use=no
40087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40088 ac_ext=c
40089 ac_cpp='$CPP $CPPFLAGS'
40090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40099 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40101 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40102 for ac_func in hypot
40103 do :
40104 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40105 if test "x$ac_cv_func_hypot" = x""yes; then :
40106 cat >>confdefs.h <<_ACEOF
40107 #define HAVE_HYPOT 1
40108 _ACEOF
40111 done
40113 else
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40116 $as_echo_n "checking for _hypot declaration... " >&6; }
40117 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40118 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40119 $as_echo_n "(cached) " >&6
40120 else
40123 ac_ext=cpp
40124 ac_cpp='$CXXCPP $CPPFLAGS'
40125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40130 /* end confdefs.h. */
40131 #include <math.h>
40133 main ()
40135 _hypot(0, 0);
40137 return 0;
40139 _ACEOF
40140 if ac_fn_cxx_try_compile "$LINENO"; then :
40141 glibcxx_cv_func__hypot_use=yes
40142 else
40143 glibcxx_cv_func__hypot_use=no
40145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40146 ac_ext=c
40147 ac_cpp='$CPP $CPPFLAGS'
40148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40157 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40159 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40160 for ac_func in _hypot
40161 do :
40162 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40163 if test "x$ac_cv_func__hypot" = x""yes; then :
40164 cat >>confdefs.h <<_ACEOF
40165 #define HAVE__HYPOT 1
40166 _ACEOF
40169 done
40178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40179 $as_echo_n "checking for float trig functions... " >&6; }
40180 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40181 $as_echo_n "(cached) " >&6
40182 else
40185 ac_ext=cpp
40186 ac_cpp='$CXXCPP $CPPFLAGS'
40187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40192 /* end confdefs.h. */
40193 #include <math.h>
40195 main ()
40197 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40199 return 0;
40201 _ACEOF
40202 if ac_fn_cxx_try_compile "$LINENO"; then :
40203 glibcxx_cv_func_float_trig_use=yes
40204 else
40205 glibcxx_cv_func_float_trig_use=no
40207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40208 ac_ext=c
40209 ac_cpp='$CPP $CPPFLAGS'
40210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40217 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40218 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40219 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40220 do :
40221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40223 eval as_val=\$$as_ac_var
40224 if test "x$as_val" = x""yes; then :
40225 cat >>confdefs.h <<_ACEOF
40226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40227 _ACEOF
40230 done
40232 else
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40234 $as_echo_n "checking for _float trig functions... " >&6; }
40235 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40236 $as_echo_n "(cached) " >&6
40237 else
40240 ac_ext=cpp
40241 ac_cpp='$CXXCPP $CPPFLAGS'
40242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40247 /* end confdefs.h. */
40248 #include <math.h>
40250 main ()
40252 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40254 return 0;
40256 _ACEOF
40257 if ac_fn_cxx_try_compile "$LINENO"; then :
40258 glibcxx_cv_func__float_trig_use=yes
40259 else
40260 glibcxx_cv_func__float_trig_use=no
40262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40263 ac_ext=c
40264 ac_cpp='$CPP $CPPFLAGS'
40265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40272 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40273 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40274 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40275 do :
40276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40278 eval as_val=\$$as_ac_var
40279 if test "x$as_val" = x""yes; then :
40280 cat >>confdefs.h <<_ACEOF
40281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40282 _ACEOF
40285 done
40294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40295 $as_echo_n "checking for float round functions... " >&6; }
40296 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40297 $as_echo_n "(cached) " >&6
40298 else
40301 ac_ext=cpp
40302 ac_cpp='$CXXCPP $CPPFLAGS'
40303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40308 /* end confdefs.h. */
40309 #include <math.h>
40311 main ()
40313 ceilf (0); floorf (0);
40315 return 0;
40317 _ACEOF
40318 if ac_fn_cxx_try_compile "$LINENO"; then :
40319 glibcxx_cv_func_float_round_use=yes
40320 else
40321 glibcxx_cv_func_float_round_use=no
40323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40324 ac_ext=c
40325 ac_cpp='$CPP $CPPFLAGS'
40326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40333 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40334 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40335 for ac_func in ceilf floorf
40336 do :
40337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40339 eval as_val=\$$as_ac_var
40340 if test "x$as_val" = x""yes; then :
40341 cat >>confdefs.h <<_ACEOF
40342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40343 _ACEOF
40346 done
40348 else
40349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40350 $as_echo_n "checking for _float round functions... " >&6; }
40351 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40352 $as_echo_n "(cached) " >&6
40353 else
40356 ac_ext=cpp
40357 ac_cpp='$CXXCPP $CPPFLAGS'
40358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40363 /* end confdefs.h. */
40364 #include <math.h>
40366 main ()
40368 _ceilf (0); _floorf (0);
40370 return 0;
40372 _ACEOF
40373 if ac_fn_cxx_try_compile "$LINENO"; then :
40374 glibcxx_cv_func__float_round_use=yes
40375 else
40376 glibcxx_cv_func__float_round_use=no
40378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40379 ac_ext=c
40380 ac_cpp='$CPP $CPPFLAGS'
40381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40388 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40389 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40390 for ac_func in _ceilf _floorf
40391 do :
40392 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40393 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40394 eval as_val=\$$as_ac_var
40395 if test "x$as_val" = x""yes; then :
40396 cat >>confdefs.h <<_ACEOF
40397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40398 _ACEOF
40401 done
40411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40412 $as_echo_n "checking for expf declaration... " >&6; }
40413 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40414 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40415 $as_echo_n "(cached) " >&6
40416 else
40419 ac_ext=cpp
40420 ac_cpp='$CXXCPP $CPPFLAGS'
40421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40426 /* end confdefs.h. */
40427 #include <math.h>
40428 #ifdef HAVE_IEEEFP_H
40429 #include <ieeefp.h>
40430 #endif
40433 main ()
40435 expf(0);
40437 return 0;
40439 _ACEOF
40440 if ac_fn_cxx_try_compile "$LINENO"; then :
40441 glibcxx_cv_func_expf_use=yes
40442 else
40443 glibcxx_cv_func_expf_use=no
40445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40446 ac_ext=c
40447 ac_cpp='$CPP $CPPFLAGS'
40448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40457 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40459 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40460 for ac_func in expf
40461 do :
40462 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40463 if test "x$ac_cv_func_expf" = x""yes; then :
40464 cat >>confdefs.h <<_ACEOF
40465 #define HAVE_EXPF 1
40466 _ACEOF
40469 done
40471 else
40473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40474 $as_echo_n "checking for _expf declaration... " >&6; }
40475 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40476 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40477 $as_echo_n "(cached) " >&6
40478 else
40481 ac_ext=cpp
40482 ac_cpp='$CXXCPP $CPPFLAGS'
40483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40488 /* end confdefs.h. */
40489 #include <math.h>
40490 #ifdef HAVE_IEEEFP_H
40491 #include <ieeefp.h>
40492 #endif
40495 main ()
40497 _expf(0);
40499 return 0;
40501 _ACEOF
40502 if ac_fn_cxx_try_compile "$LINENO"; then :
40503 glibcxx_cv_func__expf_use=yes
40504 else
40505 glibcxx_cv_func__expf_use=no
40507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40508 ac_ext=c
40509 ac_cpp='$CPP $CPPFLAGS'
40510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40519 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40521 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40522 for ac_func in _expf
40523 do :
40524 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40525 if test "x$ac_cv_func__expf" = x""yes; then :
40526 cat >>confdefs.h <<_ACEOF
40527 #define HAVE__EXPF 1
40528 _ACEOF
40531 done
40540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40541 $as_echo_n "checking for isnanf declaration... " >&6; }
40542 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40543 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40544 $as_echo_n "(cached) " >&6
40545 else
40548 ac_ext=cpp
40549 ac_cpp='$CXXCPP $CPPFLAGS'
40550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40555 /* end confdefs.h. */
40556 #include <math.h>
40557 #ifdef HAVE_IEEEFP_H
40558 #include <ieeefp.h>
40559 #endif
40562 main ()
40564 isnanf(0);
40566 return 0;
40568 _ACEOF
40569 if ac_fn_cxx_try_compile "$LINENO"; then :
40570 glibcxx_cv_func_isnanf_use=yes
40571 else
40572 glibcxx_cv_func_isnanf_use=no
40574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40575 ac_ext=c
40576 ac_cpp='$CPP $CPPFLAGS'
40577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40586 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40588 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40589 for ac_func in isnanf
40590 do :
40591 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40592 if test "x$ac_cv_func_isnanf" = x""yes; then :
40593 cat >>confdefs.h <<_ACEOF
40594 #define HAVE_ISNANF 1
40595 _ACEOF
40598 done
40600 else
40602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40603 $as_echo_n "checking for _isnanf declaration... " >&6; }
40604 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40605 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40606 $as_echo_n "(cached) " >&6
40607 else
40610 ac_ext=cpp
40611 ac_cpp='$CXXCPP $CPPFLAGS'
40612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40617 /* end confdefs.h. */
40618 #include <math.h>
40619 #ifdef HAVE_IEEEFP_H
40620 #include <ieeefp.h>
40621 #endif
40624 main ()
40626 _isnanf(0);
40628 return 0;
40630 _ACEOF
40631 if ac_fn_cxx_try_compile "$LINENO"; then :
40632 glibcxx_cv_func__isnanf_use=yes
40633 else
40634 glibcxx_cv_func__isnanf_use=no
40636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40637 ac_ext=c
40638 ac_cpp='$CPP $CPPFLAGS'
40639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40648 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40650 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40651 for ac_func in _isnanf
40652 do :
40653 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40654 if test "x$ac_cv_func__isnanf" = x""yes; then :
40655 cat >>confdefs.h <<_ACEOF
40656 #define HAVE__ISNANF 1
40657 _ACEOF
40660 done
40669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40670 $as_echo_n "checking for isinff declaration... " >&6; }
40671 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40672 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40673 $as_echo_n "(cached) " >&6
40674 else
40677 ac_ext=cpp
40678 ac_cpp='$CXXCPP $CPPFLAGS'
40679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40684 /* end confdefs.h. */
40685 #include <math.h>
40686 #ifdef HAVE_IEEEFP_H
40687 #include <ieeefp.h>
40688 #endif
40691 main ()
40693 isinff(0);
40695 return 0;
40697 _ACEOF
40698 if ac_fn_cxx_try_compile "$LINENO"; then :
40699 glibcxx_cv_func_isinff_use=yes
40700 else
40701 glibcxx_cv_func_isinff_use=no
40703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40704 ac_ext=c
40705 ac_cpp='$CPP $CPPFLAGS'
40706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40715 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40717 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40718 for ac_func in isinff
40719 do :
40720 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40721 if test "x$ac_cv_func_isinff" = x""yes; then :
40722 cat >>confdefs.h <<_ACEOF
40723 #define HAVE_ISINFF 1
40724 _ACEOF
40727 done
40729 else
40731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40732 $as_echo_n "checking for _isinff declaration... " >&6; }
40733 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40734 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40735 $as_echo_n "(cached) " >&6
40736 else
40739 ac_ext=cpp
40740 ac_cpp='$CXXCPP $CPPFLAGS'
40741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40746 /* end confdefs.h. */
40747 #include <math.h>
40748 #ifdef HAVE_IEEEFP_H
40749 #include <ieeefp.h>
40750 #endif
40753 main ()
40755 _isinff(0);
40757 return 0;
40759 _ACEOF
40760 if ac_fn_cxx_try_compile "$LINENO"; then :
40761 glibcxx_cv_func__isinff_use=yes
40762 else
40763 glibcxx_cv_func__isinff_use=no
40765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40766 ac_ext=c
40767 ac_cpp='$CPP $CPPFLAGS'
40768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40777 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40779 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40780 for ac_func in _isinff
40781 do :
40782 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40783 if test "x$ac_cv_func__isinff" = x""yes; then :
40784 cat >>confdefs.h <<_ACEOF
40785 #define HAVE__ISINFF 1
40786 _ACEOF
40789 done
40798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40799 $as_echo_n "checking for atan2f declaration... " >&6; }
40800 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40801 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40802 $as_echo_n "(cached) " >&6
40803 else
40806 ac_ext=cpp
40807 ac_cpp='$CXXCPP $CPPFLAGS'
40808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40813 /* end confdefs.h. */
40814 #include <math.h>
40816 main ()
40818 atan2f(0, 0);
40820 return 0;
40822 _ACEOF
40823 if ac_fn_cxx_try_compile "$LINENO"; then :
40824 glibcxx_cv_func_atan2f_use=yes
40825 else
40826 glibcxx_cv_func_atan2f_use=no
40828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40829 ac_ext=c
40830 ac_cpp='$CPP $CPPFLAGS'
40831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40840 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40842 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40843 for ac_func in atan2f
40844 do :
40845 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40846 if test "x$ac_cv_func_atan2f" = x""yes; then :
40847 cat >>confdefs.h <<_ACEOF
40848 #define HAVE_ATAN2F 1
40849 _ACEOF
40852 done
40854 else
40856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40857 $as_echo_n "checking for _atan2f declaration... " >&6; }
40858 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40859 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40860 $as_echo_n "(cached) " >&6
40861 else
40864 ac_ext=cpp
40865 ac_cpp='$CXXCPP $CPPFLAGS'
40866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40871 /* end confdefs.h. */
40872 #include <math.h>
40874 main ()
40876 _atan2f(0, 0);
40878 return 0;
40880 _ACEOF
40881 if ac_fn_cxx_try_compile "$LINENO"; then :
40882 glibcxx_cv_func__atan2f_use=yes
40883 else
40884 glibcxx_cv_func__atan2f_use=no
40886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40887 ac_ext=c
40888 ac_cpp='$CPP $CPPFLAGS'
40889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40898 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40900 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40901 for ac_func in _atan2f
40902 do :
40903 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40904 if test "x$ac_cv_func__atan2f" = x""yes; then :
40905 cat >>confdefs.h <<_ACEOF
40906 #define HAVE__ATAN2F 1
40907 _ACEOF
40910 done
40919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40920 $as_echo_n "checking for fabsf declaration... " >&6; }
40921 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40922 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40923 $as_echo_n "(cached) " >&6
40924 else
40927 ac_ext=cpp
40928 ac_cpp='$CXXCPP $CPPFLAGS'
40929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40934 /* end confdefs.h. */
40935 #include <math.h>
40936 #ifdef HAVE_IEEEFP_H
40937 #include <ieeefp.h>
40938 #endif
40941 main ()
40943 fabsf(0);
40945 return 0;
40947 _ACEOF
40948 if ac_fn_cxx_try_compile "$LINENO"; then :
40949 glibcxx_cv_func_fabsf_use=yes
40950 else
40951 glibcxx_cv_func_fabsf_use=no
40953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40954 ac_ext=c
40955 ac_cpp='$CPP $CPPFLAGS'
40956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40965 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40967 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40968 for ac_func in fabsf
40969 do :
40970 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40971 if test "x$ac_cv_func_fabsf" = x""yes; then :
40972 cat >>confdefs.h <<_ACEOF
40973 #define HAVE_FABSF 1
40974 _ACEOF
40977 done
40979 else
40981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40982 $as_echo_n "checking for _fabsf declaration... " >&6; }
40983 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40984 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40985 $as_echo_n "(cached) " >&6
40986 else
40989 ac_ext=cpp
40990 ac_cpp='$CXXCPP $CPPFLAGS'
40991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40996 /* end confdefs.h. */
40997 #include <math.h>
40998 #ifdef HAVE_IEEEFP_H
40999 #include <ieeefp.h>
41000 #endif
41003 main ()
41005 _fabsf(0);
41007 return 0;
41009 _ACEOF
41010 if ac_fn_cxx_try_compile "$LINENO"; then :
41011 glibcxx_cv_func__fabsf_use=yes
41012 else
41013 glibcxx_cv_func__fabsf_use=no
41015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41016 ac_ext=c
41017 ac_cpp='$CPP $CPPFLAGS'
41018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41027 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41029 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41030 for ac_func in _fabsf
41031 do :
41032 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41033 if test "x$ac_cv_func__fabsf" = x""yes; then :
41034 cat >>confdefs.h <<_ACEOF
41035 #define HAVE__FABSF 1
41036 _ACEOF
41039 done
41048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41049 $as_echo_n "checking for fmodf declaration... " >&6; }
41050 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41051 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41052 $as_echo_n "(cached) " >&6
41053 else
41056 ac_ext=cpp
41057 ac_cpp='$CXXCPP $CPPFLAGS'
41058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41063 /* end confdefs.h. */
41064 #include <math.h>
41066 main ()
41068 fmodf(0, 0);
41070 return 0;
41072 _ACEOF
41073 if ac_fn_cxx_try_compile "$LINENO"; then :
41074 glibcxx_cv_func_fmodf_use=yes
41075 else
41076 glibcxx_cv_func_fmodf_use=no
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41079 ac_ext=c
41080 ac_cpp='$CPP $CPPFLAGS'
41081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41090 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41092 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41093 for ac_func in fmodf
41094 do :
41095 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41096 if test "x$ac_cv_func_fmodf" = x""yes; then :
41097 cat >>confdefs.h <<_ACEOF
41098 #define HAVE_FMODF 1
41099 _ACEOF
41102 done
41104 else
41106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41107 $as_echo_n "checking for _fmodf declaration... " >&6; }
41108 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41109 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41110 $as_echo_n "(cached) " >&6
41111 else
41114 ac_ext=cpp
41115 ac_cpp='$CXXCPP $CPPFLAGS'
41116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41121 /* end confdefs.h. */
41122 #include <math.h>
41124 main ()
41126 _fmodf(0, 0);
41128 return 0;
41130 _ACEOF
41131 if ac_fn_cxx_try_compile "$LINENO"; then :
41132 glibcxx_cv_func__fmodf_use=yes
41133 else
41134 glibcxx_cv_func__fmodf_use=no
41136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41137 ac_ext=c
41138 ac_cpp='$CPP $CPPFLAGS'
41139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41148 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41150 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41151 for ac_func in _fmodf
41152 do :
41153 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41154 if test "x$ac_cv_func__fmodf" = x""yes; then :
41155 cat >>confdefs.h <<_ACEOF
41156 #define HAVE__FMODF 1
41157 _ACEOF
41160 done
41169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41170 $as_echo_n "checking for frexpf declaration... " >&6; }
41171 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41172 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41173 $as_echo_n "(cached) " >&6
41174 else
41177 ac_ext=cpp
41178 ac_cpp='$CXXCPP $CPPFLAGS'
41179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41184 /* end confdefs.h. */
41185 #include <math.h>
41187 main ()
41189 frexpf(0, 0);
41191 return 0;
41193 _ACEOF
41194 if ac_fn_cxx_try_compile "$LINENO"; then :
41195 glibcxx_cv_func_frexpf_use=yes
41196 else
41197 glibcxx_cv_func_frexpf_use=no
41199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41200 ac_ext=c
41201 ac_cpp='$CPP $CPPFLAGS'
41202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41211 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41213 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41214 for ac_func in frexpf
41215 do :
41216 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41217 if test "x$ac_cv_func_frexpf" = x""yes; then :
41218 cat >>confdefs.h <<_ACEOF
41219 #define HAVE_FREXPF 1
41220 _ACEOF
41223 done
41225 else
41227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41228 $as_echo_n "checking for _frexpf declaration... " >&6; }
41229 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41230 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41231 $as_echo_n "(cached) " >&6
41232 else
41235 ac_ext=cpp
41236 ac_cpp='$CXXCPP $CPPFLAGS'
41237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41242 /* end confdefs.h. */
41243 #include <math.h>
41245 main ()
41247 _frexpf(0, 0);
41249 return 0;
41251 _ACEOF
41252 if ac_fn_cxx_try_compile "$LINENO"; then :
41253 glibcxx_cv_func__frexpf_use=yes
41254 else
41255 glibcxx_cv_func__frexpf_use=no
41257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41258 ac_ext=c
41259 ac_cpp='$CPP $CPPFLAGS'
41260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41269 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41271 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41272 for ac_func in _frexpf
41273 do :
41274 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41275 if test "x$ac_cv_func__frexpf" = x""yes; then :
41276 cat >>confdefs.h <<_ACEOF
41277 #define HAVE__FREXPF 1
41278 _ACEOF
41281 done
41290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41291 $as_echo_n "checking for hypotf declaration... " >&6; }
41292 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41293 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41294 $as_echo_n "(cached) " >&6
41295 else
41298 ac_ext=cpp
41299 ac_cpp='$CXXCPP $CPPFLAGS'
41300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41305 /* end confdefs.h. */
41306 #include <math.h>
41308 main ()
41310 hypotf(0, 0);
41312 return 0;
41314 _ACEOF
41315 if ac_fn_cxx_try_compile "$LINENO"; then :
41316 glibcxx_cv_func_hypotf_use=yes
41317 else
41318 glibcxx_cv_func_hypotf_use=no
41320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41321 ac_ext=c
41322 ac_cpp='$CPP $CPPFLAGS'
41323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41332 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41334 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41335 for ac_func in hypotf
41336 do :
41337 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41338 if test "x$ac_cv_func_hypotf" = x""yes; then :
41339 cat >>confdefs.h <<_ACEOF
41340 #define HAVE_HYPOTF 1
41341 _ACEOF
41344 done
41346 else
41348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41349 $as_echo_n "checking for _hypotf declaration... " >&6; }
41350 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41351 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41352 $as_echo_n "(cached) " >&6
41353 else
41356 ac_ext=cpp
41357 ac_cpp='$CXXCPP $CPPFLAGS'
41358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41363 /* end confdefs.h. */
41364 #include <math.h>
41366 main ()
41368 _hypotf(0, 0);
41370 return 0;
41372 _ACEOF
41373 if ac_fn_cxx_try_compile "$LINENO"; then :
41374 glibcxx_cv_func__hypotf_use=yes
41375 else
41376 glibcxx_cv_func__hypotf_use=no
41378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41379 ac_ext=c
41380 ac_cpp='$CPP $CPPFLAGS'
41381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41390 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41392 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41393 for ac_func in _hypotf
41394 do :
41395 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41396 if test "x$ac_cv_func__hypotf" = x""yes; then :
41397 cat >>confdefs.h <<_ACEOF
41398 #define HAVE__HYPOTF 1
41399 _ACEOF
41402 done
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41412 $as_echo_n "checking for ldexpf declaration... " >&6; }
41413 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41414 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41415 $as_echo_n "(cached) " >&6
41416 else
41419 ac_ext=cpp
41420 ac_cpp='$CXXCPP $CPPFLAGS'
41421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41426 /* end confdefs.h. */
41427 #include <math.h>
41429 main ()
41431 ldexpf(0, 0);
41433 return 0;
41435 _ACEOF
41436 if ac_fn_cxx_try_compile "$LINENO"; then :
41437 glibcxx_cv_func_ldexpf_use=yes
41438 else
41439 glibcxx_cv_func_ldexpf_use=no
41441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41442 ac_ext=c
41443 ac_cpp='$CPP $CPPFLAGS'
41444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41453 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41455 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41456 for ac_func in ldexpf
41457 do :
41458 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41459 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41460 cat >>confdefs.h <<_ACEOF
41461 #define HAVE_LDEXPF 1
41462 _ACEOF
41465 done
41467 else
41469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41470 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41471 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41472 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41473 $as_echo_n "(cached) " >&6
41474 else
41477 ac_ext=cpp
41478 ac_cpp='$CXXCPP $CPPFLAGS'
41479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41484 /* end confdefs.h. */
41485 #include <math.h>
41487 main ()
41489 _ldexpf(0, 0);
41491 return 0;
41493 _ACEOF
41494 if ac_fn_cxx_try_compile "$LINENO"; then :
41495 glibcxx_cv_func__ldexpf_use=yes
41496 else
41497 glibcxx_cv_func__ldexpf_use=no
41499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41500 ac_ext=c
41501 ac_cpp='$CPP $CPPFLAGS'
41502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41511 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41513 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41514 for ac_func in _ldexpf
41515 do :
41516 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41517 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41518 cat >>confdefs.h <<_ACEOF
41519 #define HAVE__LDEXPF 1
41520 _ACEOF
41523 done
41532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41533 $as_echo_n "checking for logf declaration... " >&6; }
41534 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41535 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41536 $as_echo_n "(cached) " >&6
41537 else
41540 ac_ext=cpp
41541 ac_cpp='$CXXCPP $CPPFLAGS'
41542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41547 /* end confdefs.h. */
41548 #include <math.h>
41549 #ifdef HAVE_IEEEFP_H
41550 #include <ieeefp.h>
41551 #endif
41554 main ()
41556 logf(0);
41558 return 0;
41560 _ACEOF
41561 if ac_fn_cxx_try_compile "$LINENO"; then :
41562 glibcxx_cv_func_logf_use=yes
41563 else
41564 glibcxx_cv_func_logf_use=no
41566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41567 ac_ext=c
41568 ac_cpp='$CPP $CPPFLAGS'
41569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41578 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41580 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41581 for ac_func in logf
41582 do :
41583 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41584 if test "x$ac_cv_func_logf" = x""yes; then :
41585 cat >>confdefs.h <<_ACEOF
41586 #define HAVE_LOGF 1
41587 _ACEOF
41590 done
41592 else
41594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41595 $as_echo_n "checking for _logf declaration... " >&6; }
41596 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41597 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41598 $as_echo_n "(cached) " >&6
41599 else
41602 ac_ext=cpp
41603 ac_cpp='$CXXCPP $CPPFLAGS'
41604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41609 /* end confdefs.h. */
41610 #include <math.h>
41611 #ifdef HAVE_IEEEFP_H
41612 #include <ieeefp.h>
41613 #endif
41616 main ()
41618 _logf(0);
41620 return 0;
41622 _ACEOF
41623 if ac_fn_cxx_try_compile "$LINENO"; then :
41624 glibcxx_cv_func__logf_use=yes
41625 else
41626 glibcxx_cv_func__logf_use=no
41628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41629 ac_ext=c
41630 ac_cpp='$CPP $CPPFLAGS'
41631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41640 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41642 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41643 for ac_func in _logf
41644 do :
41645 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41646 if test "x$ac_cv_func__logf" = x""yes; then :
41647 cat >>confdefs.h <<_ACEOF
41648 #define HAVE__LOGF 1
41649 _ACEOF
41652 done
41661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41662 $as_echo_n "checking for log10f declaration... " >&6; }
41663 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41664 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41665 $as_echo_n "(cached) " >&6
41666 else
41669 ac_ext=cpp
41670 ac_cpp='$CXXCPP $CPPFLAGS'
41671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41676 /* end confdefs.h. */
41677 #include <math.h>
41678 #ifdef HAVE_IEEEFP_H
41679 #include <ieeefp.h>
41680 #endif
41683 main ()
41685 log10f(0);
41687 return 0;
41689 _ACEOF
41690 if ac_fn_cxx_try_compile "$LINENO"; then :
41691 glibcxx_cv_func_log10f_use=yes
41692 else
41693 glibcxx_cv_func_log10f_use=no
41695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41696 ac_ext=c
41697 ac_cpp='$CPP $CPPFLAGS'
41698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41707 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41709 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41710 for ac_func in log10f
41711 do :
41712 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41713 if test "x$ac_cv_func_log10f" = x""yes; then :
41714 cat >>confdefs.h <<_ACEOF
41715 #define HAVE_LOG10F 1
41716 _ACEOF
41719 done
41721 else
41723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41724 $as_echo_n "checking for _log10f declaration... " >&6; }
41725 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41726 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41727 $as_echo_n "(cached) " >&6
41728 else
41731 ac_ext=cpp
41732 ac_cpp='$CXXCPP $CPPFLAGS'
41733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41738 /* end confdefs.h. */
41739 #include <math.h>
41740 #ifdef HAVE_IEEEFP_H
41741 #include <ieeefp.h>
41742 #endif
41745 main ()
41747 _log10f(0);
41749 return 0;
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753 glibcxx_cv_func__log10f_use=yes
41754 else
41755 glibcxx_cv_func__log10f_use=no
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758 ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41769 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41771 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41772 for ac_func in _log10f
41773 do :
41774 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41775 if test "x$ac_cv_func__log10f" = x""yes; then :
41776 cat >>confdefs.h <<_ACEOF
41777 #define HAVE__LOG10F 1
41778 _ACEOF
41781 done
41790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41791 $as_echo_n "checking for modff declaration... " >&6; }
41792 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41793 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41794 $as_echo_n "(cached) " >&6
41795 else
41798 ac_ext=cpp
41799 ac_cpp='$CXXCPP $CPPFLAGS'
41800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41805 /* end confdefs.h. */
41806 #include <math.h>
41808 main ()
41810 modff(0, 0);
41812 return 0;
41814 _ACEOF
41815 if ac_fn_cxx_try_compile "$LINENO"; then :
41816 glibcxx_cv_func_modff_use=yes
41817 else
41818 glibcxx_cv_func_modff_use=no
41820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41821 ac_ext=c
41822 ac_cpp='$CPP $CPPFLAGS'
41823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41832 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41834 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41835 for ac_func in modff
41836 do :
41837 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41838 if test "x$ac_cv_func_modff" = x""yes; then :
41839 cat >>confdefs.h <<_ACEOF
41840 #define HAVE_MODFF 1
41841 _ACEOF
41844 done
41846 else
41848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41849 $as_echo_n "checking for _modff declaration... " >&6; }
41850 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41851 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41852 $as_echo_n "(cached) " >&6
41853 else
41856 ac_ext=cpp
41857 ac_cpp='$CXXCPP $CPPFLAGS'
41858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41863 /* end confdefs.h. */
41864 #include <math.h>
41866 main ()
41868 _modff(0, 0);
41870 return 0;
41872 _ACEOF
41873 if ac_fn_cxx_try_compile "$LINENO"; then :
41874 glibcxx_cv_func__modff_use=yes
41875 else
41876 glibcxx_cv_func__modff_use=no
41878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41879 ac_ext=c
41880 ac_cpp='$CPP $CPPFLAGS'
41881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41890 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41892 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41893 for ac_func in _modff
41894 do :
41895 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41896 if test "x$ac_cv_func__modff" = x""yes; then :
41897 cat >>confdefs.h <<_ACEOF
41898 #define HAVE__MODFF 1
41899 _ACEOF
41902 done
41911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41912 $as_echo_n "checking for modf declaration... " >&6; }
41913 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41914 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41915 $as_echo_n "(cached) " >&6
41916 else
41919 ac_ext=cpp
41920 ac_cpp='$CXXCPP $CPPFLAGS'
41921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41926 /* end confdefs.h. */
41927 #include <math.h>
41929 main ()
41931 modf(0, 0);
41933 return 0;
41935 _ACEOF
41936 if ac_fn_cxx_try_compile "$LINENO"; then :
41937 glibcxx_cv_func_modf_use=yes
41938 else
41939 glibcxx_cv_func_modf_use=no
41941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41942 ac_ext=c
41943 ac_cpp='$CPP $CPPFLAGS'
41944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41953 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41955 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41956 for ac_func in modf
41957 do :
41958 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41959 if test "x$ac_cv_func_modf" = x""yes; then :
41960 cat >>confdefs.h <<_ACEOF
41961 #define HAVE_MODF 1
41962 _ACEOF
41965 done
41967 else
41969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41970 $as_echo_n "checking for _modf declaration... " >&6; }
41971 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41972 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41973 $as_echo_n "(cached) " >&6
41974 else
41977 ac_ext=cpp
41978 ac_cpp='$CXXCPP $CPPFLAGS'
41979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41984 /* end confdefs.h. */
41985 #include <math.h>
41987 main ()
41989 _modf(0, 0);
41991 return 0;
41993 _ACEOF
41994 if ac_fn_cxx_try_compile "$LINENO"; then :
41995 glibcxx_cv_func__modf_use=yes
41996 else
41997 glibcxx_cv_func__modf_use=no
41999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42000 ac_ext=c
42001 ac_cpp='$CPP $CPPFLAGS'
42002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42011 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42013 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42014 for ac_func in _modf
42015 do :
42016 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42017 if test "x$ac_cv_func__modf" = x""yes; then :
42018 cat >>confdefs.h <<_ACEOF
42019 #define HAVE__MODF 1
42020 _ACEOF
42023 done
42032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42033 $as_echo_n "checking for powf declaration... " >&6; }
42034 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42035 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42036 $as_echo_n "(cached) " >&6
42037 else
42040 ac_ext=cpp
42041 ac_cpp='$CXXCPP $CPPFLAGS'
42042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42047 /* end confdefs.h. */
42048 #include <math.h>
42050 main ()
42052 powf(0, 0);
42054 return 0;
42056 _ACEOF
42057 if ac_fn_cxx_try_compile "$LINENO"; then :
42058 glibcxx_cv_func_powf_use=yes
42059 else
42060 glibcxx_cv_func_powf_use=no
42062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42063 ac_ext=c
42064 ac_cpp='$CPP $CPPFLAGS'
42065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42074 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42076 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42077 for ac_func in powf
42078 do :
42079 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42080 if test "x$ac_cv_func_powf" = x""yes; then :
42081 cat >>confdefs.h <<_ACEOF
42082 #define HAVE_POWF 1
42083 _ACEOF
42086 done
42088 else
42090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42091 $as_echo_n "checking for _powf declaration... " >&6; }
42092 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42093 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42094 $as_echo_n "(cached) " >&6
42095 else
42098 ac_ext=cpp
42099 ac_cpp='$CXXCPP $CPPFLAGS'
42100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42105 /* end confdefs.h. */
42106 #include <math.h>
42108 main ()
42110 _powf(0, 0);
42112 return 0;
42114 _ACEOF
42115 if ac_fn_cxx_try_compile "$LINENO"; then :
42116 glibcxx_cv_func__powf_use=yes
42117 else
42118 glibcxx_cv_func__powf_use=no
42120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42121 ac_ext=c
42122 ac_cpp='$CPP $CPPFLAGS'
42123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42132 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42134 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42135 for ac_func in _powf
42136 do :
42137 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42138 if test "x$ac_cv_func__powf" = x""yes; then :
42139 cat >>confdefs.h <<_ACEOF
42140 #define HAVE__POWF 1
42141 _ACEOF
42144 done
42153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42154 $as_echo_n "checking for sqrtf declaration... " >&6; }
42155 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42156 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42157 $as_echo_n "(cached) " >&6
42158 else
42161 ac_ext=cpp
42162 ac_cpp='$CXXCPP $CPPFLAGS'
42163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42168 /* end confdefs.h. */
42169 #include <math.h>
42170 #ifdef HAVE_IEEEFP_H
42171 #include <ieeefp.h>
42172 #endif
42175 main ()
42177 sqrtf(0);
42179 return 0;
42181 _ACEOF
42182 if ac_fn_cxx_try_compile "$LINENO"; then :
42183 glibcxx_cv_func_sqrtf_use=yes
42184 else
42185 glibcxx_cv_func_sqrtf_use=no
42187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42188 ac_ext=c
42189 ac_cpp='$CPP $CPPFLAGS'
42190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42199 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42201 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42202 for ac_func in sqrtf
42203 do :
42204 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42205 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42206 cat >>confdefs.h <<_ACEOF
42207 #define HAVE_SQRTF 1
42208 _ACEOF
42211 done
42213 else
42215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42216 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42217 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42218 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42219 $as_echo_n "(cached) " >&6
42220 else
42223 ac_ext=cpp
42224 ac_cpp='$CXXCPP $CPPFLAGS'
42225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42230 /* end confdefs.h. */
42231 #include <math.h>
42232 #ifdef HAVE_IEEEFP_H
42233 #include <ieeefp.h>
42234 #endif
42237 main ()
42239 _sqrtf(0);
42241 return 0;
42243 _ACEOF
42244 if ac_fn_cxx_try_compile "$LINENO"; then :
42245 glibcxx_cv_func__sqrtf_use=yes
42246 else
42247 glibcxx_cv_func__sqrtf_use=no
42249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42250 ac_ext=c
42251 ac_cpp='$CPP $CPPFLAGS'
42252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42261 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42263 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42264 for ac_func in _sqrtf
42265 do :
42266 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42267 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42268 cat >>confdefs.h <<_ACEOF
42269 #define HAVE__SQRTF 1
42270 _ACEOF
42273 done
42282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42283 $as_echo_n "checking for sincosf declaration... " >&6; }
42284 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42285 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42286 $as_echo_n "(cached) " >&6
42287 else
42290 ac_ext=cpp
42291 ac_cpp='$CXXCPP $CPPFLAGS'
42292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42297 /* end confdefs.h. */
42298 #include <math.h>
42300 main ()
42302 sincosf(0, 0, 0);
42304 return 0;
42306 _ACEOF
42307 if ac_fn_cxx_try_compile "$LINENO"; then :
42308 glibcxx_cv_func_sincosf_use=yes
42309 else
42310 glibcxx_cv_func_sincosf_use=no
42312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42313 ac_ext=c
42314 ac_cpp='$CPP $CPPFLAGS'
42315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42324 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42326 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42327 for ac_func in sincosf
42328 do :
42329 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42330 if test "x$ac_cv_func_sincosf" = x""yes; then :
42331 cat >>confdefs.h <<_ACEOF
42332 #define HAVE_SINCOSF 1
42333 _ACEOF
42336 done
42338 else
42340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42341 $as_echo_n "checking for _sincosf declaration... " >&6; }
42342 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42343 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42344 $as_echo_n "(cached) " >&6
42345 else
42348 ac_ext=cpp
42349 ac_cpp='$CXXCPP $CPPFLAGS'
42350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42355 /* end confdefs.h. */
42356 #include <math.h>
42358 main ()
42360 _sincosf(0, 0, 0);
42362 return 0;
42364 _ACEOF
42365 if ac_fn_cxx_try_compile "$LINENO"; then :
42366 glibcxx_cv_func__sincosf_use=yes
42367 else
42368 glibcxx_cv_func__sincosf_use=no
42370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42371 ac_ext=c
42372 ac_cpp='$CPP $CPPFLAGS'
42373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42382 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42384 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42385 for ac_func in _sincosf
42386 do :
42387 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42388 if test "x$ac_cv_func__sincosf" = x""yes; then :
42389 cat >>confdefs.h <<_ACEOF
42390 #define HAVE__SINCOSF 1
42391 _ACEOF
42394 done
42403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42404 $as_echo_n "checking for finitef declaration... " >&6; }
42405 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42406 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42407 $as_echo_n "(cached) " >&6
42408 else
42411 ac_ext=cpp
42412 ac_cpp='$CXXCPP $CPPFLAGS'
42413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42418 /* end confdefs.h. */
42419 #include <math.h>
42420 #ifdef HAVE_IEEEFP_H
42421 #include <ieeefp.h>
42422 #endif
42425 main ()
42427 finitef(0);
42429 return 0;
42431 _ACEOF
42432 if ac_fn_cxx_try_compile "$LINENO"; then :
42433 glibcxx_cv_func_finitef_use=yes
42434 else
42435 glibcxx_cv_func_finitef_use=no
42437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42438 ac_ext=c
42439 ac_cpp='$CPP $CPPFLAGS'
42440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42449 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42451 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42452 for ac_func in finitef
42453 do :
42454 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42455 if test "x$ac_cv_func_finitef" = x""yes; then :
42456 cat >>confdefs.h <<_ACEOF
42457 #define HAVE_FINITEF 1
42458 _ACEOF
42461 done
42463 else
42465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42466 $as_echo_n "checking for _finitef declaration... " >&6; }
42467 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42468 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42469 $as_echo_n "(cached) " >&6
42470 else
42473 ac_ext=cpp
42474 ac_cpp='$CXXCPP $CPPFLAGS'
42475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42480 /* end confdefs.h. */
42481 #include <math.h>
42482 #ifdef HAVE_IEEEFP_H
42483 #include <ieeefp.h>
42484 #endif
42487 main ()
42489 _finitef(0);
42491 return 0;
42493 _ACEOF
42494 if ac_fn_cxx_try_compile "$LINENO"; then :
42495 glibcxx_cv_func__finitef_use=yes
42496 else
42497 glibcxx_cv_func__finitef_use=no
42499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42500 ac_ext=c
42501 ac_cpp='$CPP $CPPFLAGS'
42502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42511 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42513 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42514 for ac_func in _finitef
42515 do :
42516 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42517 if test "x$ac_cv_func__finitef" = x""yes; then :
42518 cat >>confdefs.h <<_ACEOF
42519 #define HAVE__FINITEF 1
42520 _ACEOF
42523 done
42532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42533 $as_echo_n "checking for long double trig functions... " >&6; }
42534 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42535 $as_echo_n "(cached) " >&6
42536 else
42539 ac_ext=cpp
42540 ac_cpp='$CXXCPP $CPPFLAGS'
42541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42546 /* end confdefs.h. */
42547 #include <math.h>
42549 main ()
42551 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42553 return 0;
42555 _ACEOF
42556 if ac_fn_cxx_try_compile "$LINENO"; then :
42557 glibcxx_cv_func_long_double_trig_use=yes
42558 else
42559 glibcxx_cv_func_long_double_trig_use=no
42561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42562 ac_ext=c
42563 ac_cpp='$CPP $CPPFLAGS'
42564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42571 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42572 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42573 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42574 do :
42575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42577 eval as_val=\$$as_ac_var
42578 if test "x$as_val" = x""yes; then :
42579 cat >>confdefs.h <<_ACEOF
42580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42581 _ACEOF
42584 done
42586 else
42587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42588 $as_echo_n "checking for _long double trig functions... " >&6; }
42589 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42590 $as_echo_n "(cached) " >&6
42591 else
42594 ac_ext=cpp
42595 ac_cpp='$CXXCPP $CPPFLAGS'
42596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42601 /* end confdefs.h. */
42602 #include <math.h>
42604 main ()
42606 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42608 return 0;
42610 _ACEOF
42611 if ac_fn_cxx_try_compile "$LINENO"; then :
42612 glibcxx_cv_func__long_double_trig_use=yes
42613 else
42614 glibcxx_cv_func__long_double_trig_use=no
42616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42617 ac_ext=c
42618 ac_cpp='$CPP $CPPFLAGS'
42619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42626 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42627 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42628 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42629 do :
42630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42632 eval as_val=\$$as_ac_var
42633 if test "x$as_val" = x""yes; then :
42634 cat >>confdefs.h <<_ACEOF
42635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42636 _ACEOF
42639 done
42648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42649 $as_echo_n "checking for long double round functions... " >&6; }
42650 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42651 $as_echo_n "(cached) " >&6
42652 else
42655 ac_ext=cpp
42656 ac_cpp='$CXXCPP $CPPFLAGS'
42657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42662 /* end confdefs.h. */
42663 #include <math.h>
42665 main ()
42667 ceill (0); floorl (0);
42669 return 0;
42671 _ACEOF
42672 if ac_fn_cxx_try_compile "$LINENO"; then :
42673 glibcxx_cv_func_long_double_round_use=yes
42674 else
42675 glibcxx_cv_func_long_double_round_use=no
42677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42678 ac_ext=c
42679 ac_cpp='$CPP $CPPFLAGS'
42680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42687 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42688 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42689 for ac_func in ceill floorl
42690 do :
42691 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42692 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42693 eval as_val=\$$as_ac_var
42694 if test "x$as_val" = x""yes; then :
42695 cat >>confdefs.h <<_ACEOF
42696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42697 _ACEOF
42700 done
42702 else
42703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42704 $as_echo_n "checking for _long double round functions... " >&6; }
42705 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42706 $as_echo_n "(cached) " >&6
42707 else
42710 ac_ext=cpp
42711 ac_cpp='$CXXCPP $CPPFLAGS'
42712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42717 /* end confdefs.h. */
42718 #include <math.h>
42720 main ()
42722 _ceill (0); _floorl (0);
42724 return 0;
42726 _ACEOF
42727 if ac_fn_cxx_try_compile "$LINENO"; then :
42728 glibcxx_cv_func__long_double_round_use=yes
42729 else
42730 glibcxx_cv_func__long_double_round_use=no
42732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42733 ac_ext=c
42734 ac_cpp='$CPP $CPPFLAGS'
42735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42742 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42743 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42744 for ac_func in _ceill _floorl
42745 do :
42746 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42748 eval as_val=\$$as_ac_var
42749 if test "x$as_val" = x""yes; then :
42750 cat >>confdefs.h <<_ACEOF
42751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42752 _ACEOF
42755 done
42765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42766 $as_echo_n "checking for isnanl declaration... " >&6; }
42767 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42768 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42769 $as_echo_n "(cached) " >&6
42770 else
42773 ac_ext=cpp
42774 ac_cpp='$CXXCPP $CPPFLAGS'
42775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42780 /* end confdefs.h. */
42781 #include <math.h>
42782 #ifdef HAVE_IEEEFP_H
42783 #include <ieeefp.h>
42784 #endif
42787 main ()
42789 isnanl(0);
42791 return 0;
42793 _ACEOF
42794 if ac_fn_cxx_try_compile "$LINENO"; then :
42795 glibcxx_cv_func_isnanl_use=yes
42796 else
42797 glibcxx_cv_func_isnanl_use=no
42799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42800 ac_ext=c
42801 ac_cpp='$CPP $CPPFLAGS'
42802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42811 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42813 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42814 for ac_func in isnanl
42815 do :
42816 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42817 if test "x$ac_cv_func_isnanl" = x""yes; then :
42818 cat >>confdefs.h <<_ACEOF
42819 #define HAVE_ISNANL 1
42820 _ACEOF
42823 done
42825 else
42827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42828 $as_echo_n "checking for _isnanl declaration... " >&6; }
42829 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42830 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42831 $as_echo_n "(cached) " >&6
42832 else
42835 ac_ext=cpp
42836 ac_cpp='$CXXCPP $CPPFLAGS'
42837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42842 /* end confdefs.h. */
42843 #include <math.h>
42844 #ifdef HAVE_IEEEFP_H
42845 #include <ieeefp.h>
42846 #endif
42849 main ()
42851 _isnanl(0);
42853 return 0;
42855 _ACEOF
42856 if ac_fn_cxx_try_compile "$LINENO"; then :
42857 glibcxx_cv_func__isnanl_use=yes
42858 else
42859 glibcxx_cv_func__isnanl_use=no
42861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42862 ac_ext=c
42863 ac_cpp='$CPP $CPPFLAGS'
42864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42873 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42875 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42876 for ac_func in _isnanl
42877 do :
42878 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42879 if test "x$ac_cv_func__isnanl" = x""yes; then :
42880 cat >>confdefs.h <<_ACEOF
42881 #define HAVE__ISNANL 1
42882 _ACEOF
42885 done
42894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42895 $as_echo_n "checking for isinfl declaration... " >&6; }
42896 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42897 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42898 $as_echo_n "(cached) " >&6
42899 else
42902 ac_ext=cpp
42903 ac_cpp='$CXXCPP $CPPFLAGS'
42904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42909 /* end confdefs.h. */
42910 #include <math.h>
42911 #ifdef HAVE_IEEEFP_H
42912 #include <ieeefp.h>
42913 #endif
42916 main ()
42918 isinfl(0);
42920 return 0;
42922 _ACEOF
42923 if ac_fn_cxx_try_compile "$LINENO"; then :
42924 glibcxx_cv_func_isinfl_use=yes
42925 else
42926 glibcxx_cv_func_isinfl_use=no
42928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42929 ac_ext=c
42930 ac_cpp='$CPP $CPPFLAGS'
42931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42940 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42942 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42943 for ac_func in isinfl
42944 do :
42945 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42946 if test "x$ac_cv_func_isinfl" = x""yes; then :
42947 cat >>confdefs.h <<_ACEOF
42948 #define HAVE_ISINFL 1
42949 _ACEOF
42952 done
42954 else
42956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42957 $as_echo_n "checking for _isinfl declaration... " >&6; }
42958 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42959 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42960 $as_echo_n "(cached) " >&6
42961 else
42964 ac_ext=cpp
42965 ac_cpp='$CXXCPP $CPPFLAGS'
42966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42971 /* end confdefs.h. */
42972 #include <math.h>
42973 #ifdef HAVE_IEEEFP_H
42974 #include <ieeefp.h>
42975 #endif
42978 main ()
42980 _isinfl(0);
42982 return 0;
42984 _ACEOF
42985 if ac_fn_cxx_try_compile "$LINENO"; then :
42986 glibcxx_cv_func__isinfl_use=yes
42987 else
42988 glibcxx_cv_func__isinfl_use=no
42990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42991 ac_ext=c
42992 ac_cpp='$CPP $CPPFLAGS'
42993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43002 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43004 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43005 for ac_func in _isinfl
43006 do :
43007 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43008 if test "x$ac_cv_func__isinfl" = x""yes; then :
43009 cat >>confdefs.h <<_ACEOF
43010 #define HAVE__ISINFL 1
43011 _ACEOF
43014 done
43023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43024 $as_echo_n "checking for atan2l declaration... " >&6; }
43025 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43026 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43027 $as_echo_n "(cached) " >&6
43028 else
43031 ac_ext=cpp
43032 ac_cpp='$CXXCPP $CPPFLAGS'
43033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43038 /* end confdefs.h. */
43039 #include <math.h>
43041 main ()
43043 atan2l(0, 0);
43045 return 0;
43047 _ACEOF
43048 if ac_fn_cxx_try_compile "$LINENO"; then :
43049 glibcxx_cv_func_atan2l_use=yes
43050 else
43051 glibcxx_cv_func_atan2l_use=no
43053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43054 ac_ext=c
43055 ac_cpp='$CPP $CPPFLAGS'
43056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43065 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43067 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43068 for ac_func in atan2l
43069 do :
43070 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43071 if test "x$ac_cv_func_atan2l" = x""yes; then :
43072 cat >>confdefs.h <<_ACEOF
43073 #define HAVE_ATAN2L 1
43074 _ACEOF
43077 done
43079 else
43081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43082 $as_echo_n "checking for _atan2l declaration... " >&6; }
43083 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43084 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43085 $as_echo_n "(cached) " >&6
43086 else
43089 ac_ext=cpp
43090 ac_cpp='$CXXCPP $CPPFLAGS'
43091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43096 /* end confdefs.h. */
43097 #include <math.h>
43099 main ()
43101 _atan2l(0, 0);
43103 return 0;
43105 _ACEOF
43106 if ac_fn_cxx_try_compile "$LINENO"; then :
43107 glibcxx_cv_func__atan2l_use=yes
43108 else
43109 glibcxx_cv_func__atan2l_use=no
43111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43112 ac_ext=c
43113 ac_cpp='$CPP $CPPFLAGS'
43114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43123 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43125 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43126 for ac_func in _atan2l
43127 do :
43128 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43129 if test "x$ac_cv_func__atan2l" = x""yes; then :
43130 cat >>confdefs.h <<_ACEOF
43131 #define HAVE__ATAN2L 1
43132 _ACEOF
43135 done
43144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43145 $as_echo_n "checking for expl declaration... " >&6; }
43146 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43147 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43148 $as_echo_n "(cached) " >&6
43149 else
43152 ac_ext=cpp
43153 ac_cpp='$CXXCPP $CPPFLAGS'
43154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43159 /* end confdefs.h. */
43160 #include <math.h>
43161 #ifdef HAVE_IEEEFP_H
43162 #include <ieeefp.h>
43163 #endif
43166 main ()
43168 expl(0);
43170 return 0;
43172 _ACEOF
43173 if ac_fn_cxx_try_compile "$LINENO"; then :
43174 glibcxx_cv_func_expl_use=yes
43175 else
43176 glibcxx_cv_func_expl_use=no
43178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43179 ac_ext=c
43180 ac_cpp='$CPP $CPPFLAGS'
43181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43190 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43192 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43193 for ac_func in expl
43194 do :
43195 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43196 if test "x$ac_cv_func_expl" = x""yes; then :
43197 cat >>confdefs.h <<_ACEOF
43198 #define HAVE_EXPL 1
43199 _ACEOF
43202 done
43204 else
43206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43207 $as_echo_n "checking for _expl declaration... " >&6; }
43208 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43209 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43210 $as_echo_n "(cached) " >&6
43211 else
43214 ac_ext=cpp
43215 ac_cpp='$CXXCPP $CPPFLAGS'
43216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43221 /* end confdefs.h. */
43222 #include <math.h>
43223 #ifdef HAVE_IEEEFP_H
43224 #include <ieeefp.h>
43225 #endif
43228 main ()
43230 _expl(0);
43232 return 0;
43234 _ACEOF
43235 if ac_fn_cxx_try_compile "$LINENO"; then :
43236 glibcxx_cv_func__expl_use=yes
43237 else
43238 glibcxx_cv_func__expl_use=no
43240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43241 ac_ext=c
43242 ac_cpp='$CPP $CPPFLAGS'
43243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43252 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43254 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43255 for ac_func in _expl
43256 do :
43257 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43258 if test "x$ac_cv_func__expl" = x""yes; then :
43259 cat >>confdefs.h <<_ACEOF
43260 #define HAVE__EXPL 1
43261 _ACEOF
43264 done
43273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43274 $as_echo_n "checking for fabsl declaration... " >&6; }
43275 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43276 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43277 $as_echo_n "(cached) " >&6
43278 else
43281 ac_ext=cpp
43282 ac_cpp='$CXXCPP $CPPFLAGS'
43283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43288 /* end confdefs.h. */
43289 #include <math.h>
43290 #ifdef HAVE_IEEEFP_H
43291 #include <ieeefp.h>
43292 #endif
43295 main ()
43297 fabsl(0);
43299 return 0;
43301 _ACEOF
43302 if ac_fn_cxx_try_compile "$LINENO"; then :
43303 glibcxx_cv_func_fabsl_use=yes
43304 else
43305 glibcxx_cv_func_fabsl_use=no
43307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43308 ac_ext=c
43309 ac_cpp='$CPP $CPPFLAGS'
43310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43319 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43321 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43322 for ac_func in fabsl
43323 do :
43324 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43325 if test "x$ac_cv_func_fabsl" = x""yes; then :
43326 cat >>confdefs.h <<_ACEOF
43327 #define HAVE_FABSL 1
43328 _ACEOF
43331 done
43333 else
43335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43336 $as_echo_n "checking for _fabsl declaration... " >&6; }
43337 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43338 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43339 $as_echo_n "(cached) " >&6
43340 else
43343 ac_ext=cpp
43344 ac_cpp='$CXXCPP $CPPFLAGS'
43345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43350 /* end confdefs.h. */
43351 #include <math.h>
43352 #ifdef HAVE_IEEEFP_H
43353 #include <ieeefp.h>
43354 #endif
43357 main ()
43359 _fabsl(0);
43361 return 0;
43363 _ACEOF
43364 if ac_fn_cxx_try_compile "$LINENO"; then :
43365 glibcxx_cv_func__fabsl_use=yes
43366 else
43367 glibcxx_cv_func__fabsl_use=no
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43370 ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43381 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43383 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43384 for ac_func in _fabsl
43385 do :
43386 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43387 if test "x$ac_cv_func__fabsl" = x""yes; then :
43388 cat >>confdefs.h <<_ACEOF
43389 #define HAVE__FABSL 1
43390 _ACEOF
43393 done
43402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43403 $as_echo_n "checking for fmodl declaration... " >&6; }
43404 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43405 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43406 $as_echo_n "(cached) " >&6
43407 else
43410 ac_ext=cpp
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43417 /* end confdefs.h. */
43418 #include <math.h>
43420 main ()
43422 fmodl(0, 0);
43424 return 0;
43426 _ACEOF
43427 if ac_fn_cxx_try_compile "$LINENO"; then :
43428 glibcxx_cv_func_fmodl_use=yes
43429 else
43430 glibcxx_cv_func_fmodl_use=no
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433 ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43444 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43446 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43447 for ac_func in fmodl
43448 do :
43449 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43450 if test "x$ac_cv_func_fmodl" = x""yes; then :
43451 cat >>confdefs.h <<_ACEOF
43452 #define HAVE_FMODL 1
43453 _ACEOF
43456 done
43458 else
43460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43461 $as_echo_n "checking for _fmodl declaration... " >&6; }
43462 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43463 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43464 $as_echo_n "(cached) " >&6
43465 else
43468 ac_ext=cpp
43469 ac_cpp='$CXXCPP $CPPFLAGS'
43470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43475 /* end confdefs.h. */
43476 #include <math.h>
43478 main ()
43480 _fmodl(0, 0);
43482 return 0;
43484 _ACEOF
43485 if ac_fn_cxx_try_compile "$LINENO"; then :
43486 glibcxx_cv_func__fmodl_use=yes
43487 else
43488 glibcxx_cv_func__fmodl_use=no
43490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43491 ac_ext=c
43492 ac_cpp='$CPP $CPPFLAGS'
43493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43502 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43504 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43505 for ac_func in _fmodl
43506 do :
43507 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43508 if test "x$ac_cv_func__fmodl" = x""yes; then :
43509 cat >>confdefs.h <<_ACEOF
43510 #define HAVE__FMODL 1
43511 _ACEOF
43514 done
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43524 $as_echo_n "checking for frexpl declaration... " >&6; }
43525 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43526 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43527 $as_echo_n "(cached) " >&6
43528 else
43531 ac_ext=cpp
43532 ac_cpp='$CXXCPP $CPPFLAGS'
43533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43538 /* end confdefs.h. */
43539 #include <math.h>
43541 main ()
43543 frexpl(0, 0);
43545 return 0;
43547 _ACEOF
43548 if ac_fn_cxx_try_compile "$LINENO"; then :
43549 glibcxx_cv_func_frexpl_use=yes
43550 else
43551 glibcxx_cv_func_frexpl_use=no
43553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43554 ac_ext=c
43555 ac_cpp='$CPP $CPPFLAGS'
43556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43565 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43567 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43568 for ac_func in frexpl
43569 do :
43570 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43571 if test "x$ac_cv_func_frexpl" = x""yes; then :
43572 cat >>confdefs.h <<_ACEOF
43573 #define HAVE_FREXPL 1
43574 _ACEOF
43577 done
43579 else
43581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43582 $as_echo_n "checking for _frexpl declaration... " >&6; }
43583 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43584 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43585 $as_echo_n "(cached) " >&6
43586 else
43589 ac_ext=cpp
43590 ac_cpp='$CXXCPP $CPPFLAGS'
43591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43596 /* end confdefs.h. */
43597 #include <math.h>
43599 main ()
43601 _frexpl(0, 0);
43603 return 0;
43605 _ACEOF
43606 if ac_fn_cxx_try_compile "$LINENO"; then :
43607 glibcxx_cv_func__frexpl_use=yes
43608 else
43609 glibcxx_cv_func__frexpl_use=no
43611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43612 ac_ext=c
43613 ac_cpp='$CPP $CPPFLAGS'
43614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43623 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43625 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43626 for ac_func in _frexpl
43627 do :
43628 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43629 if test "x$ac_cv_func__frexpl" = x""yes; then :
43630 cat >>confdefs.h <<_ACEOF
43631 #define HAVE__FREXPL 1
43632 _ACEOF
43635 done
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43645 $as_echo_n "checking for hypotl declaration... " >&6; }
43646 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43647 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43648 $as_echo_n "(cached) " >&6
43649 else
43652 ac_ext=cpp
43653 ac_cpp='$CXXCPP $CPPFLAGS'
43654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43659 /* end confdefs.h. */
43660 #include <math.h>
43662 main ()
43664 hypotl(0, 0);
43666 return 0;
43668 _ACEOF
43669 if ac_fn_cxx_try_compile "$LINENO"; then :
43670 glibcxx_cv_func_hypotl_use=yes
43671 else
43672 glibcxx_cv_func_hypotl_use=no
43674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43675 ac_ext=c
43676 ac_cpp='$CPP $CPPFLAGS'
43677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43686 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43688 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43689 for ac_func in hypotl
43690 do :
43691 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43692 if test "x$ac_cv_func_hypotl" = x""yes; then :
43693 cat >>confdefs.h <<_ACEOF
43694 #define HAVE_HYPOTL 1
43695 _ACEOF
43698 done
43700 else
43702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43703 $as_echo_n "checking for _hypotl declaration... " >&6; }
43704 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43705 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43706 $as_echo_n "(cached) " >&6
43707 else
43710 ac_ext=cpp
43711 ac_cpp='$CXXCPP $CPPFLAGS'
43712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43717 /* end confdefs.h. */
43718 #include <math.h>
43720 main ()
43722 _hypotl(0, 0);
43724 return 0;
43726 _ACEOF
43727 if ac_fn_cxx_try_compile "$LINENO"; then :
43728 glibcxx_cv_func__hypotl_use=yes
43729 else
43730 glibcxx_cv_func__hypotl_use=no
43732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43733 ac_ext=c
43734 ac_cpp='$CPP $CPPFLAGS'
43735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43744 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43746 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43747 for ac_func in _hypotl
43748 do :
43749 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43750 if test "x$ac_cv_func__hypotl" = x""yes; then :
43751 cat >>confdefs.h <<_ACEOF
43752 #define HAVE__HYPOTL 1
43753 _ACEOF
43756 done
43765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43766 $as_echo_n "checking for ldexpl declaration... " >&6; }
43767 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43768 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43769 $as_echo_n "(cached) " >&6
43770 else
43773 ac_ext=cpp
43774 ac_cpp='$CXXCPP $CPPFLAGS'
43775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43780 /* end confdefs.h. */
43781 #include <math.h>
43783 main ()
43785 ldexpl(0, 0);
43787 return 0;
43789 _ACEOF
43790 if ac_fn_cxx_try_compile "$LINENO"; then :
43791 glibcxx_cv_func_ldexpl_use=yes
43792 else
43793 glibcxx_cv_func_ldexpl_use=no
43795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43796 ac_ext=c
43797 ac_cpp='$CPP $CPPFLAGS'
43798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43807 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43809 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43810 for ac_func in ldexpl
43811 do :
43812 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43813 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43814 cat >>confdefs.h <<_ACEOF
43815 #define HAVE_LDEXPL 1
43816 _ACEOF
43819 done
43821 else
43823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43824 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43825 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43826 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43827 $as_echo_n "(cached) " >&6
43828 else
43831 ac_ext=cpp
43832 ac_cpp='$CXXCPP $CPPFLAGS'
43833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43838 /* end confdefs.h. */
43839 #include <math.h>
43841 main ()
43843 _ldexpl(0, 0);
43845 return 0;
43847 _ACEOF
43848 if ac_fn_cxx_try_compile "$LINENO"; then :
43849 glibcxx_cv_func__ldexpl_use=yes
43850 else
43851 glibcxx_cv_func__ldexpl_use=no
43853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43854 ac_ext=c
43855 ac_cpp='$CPP $CPPFLAGS'
43856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43865 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43867 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43868 for ac_func in _ldexpl
43869 do :
43870 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43871 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43872 cat >>confdefs.h <<_ACEOF
43873 #define HAVE__LDEXPL 1
43874 _ACEOF
43877 done
43886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43887 $as_echo_n "checking for logl declaration... " >&6; }
43888 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43889 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43890 $as_echo_n "(cached) " >&6
43891 else
43894 ac_ext=cpp
43895 ac_cpp='$CXXCPP $CPPFLAGS'
43896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43901 /* end confdefs.h. */
43902 #include <math.h>
43903 #ifdef HAVE_IEEEFP_H
43904 #include <ieeefp.h>
43905 #endif
43908 main ()
43910 logl(0);
43912 return 0;
43914 _ACEOF
43915 if ac_fn_cxx_try_compile "$LINENO"; then :
43916 glibcxx_cv_func_logl_use=yes
43917 else
43918 glibcxx_cv_func_logl_use=no
43920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43921 ac_ext=c
43922 ac_cpp='$CPP $CPPFLAGS'
43923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43932 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43934 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43935 for ac_func in logl
43936 do :
43937 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43938 if test "x$ac_cv_func_logl" = x""yes; then :
43939 cat >>confdefs.h <<_ACEOF
43940 #define HAVE_LOGL 1
43941 _ACEOF
43944 done
43946 else
43948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43949 $as_echo_n "checking for _logl declaration... " >&6; }
43950 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43951 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43952 $as_echo_n "(cached) " >&6
43953 else
43956 ac_ext=cpp
43957 ac_cpp='$CXXCPP $CPPFLAGS'
43958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43963 /* end confdefs.h. */
43964 #include <math.h>
43965 #ifdef HAVE_IEEEFP_H
43966 #include <ieeefp.h>
43967 #endif
43970 main ()
43972 _logl(0);
43974 return 0;
43976 _ACEOF
43977 if ac_fn_cxx_try_compile "$LINENO"; then :
43978 glibcxx_cv_func__logl_use=yes
43979 else
43980 glibcxx_cv_func__logl_use=no
43982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43983 ac_ext=c
43984 ac_cpp='$CPP $CPPFLAGS'
43985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43994 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43996 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43997 for ac_func in _logl
43998 do :
43999 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44000 if test "x$ac_cv_func__logl" = x""yes; then :
44001 cat >>confdefs.h <<_ACEOF
44002 #define HAVE__LOGL 1
44003 _ACEOF
44006 done
44015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44016 $as_echo_n "checking for log10l declaration... " >&6; }
44017 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44018 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44019 $as_echo_n "(cached) " >&6
44020 else
44023 ac_ext=cpp
44024 ac_cpp='$CXXCPP $CPPFLAGS'
44025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44030 /* end confdefs.h. */
44031 #include <math.h>
44032 #ifdef HAVE_IEEEFP_H
44033 #include <ieeefp.h>
44034 #endif
44037 main ()
44039 log10l(0);
44041 return 0;
44043 _ACEOF
44044 if ac_fn_cxx_try_compile "$LINENO"; then :
44045 glibcxx_cv_func_log10l_use=yes
44046 else
44047 glibcxx_cv_func_log10l_use=no
44049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44050 ac_ext=c
44051 ac_cpp='$CPP $CPPFLAGS'
44052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44061 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44063 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44064 for ac_func in log10l
44065 do :
44066 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44067 if test "x$ac_cv_func_log10l" = x""yes; then :
44068 cat >>confdefs.h <<_ACEOF
44069 #define HAVE_LOG10L 1
44070 _ACEOF
44073 done
44075 else
44077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44078 $as_echo_n "checking for _log10l declaration... " >&6; }
44079 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44080 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44081 $as_echo_n "(cached) " >&6
44082 else
44085 ac_ext=cpp
44086 ac_cpp='$CXXCPP $CPPFLAGS'
44087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44092 /* end confdefs.h. */
44093 #include <math.h>
44094 #ifdef HAVE_IEEEFP_H
44095 #include <ieeefp.h>
44096 #endif
44099 main ()
44101 _log10l(0);
44103 return 0;
44105 _ACEOF
44106 if ac_fn_cxx_try_compile "$LINENO"; then :
44107 glibcxx_cv_func__log10l_use=yes
44108 else
44109 glibcxx_cv_func__log10l_use=no
44111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44112 ac_ext=c
44113 ac_cpp='$CPP $CPPFLAGS'
44114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44123 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44125 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44126 for ac_func in _log10l
44127 do :
44128 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44129 if test "x$ac_cv_func__log10l" = x""yes; then :
44130 cat >>confdefs.h <<_ACEOF
44131 #define HAVE__LOG10L 1
44132 _ACEOF
44135 done
44144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44145 $as_echo_n "checking for modfl declaration... " >&6; }
44146 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44147 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44148 $as_echo_n "(cached) " >&6
44149 else
44152 ac_ext=cpp
44153 ac_cpp='$CXXCPP $CPPFLAGS'
44154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44159 /* end confdefs.h. */
44160 #include <math.h>
44162 main ()
44164 modfl(0, 0);
44166 return 0;
44168 _ACEOF
44169 if ac_fn_cxx_try_compile "$LINENO"; then :
44170 glibcxx_cv_func_modfl_use=yes
44171 else
44172 glibcxx_cv_func_modfl_use=no
44174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44175 ac_ext=c
44176 ac_cpp='$CPP $CPPFLAGS'
44177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44186 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44188 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44189 for ac_func in modfl
44190 do :
44191 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44192 if test "x$ac_cv_func_modfl" = x""yes; then :
44193 cat >>confdefs.h <<_ACEOF
44194 #define HAVE_MODFL 1
44195 _ACEOF
44198 done
44200 else
44202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44203 $as_echo_n "checking for _modfl declaration... " >&6; }
44204 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44205 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44206 $as_echo_n "(cached) " >&6
44207 else
44210 ac_ext=cpp
44211 ac_cpp='$CXXCPP $CPPFLAGS'
44212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44217 /* end confdefs.h. */
44218 #include <math.h>
44220 main ()
44222 _modfl(0, 0);
44224 return 0;
44226 _ACEOF
44227 if ac_fn_cxx_try_compile "$LINENO"; then :
44228 glibcxx_cv_func__modfl_use=yes
44229 else
44230 glibcxx_cv_func__modfl_use=no
44232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44233 ac_ext=c
44234 ac_cpp='$CPP $CPPFLAGS'
44235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44244 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44246 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44247 for ac_func in _modfl
44248 do :
44249 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44250 if test "x$ac_cv_func__modfl" = x""yes; then :
44251 cat >>confdefs.h <<_ACEOF
44252 #define HAVE__MODFL 1
44253 _ACEOF
44256 done
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44266 $as_echo_n "checking for powl declaration... " >&6; }
44267 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44268 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44269 $as_echo_n "(cached) " >&6
44270 else
44273 ac_ext=cpp
44274 ac_cpp='$CXXCPP $CPPFLAGS'
44275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44280 /* end confdefs.h. */
44281 #include <math.h>
44283 main ()
44285 powl(0, 0);
44287 return 0;
44289 _ACEOF
44290 if ac_fn_cxx_try_compile "$LINENO"; then :
44291 glibcxx_cv_func_powl_use=yes
44292 else
44293 glibcxx_cv_func_powl_use=no
44295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44296 ac_ext=c
44297 ac_cpp='$CPP $CPPFLAGS'
44298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44307 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44309 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44310 for ac_func in powl
44311 do :
44312 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44313 if test "x$ac_cv_func_powl" = x""yes; then :
44314 cat >>confdefs.h <<_ACEOF
44315 #define HAVE_POWL 1
44316 _ACEOF
44319 done
44321 else
44323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44324 $as_echo_n "checking for _powl declaration... " >&6; }
44325 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44326 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44327 $as_echo_n "(cached) " >&6
44328 else
44331 ac_ext=cpp
44332 ac_cpp='$CXXCPP $CPPFLAGS'
44333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44338 /* end confdefs.h. */
44339 #include <math.h>
44341 main ()
44343 _powl(0, 0);
44345 return 0;
44347 _ACEOF
44348 if ac_fn_cxx_try_compile "$LINENO"; then :
44349 glibcxx_cv_func__powl_use=yes
44350 else
44351 glibcxx_cv_func__powl_use=no
44353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44354 ac_ext=c
44355 ac_cpp='$CPP $CPPFLAGS'
44356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44365 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44367 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44368 for ac_func in _powl
44369 do :
44370 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44371 if test "x$ac_cv_func__powl" = x""yes; then :
44372 cat >>confdefs.h <<_ACEOF
44373 #define HAVE__POWL 1
44374 _ACEOF
44377 done
44386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44387 $as_echo_n "checking for sqrtl declaration... " >&6; }
44388 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44389 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44390 $as_echo_n "(cached) " >&6
44391 else
44394 ac_ext=cpp
44395 ac_cpp='$CXXCPP $CPPFLAGS'
44396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44401 /* end confdefs.h. */
44402 #include <math.h>
44403 #ifdef HAVE_IEEEFP_H
44404 #include <ieeefp.h>
44405 #endif
44408 main ()
44410 sqrtl(0);
44412 return 0;
44414 _ACEOF
44415 if ac_fn_cxx_try_compile "$LINENO"; then :
44416 glibcxx_cv_func_sqrtl_use=yes
44417 else
44418 glibcxx_cv_func_sqrtl_use=no
44420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44421 ac_ext=c
44422 ac_cpp='$CPP $CPPFLAGS'
44423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44432 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44434 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44435 for ac_func in sqrtl
44436 do :
44437 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44438 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44439 cat >>confdefs.h <<_ACEOF
44440 #define HAVE_SQRTL 1
44441 _ACEOF
44444 done
44446 else
44448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44449 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44450 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44451 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44452 $as_echo_n "(cached) " >&6
44453 else
44456 ac_ext=cpp
44457 ac_cpp='$CXXCPP $CPPFLAGS'
44458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44463 /* end confdefs.h. */
44464 #include <math.h>
44465 #ifdef HAVE_IEEEFP_H
44466 #include <ieeefp.h>
44467 #endif
44470 main ()
44472 _sqrtl(0);
44474 return 0;
44476 _ACEOF
44477 if ac_fn_cxx_try_compile "$LINENO"; then :
44478 glibcxx_cv_func__sqrtl_use=yes
44479 else
44480 glibcxx_cv_func__sqrtl_use=no
44482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44483 ac_ext=c
44484 ac_cpp='$CPP $CPPFLAGS'
44485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44494 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44496 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44497 for ac_func in _sqrtl
44498 do :
44499 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44500 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44501 cat >>confdefs.h <<_ACEOF
44502 #define HAVE__SQRTL 1
44503 _ACEOF
44506 done
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44516 $as_echo_n "checking for sincosl declaration... " >&6; }
44517 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44518 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44519 $as_echo_n "(cached) " >&6
44520 else
44523 ac_ext=cpp
44524 ac_cpp='$CXXCPP $CPPFLAGS'
44525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44530 /* end confdefs.h. */
44531 #include <math.h>
44533 main ()
44535 sincosl(0, 0, 0);
44537 return 0;
44539 _ACEOF
44540 if ac_fn_cxx_try_compile "$LINENO"; then :
44541 glibcxx_cv_func_sincosl_use=yes
44542 else
44543 glibcxx_cv_func_sincosl_use=no
44545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44546 ac_ext=c
44547 ac_cpp='$CPP $CPPFLAGS'
44548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44557 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44559 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44560 for ac_func in sincosl
44561 do :
44562 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44563 if test "x$ac_cv_func_sincosl" = x""yes; then :
44564 cat >>confdefs.h <<_ACEOF
44565 #define HAVE_SINCOSL 1
44566 _ACEOF
44569 done
44571 else
44573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44574 $as_echo_n "checking for _sincosl declaration... " >&6; }
44575 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44576 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44577 $as_echo_n "(cached) " >&6
44578 else
44581 ac_ext=cpp
44582 ac_cpp='$CXXCPP $CPPFLAGS'
44583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44588 /* end confdefs.h. */
44589 #include <math.h>
44591 main ()
44593 _sincosl(0, 0, 0);
44595 return 0;
44597 _ACEOF
44598 if ac_fn_cxx_try_compile "$LINENO"; then :
44599 glibcxx_cv_func__sincosl_use=yes
44600 else
44601 glibcxx_cv_func__sincosl_use=no
44603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44604 ac_ext=c
44605 ac_cpp='$CPP $CPPFLAGS'
44606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44615 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44617 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44618 for ac_func in _sincosl
44619 do :
44620 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44621 if test "x$ac_cv_func__sincosl" = x""yes; then :
44622 cat >>confdefs.h <<_ACEOF
44623 #define HAVE__SINCOSL 1
44624 _ACEOF
44627 done
44636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44637 $as_echo_n "checking for finitel declaration... " >&6; }
44638 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44639 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44640 $as_echo_n "(cached) " >&6
44641 else
44644 ac_ext=cpp
44645 ac_cpp='$CXXCPP $CPPFLAGS'
44646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44651 /* end confdefs.h. */
44652 #include <math.h>
44653 #ifdef HAVE_IEEEFP_H
44654 #include <ieeefp.h>
44655 #endif
44658 main ()
44660 finitel(0);
44662 return 0;
44664 _ACEOF
44665 if ac_fn_cxx_try_compile "$LINENO"; then :
44666 glibcxx_cv_func_finitel_use=yes
44667 else
44668 glibcxx_cv_func_finitel_use=no
44670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44671 ac_ext=c
44672 ac_cpp='$CPP $CPPFLAGS'
44673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44682 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44684 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44685 for ac_func in finitel
44686 do :
44687 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44688 if test "x$ac_cv_func_finitel" = x""yes; then :
44689 cat >>confdefs.h <<_ACEOF
44690 #define HAVE_FINITEL 1
44691 _ACEOF
44694 done
44696 else
44698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44699 $as_echo_n "checking for _finitel declaration... " >&6; }
44700 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44701 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44702 $as_echo_n "(cached) " >&6
44703 else
44706 ac_ext=cpp
44707 ac_cpp='$CXXCPP $CPPFLAGS'
44708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44713 /* end confdefs.h. */
44714 #include <math.h>
44715 #ifdef HAVE_IEEEFP_H
44716 #include <ieeefp.h>
44717 #endif
44720 main ()
44722 _finitel(0);
44724 return 0;
44726 _ACEOF
44727 if ac_fn_cxx_try_compile "$LINENO"; then :
44728 glibcxx_cv_func__finitel_use=yes
44729 else
44730 glibcxx_cv_func__finitel_use=no
44732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44733 ac_ext=c
44734 ac_cpp='$CPP $CPPFLAGS'
44735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44744 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44746 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44747 for ac_func in _finitel
44748 do :
44749 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44750 if test "x$ac_cv_func__finitel" = x""yes; then :
44751 cat >>confdefs.h <<_ACEOF
44752 #define HAVE__FINITEL 1
44753 _ACEOF
44756 done
44764 LIBS="$ac_save_LIBS"
44765 CXXFLAGS="$ac_save_CXXFLAGS"
44768 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44769 ac_save_CXXFLAGS="$CXXFLAGS"
44770 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44774 $as_echo_n "checking for strtold declaration... " >&6; }
44775 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44776 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44777 $as_echo_n "(cached) " >&6
44778 else
44781 ac_ext=cpp
44782 ac_cpp='$CXXCPP $CPPFLAGS'
44783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44788 /* end confdefs.h. */
44789 #include <stdlib.h>
44791 main ()
44793 strtold(0, 0);
44795 return 0;
44797 _ACEOF
44798 if ac_fn_cxx_try_compile "$LINENO"; then :
44799 glibcxx_cv_func_strtold_use=yes
44800 else
44801 glibcxx_cv_func_strtold_use=no
44803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44804 ac_ext=c
44805 ac_cpp='$CPP $CPPFLAGS'
44806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44815 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44816 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44817 for ac_func in strtold
44818 do :
44819 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44820 if test "x$ac_cv_func_strtold" = x""yes; then :
44821 cat >>confdefs.h <<_ACEOF
44822 #define HAVE_STRTOLD 1
44823 _ACEOF
44826 done
44833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44834 $as_echo_n "checking for strtof declaration... " >&6; }
44835 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44836 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44837 $as_echo_n "(cached) " >&6
44838 else
44841 ac_ext=cpp
44842 ac_cpp='$CXXCPP $CPPFLAGS'
44843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44848 /* end confdefs.h. */
44849 #include <stdlib.h>
44851 main ()
44853 strtof(0, 0);
44855 return 0;
44857 _ACEOF
44858 if ac_fn_cxx_try_compile "$LINENO"; then :
44859 glibcxx_cv_func_strtof_use=yes
44860 else
44861 glibcxx_cv_func_strtof_use=no
44863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44864 ac_ext=c
44865 ac_cpp='$CPP $CPPFLAGS'
44866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44875 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44876 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44877 for ac_func in strtof
44878 do :
44879 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44880 if test "x$ac_cv_func_strtof" = x""yes; then :
44881 cat >>confdefs.h <<_ACEOF
44882 #define HAVE_STRTOF 1
44883 _ACEOF
44886 done
44893 CXXFLAGS="$ac_save_CXXFLAGS"
44897 *djgpp)
44898 # GLIBCXX_CHECK_MATH_SUPPORT
44899 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44901 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44903 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44905 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44907 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44911 *-freebsd*)
44912 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44915 # If we're not using GNU ld, then there's no point in even trying these
44916 # tests. Check for that first. We should have already tested for gld
44917 # by now (in libtool), but require it now just to be safe...
44918 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44919 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44923 # The name set by libtool depends on the version of libtool. Shame on us
44924 # for depending on an impl detail, but c'est la vie. Older versions used
44925 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44926 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44927 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44928 # set (hence we're using an older libtool), then set it.
44929 if test x${with_gnu_ld+set} != xset; then
44930 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44931 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44932 with_gnu_ld=no
44933 else
44934 with_gnu_ld=$ac_cv_prog_gnu_ld
44938 # Start by getting the version number. I think the libtool test already
44939 # does some of this, but throws away the result.
44940 glibcxx_ld_is_gold=no
44941 if test x"$with_gnu_ld" = x"yes"; then
44942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44943 $as_echo_n "checking for ld version... " >&6; }
44945 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44946 glibcxx_ld_is_gold=yes
44948 ldver=`$LD --version 2>/dev/null |
44949 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'`
44951 glibcxx_gnu_ld_version=`echo $ldver | \
44952 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44954 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44957 # Set --gc-sections.
44958 glibcxx_have_gc_sections=no
44959 if test "$glibcxx_ld_is_gold" = "yes"; then
44960 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44961 glibcxx_have_gc_sections=yes
44963 else
44964 glibcxx_gcsections_min_ld=21602
44965 if test x"$with_gnu_ld" = x"yes" &&
44966 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44967 glibcxx_have_gc_sections=yes
44970 if test "$glibcxx_have_gc_sections" = "yes"; then
44971 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44972 # NB: This flag only works reliably after 2.16.1. Configure tests
44973 # for this are difficult, so hard wire a value that should work.
44975 ac_test_CFLAGS="${CFLAGS+set}"
44976 ac_save_CFLAGS="$CFLAGS"
44977 CFLAGS='-Wl,--gc-sections'
44979 # Check for -Wl,--gc-sections
44980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44981 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44982 if test x$gcc_no_link = xyes; then
44983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44986 /* end confdefs.h. */
44987 int one(void) { return 1; }
44988 int two(void) { return 2; }
44991 main ()
44993 two();
44995 return 0;
44997 _ACEOF
44998 if ac_fn_c_try_link "$LINENO"; then :
44999 ac_gcsections=yes
45000 else
45001 ac_gcsections=no
45003 rm -f core conftest.err conftest.$ac_objext \
45004 conftest$ac_exeext conftest.$ac_ext
45005 if test "$ac_gcsections" = "yes"; then
45006 rm -f conftest.c
45007 touch conftest.c
45008 if $CC -c conftest.c; then
45009 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45010 grep "Warning: gc-sections option ignored" > /dev/null; then
45011 ac_gcsections=no
45014 rm -f conftest.c conftest.o conftest
45016 if test "$ac_gcsections" = "yes"; then
45017 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45020 $as_echo "$ac_gcsections" >&6; }
45022 if test "$ac_test_CFLAGS" = set; then
45023 CFLAGS="$ac_save_CFLAGS"
45024 else
45025 # this is the suspicious part
45026 CFLAGS=''
45030 # Set -z,relro.
45031 # Note this is only for shared objects.
45032 ac_ld_relro=no
45033 if test x"$with_gnu_ld" = x"yes"; then
45034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45035 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45036 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45037 if test -n "$cxx_z_relo"; then
45038 OPT_LDFLAGS="-Wl,-z,relro"
45039 ac_ld_relro=yes
45041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45042 $as_echo "$ac_ld_relro" >&6; }
45045 # Set linker optimization flags.
45046 if test x"$with_gnu_ld" = x"yes"; then
45047 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45053 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45055 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45057 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45059 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45061 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45063 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45065 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45067 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45069 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45072 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45074 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45076 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45078 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45080 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45082 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45084 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45086 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45088 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45090 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45092 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45094 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45096 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45098 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45100 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45102 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45104 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45106 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45108 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45110 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45112 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45114 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45116 if test x"long_double_math_on_this_cpu" = x"yes"; then
45117 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45119 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45121 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45125 *-hpux*)
45126 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45129 # If we're not using GNU ld, then there's no point in even trying these
45130 # tests. Check for that first. We should have already tested for gld
45131 # by now (in libtool), but require it now just to be safe...
45132 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45133 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45137 # The name set by libtool depends on the version of libtool. Shame on us
45138 # for depending on an impl detail, but c'est la vie. Older versions used
45139 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45140 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45141 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45142 # set (hence we're using an older libtool), then set it.
45143 if test x${with_gnu_ld+set} != xset; then
45144 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45145 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45146 with_gnu_ld=no
45147 else
45148 with_gnu_ld=$ac_cv_prog_gnu_ld
45152 # Start by getting the version number. I think the libtool test already
45153 # does some of this, but throws away the result.
45154 glibcxx_ld_is_gold=no
45155 if test x"$with_gnu_ld" = x"yes"; then
45156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45157 $as_echo_n "checking for ld version... " >&6; }
45159 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45160 glibcxx_ld_is_gold=yes
45162 ldver=`$LD --version 2>/dev/null |
45163 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'`
45165 glibcxx_gnu_ld_version=`echo $ldver | \
45166 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45168 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45171 # Set --gc-sections.
45172 glibcxx_have_gc_sections=no
45173 if test "$glibcxx_ld_is_gold" = "yes"; then
45174 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45175 glibcxx_have_gc_sections=yes
45177 else
45178 glibcxx_gcsections_min_ld=21602
45179 if test x"$with_gnu_ld" = x"yes" &&
45180 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45181 glibcxx_have_gc_sections=yes
45184 if test "$glibcxx_have_gc_sections" = "yes"; then
45185 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45186 # NB: This flag only works reliably after 2.16.1. Configure tests
45187 # for this are difficult, so hard wire a value that should work.
45189 ac_test_CFLAGS="${CFLAGS+set}"
45190 ac_save_CFLAGS="$CFLAGS"
45191 CFLAGS='-Wl,--gc-sections'
45193 # Check for -Wl,--gc-sections
45194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45195 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45196 if test x$gcc_no_link = xyes; then
45197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45200 /* end confdefs.h. */
45201 int one(void) { return 1; }
45202 int two(void) { return 2; }
45205 main ()
45207 two();
45209 return 0;
45211 _ACEOF
45212 if ac_fn_c_try_link "$LINENO"; then :
45213 ac_gcsections=yes
45214 else
45215 ac_gcsections=no
45217 rm -f core conftest.err conftest.$ac_objext \
45218 conftest$ac_exeext conftest.$ac_ext
45219 if test "$ac_gcsections" = "yes"; then
45220 rm -f conftest.c
45221 touch conftest.c
45222 if $CC -c conftest.c; then
45223 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45224 grep "Warning: gc-sections option ignored" > /dev/null; then
45225 ac_gcsections=no
45228 rm -f conftest.c conftest.o conftest
45230 if test "$ac_gcsections" = "yes"; then
45231 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45234 $as_echo "$ac_gcsections" >&6; }
45236 if test "$ac_test_CFLAGS" = set; then
45237 CFLAGS="$ac_save_CFLAGS"
45238 else
45239 # this is the suspicious part
45240 CFLAGS=''
45244 # Set -z,relro.
45245 # Note this is only for shared objects.
45246 ac_ld_relro=no
45247 if test x"$with_gnu_ld" = x"yes"; then
45248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45249 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45250 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45251 if test -n "$cxx_z_relo"; then
45252 OPT_LDFLAGS="-Wl,-z,relro"
45253 ac_ld_relro=yes
45255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45256 $as_echo "$ac_ld_relro" >&6; }
45259 # Set linker optimization flags.
45260 if test x"$with_gnu_ld" = x"yes"; then
45261 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45268 # GLIBCXX_CHECK_MATH_SUPPORT
45269 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45271 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45273 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45275 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45277 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45279 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45281 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45283 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45285 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45287 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45289 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45291 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45293 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45295 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45297 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45299 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45301 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45303 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45305 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45307 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45309 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45312 # GLIBCXX_CHECK_STDLIB_SUPPORT
45313 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45318 # Check whether --enable-tls was given.
45319 if test "${enable_tls+set}" = set; then :
45320 enableval=$enable_tls;
45321 case "$enableval" in
45322 yes|no) ;;
45323 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45324 esac
45326 else
45327 enable_tls=yes
45331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45332 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45333 if test "${gcc_cv_have_tls+set}" = set; then :
45334 $as_echo_n "(cached) " >&6
45335 else
45337 if test "$cross_compiling" = yes; then :
45338 if test x$gcc_no_link = xyes; then
45339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45342 /* end confdefs.h. */
45343 __thread int a; int b; int main() { return a = b; }
45344 _ACEOF
45345 if ac_fn_c_try_link "$LINENO"; then :
45346 chktls_save_LDFLAGS="$LDFLAGS"
45347 case $host in
45348 *-*-linux*)
45349 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45351 esac
45352 chktls_save_CFLAGS="$CFLAGS"
45353 CFLAGS="-fPIC $CFLAGS"
45354 if test x$gcc_no_link = xyes; then
45355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45358 /* end confdefs.h. */
45359 int f() { return 0; }
45360 _ACEOF
45361 if ac_fn_c_try_link "$LINENO"; then :
45362 if test x$gcc_no_link = xyes; then
45363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45366 /* end confdefs.h. */
45367 __thread int a; int b; int f() { return a = b; }
45368 _ACEOF
45369 if ac_fn_c_try_link "$LINENO"; then :
45370 gcc_cv_have_tls=yes
45371 else
45372 gcc_cv_have_tls=no
45374 rm -f core conftest.err conftest.$ac_objext \
45375 conftest$ac_exeext conftest.$ac_ext
45376 else
45377 gcc_cv_have_tls=yes
45379 rm -f core conftest.err conftest.$ac_objext \
45380 conftest$ac_exeext conftest.$ac_ext
45381 CFLAGS="$chktls_save_CFLAGS"
45382 LDFLAGS="$chktls_save_LDFLAGS"
45383 else
45384 gcc_cv_have_tls=no
45386 rm -f core conftest.err conftest.$ac_objext \
45387 conftest$ac_exeext conftest.$ac_ext
45390 else
45391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45392 /* end confdefs.h. */
45393 __thread int a; int b; int main() { return a = b; }
45394 _ACEOF
45395 if ac_fn_c_try_run "$LINENO"; then :
45396 chktls_save_LDFLAGS="$LDFLAGS"
45397 LDFLAGS="-static $LDFLAGS"
45398 if test x$gcc_no_link = xyes; then
45399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45402 /* end confdefs.h. */
45403 int main() { return 0; }
45404 _ACEOF
45405 if ac_fn_c_try_link "$LINENO"; then :
45406 if test "$cross_compiling" = yes; then :
45407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45409 as_fn_error "cannot run test program while cross compiling
45410 See \`config.log' for more details." "$LINENO" 5; }
45411 else
45412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45413 /* end confdefs.h. */
45414 __thread int a; int b; int main() { return a = b; }
45415 _ACEOF
45416 if ac_fn_c_try_run "$LINENO"; then :
45417 gcc_cv_have_tls=yes
45418 else
45419 gcc_cv_have_tls=no
45421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45422 conftest.$ac_objext conftest.beam conftest.$ac_ext
45425 else
45426 gcc_cv_have_tls=yes
45428 rm -f core conftest.err conftest.$ac_objext \
45429 conftest$ac_exeext conftest.$ac_ext
45430 LDFLAGS="$chktls_save_LDFLAGS"
45431 if test $gcc_cv_have_tls = yes; then
45432 chktls_save_CFLAGS="$CFLAGS"
45433 thread_CFLAGS=failed
45434 for flag in '' '-pthread' '-lpthread'; do
45435 CFLAGS="$flag $chktls_save_CFLAGS"
45436 if test x$gcc_no_link = xyes; then
45437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45440 /* end confdefs.h. */
45441 #include <pthread.h>
45442 void *g(void *d) { return NULL; }
45444 main ()
45446 pthread_t t; pthread_create(&t,NULL,g,NULL);
45448 return 0;
45450 _ACEOF
45451 if ac_fn_c_try_link "$LINENO"; then :
45452 thread_CFLAGS="$flag"
45454 rm -f core conftest.err conftest.$ac_objext \
45455 conftest$ac_exeext conftest.$ac_ext
45456 if test "X$thread_CFLAGS" != Xfailed; then
45457 break
45459 done
45460 CFLAGS="$chktls_save_CFLAGS"
45461 if test "X$thread_CFLAGS" != Xfailed; then
45462 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45463 if test "$cross_compiling" = yes; then :
45464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45466 as_fn_error "cannot run test program while cross compiling
45467 See \`config.log' for more details." "$LINENO" 5; }
45468 else
45469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45470 /* end confdefs.h. */
45471 #include <pthread.h>
45472 __thread int a;
45473 static int *volatile a_in_other_thread;
45474 static void *
45475 thread_func (void *arg)
45477 a_in_other_thread = &a;
45478 return (void *)0;
45481 main ()
45483 pthread_t thread;
45484 void *thread_retval;
45485 int *volatile a_in_main_thread;
45486 a_in_main_thread = &a;
45487 if (pthread_create (&thread, (pthread_attr_t *)0,
45488 thread_func, (void *)0))
45489 return 0;
45490 if (pthread_join (thread, &thread_retval))
45491 return 0;
45492 return (a_in_other_thread == a_in_main_thread);
45494 return 0;
45496 _ACEOF
45497 if ac_fn_c_try_run "$LINENO"; then :
45498 gcc_cv_have_tls=yes
45499 else
45500 gcc_cv_have_tls=no
45502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45503 conftest.$ac_objext conftest.beam conftest.$ac_ext
45506 CFLAGS="$chktls_save_CFLAGS"
45509 else
45510 gcc_cv_have_tls=no
45512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45513 conftest.$ac_objext conftest.beam conftest.$ac_ext
45517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45518 $as_echo "$gcc_cv_have_tls" >&6; }
45519 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45521 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45524 case "$target" in
45525 *-hpux10*)
45526 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45528 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45530 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45532 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45534 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45537 esac
45539 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45541 # All these tests are for C++; save the language and the compiler flags.
45542 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45543 # found in GLIBCXX_CONFIGURE.
45545 ac_ext=cpp
45546 ac_cpp='$CXXCPP $CPPFLAGS'
45547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45551 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45552 ac_save_CXXFLAGS="$CXXFLAGS"
45554 # Check for maintainer-mode bits.
45555 if test x"$USE_MAINTAINER_MODE" = xno; then
45556 WERROR=''
45557 else
45558 WERROR='-Werror'
45561 # Check for -ffunction-sections -fdata-sections
45562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45563 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45564 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45566 /* end confdefs.h. */
45567 int foo; void bar() { };
45569 main ()
45573 return 0;
45575 _ACEOF
45576 if ac_fn_cxx_try_compile "$LINENO"; then :
45577 ac_fdsections=yes
45578 else
45579 ac_fdsections=no
45581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45582 if test "$ac_test_CXXFLAGS" = set; then
45583 CXXFLAGS="$ac_save_CXXFLAGS"
45584 else
45585 # this is the suspicious part
45586 CXXFLAGS=''
45588 if test x"$ac_fdsections" = x"yes"; then
45589 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45592 $as_echo "$ac_fdsections" >&6; }
45594 ac_ext=c
45595 ac_cpp='$CPP $CPPFLAGS'
45596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45604 # If we're not using GNU ld, then there's no point in even trying these
45605 # tests. Check for that first. We should have already tested for gld
45606 # by now (in libtool), but require it now just to be safe...
45607 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45608 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45612 # The name set by libtool depends on the version of libtool. Shame on us
45613 # for depending on an impl detail, but c'est la vie. Older versions used
45614 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45615 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45616 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45617 # set (hence we're using an older libtool), then set it.
45618 if test x${with_gnu_ld+set} != xset; then
45619 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45620 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45621 with_gnu_ld=no
45622 else
45623 with_gnu_ld=$ac_cv_prog_gnu_ld
45627 # Start by getting the version number. I think the libtool test already
45628 # does some of this, but throws away the result.
45629 glibcxx_ld_is_gold=no
45630 if test x"$with_gnu_ld" = x"yes"; then
45631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45632 $as_echo_n "checking for ld version... " >&6; }
45634 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45635 glibcxx_ld_is_gold=yes
45637 ldver=`$LD --version 2>/dev/null |
45638 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'`
45640 glibcxx_gnu_ld_version=`echo $ldver | \
45641 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45643 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45646 # Set --gc-sections.
45647 glibcxx_have_gc_sections=no
45648 if test "$glibcxx_ld_is_gold" = "yes"; then
45649 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45650 glibcxx_have_gc_sections=yes
45652 else
45653 glibcxx_gcsections_min_ld=21602
45654 if test x"$with_gnu_ld" = x"yes" &&
45655 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45656 glibcxx_have_gc_sections=yes
45659 if test "$glibcxx_have_gc_sections" = "yes"; then
45660 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45661 # NB: This flag only works reliably after 2.16.1. Configure tests
45662 # for this are difficult, so hard wire a value that should work.
45664 ac_test_CFLAGS="${CFLAGS+set}"
45665 ac_save_CFLAGS="$CFLAGS"
45666 CFLAGS='-Wl,--gc-sections'
45668 # Check for -Wl,--gc-sections
45669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45670 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45671 if test x$gcc_no_link = xyes; then
45672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45675 /* end confdefs.h. */
45676 int one(void) { return 1; }
45677 int two(void) { return 2; }
45680 main ()
45682 two();
45684 return 0;
45686 _ACEOF
45687 if ac_fn_c_try_link "$LINENO"; then :
45688 ac_gcsections=yes
45689 else
45690 ac_gcsections=no
45692 rm -f core conftest.err conftest.$ac_objext \
45693 conftest$ac_exeext conftest.$ac_ext
45694 if test "$ac_gcsections" = "yes"; then
45695 rm -f conftest.c
45696 touch conftest.c
45697 if $CC -c conftest.c; then
45698 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45699 grep "Warning: gc-sections option ignored" > /dev/null; then
45700 ac_gcsections=no
45703 rm -f conftest.c conftest.o conftest
45705 if test "$ac_gcsections" = "yes"; then
45706 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45709 $as_echo "$ac_gcsections" >&6; }
45711 if test "$ac_test_CFLAGS" = set; then
45712 CFLAGS="$ac_save_CFLAGS"
45713 else
45714 # this is the suspicious part
45715 CFLAGS=''
45719 # Set -z,relro.
45720 # Note this is only for shared objects.
45721 ac_ld_relro=no
45722 if test x"$with_gnu_ld" = x"yes"; then
45723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45724 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45725 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45726 if test -n "$cxx_z_relo"; then
45727 OPT_LDFLAGS="-Wl,-z,relro"
45728 ac_ld_relro=yes
45730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45731 $as_echo "$ac_ld_relro" >&6; }
45734 # Set linker optimization flags.
45735 if test x"$with_gnu_ld" = x"yes"; then
45736 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45743 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45744 ac_save_CXXFLAGS="$CXXFLAGS"
45745 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45748 $as_echo_n "checking for sin in -lm... " >&6; }
45749 if test "${ac_cv_lib_m_sin+set}" = set; then :
45750 $as_echo_n "(cached) " >&6
45751 else
45752 ac_check_lib_save_LIBS=$LIBS
45753 LIBS="-lm $LIBS"
45754 if test x$gcc_no_link = xyes; then
45755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45758 /* end confdefs.h. */
45760 /* Override any GCC internal prototype to avoid an error.
45761 Use char because int might match the return type of a GCC
45762 builtin and then its argument prototype would still apply. */
45763 #ifdef __cplusplus
45764 extern "C"
45765 #endif
45766 char sin ();
45768 main ()
45770 return sin ();
45772 return 0;
45774 _ACEOF
45775 if ac_fn_c_try_link "$LINENO"; then :
45776 ac_cv_lib_m_sin=yes
45777 else
45778 ac_cv_lib_m_sin=no
45780 rm -f core conftest.err conftest.$ac_objext \
45781 conftest$ac_exeext conftest.$ac_ext
45782 LIBS=$ac_check_lib_save_LIBS
45784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45785 $as_echo "$ac_cv_lib_m_sin" >&6; }
45786 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45787 libm="-lm"
45790 ac_save_LIBS="$LIBS"
45791 LIBS="$LIBS $libm"
45795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45796 $as_echo_n "checking for isinf declaration... " >&6; }
45797 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45798 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45799 $as_echo_n "(cached) " >&6
45800 else
45803 ac_ext=cpp
45804 ac_cpp='$CXXCPP $CPPFLAGS'
45805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45810 /* end confdefs.h. */
45811 #include <math.h>
45812 #ifdef HAVE_IEEEFP_H
45813 #include <ieeefp.h>
45814 #endif
45817 main ()
45819 isinf(0);
45821 return 0;
45823 _ACEOF
45824 if ac_fn_cxx_try_compile "$LINENO"; then :
45825 glibcxx_cv_func_isinf_use=yes
45826 else
45827 glibcxx_cv_func_isinf_use=no
45829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45830 ac_ext=c
45831 ac_cpp='$CPP $CPPFLAGS'
45832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45841 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45843 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45844 for ac_func in isinf
45845 do :
45846 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45847 if test "x$ac_cv_func_isinf" = x""yes; then :
45848 cat >>confdefs.h <<_ACEOF
45849 #define HAVE_ISINF 1
45850 _ACEOF
45853 done
45855 else
45857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45858 $as_echo_n "checking for _isinf declaration... " >&6; }
45859 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45860 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45861 $as_echo_n "(cached) " >&6
45862 else
45865 ac_ext=cpp
45866 ac_cpp='$CXXCPP $CPPFLAGS'
45867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45872 /* end confdefs.h. */
45873 #include <math.h>
45874 #ifdef HAVE_IEEEFP_H
45875 #include <ieeefp.h>
45876 #endif
45879 main ()
45881 _isinf(0);
45883 return 0;
45885 _ACEOF
45886 if ac_fn_cxx_try_compile "$LINENO"; then :
45887 glibcxx_cv_func__isinf_use=yes
45888 else
45889 glibcxx_cv_func__isinf_use=no
45891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45892 ac_ext=c
45893 ac_cpp='$CPP $CPPFLAGS'
45894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45903 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45905 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45906 for ac_func in _isinf
45907 do :
45908 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45909 if test "x$ac_cv_func__isinf" = x""yes; then :
45910 cat >>confdefs.h <<_ACEOF
45911 #define HAVE__ISINF 1
45912 _ACEOF
45915 done
45924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45925 $as_echo_n "checking for isnan declaration... " >&6; }
45926 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45927 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45928 $as_echo_n "(cached) " >&6
45929 else
45932 ac_ext=cpp
45933 ac_cpp='$CXXCPP $CPPFLAGS'
45934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45939 /* end confdefs.h. */
45940 #include <math.h>
45941 #ifdef HAVE_IEEEFP_H
45942 #include <ieeefp.h>
45943 #endif
45946 main ()
45948 isnan(0);
45950 return 0;
45952 _ACEOF
45953 if ac_fn_cxx_try_compile "$LINENO"; then :
45954 glibcxx_cv_func_isnan_use=yes
45955 else
45956 glibcxx_cv_func_isnan_use=no
45958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45959 ac_ext=c
45960 ac_cpp='$CPP $CPPFLAGS'
45961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45970 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45972 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45973 for ac_func in isnan
45974 do :
45975 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45976 if test "x$ac_cv_func_isnan" = x""yes; then :
45977 cat >>confdefs.h <<_ACEOF
45978 #define HAVE_ISNAN 1
45979 _ACEOF
45982 done
45984 else
45986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45987 $as_echo_n "checking for _isnan declaration... " >&6; }
45988 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45989 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45990 $as_echo_n "(cached) " >&6
45991 else
45994 ac_ext=cpp
45995 ac_cpp='$CXXCPP $CPPFLAGS'
45996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46001 /* end confdefs.h. */
46002 #include <math.h>
46003 #ifdef HAVE_IEEEFP_H
46004 #include <ieeefp.h>
46005 #endif
46008 main ()
46010 _isnan(0);
46012 return 0;
46014 _ACEOF
46015 if ac_fn_cxx_try_compile "$LINENO"; then :
46016 glibcxx_cv_func__isnan_use=yes
46017 else
46018 glibcxx_cv_func__isnan_use=no
46020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46021 ac_ext=c
46022 ac_cpp='$CPP $CPPFLAGS'
46023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46032 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46034 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46035 for ac_func in _isnan
46036 do :
46037 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46038 if test "x$ac_cv_func__isnan" = x""yes; then :
46039 cat >>confdefs.h <<_ACEOF
46040 #define HAVE__ISNAN 1
46041 _ACEOF
46044 done
46053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46054 $as_echo_n "checking for finite declaration... " >&6; }
46055 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46056 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46057 $as_echo_n "(cached) " >&6
46058 else
46061 ac_ext=cpp
46062 ac_cpp='$CXXCPP $CPPFLAGS'
46063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46068 /* end confdefs.h. */
46069 #include <math.h>
46070 #ifdef HAVE_IEEEFP_H
46071 #include <ieeefp.h>
46072 #endif
46075 main ()
46077 finite(0);
46079 return 0;
46081 _ACEOF
46082 if ac_fn_cxx_try_compile "$LINENO"; then :
46083 glibcxx_cv_func_finite_use=yes
46084 else
46085 glibcxx_cv_func_finite_use=no
46087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46088 ac_ext=c
46089 ac_cpp='$CPP $CPPFLAGS'
46090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46099 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46101 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46102 for ac_func in finite
46103 do :
46104 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46105 if test "x$ac_cv_func_finite" = x""yes; then :
46106 cat >>confdefs.h <<_ACEOF
46107 #define HAVE_FINITE 1
46108 _ACEOF
46111 done
46113 else
46115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46116 $as_echo_n "checking for _finite declaration... " >&6; }
46117 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46118 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46119 $as_echo_n "(cached) " >&6
46120 else
46123 ac_ext=cpp
46124 ac_cpp='$CXXCPP $CPPFLAGS'
46125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46130 /* end confdefs.h. */
46131 #include <math.h>
46132 #ifdef HAVE_IEEEFP_H
46133 #include <ieeefp.h>
46134 #endif
46137 main ()
46139 _finite(0);
46141 return 0;
46143 _ACEOF
46144 if ac_fn_cxx_try_compile "$LINENO"; then :
46145 glibcxx_cv_func__finite_use=yes
46146 else
46147 glibcxx_cv_func__finite_use=no
46149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46150 ac_ext=c
46151 ac_cpp='$CPP $CPPFLAGS'
46152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46161 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46163 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46164 for ac_func in _finite
46165 do :
46166 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46167 if test "x$ac_cv_func__finite" = x""yes; then :
46168 cat >>confdefs.h <<_ACEOF
46169 #define HAVE__FINITE 1
46170 _ACEOF
46173 done
46182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46183 $as_echo_n "checking for sincos declaration... " >&6; }
46184 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46185 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46186 $as_echo_n "(cached) " >&6
46187 else
46190 ac_ext=cpp
46191 ac_cpp='$CXXCPP $CPPFLAGS'
46192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46197 /* end confdefs.h. */
46198 #include <math.h>
46200 main ()
46202 sincos(0, 0, 0);
46204 return 0;
46206 _ACEOF
46207 if ac_fn_cxx_try_compile "$LINENO"; then :
46208 glibcxx_cv_func_sincos_use=yes
46209 else
46210 glibcxx_cv_func_sincos_use=no
46212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46213 ac_ext=c
46214 ac_cpp='$CPP $CPPFLAGS'
46215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46224 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46226 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46227 for ac_func in sincos
46228 do :
46229 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46230 if test "x$ac_cv_func_sincos" = x""yes; then :
46231 cat >>confdefs.h <<_ACEOF
46232 #define HAVE_SINCOS 1
46233 _ACEOF
46236 done
46238 else
46240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46241 $as_echo_n "checking for _sincos declaration... " >&6; }
46242 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46243 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46244 $as_echo_n "(cached) " >&6
46245 else
46248 ac_ext=cpp
46249 ac_cpp='$CXXCPP $CPPFLAGS'
46250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46255 /* end confdefs.h. */
46256 #include <math.h>
46258 main ()
46260 _sincos(0, 0, 0);
46262 return 0;
46264 _ACEOF
46265 if ac_fn_cxx_try_compile "$LINENO"; then :
46266 glibcxx_cv_func__sincos_use=yes
46267 else
46268 glibcxx_cv_func__sincos_use=no
46270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46271 ac_ext=c
46272 ac_cpp='$CPP $CPPFLAGS'
46273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46282 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46284 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46285 for ac_func in _sincos
46286 do :
46287 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46288 if test "x$ac_cv_func__sincos" = x""yes; then :
46289 cat >>confdefs.h <<_ACEOF
46290 #define HAVE__SINCOS 1
46291 _ACEOF
46294 done
46303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46304 $as_echo_n "checking for fpclass declaration... " >&6; }
46305 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46306 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46307 $as_echo_n "(cached) " >&6
46308 else
46311 ac_ext=cpp
46312 ac_cpp='$CXXCPP $CPPFLAGS'
46313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46318 /* end confdefs.h. */
46319 #include <math.h>
46320 #ifdef HAVE_IEEEFP_H
46321 #include <ieeefp.h>
46322 #endif
46325 main ()
46327 fpclass(0);
46329 return 0;
46331 _ACEOF
46332 if ac_fn_cxx_try_compile "$LINENO"; then :
46333 glibcxx_cv_func_fpclass_use=yes
46334 else
46335 glibcxx_cv_func_fpclass_use=no
46337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46338 ac_ext=c
46339 ac_cpp='$CPP $CPPFLAGS'
46340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46349 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46351 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46352 for ac_func in fpclass
46353 do :
46354 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46355 if test "x$ac_cv_func_fpclass" = x""yes; then :
46356 cat >>confdefs.h <<_ACEOF
46357 #define HAVE_FPCLASS 1
46358 _ACEOF
46361 done
46363 else
46365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46366 $as_echo_n "checking for _fpclass declaration... " >&6; }
46367 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46368 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46369 $as_echo_n "(cached) " >&6
46370 else
46373 ac_ext=cpp
46374 ac_cpp='$CXXCPP $CPPFLAGS'
46375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46380 /* end confdefs.h. */
46381 #include <math.h>
46382 #ifdef HAVE_IEEEFP_H
46383 #include <ieeefp.h>
46384 #endif
46387 main ()
46389 _fpclass(0);
46391 return 0;
46393 _ACEOF
46394 if ac_fn_cxx_try_compile "$LINENO"; then :
46395 glibcxx_cv_func__fpclass_use=yes
46396 else
46397 glibcxx_cv_func__fpclass_use=no
46399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46400 ac_ext=c
46401 ac_cpp='$CPP $CPPFLAGS'
46402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46411 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46413 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46414 for ac_func in _fpclass
46415 do :
46416 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46417 if test "x$ac_cv_func__fpclass" = x""yes; then :
46418 cat >>confdefs.h <<_ACEOF
46419 #define HAVE__FPCLASS 1
46420 _ACEOF
46423 done
46432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46433 $as_echo_n "checking for qfpclass declaration... " >&6; }
46434 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46435 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46436 $as_echo_n "(cached) " >&6
46437 else
46440 ac_ext=cpp
46441 ac_cpp='$CXXCPP $CPPFLAGS'
46442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46447 /* end confdefs.h. */
46448 #include <math.h>
46449 #ifdef HAVE_IEEEFP_H
46450 #include <ieeefp.h>
46451 #endif
46454 main ()
46456 qfpclass(0);
46458 return 0;
46460 _ACEOF
46461 if ac_fn_cxx_try_compile "$LINENO"; then :
46462 glibcxx_cv_func_qfpclass_use=yes
46463 else
46464 glibcxx_cv_func_qfpclass_use=no
46466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46467 ac_ext=c
46468 ac_cpp='$CPP $CPPFLAGS'
46469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46478 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46480 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46481 for ac_func in qfpclass
46482 do :
46483 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46484 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46485 cat >>confdefs.h <<_ACEOF
46486 #define HAVE_QFPCLASS 1
46487 _ACEOF
46490 done
46492 else
46494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46495 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46496 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46497 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46498 $as_echo_n "(cached) " >&6
46499 else
46502 ac_ext=cpp
46503 ac_cpp='$CXXCPP $CPPFLAGS'
46504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46509 /* end confdefs.h. */
46510 #include <math.h>
46511 #ifdef HAVE_IEEEFP_H
46512 #include <ieeefp.h>
46513 #endif
46516 main ()
46518 _qfpclass(0);
46520 return 0;
46522 _ACEOF
46523 if ac_fn_cxx_try_compile "$LINENO"; then :
46524 glibcxx_cv_func__qfpclass_use=yes
46525 else
46526 glibcxx_cv_func__qfpclass_use=no
46528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46529 ac_ext=c
46530 ac_cpp='$CPP $CPPFLAGS'
46531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46540 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46542 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46543 for ac_func in _qfpclass
46544 do :
46545 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46546 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46547 cat >>confdefs.h <<_ACEOF
46548 #define HAVE__QFPCLASS 1
46549 _ACEOF
46552 done
46561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46562 $as_echo_n "checking for hypot declaration... " >&6; }
46563 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46564 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46565 $as_echo_n "(cached) " >&6
46566 else
46569 ac_ext=cpp
46570 ac_cpp='$CXXCPP $CPPFLAGS'
46571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46576 /* end confdefs.h. */
46577 #include <math.h>
46579 main ()
46581 hypot(0, 0);
46583 return 0;
46585 _ACEOF
46586 if ac_fn_cxx_try_compile "$LINENO"; then :
46587 glibcxx_cv_func_hypot_use=yes
46588 else
46589 glibcxx_cv_func_hypot_use=no
46591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46592 ac_ext=c
46593 ac_cpp='$CPP $CPPFLAGS'
46594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46603 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46605 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46606 for ac_func in hypot
46607 do :
46608 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46609 if test "x$ac_cv_func_hypot" = x""yes; then :
46610 cat >>confdefs.h <<_ACEOF
46611 #define HAVE_HYPOT 1
46612 _ACEOF
46615 done
46617 else
46619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46620 $as_echo_n "checking for _hypot declaration... " >&6; }
46621 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46622 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46623 $as_echo_n "(cached) " >&6
46624 else
46627 ac_ext=cpp
46628 ac_cpp='$CXXCPP $CPPFLAGS'
46629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46634 /* end confdefs.h. */
46635 #include <math.h>
46637 main ()
46639 _hypot(0, 0);
46641 return 0;
46643 _ACEOF
46644 if ac_fn_cxx_try_compile "$LINENO"; then :
46645 glibcxx_cv_func__hypot_use=yes
46646 else
46647 glibcxx_cv_func__hypot_use=no
46649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46650 ac_ext=c
46651 ac_cpp='$CPP $CPPFLAGS'
46652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46661 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46663 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46664 for ac_func in _hypot
46665 do :
46666 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46667 if test "x$ac_cv_func__hypot" = x""yes; then :
46668 cat >>confdefs.h <<_ACEOF
46669 #define HAVE__HYPOT 1
46670 _ACEOF
46673 done
46682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46683 $as_echo_n "checking for float trig functions... " >&6; }
46684 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46685 $as_echo_n "(cached) " >&6
46686 else
46689 ac_ext=cpp
46690 ac_cpp='$CXXCPP $CPPFLAGS'
46691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46696 /* end confdefs.h. */
46697 #include <math.h>
46699 main ()
46701 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46703 return 0;
46705 _ACEOF
46706 if ac_fn_cxx_try_compile "$LINENO"; then :
46707 glibcxx_cv_func_float_trig_use=yes
46708 else
46709 glibcxx_cv_func_float_trig_use=no
46711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46712 ac_ext=c
46713 ac_cpp='$CPP $CPPFLAGS'
46714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46721 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46722 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46723 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46724 do :
46725 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46727 eval as_val=\$$as_ac_var
46728 if test "x$as_val" = x""yes; then :
46729 cat >>confdefs.h <<_ACEOF
46730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46731 _ACEOF
46734 done
46736 else
46737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46738 $as_echo_n "checking for _float trig functions... " >&6; }
46739 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46740 $as_echo_n "(cached) " >&6
46741 else
46744 ac_ext=cpp
46745 ac_cpp='$CXXCPP $CPPFLAGS'
46746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46751 /* end confdefs.h. */
46752 #include <math.h>
46754 main ()
46756 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46758 return 0;
46760 _ACEOF
46761 if ac_fn_cxx_try_compile "$LINENO"; then :
46762 glibcxx_cv_func__float_trig_use=yes
46763 else
46764 glibcxx_cv_func__float_trig_use=no
46766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46767 ac_ext=c
46768 ac_cpp='$CPP $CPPFLAGS'
46769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46776 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46777 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46778 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46779 do :
46780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46782 eval as_val=\$$as_ac_var
46783 if test "x$as_val" = x""yes; then :
46784 cat >>confdefs.h <<_ACEOF
46785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46786 _ACEOF
46789 done
46798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46799 $as_echo_n "checking for float round functions... " >&6; }
46800 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46801 $as_echo_n "(cached) " >&6
46802 else
46805 ac_ext=cpp
46806 ac_cpp='$CXXCPP $CPPFLAGS'
46807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46812 /* end confdefs.h. */
46813 #include <math.h>
46815 main ()
46817 ceilf (0); floorf (0);
46819 return 0;
46821 _ACEOF
46822 if ac_fn_cxx_try_compile "$LINENO"; then :
46823 glibcxx_cv_func_float_round_use=yes
46824 else
46825 glibcxx_cv_func_float_round_use=no
46827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46828 ac_ext=c
46829 ac_cpp='$CPP $CPPFLAGS'
46830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46837 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46838 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46839 for ac_func in ceilf floorf
46840 do :
46841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46842 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46843 eval as_val=\$$as_ac_var
46844 if test "x$as_val" = x""yes; then :
46845 cat >>confdefs.h <<_ACEOF
46846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46847 _ACEOF
46850 done
46852 else
46853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46854 $as_echo_n "checking for _float round functions... " >&6; }
46855 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46856 $as_echo_n "(cached) " >&6
46857 else
46860 ac_ext=cpp
46861 ac_cpp='$CXXCPP $CPPFLAGS'
46862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46867 /* end confdefs.h. */
46868 #include <math.h>
46870 main ()
46872 _ceilf (0); _floorf (0);
46874 return 0;
46876 _ACEOF
46877 if ac_fn_cxx_try_compile "$LINENO"; then :
46878 glibcxx_cv_func__float_round_use=yes
46879 else
46880 glibcxx_cv_func__float_round_use=no
46882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46883 ac_ext=c
46884 ac_cpp='$CPP $CPPFLAGS'
46885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46892 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46893 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46894 for ac_func in _ceilf _floorf
46895 do :
46896 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46897 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46898 eval as_val=\$$as_ac_var
46899 if test "x$as_val" = x""yes; then :
46900 cat >>confdefs.h <<_ACEOF
46901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46902 _ACEOF
46905 done
46915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46916 $as_echo_n "checking for expf declaration... " >&6; }
46917 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46918 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46919 $as_echo_n "(cached) " >&6
46920 else
46923 ac_ext=cpp
46924 ac_cpp='$CXXCPP $CPPFLAGS'
46925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46930 /* end confdefs.h. */
46931 #include <math.h>
46932 #ifdef HAVE_IEEEFP_H
46933 #include <ieeefp.h>
46934 #endif
46937 main ()
46939 expf(0);
46941 return 0;
46943 _ACEOF
46944 if ac_fn_cxx_try_compile "$LINENO"; then :
46945 glibcxx_cv_func_expf_use=yes
46946 else
46947 glibcxx_cv_func_expf_use=no
46949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46950 ac_ext=c
46951 ac_cpp='$CPP $CPPFLAGS'
46952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46961 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46963 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46964 for ac_func in expf
46965 do :
46966 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46967 if test "x$ac_cv_func_expf" = x""yes; then :
46968 cat >>confdefs.h <<_ACEOF
46969 #define HAVE_EXPF 1
46970 _ACEOF
46973 done
46975 else
46977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46978 $as_echo_n "checking for _expf declaration... " >&6; }
46979 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46980 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46981 $as_echo_n "(cached) " >&6
46982 else
46985 ac_ext=cpp
46986 ac_cpp='$CXXCPP $CPPFLAGS'
46987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46992 /* end confdefs.h. */
46993 #include <math.h>
46994 #ifdef HAVE_IEEEFP_H
46995 #include <ieeefp.h>
46996 #endif
46999 main ()
47001 _expf(0);
47003 return 0;
47005 _ACEOF
47006 if ac_fn_cxx_try_compile "$LINENO"; then :
47007 glibcxx_cv_func__expf_use=yes
47008 else
47009 glibcxx_cv_func__expf_use=no
47011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47012 ac_ext=c
47013 ac_cpp='$CPP $CPPFLAGS'
47014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47023 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47025 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47026 for ac_func in _expf
47027 do :
47028 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47029 if test "x$ac_cv_func__expf" = x""yes; then :
47030 cat >>confdefs.h <<_ACEOF
47031 #define HAVE__EXPF 1
47032 _ACEOF
47035 done
47044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47045 $as_echo_n "checking for isnanf declaration... " >&6; }
47046 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47047 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47048 $as_echo_n "(cached) " >&6
47049 else
47052 ac_ext=cpp
47053 ac_cpp='$CXXCPP $CPPFLAGS'
47054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47059 /* end confdefs.h. */
47060 #include <math.h>
47061 #ifdef HAVE_IEEEFP_H
47062 #include <ieeefp.h>
47063 #endif
47066 main ()
47068 isnanf(0);
47070 return 0;
47072 _ACEOF
47073 if ac_fn_cxx_try_compile "$LINENO"; then :
47074 glibcxx_cv_func_isnanf_use=yes
47075 else
47076 glibcxx_cv_func_isnanf_use=no
47078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47079 ac_ext=c
47080 ac_cpp='$CPP $CPPFLAGS'
47081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47090 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47092 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47093 for ac_func in isnanf
47094 do :
47095 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47096 if test "x$ac_cv_func_isnanf" = x""yes; then :
47097 cat >>confdefs.h <<_ACEOF
47098 #define HAVE_ISNANF 1
47099 _ACEOF
47102 done
47104 else
47106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47107 $as_echo_n "checking for _isnanf declaration... " >&6; }
47108 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47109 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47110 $as_echo_n "(cached) " >&6
47111 else
47114 ac_ext=cpp
47115 ac_cpp='$CXXCPP $CPPFLAGS'
47116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47121 /* end confdefs.h. */
47122 #include <math.h>
47123 #ifdef HAVE_IEEEFP_H
47124 #include <ieeefp.h>
47125 #endif
47128 main ()
47130 _isnanf(0);
47132 return 0;
47134 _ACEOF
47135 if ac_fn_cxx_try_compile "$LINENO"; then :
47136 glibcxx_cv_func__isnanf_use=yes
47137 else
47138 glibcxx_cv_func__isnanf_use=no
47140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47141 ac_ext=c
47142 ac_cpp='$CPP $CPPFLAGS'
47143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47152 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47154 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47155 for ac_func in _isnanf
47156 do :
47157 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47158 if test "x$ac_cv_func__isnanf" = x""yes; then :
47159 cat >>confdefs.h <<_ACEOF
47160 #define HAVE__ISNANF 1
47161 _ACEOF
47164 done
47173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47174 $as_echo_n "checking for isinff declaration... " >&6; }
47175 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47176 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47177 $as_echo_n "(cached) " >&6
47178 else
47181 ac_ext=cpp
47182 ac_cpp='$CXXCPP $CPPFLAGS'
47183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47188 /* end confdefs.h. */
47189 #include <math.h>
47190 #ifdef HAVE_IEEEFP_H
47191 #include <ieeefp.h>
47192 #endif
47195 main ()
47197 isinff(0);
47199 return 0;
47201 _ACEOF
47202 if ac_fn_cxx_try_compile "$LINENO"; then :
47203 glibcxx_cv_func_isinff_use=yes
47204 else
47205 glibcxx_cv_func_isinff_use=no
47207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47208 ac_ext=c
47209 ac_cpp='$CPP $CPPFLAGS'
47210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47219 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47221 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47222 for ac_func in isinff
47223 do :
47224 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47225 if test "x$ac_cv_func_isinff" = x""yes; then :
47226 cat >>confdefs.h <<_ACEOF
47227 #define HAVE_ISINFF 1
47228 _ACEOF
47231 done
47233 else
47235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47236 $as_echo_n "checking for _isinff declaration... " >&6; }
47237 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47238 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47239 $as_echo_n "(cached) " >&6
47240 else
47243 ac_ext=cpp
47244 ac_cpp='$CXXCPP $CPPFLAGS'
47245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47250 /* end confdefs.h. */
47251 #include <math.h>
47252 #ifdef HAVE_IEEEFP_H
47253 #include <ieeefp.h>
47254 #endif
47257 main ()
47259 _isinff(0);
47261 return 0;
47263 _ACEOF
47264 if ac_fn_cxx_try_compile "$LINENO"; then :
47265 glibcxx_cv_func__isinff_use=yes
47266 else
47267 glibcxx_cv_func__isinff_use=no
47269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47270 ac_ext=c
47271 ac_cpp='$CPP $CPPFLAGS'
47272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47281 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47283 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47284 for ac_func in _isinff
47285 do :
47286 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47287 if test "x$ac_cv_func__isinff" = x""yes; then :
47288 cat >>confdefs.h <<_ACEOF
47289 #define HAVE__ISINFF 1
47290 _ACEOF
47293 done
47302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47303 $as_echo_n "checking for atan2f declaration... " >&6; }
47304 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47305 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47306 $as_echo_n "(cached) " >&6
47307 else
47310 ac_ext=cpp
47311 ac_cpp='$CXXCPP $CPPFLAGS'
47312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47317 /* end confdefs.h. */
47318 #include <math.h>
47320 main ()
47322 atan2f(0, 0);
47324 return 0;
47326 _ACEOF
47327 if ac_fn_cxx_try_compile "$LINENO"; then :
47328 glibcxx_cv_func_atan2f_use=yes
47329 else
47330 glibcxx_cv_func_atan2f_use=no
47332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47333 ac_ext=c
47334 ac_cpp='$CPP $CPPFLAGS'
47335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47344 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47346 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47347 for ac_func in atan2f
47348 do :
47349 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47350 if test "x$ac_cv_func_atan2f" = x""yes; then :
47351 cat >>confdefs.h <<_ACEOF
47352 #define HAVE_ATAN2F 1
47353 _ACEOF
47356 done
47358 else
47360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47361 $as_echo_n "checking for _atan2f declaration... " >&6; }
47362 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47363 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47364 $as_echo_n "(cached) " >&6
47365 else
47368 ac_ext=cpp
47369 ac_cpp='$CXXCPP $CPPFLAGS'
47370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47375 /* end confdefs.h. */
47376 #include <math.h>
47378 main ()
47380 _atan2f(0, 0);
47382 return 0;
47384 _ACEOF
47385 if ac_fn_cxx_try_compile "$LINENO"; then :
47386 glibcxx_cv_func__atan2f_use=yes
47387 else
47388 glibcxx_cv_func__atan2f_use=no
47390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47391 ac_ext=c
47392 ac_cpp='$CPP $CPPFLAGS'
47393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47402 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47404 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47405 for ac_func in _atan2f
47406 do :
47407 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47408 if test "x$ac_cv_func__atan2f" = x""yes; then :
47409 cat >>confdefs.h <<_ACEOF
47410 #define HAVE__ATAN2F 1
47411 _ACEOF
47414 done
47423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47424 $as_echo_n "checking for fabsf declaration... " >&6; }
47425 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47426 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47427 $as_echo_n "(cached) " >&6
47428 else
47431 ac_ext=cpp
47432 ac_cpp='$CXXCPP $CPPFLAGS'
47433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47438 /* end confdefs.h. */
47439 #include <math.h>
47440 #ifdef HAVE_IEEEFP_H
47441 #include <ieeefp.h>
47442 #endif
47445 main ()
47447 fabsf(0);
47449 return 0;
47451 _ACEOF
47452 if ac_fn_cxx_try_compile "$LINENO"; then :
47453 glibcxx_cv_func_fabsf_use=yes
47454 else
47455 glibcxx_cv_func_fabsf_use=no
47457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47458 ac_ext=c
47459 ac_cpp='$CPP $CPPFLAGS'
47460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47469 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47471 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47472 for ac_func in fabsf
47473 do :
47474 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47475 if test "x$ac_cv_func_fabsf" = x""yes; then :
47476 cat >>confdefs.h <<_ACEOF
47477 #define HAVE_FABSF 1
47478 _ACEOF
47481 done
47483 else
47485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47486 $as_echo_n "checking for _fabsf declaration... " >&6; }
47487 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47488 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47489 $as_echo_n "(cached) " >&6
47490 else
47493 ac_ext=cpp
47494 ac_cpp='$CXXCPP $CPPFLAGS'
47495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47500 /* end confdefs.h. */
47501 #include <math.h>
47502 #ifdef HAVE_IEEEFP_H
47503 #include <ieeefp.h>
47504 #endif
47507 main ()
47509 _fabsf(0);
47511 return 0;
47513 _ACEOF
47514 if ac_fn_cxx_try_compile "$LINENO"; then :
47515 glibcxx_cv_func__fabsf_use=yes
47516 else
47517 glibcxx_cv_func__fabsf_use=no
47519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47520 ac_ext=c
47521 ac_cpp='$CPP $CPPFLAGS'
47522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47531 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47533 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47534 for ac_func in _fabsf
47535 do :
47536 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47537 if test "x$ac_cv_func__fabsf" = x""yes; then :
47538 cat >>confdefs.h <<_ACEOF
47539 #define HAVE__FABSF 1
47540 _ACEOF
47543 done
47552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47553 $as_echo_n "checking for fmodf declaration... " >&6; }
47554 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47555 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47556 $as_echo_n "(cached) " >&6
47557 else
47560 ac_ext=cpp
47561 ac_cpp='$CXXCPP $CPPFLAGS'
47562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47567 /* end confdefs.h. */
47568 #include <math.h>
47570 main ()
47572 fmodf(0, 0);
47574 return 0;
47576 _ACEOF
47577 if ac_fn_cxx_try_compile "$LINENO"; then :
47578 glibcxx_cv_func_fmodf_use=yes
47579 else
47580 glibcxx_cv_func_fmodf_use=no
47582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47583 ac_ext=c
47584 ac_cpp='$CPP $CPPFLAGS'
47585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47594 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47596 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47597 for ac_func in fmodf
47598 do :
47599 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47600 if test "x$ac_cv_func_fmodf" = x""yes; then :
47601 cat >>confdefs.h <<_ACEOF
47602 #define HAVE_FMODF 1
47603 _ACEOF
47606 done
47608 else
47610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47611 $as_echo_n "checking for _fmodf declaration... " >&6; }
47612 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47613 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47614 $as_echo_n "(cached) " >&6
47615 else
47618 ac_ext=cpp
47619 ac_cpp='$CXXCPP $CPPFLAGS'
47620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47625 /* end confdefs.h. */
47626 #include <math.h>
47628 main ()
47630 _fmodf(0, 0);
47632 return 0;
47634 _ACEOF
47635 if ac_fn_cxx_try_compile "$LINENO"; then :
47636 glibcxx_cv_func__fmodf_use=yes
47637 else
47638 glibcxx_cv_func__fmodf_use=no
47640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47641 ac_ext=c
47642 ac_cpp='$CPP $CPPFLAGS'
47643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47652 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47654 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47655 for ac_func in _fmodf
47656 do :
47657 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47658 if test "x$ac_cv_func__fmodf" = x""yes; then :
47659 cat >>confdefs.h <<_ACEOF
47660 #define HAVE__FMODF 1
47661 _ACEOF
47664 done
47673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47674 $as_echo_n "checking for frexpf declaration... " >&6; }
47675 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47676 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47677 $as_echo_n "(cached) " >&6
47678 else
47681 ac_ext=cpp
47682 ac_cpp='$CXXCPP $CPPFLAGS'
47683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47688 /* end confdefs.h. */
47689 #include <math.h>
47691 main ()
47693 frexpf(0, 0);
47695 return 0;
47697 _ACEOF
47698 if ac_fn_cxx_try_compile "$LINENO"; then :
47699 glibcxx_cv_func_frexpf_use=yes
47700 else
47701 glibcxx_cv_func_frexpf_use=no
47703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47704 ac_ext=c
47705 ac_cpp='$CPP $CPPFLAGS'
47706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47715 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47717 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47718 for ac_func in frexpf
47719 do :
47720 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47721 if test "x$ac_cv_func_frexpf" = x""yes; then :
47722 cat >>confdefs.h <<_ACEOF
47723 #define HAVE_FREXPF 1
47724 _ACEOF
47727 done
47729 else
47731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47732 $as_echo_n "checking for _frexpf declaration... " >&6; }
47733 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47734 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47735 $as_echo_n "(cached) " >&6
47736 else
47739 ac_ext=cpp
47740 ac_cpp='$CXXCPP $CPPFLAGS'
47741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47746 /* end confdefs.h. */
47747 #include <math.h>
47749 main ()
47751 _frexpf(0, 0);
47753 return 0;
47755 _ACEOF
47756 if ac_fn_cxx_try_compile "$LINENO"; then :
47757 glibcxx_cv_func__frexpf_use=yes
47758 else
47759 glibcxx_cv_func__frexpf_use=no
47761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47762 ac_ext=c
47763 ac_cpp='$CPP $CPPFLAGS'
47764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47773 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47775 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47776 for ac_func in _frexpf
47777 do :
47778 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47779 if test "x$ac_cv_func__frexpf" = x""yes; then :
47780 cat >>confdefs.h <<_ACEOF
47781 #define HAVE__FREXPF 1
47782 _ACEOF
47785 done
47794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47795 $as_echo_n "checking for hypotf declaration... " >&6; }
47796 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47797 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47798 $as_echo_n "(cached) " >&6
47799 else
47802 ac_ext=cpp
47803 ac_cpp='$CXXCPP $CPPFLAGS'
47804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47809 /* end confdefs.h. */
47810 #include <math.h>
47812 main ()
47814 hypotf(0, 0);
47816 return 0;
47818 _ACEOF
47819 if ac_fn_cxx_try_compile "$LINENO"; then :
47820 glibcxx_cv_func_hypotf_use=yes
47821 else
47822 glibcxx_cv_func_hypotf_use=no
47824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47825 ac_ext=c
47826 ac_cpp='$CPP $CPPFLAGS'
47827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47836 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47838 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47839 for ac_func in hypotf
47840 do :
47841 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47842 if test "x$ac_cv_func_hypotf" = x""yes; then :
47843 cat >>confdefs.h <<_ACEOF
47844 #define HAVE_HYPOTF 1
47845 _ACEOF
47848 done
47850 else
47852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47853 $as_echo_n "checking for _hypotf declaration... " >&6; }
47854 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47855 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47856 $as_echo_n "(cached) " >&6
47857 else
47860 ac_ext=cpp
47861 ac_cpp='$CXXCPP $CPPFLAGS'
47862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47867 /* end confdefs.h. */
47868 #include <math.h>
47870 main ()
47872 _hypotf(0, 0);
47874 return 0;
47876 _ACEOF
47877 if ac_fn_cxx_try_compile "$LINENO"; then :
47878 glibcxx_cv_func__hypotf_use=yes
47879 else
47880 glibcxx_cv_func__hypotf_use=no
47882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47883 ac_ext=c
47884 ac_cpp='$CPP $CPPFLAGS'
47885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47894 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47896 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47897 for ac_func in _hypotf
47898 do :
47899 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47900 if test "x$ac_cv_func__hypotf" = x""yes; then :
47901 cat >>confdefs.h <<_ACEOF
47902 #define HAVE__HYPOTF 1
47903 _ACEOF
47906 done
47915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47916 $as_echo_n "checking for ldexpf declaration... " >&6; }
47917 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47918 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47919 $as_echo_n "(cached) " >&6
47920 else
47923 ac_ext=cpp
47924 ac_cpp='$CXXCPP $CPPFLAGS'
47925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47930 /* end confdefs.h. */
47931 #include <math.h>
47933 main ()
47935 ldexpf(0, 0);
47937 return 0;
47939 _ACEOF
47940 if ac_fn_cxx_try_compile "$LINENO"; then :
47941 glibcxx_cv_func_ldexpf_use=yes
47942 else
47943 glibcxx_cv_func_ldexpf_use=no
47945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47946 ac_ext=c
47947 ac_cpp='$CPP $CPPFLAGS'
47948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47957 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47959 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47960 for ac_func in ldexpf
47961 do :
47962 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47963 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47964 cat >>confdefs.h <<_ACEOF
47965 #define HAVE_LDEXPF 1
47966 _ACEOF
47969 done
47971 else
47973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47974 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47975 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47976 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47977 $as_echo_n "(cached) " >&6
47978 else
47981 ac_ext=cpp
47982 ac_cpp='$CXXCPP $CPPFLAGS'
47983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47988 /* end confdefs.h. */
47989 #include <math.h>
47991 main ()
47993 _ldexpf(0, 0);
47995 return 0;
47997 _ACEOF
47998 if ac_fn_cxx_try_compile "$LINENO"; then :
47999 glibcxx_cv_func__ldexpf_use=yes
48000 else
48001 glibcxx_cv_func__ldexpf_use=no
48003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48004 ac_ext=c
48005 ac_cpp='$CPP $CPPFLAGS'
48006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48015 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48017 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48018 for ac_func in _ldexpf
48019 do :
48020 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48021 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48022 cat >>confdefs.h <<_ACEOF
48023 #define HAVE__LDEXPF 1
48024 _ACEOF
48027 done
48036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48037 $as_echo_n "checking for logf declaration... " >&6; }
48038 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48039 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48040 $as_echo_n "(cached) " >&6
48041 else
48044 ac_ext=cpp
48045 ac_cpp='$CXXCPP $CPPFLAGS'
48046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48051 /* end confdefs.h. */
48052 #include <math.h>
48053 #ifdef HAVE_IEEEFP_H
48054 #include <ieeefp.h>
48055 #endif
48058 main ()
48060 logf(0);
48062 return 0;
48064 _ACEOF
48065 if ac_fn_cxx_try_compile "$LINENO"; then :
48066 glibcxx_cv_func_logf_use=yes
48067 else
48068 glibcxx_cv_func_logf_use=no
48070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48071 ac_ext=c
48072 ac_cpp='$CPP $CPPFLAGS'
48073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48082 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48084 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48085 for ac_func in logf
48086 do :
48087 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48088 if test "x$ac_cv_func_logf" = x""yes; then :
48089 cat >>confdefs.h <<_ACEOF
48090 #define HAVE_LOGF 1
48091 _ACEOF
48094 done
48096 else
48098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48099 $as_echo_n "checking for _logf declaration... " >&6; }
48100 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48101 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48102 $as_echo_n "(cached) " >&6
48103 else
48106 ac_ext=cpp
48107 ac_cpp='$CXXCPP $CPPFLAGS'
48108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48113 /* end confdefs.h. */
48114 #include <math.h>
48115 #ifdef HAVE_IEEEFP_H
48116 #include <ieeefp.h>
48117 #endif
48120 main ()
48122 _logf(0);
48124 return 0;
48126 _ACEOF
48127 if ac_fn_cxx_try_compile "$LINENO"; then :
48128 glibcxx_cv_func__logf_use=yes
48129 else
48130 glibcxx_cv_func__logf_use=no
48132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48133 ac_ext=c
48134 ac_cpp='$CPP $CPPFLAGS'
48135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48144 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48146 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48147 for ac_func in _logf
48148 do :
48149 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48150 if test "x$ac_cv_func__logf" = x""yes; then :
48151 cat >>confdefs.h <<_ACEOF
48152 #define HAVE__LOGF 1
48153 _ACEOF
48156 done
48165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48166 $as_echo_n "checking for log10f declaration... " >&6; }
48167 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48168 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48169 $as_echo_n "(cached) " >&6
48170 else
48173 ac_ext=cpp
48174 ac_cpp='$CXXCPP $CPPFLAGS'
48175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48180 /* end confdefs.h. */
48181 #include <math.h>
48182 #ifdef HAVE_IEEEFP_H
48183 #include <ieeefp.h>
48184 #endif
48187 main ()
48189 log10f(0);
48191 return 0;
48193 _ACEOF
48194 if ac_fn_cxx_try_compile "$LINENO"; then :
48195 glibcxx_cv_func_log10f_use=yes
48196 else
48197 glibcxx_cv_func_log10f_use=no
48199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48200 ac_ext=c
48201 ac_cpp='$CPP $CPPFLAGS'
48202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48211 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48213 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48214 for ac_func in log10f
48215 do :
48216 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48217 if test "x$ac_cv_func_log10f" = x""yes; then :
48218 cat >>confdefs.h <<_ACEOF
48219 #define HAVE_LOG10F 1
48220 _ACEOF
48223 done
48225 else
48227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48228 $as_echo_n "checking for _log10f declaration... " >&6; }
48229 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48230 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48231 $as_echo_n "(cached) " >&6
48232 else
48235 ac_ext=cpp
48236 ac_cpp='$CXXCPP $CPPFLAGS'
48237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48242 /* end confdefs.h. */
48243 #include <math.h>
48244 #ifdef HAVE_IEEEFP_H
48245 #include <ieeefp.h>
48246 #endif
48249 main ()
48251 _log10f(0);
48253 return 0;
48255 _ACEOF
48256 if ac_fn_cxx_try_compile "$LINENO"; then :
48257 glibcxx_cv_func__log10f_use=yes
48258 else
48259 glibcxx_cv_func__log10f_use=no
48261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48262 ac_ext=c
48263 ac_cpp='$CPP $CPPFLAGS'
48264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48273 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48275 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48276 for ac_func in _log10f
48277 do :
48278 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48279 if test "x$ac_cv_func__log10f" = x""yes; then :
48280 cat >>confdefs.h <<_ACEOF
48281 #define HAVE__LOG10F 1
48282 _ACEOF
48285 done
48294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48295 $as_echo_n "checking for modff declaration... " >&6; }
48296 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48297 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48298 $as_echo_n "(cached) " >&6
48299 else
48302 ac_ext=cpp
48303 ac_cpp='$CXXCPP $CPPFLAGS'
48304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48309 /* end confdefs.h. */
48310 #include <math.h>
48312 main ()
48314 modff(0, 0);
48316 return 0;
48318 _ACEOF
48319 if ac_fn_cxx_try_compile "$LINENO"; then :
48320 glibcxx_cv_func_modff_use=yes
48321 else
48322 glibcxx_cv_func_modff_use=no
48324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48325 ac_ext=c
48326 ac_cpp='$CPP $CPPFLAGS'
48327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48336 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48338 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48339 for ac_func in modff
48340 do :
48341 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48342 if test "x$ac_cv_func_modff" = x""yes; then :
48343 cat >>confdefs.h <<_ACEOF
48344 #define HAVE_MODFF 1
48345 _ACEOF
48348 done
48350 else
48352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48353 $as_echo_n "checking for _modff declaration... " >&6; }
48354 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48355 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48356 $as_echo_n "(cached) " >&6
48357 else
48360 ac_ext=cpp
48361 ac_cpp='$CXXCPP $CPPFLAGS'
48362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48367 /* end confdefs.h. */
48368 #include <math.h>
48370 main ()
48372 _modff(0, 0);
48374 return 0;
48376 _ACEOF
48377 if ac_fn_cxx_try_compile "$LINENO"; then :
48378 glibcxx_cv_func__modff_use=yes
48379 else
48380 glibcxx_cv_func__modff_use=no
48382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48383 ac_ext=c
48384 ac_cpp='$CPP $CPPFLAGS'
48385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48394 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48396 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48397 for ac_func in _modff
48398 do :
48399 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48400 if test "x$ac_cv_func__modff" = x""yes; then :
48401 cat >>confdefs.h <<_ACEOF
48402 #define HAVE__MODFF 1
48403 _ACEOF
48406 done
48415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48416 $as_echo_n "checking for modf declaration... " >&6; }
48417 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48418 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48419 $as_echo_n "(cached) " >&6
48420 else
48423 ac_ext=cpp
48424 ac_cpp='$CXXCPP $CPPFLAGS'
48425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48430 /* end confdefs.h. */
48431 #include <math.h>
48433 main ()
48435 modf(0, 0);
48437 return 0;
48439 _ACEOF
48440 if ac_fn_cxx_try_compile "$LINENO"; then :
48441 glibcxx_cv_func_modf_use=yes
48442 else
48443 glibcxx_cv_func_modf_use=no
48445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48446 ac_ext=c
48447 ac_cpp='$CPP $CPPFLAGS'
48448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48457 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48459 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48460 for ac_func in modf
48461 do :
48462 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48463 if test "x$ac_cv_func_modf" = x""yes; then :
48464 cat >>confdefs.h <<_ACEOF
48465 #define HAVE_MODF 1
48466 _ACEOF
48469 done
48471 else
48473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48474 $as_echo_n "checking for _modf declaration... " >&6; }
48475 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48476 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48477 $as_echo_n "(cached) " >&6
48478 else
48481 ac_ext=cpp
48482 ac_cpp='$CXXCPP $CPPFLAGS'
48483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48488 /* end confdefs.h. */
48489 #include <math.h>
48491 main ()
48493 _modf(0, 0);
48495 return 0;
48497 _ACEOF
48498 if ac_fn_cxx_try_compile "$LINENO"; then :
48499 glibcxx_cv_func__modf_use=yes
48500 else
48501 glibcxx_cv_func__modf_use=no
48503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48504 ac_ext=c
48505 ac_cpp='$CPP $CPPFLAGS'
48506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48515 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48517 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48518 for ac_func in _modf
48519 do :
48520 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48521 if test "x$ac_cv_func__modf" = x""yes; then :
48522 cat >>confdefs.h <<_ACEOF
48523 #define HAVE__MODF 1
48524 _ACEOF
48527 done
48536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48537 $as_echo_n "checking for powf declaration... " >&6; }
48538 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48539 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48540 $as_echo_n "(cached) " >&6
48541 else
48544 ac_ext=cpp
48545 ac_cpp='$CXXCPP $CPPFLAGS'
48546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48551 /* end confdefs.h. */
48552 #include <math.h>
48554 main ()
48556 powf(0, 0);
48558 return 0;
48560 _ACEOF
48561 if ac_fn_cxx_try_compile "$LINENO"; then :
48562 glibcxx_cv_func_powf_use=yes
48563 else
48564 glibcxx_cv_func_powf_use=no
48566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48567 ac_ext=c
48568 ac_cpp='$CPP $CPPFLAGS'
48569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48578 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48580 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48581 for ac_func in powf
48582 do :
48583 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48584 if test "x$ac_cv_func_powf" = x""yes; then :
48585 cat >>confdefs.h <<_ACEOF
48586 #define HAVE_POWF 1
48587 _ACEOF
48590 done
48592 else
48594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48595 $as_echo_n "checking for _powf declaration... " >&6; }
48596 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48597 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48598 $as_echo_n "(cached) " >&6
48599 else
48602 ac_ext=cpp
48603 ac_cpp='$CXXCPP $CPPFLAGS'
48604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48609 /* end confdefs.h. */
48610 #include <math.h>
48612 main ()
48614 _powf(0, 0);
48616 return 0;
48618 _ACEOF
48619 if ac_fn_cxx_try_compile "$LINENO"; then :
48620 glibcxx_cv_func__powf_use=yes
48621 else
48622 glibcxx_cv_func__powf_use=no
48624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48625 ac_ext=c
48626 ac_cpp='$CPP $CPPFLAGS'
48627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48636 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48638 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48639 for ac_func in _powf
48640 do :
48641 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48642 if test "x$ac_cv_func__powf" = x""yes; then :
48643 cat >>confdefs.h <<_ACEOF
48644 #define HAVE__POWF 1
48645 _ACEOF
48648 done
48657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48658 $as_echo_n "checking for sqrtf declaration... " >&6; }
48659 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48660 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48661 $as_echo_n "(cached) " >&6
48662 else
48665 ac_ext=cpp
48666 ac_cpp='$CXXCPP $CPPFLAGS'
48667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48672 /* end confdefs.h. */
48673 #include <math.h>
48674 #ifdef HAVE_IEEEFP_H
48675 #include <ieeefp.h>
48676 #endif
48679 main ()
48681 sqrtf(0);
48683 return 0;
48685 _ACEOF
48686 if ac_fn_cxx_try_compile "$LINENO"; then :
48687 glibcxx_cv_func_sqrtf_use=yes
48688 else
48689 glibcxx_cv_func_sqrtf_use=no
48691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48692 ac_ext=c
48693 ac_cpp='$CPP $CPPFLAGS'
48694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48703 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48705 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48706 for ac_func in sqrtf
48707 do :
48708 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48709 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48710 cat >>confdefs.h <<_ACEOF
48711 #define HAVE_SQRTF 1
48712 _ACEOF
48715 done
48717 else
48719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48720 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48721 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48722 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48723 $as_echo_n "(cached) " >&6
48724 else
48727 ac_ext=cpp
48728 ac_cpp='$CXXCPP $CPPFLAGS'
48729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48734 /* end confdefs.h. */
48735 #include <math.h>
48736 #ifdef HAVE_IEEEFP_H
48737 #include <ieeefp.h>
48738 #endif
48741 main ()
48743 _sqrtf(0);
48745 return 0;
48747 _ACEOF
48748 if ac_fn_cxx_try_compile "$LINENO"; then :
48749 glibcxx_cv_func__sqrtf_use=yes
48750 else
48751 glibcxx_cv_func__sqrtf_use=no
48753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48754 ac_ext=c
48755 ac_cpp='$CPP $CPPFLAGS'
48756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48765 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48767 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48768 for ac_func in _sqrtf
48769 do :
48770 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48771 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48772 cat >>confdefs.h <<_ACEOF
48773 #define HAVE__SQRTF 1
48774 _ACEOF
48777 done
48786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48787 $as_echo_n "checking for sincosf declaration... " >&6; }
48788 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48789 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48790 $as_echo_n "(cached) " >&6
48791 else
48794 ac_ext=cpp
48795 ac_cpp='$CXXCPP $CPPFLAGS'
48796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48801 /* end confdefs.h. */
48802 #include <math.h>
48804 main ()
48806 sincosf(0, 0, 0);
48808 return 0;
48810 _ACEOF
48811 if ac_fn_cxx_try_compile "$LINENO"; then :
48812 glibcxx_cv_func_sincosf_use=yes
48813 else
48814 glibcxx_cv_func_sincosf_use=no
48816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48817 ac_ext=c
48818 ac_cpp='$CPP $CPPFLAGS'
48819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48828 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48830 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48831 for ac_func in sincosf
48832 do :
48833 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48834 if test "x$ac_cv_func_sincosf" = x""yes; then :
48835 cat >>confdefs.h <<_ACEOF
48836 #define HAVE_SINCOSF 1
48837 _ACEOF
48840 done
48842 else
48844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48845 $as_echo_n "checking for _sincosf declaration... " >&6; }
48846 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48847 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48848 $as_echo_n "(cached) " >&6
48849 else
48852 ac_ext=cpp
48853 ac_cpp='$CXXCPP $CPPFLAGS'
48854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48859 /* end confdefs.h. */
48860 #include <math.h>
48862 main ()
48864 _sincosf(0, 0, 0);
48866 return 0;
48868 _ACEOF
48869 if ac_fn_cxx_try_compile "$LINENO"; then :
48870 glibcxx_cv_func__sincosf_use=yes
48871 else
48872 glibcxx_cv_func__sincosf_use=no
48874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48875 ac_ext=c
48876 ac_cpp='$CPP $CPPFLAGS'
48877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48886 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48888 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48889 for ac_func in _sincosf
48890 do :
48891 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48892 if test "x$ac_cv_func__sincosf" = x""yes; then :
48893 cat >>confdefs.h <<_ACEOF
48894 #define HAVE__SINCOSF 1
48895 _ACEOF
48898 done
48907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48908 $as_echo_n "checking for finitef declaration... " >&6; }
48909 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48910 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48911 $as_echo_n "(cached) " >&6
48912 else
48915 ac_ext=cpp
48916 ac_cpp='$CXXCPP $CPPFLAGS'
48917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48922 /* end confdefs.h. */
48923 #include <math.h>
48924 #ifdef HAVE_IEEEFP_H
48925 #include <ieeefp.h>
48926 #endif
48929 main ()
48931 finitef(0);
48933 return 0;
48935 _ACEOF
48936 if ac_fn_cxx_try_compile "$LINENO"; then :
48937 glibcxx_cv_func_finitef_use=yes
48938 else
48939 glibcxx_cv_func_finitef_use=no
48941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48942 ac_ext=c
48943 ac_cpp='$CPP $CPPFLAGS'
48944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48953 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48955 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48956 for ac_func in finitef
48957 do :
48958 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48959 if test "x$ac_cv_func_finitef" = x""yes; then :
48960 cat >>confdefs.h <<_ACEOF
48961 #define HAVE_FINITEF 1
48962 _ACEOF
48965 done
48967 else
48969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48970 $as_echo_n "checking for _finitef declaration... " >&6; }
48971 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48972 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48973 $as_echo_n "(cached) " >&6
48974 else
48977 ac_ext=cpp
48978 ac_cpp='$CXXCPP $CPPFLAGS'
48979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48984 /* end confdefs.h. */
48985 #include <math.h>
48986 #ifdef HAVE_IEEEFP_H
48987 #include <ieeefp.h>
48988 #endif
48991 main ()
48993 _finitef(0);
48995 return 0;
48997 _ACEOF
48998 if ac_fn_cxx_try_compile "$LINENO"; then :
48999 glibcxx_cv_func__finitef_use=yes
49000 else
49001 glibcxx_cv_func__finitef_use=no
49003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49004 ac_ext=c
49005 ac_cpp='$CPP $CPPFLAGS'
49006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49015 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49017 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49018 for ac_func in _finitef
49019 do :
49020 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49021 if test "x$ac_cv_func__finitef" = x""yes; then :
49022 cat >>confdefs.h <<_ACEOF
49023 #define HAVE__FINITEF 1
49024 _ACEOF
49027 done
49036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49037 $as_echo_n "checking for long double trig functions... " >&6; }
49038 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49039 $as_echo_n "(cached) " >&6
49040 else
49043 ac_ext=cpp
49044 ac_cpp='$CXXCPP $CPPFLAGS'
49045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49050 /* end confdefs.h. */
49051 #include <math.h>
49053 main ()
49055 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49057 return 0;
49059 _ACEOF
49060 if ac_fn_cxx_try_compile "$LINENO"; then :
49061 glibcxx_cv_func_long_double_trig_use=yes
49062 else
49063 glibcxx_cv_func_long_double_trig_use=no
49065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49066 ac_ext=c
49067 ac_cpp='$CPP $CPPFLAGS'
49068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49075 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49076 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49077 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49078 do :
49079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49081 eval as_val=\$$as_ac_var
49082 if test "x$as_val" = x""yes; then :
49083 cat >>confdefs.h <<_ACEOF
49084 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49085 _ACEOF
49088 done
49090 else
49091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49092 $as_echo_n "checking for _long double trig functions... " >&6; }
49093 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49094 $as_echo_n "(cached) " >&6
49095 else
49098 ac_ext=cpp
49099 ac_cpp='$CXXCPP $CPPFLAGS'
49100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49105 /* end confdefs.h. */
49106 #include <math.h>
49108 main ()
49110 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49112 return 0;
49114 _ACEOF
49115 if ac_fn_cxx_try_compile "$LINENO"; then :
49116 glibcxx_cv_func__long_double_trig_use=yes
49117 else
49118 glibcxx_cv_func__long_double_trig_use=no
49120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49121 ac_ext=c
49122 ac_cpp='$CPP $CPPFLAGS'
49123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49130 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49131 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49132 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49133 do :
49134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49136 eval as_val=\$$as_ac_var
49137 if test "x$as_val" = x""yes; then :
49138 cat >>confdefs.h <<_ACEOF
49139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49140 _ACEOF
49143 done
49152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49153 $as_echo_n "checking for long double round functions... " >&6; }
49154 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49155 $as_echo_n "(cached) " >&6
49156 else
49159 ac_ext=cpp
49160 ac_cpp='$CXXCPP $CPPFLAGS'
49161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49166 /* end confdefs.h. */
49167 #include <math.h>
49169 main ()
49171 ceill (0); floorl (0);
49173 return 0;
49175 _ACEOF
49176 if ac_fn_cxx_try_compile "$LINENO"; then :
49177 glibcxx_cv_func_long_double_round_use=yes
49178 else
49179 glibcxx_cv_func_long_double_round_use=no
49181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49182 ac_ext=c
49183 ac_cpp='$CPP $CPPFLAGS'
49184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49191 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49192 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49193 for ac_func in ceill floorl
49194 do :
49195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49197 eval as_val=\$$as_ac_var
49198 if test "x$as_val" = x""yes; then :
49199 cat >>confdefs.h <<_ACEOF
49200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49201 _ACEOF
49204 done
49206 else
49207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49208 $as_echo_n "checking for _long double round functions... " >&6; }
49209 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49210 $as_echo_n "(cached) " >&6
49211 else
49214 ac_ext=cpp
49215 ac_cpp='$CXXCPP $CPPFLAGS'
49216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49221 /* end confdefs.h. */
49222 #include <math.h>
49224 main ()
49226 _ceill (0); _floorl (0);
49228 return 0;
49230 _ACEOF
49231 if ac_fn_cxx_try_compile "$LINENO"; then :
49232 glibcxx_cv_func__long_double_round_use=yes
49233 else
49234 glibcxx_cv_func__long_double_round_use=no
49236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49237 ac_ext=c
49238 ac_cpp='$CPP $CPPFLAGS'
49239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49246 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49247 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49248 for ac_func in _ceill _floorl
49249 do :
49250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49252 eval as_val=\$$as_ac_var
49253 if test "x$as_val" = x""yes; then :
49254 cat >>confdefs.h <<_ACEOF
49255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49256 _ACEOF
49259 done
49269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49270 $as_echo_n "checking for isnanl declaration... " >&6; }
49271 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49272 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49273 $as_echo_n "(cached) " >&6
49274 else
49277 ac_ext=cpp
49278 ac_cpp='$CXXCPP $CPPFLAGS'
49279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49284 /* end confdefs.h. */
49285 #include <math.h>
49286 #ifdef HAVE_IEEEFP_H
49287 #include <ieeefp.h>
49288 #endif
49291 main ()
49293 isnanl(0);
49295 return 0;
49297 _ACEOF
49298 if ac_fn_cxx_try_compile "$LINENO"; then :
49299 glibcxx_cv_func_isnanl_use=yes
49300 else
49301 glibcxx_cv_func_isnanl_use=no
49303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49304 ac_ext=c
49305 ac_cpp='$CPP $CPPFLAGS'
49306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49315 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49317 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49318 for ac_func in isnanl
49319 do :
49320 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49321 if test "x$ac_cv_func_isnanl" = x""yes; then :
49322 cat >>confdefs.h <<_ACEOF
49323 #define HAVE_ISNANL 1
49324 _ACEOF
49327 done
49329 else
49331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49332 $as_echo_n "checking for _isnanl declaration... " >&6; }
49333 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49334 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49335 $as_echo_n "(cached) " >&6
49336 else
49339 ac_ext=cpp
49340 ac_cpp='$CXXCPP $CPPFLAGS'
49341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49346 /* end confdefs.h. */
49347 #include <math.h>
49348 #ifdef HAVE_IEEEFP_H
49349 #include <ieeefp.h>
49350 #endif
49353 main ()
49355 _isnanl(0);
49357 return 0;
49359 _ACEOF
49360 if ac_fn_cxx_try_compile "$LINENO"; then :
49361 glibcxx_cv_func__isnanl_use=yes
49362 else
49363 glibcxx_cv_func__isnanl_use=no
49365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49366 ac_ext=c
49367 ac_cpp='$CPP $CPPFLAGS'
49368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49377 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49379 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49380 for ac_func in _isnanl
49381 do :
49382 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49383 if test "x$ac_cv_func__isnanl" = x""yes; then :
49384 cat >>confdefs.h <<_ACEOF
49385 #define HAVE__ISNANL 1
49386 _ACEOF
49389 done
49398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49399 $as_echo_n "checking for isinfl declaration... " >&6; }
49400 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49401 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49402 $as_echo_n "(cached) " >&6
49403 else
49406 ac_ext=cpp
49407 ac_cpp='$CXXCPP $CPPFLAGS'
49408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49413 /* end confdefs.h. */
49414 #include <math.h>
49415 #ifdef HAVE_IEEEFP_H
49416 #include <ieeefp.h>
49417 #endif
49420 main ()
49422 isinfl(0);
49424 return 0;
49426 _ACEOF
49427 if ac_fn_cxx_try_compile "$LINENO"; then :
49428 glibcxx_cv_func_isinfl_use=yes
49429 else
49430 glibcxx_cv_func_isinfl_use=no
49432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49433 ac_ext=c
49434 ac_cpp='$CPP $CPPFLAGS'
49435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49444 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49446 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49447 for ac_func in isinfl
49448 do :
49449 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49450 if test "x$ac_cv_func_isinfl" = x""yes; then :
49451 cat >>confdefs.h <<_ACEOF
49452 #define HAVE_ISINFL 1
49453 _ACEOF
49456 done
49458 else
49460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49461 $as_echo_n "checking for _isinfl declaration... " >&6; }
49462 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49463 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49464 $as_echo_n "(cached) " >&6
49465 else
49468 ac_ext=cpp
49469 ac_cpp='$CXXCPP $CPPFLAGS'
49470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49475 /* end confdefs.h. */
49476 #include <math.h>
49477 #ifdef HAVE_IEEEFP_H
49478 #include <ieeefp.h>
49479 #endif
49482 main ()
49484 _isinfl(0);
49486 return 0;
49488 _ACEOF
49489 if ac_fn_cxx_try_compile "$LINENO"; then :
49490 glibcxx_cv_func__isinfl_use=yes
49491 else
49492 glibcxx_cv_func__isinfl_use=no
49494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49495 ac_ext=c
49496 ac_cpp='$CPP $CPPFLAGS'
49497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49506 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49508 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49509 for ac_func in _isinfl
49510 do :
49511 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49512 if test "x$ac_cv_func__isinfl" = x""yes; then :
49513 cat >>confdefs.h <<_ACEOF
49514 #define HAVE__ISINFL 1
49515 _ACEOF
49518 done
49527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49528 $as_echo_n "checking for atan2l declaration... " >&6; }
49529 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49530 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49531 $as_echo_n "(cached) " >&6
49532 else
49535 ac_ext=cpp
49536 ac_cpp='$CXXCPP $CPPFLAGS'
49537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49542 /* end confdefs.h. */
49543 #include <math.h>
49545 main ()
49547 atan2l(0, 0);
49549 return 0;
49551 _ACEOF
49552 if ac_fn_cxx_try_compile "$LINENO"; then :
49553 glibcxx_cv_func_atan2l_use=yes
49554 else
49555 glibcxx_cv_func_atan2l_use=no
49557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49558 ac_ext=c
49559 ac_cpp='$CPP $CPPFLAGS'
49560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49569 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49571 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49572 for ac_func in atan2l
49573 do :
49574 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49575 if test "x$ac_cv_func_atan2l" = x""yes; then :
49576 cat >>confdefs.h <<_ACEOF
49577 #define HAVE_ATAN2L 1
49578 _ACEOF
49581 done
49583 else
49585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49586 $as_echo_n "checking for _atan2l declaration... " >&6; }
49587 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49588 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49589 $as_echo_n "(cached) " >&6
49590 else
49593 ac_ext=cpp
49594 ac_cpp='$CXXCPP $CPPFLAGS'
49595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49600 /* end confdefs.h. */
49601 #include <math.h>
49603 main ()
49605 _atan2l(0, 0);
49607 return 0;
49609 _ACEOF
49610 if ac_fn_cxx_try_compile "$LINENO"; then :
49611 glibcxx_cv_func__atan2l_use=yes
49612 else
49613 glibcxx_cv_func__atan2l_use=no
49615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49616 ac_ext=c
49617 ac_cpp='$CPP $CPPFLAGS'
49618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49627 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49629 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49630 for ac_func in _atan2l
49631 do :
49632 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49633 if test "x$ac_cv_func__atan2l" = x""yes; then :
49634 cat >>confdefs.h <<_ACEOF
49635 #define HAVE__ATAN2L 1
49636 _ACEOF
49639 done
49648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49649 $as_echo_n "checking for expl declaration... " >&6; }
49650 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49651 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49652 $as_echo_n "(cached) " >&6
49653 else
49656 ac_ext=cpp
49657 ac_cpp='$CXXCPP $CPPFLAGS'
49658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49663 /* end confdefs.h. */
49664 #include <math.h>
49665 #ifdef HAVE_IEEEFP_H
49666 #include <ieeefp.h>
49667 #endif
49670 main ()
49672 expl(0);
49674 return 0;
49676 _ACEOF
49677 if ac_fn_cxx_try_compile "$LINENO"; then :
49678 glibcxx_cv_func_expl_use=yes
49679 else
49680 glibcxx_cv_func_expl_use=no
49682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49683 ac_ext=c
49684 ac_cpp='$CPP $CPPFLAGS'
49685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49694 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49696 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49697 for ac_func in expl
49698 do :
49699 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49700 if test "x$ac_cv_func_expl" = x""yes; then :
49701 cat >>confdefs.h <<_ACEOF
49702 #define HAVE_EXPL 1
49703 _ACEOF
49706 done
49708 else
49710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49711 $as_echo_n "checking for _expl declaration... " >&6; }
49712 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49713 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49714 $as_echo_n "(cached) " >&6
49715 else
49718 ac_ext=cpp
49719 ac_cpp='$CXXCPP $CPPFLAGS'
49720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49725 /* end confdefs.h. */
49726 #include <math.h>
49727 #ifdef HAVE_IEEEFP_H
49728 #include <ieeefp.h>
49729 #endif
49732 main ()
49734 _expl(0);
49736 return 0;
49738 _ACEOF
49739 if ac_fn_cxx_try_compile "$LINENO"; then :
49740 glibcxx_cv_func__expl_use=yes
49741 else
49742 glibcxx_cv_func__expl_use=no
49744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49745 ac_ext=c
49746 ac_cpp='$CPP $CPPFLAGS'
49747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49756 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49758 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49759 for ac_func in _expl
49760 do :
49761 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49762 if test "x$ac_cv_func__expl" = x""yes; then :
49763 cat >>confdefs.h <<_ACEOF
49764 #define HAVE__EXPL 1
49765 _ACEOF
49768 done
49777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49778 $as_echo_n "checking for fabsl declaration... " >&6; }
49779 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49780 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49781 $as_echo_n "(cached) " >&6
49782 else
49785 ac_ext=cpp
49786 ac_cpp='$CXXCPP $CPPFLAGS'
49787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49792 /* end confdefs.h. */
49793 #include <math.h>
49794 #ifdef HAVE_IEEEFP_H
49795 #include <ieeefp.h>
49796 #endif
49799 main ()
49801 fabsl(0);
49803 return 0;
49805 _ACEOF
49806 if ac_fn_cxx_try_compile "$LINENO"; then :
49807 glibcxx_cv_func_fabsl_use=yes
49808 else
49809 glibcxx_cv_func_fabsl_use=no
49811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49812 ac_ext=c
49813 ac_cpp='$CPP $CPPFLAGS'
49814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49823 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49825 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49826 for ac_func in fabsl
49827 do :
49828 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49829 if test "x$ac_cv_func_fabsl" = x""yes; then :
49830 cat >>confdefs.h <<_ACEOF
49831 #define HAVE_FABSL 1
49832 _ACEOF
49835 done
49837 else
49839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49840 $as_echo_n "checking for _fabsl declaration... " >&6; }
49841 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49842 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49843 $as_echo_n "(cached) " >&6
49844 else
49847 ac_ext=cpp
49848 ac_cpp='$CXXCPP $CPPFLAGS'
49849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49854 /* end confdefs.h. */
49855 #include <math.h>
49856 #ifdef HAVE_IEEEFP_H
49857 #include <ieeefp.h>
49858 #endif
49861 main ()
49863 _fabsl(0);
49865 return 0;
49867 _ACEOF
49868 if ac_fn_cxx_try_compile "$LINENO"; then :
49869 glibcxx_cv_func__fabsl_use=yes
49870 else
49871 glibcxx_cv_func__fabsl_use=no
49873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49874 ac_ext=c
49875 ac_cpp='$CPP $CPPFLAGS'
49876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49885 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49887 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49888 for ac_func in _fabsl
49889 do :
49890 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49891 if test "x$ac_cv_func__fabsl" = x""yes; then :
49892 cat >>confdefs.h <<_ACEOF
49893 #define HAVE__FABSL 1
49894 _ACEOF
49897 done
49906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49907 $as_echo_n "checking for fmodl declaration... " >&6; }
49908 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49909 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49910 $as_echo_n "(cached) " >&6
49911 else
49914 ac_ext=cpp
49915 ac_cpp='$CXXCPP $CPPFLAGS'
49916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49921 /* end confdefs.h. */
49922 #include <math.h>
49924 main ()
49926 fmodl(0, 0);
49928 return 0;
49930 _ACEOF
49931 if ac_fn_cxx_try_compile "$LINENO"; then :
49932 glibcxx_cv_func_fmodl_use=yes
49933 else
49934 glibcxx_cv_func_fmodl_use=no
49936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49937 ac_ext=c
49938 ac_cpp='$CPP $CPPFLAGS'
49939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49948 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49950 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49951 for ac_func in fmodl
49952 do :
49953 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49954 if test "x$ac_cv_func_fmodl" = x""yes; then :
49955 cat >>confdefs.h <<_ACEOF
49956 #define HAVE_FMODL 1
49957 _ACEOF
49960 done
49962 else
49964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49965 $as_echo_n "checking for _fmodl declaration... " >&6; }
49966 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49967 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49968 $as_echo_n "(cached) " >&6
49969 else
49972 ac_ext=cpp
49973 ac_cpp='$CXXCPP $CPPFLAGS'
49974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49979 /* end confdefs.h. */
49980 #include <math.h>
49982 main ()
49984 _fmodl(0, 0);
49986 return 0;
49988 _ACEOF
49989 if ac_fn_cxx_try_compile "$LINENO"; then :
49990 glibcxx_cv_func__fmodl_use=yes
49991 else
49992 glibcxx_cv_func__fmodl_use=no
49994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49995 ac_ext=c
49996 ac_cpp='$CPP $CPPFLAGS'
49997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50006 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50008 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50009 for ac_func in _fmodl
50010 do :
50011 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50012 if test "x$ac_cv_func__fmodl" = x""yes; then :
50013 cat >>confdefs.h <<_ACEOF
50014 #define HAVE__FMODL 1
50015 _ACEOF
50018 done
50027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50028 $as_echo_n "checking for frexpl declaration... " >&6; }
50029 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50030 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50031 $as_echo_n "(cached) " >&6
50032 else
50035 ac_ext=cpp
50036 ac_cpp='$CXXCPP $CPPFLAGS'
50037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50042 /* end confdefs.h. */
50043 #include <math.h>
50045 main ()
50047 frexpl(0, 0);
50049 return 0;
50051 _ACEOF
50052 if ac_fn_cxx_try_compile "$LINENO"; then :
50053 glibcxx_cv_func_frexpl_use=yes
50054 else
50055 glibcxx_cv_func_frexpl_use=no
50057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50058 ac_ext=c
50059 ac_cpp='$CPP $CPPFLAGS'
50060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50069 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50071 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50072 for ac_func in frexpl
50073 do :
50074 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50075 if test "x$ac_cv_func_frexpl" = x""yes; then :
50076 cat >>confdefs.h <<_ACEOF
50077 #define HAVE_FREXPL 1
50078 _ACEOF
50081 done
50083 else
50085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50086 $as_echo_n "checking for _frexpl declaration... " >&6; }
50087 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50088 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50089 $as_echo_n "(cached) " >&6
50090 else
50093 ac_ext=cpp
50094 ac_cpp='$CXXCPP $CPPFLAGS'
50095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50100 /* end confdefs.h. */
50101 #include <math.h>
50103 main ()
50105 _frexpl(0, 0);
50107 return 0;
50109 _ACEOF
50110 if ac_fn_cxx_try_compile "$LINENO"; then :
50111 glibcxx_cv_func__frexpl_use=yes
50112 else
50113 glibcxx_cv_func__frexpl_use=no
50115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50116 ac_ext=c
50117 ac_cpp='$CPP $CPPFLAGS'
50118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50127 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50129 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50130 for ac_func in _frexpl
50131 do :
50132 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50133 if test "x$ac_cv_func__frexpl" = x""yes; then :
50134 cat >>confdefs.h <<_ACEOF
50135 #define HAVE__FREXPL 1
50136 _ACEOF
50139 done
50148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50149 $as_echo_n "checking for hypotl declaration... " >&6; }
50150 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50151 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50152 $as_echo_n "(cached) " >&6
50153 else
50156 ac_ext=cpp
50157 ac_cpp='$CXXCPP $CPPFLAGS'
50158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50163 /* end confdefs.h. */
50164 #include <math.h>
50166 main ()
50168 hypotl(0, 0);
50170 return 0;
50172 _ACEOF
50173 if ac_fn_cxx_try_compile "$LINENO"; then :
50174 glibcxx_cv_func_hypotl_use=yes
50175 else
50176 glibcxx_cv_func_hypotl_use=no
50178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50179 ac_ext=c
50180 ac_cpp='$CPP $CPPFLAGS'
50181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50190 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50192 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50193 for ac_func in hypotl
50194 do :
50195 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50196 if test "x$ac_cv_func_hypotl" = x""yes; then :
50197 cat >>confdefs.h <<_ACEOF
50198 #define HAVE_HYPOTL 1
50199 _ACEOF
50202 done
50204 else
50206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50207 $as_echo_n "checking for _hypotl declaration... " >&6; }
50208 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50209 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50210 $as_echo_n "(cached) " >&6
50211 else
50214 ac_ext=cpp
50215 ac_cpp='$CXXCPP $CPPFLAGS'
50216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50221 /* end confdefs.h. */
50222 #include <math.h>
50224 main ()
50226 _hypotl(0, 0);
50228 return 0;
50230 _ACEOF
50231 if ac_fn_cxx_try_compile "$LINENO"; then :
50232 glibcxx_cv_func__hypotl_use=yes
50233 else
50234 glibcxx_cv_func__hypotl_use=no
50236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50237 ac_ext=c
50238 ac_cpp='$CPP $CPPFLAGS'
50239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50248 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50250 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50251 for ac_func in _hypotl
50252 do :
50253 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50254 if test "x$ac_cv_func__hypotl" = x""yes; then :
50255 cat >>confdefs.h <<_ACEOF
50256 #define HAVE__HYPOTL 1
50257 _ACEOF
50260 done
50269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50270 $as_echo_n "checking for ldexpl declaration... " >&6; }
50271 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50272 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50273 $as_echo_n "(cached) " >&6
50274 else
50277 ac_ext=cpp
50278 ac_cpp='$CXXCPP $CPPFLAGS'
50279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50284 /* end confdefs.h. */
50285 #include <math.h>
50287 main ()
50289 ldexpl(0, 0);
50291 return 0;
50293 _ACEOF
50294 if ac_fn_cxx_try_compile "$LINENO"; then :
50295 glibcxx_cv_func_ldexpl_use=yes
50296 else
50297 glibcxx_cv_func_ldexpl_use=no
50299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50300 ac_ext=c
50301 ac_cpp='$CPP $CPPFLAGS'
50302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50311 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50313 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50314 for ac_func in ldexpl
50315 do :
50316 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50317 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50318 cat >>confdefs.h <<_ACEOF
50319 #define HAVE_LDEXPL 1
50320 _ACEOF
50323 done
50325 else
50327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50328 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50329 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50330 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50331 $as_echo_n "(cached) " >&6
50332 else
50335 ac_ext=cpp
50336 ac_cpp='$CXXCPP $CPPFLAGS'
50337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50342 /* end confdefs.h. */
50343 #include <math.h>
50345 main ()
50347 _ldexpl(0, 0);
50349 return 0;
50351 _ACEOF
50352 if ac_fn_cxx_try_compile "$LINENO"; then :
50353 glibcxx_cv_func__ldexpl_use=yes
50354 else
50355 glibcxx_cv_func__ldexpl_use=no
50357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50358 ac_ext=c
50359 ac_cpp='$CPP $CPPFLAGS'
50360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50369 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50371 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50372 for ac_func in _ldexpl
50373 do :
50374 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50375 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50376 cat >>confdefs.h <<_ACEOF
50377 #define HAVE__LDEXPL 1
50378 _ACEOF
50381 done
50390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50391 $as_echo_n "checking for logl declaration... " >&6; }
50392 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50393 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50394 $as_echo_n "(cached) " >&6
50395 else
50398 ac_ext=cpp
50399 ac_cpp='$CXXCPP $CPPFLAGS'
50400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50405 /* end confdefs.h. */
50406 #include <math.h>
50407 #ifdef HAVE_IEEEFP_H
50408 #include <ieeefp.h>
50409 #endif
50412 main ()
50414 logl(0);
50416 return 0;
50418 _ACEOF
50419 if ac_fn_cxx_try_compile "$LINENO"; then :
50420 glibcxx_cv_func_logl_use=yes
50421 else
50422 glibcxx_cv_func_logl_use=no
50424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50425 ac_ext=c
50426 ac_cpp='$CPP $CPPFLAGS'
50427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50436 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50438 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50439 for ac_func in logl
50440 do :
50441 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50442 if test "x$ac_cv_func_logl" = x""yes; then :
50443 cat >>confdefs.h <<_ACEOF
50444 #define HAVE_LOGL 1
50445 _ACEOF
50448 done
50450 else
50452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50453 $as_echo_n "checking for _logl declaration... " >&6; }
50454 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50455 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50456 $as_echo_n "(cached) " >&6
50457 else
50460 ac_ext=cpp
50461 ac_cpp='$CXXCPP $CPPFLAGS'
50462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50467 /* end confdefs.h. */
50468 #include <math.h>
50469 #ifdef HAVE_IEEEFP_H
50470 #include <ieeefp.h>
50471 #endif
50474 main ()
50476 _logl(0);
50478 return 0;
50480 _ACEOF
50481 if ac_fn_cxx_try_compile "$LINENO"; then :
50482 glibcxx_cv_func__logl_use=yes
50483 else
50484 glibcxx_cv_func__logl_use=no
50486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50487 ac_ext=c
50488 ac_cpp='$CPP $CPPFLAGS'
50489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50498 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50500 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50501 for ac_func in _logl
50502 do :
50503 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50504 if test "x$ac_cv_func__logl" = x""yes; then :
50505 cat >>confdefs.h <<_ACEOF
50506 #define HAVE__LOGL 1
50507 _ACEOF
50510 done
50519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50520 $as_echo_n "checking for log10l declaration... " >&6; }
50521 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50522 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50523 $as_echo_n "(cached) " >&6
50524 else
50527 ac_ext=cpp
50528 ac_cpp='$CXXCPP $CPPFLAGS'
50529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50534 /* end confdefs.h. */
50535 #include <math.h>
50536 #ifdef HAVE_IEEEFP_H
50537 #include <ieeefp.h>
50538 #endif
50541 main ()
50543 log10l(0);
50545 return 0;
50547 _ACEOF
50548 if ac_fn_cxx_try_compile "$LINENO"; then :
50549 glibcxx_cv_func_log10l_use=yes
50550 else
50551 glibcxx_cv_func_log10l_use=no
50553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50554 ac_ext=c
50555 ac_cpp='$CPP $CPPFLAGS'
50556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50565 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50567 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50568 for ac_func in log10l
50569 do :
50570 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50571 if test "x$ac_cv_func_log10l" = x""yes; then :
50572 cat >>confdefs.h <<_ACEOF
50573 #define HAVE_LOG10L 1
50574 _ACEOF
50577 done
50579 else
50581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50582 $as_echo_n "checking for _log10l declaration... " >&6; }
50583 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50584 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50585 $as_echo_n "(cached) " >&6
50586 else
50589 ac_ext=cpp
50590 ac_cpp='$CXXCPP $CPPFLAGS'
50591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50596 /* end confdefs.h. */
50597 #include <math.h>
50598 #ifdef HAVE_IEEEFP_H
50599 #include <ieeefp.h>
50600 #endif
50603 main ()
50605 _log10l(0);
50607 return 0;
50609 _ACEOF
50610 if ac_fn_cxx_try_compile "$LINENO"; then :
50611 glibcxx_cv_func__log10l_use=yes
50612 else
50613 glibcxx_cv_func__log10l_use=no
50615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50616 ac_ext=c
50617 ac_cpp='$CPP $CPPFLAGS'
50618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50627 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50629 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50630 for ac_func in _log10l
50631 do :
50632 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50633 if test "x$ac_cv_func__log10l" = x""yes; then :
50634 cat >>confdefs.h <<_ACEOF
50635 #define HAVE__LOG10L 1
50636 _ACEOF
50639 done
50648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50649 $as_echo_n "checking for modfl declaration... " >&6; }
50650 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50651 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50652 $as_echo_n "(cached) " >&6
50653 else
50656 ac_ext=cpp
50657 ac_cpp='$CXXCPP $CPPFLAGS'
50658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50663 /* end confdefs.h. */
50664 #include <math.h>
50666 main ()
50668 modfl(0, 0);
50670 return 0;
50672 _ACEOF
50673 if ac_fn_cxx_try_compile "$LINENO"; then :
50674 glibcxx_cv_func_modfl_use=yes
50675 else
50676 glibcxx_cv_func_modfl_use=no
50678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50679 ac_ext=c
50680 ac_cpp='$CPP $CPPFLAGS'
50681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50690 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50692 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50693 for ac_func in modfl
50694 do :
50695 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50696 if test "x$ac_cv_func_modfl" = x""yes; then :
50697 cat >>confdefs.h <<_ACEOF
50698 #define HAVE_MODFL 1
50699 _ACEOF
50702 done
50704 else
50706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50707 $as_echo_n "checking for _modfl declaration... " >&6; }
50708 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50709 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50710 $as_echo_n "(cached) " >&6
50711 else
50714 ac_ext=cpp
50715 ac_cpp='$CXXCPP $CPPFLAGS'
50716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50721 /* end confdefs.h. */
50722 #include <math.h>
50724 main ()
50726 _modfl(0, 0);
50728 return 0;
50730 _ACEOF
50731 if ac_fn_cxx_try_compile "$LINENO"; then :
50732 glibcxx_cv_func__modfl_use=yes
50733 else
50734 glibcxx_cv_func__modfl_use=no
50736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50737 ac_ext=c
50738 ac_cpp='$CPP $CPPFLAGS'
50739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50748 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50750 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50751 for ac_func in _modfl
50752 do :
50753 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50754 if test "x$ac_cv_func__modfl" = x""yes; then :
50755 cat >>confdefs.h <<_ACEOF
50756 #define HAVE__MODFL 1
50757 _ACEOF
50760 done
50769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50770 $as_echo_n "checking for powl declaration... " >&6; }
50771 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50772 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50773 $as_echo_n "(cached) " >&6
50774 else
50777 ac_ext=cpp
50778 ac_cpp='$CXXCPP $CPPFLAGS'
50779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50784 /* end confdefs.h. */
50785 #include <math.h>
50787 main ()
50789 powl(0, 0);
50791 return 0;
50793 _ACEOF
50794 if ac_fn_cxx_try_compile "$LINENO"; then :
50795 glibcxx_cv_func_powl_use=yes
50796 else
50797 glibcxx_cv_func_powl_use=no
50799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50800 ac_ext=c
50801 ac_cpp='$CPP $CPPFLAGS'
50802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50811 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50813 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50814 for ac_func in powl
50815 do :
50816 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50817 if test "x$ac_cv_func_powl" = x""yes; then :
50818 cat >>confdefs.h <<_ACEOF
50819 #define HAVE_POWL 1
50820 _ACEOF
50823 done
50825 else
50827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50828 $as_echo_n "checking for _powl declaration... " >&6; }
50829 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50830 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50831 $as_echo_n "(cached) " >&6
50832 else
50835 ac_ext=cpp
50836 ac_cpp='$CXXCPP $CPPFLAGS'
50837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50842 /* end confdefs.h. */
50843 #include <math.h>
50845 main ()
50847 _powl(0, 0);
50849 return 0;
50851 _ACEOF
50852 if ac_fn_cxx_try_compile "$LINENO"; then :
50853 glibcxx_cv_func__powl_use=yes
50854 else
50855 glibcxx_cv_func__powl_use=no
50857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50858 ac_ext=c
50859 ac_cpp='$CPP $CPPFLAGS'
50860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50869 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50871 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50872 for ac_func in _powl
50873 do :
50874 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50875 if test "x$ac_cv_func__powl" = x""yes; then :
50876 cat >>confdefs.h <<_ACEOF
50877 #define HAVE__POWL 1
50878 _ACEOF
50881 done
50890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50891 $as_echo_n "checking for sqrtl declaration... " >&6; }
50892 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50893 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50894 $as_echo_n "(cached) " >&6
50895 else
50898 ac_ext=cpp
50899 ac_cpp='$CXXCPP $CPPFLAGS'
50900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50905 /* end confdefs.h. */
50906 #include <math.h>
50907 #ifdef HAVE_IEEEFP_H
50908 #include <ieeefp.h>
50909 #endif
50912 main ()
50914 sqrtl(0);
50916 return 0;
50918 _ACEOF
50919 if ac_fn_cxx_try_compile "$LINENO"; then :
50920 glibcxx_cv_func_sqrtl_use=yes
50921 else
50922 glibcxx_cv_func_sqrtl_use=no
50924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50925 ac_ext=c
50926 ac_cpp='$CPP $CPPFLAGS'
50927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50936 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50938 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50939 for ac_func in sqrtl
50940 do :
50941 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50942 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50943 cat >>confdefs.h <<_ACEOF
50944 #define HAVE_SQRTL 1
50945 _ACEOF
50948 done
50950 else
50952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50953 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50954 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50955 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50956 $as_echo_n "(cached) " >&6
50957 else
50960 ac_ext=cpp
50961 ac_cpp='$CXXCPP $CPPFLAGS'
50962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50967 /* end confdefs.h. */
50968 #include <math.h>
50969 #ifdef HAVE_IEEEFP_H
50970 #include <ieeefp.h>
50971 #endif
50974 main ()
50976 _sqrtl(0);
50978 return 0;
50980 _ACEOF
50981 if ac_fn_cxx_try_compile "$LINENO"; then :
50982 glibcxx_cv_func__sqrtl_use=yes
50983 else
50984 glibcxx_cv_func__sqrtl_use=no
50986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50987 ac_ext=c
50988 ac_cpp='$CPP $CPPFLAGS'
50989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50998 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51000 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51001 for ac_func in _sqrtl
51002 do :
51003 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51004 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51005 cat >>confdefs.h <<_ACEOF
51006 #define HAVE__SQRTL 1
51007 _ACEOF
51010 done
51019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51020 $as_echo_n "checking for sincosl declaration... " >&6; }
51021 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51022 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51023 $as_echo_n "(cached) " >&6
51024 else
51027 ac_ext=cpp
51028 ac_cpp='$CXXCPP $CPPFLAGS'
51029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51034 /* end confdefs.h. */
51035 #include <math.h>
51037 main ()
51039 sincosl(0, 0, 0);
51041 return 0;
51043 _ACEOF
51044 if ac_fn_cxx_try_compile "$LINENO"; then :
51045 glibcxx_cv_func_sincosl_use=yes
51046 else
51047 glibcxx_cv_func_sincosl_use=no
51049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51050 ac_ext=c
51051 ac_cpp='$CPP $CPPFLAGS'
51052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51061 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51063 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51064 for ac_func in sincosl
51065 do :
51066 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51067 if test "x$ac_cv_func_sincosl" = x""yes; then :
51068 cat >>confdefs.h <<_ACEOF
51069 #define HAVE_SINCOSL 1
51070 _ACEOF
51073 done
51075 else
51077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51078 $as_echo_n "checking for _sincosl declaration... " >&6; }
51079 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51080 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51081 $as_echo_n "(cached) " >&6
51082 else
51085 ac_ext=cpp
51086 ac_cpp='$CXXCPP $CPPFLAGS'
51087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51092 /* end confdefs.h. */
51093 #include <math.h>
51095 main ()
51097 _sincosl(0, 0, 0);
51099 return 0;
51101 _ACEOF
51102 if ac_fn_cxx_try_compile "$LINENO"; then :
51103 glibcxx_cv_func__sincosl_use=yes
51104 else
51105 glibcxx_cv_func__sincosl_use=no
51107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51108 ac_ext=c
51109 ac_cpp='$CPP $CPPFLAGS'
51110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51119 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51121 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51122 for ac_func in _sincosl
51123 do :
51124 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51125 if test "x$ac_cv_func__sincosl" = x""yes; then :
51126 cat >>confdefs.h <<_ACEOF
51127 #define HAVE__SINCOSL 1
51128 _ACEOF
51131 done
51140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51141 $as_echo_n "checking for finitel declaration... " >&6; }
51142 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51143 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51144 $as_echo_n "(cached) " >&6
51145 else
51148 ac_ext=cpp
51149 ac_cpp='$CXXCPP $CPPFLAGS'
51150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51155 /* end confdefs.h. */
51156 #include <math.h>
51157 #ifdef HAVE_IEEEFP_H
51158 #include <ieeefp.h>
51159 #endif
51162 main ()
51164 finitel(0);
51166 return 0;
51168 _ACEOF
51169 if ac_fn_cxx_try_compile "$LINENO"; then :
51170 glibcxx_cv_func_finitel_use=yes
51171 else
51172 glibcxx_cv_func_finitel_use=no
51174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51175 ac_ext=c
51176 ac_cpp='$CPP $CPPFLAGS'
51177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51186 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51188 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51189 for ac_func in finitel
51190 do :
51191 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51192 if test "x$ac_cv_func_finitel" = x""yes; then :
51193 cat >>confdefs.h <<_ACEOF
51194 #define HAVE_FINITEL 1
51195 _ACEOF
51198 done
51200 else
51202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51203 $as_echo_n "checking for _finitel declaration... " >&6; }
51204 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51205 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51206 $as_echo_n "(cached) " >&6
51207 else
51210 ac_ext=cpp
51211 ac_cpp='$CXXCPP $CPPFLAGS'
51212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51217 /* end confdefs.h. */
51218 #include <math.h>
51219 #ifdef HAVE_IEEEFP_H
51220 #include <ieeefp.h>
51221 #endif
51224 main ()
51226 _finitel(0);
51228 return 0;
51230 _ACEOF
51231 if ac_fn_cxx_try_compile "$LINENO"; then :
51232 glibcxx_cv_func__finitel_use=yes
51233 else
51234 glibcxx_cv_func__finitel_use=no
51236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51237 ac_ext=c
51238 ac_cpp='$CPP $CPPFLAGS'
51239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51248 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51250 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51251 for ac_func in _finitel
51252 do :
51253 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51254 if test "x$ac_cv_func__finitel" = x""yes; then :
51255 cat >>confdefs.h <<_ACEOF
51256 #define HAVE__FINITEL 1
51257 _ACEOF
51260 done
51268 LIBS="$ac_save_LIBS"
51269 CXXFLAGS="$ac_save_CXXFLAGS"
51272 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51273 ac_save_CXXFLAGS="$CXXFLAGS"
51274 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51278 $as_echo_n "checking for strtold declaration... " >&6; }
51279 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51280 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51281 $as_echo_n "(cached) " >&6
51282 else
51285 ac_ext=cpp
51286 ac_cpp='$CXXCPP $CPPFLAGS'
51287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51292 /* end confdefs.h. */
51293 #include <stdlib.h>
51295 main ()
51297 strtold(0, 0);
51299 return 0;
51301 _ACEOF
51302 if ac_fn_cxx_try_compile "$LINENO"; then :
51303 glibcxx_cv_func_strtold_use=yes
51304 else
51305 glibcxx_cv_func_strtold_use=no
51307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51308 ac_ext=c
51309 ac_cpp='$CPP $CPPFLAGS'
51310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51319 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51320 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51321 for ac_func in strtold
51322 do :
51323 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51324 if test "x$ac_cv_func_strtold" = x""yes; then :
51325 cat >>confdefs.h <<_ACEOF
51326 #define HAVE_STRTOLD 1
51327 _ACEOF
51330 done
51337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51338 $as_echo_n "checking for strtof declaration... " >&6; }
51339 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51340 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51341 $as_echo_n "(cached) " >&6
51342 else
51345 ac_ext=cpp
51346 ac_cpp='$CXXCPP $CPPFLAGS'
51347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51352 /* end confdefs.h. */
51353 #include <stdlib.h>
51355 main ()
51357 strtof(0, 0);
51359 return 0;
51361 _ACEOF
51362 if ac_fn_cxx_try_compile "$LINENO"; then :
51363 glibcxx_cv_func_strtof_use=yes
51364 else
51365 glibcxx_cv_func_strtof_use=no
51367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51368 ac_ext=c
51369 ac_cpp='$CPP $CPPFLAGS'
51370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51379 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51380 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51381 for ac_func in strtof
51382 do :
51383 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51384 if test "x$ac_cv_func_strtof" = x""yes; then :
51385 cat >>confdefs.h <<_ACEOF
51386 #define HAVE_STRTOF 1
51387 _ACEOF
51390 done
51397 CXXFLAGS="$ac_save_CXXFLAGS"
51399 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51403 # Check whether --enable-tls was given.
51404 if test "${enable_tls+set}" = set; then :
51405 enableval=$enable_tls;
51406 case "$enableval" in
51407 yes|no) ;;
51408 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51409 esac
51411 else
51412 enable_tls=yes
51416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51417 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51418 if test "${gcc_cv_have_tls+set}" = set; then :
51419 $as_echo_n "(cached) " >&6
51420 else
51422 if test "$cross_compiling" = yes; then :
51423 if test x$gcc_no_link = xyes; then
51424 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51427 /* end confdefs.h. */
51428 __thread int a; int b; int main() { return a = b; }
51429 _ACEOF
51430 if ac_fn_c_try_link "$LINENO"; then :
51431 chktls_save_LDFLAGS="$LDFLAGS"
51432 case $host in
51433 *-*-linux*)
51434 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51436 esac
51437 chktls_save_CFLAGS="$CFLAGS"
51438 CFLAGS="-fPIC $CFLAGS"
51439 if test x$gcc_no_link = xyes; then
51440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51443 /* end confdefs.h. */
51444 int f() { return 0; }
51445 _ACEOF
51446 if ac_fn_c_try_link "$LINENO"; then :
51447 if test x$gcc_no_link = xyes; then
51448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51451 /* end confdefs.h. */
51452 __thread int a; int b; int f() { return a = b; }
51453 _ACEOF
51454 if ac_fn_c_try_link "$LINENO"; then :
51455 gcc_cv_have_tls=yes
51456 else
51457 gcc_cv_have_tls=no
51459 rm -f core conftest.err conftest.$ac_objext \
51460 conftest$ac_exeext conftest.$ac_ext
51461 else
51462 gcc_cv_have_tls=yes
51464 rm -f core conftest.err conftest.$ac_objext \
51465 conftest$ac_exeext conftest.$ac_ext
51466 CFLAGS="$chktls_save_CFLAGS"
51467 LDFLAGS="$chktls_save_LDFLAGS"
51468 else
51469 gcc_cv_have_tls=no
51471 rm -f core conftest.err conftest.$ac_objext \
51472 conftest$ac_exeext conftest.$ac_ext
51475 else
51476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51477 /* end confdefs.h. */
51478 __thread int a; int b; int main() { return a = b; }
51479 _ACEOF
51480 if ac_fn_c_try_run "$LINENO"; then :
51481 chktls_save_LDFLAGS="$LDFLAGS"
51482 LDFLAGS="-static $LDFLAGS"
51483 if test x$gcc_no_link = xyes; then
51484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51487 /* end confdefs.h. */
51488 int main() { return 0; }
51489 _ACEOF
51490 if ac_fn_c_try_link "$LINENO"; then :
51491 if test "$cross_compiling" = yes; then :
51492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51494 as_fn_error "cannot run test program while cross compiling
51495 See \`config.log' for more details." "$LINENO" 5; }
51496 else
51497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51498 /* end confdefs.h. */
51499 __thread int a; int b; int main() { return a = b; }
51500 _ACEOF
51501 if ac_fn_c_try_run "$LINENO"; then :
51502 gcc_cv_have_tls=yes
51503 else
51504 gcc_cv_have_tls=no
51506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51507 conftest.$ac_objext conftest.beam conftest.$ac_ext
51510 else
51511 gcc_cv_have_tls=yes
51513 rm -f core conftest.err conftest.$ac_objext \
51514 conftest$ac_exeext conftest.$ac_ext
51515 LDFLAGS="$chktls_save_LDFLAGS"
51516 if test $gcc_cv_have_tls = yes; then
51517 chktls_save_CFLAGS="$CFLAGS"
51518 thread_CFLAGS=failed
51519 for flag in '' '-pthread' '-lpthread'; do
51520 CFLAGS="$flag $chktls_save_CFLAGS"
51521 if test x$gcc_no_link = xyes; then
51522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51525 /* end confdefs.h. */
51526 #include <pthread.h>
51527 void *g(void *d) { return NULL; }
51529 main ()
51531 pthread_t t; pthread_create(&t,NULL,g,NULL);
51533 return 0;
51535 _ACEOF
51536 if ac_fn_c_try_link "$LINENO"; then :
51537 thread_CFLAGS="$flag"
51539 rm -f core conftest.err conftest.$ac_objext \
51540 conftest$ac_exeext conftest.$ac_ext
51541 if test "X$thread_CFLAGS" != Xfailed; then
51542 break
51544 done
51545 CFLAGS="$chktls_save_CFLAGS"
51546 if test "X$thread_CFLAGS" != Xfailed; then
51547 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51548 if test "$cross_compiling" = yes; then :
51549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51551 as_fn_error "cannot run test program while cross compiling
51552 See \`config.log' for more details." "$LINENO" 5; }
51553 else
51554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51555 /* end confdefs.h. */
51556 #include <pthread.h>
51557 __thread int a;
51558 static int *volatile a_in_other_thread;
51559 static void *
51560 thread_func (void *arg)
51562 a_in_other_thread = &a;
51563 return (void *)0;
51566 main ()
51568 pthread_t thread;
51569 void *thread_retval;
51570 int *volatile a_in_main_thread;
51571 a_in_main_thread = &a;
51572 if (pthread_create (&thread, (pthread_attr_t *)0,
51573 thread_func, (void *)0))
51574 return 0;
51575 if (pthread_join (thread, &thread_retval))
51576 return 0;
51577 return (a_in_other_thread == a_in_main_thread);
51579 return 0;
51581 _ACEOF
51582 if ac_fn_c_try_run "$LINENO"; then :
51583 gcc_cv_have_tls=yes
51584 else
51585 gcc_cv_have_tls=no
51587 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51588 conftest.$ac_objext conftest.beam conftest.$ac_ext
51591 CFLAGS="$chktls_save_CFLAGS"
51594 else
51595 gcc_cv_have_tls=no
51597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51598 conftest.$ac_objext conftest.beam conftest.$ac_ext
51602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51603 $as_echo "$gcc_cv_have_tls" >&6; }
51604 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51606 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51614 am_save_CPPFLAGS="$CPPFLAGS"
51616 for element in $INCICONV; do
51617 haveit=
51618 for x in $CPPFLAGS; do
51620 acl_save_prefix="$prefix"
51621 prefix="$acl_final_prefix"
51622 acl_save_exec_prefix="$exec_prefix"
51623 exec_prefix="$acl_final_exec_prefix"
51624 eval x=\"$x\"
51625 exec_prefix="$acl_save_exec_prefix"
51626 prefix="$acl_save_prefix"
51628 if test "X$x" = "X$element"; then
51629 haveit=yes
51630 break
51632 done
51633 if test -z "$haveit"; then
51634 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51636 done
51639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51640 $as_echo_n "checking for iconv... " >&6; }
51641 if test "${am_cv_func_iconv+set}" = set; then :
51642 $as_echo_n "(cached) " >&6
51643 else
51645 am_cv_func_iconv="no, consider installing GNU libiconv"
51646 am_cv_lib_iconv=no
51647 if test x$gcc_no_link = xyes; then
51648 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51651 /* end confdefs.h. */
51652 #include <stdlib.h>
51653 #include <iconv.h>
51655 main ()
51657 iconv_t cd = iconv_open("","");
51658 iconv(cd,NULL,NULL,NULL,NULL);
51659 iconv_close(cd);
51661 return 0;
51663 _ACEOF
51664 if ac_fn_c_try_link "$LINENO"; then :
51665 am_cv_func_iconv=yes
51667 rm -f core conftest.err conftest.$ac_objext \
51668 conftest$ac_exeext conftest.$ac_ext
51669 if test "$am_cv_func_iconv" != yes; then
51670 am_save_LIBS="$LIBS"
51671 LIBS="$LIBS $LIBICONV"
51672 if test x$gcc_no_link = xyes; then
51673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51676 /* end confdefs.h. */
51677 #include <stdlib.h>
51678 #include <iconv.h>
51680 main ()
51682 iconv_t cd = iconv_open("","");
51683 iconv(cd,NULL,NULL,NULL,NULL);
51684 iconv_close(cd);
51686 return 0;
51688 _ACEOF
51689 if ac_fn_c_try_link "$LINENO"; then :
51690 am_cv_lib_iconv=yes
51691 am_cv_func_iconv=yes
51693 rm -f core conftest.err conftest.$ac_objext \
51694 conftest$ac_exeext conftest.$ac_ext
51695 LIBS="$am_save_LIBS"
51699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51700 $as_echo "$am_cv_func_iconv" >&6; }
51701 if test "$am_cv_func_iconv" = yes; then
51703 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51706 if test "$am_cv_lib_iconv" = yes; then
51707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51708 $as_echo_n "checking how to link with libiconv... " >&6; }
51709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51710 $as_echo "$LIBICONV" >&6; }
51711 else
51712 CPPFLAGS="$am_save_CPPFLAGS"
51713 LIBICONV=
51714 LTLIBICONV=
51719 if test "$am_cv_func_iconv" = yes; then
51720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51721 $as_echo_n "checking for iconv declaration... " >&6; }
51722 if test "${am_cv_proto_iconv+set}" = set; then :
51723 $as_echo_n "(cached) " >&6
51724 else
51726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51727 /* end confdefs.h. */
51729 #include <stdlib.h>
51730 #include <iconv.h>
51731 extern
51732 #ifdef __cplusplus
51734 #endif
51735 #if defined(__STDC__) || defined(__cplusplus)
51736 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51737 #else
51738 size_t iconv();
51739 #endif
51742 main ()
51746 return 0;
51748 _ACEOF
51749 if ac_fn_c_try_compile "$LINENO"; then :
51750 am_cv_proto_iconv_arg1=""
51751 else
51752 am_cv_proto_iconv_arg1="const"
51754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51755 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);"
51758 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51760 }$am_cv_proto_iconv" >&5
51761 $as_echo "${ac_t:-
51762 }$am_cv_proto_iconv" >&6; }
51764 cat >>confdefs.h <<_ACEOF
51765 #define ICONV_CONST $am_cv_proto_iconv_arg1
51766 _ACEOF
51771 *-mingw32*)
51773 # If we're not using GNU ld, then there's no point in even trying these
51774 # tests. Check for that first. We should have already tested for gld
51775 # by now (in libtool), but require it now just to be safe...
51776 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51777 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51781 # The name set by libtool depends on the version of libtool. Shame on us
51782 # for depending on an impl detail, but c'est la vie. Older versions used
51783 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51784 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51785 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51786 # set (hence we're using an older libtool), then set it.
51787 if test x${with_gnu_ld+set} != xset; then
51788 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51789 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51790 with_gnu_ld=no
51791 else
51792 with_gnu_ld=$ac_cv_prog_gnu_ld
51796 # Start by getting the version number. I think the libtool test already
51797 # does some of this, but throws away the result.
51798 glibcxx_ld_is_gold=no
51799 if test x"$with_gnu_ld" = x"yes"; then
51800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51801 $as_echo_n "checking for ld version... " >&6; }
51803 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51804 glibcxx_ld_is_gold=yes
51806 ldver=`$LD --version 2>/dev/null |
51807 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'`
51809 glibcxx_gnu_ld_version=`echo $ldver | \
51810 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51812 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51815 # Set --gc-sections.
51816 glibcxx_have_gc_sections=no
51817 if test "$glibcxx_ld_is_gold" = "yes"; then
51818 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51819 glibcxx_have_gc_sections=yes
51821 else
51822 glibcxx_gcsections_min_ld=21602
51823 if test x"$with_gnu_ld" = x"yes" &&
51824 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51825 glibcxx_have_gc_sections=yes
51828 if test "$glibcxx_have_gc_sections" = "yes"; then
51829 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51830 # NB: This flag only works reliably after 2.16.1. Configure tests
51831 # for this are difficult, so hard wire a value that should work.
51833 ac_test_CFLAGS="${CFLAGS+set}"
51834 ac_save_CFLAGS="$CFLAGS"
51835 CFLAGS='-Wl,--gc-sections'
51837 # Check for -Wl,--gc-sections
51838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51839 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51840 if test x$gcc_no_link = xyes; then
51841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51844 /* end confdefs.h. */
51845 int one(void) { return 1; }
51846 int two(void) { return 2; }
51849 main ()
51851 two();
51853 return 0;
51855 _ACEOF
51856 if ac_fn_c_try_link "$LINENO"; then :
51857 ac_gcsections=yes
51858 else
51859 ac_gcsections=no
51861 rm -f core conftest.err conftest.$ac_objext \
51862 conftest$ac_exeext conftest.$ac_ext
51863 if test "$ac_gcsections" = "yes"; then
51864 rm -f conftest.c
51865 touch conftest.c
51866 if $CC -c conftest.c; then
51867 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51868 grep "Warning: gc-sections option ignored" > /dev/null; then
51869 ac_gcsections=no
51872 rm -f conftest.c conftest.o conftest
51874 if test "$ac_gcsections" = "yes"; then
51875 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51878 $as_echo "$ac_gcsections" >&6; }
51880 if test "$ac_test_CFLAGS" = set; then
51881 CFLAGS="$ac_save_CFLAGS"
51882 else
51883 # this is the suspicious part
51884 CFLAGS=''
51888 # Set -z,relro.
51889 # Note this is only for shared objects.
51890 ac_ld_relro=no
51891 if test x"$with_gnu_ld" = x"yes"; then
51892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51893 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51894 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51895 if test -n "$cxx_z_relo"; then
51896 OPT_LDFLAGS="-Wl,-z,relro"
51897 ac_ld_relro=yes
51899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51900 $as_echo "$ac_ld_relro" >&6; }
51903 # Set linker optimization flags.
51904 if test x"$with_gnu_ld" = x"yes"; then
51905 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51912 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51913 ac_save_CXXFLAGS="$CXXFLAGS"
51914 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51917 $as_echo_n "checking for sin in -lm... " >&6; }
51918 if test "${ac_cv_lib_m_sin+set}" = set; then :
51919 $as_echo_n "(cached) " >&6
51920 else
51921 ac_check_lib_save_LIBS=$LIBS
51922 LIBS="-lm $LIBS"
51923 if test x$gcc_no_link = xyes; then
51924 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51927 /* end confdefs.h. */
51929 /* Override any GCC internal prototype to avoid an error.
51930 Use char because int might match the return type of a GCC
51931 builtin and then its argument prototype would still apply. */
51932 #ifdef __cplusplus
51933 extern "C"
51934 #endif
51935 char sin ();
51937 main ()
51939 return sin ();
51941 return 0;
51943 _ACEOF
51944 if ac_fn_c_try_link "$LINENO"; then :
51945 ac_cv_lib_m_sin=yes
51946 else
51947 ac_cv_lib_m_sin=no
51949 rm -f core conftest.err conftest.$ac_objext \
51950 conftest$ac_exeext conftest.$ac_ext
51951 LIBS=$ac_check_lib_save_LIBS
51953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51954 $as_echo "$ac_cv_lib_m_sin" >&6; }
51955 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51956 libm="-lm"
51959 ac_save_LIBS="$LIBS"
51960 LIBS="$LIBS $libm"
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51965 $as_echo_n "checking for isinf declaration... " >&6; }
51966 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51967 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51968 $as_echo_n "(cached) " >&6
51969 else
51972 ac_ext=cpp
51973 ac_cpp='$CXXCPP $CPPFLAGS'
51974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51979 /* end confdefs.h. */
51980 #include <math.h>
51981 #ifdef HAVE_IEEEFP_H
51982 #include <ieeefp.h>
51983 #endif
51986 main ()
51988 isinf(0);
51990 return 0;
51992 _ACEOF
51993 if ac_fn_cxx_try_compile "$LINENO"; then :
51994 glibcxx_cv_func_isinf_use=yes
51995 else
51996 glibcxx_cv_func_isinf_use=no
51998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51999 ac_ext=c
52000 ac_cpp='$CPP $CPPFLAGS'
52001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52010 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52012 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52013 for ac_func in isinf
52014 do :
52015 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52016 if test "x$ac_cv_func_isinf" = x""yes; then :
52017 cat >>confdefs.h <<_ACEOF
52018 #define HAVE_ISINF 1
52019 _ACEOF
52022 done
52024 else
52026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52027 $as_echo_n "checking for _isinf declaration... " >&6; }
52028 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52029 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52030 $as_echo_n "(cached) " >&6
52031 else
52034 ac_ext=cpp
52035 ac_cpp='$CXXCPP $CPPFLAGS'
52036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52041 /* end confdefs.h. */
52042 #include <math.h>
52043 #ifdef HAVE_IEEEFP_H
52044 #include <ieeefp.h>
52045 #endif
52048 main ()
52050 _isinf(0);
52052 return 0;
52054 _ACEOF
52055 if ac_fn_cxx_try_compile "$LINENO"; then :
52056 glibcxx_cv_func__isinf_use=yes
52057 else
52058 glibcxx_cv_func__isinf_use=no
52060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52061 ac_ext=c
52062 ac_cpp='$CPP $CPPFLAGS'
52063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52072 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52074 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52075 for ac_func in _isinf
52076 do :
52077 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52078 if test "x$ac_cv_func__isinf" = x""yes; then :
52079 cat >>confdefs.h <<_ACEOF
52080 #define HAVE__ISINF 1
52081 _ACEOF
52084 done
52093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52094 $as_echo_n "checking for isnan declaration... " >&6; }
52095 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52096 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52097 $as_echo_n "(cached) " >&6
52098 else
52101 ac_ext=cpp
52102 ac_cpp='$CXXCPP $CPPFLAGS'
52103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52108 /* end confdefs.h. */
52109 #include <math.h>
52110 #ifdef HAVE_IEEEFP_H
52111 #include <ieeefp.h>
52112 #endif
52115 main ()
52117 isnan(0);
52119 return 0;
52121 _ACEOF
52122 if ac_fn_cxx_try_compile "$LINENO"; then :
52123 glibcxx_cv_func_isnan_use=yes
52124 else
52125 glibcxx_cv_func_isnan_use=no
52127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52128 ac_ext=c
52129 ac_cpp='$CPP $CPPFLAGS'
52130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52139 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52141 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52142 for ac_func in isnan
52143 do :
52144 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52145 if test "x$ac_cv_func_isnan" = x""yes; then :
52146 cat >>confdefs.h <<_ACEOF
52147 #define HAVE_ISNAN 1
52148 _ACEOF
52151 done
52153 else
52155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52156 $as_echo_n "checking for _isnan declaration... " >&6; }
52157 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52158 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52159 $as_echo_n "(cached) " >&6
52160 else
52163 ac_ext=cpp
52164 ac_cpp='$CXXCPP $CPPFLAGS'
52165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52170 /* end confdefs.h. */
52171 #include <math.h>
52172 #ifdef HAVE_IEEEFP_H
52173 #include <ieeefp.h>
52174 #endif
52177 main ()
52179 _isnan(0);
52181 return 0;
52183 _ACEOF
52184 if ac_fn_cxx_try_compile "$LINENO"; then :
52185 glibcxx_cv_func__isnan_use=yes
52186 else
52187 glibcxx_cv_func__isnan_use=no
52189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52190 ac_ext=c
52191 ac_cpp='$CPP $CPPFLAGS'
52192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52201 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52203 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52204 for ac_func in _isnan
52205 do :
52206 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52207 if test "x$ac_cv_func__isnan" = x""yes; then :
52208 cat >>confdefs.h <<_ACEOF
52209 #define HAVE__ISNAN 1
52210 _ACEOF
52213 done
52222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52223 $as_echo_n "checking for finite declaration... " >&6; }
52224 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52225 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52226 $as_echo_n "(cached) " >&6
52227 else
52230 ac_ext=cpp
52231 ac_cpp='$CXXCPP $CPPFLAGS'
52232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52237 /* end confdefs.h. */
52238 #include <math.h>
52239 #ifdef HAVE_IEEEFP_H
52240 #include <ieeefp.h>
52241 #endif
52244 main ()
52246 finite(0);
52248 return 0;
52250 _ACEOF
52251 if ac_fn_cxx_try_compile "$LINENO"; then :
52252 glibcxx_cv_func_finite_use=yes
52253 else
52254 glibcxx_cv_func_finite_use=no
52256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52257 ac_ext=c
52258 ac_cpp='$CPP $CPPFLAGS'
52259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52268 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52270 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52271 for ac_func in finite
52272 do :
52273 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52274 if test "x$ac_cv_func_finite" = x""yes; then :
52275 cat >>confdefs.h <<_ACEOF
52276 #define HAVE_FINITE 1
52277 _ACEOF
52280 done
52282 else
52284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52285 $as_echo_n "checking for _finite declaration... " >&6; }
52286 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52287 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52288 $as_echo_n "(cached) " >&6
52289 else
52292 ac_ext=cpp
52293 ac_cpp='$CXXCPP $CPPFLAGS'
52294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52299 /* end confdefs.h. */
52300 #include <math.h>
52301 #ifdef HAVE_IEEEFP_H
52302 #include <ieeefp.h>
52303 #endif
52306 main ()
52308 _finite(0);
52310 return 0;
52312 _ACEOF
52313 if ac_fn_cxx_try_compile "$LINENO"; then :
52314 glibcxx_cv_func__finite_use=yes
52315 else
52316 glibcxx_cv_func__finite_use=no
52318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52319 ac_ext=c
52320 ac_cpp='$CPP $CPPFLAGS'
52321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52330 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52332 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52333 for ac_func in _finite
52334 do :
52335 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52336 if test "x$ac_cv_func__finite" = x""yes; then :
52337 cat >>confdefs.h <<_ACEOF
52338 #define HAVE__FINITE 1
52339 _ACEOF
52342 done
52351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52352 $as_echo_n "checking for sincos declaration... " >&6; }
52353 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52354 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52355 $as_echo_n "(cached) " >&6
52356 else
52359 ac_ext=cpp
52360 ac_cpp='$CXXCPP $CPPFLAGS'
52361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52366 /* end confdefs.h. */
52367 #include <math.h>
52369 main ()
52371 sincos(0, 0, 0);
52373 return 0;
52375 _ACEOF
52376 if ac_fn_cxx_try_compile "$LINENO"; then :
52377 glibcxx_cv_func_sincos_use=yes
52378 else
52379 glibcxx_cv_func_sincos_use=no
52381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52382 ac_ext=c
52383 ac_cpp='$CPP $CPPFLAGS'
52384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52393 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52395 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52396 for ac_func in sincos
52397 do :
52398 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52399 if test "x$ac_cv_func_sincos" = x""yes; then :
52400 cat >>confdefs.h <<_ACEOF
52401 #define HAVE_SINCOS 1
52402 _ACEOF
52405 done
52407 else
52409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52410 $as_echo_n "checking for _sincos declaration... " >&6; }
52411 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52412 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52413 $as_echo_n "(cached) " >&6
52414 else
52417 ac_ext=cpp
52418 ac_cpp='$CXXCPP $CPPFLAGS'
52419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52424 /* end confdefs.h. */
52425 #include <math.h>
52427 main ()
52429 _sincos(0, 0, 0);
52431 return 0;
52433 _ACEOF
52434 if ac_fn_cxx_try_compile "$LINENO"; then :
52435 glibcxx_cv_func__sincos_use=yes
52436 else
52437 glibcxx_cv_func__sincos_use=no
52439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52440 ac_ext=c
52441 ac_cpp='$CPP $CPPFLAGS'
52442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52451 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52453 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52454 for ac_func in _sincos
52455 do :
52456 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52457 if test "x$ac_cv_func__sincos" = x""yes; then :
52458 cat >>confdefs.h <<_ACEOF
52459 #define HAVE__SINCOS 1
52460 _ACEOF
52463 done
52472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52473 $as_echo_n "checking for fpclass declaration... " >&6; }
52474 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52475 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52476 $as_echo_n "(cached) " >&6
52477 else
52480 ac_ext=cpp
52481 ac_cpp='$CXXCPP $CPPFLAGS'
52482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52487 /* end confdefs.h. */
52488 #include <math.h>
52489 #ifdef HAVE_IEEEFP_H
52490 #include <ieeefp.h>
52491 #endif
52494 main ()
52496 fpclass(0);
52498 return 0;
52500 _ACEOF
52501 if ac_fn_cxx_try_compile "$LINENO"; then :
52502 glibcxx_cv_func_fpclass_use=yes
52503 else
52504 glibcxx_cv_func_fpclass_use=no
52506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52507 ac_ext=c
52508 ac_cpp='$CPP $CPPFLAGS'
52509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52518 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52520 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52521 for ac_func in fpclass
52522 do :
52523 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52524 if test "x$ac_cv_func_fpclass" = x""yes; then :
52525 cat >>confdefs.h <<_ACEOF
52526 #define HAVE_FPCLASS 1
52527 _ACEOF
52530 done
52532 else
52534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52535 $as_echo_n "checking for _fpclass declaration... " >&6; }
52536 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52537 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52538 $as_echo_n "(cached) " >&6
52539 else
52542 ac_ext=cpp
52543 ac_cpp='$CXXCPP $CPPFLAGS'
52544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52549 /* end confdefs.h. */
52550 #include <math.h>
52551 #ifdef HAVE_IEEEFP_H
52552 #include <ieeefp.h>
52553 #endif
52556 main ()
52558 _fpclass(0);
52560 return 0;
52562 _ACEOF
52563 if ac_fn_cxx_try_compile "$LINENO"; then :
52564 glibcxx_cv_func__fpclass_use=yes
52565 else
52566 glibcxx_cv_func__fpclass_use=no
52568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52569 ac_ext=c
52570 ac_cpp='$CPP $CPPFLAGS'
52571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52580 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52582 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52583 for ac_func in _fpclass
52584 do :
52585 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52586 if test "x$ac_cv_func__fpclass" = x""yes; then :
52587 cat >>confdefs.h <<_ACEOF
52588 #define HAVE__FPCLASS 1
52589 _ACEOF
52592 done
52601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52602 $as_echo_n "checking for qfpclass declaration... " >&6; }
52603 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52604 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52605 $as_echo_n "(cached) " >&6
52606 else
52609 ac_ext=cpp
52610 ac_cpp='$CXXCPP $CPPFLAGS'
52611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52616 /* end confdefs.h. */
52617 #include <math.h>
52618 #ifdef HAVE_IEEEFP_H
52619 #include <ieeefp.h>
52620 #endif
52623 main ()
52625 qfpclass(0);
52627 return 0;
52629 _ACEOF
52630 if ac_fn_cxx_try_compile "$LINENO"; then :
52631 glibcxx_cv_func_qfpclass_use=yes
52632 else
52633 glibcxx_cv_func_qfpclass_use=no
52635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52636 ac_ext=c
52637 ac_cpp='$CPP $CPPFLAGS'
52638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52647 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52649 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52650 for ac_func in qfpclass
52651 do :
52652 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52653 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52654 cat >>confdefs.h <<_ACEOF
52655 #define HAVE_QFPCLASS 1
52656 _ACEOF
52659 done
52661 else
52663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52664 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52665 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52666 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52667 $as_echo_n "(cached) " >&6
52668 else
52671 ac_ext=cpp
52672 ac_cpp='$CXXCPP $CPPFLAGS'
52673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52678 /* end confdefs.h. */
52679 #include <math.h>
52680 #ifdef HAVE_IEEEFP_H
52681 #include <ieeefp.h>
52682 #endif
52685 main ()
52687 _qfpclass(0);
52689 return 0;
52691 _ACEOF
52692 if ac_fn_cxx_try_compile "$LINENO"; then :
52693 glibcxx_cv_func__qfpclass_use=yes
52694 else
52695 glibcxx_cv_func__qfpclass_use=no
52697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52698 ac_ext=c
52699 ac_cpp='$CPP $CPPFLAGS'
52700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52709 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52711 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52712 for ac_func in _qfpclass
52713 do :
52714 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52715 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52716 cat >>confdefs.h <<_ACEOF
52717 #define HAVE__QFPCLASS 1
52718 _ACEOF
52721 done
52730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52731 $as_echo_n "checking for hypot declaration... " >&6; }
52732 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52733 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52734 $as_echo_n "(cached) " >&6
52735 else
52738 ac_ext=cpp
52739 ac_cpp='$CXXCPP $CPPFLAGS'
52740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52745 /* end confdefs.h. */
52746 #include <math.h>
52748 main ()
52750 hypot(0, 0);
52752 return 0;
52754 _ACEOF
52755 if ac_fn_cxx_try_compile "$LINENO"; then :
52756 glibcxx_cv_func_hypot_use=yes
52757 else
52758 glibcxx_cv_func_hypot_use=no
52760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52761 ac_ext=c
52762 ac_cpp='$CPP $CPPFLAGS'
52763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52772 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52774 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52775 for ac_func in hypot
52776 do :
52777 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52778 if test "x$ac_cv_func_hypot" = x""yes; then :
52779 cat >>confdefs.h <<_ACEOF
52780 #define HAVE_HYPOT 1
52781 _ACEOF
52784 done
52786 else
52788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52789 $as_echo_n "checking for _hypot declaration... " >&6; }
52790 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52791 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52792 $as_echo_n "(cached) " >&6
52793 else
52796 ac_ext=cpp
52797 ac_cpp='$CXXCPP $CPPFLAGS'
52798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52803 /* end confdefs.h. */
52804 #include <math.h>
52806 main ()
52808 _hypot(0, 0);
52810 return 0;
52812 _ACEOF
52813 if ac_fn_cxx_try_compile "$LINENO"; then :
52814 glibcxx_cv_func__hypot_use=yes
52815 else
52816 glibcxx_cv_func__hypot_use=no
52818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52819 ac_ext=c
52820 ac_cpp='$CPP $CPPFLAGS'
52821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52830 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52832 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52833 for ac_func in _hypot
52834 do :
52835 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52836 if test "x$ac_cv_func__hypot" = x""yes; then :
52837 cat >>confdefs.h <<_ACEOF
52838 #define HAVE__HYPOT 1
52839 _ACEOF
52842 done
52851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52852 $as_echo_n "checking for float trig functions... " >&6; }
52853 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52854 $as_echo_n "(cached) " >&6
52855 else
52858 ac_ext=cpp
52859 ac_cpp='$CXXCPP $CPPFLAGS'
52860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52865 /* end confdefs.h. */
52866 #include <math.h>
52868 main ()
52870 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52872 return 0;
52874 _ACEOF
52875 if ac_fn_cxx_try_compile "$LINENO"; then :
52876 glibcxx_cv_func_float_trig_use=yes
52877 else
52878 glibcxx_cv_func_float_trig_use=no
52880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52881 ac_ext=c
52882 ac_cpp='$CPP $CPPFLAGS'
52883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52890 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52891 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52892 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52893 do :
52894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52896 eval as_val=\$$as_ac_var
52897 if test "x$as_val" = x""yes; then :
52898 cat >>confdefs.h <<_ACEOF
52899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52900 _ACEOF
52903 done
52905 else
52906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52907 $as_echo_n "checking for _float trig functions... " >&6; }
52908 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52909 $as_echo_n "(cached) " >&6
52910 else
52913 ac_ext=cpp
52914 ac_cpp='$CXXCPP $CPPFLAGS'
52915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52920 /* end confdefs.h. */
52921 #include <math.h>
52923 main ()
52925 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52927 return 0;
52929 _ACEOF
52930 if ac_fn_cxx_try_compile "$LINENO"; then :
52931 glibcxx_cv_func__float_trig_use=yes
52932 else
52933 glibcxx_cv_func__float_trig_use=no
52935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52936 ac_ext=c
52937 ac_cpp='$CPP $CPPFLAGS'
52938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52945 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52946 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52947 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52948 do :
52949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52951 eval as_val=\$$as_ac_var
52952 if test "x$as_val" = x""yes; then :
52953 cat >>confdefs.h <<_ACEOF
52954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52955 _ACEOF
52958 done
52967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52968 $as_echo_n "checking for float round functions... " >&6; }
52969 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52970 $as_echo_n "(cached) " >&6
52971 else
52974 ac_ext=cpp
52975 ac_cpp='$CXXCPP $CPPFLAGS'
52976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52981 /* end confdefs.h. */
52982 #include <math.h>
52984 main ()
52986 ceilf (0); floorf (0);
52988 return 0;
52990 _ACEOF
52991 if ac_fn_cxx_try_compile "$LINENO"; then :
52992 glibcxx_cv_func_float_round_use=yes
52993 else
52994 glibcxx_cv_func_float_round_use=no
52996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52997 ac_ext=c
52998 ac_cpp='$CPP $CPPFLAGS'
52999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53006 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53007 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53008 for ac_func in ceilf floorf
53009 do :
53010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53012 eval as_val=\$$as_ac_var
53013 if test "x$as_val" = x""yes; then :
53014 cat >>confdefs.h <<_ACEOF
53015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53016 _ACEOF
53019 done
53021 else
53022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53023 $as_echo_n "checking for _float round functions... " >&6; }
53024 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53025 $as_echo_n "(cached) " >&6
53026 else
53029 ac_ext=cpp
53030 ac_cpp='$CXXCPP $CPPFLAGS'
53031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53036 /* end confdefs.h. */
53037 #include <math.h>
53039 main ()
53041 _ceilf (0); _floorf (0);
53043 return 0;
53045 _ACEOF
53046 if ac_fn_cxx_try_compile "$LINENO"; then :
53047 glibcxx_cv_func__float_round_use=yes
53048 else
53049 glibcxx_cv_func__float_round_use=no
53051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53052 ac_ext=c
53053 ac_cpp='$CPP $CPPFLAGS'
53054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53061 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53062 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53063 for ac_func in _ceilf _floorf
53064 do :
53065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53067 eval as_val=\$$as_ac_var
53068 if test "x$as_val" = x""yes; then :
53069 cat >>confdefs.h <<_ACEOF
53070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53071 _ACEOF
53074 done
53084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53085 $as_echo_n "checking for expf declaration... " >&6; }
53086 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53087 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53088 $as_echo_n "(cached) " >&6
53089 else
53092 ac_ext=cpp
53093 ac_cpp='$CXXCPP $CPPFLAGS'
53094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53099 /* end confdefs.h. */
53100 #include <math.h>
53101 #ifdef HAVE_IEEEFP_H
53102 #include <ieeefp.h>
53103 #endif
53106 main ()
53108 expf(0);
53110 return 0;
53112 _ACEOF
53113 if ac_fn_cxx_try_compile "$LINENO"; then :
53114 glibcxx_cv_func_expf_use=yes
53115 else
53116 glibcxx_cv_func_expf_use=no
53118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53119 ac_ext=c
53120 ac_cpp='$CPP $CPPFLAGS'
53121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53130 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53132 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53133 for ac_func in expf
53134 do :
53135 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53136 if test "x$ac_cv_func_expf" = x""yes; then :
53137 cat >>confdefs.h <<_ACEOF
53138 #define HAVE_EXPF 1
53139 _ACEOF
53142 done
53144 else
53146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53147 $as_echo_n "checking for _expf declaration... " >&6; }
53148 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53149 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53150 $as_echo_n "(cached) " >&6
53151 else
53154 ac_ext=cpp
53155 ac_cpp='$CXXCPP $CPPFLAGS'
53156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53161 /* end confdefs.h. */
53162 #include <math.h>
53163 #ifdef HAVE_IEEEFP_H
53164 #include <ieeefp.h>
53165 #endif
53168 main ()
53170 _expf(0);
53172 return 0;
53174 _ACEOF
53175 if ac_fn_cxx_try_compile "$LINENO"; then :
53176 glibcxx_cv_func__expf_use=yes
53177 else
53178 glibcxx_cv_func__expf_use=no
53180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53181 ac_ext=c
53182 ac_cpp='$CPP $CPPFLAGS'
53183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53192 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53194 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53195 for ac_func in _expf
53196 do :
53197 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53198 if test "x$ac_cv_func__expf" = x""yes; then :
53199 cat >>confdefs.h <<_ACEOF
53200 #define HAVE__EXPF 1
53201 _ACEOF
53204 done
53213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53214 $as_echo_n "checking for isnanf declaration... " >&6; }
53215 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53216 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53217 $as_echo_n "(cached) " >&6
53218 else
53221 ac_ext=cpp
53222 ac_cpp='$CXXCPP $CPPFLAGS'
53223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53228 /* end confdefs.h. */
53229 #include <math.h>
53230 #ifdef HAVE_IEEEFP_H
53231 #include <ieeefp.h>
53232 #endif
53235 main ()
53237 isnanf(0);
53239 return 0;
53241 _ACEOF
53242 if ac_fn_cxx_try_compile "$LINENO"; then :
53243 glibcxx_cv_func_isnanf_use=yes
53244 else
53245 glibcxx_cv_func_isnanf_use=no
53247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53248 ac_ext=c
53249 ac_cpp='$CPP $CPPFLAGS'
53250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53259 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53261 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53262 for ac_func in isnanf
53263 do :
53264 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53265 if test "x$ac_cv_func_isnanf" = x""yes; then :
53266 cat >>confdefs.h <<_ACEOF
53267 #define HAVE_ISNANF 1
53268 _ACEOF
53271 done
53273 else
53275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53276 $as_echo_n "checking for _isnanf declaration... " >&6; }
53277 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53278 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53279 $as_echo_n "(cached) " >&6
53280 else
53283 ac_ext=cpp
53284 ac_cpp='$CXXCPP $CPPFLAGS'
53285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53290 /* end confdefs.h. */
53291 #include <math.h>
53292 #ifdef HAVE_IEEEFP_H
53293 #include <ieeefp.h>
53294 #endif
53297 main ()
53299 _isnanf(0);
53301 return 0;
53303 _ACEOF
53304 if ac_fn_cxx_try_compile "$LINENO"; then :
53305 glibcxx_cv_func__isnanf_use=yes
53306 else
53307 glibcxx_cv_func__isnanf_use=no
53309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53310 ac_ext=c
53311 ac_cpp='$CPP $CPPFLAGS'
53312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53321 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53323 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53324 for ac_func in _isnanf
53325 do :
53326 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53327 if test "x$ac_cv_func__isnanf" = x""yes; then :
53328 cat >>confdefs.h <<_ACEOF
53329 #define HAVE__ISNANF 1
53330 _ACEOF
53333 done
53342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53343 $as_echo_n "checking for isinff declaration... " >&6; }
53344 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53345 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53346 $as_echo_n "(cached) " >&6
53347 else
53350 ac_ext=cpp
53351 ac_cpp='$CXXCPP $CPPFLAGS'
53352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53357 /* end confdefs.h. */
53358 #include <math.h>
53359 #ifdef HAVE_IEEEFP_H
53360 #include <ieeefp.h>
53361 #endif
53364 main ()
53366 isinff(0);
53368 return 0;
53370 _ACEOF
53371 if ac_fn_cxx_try_compile "$LINENO"; then :
53372 glibcxx_cv_func_isinff_use=yes
53373 else
53374 glibcxx_cv_func_isinff_use=no
53376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53377 ac_ext=c
53378 ac_cpp='$CPP $CPPFLAGS'
53379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53388 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53390 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53391 for ac_func in isinff
53392 do :
53393 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53394 if test "x$ac_cv_func_isinff" = x""yes; then :
53395 cat >>confdefs.h <<_ACEOF
53396 #define HAVE_ISINFF 1
53397 _ACEOF
53400 done
53402 else
53404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53405 $as_echo_n "checking for _isinff declaration... " >&6; }
53406 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53407 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53408 $as_echo_n "(cached) " >&6
53409 else
53412 ac_ext=cpp
53413 ac_cpp='$CXXCPP $CPPFLAGS'
53414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53419 /* end confdefs.h. */
53420 #include <math.h>
53421 #ifdef HAVE_IEEEFP_H
53422 #include <ieeefp.h>
53423 #endif
53426 main ()
53428 _isinff(0);
53430 return 0;
53432 _ACEOF
53433 if ac_fn_cxx_try_compile "$LINENO"; then :
53434 glibcxx_cv_func__isinff_use=yes
53435 else
53436 glibcxx_cv_func__isinff_use=no
53438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53439 ac_ext=c
53440 ac_cpp='$CPP $CPPFLAGS'
53441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53450 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53452 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53453 for ac_func in _isinff
53454 do :
53455 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53456 if test "x$ac_cv_func__isinff" = x""yes; then :
53457 cat >>confdefs.h <<_ACEOF
53458 #define HAVE__ISINFF 1
53459 _ACEOF
53462 done
53471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53472 $as_echo_n "checking for atan2f declaration... " >&6; }
53473 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53474 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53475 $as_echo_n "(cached) " >&6
53476 else
53479 ac_ext=cpp
53480 ac_cpp='$CXXCPP $CPPFLAGS'
53481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53486 /* end confdefs.h. */
53487 #include <math.h>
53489 main ()
53491 atan2f(0, 0);
53493 return 0;
53495 _ACEOF
53496 if ac_fn_cxx_try_compile "$LINENO"; then :
53497 glibcxx_cv_func_atan2f_use=yes
53498 else
53499 glibcxx_cv_func_atan2f_use=no
53501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53502 ac_ext=c
53503 ac_cpp='$CPP $CPPFLAGS'
53504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53513 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53515 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53516 for ac_func in atan2f
53517 do :
53518 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53519 if test "x$ac_cv_func_atan2f" = x""yes; then :
53520 cat >>confdefs.h <<_ACEOF
53521 #define HAVE_ATAN2F 1
53522 _ACEOF
53525 done
53527 else
53529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53530 $as_echo_n "checking for _atan2f declaration... " >&6; }
53531 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53532 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53533 $as_echo_n "(cached) " >&6
53534 else
53537 ac_ext=cpp
53538 ac_cpp='$CXXCPP $CPPFLAGS'
53539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53544 /* end confdefs.h. */
53545 #include <math.h>
53547 main ()
53549 _atan2f(0, 0);
53551 return 0;
53553 _ACEOF
53554 if ac_fn_cxx_try_compile "$LINENO"; then :
53555 glibcxx_cv_func__atan2f_use=yes
53556 else
53557 glibcxx_cv_func__atan2f_use=no
53559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53560 ac_ext=c
53561 ac_cpp='$CPP $CPPFLAGS'
53562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53571 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53573 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53574 for ac_func in _atan2f
53575 do :
53576 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53577 if test "x$ac_cv_func__atan2f" = x""yes; then :
53578 cat >>confdefs.h <<_ACEOF
53579 #define HAVE__ATAN2F 1
53580 _ACEOF
53583 done
53592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53593 $as_echo_n "checking for fabsf declaration... " >&6; }
53594 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53595 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53596 $as_echo_n "(cached) " >&6
53597 else
53600 ac_ext=cpp
53601 ac_cpp='$CXXCPP $CPPFLAGS'
53602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53607 /* end confdefs.h. */
53608 #include <math.h>
53609 #ifdef HAVE_IEEEFP_H
53610 #include <ieeefp.h>
53611 #endif
53614 main ()
53616 fabsf(0);
53618 return 0;
53620 _ACEOF
53621 if ac_fn_cxx_try_compile "$LINENO"; then :
53622 glibcxx_cv_func_fabsf_use=yes
53623 else
53624 glibcxx_cv_func_fabsf_use=no
53626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53627 ac_ext=c
53628 ac_cpp='$CPP $CPPFLAGS'
53629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53638 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53640 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53641 for ac_func in fabsf
53642 do :
53643 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53644 if test "x$ac_cv_func_fabsf" = x""yes; then :
53645 cat >>confdefs.h <<_ACEOF
53646 #define HAVE_FABSF 1
53647 _ACEOF
53650 done
53652 else
53654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53655 $as_echo_n "checking for _fabsf declaration... " >&6; }
53656 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53657 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53658 $as_echo_n "(cached) " >&6
53659 else
53662 ac_ext=cpp
53663 ac_cpp='$CXXCPP $CPPFLAGS'
53664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53669 /* end confdefs.h. */
53670 #include <math.h>
53671 #ifdef HAVE_IEEEFP_H
53672 #include <ieeefp.h>
53673 #endif
53676 main ()
53678 _fabsf(0);
53680 return 0;
53682 _ACEOF
53683 if ac_fn_cxx_try_compile "$LINENO"; then :
53684 glibcxx_cv_func__fabsf_use=yes
53685 else
53686 glibcxx_cv_func__fabsf_use=no
53688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53689 ac_ext=c
53690 ac_cpp='$CPP $CPPFLAGS'
53691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53700 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53702 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53703 for ac_func in _fabsf
53704 do :
53705 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53706 if test "x$ac_cv_func__fabsf" = x""yes; then :
53707 cat >>confdefs.h <<_ACEOF
53708 #define HAVE__FABSF 1
53709 _ACEOF
53712 done
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53722 $as_echo_n "checking for fmodf declaration... " >&6; }
53723 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53724 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53725 $as_echo_n "(cached) " >&6
53726 else
53729 ac_ext=cpp
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53736 /* end confdefs.h. */
53737 #include <math.h>
53739 main ()
53741 fmodf(0, 0);
53743 return 0;
53745 _ACEOF
53746 if ac_fn_cxx_try_compile "$LINENO"; then :
53747 glibcxx_cv_func_fmodf_use=yes
53748 else
53749 glibcxx_cv_func_fmodf_use=no
53751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53752 ac_ext=c
53753 ac_cpp='$CPP $CPPFLAGS'
53754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53763 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53765 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53766 for ac_func in fmodf
53767 do :
53768 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53769 if test "x$ac_cv_func_fmodf" = x""yes; then :
53770 cat >>confdefs.h <<_ACEOF
53771 #define HAVE_FMODF 1
53772 _ACEOF
53775 done
53777 else
53779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53780 $as_echo_n "checking for _fmodf declaration... " >&6; }
53781 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53782 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53783 $as_echo_n "(cached) " >&6
53784 else
53787 ac_ext=cpp
53788 ac_cpp='$CXXCPP $CPPFLAGS'
53789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53794 /* end confdefs.h. */
53795 #include <math.h>
53797 main ()
53799 _fmodf(0, 0);
53801 return 0;
53803 _ACEOF
53804 if ac_fn_cxx_try_compile "$LINENO"; then :
53805 glibcxx_cv_func__fmodf_use=yes
53806 else
53807 glibcxx_cv_func__fmodf_use=no
53809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53810 ac_ext=c
53811 ac_cpp='$CPP $CPPFLAGS'
53812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53821 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53823 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53824 for ac_func in _fmodf
53825 do :
53826 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53827 if test "x$ac_cv_func__fmodf" = x""yes; then :
53828 cat >>confdefs.h <<_ACEOF
53829 #define HAVE__FMODF 1
53830 _ACEOF
53833 done
53842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53843 $as_echo_n "checking for frexpf declaration... " >&6; }
53844 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53845 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53846 $as_echo_n "(cached) " >&6
53847 else
53850 ac_ext=cpp
53851 ac_cpp='$CXXCPP $CPPFLAGS'
53852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53857 /* end confdefs.h. */
53858 #include <math.h>
53860 main ()
53862 frexpf(0, 0);
53864 return 0;
53866 _ACEOF
53867 if ac_fn_cxx_try_compile "$LINENO"; then :
53868 glibcxx_cv_func_frexpf_use=yes
53869 else
53870 glibcxx_cv_func_frexpf_use=no
53872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53873 ac_ext=c
53874 ac_cpp='$CPP $CPPFLAGS'
53875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53884 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53886 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53887 for ac_func in frexpf
53888 do :
53889 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53890 if test "x$ac_cv_func_frexpf" = x""yes; then :
53891 cat >>confdefs.h <<_ACEOF
53892 #define HAVE_FREXPF 1
53893 _ACEOF
53896 done
53898 else
53900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53901 $as_echo_n "checking for _frexpf declaration... " >&6; }
53902 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53903 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53904 $as_echo_n "(cached) " >&6
53905 else
53908 ac_ext=cpp
53909 ac_cpp='$CXXCPP $CPPFLAGS'
53910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53915 /* end confdefs.h. */
53916 #include <math.h>
53918 main ()
53920 _frexpf(0, 0);
53922 return 0;
53924 _ACEOF
53925 if ac_fn_cxx_try_compile "$LINENO"; then :
53926 glibcxx_cv_func__frexpf_use=yes
53927 else
53928 glibcxx_cv_func__frexpf_use=no
53930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53931 ac_ext=c
53932 ac_cpp='$CPP $CPPFLAGS'
53933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53942 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53944 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53945 for ac_func in _frexpf
53946 do :
53947 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53948 if test "x$ac_cv_func__frexpf" = x""yes; then :
53949 cat >>confdefs.h <<_ACEOF
53950 #define HAVE__FREXPF 1
53951 _ACEOF
53954 done
53963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53964 $as_echo_n "checking for hypotf declaration... " >&6; }
53965 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53966 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53967 $as_echo_n "(cached) " >&6
53968 else
53971 ac_ext=cpp
53972 ac_cpp='$CXXCPP $CPPFLAGS'
53973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53978 /* end confdefs.h. */
53979 #include <math.h>
53981 main ()
53983 hypotf(0, 0);
53985 return 0;
53987 _ACEOF
53988 if ac_fn_cxx_try_compile "$LINENO"; then :
53989 glibcxx_cv_func_hypotf_use=yes
53990 else
53991 glibcxx_cv_func_hypotf_use=no
53993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53994 ac_ext=c
53995 ac_cpp='$CPP $CPPFLAGS'
53996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54005 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54007 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54008 for ac_func in hypotf
54009 do :
54010 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54011 if test "x$ac_cv_func_hypotf" = x""yes; then :
54012 cat >>confdefs.h <<_ACEOF
54013 #define HAVE_HYPOTF 1
54014 _ACEOF
54017 done
54019 else
54021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54022 $as_echo_n "checking for _hypotf declaration... " >&6; }
54023 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54024 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54025 $as_echo_n "(cached) " >&6
54026 else
54029 ac_ext=cpp
54030 ac_cpp='$CXXCPP $CPPFLAGS'
54031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54036 /* end confdefs.h. */
54037 #include <math.h>
54039 main ()
54041 _hypotf(0, 0);
54043 return 0;
54045 _ACEOF
54046 if ac_fn_cxx_try_compile "$LINENO"; then :
54047 glibcxx_cv_func__hypotf_use=yes
54048 else
54049 glibcxx_cv_func__hypotf_use=no
54051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54052 ac_ext=c
54053 ac_cpp='$CPP $CPPFLAGS'
54054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54063 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54065 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54066 for ac_func in _hypotf
54067 do :
54068 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54069 if test "x$ac_cv_func__hypotf" = x""yes; then :
54070 cat >>confdefs.h <<_ACEOF
54071 #define HAVE__HYPOTF 1
54072 _ACEOF
54075 done
54084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54085 $as_echo_n "checking for ldexpf declaration... " >&6; }
54086 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54087 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54088 $as_echo_n "(cached) " >&6
54089 else
54092 ac_ext=cpp
54093 ac_cpp='$CXXCPP $CPPFLAGS'
54094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54099 /* end confdefs.h. */
54100 #include <math.h>
54102 main ()
54104 ldexpf(0, 0);
54106 return 0;
54108 _ACEOF
54109 if ac_fn_cxx_try_compile "$LINENO"; then :
54110 glibcxx_cv_func_ldexpf_use=yes
54111 else
54112 glibcxx_cv_func_ldexpf_use=no
54114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54115 ac_ext=c
54116 ac_cpp='$CPP $CPPFLAGS'
54117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54126 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54128 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54129 for ac_func in ldexpf
54130 do :
54131 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54132 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54133 cat >>confdefs.h <<_ACEOF
54134 #define HAVE_LDEXPF 1
54135 _ACEOF
54138 done
54140 else
54142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54143 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54144 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54145 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54146 $as_echo_n "(cached) " >&6
54147 else
54150 ac_ext=cpp
54151 ac_cpp='$CXXCPP $CPPFLAGS'
54152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54157 /* end confdefs.h. */
54158 #include <math.h>
54160 main ()
54162 _ldexpf(0, 0);
54164 return 0;
54166 _ACEOF
54167 if ac_fn_cxx_try_compile "$LINENO"; then :
54168 glibcxx_cv_func__ldexpf_use=yes
54169 else
54170 glibcxx_cv_func__ldexpf_use=no
54172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54173 ac_ext=c
54174 ac_cpp='$CPP $CPPFLAGS'
54175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54184 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54186 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54187 for ac_func in _ldexpf
54188 do :
54189 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54190 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54191 cat >>confdefs.h <<_ACEOF
54192 #define HAVE__LDEXPF 1
54193 _ACEOF
54196 done
54205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54206 $as_echo_n "checking for logf declaration... " >&6; }
54207 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54208 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54209 $as_echo_n "(cached) " >&6
54210 else
54213 ac_ext=cpp
54214 ac_cpp='$CXXCPP $CPPFLAGS'
54215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54220 /* end confdefs.h. */
54221 #include <math.h>
54222 #ifdef HAVE_IEEEFP_H
54223 #include <ieeefp.h>
54224 #endif
54227 main ()
54229 logf(0);
54231 return 0;
54233 _ACEOF
54234 if ac_fn_cxx_try_compile "$LINENO"; then :
54235 glibcxx_cv_func_logf_use=yes
54236 else
54237 glibcxx_cv_func_logf_use=no
54239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54240 ac_ext=c
54241 ac_cpp='$CPP $CPPFLAGS'
54242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54251 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54253 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54254 for ac_func in logf
54255 do :
54256 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54257 if test "x$ac_cv_func_logf" = x""yes; then :
54258 cat >>confdefs.h <<_ACEOF
54259 #define HAVE_LOGF 1
54260 _ACEOF
54263 done
54265 else
54267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54268 $as_echo_n "checking for _logf declaration... " >&6; }
54269 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54270 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54271 $as_echo_n "(cached) " >&6
54272 else
54275 ac_ext=cpp
54276 ac_cpp='$CXXCPP $CPPFLAGS'
54277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54282 /* end confdefs.h. */
54283 #include <math.h>
54284 #ifdef HAVE_IEEEFP_H
54285 #include <ieeefp.h>
54286 #endif
54289 main ()
54291 _logf(0);
54293 return 0;
54295 _ACEOF
54296 if ac_fn_cxx_try_compile "$LINENO"; then :
54297 glibcxx_cv_func__logf_use=yes
54298 else
54299 glibcxx_cv_func__logf_use=no
54301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54302 ac_ext=c
54303 ac_cpp='$CPP $CPPFLAGS'
54304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54313 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54315 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54316 for ac_func in _logf
54317 do :
54318 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54319 if test "x$ac_cv_func__logf" = x""yes; then :
54320 cat >>confdefs.h <<_ACEOF
54321 #define HAVE__LOGF 1
54322 _ACEOF
54325 done
54334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54335 $as_echo_n "checking for log10f declaration... " >&6; }
54336 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54337 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54338 $as_echo_n "(cached) " >&6
54339 else
54342 ac_ext=cpp
54343 ac_cpp='$CXXCPP $CPPFLAGS'
54344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54349 /* end confdefs.h. */
54350 #include <math.h>
54351 #ifdef HAVE_IEEEFP_H
54352 #include <ieeefp.h>
54353 #endif
54356 main ()
54358 log10f(0);
54360 return 0;
54362 _ACEOF
54363 if ac_fn_cxx_try_compile "$LINENO"; then :
54364 glibcxx_cv_func_log10f_use=yes
54365 else
54366 glibcxx_cv_func_log10f_use=no
54368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54369 ac_ext=c
54370 ac_cpp='$CPP $CPPFLAGS'
54371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54380 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54382 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54383 for ac_func in log10f
54384 do :
54385 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54386 if test "x$ac_cv_func_log10f" = x""yes; then :
54387 cat >>confdefs.h <<_ACEOF
54388 #define HAVE_LOG10F 1
54389 _ACEOF
54392 done
54394 else
54396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54397 $as_echo_n "checking for _log10f declaration... " >&6; }
54398 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54399 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54400 $as_echo_n "(cached) " >&6
54401 else
54404 ac_ext=cpp
54405 ac_cpp='$CXXCPP $CPPFLAGS'
54406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54411 /* end confdefs.h. */
54412 #include <math.h>
54413 #ifdef HAVE_IEEEFP_H
54414 #include <ieeefp.h>
54415 #endif
54418 main ()
54420 _log10f(0);
54422 return 0;
54424 _ACEOF
54425 if ac_fn_cxx_try_compile "$LINENO"; then :
54426 glibcxx_cv_func__log10f_use=yes
54427 else
54428 glibcxx_cv_func__log10f_use=no
54430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54431 ac_ext=c
54432 ac_cpp='$CPP $CPPFLAGS'
54433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54442 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54444 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54445 for ac_func in _log10f
54446 do :
54447 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54448 if test "x$ac_cv_func__log10f" = x""yes; then :
54449 cat >>confdefs.h <<_ACEOF
54450 #define HAVE__LOG10F 1
54451 _ACEOF
54454 done
54463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54464 $as_echo_n "checking for modff declaration... " >&6; }
54465 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54466 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54467 $as_echo_n "(cached) " >&6
54468 else
54471 ac_ext=cpp
54472 ac_cpp='$CXXCPP $CPPFLAGS'
54473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54478 /* end confdefs.h. */
54479 #include <math.h>
54481 main ()
54483 modff(0, 0);
54485 return 0;
54487 _ACEOF
54488 if ac_fn_cxx_try_compile "$LINENO"; then :
54489 glibcxx_cv_func_modff_use=yes
54490 else
54491 glibcxx_cv_func_modff_use=no
54493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54494 ac_ext=c
54495 ac_cpp='$CPP $CPPFLAGS'
54496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54505 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54507 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54508 for ac_func in modff
54509 do :
54510 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54511 if test "x$ac_cv_func_modff" = x""yes; then :
54512 cat >>confdefs.h <<_ACEOF
54513 #define HAVE_MODFF 1
54514 _ACEOF
54517 done
54519 else
54521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54522 $as_echo_n "checking for _modff declaration... " >&6; }
54523 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54524 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54525 $as_echo_n "(cached) " >&6
54526 else
54529 ac_ext=cpp
54530 ac_cpp='$CXXCPP $CPPFLAGS'
54531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54536 /* end confdefs.h. */
54537 #include <math.h>
54539 main ()
54541 _modff(0, 0);
54543 return 0;
54545 _ACEOF
54546 if ac_fn_cxx_try_compile "$LINENO"; then :
54547 glibcxx_cv_func__modff_use=yes
54548 else
54549 glibcxx_cv_func__modff_use=no
54551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54552 ac_ext=c
54553 ac_cpp='$CPP $CPPFLAGS'
54554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54563 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54565 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54566 for ac_func in _modff
54567 do :
54568 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54569 if test "x$ac_cv_func__modff" = x""yes; then :
54570 cat >>confdefs.h <<_ACEOF
54571 #define HAVE__MODFF 1
54572 _ACEOF
54575 done
54584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54585 $as_echo_n "checking for modf declaration... " >&6; }
54586 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54587 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54588 $as_echo_n "(cached) " >&6
54589 else
54592 ac_ext=cpp
54593 ac_cpp='$CXXCPP $CPPFLAGS'
54594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54599 /* end confdefs.h. */
54600 #include <math.h>
54602 main ()
54604 modf(0, 0);
54606 return 0;
54608 _ACEOF
54609 if ac_fn_cxx_try_compile "$LINENO"; then :
54610 glibcxx_cv_func_modf_use=yes
54611 else
54612 glibcxx_cv_func_modf_use=no
54614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54615 ac_ext=c
54616 ac_cpp='$CPP $CPPFLAGS'
54617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54626 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54628 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54629 for ac_func in modf
54630 do :
54631 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54632 if test "x$ac_cv_func_modf" = x""yes; then :
54633 cat >>confdefs.h <<_ACEOF
54634 #define HAVE_MODF 1
54635 _ACEOF
54638 done
54640 else
54642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54643 $as_echo_n "checking for _modf declaration... " >&6; }
54644 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54645 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54646 $as_echo_n "(cached) " >&6
54647 else
54650 ac_ext=cpp
54651 ac_cpp='$CXXCPP $CPPFLAGS'
54652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54657 /* end confdefs.h. */
54658 #include <math.h>
54660 main ()
54662 _modf(0, 0);
54664 return 0;
54666 _ACEOF
54667 if ac_fn_cxx_try_compile "$LINENO"; then :
54668 glibcxx_cv_func__modf_use=yes
54669 else
54670 glibcxx_cv_func__modf_use=no
54672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54673 ac_ext=c
54674 ac_cpp='$CPP $CPPFLAGS'
54675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54684 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54686 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54687 for ac_func in _modf
54688 do :
54689 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54690 if test "x$ac_cv_func__modf" = x""yes; then :
54691 cat >>confdefs.h <<_ACEOF
54692 #define HAVE__MODF 1
54693 _ACEOF
54696 done
54705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54706 $as_echo_n "checking for powf declaration... " >&6; }
54707 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54708 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54709 $as_echo_n "(cached) " >&6
54710 else
54713 ac_ext=cpp
54714 ac_cpp='$CXXCPP $CPPFLAGS'
54715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54720 /* end confdefs.h. */
54721 #include <math.h>
54723 main ()
54725 powf(0, 0);
54727 return 0;
54729 _ACEOF
54730 if ac_fn_cxx_try_compile "$LINENO"; then :
54731 glibcxx_cv_func_powf_use=yes
54732 else
54733 glibcxx_cv_func_powf_use=no
54735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54736 ac_ext=c
54737 ac_cpp='$CPP $CPPFLAGS'
54738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54747 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54749 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54750 for ac_func in powf
54751 do :
54752 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54753 if test "x$ac_cv_func_powf" = x""yes; then :
54754 cat >>confdefs.h <<_ACEOF
54755 #define HAVE_POWF 1
54756 _ACEOF
54759 done
54761 else
54763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54764 $as_echo_n "checking for _powf declaration... " >&6; }
54765 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54766 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54767 $as_echo_n "(cached) " >&6
54768 else
54771 ac_ext=cpp
54772 ac_cpp='$CXXCPP $CPPFLAGS'
54773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54778 /* end confdefs.h. */
54779 #include <math.h>
54781 main ()
54783 _powf(0, 0);
54785 return 0;
54787 _ACEOF
54788 if ac_fn_cxx_try_compile "$LINENO"; then :
54789 glibcxx_cv_func__powf_use=yes
54790 else
54791 glibcxx_cv_func__powf_use=no
54793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54794 ac_ext=c
54795 ac_cpp='$CPP $CPPFLAGS'
54796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54805 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54807 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54808 for ac_func in _powf
54809 do :
54810 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54811 if test "x$ac_cv_func__powf" = x""yes; then :
54812 cat >>confdefs.h <<_ACEOF
54813 #define HAVE__POWF 1
54814 _ACEOF
54817 done
54826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54827 $as_echo_n "checking for sqrtf declaration... " >&6; }
54828 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54829 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54830 $as_echo_n "(cached) " >&6
54831 else
54834 ac_ext=cpp
54835 ac_cpp='$CXXCPP $CPPFLAGS'
54836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54841 /* end confdefs.h. */
54842 #include <math.h>
54843 #ifdef HAVE_IEEEFP_H
54844 #include <ieeefp.h>
54845 #endif
54848 main ()
54850 sqrtf(0);
54852 return 0;
54854 _ACEOF
54855 if ac_fn_cxx_try_compile "$LINENO"; then :
54856 glibcxx_cv_func_sqrtf_use=yes
54857 else
54858 glibcxx_cv_func_sqrtf_use=no
54860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54861 ac_ext=c
54862 ac_cpp='$CPP $CPPFLAGS'
54863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54872 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54874 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54875 for ac_func in sqrtf
54876 do :
54877 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54878 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54879 cat >>confdefs.h <<_ACEOF
54880 #define HAVE_SQRTF 1
54881 _ACEOF
54884 done
54886 else
54888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54889 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54890 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54891 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54892 $as_echo_n "(cached) " >&6
54893 else
54896 ac_ext=cpp
54897 ac_cpp='$CXXCPP $CPPFLAGS'
54898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54903 /* end confdefs.h. */
54904 #include <math.h>
54905 #ifdef HAVE_IEEEFP_H
54906 #include <ieeefp.h>
54907 #endif
54910 main ()
54912 _sqrtf(0);
54914 return 0;
54916 _ACEOF
54917 if ac_fn_cxx_try_compile "$LINENO"; then :
54918 glibcxx_cv_func__sqrtf_use=yes
54919 else
54920 glibcxx_cv_func__sqrtf_use=no
54922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54923 ac_ext=c
54924 ac_cpp='$CPP $CPPFLAGS'
54925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54934 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54936 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54937 for ac_func in _sqrtf
54938 do :
54939 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54940 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54941 cat >>confdefs.h <<_ACEOF
54942 #define HAVE__SQRTF 1
54943 _ACEOF
54946 done
54955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54956 $as_echo_n "checking for sincosf declaration... " >&6; }
54957 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54958 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54959 $as_echo_n "(cached) " >&6
54960 else
54963 ac_ext=cpp
54964 ac_cpp='$CXXCPP $CPPFLAGS'
54965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54970 /* end confdefs.h. */
54971 #include <math.h>
54973 main ()
54975 sincosf(0, 0, 0);
54977 return 0;
54979 _ACEOF
54980 if ac_fn_cxx_try_compile "$LINENO"; then :
54981 glibcxx_cv_func_sincosf_use=yes
54982 else
54983 glibcxx_cv_func_sincosf_use=no
54985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54986 ac_ext=c
54987 ac_cpp='$CPP $CPPFLAGS'
54988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54997 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54999 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55000 for ac_func in sincosf
55001 do :
55002 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55003 if test "x$ac_cv_func_sincosf" = x""yes; then :
55004 cat >>confdefs.h <<_ACEOF
55005 #define HAVE_SINCOSF 1
55006 _ACEOF
55009 done
55011 else
55013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55014 $as_echo_n "checking for _sincosf declaration... " >&6; }
55015 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55016 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55017 $as_echo_n "(cached) " >&6
55018 else
55021 ac_ext=cpp
55022 ac_cpp='$CXXCPP $CPPFLAGS'
55023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55028 /* end confdefs.h. */
55029 #include <math.h>
55031 main ()
55033 _sincosf(0, 0, 0);
55035 return 0;
55037 _ACEOF
55038 if ac_fn_cxx_try_compile "$LINENO"; then :
55039 glibcxx_cv_func__sincosf_use=yes
55040 else
55041 glibcxx_cv_func__sincosf_use=no
55043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55044 ac_ext=c
55045 ac_cpp='$CPP $CPPFLAGS'
55046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55055 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55057 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55058 for ac_func in _sincosf
55059 do :
55060 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55061 if test "x$ac_cv_func__sincosf" = x""yes; then :
55062 cat >>confdefs.h <<_ACEOF
55063 #define HAVE__SINCOSF 1
55064 _ACEOF
55067 done
55076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55077 $as_echo_n "checking for finitef declaration... " >&6; }
55078 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55079 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55080 $as_echo_n "(cached) " >&6
55081 else
55084 ac_ext=cpp
55085 ac_cpp='$CXXCPP $CPPFLAGS'
55086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55091 /* end confdefs.h. */
55092 #include <math.h>
55093 #ifdef HAVE_IEEEFP_H
55094 #include <ieeefp.h>
55095 #endif
55098 main ()
55100 finitef(0);
55102 return 0;
55104 _ACEOF
55105 if ac_fn_cxx_try_compile "$LINENO"; then :
55106 glibcxx_cv_func_finitef_use=yes
55107 else
55108 glibcxx_cv_func_finitef_use=no
55110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55111 ac_ext=c
55112 ac_cpp='$CPP $CPPFLAGS'
55113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55122 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55124 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55125 for ac_func in finitef
55126 do :
55127 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55128 if test "x$ac_cv_func_finitef" = x""yes; then :
55129 cat >>confdefs.h <<_ACEOF
55130 #define HAVE_FINITEF 1
55131 _ACEOF
55134 done
55136 else
55138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55139 $as_echo_n "checking for _finitef declaration... " >&6; }
55140 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55141 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55142 $as_echo_n "(cached) " >&6
55143 else
55146 ac_ext=cpp
55147 ac_cpp='$CXXCPP $CPPFLAGS'
55148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55153 /* end confdefs.h. */
55154 #include <math.h>
55155 #ifdef HAVE_IEEEFP_H
55156 #include <ieeefp.h>
55157 #endif
55160 main ()
55162 _finitef(0);
55164 return 0;
55166 _ACEOF
55167 if ac_fn_cxx_try_compile "$LINENO"; then :
55168 glibcxx_cv_func__finitef_use=yes
55169 else
55170 glibcxx_cv_func__finitef_use=no
55172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55173 ac_ext=c
55174 ac_cpp='$CPP $CPPFLAGS'
55175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55184 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55186 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55187 for ac_func in _finitef
55188 do :
55189 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55190 if test "x$ac_cv_func__finitef" = x""yes; then :
55191 cat >>confdefs.h <<_ACEOF
55192 #define HAVE__FINITEF 1
55193 _ACEOF
55196 done
55205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55206 $as_echo_n "checking for long double trig functions... " >&6; }
55207 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55208 $as_echo_n "(cached) " >&6
55209 else
55212 ac_ext=cpp
55213 ac_cpp='$CXXCPP $CPPFLAGS'
55214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55219 /* end confdefs.h. */
55220 #include <math.h>
55222 main ()
55224 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55226 return 0;
55228 _ACEOF
55229 if ac_fn_cxx_try_compile "$LINENO"; then :
55230 glibcxx_cv_func_long_double_trig_use=yes
55231 else
55232 glibcxx_cv_func_long_double_trig_use=no
55234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55235 ac_ext=c
55236 ac_cpp='$CPP $CPPFLAGS'
55237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55244 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55245 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55246 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55247 do :
55248 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55250 eval as_val=\$$as_ac_var
55251 if test "x$as_val" = x""yes; then :
55252 cat >>confdefs.h <<_ACEOF
55253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55254 _ACEOF
55257 done
55259 else
55260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55261 $as_echo_n "checking for _long double trig functions... " >&6; }
55262 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55263 $as_echo_n "(cached) " >&6
55264 else
55267 ac_ext=cpp
55268 ac_cpp='$CXXCPP $CPPFLAGS'
55269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55274 /* end confdefs.h. */
55275 #include <math.h>
55277 main ()
55279 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55281 return 0;
55283 _ACEOF
55284 if ac_fn_cxx_try_compile "$LINENO"; then :
55285 glibcxx_cv_func__long_double_trig_use=yes
55286 else
55287 glibcxx_cv_func__long_double_trig_use=no
55289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55290 ac_ext=c
55291 ac_cpp='$CPP $CPPFLAGS'
55292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55299 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55300 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55301 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55302 do :
55303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55305 eval as_val=\$$as_ac_var
55306 if test "x$as_val" = x""yes; then :
55307 cat >>confdefs.h <<_ACEOF
55308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55309 _ACEOF
55312 done
55321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55322 $as_echo_n "checking for long double round functions... " >&6; }
55323 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55324 $as_echo_n "(cached) " >&6
55325 else
55328 ac_ext=cpp
55329 ac_cpp='$CXXCPP $CPPFLAGS'
55330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55335 /* end confdefs.h. */
55336 #include <math.h>
55338 main ()
55340 ceill (0); floorl (0);
55342 return 0;
55344 _ACEOF
55345 if ac_fn_cxx_try_compile "$LINENO"; then :
55346 glibcxx_cv_func_long_double_round_use=yes
55347 else
55348 glibcxx_cv_func_long_double_round_use=no
55350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55351 ac_ext=c
55352 ac_cpp='$CPP $CPPFLAGS'
55353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55360 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55361 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55362 for ac_func in ceill floorl
55363 do :
55364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55366 eval as_val=\$$as_ac_var
55367 if test "x$as_val" = x""yes; then :
55368 cat >>confdefs.h <<_ACEOF
55369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55370 _ACEOF
55373 done
55375 else
55376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55377 $as_echo_n "checking for _long double round functions... " >&6; }
55378 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55379 $as_echo_n "(cached) " >&6
55380 else
55383 ac_ext=cpp
55384 ac_cpp='$CXXCPP $CPPFLAGS'
55385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55390 /* end confdefs.h. */
55391 #include <math.h>
55393 main ()
55395 _ceill (0); _floorl (0);
55397 return 0;
55399 _ACEOF
55400 if ac_fn_cxx_try_compile "$LINENO"; then :
55401 glibcxx_cv_func__long_double_round_use=yes
55402 else
55403 glibcxx_cv_func__long_double_round_use=no
55405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55406 ac_ext=c
55407 ac_cpp='$CPP $CPPFLAGS'
55408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55415 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55416 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55417 for ac_func in _ceill _floorl
55418 do :
55419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55421 eval as_val=\$$as_ac_var
55422 if test "x$as_val" = x""yes; then :
55423 cat >>confdefs.h <<_ACEOF
55424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55425 _ACEOF
55428 done
55438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55439 $as_echo_n "checking for isnanl declaration... " >&6; }
55440 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55441 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55442 $as_echo_n "(cached) " >&6
55443 else
55446 ac_ext=cpp
55447 ac_cpp='$CXXCPP $CPPFLAGS'
55448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55453 /* end confdefs.h. */
55454 #include <math.h>
55455 #ifdef HAVE_IEEEFP_H
55456 #include <ieeefp.h>
55457 #endif
55460 main ()
55462 isnanl(0);
55464 return 0;
55466 _ACEOF
55467 if ac_fn_cxx_try_compile "$LINENO"; then :
55468 glibcxx_cv_func_isnanl_use=yes
55469 else
55470 glibcxx_cv_func_isnanl_use=no
55472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55473 ac_ext=c
55474 ac_cpp='$CPP $CPPFLAGS'
55475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55484 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55486 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55487 for ac_func in isnanl
55488 do :
55489 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55490 if test "x$ac_cv_func_isnanl" = x""yes; then :
55491 cat >>confdefs.h <<_ACEOF
55492 #define HAVE_ISNANL 1
55493 _ACEOF
55496 done
55498 else
55500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55501 $as_echo_n "checking for _isnanl declaration... " >&6; }
55502 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55503 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55504 $as_echo_n "(cached) " >&6
55505 else
55508 ac_ext=cpp
55509 ac_cpp='$CXXCPP $CPPFLAGS'
55510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55515 /* end confdefs.h. */
55516 #include <math.h>
55517 #ifdef HAVE_IEEEFP_H
55518 #include <ieeefp.h>
55519 #endif
55522 main ()
55524 _isnanl(0);
55526 return 0;
55528 _ACEOF
55529 if ac_fn_cxx_try_compile "$LINENO"; then :
55530 glibcxx_cv_func__isnanl_use=yes
55531 else
55532 glibcxx_cv_func__isnanl_use=no
55534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55535 ac_ext=c
55536 ac_cpp='$CPP $CPPFLAGS'
55537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55546 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55548 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55549 for ac_func in _isnanl
55550 do :
55551 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55552 if test "x$ac_cv_func__isnanl" = x""yes; then :
55553 cat >>confdefs.h <<_ACEOF
55554 #define HAVE__ISNANL 1
55555 _ACEOF
55558 done
55567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55568 $as_echo_n "checking for isinfl declaration... " >&6; }
55569 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55570 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55571 $as_echo_n "(cached) " >&6
55572 else
55575 ac_ext=cpp
55576 ac_cpp='$CXXCPP $CPPFLAGS'
55577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55582 /* end confdefs.h. */
55583 #include <math.h>
55584 #ifdef HAVE_IEEEFP_H
55585 #include <ieeefp.h>
55586 #endif
55589 main ()
55591 isinfl(0);
55593 return 0;
55595 _ACEOF
55596 if ac_fn_cxx_try_compile "$LINENO"; then :
55597 glibcxx_cv_func_isinfl_use=yes
55598 else
55599 glibcxx_cv_func_isinfl_use=no
55601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55602 ac_ext=c
55603 ac_cpp='$CPP $CPPFLAGS'
55604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55613 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55615 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55616 for ac_func in isinfl
55617 do :
55618 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55619 if test "x$ac_cv_func_isinfl" = x""yes; then :
55620 cat >>confdefs.h <<_ACEOF
55621 #define HAVE_ISINFL 1
55622 _ACEOF
55625 done
55627 else
55629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55630 $as_echo_n "checking for _isinfl declaration... " >&6; }
55631 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55632 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55633 $as_echo_n "(cached) " >&6
55634 else
55637 ac_ext=cpp
55638 ac_cpp='$CXXCPP $CPPFLAGS'
55639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55644 /* end confdefs.h. */
55645 #include <math.h>
55646 #ifdef HAVE_IEEEFP_H
55647 #include <ieeefp.h>
55648 #endif
55651 main ()
55653 _isinfl(0);
55655 return 0;
55657 _ACEOF
55658 if ac_fn_cxx_try_compile "$LINENO"; then :
55659 glibcxx_cv_func__isinfl_use=yes
55660 else
55661 glibcxx_cv_func__isinfl_use=no
55663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55664 ac_ext=c
55665 ac_cpp='$CPP $CPPFLAGS'
55666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55675 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55677 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55678 for ac_func in _isinfl
55679 do :
55680 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55681 if test "x$ac_cv_func__isinfl" = x""yes; then :
55682 cat >>confdefs.h <<_ACEOF
55683 #define HAVE__ISINFL 1
55684 _ACEOF
55687 done
55696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55697 $as_echo_n "checking for atan2l declaration... " >&6; }
55698 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55699 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55700 $as_echo_n "(cached) " >&6
55701 else
55704 ac_ext=cpp
55705 ac_cpp='$CXXCPP $CPPFLAGS'
55706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55711 /* end confdefs.h. */
55712 #include <math.h>
55714 main ()
55716 atan2l(0, 0);
55718 return 0;
55720 _ACEOF
55721 if ac_fn_cxx_try_compile "$LINENO"; then :
55722 glibcxx_cv_func_atan2l_use=yes
55723 else
55724 glibcxx_cv_func_atan2l_use=no
55726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55727 ac_ext=c
55728 ac_cpp='$CPP $CPPFLAGS'
55729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55738 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55740 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55741 for ac_func in atan2l
55742 do :
55743 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55744 if test "x$ac_cv_func_atan2l" = x""yes; then :
55745 cat >>confdefs.h <<_ACEOF
55746 #define HAVE_ATAN2L 1
55747 _ACEOF
55750 done
55752 else
55754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55755 $as_echo_n "checking for _atan2l declaration... " >&6; }
55756 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55757 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55758 $as_echo_n "(cached) " >&6
55759 else
55762 ac_ext=cpp
55763 ac_cpp='$CXXCPP $CPPFLAGS'
55764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55769 /* end confdefs.h. */
55770 #include <math.h>
55772 main ()
55774 _atan2l(0, 0);
55776 return 0;
55778 _ACEOF
55779 if ac_fn_cxx_try_compile "$LINENO"; then :
55780 glibcxx_cv_func__atan2l_use=yes
55781 else
55782 glibcxx_cv_func__atan2l_use=no
55784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55785 ac_ext=c
55786 ac_cpp='$CPP $CPPFLAGS'
55787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55796 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55798 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55799 for ac_func in _atan2l
55800 do :
55801 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55802 if test "x$ac_cv_func__atan2l" = x""yes; then :
55803 cat >>confdefs.h <<_ACEOF
55804 #define HAVE__ATAN2L 1
55805 _ACEOF
55808 done
55817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55818 $as_echo_n "checking for expl declaration... " >&6; }
55819 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55820 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55821 $as_echo_n "(cached) " >&6
55822 else
55825 ac_ext=cpp
55826 ac_cpp='$CXXCPP $CPPFLAGS'
55827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55832 /* end confdefs.h. */
55833 #include <math.h>
55834 #ifdef HAVE_IEEEFP_H
55835 #include <ieeefp.h>
55836 #endif
55839 main ()
55841 expl(0);
55843 return 0;
55845 _ACEOF
55846 if ac_fn_cxx_try_compile "$LINENO"; then :
55847 glibcxx_cv_func_expl_use=yes
55848 else
55849 glibcxx_cv_func_expl_use=no
55851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55852 ac_ext=c
55853 ac_cpp='$CPP $CPPFLAGS'
55854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55863 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55865 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55866 for ac_func in expl
55867 do :
55868 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55869 if test "x$ac_cv_func_expl" = x""yes; then :
55870 cat >>confdefs.h <<_ACEOF
55871 #define HAVE_EXPL 1
55872 _ACEOF
55875 done
55877 else
55879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55880 $as_echo_n "checking for _expl declaration... " >&6; }
55881 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55882 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55883 $as_echo_n "(cached) " >&6
55884 else
55887 ac_ext=cpp
55888 ac_cpp='$CXXCPP $CPPFLAGS'
55889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55894 /* end confdefs.h. */
55895 #include <math.h>
55896 #ifdef HAVE_IEEEFP_H
55897 #include <ieeefp.h>
55898 #endif
55901 main ()
55903 _expl(0);
55905 return 0;
55907 _ACEOF
55908 if ac_fn_cxx_try_compile "$LINENO"; then :
55909 glibcxx_cv_func__expl_use=yes
55910 else
55911 glibcxx_cv_func__expl_use=no
55913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55914 ac_ext=c
55915 ac_cpp='$CPP $CPPFLAGS'
55916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55925 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55927 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55928 for ac_func in _expl
55929 do :
55930 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55931 if test "x$ac_cv_func__expl" = x""yes; then :
55932 cat >>confdefs.h <<_ACEOF
55933 #define HAVE__EXPL 1
55934 _ACEOF
55937 done
55946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55947 $as_echo_n "checking for fabsl declaration... " >&6; }
55948 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55949 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55950 $as_echo_n "(cached) " >&6
55951 else
55954 ac_ext=cpp
55955 ac_cpp='$CXXCPP $CPPFLAGS'
55956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55961 /* end confdefs.h. */
55962 #include <math.h>
55963 #ifdef HAVE_IEEEFP_H
55964 #include <ieeefp.h>
55965 #endif
55968 main ()
55970 fabsl(0);
55972 return 0;
55974 _ACEOF
55975 if ac_fn_cxx_try_compile "$LINENO"; then :
55976 glibcxx_cv_func_fabsl_use=yes
55977 else
55978 glibcxx_cv_func_fabsl_use=no
55980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55981 ac_ext=c
55982 ac_cpp='$CPP $CPPFLAGS'
55983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55992 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55994 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55995 for ac_func in fabsl
55996 do :
55997 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55998 if test "x$ac_cv_func_fabsl" = x""yes; then :
55999 cat >>confdefs.h <<_ACEOF
56000 #define HAVE_FABSL 1
56001 _ACEOF
56004 done
56006 else
56008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56009 $as_echo_n "checking for _fabsl declaration... " >&6; }
56010 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56011 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56012 $as_echo_n "(cached) " >&6
56013 else
56016 ac_ext=cpp
56017 ac_cpp='$CXXCPP $CPPFLAGS'
56018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56023 /* end confdefs.h. */
56024 #include <math.h>
56025 #ifdef HAVE_IEEEFP_H
56026 #include <ieeefp.h>
56027 #endif
56030 main ()
56032 _fabsl(0);
56034 return 0;
56036 _ACEOF
56037 if ac_fn_cxx_try_compile "$LINENO"; then :
56038 glibcxx_cv_func__fabsl_use=yes
56039 else
56040 glibcxx_cv_func__fabsl_use=no
56042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56043 ac_ext=c
56044 ac_cpp='$CPP $CPPFLAGS'
56045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56054 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56056 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56057 for ac_func in _fabsl
56058 do :
56059 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56060 if test "x$ac_cv_func__fabsl" = x""yes; then :
56061 cat >>confdefs.h <<_ACEOF
56062 #define HAVE__FABSL 1
56063 _ACEOF
56066 done
56075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56076 $as_echo_n "checking for fmodl declaration... " >&6; }
56077 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56078 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56079 $as_echo_n "(cached) " >&6
56080 else
56083 ac_ext=cpp
56084 ac_cpp='$CXXCPP $CPPFLAGS'
56085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56090 /* end confdefs.h. */
56091 #include <math.h>
56093 main ()
56095 fmodl(0, 0);
56097 return 0;
56099 _ACEOF
56100 if ac_fn_cxx_try_compile "$LINENO"; then :
56101 glibcxx_cv_func_fmodl_use=yes
56102 else
56103 glibcxx_cv_func_fmodl_use=no
56105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56106 ac_ext=c
56107 ac_cpp='$CPP $CPPFLAGS'
56108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56117 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56119 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56120 for ac_func in fmodl
56121 do :
56122 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56123 if test "x$ac_cv_func_fmodl" = x""yes; then :
56124 cat >>confdefs.h <<_ACEOF
56125 #define HAVE_FMODL 1
56126 _ACEOF
56129 done
56131 else
56133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56134 $as_echo_n "checking for _fmodl declaration... " >&6; }
56135 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56136 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56137 $as_echo_n "(cached) " >&6
56138 else
56141 ac_ext=cpp
56142 ac_cpp='$CXXCPP $CPPFLAGS'
56143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56148 /* end confdefs.h. */
56149 #include <math.h>
56151 main ()
56153 _fmodl(0, 0);
56155 return 0;
56157 _ACEOF
56158 if ac_fn_cxx_try_compile "$LINENO"; then :
56159 glibcxx_cv_func__fmodl_use=yes
56160 else
56161 glibcxx_cv_func__fmodl_use=no
56163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56164 ac_ext=c
56165 ac_cpp='$CPP $CPPFLAGS'
56166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56175 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56177 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56178 for ac_func in _fmodl
56179 do :
56180 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56181 if test "x$ac_cv_func__fmodl" = x""yes; then :
56182 cat >>confdefs.h <<_ACEOF
56183 #define HAVE__FMODL 1
56184 _ACEOF
56187 done
56196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56197 $as_echo_n "checking for frexpl declaration... " >&6; }
56198 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56199 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56200 $as_echo_n "(cached) " >&6
56201 else
56204 ac_ext=cpp
56205 ac_cpp='$CXXCPP $CPPFLAGS'
56206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56211 /* end confdefs.h. */
56212 #include <math.h>
56214 main ()
56216 frexpl(0, 0);
56218 return 0;
56220 _ACEOF
56221 if ac_fn_cxx_try_compile "$LINENO"; then :
56222 glibcxx_cv_func_frexpl_use=yes
56223 else
56224 glibcxx_cv_func_frexpl_use=no
56226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56227 ac_ext=c
56228 ac_cpp='$CPP $CPPFLAGS'
56229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56238 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56240 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56241 for ac_func in frexpl
56242 do :
56243 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56244 if test "x$ac_cv_func_frexpl" = x""yes; then :
56245 cat >>confdefs.h <<_ACEOF
56246 #define HAVE_FREXPL 1
56247 _ACEOF
56250 done
56252 else
56254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56255 $as_echo_n "checking for _frexpl declaration... " >&6; }
56256 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56257 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56258 $as_echo_n "(cached) " >&6
56259 else
56262 ac_ext=cpp
56263 ac_cpp='$CXXCPP $CPPFLAGS'
56264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56269 /* end confdefs.h. */
56270 #include <math.h>
56272 main ()
56274 _frexpl(0, 0);
56276 return 0;
56278 _ACEOF
56279 if ac_fn_cxx_try_compile "$LINENO"; then :
56280 glibcxx_cv_func__frexpl_use=yes
56281 else
56282 glibcxx_cv_func__frexpl_use=no
56284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56285 ac_ext=c
56286 ac_cpp='$CPP $CPPFLAGS'
56287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56296 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56298 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56299 for ac_func in _frexpl
56300 do :
56301 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56302 if test "x$ac_cv_func__frexpl" = x""yes; then :
56303 cat >>confdefs.h <<_ACEOF
56304 #define HAVE__FREXPL 1
56305 _ACEOF
56308 done
56317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56318 $as_echo_n "checking for hypotl declaration... " >&6; }
56319 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56320 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56321 $as_echo_n "(cached) " >&6
56322 else
56325 ac_ext=cpp
56326 ac_cpp='$CXXCPP $CPPFLAGS'
56327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56332 /* end confdefs.h. */
56333 #include <math.h>
56335 main ()
56337 hypotl(0, 0);
56339 return 0;
56341 _ACEOF
56342 if ac_fn_cxx_try_compile "$LINENO"; then :
56343 glibcxx_cv_func_hypotl_use=yes
56344 else
56345 glibcxx_cv_func_hypotl_use=no
56347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56348 ac_ext=c
56349 ac_cpp='$CPP $CPPFLAGS'
56350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56359 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56361 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56362 for ac_func in hypotl
56363 do :
56364 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56365 if test "x$ac_cv_func_hypotl" = x""yes; then :
56366 cat >>confdefs.h <<_ACEOF
56367 #define HAVE_HYPOTL 1
56368 _ACEOF
56371 done
56373 else
56375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56376 $as_echo_n "checking for _hypotl declaration... " >&6; }
56377 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56378 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56379 $as_echo_n "(cached) " >&6
56380 else
56383 ac_ext=cpp
56384 ac_cpp='$CXXCPP $CPPFLAGS'
56385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56390 /* end confdefs.h. */
56391 #include <math.h>
56393 main ()
56395 _hypotl(0, 0);
56397 return 0;
56399 _ACEOF
56400 if ac_fn_cxx_try_compile "$LINENO"; then :
56401 glibcxx_cv_func__hypotl_use=yes
56402 else
56403 glibcxx_cv_func__hypotl_use=no
56405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56406 ac_ext=c
56407 ac_cpp='$CPP $CPPFLAGS'
56408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56417 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56419 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56420 for ac_func in _hypotl
56421 do :
56422 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56423 if test "x$ac_cv_func__hypotl" = x""yes; then :
56424 cat >>confdefs.h <<_ACEOF
56425 #define HAVE__HYPOTL 1
56426 _ACEOF
56429 done
56438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56439 $as_echo_n "checking for ldexpl declaration... " >&6; }
56440 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56441 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56442 $as_echo_n "(cached) " >&6
56443 else
56446 ac_ext=cpp
56447 ac_cpp='$CXXCPP $CPPFLAGS'
56448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56453 /* end confdefs.h. */
56454 #include <math.h>
56456 main ()
56458 ldexpl(0, 0);
56460 return 0;
56462 _ACEOF
56463 if ac_fn_cxx_try_compile "$LINENO"; then :
56464 glibcxx_cv_func_ldexpl_use=yes
56465 else
56466 glibcxx_cv_func_ldexpl_use=no
56468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56469 ac_ext=c
56470 ac_cpp='$CPP $CPPFLAGS'
56471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56480 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56482 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56483 for ac_func in ldexpl
56484 do :
56485 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56486 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56487 cat >>confdefs.h <<_ACEOF
56488 #define HAVE_LDEXPL 1
56489 _ACEOF
56492 done
56494 else
56496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56497 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56498 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56499 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56500 $as_echo_n "(cached) " >&6
56501 else
56504 ac_ext=cpp
56505 ac_cpp='$CXXCPP $CPPFLAGS'
56506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56511 /* end confdefs.h. */
56512 #include <math.h>
56514 main ()
56516 _ldexpl(0, 0);
56518 return 0;
56520 _ACEOF
56521 if ac_fn_cxx_try_compile "$LINENO"; then :
56522 glibcxx_cv_func__ldexpl_use=yes
56523 else
56524 glibcxx_cv_func__ldexpl_use=no
56526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56527 ac_ext=c
56528 ac_cpp='$CPP $CPPFLAGS'
56529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56538 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56540 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56541 for ac_func in _ldexpl
56542 do :
56543 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56544 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56545 cat >>confdefs.h <<_ACEOF
56546 #define HAVE__LDEXPL 1
56547 _ACEOF
56550 done
56559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56560 $as_echo_n "checking for logl declaration... " >&6; }
56561 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56562 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56563 $as_echo_n "(cached) " >&6
56564 else
56567 ac_ext=cpp
56568 ac_cpp='$CXXCPP $CPPFLAGS'
56569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56574 /* end confdefs.h. */
56575 #include <math.h>
56576 #ifdef HAVE_IEEEFP_H
56577 #include <ieeefp.h>
56578 #endif
56581 main ()
56583 logl(0);
56585 return 0;
56587 _ACEOF
56588 if ac_fn_cxx_try_compile "$LINENO"; then :
56589 glibcxx_cv_func_logl_use=yes
56590 else
56591 glibcxx_cv_func_logl_use=no
56593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56594 ac_ext=c
56595 ac_cpp='$CPP $CPPFLAGS'
56596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56605 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56607 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56608 for ac_func in logl
56609 do :
56610 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56611 if test "x$ac_cv_func_logl" = x""yes; then :
56612 cat >>confdefs.h <<_ACEOF
56613 #define HAVE_LOGL 1
56614 _ACEOF
56617 done
56619 else
56621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56622 $as_echo_n "checking for _logl declaration... " >&6; }
56623 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56624 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56625 $as_echo_n "(cached) " >&6
56626 else
56629 ac_ext=cpp
56630 ac_cpp='$CXXCPP $CPPFLAGS'
56631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56636 /* end confdefs.h. */
56637 #include <math.h>
56638 #ifdef HAVE_IEEEFP_H
56639 #include <ieeefp.h>
56640 #endif
56643 main ()
56645 _logl(0);
56647 return 0;
56649 _ACEOF
56650 if ac_fn_cxx_try_compile "$LINENO"; then :
56651 glibcxx_cv_func__logl_use=yes
56652 else
56653 glibcxx_cv_func__logl_use=no
56655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56656 ac_ext=c
56657 ac_cpp='$CPP $CPPFLAGS'
56658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56667 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56669 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56670 for ac_func in _logl
56671 do :
56672 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56673 if test "x$ac_cv_func__logl" = x""yes; then :
56674 cat >>confdefs.h <<_ACEOF
56675 #define HAVE__LOGL 1
56676 _ACEOF
56679 done
56688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56689 $as_echo_n "checking for log10l declaration... " >&6; }
56690 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56691 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56692 $as_echo_n "(cached) " >&6
56693 else
56696 ac_ext=cpp
56697 ac_cpp='$CXXCPP $CPPFLAGS'
56698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56703 /* end confdefs.h. */
56704 #include <math.h>
56705 #ifdef HAVE_IEEEFP_H
56706 #include <ieeefp.h>
56707 #endif
56710 main ()
56712 log10l(0);
56714 return 0;
56716 _ACEOF
56717 if ac_fn_cxx_try_compile "$LINENO"; then :
56718 glibcxx_cv_func_log10l_use=yes
56719 else
56720 glibcxx_cv_func_log10l_use=no
56722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56723 ac_ext=c
56724 ac_cpp='$CPP $CPPFLAGS'
56725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56734 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56736 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56737 for ac_func in log10l
56738 do :
56739 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56740 if test "x$ac_cv_func_log10l" = x""yes; then :
56741 cat >>confdefs.h <<_ACEOF
56742 #define HAVE_LOG10L 1
56743 _ACEOF
56746 done
56748 else
56750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56751 $as_echo_n "checking for _log10l declaration... " >&6; }
56752 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56753 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56754 $as_echo_n "(cached) " >&6
56755 else
56758 ac_ext=cpp
56759 ac_cpp='$CXXCPP $CPPFLAGS'
56760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56765 /* end confdefs.h. */
56766 #include <math.h>
56767 #ifdef HAVE_IEEEFP_H
56768 #include <ieeefp.h>
56769 #endif
56772 main ()
56774 _log10l(0);
56776 return 0;
56778 _ACEOF
56779 if ac_fn_cxx_try_compile "$LINENO"; then :
56780 glibcxx_cv_func__log10l_use=yes
56781 else
56782 glibcxx_cv_func__log10l_use=no
56784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56785 ac_ext=c
56786 ac_cpp='$CPP $CPPFLAGS'
56787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56796 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56798 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56799 for ac_func in _log10l
56800 do :
56801 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56802 if test "x$ac_cv_func__log10l" = x""yes; then :
56803 cat >>confdefs.h <<_ACEOF
56804 #define HAVE__LOG10L 1
56805 _ACEOF
56808 done
56817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56818 $as_echo_n "checking for modfl declaration... " >&6; }
56819 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56820 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56821 $as_echo_n "(cached) " >&6
56822 else
56825 ac_ext=cpp
56826 ac_cpp='$CXXCPP $CPPFLAGS'
56827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56832 /* end confdefs.h. */
56833 #include <math.h>
56835 main ()
56837 modfl(0, 0);
56839 return 0;
56841 _ACEOF
56842 if ac_fn_cxx_try_compile "$LINENO"; then :
56843 glibcxx_cv_func_modfl_use=yes
56844 else
56845 glibcxx_cv_func_modfl_use=no
56847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56848 ac_ext=c
56849 ac_cpp='$CPP $CPPFLAGS'
56850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56859 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56861 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56862 for ac_func in modfl
56863 do :
56864 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56865 if test "x$ac_cv_func_modfl" = x""yes; then :
56866 cat >>confdefs.h <<_ACEOF
56867 #define HAVE_MODFL 1
56868 _ACEOF
56871 done
56873 else
56875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56876 $as_echo_n "checking for _modfl declaration... " >&6; }
56877 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56878 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56879 $as_echo_n "(cached) " >&6
56880 else
56883 ac_ext=cpp
56884 ac_cpp='$CXXCPP $CPPFLAGS'
56885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56890 /* end confdefs.h. */
56891 #include <math.h>
56893 main ()
56895 _modfl(0, 0);
56897 return 0;
56899 _ACEOF
56900 if ac_fn_cxx_try_compile "$LINENO"; then :
56901 glibcxx_cv_func__modfl_use=yes
56902 else
56903 glibcxx_cv_func__modfl_use=no
56905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56906 ac_ext=c
56907 ac_cpp='$CPP $CPPFLAGS'
56908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56917 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56919 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56920 for ac_func in _modfl
56921 do :
56922 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56923 if test "x$ac_cv_func__modfl" = x""yes; then :
56924 cat >>confdefs.h <<_ACEOF
56925 #define HAVE__MODFL 1
56926 _ACEOF
56929 done
56938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56939 $as_echo_n "checking for powl declaration... " >&6; }
56940 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56941 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56942 $as_echo_n "(cached) " >&6
56943 else
56946 ac_ext=cpp
56947 ac_cpp='$CXXCPP $CPPFLAGS'
56948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56953 /* end confdefs.h. */
56954 #include <math.h>
56956 main ()
56958 powl(0, 0);
56960 return 0;
56962 _ACEOF
56963 if ac_fn_cxx_try_compile "$LINENO"; then :
56964 glibcxx_cv_func_powl_use=yes
56965 else
56966 glibcxx_cv_func_powl_use=no
56968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56969 ac_ext=c
56970 ac_cpp='$CPP $CPPFLAGS'
56971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56980 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56982 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56983 for ac_func in powl
56984 do :
56985 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56986 if test "x$ac_cv_func_powl" = x""yes; then :
56987 cat >>confdefs.h <<_ACEOF
56988 #define HAVE_POWL 1
56989 _ACEOF
56992 done
56994 else
56996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56997 $as_echo_n "checking for _powl declaration... " >&6; }
56998 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56999 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57000 $as_echo_n "(cached) " >&6
57001 else
57004 ac_ext=cpp
57005 ac_cpp='$CXXCPP $CPPFLAGS'
57006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57011 /* end confdefs.h. */
57012 #include <math.h>
57014 main ()
57016 _powl(0, 0);
57018 return 0;
57020 _ACEOF
57021 if ac_fn_cxx_try_compile "$LINENO"; then :
57022 glibcxx_cv_func__powl_use=yes
57023 else
57024 glibcxx_cv_func__powl_use=no
57026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57027 ac_ext=c
57028 ac_cpp='$CPP $CPPFLAGS'
57029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57038 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57040 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57041 for ac_func in _powl
57042 do :
57043 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57044 if test "x$ac_cv_func__powl" = x""yes; then :
57045 cat >>confdefs.h <<_ACEOF
57046 #define HAVE__POWL 1
57047 _ACEOF
57050 done
57059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57060 $as_echo_n "checking for sqrtl declaration... " >&6; }
57061 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57062 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57063 $as_echo_n "(cached) " >&6
57064 else
57067 ac_ext=cpp
57068 ac_cpp='$CXXCPP $CPPFLAGS'
57069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57074 /* end confdefs.h. */
57075 #include <math.h>
57076 #ifdef HAVE_IEEEFP_H
57077 #include <ieeefp.h>
57078 #endif
57081 main ()
57083 sqrtl(0);
57085 return 0;
57087 _ACEOF
57088 if ac_fn_cxx_try_compile "$LINENO"; then :
57089 glibcxx_cv_func_sqrtl_use=yes
57090 else
57091 glibcxx_cv_func_sqrtl_use=no
57093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57094 ac_ext=c
57095 ac_cpp='$CPP $CPPFLAGS'
57096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57105 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57107 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57108 for ac_func in sqrtl
57109 do :
57110 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57111 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57112 cat >>confdefs.h <<_ACEOF
57113 #define HAVE_SQRTL 1
57114 _ACEOF
57117 done
57119 else
57121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57122 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57123 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57124 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57125 $as_echo_n "(cached) " >&6
57126 else
57129 ac_ext=cpp
57130 ac_cpp='$CXXCPP $CPPFLAGS'
57131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57136 /* end confdefs.h. */
57137 #include <math.h>
57138 #ifdef HAVE_IEEEFP_H
57139 #include <ieeefp.h>
57140 #endif
57143 main ()
57145 _sqrtl(0);
57147 return 0;
57149 _ACEOF
57150 if ac_fn_cxx_try_compile "$LINENO"; then :
57151 glibcxx_cv_func__sqrtl_use=yes
57152 else
57153 glibcxx_cv_func__sqrtl_use=no
57155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57156 ac_ext=c
57157 ac_cpp='$CPP $CPPFLAGS'
57158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57167 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57169 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57170 for ac_func in _sqrtl
57171 do :
57172 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57173 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57174 cat >>confdefs.h <<_ACEOF
57175 #define HAVE__SQRTL 1
57176 _ACEOF
57179 done
57188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57189 $as_echo_n "checking for sincosl declaration... " >&6; }
57190 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57191 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57192 $as_echo_n "(cached) " >&6
57193 else
57196 ac_ext=cpp
57197 ac_cpp='$CXXCPP $CPPFLAGS'
57198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57203 /* end confdefs.h. */
57204 #include <math.h>
57206 main ()
57208 sincosl(0, 0, 0);
57210 return 0;
57212 _ACEOF
57213 if ac_fn_cxx_try_compile "$LINENO"; then :
57214 glibcxx_cv_func_sincosl_use=yes
57215 else
57216 glibcxx_cv_func_sincosl_use=no
57218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57219 ac_ext=c
57220 ac_cpp='$CPP $CPPFLAGS'
57221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57230 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57232 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57233 for ac_func in sincosl
57234 do :
57235 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57236 if test "x$ac_cv_func_sincosl" = x""yes; then :
57237 cat >>confdefs.h <<_ACEOF
57238 #define HAVE_SINCOSL 1
57239 _ACEOF
57242 done
57244 else
57246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57247 $as_echo_n "checking for _sincosl declaration... " >&6; }
57248 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57249 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57250 $as_echo_n "(cached) " >&6
57251 else
57254 ac_ext=cpp
57255 ac_cpp='$CXXCPP $CPPFLAGS'
57256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57261 /* end confdefs.h. */
57262 #include <math.h>
57264 main ()
57266 _sincosl(0, 0, 0);
57268 return 0;
57270 _ACEOF
57271 if ac_fn_cxx_try_compile "$LINENO"; then :
57272 glibcxx_cv_func__sincosl_use=yes
57273 else
57274 glibcxx_cv_func__sincosl_use=no
57276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57277 ac_ext=c
57278 ac_cpp='$CPP $CPPFLAGS'
57279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57288 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57290 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57291 for ac_func in _sincosl
57292 do :
57293 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57294 if test "x$ac_cv_func__sincosl" = x""yes; then :
57295 cat >>confdefs.h <<_ACEOF
57296 #define HAVE__SINCOSL 1
57297 _ACEOF
57300 done
57309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57310 $as_echo_n "checking for finitel declaration... " >&6; }
57311 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57312 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57313 $as_echo_n "(cached) " >&6
57314 else
57317 ac_ext=cpp
57318 ac_cpp='$CXXCPP $CPPFLAGS'
57319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57324 /* end confdefs.h. */
57325 #include <math.h>
57326 #ifdef HAVE_IEEEFP_H
57327 #include <ieeefp.h>
57328 #endif
57331 main ()
57333 finitel(0);
57335 return 0;
57337 _ACEOF
57338 if ac_fn_cxx_try_compile "$LINENO"; then :
57339 glibcxx_cv_func_finitel_use=yes
57340 else
57341 glibcxx_cv_func_finitel_use=no
57343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57344 ac_ext=c
57345 ac_cpp='$CPP $CPPFLAGS'
57346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57355 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57357 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57358 for ac_func in finitel
57359 do :
57360 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57361 if test "x$ac_cv_func_finitel" = x""yes; then :
57362 cat >>confdefs.h <<_ACEOF
57363 #define HAVE_FINITEL 1
57364 _ACEOF
57367 done
57369 else
57371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57372 $as_echo_n "checking for _finitel declaration... " >&6; }
57373 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57374 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57375 $as_echo_n "(cached) " >&6
57376 else
57379 ac_ext=cpp
57380 ac_cpp='$CXXCPP $CPPFLAGS'
57381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57386 /* end confdefs.h. */
57387 #include <math.h>
57388 #ifdef HAVE_IEEEFP_H
57389 #include <ieeefp.h>
57390 #endif
57393 main ()
57395 _finitel(0);
57397 return 0;
57399 _ACEOF
57400 if ac_fn_cxx_try_compile "$LINENO"; then :
57401 glibcxx_cv_func__finitel_use=yes
57402 else
57403 glibcxx_cv_func__finitel_use=no
57405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57406 ac_ext=c
57407 ac_cpp='$CPP $CPPFLAGS'
57408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57417 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57419 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57420 for ac_func in _finitel
57421 do :
57422 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57423 if test "x$ac_cv_func__finitel" = x""yes; then :
57424 cat >>confdefs.h <<_ACEOF
57425 #define HAVE__FINITEL 1
57426 _ACEOF
57429 done
57437 LIBS="$ac_save_LIBS"
57438 CXXFLAGS="$ac_save_CXXFLAGS"
57441 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57442 ac_save_CXXFLAGS="$CXXFLAGS"
57443 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57447 $as_echo_n "checking for strtold declaration... " >&6; }
57448 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57449 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57450 $as_echo_n "(cached) " >&6
57451 else
57454 ac_ext=cpp
57455 ac_cpp='$CXXCPP $CPPFLAGS'
57456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57461 /* end confdefs.h. */
57462 #include <stdlib.h>
57464 main ()
57466 strtold(0, 0);
57468 return 0;
57470 _ACEOF
57471 if ac_fn_cxx_try_compile "$LINENO"; then :
57472 glibcxx_cv_func_strtold_use=yes
57473 else
57474 glibcxx_cv_func_strtold_use=no
57476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57477 ac_ext=c
57478 ac_cpp='$CPP $CPPFLAGS'
57479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57488 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57489 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57490 for ac_func in strtold
57491 do :
57492 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57493 if test "x$ac_cv_func_strtold" = x""yes; then :
57494 cat >>confdefs.h <<_ACEOF
57495 #define HAVE_STRTOLD 1
57496 _ACEOF
57499 done
57506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57507 $as_echo_n "checking for strtof declaration... " >&6; }
57508 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57509 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57510 $as_echo_n "(cached) " >&6
57511 else
57514 ac_ext=cpp
57515 ac_cpp='$CXXCPP $CPPFLAGS'
57516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57521 /* end confdefs.h. */
57522 #include <stdlib.h>
57524 main ()
57526 strtof(0, 0);
57528 return 0;
57530 _ACEOF
57531 if ac_fn_cxx_try_compile "$LINENO"; then :
57532 glibcxx_cv_func_strtof_use=yes
57533 else
57534 glibcxx_cv_func_strtof_use=no
57536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57537 ac_ext=c
57538 ac_cpp='$CPP $CPPFLAGS'
57539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57548 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57549 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57550 for ac_func in strtof
57551 do :
57552 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57553 if test "x$ac_cv_func_strtof" = x""yes; then :
57554 cat >>confdefs.h <<_ACEOF
57555 #define HAVE_STRTOF 1
57556 _ACEOF
57559 done
57566 CXXFLAGS="$ac_save_CXXFLAGS"
57569 *-netbsd*)
57570 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57573 # If we're not using GNU ld, then there's no point in even trying these
57574 # tests. Check for that first. We should have already tested for gld
57575 # by now (in libtool), but require it now just to be safe...
57576 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57577 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57581 # The name set by libtool depends on the version of libtool. Shame on us
57582 # for depending on an impl detail, but c'est la vie. Older versions used
57583 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57584 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57585 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57586 # set (hence we're using an older libtool), then set it.
57587 if test x${with_gnu_ld+set} != xset; then
57588 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57589 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57590 with_gnu_ld=no
57591 else
57592 with_gnu_ld=$ac_cv_prog_gnu_ld
57596 # Start by getting the version number. I think the libtool test already
57597 # does some of this, but throws away the result.
57598 glibcxx_ld_is_gold=no
57599 if test x"$with_gnu_ld" = x"yes"; then
57600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57601 $as_echo_n "checking for ld version... " >&6; }
57603 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57604 glibcxx_ld_is_gold=yes
57606 ldver=`$LD --version 2>/dev/null |
57607 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'`
57609 glibcxx_gnu_ld_version=`echo $ldver | \
57610 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57612 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57615 # Set --gc-sections.
57616 glibcxx_have_gc_sections=no
57617 if test "$glibcxx_ld_is_gold" = "yes"; then
57618 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57619 glibcxx_have_gc_sections=yes
57621 else
57622 glibcxx_gcsections_min_ld=21602
57623 if test x"$with_gnu_ld" = x"yes" &&
57624 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57625 glibcxx_have_gc_sections=yes
57628 if test "$glibcxx_have_gc_sections" = "yes"; then
57629 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57630 # NB: This flag only works reliably after 2.16.1. Configure tests
57631 # for this are difficult, so hard wire a value that should work.
57633 ac_test_CFLAGS="${CFLAGS+set}"
57634 ac_save_CFLAGS="$CFLAGS"
57635 CFLAGS='-Wl,--gc-sections'
57637 # Check for -Wl,--gc-sections
57638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57639 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57640 if test x$gcc_no_link = xyes; then
57641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57644 /* end confdefs.h. */
57645 int one(void) { return 1; }
57646 int two(void) { return 2; }
57649 main ()
57651 two();
57653 return 0;
57655 _ACEOF
57656 if ac_fn_c_try_link "$LINENO"; then :
57657 ac_gcsections=yes
57658 else
57659 ac_gcsections=no
57661 rm -f core conftest.err conftest.$ac_objext \
57662 conftest$ac_exeext conftest.$ac_ext
57663 if test "$ac_gcsections" = "yes"; then
57664 rm -f conftest.c
57665 touch conftest.c
57666 if $CC -c conftest.c; then
57667 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57668 grep "Warning: gc-sections option ignored" > /dev/null; then
57669 ac_gcsections=no
57672 rm -f conftest.c conftest.o conftest
57674 if test "$ac_gcsections" = "yes"; then
57675 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57678 $as_echo "$ac_gcsections" >&6; }
57680 if test "$ac_test_CFLAGS" = set; then
57681 CFLAGS="$ac_save_CFLAGS"
57682 else
57683 # this is the suspicious part
57684 CFLAGS=''
57688 # Set -z,relro.
57689 # Note this is only for shared objects.
57690 ac_ld_relro=no
57691 if test x"$with_gnu_ld" = x"yes"; then
57692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57693 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57694 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57695 if test -n "$cxx_z_relo"; then
57696 OPT_LDFLAGS="-Wl,-z,relro"
57697 ac_ld_relro=yes
57699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57700 $as_echo "$ac_ld_relro" >&6; }
57703 # Set linker optimization flags.
57704 if test x"$with_gnu_ld" = x"yes"; then
57705 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57711 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57713 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57715 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57717 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57719 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57721 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57723 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57725 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57727 if test x"long_double_math_on_this_cpu" = x"yes"; then
57728 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57730 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57732 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57736 *-qnx6.1* | *-qnx6.2*)
57737 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57740 # If we're not using GNU ld, then there's no point in even trying these
57741 # tests. Check for that first. We should have already tested for gld
57742 # by now (in libtool), but require it now just to be safe...
57743 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57744 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57748 # The name set by libtool depends on the version of libtool. Shame on us
57749 # for depending on an impl detail, but c'est la vie. Older versions used
57750 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57751 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57752 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57753 # set (hence we're using an older libtool), then set it.
57754 if test x${with_gnu_ld+set} != xset; then
57755 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57756 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57757 with_gnu_ld=no
57758 else
57759 with_gnu_ld=$ac_cv_prog_gnu_ld
57763 # Start by getting the version number. I think the libtool test already
57764 # does some of this, but throws away the result.
57765 glibcxx_ld_is_gold=no
57766 if test x"$with_gnu_ld" = x"yes"; then
57767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57768 $as_echo_n "checking for ld version... " >&6; }
57770 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57771 glibcxx_ld_is_gold=yes
57773 ldver=`$LD --version 2>/dev/null |
57774 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'`
57776 glibcxx_gnu_ld_version=`echo $ldver | \
57777 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57779 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57782 # Set --gc-sections.
57783 glibcxx_have_gc_sections=no
57784 if test "$glibcxx_ld_is_gold" = "yes"; then
57785 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57786 glibcxx_have_gc_sections=yes
57788 else
57789 glibcxx_gcsections_min_ld=21602
57790 if test x"$with_gnu_ld" = x"yes" &&
57791 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57792 glibcxx_have_gc_sections=yes
57795 if test "$glibcxx_have_gc_sections" = "yes"; then
57796 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57797 # NB: This flag only works reliably after 2.16.1. Configure tests
57798 # for this are difficult, so hard wire a value that should work.
57800 ac_test_CFLAGS="${CFLAGS+set}"
57801 ac_save_CFLAGS="$CFLAGS"
57802 CFLAGS='-Wl,--gc-sections'
57804 # Check for -Wl,--gc-sections
57805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57806 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57807 if test x$gcc_no_link = xyes; then
57808 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57811 /* end confdefs.h. */
57812 int one(void) { return 1; }
57813 int two(void) { return 2; }
57816 main ()
57818 two();
57820 return 0;
57822 _ACEOF
57823 if ac_fn_c_try_link "$LINENO"; then :
57824 ac_gcsections=yes
57825 else
57826 ac_gcsections=no
57828 rm -f core conftest.err conftest.$ac_objext \
57829 conftest$ac_exeext conftest.$ac_ext
57830 if test "$ac_gcsections" = "yes"; then
57831 rm -f conftest.c
57832 touch conftest.c
57833 if $CC -c conftest.c; then
57834 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57835 grep "Warning: gc-sections option ignored" > /dev/null; then
57836 ac_gcsections=no
57839 rm -f conftest.c conftest.o conftest
57841 if test "$ac_gcsections" = "yes"; then
57842 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57845 $as_echo "$ac_gcsections" >&6; }
57847 if test "$ac_test_CFLAGS" = set; then
57848 CFLAGS="$ac_save_CFLAGS"
57849 else
57850 # this is the suspicious part
57851 CFLAGS=''
57855 # Set -z,relro.
57856 # Note this is only for shared objects.
57857 ac_ld_relro=no
57858 if test x"$with_gnu_ld" = x"yes"; then
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57860 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57861 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57862 if test -n "$cxx_z_relo"; then
57863 OPT_LDFLAGS="-Wl,-z,relro"
57864 ac_ld_relro=yes
57866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57867 $as_echo "$ac_ld_relro" >&6; }
57870 # Set linker optimization flags.
57871 if test x"$with_gnu_ld" = x"yes"; then
57872 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57878 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57880 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57882 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57884 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57886 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57888 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57890 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57892 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57894 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57896 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57898 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57900 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57903 *-rtems*)
57905 # All these tests are for C++; save the language and the compiler flags.
57906 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57907 # found in GLIBCXX_CONFIGURE.
57909 ac_ext=cpp
57910 ac_cpp='$CXXCPP $CPPFLAGS'
57911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57915 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57916 ac_save_CXXFLAGS="$CXXFLAGS"
57918 # Check for maintainer-mode bits.
57919 if test x"$USE_MAINTAINER_MODE" = xno; then
57920 WERROR=''
57921 else
57922 WERROR='-Werror'
57925 # Check for -ffunction-sections -fdata-sections
57926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57927 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57928 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57930 /* end confdefs.h. */
57931 int foo; void bar() { };
57933 main ()
57937 return 0;
57939 _ACEOF
57940 if ac_fn_cxx_try_compile "$LINENO"; then :
57941 ac_fdsections=yes
57942 else
57943 ac_fdsections=no
57945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57946 if test "$ac_test_CXXFLAGS" = set; then
57947 CXXFLAGS="$ac_save_CXXFLAGS"
57948 else
57949 # this is the suspicious part
57950 CXXFLAGS=''
57952 if test x"$ac_fdsections" = x"yes"; then
57953 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57956 $as_echo "$ac_fdsections" >&6; }
57958 ac_ext=c
57959 ac_cpp='$CPP $CPPFLAGS'
57960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57968 # If we're not using GNU ld, then there's no point in even trying these
57969 # tests. Check for that first. We should have already tested for gld
57970 # by now (in libtool), but require it now just to be safe...
57971 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57972 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57976 # The name set by libtool depends on the version of libtool. Shame on us
57977 # for depending on an impl detail, but c'est la vie. Older versions used
57978 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57979 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57980 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57981 # set (hence we're using an older libtool), then set it.
57982 if test x${with_gnu_ld+set} != xset; then
57983 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57984 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57985 with_gnu_ld=no
57986 else
57987 with_gnu_ld=$ac_cv_prog_gnu_ld
57991 # Start by getting the version number. I think the libtool test already
57992 # does some of this, but throws away the result.
57993 glibcxx_ld_is_gold=no
57994 if test x"$with_gnu_ld" = x"yes"; then
57995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57996 $as_echo_n "checking for ld version... " >&6; }
57998 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57999 glibcxx_ld_is_gold=yes
58001 ldver=`$LD --version 2>/dev/null |
58002 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'`
58004 glibcxx_gnu_ld_version=`echo $ldver | \
58005 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58007 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58010 # Set --gc-sections.
58011 glibcxx_have_gc_sections=no
58012 if test "$glibcxx_ld_is_gold" = "yes"; then
58013 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58014 glibcxx_have_gc_sections=yes
58016 else
58017 glibcxx_gcsections_min_ld=21602
58018 if test x"$with_gnu_ld" = x"yes" &&
58019 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58020 glibcxx_have_gc_sections=yes
58023 if test "$glibcxx_have_gc_sections" = "yes"; then
58024 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58025 # NB: This flag only works reliably after 2.16.1. Configure tests
58026 # for this are difficult, so hard wire a value that should work.
58028 ac_test_CFLAGS="${CFLAGS+set}"
58029 ac_save_CFLAGS="$CFLAGS"
58030 CFLAGS='-Wl,--gc-sections'
58032 # Check for -Wl,--gc-sections
58033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58034 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58035 if test x$gcc_no_link = xyes; then
58036 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58039 /* end confdefs.h. */
58040 int one(void) { return 1; }
58041 int two(void) { return 2; }
58044 main ()
58046 two();
58048 return 0;
58050 _ACEOF
58051 if ac_fn_c_try_link "$LINENO"; then :
58052 ac_gcsections=yes
58053 else
58054 ac_gcsections=no
58056 rm -f core conftest.err conftest.$ac_objext \
58057 conftest$ac_exeext conftest.$ac_ext
58058 if test "$ac_gcsections" = "yes"; then
58059 rm -f conftest.c
58060 touch conftest.c
58061 if $CC -c conftest.c; then
58062 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58063 grep "Warning: gc-sections option ignored" > /dev/null; then
58064 ac_gcsections=no
58067 rm -f conftest.c conftest.o conftest
58069 if test "$ac_gcsections" = "yes"; then
58070 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58073 $as_echo "$ac_gcsections" >&6; }
58075 if test "$ac_test_CFLAGS" = set; then
58076 CFLAGS="$ac_save_CFLAGS"
58077 else
58078 # this is the suspicious part
58079 CFLAGS=''
58083 # Set -z,relro.
58084 # Note this is only for shared objects.
58085 ac_ld_relro=no
58086 if test x"$with_gnu_ld" = x"yes"; then
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58088 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58089 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58090 if test -n "$cxx_z_relo"; then
58091 OPT_LDFLAGS="-Wl,-z,relro"
58092 ac_ld_relro=yes
58094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58095 $as_echo "$ac_ld_relro" >&6; }
58098 # Set linker optimization flags.
58099 if test x"$with_gnu_ld" = x"yes"; then
58100 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58107 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58108 ac_save_CXXFLAGS="$CXXFLAGS"
58109 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58112 $as_echo_n "checking for sin in -lm... " >&6; }
58113 if test "${ac_cv_lib_m_sin+set}" = set; then :
58114 $as_echo_n "(cached) " >&6
58115 else
58116 ac_check_lib_save_LIBS=$LIBS
58117 LIBS="-lm $LIBS"
58118 if test x$gcc_no_link = xyes; then
58119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58122 /* end confdefs.h. */
58124 /* Override any GCC internal prototype to avoid an error.
58125 Use char because int might match the return type of a GCC
58126 builtin and then its argument prototype would still apply. */
58127 #ifdef __cplusplus
58128 extern "C"
58129 #endif
58130 char sin ();
58132 main ()
58134 return sin ();
58136 return 0;
58138 _ACEOF
58139 if ac_fn_c_try_link "$LINENO"; then :
58140 ac_cv_lib_m_sin=yes
58141 else
58142 ac_cv_lib_m_sin=no
58144 rm -f core conftest.err conftest.$ac_objext \
58145 conftest$ac_exeext conftest.$ac_ext
58146 LIBS=$ac_check_lib_save_LIBS
58148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58149 $as_echo "$ac_cv_lib_m_sin" >&6; }
58150 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58151 libm="-lm"
58154 ac_save_LIBS="$LIBS"
58155 LIBS="$LIBS $libm"
58159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58160 $as_echo_n "checking for isinf declaration... " >&6; }
58161 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58162 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58163 $as_echo_n "(cached) " >&6
58164 else
58167 ac_ext=cpp
58168 ac_cpp='$CXXCPP $CPPFLAGS'
58169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58174 /* end confdefs.h. */
58175 #include <math.h>
58176 #ifdef HAVE_IEEEFP_H
58177 #include <ieeefp.h>
58178 #endif
58181 main ()
58183 isinf(0);
58185 return 0;
58187 _ACEOF
58188 if ac_fn_cxx_try_compile "$LINENO"; then :
58189 glibcxx_cv_func_isinf_use=yes
58190 else
58191 glibcxx_cv_func_isinf_use=no
58193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58194 ac_ext=c
58195 ac_cpp='$CPP $CPPFLAGS'
58196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58205 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58207 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58208 for ac_func in isinf
58209 do :
58210 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58211 if test "x$ac_cv_func_isinf" = x""yes; then :
58212 cat >>confdefs.h <<_ACEOF
58213 #define HAVE_ISINF 1
58214 _ACEOF
58217 done
58219 else
58221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58222 $as_echo_n "checking for _isinf declaration... " >&6; }
58223 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58224 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58225 $as_echo_n "(cached) " >&6
58226 else
58229 ac_ext=cpp
58230 ac_cpp='$CXXCPP $CPPFLAGS'
58231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58236 /* end confdefs.h. */
58237 #include <math.h>
58238 #ifdef HAVE_IEEEFP_H
58239 #include <ieeefp.h>
58240 #endif
58243 main ()
58245 _isinf(0);
58247 return 0;
58249 _ACEOF
58250 if ac_fn_cxx_try_compile "$LINENO"; then :
58251 glibcxx_cv_func__isinf_use=yes
58252 else
58253 glibcxx_cv_func__isinf_use=no
58255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58256 ac_ext=c
58257 ac_cpp='$CPP $CPPFLAGS'
58258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58267 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58269 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58270 for ac_func in _isinf
58271 do :
58272 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58273 if test "x$ac_cv_func__isinf" = x""yes; then :
58274 cat >>confdefs.h <<_ACEOF
58275 #define HAVE__ISINF 1
58276 _ACEOF
58279 done
58288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58289 $as_echo_n "checking for isnan declaration... " >&6; }
58290 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58291 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58292 $as_echo_n "(cached) " >&6
58293 else
58296 ac_ext=cpp
58297 ac_cpp='$CXXCPP $CPPFLAGS'
58298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58303 /* end confdefs.h. */
58304 #include <math.h>
58305 #ifdef HAVE_IEEEFP_H
58306 #include <ieeefp.h>
58307 #endif
58310 main ()
58312 isnan(0);
58314 return 0;
58316 _ACEOF
58317 if ac_fn_cxx_try_compile "$LINENO"; then :
58318 glibcxx_cv_func_isnan_use=yes
58319 else
58320 glibcxx_cv_func_isnan_use=no
58322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58323 ac_ext=c
58324 ac_cpp='$CPP $CPPFLAGS'
58325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58334 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58336 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58337 for ac_func in isnan
58338 do :
58339 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58340 if test "x$ac_cv_func_isnan" = x""yes; then :
58341 cat >>confdefs.h <<_ACEOF
58342 #define HAVE_ISNAN 1
58343 _ACEOF
58346 done
58348 else
58350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58351 $as_echo_n "checking for _isnan declaration... " >&6; }
58352 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58353 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58354 $as_echo_n "(cached) " >&6
58355 else
58358 ac_ext=cpp
58359 ac_cpp='$CXXCPP $CPPFLAGS'
58360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58365 /* end confdefs.h. */
58366 #include <math.h>
58367 #ifdef HAVE_IEEEFP_H
58368 #include <ieeefp.h>
58369 #endif
58372 main ()
58374 _isnan(0);
58376 return 0;
58378 _ACEOF
58379 if ac_fn_cxx_try_compile "$LINENO"; then :
58380 glibcxx_cv_func__isnan_use=yes
58381 else
58382 glibcxx_cv_func__isnan_use=no
58384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58385 ac_ext=c
58386 ac_cpp='$CPP $CPPFLAGS'
58387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58396 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58398 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58399 for ac_func in _isnan
58400 do :
58401 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58402 if test "x$ac_cv_func__isnan" = x""yes; then :
58403 cat >>confdefs.h <<_ACEOF
58404 #define HAVE__ISNAN 1
58405 _ACEOF
58408 done
58417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58418 $as_echo_n "checking for finite declaration... " >&6; }
58419 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58420 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58421 $as_echo_n "(cached) " >&6
58422 else
58425 ac_ext=cpp
58426 ac_cpp='$CXXCPP $CPPFLAGS'
58427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58432 /* end confdefs.h. */
58433 #include <math.h>
58434 #ifdef HAVE_IEEEFP_H
58435 #include <ieeefp.h>
58436 #endif
58439 main ()
58441 finite(0);
58443 return 0;
58445 _ACEOF
58446 if ac_fn_cxx_try_compile "$LINENO"; then :
58447 glibcxx_cv_func_finite_use=yes
58448 else
58449 glibcxx_cv_func_finite_use=no
58451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58452 ac_ext=c
58453 ac_cpp='$CPP $CPPFLAGS'
58454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58463 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58465 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58466 for ac_func in finite
58467 do :
58468 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58469 if test "x$ac_cv_func_finite" = x""yes; then :
58470 cat >>confdefs.h <<_ACEOF
58471 #define HAVE_FINITE 1
58472 _ACEOF
58475 done
58477 else
58479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58480 $as_echo_n "checking for _finite declaration... " >&6; }
58481 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58482 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58483 $as_echo_n "(cached) " >&6
58484 else
58487 ac_ext=cpp
58488 ac_cpp='$CXXCPP $CPPFLAGS'
58489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58494 /* end confdefs.h. */
58495 #include <math.h>
58496 #ifdef HAVE_IEEEFP_H
58497 #include <ieeefp.h>
58498 #endif
58501 main ()
58503 _finite(0);
58505 return 0;
58507 _ACEOF
58508 if ac_fn_cxx_try_compile "$LINENO"; then :
58509 glibcxx_cv_func__finite_use=yes
58510 else
58511 glibcxx_cv_func__finite_use=no
58513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58514 ac_ext=c
58515 ac_cpp='$CPP $CPPFLAGS'
58516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58525 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58527 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58528 for ac_func in _finite
58529 do :
58530 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58531 if test "x$ac_cv_func__finite" = x""yes; then :
58532 cat >>confdefs.h <<_ACEOF
58533 #define HAVE__FINITE 1
58534 _ACEOF
58537 done
58546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58547 $as_echo_n "checking for sincos declaration... " >&6; }
58548 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58549 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58550 $as_echo_n "(cached) " >&6
58551 else
58554 ac_ext=cpp
58555 ac_cpp='$CXXCPP $CPPFLAGS'
58556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58561 /* end confdefs.h. */
58562 #include <math.h>
58564 main ()
58566 sincos(0, 0, 0);
58568 return 0;
58570 _ACEOF
58571 if ac_fn_cxx_try_compile "$LINENO"; then :
58572 glibcxx_cv_func_sincos_use=yes
58573 else
58574 glibcxx_cv_func_sincos_use=no
58576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58577 ac_ext=c
58578 ac_cpp='$CPP $CPPFLAGS'
58579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58588 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58590 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58591 for ac_func in sincos
58592 do :
58593 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58594 if test "x$ac_cv_func_sincos" = x""yes; then :
58595 cat >>confdefs.h <<_ACEOF
58596 #define HAVE_SINCOS 1
58597 _ACEOF
58600 done
58602 else
58604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58605 $as_echo_n "checking for _sincos declaration... " >&6; }
58606 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58607 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58608 $as_echo_n "(cached) " >&6
58609 else
58612 ac_ext=cpp
58613 ac_cpp='$CXXCPP $CPPFLAGS'
58614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58619 /* end confdefs.h. */
58620 #include <math.h>
58622 main ()
58624 _sincos(0, 0, 0);
58626 return 0;
58628 _ACEOF
58629 if ac_fn_cxx_try_compile "$LINENO"; then :
58630 glibcxx_cv_func__sincos_use=yes
58631 else
58632 glibcxx_cv_func__sincos_use=no
58634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58635 ac_ext=c
58636 ac_cpp='$CPP $CPPFLAGS'
58637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58646 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58648 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58649 for ac_func in _sincos
58650 do :
58651 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58652 if test "x$ac_cv_func__sincos" = x""yes; then :
58653 cat >>confdefs.h <<_ACEOF
58654 #define HAVE__SINCOS 1
58655 _ACEOF
58658 done
58667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58668 $as_echo_n "checking for fpclass declaration... " >&6; }
58669 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58670 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58671 $as_echo_n "(cached) " >&6
58672 else
58675 ac_ext=cpp
58676 ac_cpp='$CXXCPP $CPPFLAGS'
58677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58682 /* end confdefs.h. */
58683 #include <math.h>
58684 #ifdef HAVE_IEEEFP_H
58685 #include <ieeefp.h>
58686 #endif
58689 main ()
58691 fpclass(0);
58693 return 0;
58695 _ACEOF
58696 if ac_fn_cxx_try_compile "$LINENO"; then :
58697 glibcxx_cv_func_fpclass_use=yes
58698 else
58699 glibcxx_cv_func_fpclass_use=no
58701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58702 ac_ext=c
58703 ac_cpp='$CPP $CPPFLAGS'
58704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58713 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58715 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58716 for ac_func in fpclass
58717 do :
58718 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58719 if test "x$ac_cv_func_fpclass" = x""yes; then :
58720 cat >>confdefs.h <<_ACEOF
58721 #define HAVE_FPCLASS 1
58722 _ACEOF
58725 done
58727 else
58729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58730 $as_echo_n "checking for _fpclass declaration... " >&6; }
58731 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58732 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58733 $as_echo_n "(cached) " >&6
58734 else
58737 ac_ext=cpp
58738 ac_cpp='$CXXCPP $CPPFLAGS'
58739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58744 /* end confdefs.h. */
58745 #include <math.h>
58746 #ifdef HAVE_IEEEFP_H
58747 #include <ieeefp.h>
58748 #endif
58751 main ()
58753 _fpclass(0);
58755 return 0;
58757 _ACEOF
58758 if ac_fn_cxx_try_compile "$LINENO"; then :
58759 glibcxx_cv_func__fpclass_use=yes
58760 else
58761 glibcxx_cv_func__fpclass_use=no
58763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58764 ac_ext=c
58765 ac_cpp='$CPP $CPPFLAGS'
58766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58775 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58777 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58778 for ac_func in _fpclass
58779 do :
58780 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58781 if test "x$ac_cv_func__fpclass" = x""yes; then :
58782 cat >>confdefs.h <<_ACEOF
58783 #define HAVE__FPCLASS 1
58784 _ACEOF
58787 done
58796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58797 $as_echo_n "checking for qfpclass declaration... " >&6; }
58798 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58799 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58800 $as_echo_n "(cached) " >&6
58801 else
58804 ac_ext=cpp
58805 ac_cpp='$CXXCPP $CPPFLAGS'
58806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58811 /* end confdefs.h. */
58812 #include <math.h>
58813 #ifdef HAVE_IEEEFP_H
58814 #include <ieeefp.h>
58815 #endif
58818 main ()
58820 qfpclass(0);
58822 return 0;
58824 _ACEOF
58825 if ac_fn_cxx_try_compile "$LINENO"; then :
58826 glibcxx_cv_func_qfpclass_use=yes
58827 else
58828 glibcxx_cv_func_qfpclass_use=no
58830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58831 ac_ext=c
58832 ac_cpp='$CPP $CPPFLAGS'
58833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58842 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58844 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58845 for ac_func in qfpclass
58846 do :
58847 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58848 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58849 cat >>confdefs.h <<_ACEOF
58850 #define HAVE_QFPCLASS 1
58851 _ACEOF
58854 done
58856 else
58858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58859 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58860 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58861 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58862 $as_echo_n "(cached) " >&6
58863 else
58866 ac_ext=cpp
58867 ac_cpp='$CXXCPP $CPPFLAGS'
58868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58873 /* end confdefs.h. */
58874 #include <math.h>
58875 #ifdef HAVE_IEEEFP_H
58876 #include <ieeefp.h>
58877 #endif
58880 main ()
58882 _qfpclass(0);
58884 return 0;
58886 _ACEOF
58887 if ac_fn_cxx_try_compile "$LINENO"; then :
58888 glibcxx_cv_func__qfpclass_use=yes
58889 else
58890 glibcxx_cv_func__qfpclass_use=no
58892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58893 ac_ext=c
58894 ac_cpp='$CPP $CPPFLAGS'
58895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58904 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58906 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58907 for ac_func in _qfpclass
58908 do :
58909 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58910 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58911 cat >>confdefs.h <<_ACEOF
58912 #define HAVE__QFPCLASS 1
58913 _ACEOF
58916 done
58925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58926 $as_echo_n "checking for hypot declaration... " >&6; }
58927 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58928 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58929 $as_echo_n "(cached) " >&6
58930 else
58933 ac_ext=cpp
58934 ac_cpp='$CXXCPP $CPPFLAGS'
58935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58940 /* end confdefs.h. */
58941 #include <math.h>
58943 main ()
58945 hypot(0, 0);
58947 return 0;
58949 _ACEOF
58950 if ac_fn_cxx_try_compile "$LINENO"; then :
58951 glibcxx_cv_func_hypot_use=yes
58952 else
58953 glibcxx_cv_func_hypot_use=no
58955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58956 ac_ext=c
58957 ac_cpp='$CPP $CPPFLAGS'
58958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58967 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58969 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58970 for ac_func in hypot
58971 do :
58972 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58973 if test "x$ac_cv_func_hypot" = x""yes; then :
58974 cat >>confdefs.h <<_ACEOF
58975 #define HAVE_HYPOT 1
58976 _ACEOF
58979 done
58981 else
58983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58984 $as_echo_n "checking for _hypot declaration... " >&6; }
58985 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58986 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58987 $as_echo_n "(cached) " >&6
58988 else
58991 ac_ext=cpp
58992 ac_cpp='$CXXCPP $CPPFLAGS'
58993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58998 /* end confdefs.h. */
58999 #include <math.h>
59001 main ()
59003 _hypot(0, 0);
59005 return 0;
59007 _ACEOF
59008 if ac_fn_cxx_try_compile "$LINENO"; then :
59009 glibcxx_cv_func__hypot_use=yes
59010 else
59011 glibcxx_cv_func__hypot_use=no
59013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59014 ac_ext=c
59015 ac_cpp='$CPP $CPPFLAGS'
59016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59025 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59027 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59028 for ac_func in _hypot
59029 do :
59030 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59031 if test "x$ac_cv_func__hypot" = x""yes; then :
59032 cat >>confdefs.h <<_ACEOF
59033 #define HAVE__HYPOT 1
59034 _ACEOF
59037 done
59046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59047 $as_echo_n "checking for float trig functions... " >&6; }
59048 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59049 $as_echo_n "(cached) " >&6
59050 else
59053 ac_ext=cpp
59054 ac_cpp='$CXXCPP $CPPFLAGS'
59055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h. */
59061 #include <math.h>
59063 main ()
59065 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59067 return 0;
59069 _ACEOF
59070 if ac_fn_cxx_try_compile "$LINENO"; then :
59071 glibcxx_cv_func_float_trig_use=yes
59072 else
59073 glibcxx_cv_func_float_trig_use=no
59075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59076 ac_ext=c
59077 ac_cpp='$CPP $CPPFLAGS'
59078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59085 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59086 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59087 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59088 do :
59089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59091 eval as_val=\$$as_ac_var
59092 if test "x$as_val" = x""yes; then :
59093 cat >>confdefs.h <<_ACEOF
59094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59095 _ACEOF
59098 done
59100 else
59101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59102 $as_echo_n "checking for _float trig functions... " >&6; }
59103 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59104 $as_echo_n "(cached) " >&6
59105 else
59108 ac_ext=cpp
59109 ac_cpp='$CXXCPP $CPPFLAGS'
59110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59115 /* end confdefs.h. */
59116 #include <math.h>
59118 main ()
59120 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59122 return 0;
59124 _ACEOF
59125 if ac_fn_cxx_try_compile "$LINENO"; then :
59126 glibcxx_cv_func__float_trig_use=yes
59127 else
59128 glibcxx_cv_func__float_trig_use=no
59130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59131 ac_ext=c
59132 ac_cpp='$CPP $CPPFLAGS'
59133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59140 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59141 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59142 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59143 do :
59144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59146 eval as_val=\$$as_ac_var
59147 if test "x$as_val" = x""yes; then :
59148 cat >>confdefs.h <<_ACEOF
59149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59150 _ACEOF
59153 done
59162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59163 $as_echo_n "checking for float round functions... " >&6; }
59164 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59165 $as_echo_n "(cached) " >&6
59166 else
59169 ac_ext=cpp
59170 ac_cpp='$CXXCPP $CPPFLAGS'
59171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59176 /* end confdefs.h. */
59177 #include <math.h>
59179 main ()
59181 ceilf (0); floorf (0);
59183 return 0;
59185 _ACEOF
59186 if ac_fn_cxx_try_compile "$LINENO"; then :
59187 glibcxx_cv_func_float_round_use=yes
59188 else
59189 glibcxx_cv_func_float_round_use=no
59191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59192 ac_ext=c
59193 ac_cpp='$CPP $CPPFLAGS'
59194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59201 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59202 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59203 for ac_func in ceilf floorf
59204 do :
59205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59207 eval as_val=\$$as_ac_var
59208 if test "x$as_val" = x""yes; then :
59209 cat >>confdefs.h <<_ACEOF
59210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59211 _ACEOF
59214 done
59216 else
59217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59218 $as_echo_n "checking for _float round functions... " >&6; }
59219 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59220 $as_echo_n "(cached) " >&6
59221 else
59224 ac_ext=cpp
59225 ac_cpp='$CXXCPP $CPPFLAGS'
59226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59231 /* end confdefs.h. */
59232 #include <math.h>
59234 main ()
59236 _ceilf (0); _floorf (0);
59238 return 0;
59240 _ACEOF
59241 if ac_fn_cxx_try_compile "$LINENO"; then :
59242 glibcxx_cv_func__float_round_use=yes
59243 else
59244 glibcxx_cv_func__float_round_use=no
59246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59247 ac_ext=c
59248 ac_cpp='$CPP $CPPFLAGS'
59249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59256 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59257 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59258 for ac_func in _ceilf _floorf
59259 do :
59260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59262 eval as_val=\$$as_ac_var
59263 if test "x$as_val" = x""yes; then :
59264 cat >>confdefs.h <<_ACEOF
59265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59266 _ACEOF
59269 done
59279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59280 $as_echo_n "checking for expf declaration... " >&6; }
59281 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59282 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59283 $as_echo_n "(cached) " >&6
59284 else
59287 ac_ext=cpp
59288 ac_cpp='$CXXCPP $CPPFLAGS'
59289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59294 /* end confdefs.h. */
59295 #include <math.h>
59296 #ifdef HAVE_IEEEFP_H
59297 #include <ieeefp.h>
59298 #endif
59301 main ()
59303 expf(0);
59305 return 0;
59307 _ACEOF
59308 if ac_fn_cxx_try_compile "$LINENO"; then :
59309 glibcxx_cv_func_expf_use=yes
59310 else
59311 glibcxx_cv_func_expf_use=no
59313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59314 ac_ext=c
59315 ac_cpp='$CPP $CPPFLAGS'
59316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59325 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59327 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59328 for ac_func in expf
59329 do :
59330 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59331 if test "x$ac_cv_func_expf" = x""yes; then :
59332 cat >>confdefs.h <<_ACEOF
59333 #define HAVE_EXPF 1
59334 _ACEOF
59337 done
59339 else
59341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59342 $as_echo_n "checking for _expf declaration... " >&6; }
59343 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59344 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59345 $as_echo_n "(cached) " >&6
59346 else
59349 ac_ext=cpp
59350 ac_cpp='$CXXCPP $CPPFLAGS'
59351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59356 /* end confdefs.h. */
59357 #include <math.h>
59358 #ifdef HAVE_IEEEFP_H
59359 #include <ieeefp.h>
59360 #endif
59363 main ()
59365 _expf(0);
59367 return 0;
59369 _ACEOF
59370 if ac_fn_cxx_try_compile "$LINENO"; then :
59371 glibcxx_cv_func__expf_use=yes
59372 else
59373 glibcxx_cv_func__expf_use=no
59375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59376 ac_ext=c
59377 ac_cpp='$CPP $CPPFLAGS'
59378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59387 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59389 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59390 for ac_func in _expf
59391 do :
59392 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59393 if test "x$ac_cv_func__expf" = x""yes; then :
59394 cat >>confdefs.h <<_ACEOF
59395 #define HAVE__EXPF 1
59396 _ACEOF
59399 done
59408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59409 $as_echo_n "checking for isnanf declaration... " >&6; }
59410 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59411 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59412 $as_echo_n "(cached) " >&6
59413 else
59416 ac_ext=cpp
59417 ac_cpp='$CXXCPP $CPPFLAGS'
59418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59423 /* end confdefs.h. */
59424 #include <math.h>
59425 #ifdef HAVE_IEEEFP_H
59426 #include <ieeefp.h>
59427 #endif
59430 main ()
59432 isnanf(0);
59434 return 0;
59436 _ACEOF
59437 if ac_fn_cxx_try_compile "$LINENO"; then :
59438 glibcxx_cv_func_isnanf_use=yes
59439 else
59440 glibcxx_cv_func_isnanf_use=no
59442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59443 ac_ext=c
59444 ac_cpp='$CPP $CPPFLAGS'
59445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59454 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59456 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59457 for ac_func in isnanf
59458 do :
59459 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59460 if test "x$ac_cv_func_isnanf" = x""yes; then :
59461 cat >>confdefs.h <<_ACEOF
59462 #define HAVE_ISNANF 1
59463 _ACEOF
59466 done
59468 else
59470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59471 $as_echo_n "checking for _isnanf declaration... " >&6; }
59472 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59473 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59474 $as_echo_n "(cached) " >&6
59475 else
59478 ac_ext=cpp
59479 ac_cpp='$CXXCPP $CPPFLAGS'
59480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59485 /* end confdefs.h. */
59486 #include <math.h>
59487 #ifdef HAVE_IEEEFP_H
59488 #include <ieeefp.h>
59489 #endif
59492 main ()
59494 _isnanf(0);
59496 return 0;
59498 _ACEOF
59499 if ac_fn_cxx_try_compile "$LINENO"; then :
59500 glibcxx_cv_func__isnanf_use=yes
59501 else
59502 glibcxx_cv_func__isnanf_use=no
59504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59505 ac_ext=c
59506 ac_cpp='$CPP $CPPFLAGS'
59507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59516 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59518 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59519 for ac_func in _isnanf
59520 do :
59521 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59522 if test "x$ac_cv_func__isnanf" = x""yes; then :
59523 cat >>confdefs.h <<_ACEOF
59524 #define HAVE__ISNANF 1
59525 _ACEOF
59528 done
59537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59538 $as_echo_n "checking for isinff declaration... " >&6; }
59539 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59540 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59541 $as_echo_n "(cached) " >&6
59542 else
59545 ac_ext=cpp
59546 ac_cpp='$CXXCPP $CPPFLAGS'
59547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59552 /* end confdefs.h. */
59553 #include <math.h>
59554 #ifdef HAVE_IEEEFP_H
59555 #include <ieeefp.h>
59556 #endif
59559 main ()
59561 isinff(0);
59563 return 0;
59565 _ACEOF
59566 if ac_fn_cxx_try_compile "$LINENO"; then :
59567 glibcxx_cv_func_isinff_use=yes
59568 else
59569 glibcxx_cv_func_isinff_use=no
59571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59572 ac_ext=c
59573 ac_cpp='$CPP $CPPFLAGS'
59574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59583 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59585 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59586 for ac_func in isinff
59587 do :
59588 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59589 if test "x$ac_cv_func_isinff" = x""yes; then :
59590 cat >>confdefs.h <<_ACEOF
59591 #define HAVE_ISINFF 1
59592 _ACEOF
59595 done
59597 else
59599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59600 $as_echo_n "checking for _isinff declaration... " >&6; }
59601 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59602 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59603 $as_echo_n "(cached) " >&6
59604 else
59607 ac_ext=cpp
59608 ac_cpp='$CXXCPP $CPPFLAGS'
59609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59614 /* end confdefs.h. */
59615 #include <math.h>
59616 #ifdef HAVE_IEEEFP_H
59617 #include <ieeefp.h>
59618 #endif
59621 main ()
59623 _isinff(0);
59625 return 0;
59627 _ACEOF
59628 if ac_fn_cxx_try_compile "$LINENO"; then :
59629 glibcxx_cv_func__isinff_use=yes
59630 else
59631 glibcxx_cv_func__isinff_use=no
59633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59634 ac_ext=c
59635 ac_cpp='$CPP $CPPFLAGS'
59636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59645 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59647 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59648 for ac_func in _isinff
59649 do :
59650 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59651 if test "x$ac_cv_func__isinff" = x""yes; then :
59652 cat >>confdefs.h <<_ACEOF
59653 #define HAVE__ISINFF 1
59654 _ACEOF
59657 done
59666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59667 $as_echo_n "checking for atan2f declaration... " >&6; }
59668 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59669 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59670 $as_echo_n "(cached) " >&6
59671 else
59674 ac_ext=cpp
59675 ac_cpp='$CXXCPP $CPPFLAGS'
59676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59681 /* end confdefs.h. */
59682 #include <math.h>
59684 main ()
59686 atan2f(0, 0);
59688 return 0;
59690 _ACEOF
59691 if ac_fn_cxx_try_compile "$LINENO"; then :
59692 glibcxx_cv_func_atan2f_use=yes
59693 else
59694 glibcxx_cv_func_atan2f_use=no
59696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59697 ac_ext=c
59698 ac_cpp='$CPP $CPPFLAGS'
59699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59708 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59710 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59711 for ac_func in atan2f
59712 do :
59713 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59714 if test "x$ac_cv_func_atan2f" = x""yes; then :
59715 cat >>confdefs.h <<_ACEOF
59716 #define HAVE_ATAN2F 1
59717 _ACEOF
59720 done
59722 else
59724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59725 $as_echo_n "checking for _atan2f declaration... " >&6; }
59726 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59727 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59728 $as_echo_n "(cached) " >&6
59729 else
59732 ac_ext=cpp
59733 ac_cpp='$CXXCPP $CPPFLAGS'
59734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59739 /* end confdefs.h. */
59740 #include <math.h>
59742 main ()
59744 _atan2f(0, 0);
59746 return 0;
59748 _ACEOF
59749 if ac_fn_cxx_try_compile "$LINENO"; then :
59750 glibcxx_cv_func__atan2f_use=yes
59751 else
59752 glibcxx_cv_func__atan2f_use=no
59754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59755 ac_ext=c
59756 ac_cpp='$CPP $CPPFLAGS'
59757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59766 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59768 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59769 for ac_func in _atan2f
59770 do :
59771 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59772 if test "x$ac_cv_func__atan2f" = x""yes; then :
59773 cat >>confdefs.h <<_ACEOF
59774 #define HAVE__ATAN2F 1
59775 _ACEOF
59778 done
59787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59788 $as_echo_n "checking for fabsf declaration... " >&6; }
59789 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59790 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59791 $as_echo_n "(cached) " >&6
59792 else
59795 ac_ext=cpp
59796 ac_cpp='$CXXCPP $CPPFLAGS'
59797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59802 /* end confdefs.h. */
59803 #include <math.h>
59804 #ifdef HAVE_IEEEFP_H
59805 #include <ieeefp.h>
59806 #endif
59809 main ()
59811 fabsf(0);
59813 return 0;
59815 _ACEOF
59816 if ac_fn_cxx_try_compile "$LINENO"; then :
59817 glibcxx_cv_func_fabsf_use=yes
59818 else
59819 glibcxx_cv_func_fabsf_use=no
59821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59822 ac_ext=c
59823 ac_cpp='$CPP $CPPFLAGS'
59824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59833 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59835 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59836 for ac_func in fabsf
59837 do :
59838 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59839 if test "x$ac_cv_func_fabsf" = x""yes; then :
59840 cat >>confdefs.h <<_ACEOF
59841 #define HAVE_FABSF 1
59842 _ACEOF
59845 done
59847 else
59849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59850 $as_echo_n "checking for _fabsf declaration... " >&6; }
59851 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59852 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59853 $as_echo_n "(cached) " >&6
59854 else
59857 ac_ext=cpp
59858 ac_cpp='$CXXCPP $CPPFLAGS'
59859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59864 /* end confdefs.h. */
59865 #include <math.h>
59866 #ifdef HAVE_IEEEFP_H
59867 #include <ieeefp.h>
59868 #endif
59871 main ()
59873 _fabsf(0);
59875 return 0;
59877 _ACEOF
59878 if ac_fn_cxx_try_compile "$LINENO"; then :
59879 glibcxx_cv_func__fabsf_use=yes
59880 else
59881 glibcxx_cv_func__fabsf_use=no
59883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59884 ac_ext=c
59885 ac_cpp='$CPP $CPPFLAGS'
59886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59895 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59897 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59898 for ac_func in _fabsf
59899 do :
59900 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59901 if test "x$ac_cv_func__fabsf" = x""yes; then :
59902 cat >>confdefs.h <<_ACEOF
59903 #define HAVE__FABSF 1
59904 _ACEOF
59907 done
59916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59917 $as_echo_n "checking for fmodf declaration... " >&6; }
59918 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59919 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59920 $as_echo_n "(cached) " >&6
59921 else
59924 ac_ext=cpp
59925 ac_cpp='$CXXCPP $CPPFLAGS'
59926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59931 /* end confdefs.h. */
59932 #include <math.h>
59934 main ()
59936 fmodf(0, 0);
59938 return 0;
59940 _ACEOF
59941 if ac_fn_cxx_try_compile "$LINENO"; then :
59942 glibcxx_cv_func_fmodf_use=yes
59943 else
59944 glibcxx_cv_func_fmodf_use=no
59946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59947 ac_ext=c
59948 ac_cpp='$CPP $CPPFLAGS'
59949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59958 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59960 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59961 for ac_func in fmodf
59962 do :
59963 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59964 if test "x$ac_cv_func_fmodf" = x""yes; then :
59965 cat >>confdefs.h <<_ACEOF
59966 #define HAVE_FMODF 1
59967 _ACEOF
59970 done
59972 else
59974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59975 $as_echo_n "checking for _fmodf declaration... " >&6; }
59976 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59977 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59978 $as_echo_n "(cached) " >&6
59979 else
59982 ac_ext=cpp
59983 ac_cpp='$CXXCPP $CPPFLAGS'
59984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59989 /* end confdefs.h. */
59990 #include <math.h>
59992 main ()
59994 _fmodf(0, 0);
59996 return 0;
59998 _ACEOF
59999 if ac_fn_cxx_try_compile "$LINENO"; then :
60000 glibcxx_cv_func__fmodf_use=yes
60001 else
60002 glibcxx_cv_func__fmodf_use=no
60004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60005 ac_ext=c
60006 ac_cpp='$CPP $CPPFLAGS'
60007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60016 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60018 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60019 for ac_func in _fmodf
60020 do :
60021 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60022 if test "x$ac_cv_func__fmodf" = x""yes; then :
60023 cat >>confdefs.h <<_ACEOF
60024 #define HAVE__FMODF 1
60025 _ACEOF
60028 done
60037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60038 $as_echo_n "checking for frexpf declaration... " >&6; }
60039 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60040 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60041 $as_echo_n "(cached) " >&6
60042 else
60045 ac_ext=cpp
60046 ac_cpp='$CXXCPP $CPPFLAGS'
60047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60052 /* end confdefs.h. */
60053 #include <math.h>
60055 main ()
60057 frexpf(0, 0);
60059 return 0;
60061 _ACEOF
60062 if ac_fn_cxx_try_compile "$LINENO"; then :
60063 glibcxx_cv_func_frexpf_use=yes
60064 else
60065 glibcxx_cv_func_frexpf_use=no
60067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60068 ac_ext=c
60069 ac_cpp='$CPP $CPPFLAGS'
60070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60079 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60081 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60082 for ac_func in frexpf
60083 do :
60084 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60085 if test "x$ac_cv_func_frexpf" = x""yes; then :
60086 cat >>confdefs.h <<_ACEOF
60087 #define HAVE_FREXPF 1
60088 _ACEOF
60091 done
60093 else
60095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60096 $as_echo_n "checking for _frexpf declaration... " >&6; }
60097 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60098 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60099 $as_echo_n "(cached) " >&6
60100 else
60103 ac_ext=cpp
60104 ac_cpp='$CXXCPP $CPPFLAGS'
60105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60110 /* end confdefs.h. */
60111 #include <math.h>
60113 main ()
60115 _frexpf(0, 0);
60117 return 0;
60119 _ACEOF
60120 if ac_fn_cxx_try_compile "$LINENO"; then :
60121 glibcxx_cv_func__frexpf_use=yes
60122 else
60123 glibcxx_cv_func__frexpf_use=no
60125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60126 ac_ext=c
60127 ac_cpp='$CPP $CPPFLAGS'
60128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60137 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60139 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60140 for ac_func in _frexpf
60141 do :
60142 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60143 if test "x$ac_cv_func__frexpf" = x""yes; then :
60144 cat >>confdefs.h <<_ACEOF
60145 #define HAVE__FREXPF 1
60146 _ACEOF
60149 done
60158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60159 $as_echo_n "checking for hypotf declaration... " >&6; }
60160 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60161 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60162 $as_echo_n "(cached) " >&6
60163 else
60166 ac_ext=cpp
60167 ac_cpp='$CXXCPP $CPPFLAGS'
60168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60173 /* end confdefs.h. */
60174 #include <math.h>
60176 main ()
60178 hypotf(0, 0);
60180 return 0;
60182 _ACEOF
60183 if ac_fn_cxx_try_compile "$LINENO"; then :
60184 glibcxx_cv_func_hypotf_use=yes
60185 else
60186 glibcxx_cv_func_hypotf_use=no
60188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60189 ac_ext=c
60190 ac_cpp='$CPP $CPPFLAGS'
60191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60200 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60202 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60203 for ac_func in hypotf
60204 do :
60205 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60206 if test "x$ac_cv_func_hypotf" = x""yes; then :
60207 cat >>confdefs.h <<_ACEOF
60208 #define HAVE_HYPOTF 1
60209 _ACEOF
60212 done
60214 else
60216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60217 $as_echo_n "checking for _hypotf declaration... " >&6; }
60218 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60219 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60220 $as_echo_n "(cached) " >&6
60221 else
60224 ac_ext=cpp
60225 ac_cpp='$CXXCPP $CPPFLAGS'
60226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60231 /* end confdefs.h. */
60232 #include <math.h>
60234 main ()
60236 _hypotf(0, 0);
60238 return 0;
60240 _ACEOF
60241 if ac_fn_cxx_try_compile "$LINENO"; then :
60242 glibcxx_cv_func__hypotf_use=yes
60243 else
60244 glibcxx_cv_func__hypotf_use=no
60246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60247 ac_ext=c
60248 ac_cpp='$CPP $CPPFLAGS'
60249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60258 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60260 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60261 for ac_func in _hypotf
60262 do :
60263 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60264 if test "x$ac_cv_func__hypotf" = x""yes; then :
60265 cat >>confdefs.h <<_ACEOF
60266 #define HAVE__HYPOTF 1
60267 _ACEOF
60270 done
60279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60280 $as_echo_n "checking for ldexpf declaration... " >&6; }
60281 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60282 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60283 $as_echo_n "(cached) " >&6
60284 else
60287 ac_ext=cpp
60288 ac_cpp='$CXXCPP $CPPFLAGS'
60289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60294 /* end confdefs.h. */
60295 #include <math.h>
60297 main ()
60299 ldexpf(0, 0);
60301 return 0;
60303 _ACEOF
60304 if ac_fn_cxx_try_compile "$LINENO"; then :
60305 glibcxx_cv_func_ldexpf_use=yes
60306 else
60307 glibcxx_cv_func_ldexpf_use=no
60309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60310 ac_ext=c
60311 ac_cpp='$CPP $CPPFLAGS'
60312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60321 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60323 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60324 for ac_func in ldexpf
60325 do :
60326 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60327 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60328 cat >>confdefs.h <<_ACEOF
60329 #define HAVE_LDEXPF 1
60330 _ACEOF
60333 done
60335 else
60337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60338 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60339 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60340 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60341 $as_echo_n "(cached) " >&6
60342 else
60345 ac_ext=cpp
60346 ac_cpp='$CXXCPP $CPPFLAGS'
60347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60352 /* end confdefs.h. */
60353 #include <math.h>
60355 main ()
60357 _ldexpf(0, 0);
60359 return 0;
60361 _ACEOF
60362 if ac_fn_cxx_try_compile "$LINENO"; then :
60363 glibcxx_cv_func__ldexpf_use=yes
60364 else
60365 glibcxx_cv_func__ldexpf_use=no
60367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60368 ac_ext=c
60369 ac_cpp='$CPP $CPPFLAGS'
60370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60379 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60381 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60382 for ac_func in _ldexpf
60383 do :
60384 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60385 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60386 cat >>confdefs.h <<_ACEOF
60387 #define HAVE__LDEXPF 1
60388 _ACEOF
60391 done
60400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60401 $as_echo_n "checking for logf declaration... " >&6; }
60402 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60403 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60404 $as_echo_n "(cached) " >&6
60405 else
60408 ac_ext=cpp
60409 ac_cpp='$CXXCPP $CPPFLAGS'
60410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60415 /* end confdefs.h. */
60416 #include <math.h>
60417 #ifdef HAVE_IEEEFP_H
60418 #include <ieeefp.h>
60419 #endif
60422 main ()
60424 logf(0);
60426 return 0;
60428 _ACEOF
60429 if ac_fn_cxx_try_compile "$LINENO"; then :
60430 glibcxx_cv_func_logf_use=yes
60431 else
60432 glibcxx_cv_func_logf_use=no
60434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60435 ac_ext=c
60436 ac_cpp='$CPP $CPPFLAGS'
60437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60446 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60448 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60449 for ac_func in logf
60450 do :
60451 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60452 if test "x$ac_cv_func_logf" = x""yes; then :
60453 cat >>confdefs.h <<_ACEOF
60454 #define HAVE_LOGF 1
60455 _ACEOF
60458 done
60460 else
60462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60463 $as_echo_n "checking for _logf declaration... " >&6; }
60464 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60465 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60466 $as_echo_n "(cached) " >&6
60467 else
60470 ac_ext=cpp
60471 ac_cpp='$CXXCPP $CPPFLAGS'
60472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60477 /* end confdefs.h. */
60478 #include <math.h>
60479 #ifdef HAVE_IEEEFP_H
60480 #include <ieeefp.h>
60481 #endif
60484 main ()
60486 _logf(0);
60488 return 0;
60490 _ACEOF
60491 if ac_fn_cxx_try_compile "$LINENO"; then :
60492 glibcxx_cv_func__logf_use=yes
60493 else
60494 glibcxx_cv_func__logf_use=no
60496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60497 ac_ext=c
60498 ac_cpp='$CPP $CPPFLAGS'
60499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60508 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60510 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60511 for ac_func in _logf
60512 do :
60513 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60514 if test "x$ac_cv_func__logf" = x""yes; then :
60515 cat >>confdefs.h <<_ACEOF
60516 #define HAVE__LOGF 1
60517 _ACEOF
60520 done
60529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60530 $as_echo_n "checking for log10f declaration... " >&6; }
60531 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60532 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60533 $as_echo_n "(cached) " >&6
60534 else
60537 ac_ext=cpp
60538 ac_cpp='$CXXCPP $CPPFLAGS'
60539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60544 /* end confdefs.h. */
60545 #include <math.h>
60546 #ifdef HAVE_IEEEFP_H
60547 #include <ieeefp.h>
60548 #endif
60551 main ()
60553 log10f(0);
60555 return 0;
60557 _ACEOF
60558 if ac_fn_cxx_try_compile "$LINENO"; then :
60559 glibcxx_cv_func_log10f_use=yes
60560 else
60561 glibcxx_cv_func_log10f_use=no
60563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60564 ac_ext=c
60565 ac_cpp='$CPP $CPPFLAGS'
60566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60575 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60577 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60578 for ac_func in log10f
60579 do :
60580 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60581 if test "x$ac_cv_func_log10f" = x""yes; then :
60582 cat >>confdefs.h <<_ACEOF
60583 #define HAVE_LOG10F 1
60584 _ACEOF
60587 done
60589 else
60591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60592 $as_echo_n "checking for _log10f declaration... " >&6; }
60593 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60594 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60595 $as_echo_n "(cached) " >&6
60596 else
60599 ac_ext=cpp
60600 ac_cpp='$CXXCPP $CPPFLAGS'
60601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60606 /* end confdefs.h. */
60607 #include <math.h>
60608 #ifdef HAVE_IEEEFP_H
60609 #include <ieeefp.h>
60610 #endif
60613 main ()
60615 _log10f(0);
60617 return 0;
60619 _ACEOF
60620 if ac_fn_cxx_try_compile "$LINENO"; then :
60621 glibcxx_cv_func__log10f_use=yes
60622 else
60623 glibcxx_cv_func__log10f_use=no
60625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60626 ac_ext=c
60627 ac_cpp='$CPP $CPPFLAGS'
60628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60637 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60639 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60640 for ac_func in _log10f
60641 do :
60642 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60643 if test "x$ac_cv_func__log10f" = x""yes; then :
60644 cat >>confdefs.h <<_ACEOF
60645 #define HAVE__LOG10F 1
60646 _ACEOF
60649 done
60658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60659 $as_echo_n "checking for modff declaration... " >&6; }
60660 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60661 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60662 $as_echo_n "(cached) " >&6
60663 else
60666 ac_ext=cpp
60667 ac_cpp='$CXXCPP $CPPFLAGS'
60668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60673 /* end confdefs.h. */
60674 #include <math.h>
60676 main ()
60678 modff(0, 0);
60680 return 0;
60682 _ACEOF
60683 if ac_fn_cxx_try_compile "$LINENO"; then :
60684 glibcxx_cv_func_modff_use=yes
60685 else
60686 glibcxx_cv_func_modff_use=no
60688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60689 ac_ext=c
60690 ac_cpp='$CPP $CPPFLAGS'
60691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60700 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60702 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60703 for ac_func in modff
60704 do :
60705 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60706 if test "x$ac_cv_func_modff" = x""yes; then :
60707 cat >>confdefs.h <<_ACEOF
60708 #define HAVE_MODFF 1
60709 _ACEOF
60712 done
60714 else
60716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60717 $as_echo_n "checking for _modff declaration... " >&6; }
60718 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60719 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60720 $as_echo_n "(cached) " >&6
60721 else
60724 ac_ext=cpp
60725 ac_cpp='$CXXCPP $CPPFLAGS'
60726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60731 /* end confdefs.h. */
60732 #include <math.h>
60734 main ()
60736 _modff(0, 0);
60738 return 0;
60740 _ACEOF
60741 if ac_fn_cxx_try_compile "$LINENO"; then :
60742 glibcxx_cv_func__modff_use=yes
60743 else
60744 glibcxx_cv_func__modff_use=no
60746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60747 ac_ext=c
60748 ac_cpp='$CPP $CPPFLAGS'
60749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60758 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60760 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60761 for ac_func in _modff
60762 do :
60763 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60764 if test "x$ac_cv_func__modff" = x""yes; then :
60765 cat >>confdefs.h <<_ACEOF
60766 #define HAVE__MODFF 1
60767 _ACEOF
60770 done
60779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60780 $as_echo_n "checking for modf declaration... " >&6; }
60781 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60782 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60783 $as_echo_n "(cached) " >&6
60784 else
60787 ac_ext=cpp
60788 ac_cpp='$CXXCPP $CPPFLAGS'
60789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60794 /* end confdefs.h. */
60795 #include <math.h>
60797 main ()
60799 modf(0, 0);
60801 return 0;
60803 _ACEOF
60804 if ac_fn_cxx_try_compile "$LINENO"; then :
60805 glibcxx_cv_func_modf_use=yes
60806 else
60807 glibcxx_cv_func_modf_use=no
60809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60810 ac_ext=c
60811 ac_cpp='$CPP $CPPFLAGS'
60812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60821 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60823 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60824 for ac_func in modf
60825 do :
60826 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60827 if test "x$ac_cv_func_modf" = x""yes; then :
60828 cat >>confdefs.h <<_ACEOF
60829 #define HAVE_MODF 1
60830 _ACEOF
60833 done
60835 else
60837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60838 $as_echo_n "checking for _modf declaration... " >&6; }
60839 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60840 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60841 $as_echo_n "(cached) " >&6
60842 else
60845 ac_ext=cpp
60846 ac_cpp='$CXXCPP $CPPFLAGS'
60847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60852 /* end confdefs.h. */
60853 #include <math.h>
60855 main ()
60857 _modf(0, 0);
60859 return 0;
60861 _ACEOF
60862 if ac_fn_cxx_try_compile "$LINENO"; then :
60863 glibcxx_cv_func__modf_use=yes
60864 else
60865 glibcxx_cv_func__modf_use=no
60867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60868 ac_ext=c
60869 ac_cpp='$CPP $CPPFLAGS'
60870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60879 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60881 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60882 for ac_func in _modf
60883 do :
60884 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60885 if test "x$ac_cv_func__modf" = x""yes; then :
60886 cat >>confdefs.h <<_ACEOF
60887 #define HAVE__MODF 1
60888 _ACEOF
60891 done
60900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60901 $as_echo_n "checking for powf declaration... " >&6; }
60902 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60903 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60904 $as_echo_n "(cached) " >&6
60905 else
60908 ac_ext=cpp
60909 ac_cpp='$CXXCPP $CPPFLAGS'
60910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60915 /* end confdefs.h. */
60916 #include <math.h>
60918 main ()
60920 powf(0, 0);
60922 return 0;
60924 _ACEOF
60925 if ac_fn_cxx_try_compile "$LINENO"; then :
60926 glibcxx_cv_func_powf_use=yes
60927 else
60928 glibcxx_cv_func_powf_use=no
60930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60931 ac_ext=c
60932 ac_cpp='$CPP $CPPFLAGS'
60933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60942 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60944 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60945 for ac_func in powf
60946 do :
60947 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60948 if test "x$ac_cv_func_powf" = x""yes; then :
60949 cat >>confdefs.h <<_ACEOF
60950 #define HAVE_POWF 1
60951 _ACEOF
60954 done
60956 else
60958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60959 $as_echo_n "checking for _powf declaration... " >&6; }
60960 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60961 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60962 $as_echo_n "(cached) " >&6
60963 else
60966 ac_ext=cpp
60967 ac_cpp='$CXXCPP $CPPFLAGS'
60968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60973 /* end confdefs.h. */
60974 #include <math.h>
60976 main ()
60978 _powf(0, 0);
60980 return 0;
60982 _ACEOF
60983 if ac_fn_cxx_try_compile "$LINENO"; then :
60984 glibcxx_cv_func__powf_use=yes
60985 else
60986 glibcxx_cv_func__powf_use=no
60988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60989 ac_ext=c
60990 ac_cpp='$CPP $CPPFLAGS'
60991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61000 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61002 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61003 for ac_func in _powf
61004 do :
61005 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61006 if test "x$ac_cv_func__powf" = x""yes; then :
61007 cat >>confdefs.h <<_ACEOF
61008 #define HAVE__POWF 1
61009 _ACEOF
61012 done
61021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61022 $as_echo_n "checking for sqrtf declaration... " >&6; }
61023 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61024 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61025 $as_echo_n "(cached) " >&6
61026 else
61029 ac_ext=cpp
61030 ac_cpp='$CXXCPP $CPPFLAGS'
61031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61036 /* end confdefs.h. */
61037 #include <math.h>
61038 #ifdef HAVE_IEEEFP_H
61039 #include <ieeefp.h>
61040 #endif
61043 main ()
61045 sqrtf(0);
61047 return 0;
61049 _ACEOF
61050 if ac_fn_cxx_try_compile "$LINENO"; then :
61051 glibcxx_cv_func_sqrtf_use=yes
61052 else
61053 glibcxx_cv_func_sqrtf_use=no
61055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61056 ac_ext=c
61057 ac_cpp='$CPP $CPPFLAGS'
61058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61067 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61069 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61070 for ac_func in sqrtf
61071 do :
61072 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61073 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61074 cat >>confdefs.h <<_ACEOF
61075 #define HAVE_SQRTF 1
61076 _ACEOF
61079 done
61081 else
61083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61084 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61085 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61086 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61087 $as_echo_n "(cached) " >&6
61088 else
61091 ac_ext=cpp
61092 ac_cpp='$CXXCPP $CPPFLAGS'
61093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61098 /* end confdefs.h. */
61099 #include <math.h>
61100 #ifdef HAVE_IEEEFP_H
61101 #include <ieeefp.h>
61102 #endif
61105 main ()
61107 _sqrtf(0);
61109 return 0;
61111 _ACEOF
61112 if ac_fn_cxx_try_compile "$LINENO"; then :
61113 glibcxx_cv_func__sqrtf_use=yes
61114 else
61115 glibcxx_cv_func__sqrtf_use=no
61117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61118 ac_ext=c
61119 ac_cpp='$CPP $CPPFLAGS'
61120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61129 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61131 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61132 for ac_func in _sqrtf
61133 do :
61134 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61135 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61136 cat >>confdefs.h <<_ACEOF
61137 #define HAVE__SQRTF 1
61138 _ACEOF
61141 done
61150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61151 $as_echo_n "checking for sincosf declaration... " >&6; }
61152 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61153 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61154 $as_echo_n "(cached) " >&6
61155 else
61158 ac_ext=cpp
61159 ac_cpp='$CXXCPP $CPPFLAGS'
61160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61165 /* end confdefs.h. */
61166 #include <math.h>
61168 main ()
61170 sincosf(0, 0, 0);
61172 return 0;
61174 _ACEOF
61175 if ac_fn_cxx_try_compile "$LINENO"; then :
61176 glibcxx_cv_func_sincosf_use=yes
61177 else
61178 glibcxx_cv_func_sincosf_use=no
61180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61181 ac_ext=c
61182 ac_cpp='$CPP $CPPFLAGS'
61183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61192 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61194 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61195 for ac_func in sincosf
61196 do :
61197 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61198 if test "x$ac_cv_func_sincosf" = x""yes; then :
61199 cat >>confdefs.h <<_ACEOF
61200 #define HAVE_SINCOSF 1
61201 _ACEOF
61204 done
61206 else
61208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61209 $as_echo_n "checking for _sincosf declaration... " >&6; }
61210 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61211 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61212 $as_echo_n "(cached) " >&6
61213 else
61216 ac_ext=cpp
61217 ac_cpp='$CXXCPP $CPPFLAGS'
61218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61223 /* end confdefs.h. */
61224 #include <math.h>
61226 main ()
61228 _sincosf(0, 0, 0);
61230 return 0;
61232 _ACEOF
61233 if ac_fn_cxx_try_compile "$LINENO"; then :
61234 glibcxx_cv_func__sincosf_use=yes
61235 else
61236 glibcxx_cv_func__sincosf_use=no
61238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61239 ac_ext=c
61240 ac_cpp='$CPP $CPPFLAGS'
61241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61250 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61252 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61253 for ac_func in _sincosf
61254 do :
61255 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61256 if test "x$ac_cv_func__sincosf" = x""yes; then :
61257 cat >>confdefs.h <<_ACEOF
61258 #define HAVE__SINCOSF 1
61259 _ACEOF
61262 done
61271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61272 $as_echo_n "checking for finitef declaration... " >&6; }
61273 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61274 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61275 $as_echo_n "(cached) " >&6
61276 else
61279 ac_ext=cpp
61280 ac_cpp='$CXXCPP $CPPFLAGS'
61281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61286 /* end confdefs.h. */
61287 #include <math.h>
61288 #ifdef HAVE_IEEEFP_H
61289 #include <ieeefp.h>
61290 #endif
61293 main ()
61295 finitef(0);
61297 return 0;
61299 _ACEOF
61300 if ac_fn_cxx_try_compile "$LINENO"; then :
61301 glibcxx_cv_func_finitef_use=yes
61302 else
61303 glibcxx_cv_func_finitef_use=no
61305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61306 ac_ext=c
61307 ac_cpp='$CPP $CPPFLAGS'
61308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61317 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61319 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61320 for ac_func in finitef
61321 do :
61322 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61323 if test "x$ac_cv_func_finitef" = x""yes; then :
61324 cat >>confdefs.h <<_ACEOF
61325 #define HAVE_FINITEF 1
61326 _ACEOF
61329 done
61331 else
61333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61334 $as_echo_n "checking for _finitef declaration... " >&6; }
61335 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61336 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61337 $as_echo_n "(cached) " >&6
61338 else
61341 ac_ext=cpp
61342 ac_cpp='$CXXCPP $CPPFLAGS'
61343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61348 /* end confdefs.h. */
61349 #include <math.h>
61350 #ifdef HAVE_IEEEFP_H
61351 #include <ieeefp.h>
61352 #endif
61355 main ()
61357 _finitef(0);
61359 return 0;
61361 _ACEOF
61362 if ac_fn_cxx_try_compile "$LINENO"; then :
61363 glibcxx_cv_func__finitef_use=yes
61364 else
61365 glibcxx_cv_func__finitef_use=no
61367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61368 ac_ext=c
61369 ac_cpp='$CPP $CPPFLAGS'
61370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61379 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61381 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61382 for ac_func in _finitef
61383 do :
61384 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61385 if test "x$ac_cv_func__finitef" = x""yes; then :
61386 cat >>confdefs.h <<_ACEOF
61387 #define HAVE__FINITEF 1
61388 _ACEOF
61391 done
61400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61401 $as_echo_n "checking for long double trig functions... " >&6; }
61402 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61403 $as_echo_n "(cached) " >&6
61404 else
61407 ac_ext=cpp
61408 ac_cpp='$CXXCPP $CPPFLAGS'
61409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61414 /* end confdefs.h. */
61415 #include <math.h>
61417 main ()
61419 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61421 return 0;
61423 _ACEOF
61424 if ac_fn_cxx_try_compile "$LINENO"; then :
61425 glibcxx_cv_func_long_double_trig_use=yes
61426 else
61427 glibcxx_cv_func_long_double_trig_use=no
61429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61430 ac_ext=c
61431 ac_cpp='$CPP $CPPFLAGS'
61432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61439 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61440 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61441 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61442 do :
61443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61445 eval as_val=\$$as_ac_var
61446 if test "x$as_val" = x""yes; then :
61447 cat >>confdefs.h <<_ACEOF
61448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61449 _ACEOF
61452 done
61454 else
61455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61456 $as_echo_n "checking for _long double trig functions... " >&6; }
61457 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61458 $as_echo_n "(cached) " >&6
61459 else
61462 ac_ext=cpp
61463 ac_cpp='$CXXCPP $CPPFLAGS'
61464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61469 /* end confdefs.h. */
61470 #include <math.h>
61472 main ()
61474 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61476 return 0;
61478 _ACEOF
61479 if ac_fn_cxx_try_compile "$LINENO"; then :
61480 glibcxx_cv_func__long_double_trig_use=yes
61481 else
61482 glibcxx_cv_func__long_double_trig_use=no
61484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61485 ac_ext=c
61486 ac_cpp='$CPP $CPPFLAGS'
61487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61494 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61495 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61496 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61497 do :
61498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61500 eval as_val=\$$as_ac_var
61501 if test "x$as_val" = x""yes; then :
61502 cat >>confdefs.h <<_ACEOF
61503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61504 _ACEOF
61507 done
61516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61517 $as_echo_n "checking for long double round functions... " >&6; }
61518 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61519 $as_echo_n "(cached) " >&6
61520 else
61523 ac_ext=cpp
61524 ac_cpp='$CXXCPP $CPPFLAGS'
61525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61530 /* end confdefs.h. */
61531 #include <math.h>
61533 main ()
61535 ceill (0); floorl (0);
61537 return 0;
61539 _ACEOF
61540 if ac_fn_cxx_try_compile "$LINENO"; then :
61541 glibcxx_cv_func_long_double_round_use=yes
61542 else
61543 glibcxx_cv_func_long_double_round_use=no
61545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61546 ac_ext=c
61547 ac_cpp='$CPP $CPPFLAGS'
61548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61555 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61556 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61557 for ac_func in ceill floorl
61558 do :
61559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61561 eval as_val=\$$as_ac_var
61562 if test "x$as_val" = x""yes; then :
61563 cat >>confdefs.h <<_ACEOF
61564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61565 _ACEOF
61568 done
61570 else
61571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61572 $as_echo_n "checking for _long double round functions... " >&6; }
61573 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61574 $as_echo_n "(cached) " >&6
61575 else
61578 ac_ext=cpp
61579 ac_cpp='$CXXCPP $CPPFLAGS'
61580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61585 /* end confdefs.h. */
61586 #include <math.h>
61588 main ()
61590 _ceill (0); _floorl (0);
61592 return 0;
61594 _ACEOF
61595 if ac_fn_cxx_try_compile "$LINENO"; then :
61596 glibcxx_cv_func__long_double_round_use=yes
61597 else
61598 glibcxx_cv_func__long_double_round_use=no
61600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61601 ac_ext=c
61602 ac_cpp='$CPP $CPPFLAGS'
61603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61610 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61611 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61612 for ac_func in _ceill _floorl
61613 do :
61614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61616 eval as_val=\$$as_ac_var
61617 if test "x$as_val" = x""yes; then :
61618 cat >>confdefs.h <<_ACEOF
61619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61620 _ACEOF
61623 done
61633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61634 $as_echo_n "checking for isnanl declaration... " >&6; }
61635 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61636 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61637 $as_echo_n "(cached) " >&6
61638 else
61641 ac_ext=cpp
61642 ac_cpp='$CXXCPP $CPPFLAGS'
61643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61648 /* end confdefs.h. */
61649 #include <math.h>
61650 #ifdef HAVE_IEEEFP_H
61651 #include <ieeefp.h>
61652 #endif
61655 main ()
61657 isnanl(0);
61659 return 0;
61661 _ACEOF
61662 if ac_fn_cxx_try_compile "$LINENO"; then :
61663 glibcxx_cv_func_isnanl_use=yes
61664 else
61665 glibcxx_cv_func_isnanl_use=no
61667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61668 ac_ext=c
61669 ac_cpp='$CPP $CPPFLAGS'
61670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61679 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61681 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61682 for ac_func in isnanl
61683 do :
61684 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61685 if test "x$ac_cv_func_isnanl" = x""yes; then :
61686 cat >>confdefs.h <<_ACEOF
61687 #define HAVE_ISNANL 1
61688 _ACEOF
61691 done
61693 else
61695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61696 $as_echo_n "checking for _isnanl declaration... " >&6; }
61697 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61698 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61699 $as_echo_n "(cached) " >&6
61700 else
61703 ac_ext=cpp
61704 ac_cpp='$CXXCPP $CPPFLAGS'
61705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61710 /* end confdefs.h. */
61711 #include <math.h>
61712 #ifdef HAVE_IEEEFP_H
61713 #include <ieeefp.h>
61714 #endif
61717 main ()
61719 _isnanl(0);
61721 return 0;
61723 _ACEOF
61724 if ac_fn_cxx_try_compile "$LINENO"; then :
61725 glibcxx_cv_func__isnanl_use=yes
61726 else
61727 glibcxx_cv_func__isnanl_use=no
61729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61730 ac_ext=c
61731 ac_cpp='$CPP $CPPFLAGS'
61732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61741 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61743 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61744 for ac_func in _isnanl
61745 do :
61746 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61747 if test "x$ac_cv_func__isnanl" = x""yes; then :
61748 cat >>confdefs.h <<_ACEOF
61749 #define HAVE__ISNANL 1
61750 _ACEOF
61753 done
61762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61763 $as_echo_n "checking for isinfl declaration... " >&6; }
61764 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61765 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61766 $as_echo_n "(cached) " >&6
61767 else
61770 ac_ext=cpp
61771 ac_cpp='$CXXCPP $CPPFLAGS'
61772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61777 /* end confdefs.h. */
61778 #include <math.h>
61779 #ifdef HAVE_IEEEFP_H
61780 #include <ieeefp.h>
61781 #endif
61784 main ()
61786 isinfl(0);
61788 return 0;
61790 _ACEOF
61791 if ac_fn_cxx_try_compile "$LINENO"; then :
61792 glibcxx_cv_func_isinfl_use=yes
61793 else
61794 glibcxx_cv_func_isinfl_use=no
61796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61797 ac_ext=c
61798 ac_cpp='$CPP $CPPFLAGS'
61799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61808 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61810 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61811 for ac_func in isinfl
61812 do :
61813 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61814 if test "x$ac_cv_func_isinfl" = x""yes; then :
61815 cat >>confdefs.h <<_ACEOF
61816 #define HAVE_ISINFL 1
61817 _ACEOF
61820 done
61822 else
61824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61825 $as_echo_n "checking for _isinfl declaration... " >&6; }
61826 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61827 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61828 $as_echo_n "(cached) " >&6
61829 else
61832 ac_ext=cpp
61833 ac_cpp='$CXXCPP $CPPFLAGS'
61834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61839 /* end confdefs.h. */
61840 #include <math.h>
61841 #ifdef HAVE_IEEEFP_H
61842 #include <ieeefp.h>
61843 #endif
61846 main ()
61848 _isinfl(0);
61850 return 0;
61852 _ACEOF
61853 if ac_fn_cxx_try_compile "$LINENO"; then :
61854 glibcxx_cv_func__isinfl_use=yes
61855 else
61856 glibcxx_cv_func__isinfl_use=no
61858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61859 ac_ext=c
61860 ac_cpp='$CPP $CPPFLAGS'
61861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61870 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61872 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61873 for ac_func in _isinfl
61874 do :
61875 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61876 if test "x$ac_cv_func__isinfl" = x""yes; then :
61877 cat >>confdefs.h <<_ACEOF
61878 #define HAVE__ISINFL 1
61879 _ACEOF
61882 done
61891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61892 $as_echo_n "checking for atan2l declaration... " >&6; }
61893 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61894 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61895 $as_echo_n "(cached) " >&6
61896 else
61899 ac_ext=cpp
61900 ac_cpp='$CXXCPP $CPPFLAGS'
61901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61906 /* end confdefs.h. */
61907 #include <math.h>
61909 main ()
61911 atan2l(0, 0);
61913 return 0;
61915 _ACEOF
61916 if ac_fn_cxx_try_compile "$LINENO"; then :
61917 glibcxx_cv_func_atan2l_use=yes
61918 else
61919 glibcxx_cv_func_atan2l_use=no
61921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61922 ac_ext=c
61923 ac_cpp='$CPP $CPPFLAGS'
61924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61933 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61935 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61936 for ac_func in atan2l
61937 do :
61938 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61939 if test "x$ac_cv_func_atan2l" = x""yes; then :
61940 cat >>confdefs.h <<_ACEOF
61941 #define HAVE_ATAN2L 1
61942 _ACEOF
61945 done
61947 else
61949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61950 $as_echo_n "checking for _atan2l declaration... " >&6; }
61951 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61952 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61953 $as_echo_n "(cached) " >&6
61954 else
61957 ac_ext=cpp
61958 ac_cpp='$CXXCPP $CPPFLAGS'
61959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61964 /* end confdefs.h. */
61965 #include <math.h>
61967 main ()
61969 _atan2l(0, 0);
61971 return 0;
61973 _ACEOF
61974 if ac_fn_cxx_try_compile "$LINENO"; then :
61975 glibcxx_cv_func__atan2l_use=yes
61976 else
61977 glibcxx_cv_func__atan2l_use=no
61979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61980 ac_ext=c
61981 ac_cpp='$CPP $CPPFLAGS'
61982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61991 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61993 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61994 for ac_func in _atan2l
61995 do :
61996 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61997 if test "x$ac_cv_func__atan2l" = x""yes; then :
61998 cat >>confdefs.h <<_ACEOF
61999 #define HAVE__ATAN2L 1
62000 _ACEOF
62003 done
62012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62013 $as_echo_n "checking for expl declaration... " >&6; }
62014 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62015 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62016 $as_echo_n "(cached) " >&6
62017 else
62020 ac_ext=cpp
62021 ac_cpp='$CXXCPP $CPPFLAGS'
62022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62027 /* end confdefs.h. */
62028 #include <math.h>
62029 #ifdef HAVE_IEEEFP_H
62030 #include <ieeefp.h>
62031 #endif
62034 main ()
62036 expl(0);
62038 return 0;
62040 _ACEOF
62041 if ac_fn_cxx_try_compile "$LINENO"; then :
62042 glibcxx_cv_func_expl_use=yes
62043 else
62044 glibcxx_cv_func_expl_use=no
62046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62047 ac_ext=c
62048 ac_cpp='$CPP $CPPFLAGS'
62049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62058 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62060 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62061 for ac_func in expl
62062 do :
62063 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62064 if test "x$ac_cv_func_expl" = x""yes; then :
62065 cat >>confdefs.h <<_ACEOF
62066 #define HAVE_EXPL 1
62067 _ACEOF
62070 done
62072 else
62074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62075 $as_echo_n "checking for _expl declaration... " >&6; }
62076 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62077 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62078 $as_echo_n "(cached) " >&6
62079 else
62082 ac_ext=cpp
62083 ac_cpp='$CXXCPP $CPPFLAGS'
62084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62089 /* end confdefs.h. */
62090 #include <math.h>
62091 #ifdef HAVE_IEEEFP_H
62092 #include <ieeefp.h>
62093 #endif
62096 main ()
62098 _expl(0);
62100 return 0;
62102 _ACEOF
62103 if ac_fn_cxx_try_compile "$LINENO"; then :
62104 glibcxx_cv_func__expl_use=yes
62105 else
62106 glibcxx_cv_func__expl_use=no
62108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62109 ac_ext=c
62110 ac_cpp='$CPP $CPPFLAGS'
62111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62120 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62122 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62123 for ac_func in _expl
62124 do :
62125 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62126 if test "x$ac_cv_func__expl" = x""yes; then :
62127 cat >>confdefs.h <<_ACEOF
62128 #define HAVE__EXPL 1
62129 _ACEOF
62132 done
62141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62142 $as_echo_n "checking for fabsl declaration... " >&6; }
62143 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62144 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62145 $as_echo_n "(cached) " >&6
62146 else
62149 ac_ext=cpp
62150 ac_cpp='$CXXCPP $CPPFLAGS'
62151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62156 /* end confdefs.h. */
62157 #include <math.h>
62158 #ifdef HAVE_IEEEFP_H
62159 #include <ieeefp.h>
62160 #endif
62163 main ()
62165 fabsl(0);
62167 return 0;
62169 _ACEOF
62170 if ac_fn_cxx_try_compile "$LINENO"; then :
62171 glibcxx_cv_func_fabsl_use=yes
62172 else
62173 glibcxx_cv_func_fabsl_use=no
62175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62176 ac_ext=c
62177 ac_cpp='$CPP $CPPFLAGS'
62178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62187 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62189 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62190 for ac_func in fabsl
62191 do :
62192 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62193 if test "x$ac_cv_func_fabsl" = x""yes; then :
62194 cat >>confdefs.h <<_ACEOF
62195 #define HAVE_FABSL 1
62196 _ACEOF
62199 done
62201 else
62203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62204 $as_echo_n "checking for _fabsl declaration... " >&6; }
62205 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62206 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62207 $as_echo_n "(cached) " >&6
62208 else
62211 ac_ext=cpp
62212 ac_cpp='$CXXCPP $CPPFLAGS'
62213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62218 /* end confdefs.h. */
62219 #include <math.h>
62220 #ifdef HAVE_IEEEFP_H
62221 #include <ieeefp.h>
62222 #endif
62225 main ()
62227 _fabsl(0);
62229 return 0;
62231 _ACEOF
62232 if ac_fn_cxx_try_compile "$LINENO"; then :
62233 glibcxx_cv_func__fabsl_use=yes
62234 else
62235 glibcxx_cv_func__fabsl_use=no
62237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62238 ac_ext=c
62239 ac_cpp='$CPP $CPPFLAGS'
62240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62249 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62251 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62252 for ac_func in _fabsl
62253 do :
62254 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62255 if test "x$ac_cv_func__fabsl" = x""yes; then :
62256 cat >>confdefs.h <<_ACEOF
62257 #define HAVE__FABSL 1
62258 _ACEOF
62261 done
62270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62271 $as_echo_n "checking for fmodl declaration... " >&6; }
62272 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62273 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62274 $as_echo_n "(cached) " >&6
62275 else
62278 ac_ext=cpp
62279 ac_cpp='$CXXCPP $CPPFLAGS'
62280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62285 /* end confdefs.h. */
62286 #include <math.h>
62288 main ()
62290 fmodl(0, 0);
62292 return 0;
62294 _ACEOF
62295 if ac_fn_cxx_try_compile "$LINENO"; then :
62296 glibcxx_cv_func_fmodl_use=yes
62297 else
62298 glibcxx_cv_func_fmodl_use=no
62300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62301 ac_ext=c
62302 ac_cpp='$CPP $CPPFLAGS'
62303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62312 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62314 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62315 for ac_func in fmodl
62316 do :
62317 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62318 if test "x$ac_cv_func_fmodl" = x""yes; then :
62319 cat >>confdefs.h <<_ACEOF
62320 #define HAVE_FMODL 1
62321 _ACEOF
62324 done
62326 else
62328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62329 $as_echo_n "checking for _fmodl declaration... " >&6; }
62330 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62331 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62332 $as_echo_n "(cached) " >&6
62333 else
62336 ac_ext=cpp
62337 ac_cpp='$CXXCPP $CPPFLAGS'
62338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62343 /* end confdefs.h. */
62344 #include <math.h>
62346 main ()
62348 _fmodl(0, 0);
62350 return 0;
62352 _ACEOF
62353 if ac_fn_cxx_try_compile "$LINENO"; then :
62354 glibcxx_cv_func__fmodl_use=yes
62355 else
62356 glibcxx_cv_func__fmodl_use=no
62358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62359 ac_ext=c
62360 ac_cpp='$CPP $CPPFLAGS'
62361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62370 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62372 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62373 for ac_func in _fmodl
62374 do :
62375 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62376 if test "x$ac_cv_func__fmodl" = x""yes; then :
62377 cat >>confdefs.h <<_ACEOF
62378 #define HAVE__FMODL 1
62379 _ACEOF
62382 done
62391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62392 $as_echo_n "checking for frexpl declaration... " >&6; }
62393 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62394 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62395 $as_echo_n "(cached) " >&6
62396 else
62399 ac_ext=cpp
62400 ac_cpp='$CXXCPP $CPPFLAGS'
62401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62406 /* end confdefs.h. */
62407 #include <math.h>
62409 main ()
62411 frexpl(0, 0);
62413 return 0;
62415 _ACEOF
62416 if ac_fn_cxx_try_compile "$LINENO"; then :
62417 glibcxx_cv_func_frexpl_use=yes
62418 else
62419 glibcxx_cv_func_frexpl_use=no
62421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62422 ac_ext=c
62423 ac_cpp='$CPP $CPPFLAGS'
62424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62433 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62435 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62436 for ac_func in frexpl
62437 do :
62438 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62439 if test "x$ac_cv_func_frexpl" = x""yes; then :
62440 cat >>confdefs.h <<_ACEOF
62441 #define HAVE_FREXPL 1
62442 _ACEOF
62445 done
62447 else
62449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62450 $as_echo_n "checking for _frexpl declaration... " >&6; }
62451 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62452 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62453 $as_echo_n "(cached) " >&6
62454 else
62457 ac_ext=cpp
62458 ac_cpp='$CXXCPP $CPPFLAGS'
62459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62464 /* end confdefs.h. */
62465 #include <math.h>
62467 main ()
62469 _frexpl(0, 0);
62471 return 0;
62473 _ACEOF
62474 if ac_fn_cxx_try_compile "$LINENO"; then :
62475 glibcxx_cv_func__frexpl_use=yes
62476 else
62477 glibcxx_cv_func__frexpl_use=no
62479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62480 ac_ext=c
62481 ac_cpp='$CPP $CPPFLAGS'
62482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62491 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62493 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62494 for ac_func in _frexpl
62495 do :
62496 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62497 if test "x$ac_cv_func__frexpl" = x""yes; then :
62498 cat >>confdefs.h <<_ACEOF
62499 #define HAVE__FREXPL 1
62500 _ACEOF
62503 done
62512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62513 $as_echo_n "checking for hypotl declaration... " >&6; }
62514 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62515 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62516 $as_echo_n "(cached) " >&6
62517 else
62520 ac_ext=cpp
62521 ac_cpp='$CXXCPP $CPPFLAGS'
62522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62527 /* end confdefs.h. */
62528 #include <math.h>
62530 main ()
62532 hypotl(0, 0);
62534 return 0;
62536 _ACEOF
62537 if ac_fn_cxx_try_compile "$LINENO"; then :
62538 glibcxx_cv_func_hypotl_use=yes
62539 else
62540 glibcxx_cv_func_hypotl_use=no
62542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62543 ac_ext=c
62544 ac_cpp='$CPP $CPPFLAGS'
62545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62554 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62556 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62557 for ac_func in hypotl
62558 do :
62559 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62560 if test "x$ac_cv_func_hypotl" = x""yes; then :
62561 cat >>confdefs.h <<_ACEOF
62562 #define HAVE_HYPOTL 1
62563 _ACEOF
62566 done
62568 else
62570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62571 $as_echo_n "checking for _hypotl declaration... " >&6; }
62572 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62573 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62574 $as_echo_n "(cached) " >&6
62575 else
62578 ac_ext=cpp
62579 ac_cpp='$CXXCPP $CPPFLAGS'
62580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62585 /* end confdefs.h. */
62586 #include <math.h>
62588 main ()
62590 _hypotl(0, 0);
62592 return 0;
62594 _ACEOF
62595 if ac_fn_cxx_try_compile "$LINENO"; then :
62596 glibcxx_cv_func__hypotl_use=yes
62597 else
62598 glibcxx_cv_func__hypotl_use=no
62600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62601 ac_ext=c
62602 ac_cpp='$CPP $CPPFLAGS'
62603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62612 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62614 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62615 for ac_func in _hypotl
62616 do :
62617 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62618 if test "x$ac_cv_func__hypotl" = x""yes; then :
62619 cat >>confdefs.h <<_ACEOF
62620 #define HAVE__HYPOTL 1
62621 _ACEOF
62624 done
62633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62634 $as_echo_n "checking for ldexpl declaration... " >&6; }
62635 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62636 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62637 $as_echo_n "(cached) " >&6
62638 else
62641 ac_ext=cpp
62642 ac_cpp='$CXXCPP $CPPFLAGS'
62643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62648 /* end confdefs.h. */
62649 #include <math.h>
62651 main ()
62653 ldexpl(0, 0);
62655 return 0;
62657 _ACEOF
62658 if ac_fn_cxx_try_compile "$LINENO"; then :
62659 glibcxx_cv_func_ldexpl_use=yes
62660 else
62661 glibcxx_cv_func_ldexpl_use=no
62663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62664 ac_ext=c
62665 ac_cpp='$CPP $CPPFLAGS'
62666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62675 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62677 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62678 for ac_func in ldexpl
62679 do :
62680 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62681 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62682 cat >>confdefs.h <<_ACEOF
62683 #define HAVE_LDEXPL 1
62684 _ACEOF
62687 done
62689 else
62691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62692 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62693 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62694 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62695 $as_echo_n "(cached) " >&6
62696 else
62699 ac_ext=cpp
62700 ac_cpp='$CXXCPP $CPPFLAGS'
62701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62706 /* end confdefs.h. */
62707 #include <math.h>
62709 main ()
62711 _ldexpl(0, 0);
62713 return 0;
62715 _ACEOF
62716 if ac_fn_cxx_try_compile "$LINENO"; then :
62717 glibcxx_cv_func__ldexpl_use=yes
62718 else
62719 glibcxx_cv_func__ldexpl_use=no
62721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62722 ac_ext=c
62723 ac_cpp='$CPP $CPPFLAGS'
62724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62733 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62735 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62736 for ac_func in _ldexpl
62737 do :
62738 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62739 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62740 cat >>confdefs.h <<_ACEOF
62741 #define HAVE__LDEXPL 1
62742 _ACEOF
62745 done
62754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62755 $as_echo_n "checking for logl declaration... " >&6; }
62756 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62757 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62758 $as_echo_n "(cached) " >&6
62759 else
62762 ac_ext=cpp
62763 ac_cpp='$CXXCPP $CPPFLAGS'
62764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62769 /* end confdefs.h. */
62770 #include <math.h>
62771 #ifdef HAVE_IEEEFP_H
62772 #include <ieeefp.h>
62773 #endif
62776 main ()
62778 logl(0);
62780 return 0;
62782 _ACEOF
62783 if ac_fn_cxx_try_compile "$LINENO"; then :
62784 glibcxx_cv_func_logl_use=yes
62785 else
62786 glibcxx_cv_func_logl_use=no
62788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62789 ac_ext=c
62790 ac_cpp='$CPP $CPPFLAGS'
62791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62800 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62802 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62803 for ac_func in logl
62804 do :
62805 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62806 if test "x$ac_cv_func_logl" = x""yes; then :
62807 cat >>confdefs.h <<_ACEOF
62808 #define HAVE_LOGL 1
62809 _ACEOF
62812 done
62814 else
62816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62817 $as_echo_n "checking for _logl declaration... " >&6; }
62818 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62819 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62820 $as_echo_n "(cached) " >&6
62821 else
62824 ac_ext=cpp
62825 ac_cpp='$CXXCPP $CPPFLAGS'
62826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62831 /* end confdefs.h. */
62832 #include <math.h>
62833 #ifdef HAVE_IEEEFP_H
62834 #include <ieeefp.h>
62835 #endif
62838 main ()
62840 _logl(0);
62842 return 0;
62844 _ACEOF
62845 if ac_fn_cxx_try_compile "$LINENO"; then :
62846 glibcxx_cv_func__logl_use=yes
62847 else
62848 glibcxx_cv_func__logl_use=no
62850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62851 ac_ext=c
62852 ac_cpp='$CPP $CPPFLAGS'
62853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62862 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62864 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62865 for ac_func in _logl
62866 do :
62867 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62868 if test "x$ac_cv_func__logl" = x""yes; then :
62869 cat >>confdefs.h <<_ACEOF
62870 #define HAVE__LOGL 1
62871 _ACEOF
62874 done
62883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62884 $as_echo_n "checking for log10l declaration... " >&6; }
62885 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62886 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62887 $as_echo_n "(cached) " >&6
62888 else
62891 ac_ext=cpp
62892 ac_cpp='$CXXCPP $CPPFLAGS'
62893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62898 /* end confdefs.h. */
62899 #include <math.h>
62900 #ifdef HAVE_IEEEFP_H
62901 #include <ieeefp.h>
62902 #endif
62905 main ()
62907 log10l(0);
62909 return 0;
62911 _ACEOF
62912 if ac_fn_cxx_try_compile "$LINENO"; then :
62913 glibcxx_cv_func_log10l_use=yes
62914 else
62915 glibcxx_cv_func_log10l_use=no
62917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62918 ac_ext=c
62919 ac_cpp='$CPP $CPPFLAGS'
62920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62929 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62931 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62932 for ac_func in log10l
62933 do :
62934 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62935 if test "x$ac_cv_func_log10l" = x""yes; then :
62936 cat >>confdefs.h <<_ACEOF
62937 #define HAVE_LOG10L 1
62938 _ACEOF
62941 done
62943 else
62945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62946 $as_echo_n "checking for _log10l declaration... " >&6; }
62947 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62948 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62949 $as_echo_n "(cached) " >&6
62950 else
62953 ac_ext=cpp
62954 ac_cpp='$CXXCPP $CPPFLAGS'
62955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62960 /* end confdefs.h. */
62961 #include <math.h>
62962 #ifdef HAVE_IEEEFP_H
62963 #include <ieeefp.h>
62964 #endif
62967 main ()
62969 _log10l(0);
62971 return 0;
62973 _ACEOF
62974 if ac_fn_cxx_try_compile "$LINENO"; then :
62975 glibcxx_cv_func__log10l_use=yes
62976 else
62977 glibcxx_cv_func__log10l_use=no
62979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62980 ac_ext=c
62981 ac_cpp='$CPP $CPPFLAGS'
62982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62991 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62993 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62994 for ac_func in _log10l
62995 do :
62996 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62997 if test "x$ac_cv_func__log10l" = x""yes; then :
62998 cat >>confdefs.h <<_ACEOF
62999 #define HAVE__LOG10L 1
63000 _ACEOF
63003 done
63012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63013 $as_echo_n "checking for modfl declaration... " >&6; }
63014 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63015 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63016 $as_echo_n "(cached) " >&6
63017 else
63020 ac_ext=cpp
63021 ac_cpp='$CXXCPP $CPPFLAGS'
63022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63027 /* end confdefs.h. */
63028 #include <math.h>
63030 main ()
63032 modfl(0, 0);
63034 return 0;
63036 _ACEOF
63037 if ac_fn_cxx_try_compile "$LINENO"; then :
63038 glibcxx_cv_func_modfl_use=yes
63039 else
63040 glibcxx_cv_func_modfl_use=no
63042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63043 ac_ext=c
63044 ac_cpp='$CPP $CPPFLAGS'
63045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63054 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63056 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63057 for ac_func in modfl
63058 do :
63059 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63060 if test "x$ac_cv_func_modfl" = x""yes; then :
63061 cat >>confdefs.h <<_ACEOF
63062 #define HAVE_MODFL 1
63063 _ACEOF
63066 done
63068 else
63070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63071 $as_echo_n "checking for _modfl declaration... " >&6; }
63072 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63073 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63074 $as_echo_n "(cached) " >&6
63075 else
63078 ac_ext=cpp
63079 ac_cpp='$CXXCPP $CPPFLAGS'
63080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63085 /* end confdefs.h. */
63086 #include <math.h>
63088 main ()
63090 _modfl(0, 0);
63092 return 0;
63094 _ACEOF
63095 if ac_fn_cxx_try_compile "$LINENO"; then :
63096 glibcxx_cv_func__modfl_use=yes
63097 else
63098 glibcxx_cv_func__modfl_use=no
63100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63101 ac_ext=c
63102 ac_cpp='$CPP $CPPFLAGS'
63103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63112 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63114 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63115 for ac_func in _modfl
63116 do :
63117 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63118 if test "x$ac_cv_func__modfl" = x""yes; then :
63119 cat >>confdefs.h <<_ACEOF
63120 #define HAVE__MODFL 1
63121 _ACEOF
63124 done
63133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63134 $as_echo_n "checking for powl declaration... " >&6; }
63135 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63136 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63137 $as_echo_n "(cached) " >&6
63138 else
63141 ac_ext=cpp
63142 ac_cpp='$CXXCPP $CPPFLAGS'
63143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63148 /* end confdefs.h. */
63149 #include <math.h>
63151 main ()
63153 powl(0, 0);
63155 return 0;
63157 _ACEOF
63158 if ac_fn_cxx_try_compile "$LINENO"; then :
63159 glibcxx_cv_func_powl_use=yes
63160 else
63161 glibcxx_cv_func_powl_use=no
63163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63164 ac_ext=c
63165 ac_cpp='$CPP $CPPFLAGS'
63166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63175 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63177 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63178 for ac_func in powl
63179 do :
63180 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63181 if test "x$ac_cv_func_powl" = x""yes; then :
63182 cat >>confdefs.h <<_ACEOF
63183 #define HAVE_POWL 1
63184 _ACEOF
63187 done
63189 else
63191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63192 $as_echo_n "checking for _powl declaration... " >&6; }
63193 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63194 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63195 $as_echo_n "(cached) " >&6
63196 else
63199 ac_ext=cpp
63200 ac_cpp='$CXXCPP $CPPFLAGS'
63201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63206 /* end confdefs.h. */
63207 #include <math.h>
63209 main ()
63211 _powl(0, 0);
63213 return 0;
63215 _ACEOF
63216 if ac_fn_cxx_try_compile "$LINENO"; then :
63217 glibcxx_cv_func__powl_use=yes
63218 else
63219 glibcxx_cv_func__powl_use=no
63221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63222 ac_ext=c
63223 ac_cpp='$CPP $CPPFLAGS'
63224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63233 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63235 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63236 for ac_func in _powl
63237 do :
63238 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63239 if test "x$ac_cv_func__powl" = x""yes; then :
63240 cat >>confdefs.h <<_ACEOF
63241 #define HAVE__POWL 1
63242 _ACEOF
63245 done
63254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63255 $as_echo_n "checking for sqrtl declaration... " >&6; }
63256 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63257 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63258 $as_echo_n "(cached) " >&6
63259 else
63262 ac_ext=cpp
63263 ac_cpp='$CXXCPP $CPPFLAGS'
63264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63269 /* end confdefs.h. */
63270 #include <math.h>
63271 #ifdef HAVE_IEEEFP_H
63272 #include <ieeefp.h>
63273 #endif
63276 main ()
63278 sqrtl(0);
63280 return 0;
63282 _ACEOF
63283 if ac_fn_cxx_try_compile "$LINENO"; then :
63284 glibcxx_cv_func_sqrtl_use=yes
63285 else
63286 glibcxx_cv_func_sqrtl_use=no
63288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63289 ac_ext=c
63290 ac_cpp='$CPP $CPPFLAGS'
63291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63300 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63302 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63303 for ac_func in sqrtl
63304 do :
63305 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63306 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63307 cat >>confdefs.h <<_ACEOF
63308 #define HAVE_SQRTL 1
63309 _ACEOF
63312 done
63314 else
63316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63317 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63318 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63319 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63320 $as_echo_n "(cached) " >&6
63321 else
63324 ac_ext=cpp
63325 ac_cpp='$CXXCPP $CPPFLAGS'
63326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63331 /* end confdefs.h. */
63332 #include <math.h>
63333 #ifdef HAVE_IEEEFP_H
63334 #include <ieeefp.h>
63335 #endif
63338 main ()
63340 _sqrtl(0);
63342 return 0;
63344 _ACEOF
63345 if ac_fn_cxx_try_compile "$LINENO"; then :
63346 glibcxx_cv_func__sqrtl_use=yes
63347 else
63348 glibcxx_cv_func__sqrtl_use=no
63350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63351 ac_ext=c
63352 ac_cpp='$CPP $CPPFLAGS'
63353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63362 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63364 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63365 for ac_func in _sqrtl
63366 do :
63367 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63368 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63369 cat >>confdefs.h <<_ACEOF
63370 #define HAVE__SQRTL 1
63371 _ACEOF
63374 done
63383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63384 $as_echo_n "checking for sincosl declaration... " >&6; }
63385 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63386 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63387 $as_echo_n "(cached) " >&6
63388 else
63391 ac_ext=cpp
63392 ac_cpp='$CXXCPP $CPPFLAGS'
63393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63398 /* end confdefs.h. */
63399 #include <math.h>
63401 main ()
63403 sincosl(0, 0, 0);
63405 return 0;
63407 _ACEOF
63408 if ac_fn_cxx_try_compile "$LINENO"; then :
63409 glibcxx_cv_func_sincosl_use=yes
63410 else
63411 glibcxx_cv_func_sincosl_use=no
63413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63414 ac_ext=c
63415 ac_cpp='$CPP $CPPFLAGS'
63416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63425 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63427 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63428 for ac_func in sincosl
63429 do :
63430 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63431 if test "x$ac_cv_func_sincosl" = x""yes; then :
63432 cat >>confdefs.h <<_ACEOF
63433 #define HAVE_SINCOSL 1
63434 _ACEOF
63437 done
63439 else
63441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63442 $as_echo_n "checking for _sincosl declaration... " >&6; }
63443 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63444 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63445 $as_echo_n "(cached) " >&6
63446 else
63449 ac_ext=cpp
63450 ac_cpp='$CXXCPP $CPPFLAGS'
63451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63456 /* end confdefs.h. */
63457 #include <math.h>
63459 main ()
63461 _sincosl(0, 0, 0);
63463 return 0;
63465 _ACEOF
63466 if ac_fn_cxx_try_compile "$LINENO"; then :
63467 glibcxx_cv_func__sincosl_use=yes
63468 else
63469 glibcxx_cv_func__sincosl_use=no
63471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63472 ac_ext=c
63473 ac_cpp='$CPP $CPPFLAGS'
63474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63483 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63485 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63486 for ac_func in _sincosl
63487 do :
63488 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63489 if test "x$ac_cv_func__sincosl" = x""yes; then :
63490 cat >>confdefs.h <<_ACEOF
63491 #define HAVE__SINCOSL 1
63492 _ACEOF
63495 done
63504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63505 $as_echo_n "checking for finitel declaration... " >&6; }
63506 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63507 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63508 $as_echo_n "(cached) " >&6
63509 else
63512 ac_ext=cpp
63513 ac_cpp='$CXXCPP $CPPFLAGS'
63514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63519 /* end confdefs.h. */
63520 #include <math.h>
63521 #ifdef HAVE_IEEEFP_H
63522 #include <ieeefp.h>
63523 #endif
63526 main ()
63528 finitel(0);
63530 return 0;
63532 _ACEOF
63533 if ac_fn_cxx_try_compile "$LINENO"; then :
63534 glibcxx_cv_func_finitel_use=yes
63535 else
63536 glibcxx_cv_func_finitel_use=no
63538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63539 ac_ext=c
63540 ac_cpp='$CPP $CPPFLAGS'
63541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63550 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63552 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63553 for ac_func in finitel
63554 do :
63555 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63556 if test "x$ac_cv_func_finitel" = x""yes; then :
63557 cat >>confdefs.h <<_ACEOF
63558 #define HAVE_FINITEL 1
63559 _ACEOF
63562 done
63564 else
63566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63567 $as_echo_n "checking for _finitel declaration... " >&6; }
63568 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63569 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63570 $as_echo_n "(cached) " >&6
63571 else
63574 ac_ext=cpp
63575 ac_cpp='$CXXCPP $CPPFLAGS'
63576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63581 /* end confdefs.h. */
63582 #include <math.h>
63583 #ifdef HAVE_IEEEFP_H
63584 #include <ieeefp.h>
63585 #endif
63588 main ()
63590 _finitel(0);
63592 return 0;
63594 _ACEOF
63595 if ac_fn_cxx_try_compile "$LINENO"; then :
63596 glibcxx_cv_func__finitel_use=yes
63597 else
63598 glibcxx_cv_func__finitel_use=no
63600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63601 ac_ext=c
63602 ac_cpp='$CPP $CPPFLAGS'
63603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63612 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63614 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63615 for ac_func in _finitel
63616 do :
63617 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63618 if test "x$ac_cv_func__finitel" = x""yes; then :
63619 cat >>confdefs.h <<_ACEOF
63620 #define HAVE__FINITEL 1
63621 _ACEOF
63624 done
63632 LIBS="$ac_save_LIBS"
63633 CXXFLAGS="$ac_save_CXXFLAGS"
63636 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63637 ac_save_CXXFLAGS="$CXXFLAGS"
63638 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63642 $as_echo_n "checking for strtold declaration... " >&6; }
63643 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63644 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63645 $as_echo_n "(cached) " >&6
63646 else
63649 ac_ext=cpp
63650 ac_cpp='$CXXCPP $CPPFLAGS'
63651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63656 /* end confdefs.h. */
63657 #include <stdlib.h>
63659 main ()
63661 strtold(0, 0);
63663 return 0;
63665 _ACEOF
63666 if ac_fn_cxx_try_compile "$LINENO"; then :
63667 glibcxx_cv_func_strtold_use=yes
63668 else
63669 glibcxx_cv_func_strtold_use=no
63671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63672 ac_ext=c
63673 ac_cpp='$CPP $CPPFLAGS'
63674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63683 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63684 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63685 for ac_func in strtold
63686 do :
63687 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63688 if test "x$ac_cv_func_strtold" = x""yes; then :
63689 cat >>confdefs.h <<_ACEOF
63690 #define HAVE_STRTOLD 1
63691 _ACEOF
63694 done
63701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63702 $as_echo_n "checking for strtof declaration... " >&6; }
63703 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63704 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63705 $as_echo_n "(cached) " >&6
63706 else
63709 ac_ext=cpp
63710 ac_cpp='$CXXCPP $CPPFLAGS'
63711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63716 /* end confdefs.h. */
63717 #include <stdlib.h>
63719 main ()
63721 strtof(0, 0);
63723 return 0;
63725 _ACEOF
63726 if ac_fn_cxx_try_compile "$LINENO"; then :
63727 glibcxx_cv_func_strtof_use=yes
63728 else
63729 glibcxx_cv_func_strtof_use=no
63731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63732 ac_ext=c
63733 ac_cpp='$CPP $CPPFLAGS'
63734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63743 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63744 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63745 for ac_func in strtof
63746 do :
63747 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63748 if test "x$ac_cv_func_strtof" = x""yes; then :
63749 cat >>confdefs.h <<_ACEOF
63750 #define HAVE_STRTOF 1
63751 _ACEOF
63754 done
63761 CXXFLAGS="$ac_save_CXXFLAGS"
63764 *-solaris*)
63765 case "$target" in
63766 *-solaris2.9 | *-solaris2.10)
63768 # If we're not using GNU ld, then there's no point in even trying these
63769 # tests. Check for that first. We should have already tested for gld
63770 # by now (in libtool), but require it now just to be safe...
63771 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63772 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63776 # The name set by libtool depends on the version of libtool. Shame on us
63777 # for depending on an impl detail, but c'est la vie. Older versions used
63778 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63779 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63780 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63781 # set (hence we're using an older libtool), then set it.
63782 if test x${with_gnu_ld+set} != xset; then
63783 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63784 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63785 with_gnu_ld=no
63786 else
63787 with_gnu_ld=$ac_cv_prog_gnu_ld
63791 # Start by getting the version number. I think the libtool test already
63792 # does some of this, but throws away the result.
63793 glibcxx_ld_is_gold=no
63794 if test x"$with_gnu_ld" = x"yes"; then
63795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63796 $as_echo_n "checking for ld version... " >&6; }
63798 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63799 glibcxx_ld_is_gold=yes
63801 ldver=`$LD --version 2>/dev/null |
63802 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'`
63804 glibcxx_gnu_ld_version=`echo $ldver | \
63805 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63807 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63810 # Set --gc-sections.
63811 glibcxx_have_gc_sections=no
63812 if test "$glibcxx_ld_is_gold" = "yes"; then
63813 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63814 glibcxx_have_gc_sections=yes
63816 else
63817 glibcxx_gcsections_min_ld=21602
63818 if test x"$with_gnu_ld" = x"yes" &&
63819 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63820 glibcxx_have_gc_sections=yes
63823 if test "$glibcxx_have_gc_sections" = "yes"; then
63824 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63825 # NB: This flag only works reliably after 2.16.1. Configure tests
63826 # for this are difficult, so hard wire a value that should work.
63828 ac_test_CFLAGS="${CFLAGS+set}"
63829 ac_save_CFLAGS="$CFLAGS"
63830 CFLAGS='-Wl,--gc-sections'
63832 # Check for -Wl,--gc-sections
63833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63834 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63835 if test x$gcc_no_link = xyes; then
63836 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63839 /* end confdefs.h. */
63840 int one(void) { return 1; }
63841 int two(void) { return 2; }
63844 main ()
63846 two();
63848 return 0;
63850 _ACEOF
63851 if ac_fn_c_try_link "$LINENO"; then :
63852 ac_gcsections=yes
63853 else
63854 ac_gcsections=no
63856 rm -f core conftest.err conftest.$ac_objext \
63857 conftest$ac_exeext conftest.$ac_ext
63858 if test "$ac_gcsections" = "yes"; then
63859 rm -f conftest.c
63860 touch conftest.c
63861 if $CC -c conftest.c; then
63862 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63863 grep "Warning: gc-sections option ignored" > /dev/null; then
63864 ac_gcsections=no
63867 rm -f conftest.c conftest.o conftest
63869 if test "$ac_gcsections" = "yes"; then
63870 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63873 $as_echo "$ac_gcsections" >&6; }
63875 if test "$ac_test_CFLAGS" = set; then
63876 CFLAGS="$ac_save_CFLAGS"
63877 else
63878 # this is the suspicious part
63879 CFLAGS=''
63883 # Set -z,relro.
63884 # Note this is only for shared objects.
63885 ac_ld_relro=no
63886 if test x"$with_gnu_ld" = x"yes"; then
63887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63888 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63889 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63890 if test -n "$cxx_z_relo"; then
63891 OPT_LDFLAGS="-Wl,-z,relro"
63892 ac_ld_relro=yes
63894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63895 $as_echo "$ac_ld_relro" >&6; }
63898 # Set linker optimization flags.
63899 if test x"$with_gnu_ld" = x"yes"; then
63900 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63906 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63908 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63910 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63912 # All of the dependencies for wide character support are here, so
63913 # turn it on.
63914 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63917 esac
63918 case "$target" in
63919 *-*-solaris2.10)
63920 # These two C99 functions are present only in Solaris >= 10
63921 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63923 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63926 esac
63927 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63929 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63931 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63933 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63936 *-tpf)
63937 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63938 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63940 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63942 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63944 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63946 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63948 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63950 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63952 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63954 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63956 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63958 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63960 if test x"long_double_math_on_this_cpu" = x"yes"; then
63961 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63963 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63965 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63967 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63971 *-*vms*)
63972 # Check for available headers.
63973 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63975 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63976 ac_save_CXXFLAGS="$CXXFLAGS"
63977 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63980 $as_echo_n "checking for sin in -lm... " >&6; }
63981 if test "${ac_cv_lib_m_sin+set}" = set; then :
63982 $as_echo_n "(cached) " >&6
63983 else
63984 ac_check_lib_save_LIBS=$LIBS
63985 LIBS="-lm $LIBS"
63986 if test x$gcc_no_link = xyes; then
63987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63990 /* end confdefs.h. */
63992 /* Override any GCC internal prototype to avoid an error.
63993 Use char because int might match the return type of a GCC
63994 builtin and then its argument prototype would still apply. */
63995 #ifdef __cplusplus
63996 extern "C"
63997 #endif
63998 char sin ();
64000 main ()
64002 return sin ();
64004 return 0;
64006 _ACEOF
64007 if ac_fn_c_try_link "$LINENO"; then :
64008 ac_cv_lib_m_sin=yes
64009 else
64010 ac_cv_lib_m_sin=no
64012 rm -f core conftest.err conftest.$ac_objext \
64013 conftest$ac_exeext conftest.$ac_ext
64014 LIBS=$ac_check_lib_save_LIBS
64016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
64017 $as_echo "$ac_cv_lib_m_sin" >&6; }
64018 if test "x$ac_cv_lib_m_sin" = x""yes; then :
64019 libm="-lm"
64022 ac_save_LIBS="$LIBS"
64023 LIBS="$LIBS $libm"
64027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
64028 $as_echo_n "checking for isinf declaration... " >&6; }
64029 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64030 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64031 $as_echo_n "(cached) " >&6
64032 else
64035 ac_ext=cpp
64036 ac_cpp='$CXXCPP $CPPFLAGS'
64037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64042 /* end confdefs.h. */
64043 #include <math.h>
64044 #ifdef HAVE_IEEEFP_H
64045 #include <ieeefp.h>
64046 #endif
64049 main ()
64051 isinf(0);
64053 return 0;
64055 _ACEOF
64056 if ac_fn_cxx_try_compile "$LINENO"; then :
64057 glibcxx_cv_func_isinf_use=yes
64058 else
64059 glibcxx_cv_func_isinf_use=no
64061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64062 ac_ext=c
64063 ac_cpp='$CPP $CPPFLAGS'
64064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
64073 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
64075 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64076 for ac_func in isinf
64077 do :
64078 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
64079 if test "x$ac_cv_func_isinf" = x""yes; then :
64080 cat >>confdefs.h <<_ACEOF
64081 #define HAVE_ISINF 1
64082 _ACEOF
64085 done
64087 else
64089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
64090 $as_echo_n "checking for _isinf declaration... " >&6; }
64091 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64092 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
64093 $as_echo_n "(cached) " >&6
64094 else
64097 ac_ext=cpp
64098 ac_cpp='$CXXCPP $CPPFLAGS'
64099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64104 /* end confdefs.h. */
64105 #include <math.h>
64106 #ifdef HAVE_IEEEFP_H
64107 #include <ieeefp.h>
64108 #endif
64111 main ()
64113 _isinf(0);
64115 return 0;
64117 _ACEOF
64118 if ac_fn_cxx_try_compile "$LINENO"; then :
64119 glibcxx_cv_func__isinf_use=yes
64120 else
64121 glibcxx_cv_func__isinf_use=no
64123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64124 ac_ext=c
64125 ac_cpp='$CPP $CPPFLAGS'
64126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64135 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64137 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64138 for ac_func in _isinf
64139 do :
64140 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64141 if test "x$ac_cv_func__isinf" = x""yes; then :
64142 cat >>confdefs.h <<_ACEOF
64143 #define HAVE__ISINF 1
64144 _ACEOF
64147 done
64156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64157 $as_echo_n "checking for isnan declaration... " >&6; }
64158 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64159 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64160 $as_echo_n "(cached) " >&6
64161 else
64164 ac_ext=cpp
64165 ac_cpp='$CXXCPP $CPPFLAGS'
64166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64171 /* end confdefs.h. */
64172 #include <math.h>
64173 #ifdef HAVE_IEEEFP_H
64174 #include <ieeefp.h>
64175 #endif
64178 main ()
64180 isnan(0);
64182 return 0;
64184 _ACEOF
64185 if ac_fn_cxx_try_compile "$LINENO"; then :
64186 glibcxx_cv_func_isnan_use=yes
64187 else
64188 glibcxx_cv_func_isnan_use=no
64190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64191 ac_ext=c
64192 ac_cpp='$CPP $CPPFLAGS'
64193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64202 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64204 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64205 for ac_func in isnan
64206 do :
64207 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64208 if test "x$ac_cv_func_isnan" = x""yes; then :
64209 cat >>confdefs.h <<_ACEOF
64210 #define HAVE_ISNAN 1
64211 _ACEOF
64214 done
64216 else
64218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64219 $as_echo_n "checking for _isnan declaration... " >&6; }
64220 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64221 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64222 $as_echo_n "(cached) " >&6
64223 else
64226 ac_ext=cpp
64227 ac_cpp='$CXXCPP $CPPFLAGS'
64228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64233 /* end confdefs.h. */
64234 #include <math.h>
64235 #ifdef HAVE_IEEEFP_H
64236 #include <ieeefp.h>
64237 #endif
64240 main ()
64242 _isnan(0);
64244 return 0;
64246 _ACEOF
64247 if ac_fn_cxx_try_compile "$LINENO"; then :
64248 glibcxx_cv_func__isnan_use=yes
64249 else
64250 glibcxx_cv_func__isnan_use=no
64252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64253 ac_ext=c
64254 ac_cpp='$CPP $CPPFLAGS'
64255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64264 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64266 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64267 for ac_func in _isnan
64268 do :
64269 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64270 if test "x$ac_cv_func__isnan" = x""yes; then :
64271 cat >>confdefs.h <<_ACEOF
64272 #define HAVE__ISNAN 1
64273 _ACEOF
64276 done
64285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64286 $as_echo_n "checking for finite declaration... " >&6; }
64287 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64288 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64289 $as_echo_n "(cached) " >&6
64290 else
64293 ac_ext=cpp
64294 ac_cpp='$CXXCPP $CPPFLAGS'
64295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64300 /* end confdefs.h. */
64301 #include <math.h>
64302 #ifdef HAVE_IEEEFP_H
64303 #include <ieeefp.h>
64304 #endif
64307 main ()
64309 finite(0);
64311 return 0;
64313 _ACEOF
64314 if ac_fn_cxx_try_compile "$LINENO"; then :
64315 glibcxx_cv_func_finite_use=yes
64316 else
64317 glibcxx_cv_func_finite_use=no
64319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64320 ac_ext=c
64321 ac_cpp='$CPP $CPPFLAGS'
64322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64331 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64333 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64334 for ac_func in finite
64335 do :
64336 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64337 if test "x$ac_cv_func_finite" = x""yes; then :
64338 cat >>confdefs.h <<_ACEOF
64339 #define HAVE_FINITE 1
64340 _ACEOF
64343 done
64345 else
64347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64348 $as_echo_n "checking for _finite declaration... " >&6; }
64349 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64350 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64351 $as_echo_n "(cached) " >&6
64352 else
64355 ac_ext=cpp
64356 ac_cpp='$CXXCPP $CPPFLAGS'
64357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64362 /* end confdefs.h. */
64363 #include <math.h>
64364 #ifdef HAVE_IEEEFP_H
64365 #include <ieeefp.h>
64366 #endif
64369 main ()
64371 _finite(0);
64373 return 0;
64375 _ACEOF
64376 if ac_fn_cxx_try_compile "$LINENO"; then :
64377 glibcxx_cv_func__finite_use=yes
64378 else
64379 glibcxx_cv_func__finite_use=no
64381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64382 ac_ext=c
64383 ac_cpp='$CPP $CPPFLAGS'
64384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64393 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64395 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64396 for ac_func in _finite
64397 do :
64398 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64399 if test "x$ac_cv_func__finite" = x""yes; then :
64400 cat >>confdefs.h <<_ACEOF
64401 #define HAVE__FINITE 1
64402 _ACEOF
64405 done
64414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64415 $as_echo_n "checking for sincos declaration... " >&6; }
64416 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64417 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64418 $as_echo_n "(cached) " >&6
64419 else
64422 ac_ext=cpp
64423 ac_cpp='$CXXCPP $CPPFLAGS'
64424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64429 /* end confdefs.h. */
64430 #include <math.h>
64432 main ()
64434 sincos(0, 0, 0);
64436 return 0;
64438 _ACEOF
64439 if ac_fn_cxx_try_compile "$LINENO"; then :
64440 glibcxx_cv_func_sincos_use=yes
64441 else
64442 glibcxx_cv_func_sincos_use=no
64444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64445 ac_ext=c
64446 ac_cpp='$CPP $CPPFLAGS'
64447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64456 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64458 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64459 for ac_func in sincos
64460 do :
64461 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64462 if test "x$ac_cv_func_sincos" = x""yes; then :
64463 cat >>confdefs.h <<_ACEOF
64464 #define HAVE_SINCOS 1
64465 _ACEOF
64468 done
64470 else
64472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64473 $as_echo_n "checking for _sincos declaration... " >&6; }
64474 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64475 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64476 $as_echo_n "(cached) " >&6
64477 else
64480 ac_ext=cpp
64481 ac_cpp='$CXXCPP $CPPFLAGS'
64482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64487 /* end confdefs.h. */
64488 #include <math.h>
64490 main ()
64492 _sincos(0, 0, 0);
64494 return 0;
64496 _ACEOF
64497 if ac_fn_cxx_try_compile "$LINENO"; then :
64498 glibcxx_cv_func__sincos_use=yes
64499 else
64500 glibcxx_cv_func__sincos_use=no
64502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64503 ac_ext=c
64504 ac_cpp='$CPP $CPPFLAGS'
64505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64514 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64516 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64517 for ac_func in _sincos
64518 do :
64519 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64520 if test "x$ac_cv_func__sincos" = x""yes; then :
64521 cat >>confdefs.h <<_ACEOF
64522 #define HAVE__SINCOS 1
64523 _ACEOF
64526 done
64535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64536 $as_echo_n "checking for fpclass declaration... " >&6; }
64537 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64538 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64539 $as_echo_n "(cached) " >&6
64540 else
64543 ac_ext=cpp
64544 ac_cpp='$CXXCPP $CPPFLAGS'
64545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64550 /* end confdefs.h. */
64551 #include <math.h>
64552 #ifdef HAVE_IEEEFP_H
64553 #include <ieeefp.h>
64554 #endif
64557 main ()
64559 fpclass(0);
64561 return 0;
64563 _ACEOF
64564 if ac_fn_cxx_try_compile "$LINENO"; then :
64565 glibcxx_cv_func_fpclass_use=yes
64566 else
64567 glibcxx_cv_func_fpclass_use=no
64569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64570 ac_ext=c
64571 ac_cpp='$CPP $CPPFLAGS'
64572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64581 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64583 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64584 for ac_func in fpclass
64585 do :
64586 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64587 if test "x$ac_cv_func_fpclass" = x""yes; then :
64588 cat >>confdefs.h <<_ACEOF
64589 #define HAVE_FPCLASS 1
64590 _ACEOF
64593 done
64595 else
64597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64598 $as_echo_n "checking for _fpclass declaration... " >&6; }
64599 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64600 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64601 $as_echo_n "(cached) " >&6
64602 else
64605 ac_ext=cpp
64606 ac_cpp='$CXXCPP $CPPFLAGS'
64607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64612 /* end confdefs.h. */
64613 #include <math.h>
64614 #ifdef HAVE_IEEEFP_H
64615 #include <ieeefp.h>
64616 #endif
64619 main ()
64621 _fpclass(0);
64623 return 0;
64625 _ACEOF
64626 if ac_fn_cxx_try_compile "$LINENO"; then :
64627 glibcxx_cv_func__fpclass_use=yes
64628 else
64629 glibcxx_cv_func__fpclass_use=no
64631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64632 ac_ext=c
64633 ac_cpp='$CPP $CPPFLAGS'
64634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64643 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64645 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64646 for ac_func in _fpclass
64647 do :
64648 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64649 if test "x$ac_cv_func__fpclass" = x""yes; then :
64650 cat >>confdefs.h <<_ACEOF
64651 #define HAVE__FPCLASS 1
64652 _ACEOF
64655 done
64664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64665 $as_echo_n "checking for qfpclass declaration... " >&6; }
64666 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64667 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64668 $as_echo_n "(cached) " >&6
64669 else
64672 ac_ext=cpp
64673 ac_cpp='$CXXCPP $CPPFLAGS'
64674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64679 /* end confdefs.h. */
64680 #include <math.h>
64681 #ifdef HAVE_IEEEFP_H
64682 #include <ieeefp.h>
64683 #endif
64686 main ()
64688 qfpclass(0);
64690 return 0;
64692 _ACEOF
64693 if ac_fn_cxx_try_compile "$LINENO"; then :
64694 glibcxx_cv_func_qfpclass_use=yes
64695 else
64696 glibcxx_cv_func_qfpclass_use=no
64698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64699 ac_ext=c
64700 ac_cpp='$CPP $CPPFLAGS'
64701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64710 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64712 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64713 for ac_func in qfpclass
64714 do :
64715 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64716 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64717 cat >>confdefs.h <<_ACEOF
64718 #define HAVE_QFPCLASS 1
64719 _ACEOF
64722 done
64724 else
64726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64727 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64728 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64729 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64730 $as_echo_n "(cached) " >&6
64731 else
64734 ac_ext=cpp
64735 ac_cpp='$CXXCPP $CPPFLAGS'
64736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64741 /* end confdefs.h. */
64742 #include <math.h>
64743 #ifdef HAVE_IEEEFP_H
64744 #include <ieeefp.h>
64745 #endif
64748 main ()
64750 _qfpclass(0);
64752 return 0;
64754 _ACEOF
64755 if ac_fn_cxx_try_compile "$LINENO"; then :
64756 glibcxx_cv_func__qfpclass_use=yes
64757 else
64758 glibcxx_cv_func__qfpclass_use=no
64760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64761 ac_ext=c
64762 ac_cpp='$CPP $CPPFLAGS'
64763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64772 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64774 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64775 for ac_func in _qfpclass
64776 do :
64777 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64778 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64779 cat >>confdefs.h <<_ACEOF
64780 #define HAVE__QFPCLASS 1
64781 _ACEOF
64784 done
64793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64794 $as_echo_n "checking for hypot declaration... " >&6; }
64795 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64796 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64797 $as_echo_n "(cached) " >&6
64798 else
64801 ac_ext=cpp
64802 ac_cpp='$CXXCPP $CPPFLAGS'
64803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64808 /* end confdefs.h. */
64809 #include <math.h>
64811 main ()
64813 hypot(0, 0);
64815 return 0;
64817 _ACEOF
64818 if ac_fn_cxx_try_compile "$LINENO"; then :
64819 glibcxx_cv_func_hypot_use=yes
64820 else
64821 glibcxx_cv_func_hypot_use=no
64823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64824 ac_ext=c
64825 ac_cpp='$CPP $CPPFLAGS'
64826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64835 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64837 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64838 for ac_func in hypot
64839 do :
64840 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64841 if test "x$ac_cv_func_hypot" = x""yes; then :
64842 cat >>confdefs.h <<_ACEOF
64843 #define HAVE_HYPOT 1
64844 _ACEOF
64847 done
64849 else
64851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64852 $as_echo_n "checking for _hypot declaration... " >&6; }
64853 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64854 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64855 $as_echo_n "(cached) " >&6
64856 else
64859 ac_ext=cpp
64860 ac_cpp='$CXXCPP $CPPFLAGS'
64861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64866 /* end confdefs.h. */
64867 #include <math.h>
64869 main ()
64871 _hypot(0, 0);
64873 return 0;
64875 _ACEOF
64876 if ac_fn_cxx_try_compile "$LINENO"; then :
64877 glibcxx_cv_func__hypot_use=yes
64878 else
64879 glibcxx_cv_func__hypot_use=no
64881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64882 ac_ext=c
64883 ac_cpp='$CPP $CPPFLAGS'
64884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64893 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64895 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64896 for ac_func in _hypot
64897 do :
64898 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64899 if test "x$ac_cv_func__hypot" = x""yes; then :
64900 cat >>confdefs.h <<_ACEOF
64901 #define HAVE__HYPOT 1
64902 _ACEOF
64905 done
64914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64915 $as_echo_n "checking for float trig functions... " >&6; }
64916 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64917 $as_echo_n "(cached) " >&6
64918 else
64921 ac_ext=cpp
64922 ac_cpp='$CXXCPP $CPPFLAGS'
64923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64928 /* end confdefs.h. */
64929 #include <math.h>
64931 main ()
64933 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64935 return 0;
64937 _ACEOF
64938 if ac_fn_cxx_try_compile "$LINENO"; then :
64939 glibcxx_cv_func_float_trig_use=yes
64940 else
64941 glibcxx_cv_func_float_trig_use=no
64943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64944 ac_ext=c
64945 ac_cpp='$CPP $CPPFLAGS'
64946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64953 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64954 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64955 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64956 do :
64957 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64958 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64959 eval as_val=\$$as_ac_var
64960 if test "x$as_val" = x""yes; then :
64961 cat >>confdefs.h <<_ACEOF
64962 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64963 _ACEOF
64966 done
64968 else
64969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64970 $as_echo_n "checking for _float trig functions... " >&6; }
64971 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64972 $as_echo_n "(cached) " >&6
64973 else
64976 ac_ext=cpp
64977 ac_cpp='$CXXCPP $CPPFLAGS'
64978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64983 /* end confdefs.h. */
64984 #include <math.h>
64986 main ()
64988 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64990 return 0;
64992 _ACEOF
64993 if ac_fn_cxx_try_compile "$LINENO"; then :
64994 glibcxx_cv_func__float_trig_use=yes
64995 else
64996 glibcxx_cv_func__float_trig_use=no
64998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64999 ac_ext=c
65000 ac_cpp='$CPP $CPPFLAGS'
65001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65008 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65009 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65010 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65011 do :
65012 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65014 eval as_val=\$$as_ac_var
65015 if test "x$as_val" = x""yes; then :
65016 cat >>confdefs.h <<_ACEOF
65017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65018 _ACEOF
65021 done
65030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65031 $as_echo_n "checking for float round functions... " >&6; }
65032 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65033 $as_echo_n "(cached) " >&6
65034 else
65037 ac_ext=cpp
65038 ac_cpp='$CXXCPP $CPPFLAGS'
65039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65044 /* end confdefs.h. */
65045 #include <math.h>
65047 main ()
65049 ceilf (0); floorf (0);
65051 return 0;
65053 _ACEOF
65054 if ac_fn_cxx_try_compile "$LINENO"; then :
65055 glibcxx_cv_func_float_round_use=yes
65056 else
65057 glibcxx_cv_func_float_round_use=no
65059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65060 ac_ext=c
65061 ac_cpp='$CPP $CPPFLAGS'
65062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
65069 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
65070 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65071 for ac_func in ceilf floorf
65072 do :
65073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65075 eval as_val=\$$as_ac_var
65076 if test "x$as_val" = x""yes; then :
65077 cat >>confdefs.h <<_ACEOF
65078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65079 _ACEOF
65082 done
65084 else
65085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
65086 $as_echo_n "checking for _float round functions... " >&6; }
65087 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
65088 $as_echo_n "(cached) " >&6
65089 else
65092 ac_ext=cpp
65093 ac_cpp='$CXXCPP $CPPFLAGS'
65094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65099 /* end confdefs.h. */
65100 #include <math.h>
65102 main ()
65104 _ceilf (0); _floorf (0);
65106 return 0;
65108 _ACEOF
65109 if ac_fn_cxx_try_compile "$LINENO"; then :
65110 glibcxx_cv_func__float_round_use=yes
65111 else
65112 glibcxx_cv_func__float_round_use=no
65114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65115 ac_ext=c
65116 ac_cpp='$CPP $CPPFLAGS'
65117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65124 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65125 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65126 for ac_func in _ceilf _floorf
65127 do :
65128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65130 eval as_val=\$$as_ac_var
65131 if test "x$as_val" = x""yes; then :
65132 cat >>confdefs.h <<_ACEOF
65133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65134 _ACEOF
65137 done
65147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65148 $as_echo_n "checking for expf declaration... " >&6; }
65149 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65150 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65151 $as_echo_n "(cached) " >&6
65152 else
65155 ac_ext=cpp
65156 ac_cpp='$CXXCPP $CPPFLAGS'
65157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65162 /* end confdefs.h. */
65163 #include <math.h>
65164 #ifdef HAVE_IEEEFP_H
65165 #include <ieeefp.h>
65166 #endif
65169 main ()
65171 expf(0);
65173 return 0;
65175 _ACEOF
65176 if ac_fn_cxx_try_compile "$LINENO"; then :
65177 glibcxx_cv_func_expf_use=yes
65178 else
65179 glibcxx_cv_func_expf_use=no
65181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65182 ac_ext=c
65183 ac_cpp='$CPP $CPPFLAGS'
65184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65193 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65195 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65196 for ac_func in expf
65197 do :
65198 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65199 if test "x$ac_cv_func_expf" = x""yes; then :
65200 cat >>confdefs.h <<_ACEOF
65201 #define HAVE_EXPF 1
65202 _ACEOF
65205 done
65207 else
65209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65210 $as_echo_n "checking for _expf declaration... " >&6; }
65211 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65212 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65213 $as_echo_n "(cached) " >&6
65214 else
65217 ac_ext=cpp
65218 ac_cpp='$CXXCPP $CPPFLAGS'
65219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65224 /* end confdefs.h. */
65225 #include <math.h>
65226 #ifdef HAVE_IEEEFP_H
65227 #include <ieeefp.h>
65228 #endif
65231 main ()
65233 _expf(0);
65235 return 0;
65237 _ACEOF
65238 if ac_fn_cxx_try_compile "$LINENO"; then :
65239 glibcxx_cv_func__expf_use=yes
65240 else
65241 glibcxx_cv_func__expf_use=no
65243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65244 ac_ext=c
65245 ac_cpp='$CPP $CPPFLAGS'
65246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65255 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65257 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65258 for ac_func in _expf
65259 do :
65260 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65261 if test "x$ac_cv_func__expf" = x""yes; then :
65262 cat >>confdefs.h <<_ACEOF
65263 #define HAVE__EXPF 1
65264 _ACEOF
65267 done
65276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65277 $as_echo_n "checking for isnanf declaration... " >&6; }
65278 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65279 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65280 $as_echo_n "(cached) " >&6
65281 else
65284 ac_ext=cpp
65285 ac_cpp='$CXXCPP $CPPFLAGS'
65286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65291 /* end confdefs.h. */
65292 #include <math.h>
65293 #ifdef HAVE_IEEEFP_H
65294 #include <ieeefp.h>
65295 #endif
65298 main ()
65300 isnanf(0);
65302 return 0;
65304 _ACEOF
65305 if ac_fn_cxx_try_compile "$LINENO"; then :
65306 glibcxx_cv_func_isnanf_use=yes
65307 else
65308 glibcxx_cv_func_isnanf_use=no
65310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65311 ac_ext=c
65312 ac_cpp='$CPP $CPPFLAGS'
65313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65322 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65324 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65325 for ac_func in isnanf
65326 do :
65327 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65328 if test "x$ac_cv_func_isnanf" = x""yes; then :
65329 cat >>confdefs.h <<_ACEOF
65330 #define HAVE_ISNANF 1
65331 _ACEOF
65334 done
65336 else
65338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65339 $as_echo_n "checking for _isnanf declaration... " >&6; }
65340 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65341 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65342 $as_echo_n "(cached) " >&6
65343 else
65346 ac_ext=cpp
65347 ac_cpp='$CXXCPP $CPPFLAGS'
65348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65353 /* end confdefs.h. */
65354 #include <math.h>
65355 #ifdef HAVE_IEEEFP_H
65356 #include <ieeefp.h>
65357 #endif
65360 main ()
65362 _isnanf(0);
65364 return 0;
65366 _ACEOF
65367 if ac_fn_cxx_try_compile "$LINENO"; then :
65368 glibcxx_cv_func__isnanf_use=yes
65369 else
65370 glibcxx_cv_func__isnanf_use=no
65372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65373 ac_ext=c
65374 ac_cpp='$CPP $CPPFLAGS'
65375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65384 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65386 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65387 for ac_func in _isnanf
65388 do :
65389 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65390 if test "x$ac_cv_func__isnanf" = x""yes; then :
65391 cat >>confdefs.h <<_ACEOF
65392 #define HAVE__ISNANF 1
65393 _ACEOF
65396 done
65405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65406 $as_echo_n "checking for isinff declaration... " >&6; }
65407 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65408 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65409 $as_echo_n "(cached) " >&6
65410 else
65413 ac_ext=cpp
65414 ac_cpp='$CXXCPP $CPPFLAGS'
65415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65420 /* end confdefs.h. */
65421 #include <math.h>
65422 #ifdef HAVE_IEEEFP_H
65423 #include <ieeefp.h>
65424 #endif
65427 main ()
65429 isinff(0);
65431 return 0;
65433 _ACEOF
65434 if ac_fn_cxx_try_compile "$LINENO"; then :
65435 glibcxx_cv_func_isinff_use=yes
65436 else
65437 glibcxx_cv_func_isinff_use=no
65439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65440 ac_ext=c
65441 ac_cpp='$CPP $CPPFLAGS'
65442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65451 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65453 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65454 for ac_func in isinff
65455 do :
65456 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65457 if test "x$ac_cv_func_isinff" = x""yes; then :
65458 cat >>confdefs.h <<_ACEOF
65459 #define HAVE_ISINFF 1
65460 _ACEOF
65463 done
65465 else
65467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65468 $as_echo_n "checking for _isinff declaration... " >&6; }
65469 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65470 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65471 $as_echo_n "(cached) " >&6
65472 else
65475 ac_ext=cpp
65476 ac_cpp='$CXXCPP $CPPFLAGS'
65477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65482 /* end confdefs.h. */
65483 #include <math.h>
65484 #ifdef HAVE_IEEEFP_H
65485 #include <ieeefp.h>
65486 #endif
65489 main ()
65491 _isinff(0);
65493 return 0;
65495 _ACEOF
65496 if ac_fn_cxx_try_compile "$LINENO"; then :
65497 glibcxx_cv_func__isinff_use=yes
65498 else
65499 glibcxx_cv_func__isinff_use=no
65501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65502 ac_ext=c
65503 ac_cpp='$CPP $CPPFLAGS'
65504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65513 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65515 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65516 for ac_func in _isinff
65517 do :
65518 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65519 if test "x$ac_cv_func__isinff" = x""yes; then :
65520 cat >>confdefs.h <<_ACEOF
65521 #define HAVE__ISINFF 1
65522 _ACEOF
65525 done
65534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65535 $as_echo_n "checking for atan2f declaration... " >&6; }
65536 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65537 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65538 $as_echo_n "(cached) " >&6
65539 else
65542 ac_ext=cpp
65543 ac_cpp='$CXXCPP $CPPFLAGS'
65544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65549 /* end confdefs.h. */
65550 #include <math.h>
65552 main ()
65554 atan2f(0, 0);
65556 return 0;
65558 _ACEOF
65559 if ac_fn_cxx_try_compile "$LINENO"; then :
65560 glibcxx_cv_func_atan2f_use=yes
65561 else
65562 glibcxx_cv_func_atan2f_use=no
65564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65565 ac_ext=c
65566 ac_cpp='$CPP $CPPFLAGS'
65567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65576 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65578 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65579 for ac_func in atan2f
65580 do :
65581 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65582 if test "x$ac_cv_func_atan2f" = x""yes; then :
65583 cat >>confdefs.h <<_ACEOF
65584 #define HAVE_ATAN2F 1
65585 _ACEOF
65588 done
65590 else
65592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65593 $as_echo_n "checking for _atan2f declaration... " >&6; }
65594 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65595 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65596 $as_echo_n "(cached) " >&6
65597 else
65600 ac_ext=cpp
65601 ac_cpp='$CXXCPP $CPPFLAGS'
65602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65607 /* end confdefs.h. */
65608 #include <math.h>
65610 main ()
65612 _atan2f(0, 0);
65614 return 0;
65616 _ACEOF
65617 if ac_fn_cxx_try_compile "$LINENO"; then :
65618 glibcxx_cv_func__atan2f_use=yes
65619 else
65620 glibcxx_cv_func__atan2f_use=no
65622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65623 ac_ext=c
65624 ac_cpp='$CPP $CPPFLAGS'
65625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65634 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65636 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65637 for ac_func in _atan2f
65638 do :
65639 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65640 if test "x$ac_cv_func__atan2f" = x""yes; then :
65641 cat >>confdefs.h <<_ACEOF
65642 #define HAVE__ATAN2F 1
65643 _ACEOF
65646 done
65655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65656 $as_echo_n "checking for fabsf declaration... " >&6; }
65657 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65658 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65659 $as_echo_n "(cached) " >&6
65660 else
65663 ac_ext=cpp
65664 ac_cpp='$CXXCPP $CPPFLAGS'
65665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65670 /* end confdefs.h. */
65671 #include <math.h>
65672 #ifdef HAVE_IEEEFP_H
65673 #include <ieeefp.h>
65674 #endif
65677 main ()
65679 fabsf(0);
65681 return 0;
65683 _ACEOF
65684 if ac_fn_cxx_try_compile "$LINENO"; then :
65685 glibcxx_cv_func_fabsf_use=yes
65686 else
65687 glibcxx_cv_func_fabsf_use=no
65689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65690 ac_ext=c
65691 ac_cpp='$CPP $CPPFLAGS'
65692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65701 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65703 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65704 for ac_func in fabsf
65705 do :
65706 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65707 if test "x$ac_cv_func_fabsf" = x""yes; then :
65708 cat >>confdefs.h <<_ACEOF
65709 #define HAVE_FABSF 1
65710 _ACEOF
65713 done
65715 else
65717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65718 $as_echo_n "checking for _fabsf declaration... " >&6; }
65719 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65720 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65721 $as_echo_n "(cached) " >&6
65722 else
65725 ac_ext=cpp
65726 ac_cpp='$CXXCPP $CPPFLAGS'
65727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65732 /* end confdefs.h. */
65733 #include <math.h>
65734 #ifdef HAVE_IEEEFP_H
65735 #include <ieeefp.h>
65736 #endif
65739 main ()
65741 _fabsf(0);
65743 return 0;
65745 _ACEOF
65746 if ac_fn_cxx_try_compile "$LINENO"; then :
65747 glibcxx_cv_func__fabsf_use=yes
65748 else
65749 glibcxx_cv_func__fabsf_use=no
65751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65752 ac_ext=c
65753 ac_cpp='$CPP $CPPFLAGS'
65754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65763 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65765 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65766 for ac_func in _fabsf
65767 do :
65768 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65769 if test "x$ac_cv_func__fabsf" = x""yes; then :
65770 cat >>confdefs.h <<_ACEOF
65771 #define HAVE__FABSF 1
65772 _ACEOF
65775 done
65784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65785 $as_echo_n "checking for fmodf declaration... " >&6; }
65786 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65787 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65788 $as_echo_n "(cached) " >&6
65789 else
65792 ac_ext=cpp
65793 ac_cpp='$CXXCPP $CPPFLAGS'
65794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65799 /* end confdefs.h. */
65800 #include <math.h>
65802 main ()
65804 fmodf(0, 0);
65806 return 0;
65808 _ACEOF
65809 if ac_fn_cxx_try_compile "$LINENO"; then :
65810 glibcxx_cv_func_fmodf_use=yes
65811 else
65812 glibcxx_cv_func_fmodf_use=no
65814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65815 ac_ext=c
65816 ac_cpp='$CPP $CPPFLAGS'
65817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65826 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65828 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65829 for ac_func in fmodf
65830 do :
65831 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65832 if test "x$ac_cv_func_fmodf" = x""yes; then :
65833 cat >>confdefs.h <<_ACEOF
65834 #define HAVE_FMODF 1
65835 _ACEOF
65838 done
65840 else
65842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65843 $as_echo_n "checking for _fmodf declaration... " >&6; }
65844 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65845 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65846 $as_echo_n "(cached) " >&6
65847 else
65850 ac_ext=cpp
65851 ac_cpp='$CXXCPP $CPPFLAGS'
65852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65857 /* end confdefs.h. */
65858 #include <math.h>
65860 main ()
65862 _fmodf(0, 0);
65864 return 0;
65866 _ACEOF
65867 if ac_fn_cxx_try_compile "$LINENO"; then :
65868 glibcxx_cv_func__fmodf_use=yes
65869 else
65870 glibcxx_cv_func__fmodf_use=no
65872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65873 ac_ext=c
65874 ac_cpp='$CPP $CPPFLAGS'
65875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65884 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65886 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65887 for ac_func in _fmodf
65888 do :
65889 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65890 if test "x$ac_cv_func__fmodf" = x""yes; then :
65891 cat >>confdefs.h <<_ACEOF
65892 #define HAVE__FMODF 1
65893 _ACEOF
65896 done
65905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65906 $as_echo_n "checking for frexpf declaration... " >&6; }
65907 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65908 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65909 $as_echo_n "(cached) " >&6
65910 else
65913 ac_ext=cpp
65914 ac_cpp='$CXXCPP $CPPFLAGS'
65915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65920 /* end confdefs.h. */
65921 #include <math.h>
65923 main ()
65925 frexpf(0, 0);
65927 return 0;
65929 _ACEOF
65930 if ac_fn_cxx_try_compile "$LINENO"; then :
65931 glibcxx_cv_func_frexpf_use=yes
65932 else
65933 glibcxx_cv_func_frexpf_use=no
65935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65936 ac_ext=c
65937 ac_cpp='$CPP $CPPFLAGS'
65938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65947 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65949 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65950 for ac_func in frexpf
65951 do :
65952 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65953 if test "x$ac_cv_func_frexpf" = x""yes; then :
65954 cat >>confdefs.h <<_ACEOF
65955 #define HAVE_FREXPF 1
65956 _ACEOF
65959 done
65961 else
65963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65964 $as_echo_n "checking for _frexpf declaration... " >&6; }
65965 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65966 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65967 $as_echo_n "(cached) " >&6
65968 else
65971 ac_ext=cpp
65972 ac_cpp='$CXXCPP $CPPFLAGS'
65973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65978 /* end confdefs.h. */
65979 #include <math.h>
65981 main ()
65983 _frexpf(0, 0);
65985 return 0;
65987 _ACEOF
65988 if ac_fn_cxx_try_compile "$LINENO"; then :
65989 glibcxx_cv_func__frexpf_use=yes
65990 else
65991 glibcxx_cv_func__frexpf_use=no
65993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65994 ac_ext=c
65995 ac_cpp='$CPP $CPPFLAGS'
65996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
66005 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66007 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66008 for ac_func in _frexpf
66009 do :
66010 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66011 if test "x$ac_cv_func__frexpf" = x""yes; then :
66012 cat >>confdefs.h <<_ACEOF
66013 #define HAVE__FREXPF 1
66014 _ACEOF
66017 done
66026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
66027 $as_echo_n "checking for hypotf declaration... " >&6; }
66028 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66029 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
66030 $as_echo_n "(cached) " >&6
66031 else
66034 ac_ext=cpp
66035 ac_cpp='$CXXCPP $CPPFLAGS'
66036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66041 /* end confdefs.h. */
66042 #include <math.h>
66044 main ()
66046 hypotf(0, 0);
66048 return 0;
66050 _ACEOF
66051 if ac_fn_cxx_try_compile "$LINENO"; then :
66052 glibcxx_cv_func_hypotf_use=yes
66053 else
66054 glibcxx_cv_func_hypotf_use=no
66056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66057 ac_ext=c
66058 ac_cpp='$CPP $CPPFLAGS'
66059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
66068 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
66070 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
66071 for ac_func in hypotf
66072 do :
66073 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
66074 if test "x$ac_cv_func_hypotf" = x""yes; then :
66075 cat >>confdefs.h <<_ACEOF
66076 #define HAVE_HYPOTF 1
66077 _ACEOF
66080 done
66082 else
66084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
66085 $as_echo_n "checking for _hypotf declaration... " >&6; }
66086 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
66087 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
66088 $as_echo_n "(cached) " >&6
66089 else
66092 ac_ext=cpp
66093 ac_cpp='$CXXCPP $CPPFLAGS'
66094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66099 /* end confdefs.h. */
66100 #include <math.h>
66102 main ()
66104 _hypotf(0, 0);
66106 return 0;
66108 _ACEOF
66109 if ac_fn_cxx_try_compile "$LINENO"; then :
66110 glibcxx_cv_func__hypotf_use=yes
66111 else
66112 glibcxx_cv_func__hypotf_use=no
66114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66115 ac_ext=c
66116 ac_cpp='$CPP $CPPFLAGS'
66117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66126 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66128 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66129 for ac_func in _hypotf
66130 do :
66131 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66132 if test "x$ac_cv_func__hypotf" = x""yes; then :
66133 cat >>confdefs.h <<_ACEOF
66134 #define HAVE__HYPOTF 1
66135 _ACEOF
66138 done
66147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66148 $as_echo_n "checking for ldexpf declaration... " >&6; }
66149 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66150 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66151 $as_echo_n "(cached) " >&6
66152 else
66155 ac_ext=cpp
66156 ac_cpp='$CXXCPP $CPPFLAGS'
66157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66162 /* end confdefs.h. */
66163 #include <math.h>
66165 main ()
66167 ldexpf(0, 0);
66169 return 0;
66171 _ACEOF
66172 if ac_fn_cxx_try_compile "$LINENO"; then :
66173 glibcxx_cv_func_ldexpf_use=yes
66174 else
66175 glibcxx_cv_func_ldexpf_use=no
66177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66178 ac_ext=c
66179 ac_cpp='$CPP $CPPFLAGS'
66180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66189 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66191 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66192 for ac_func in ldexpf
66193 do :
66194 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66195 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66196 cat >>confdefs.h <<_ACEOF
66197 #define HAVE_LDEXPF 1
66198 _ACEOF
66201 done
66203 else
66205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66206 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66207 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66208 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66209 $as_echo_n "(cached) " >&6
66210 else
66213 ac_ext=cpp
66214 ac_cpp='$CXXCPP $CPPFLAGS'
66215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66220 /* end confdefs.h. */
66221 #include <math.h>
66223 main ()
66225 _ldexpf(0, 0);
66227 return 0;
66229 _ACEOF
66230 if ac_fn_cxx_try_compile "$LINENO"; then :
66231 glibcxx_cv_func__ldexpf_use=yes
66232 else
66233 glibcxx_cv_func__ldexpf_use=no
66235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66236 ac_ext=c
66237 ac_cpp='$CPP $CPPFLAGS'
66238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66247 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66249 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66250 for ac_func in _ldexpf
66251 do :
66252 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66253 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66254 cat >>confdefs.h <<_ACEOF
66255 #define HAVE__LDEXPF 1
66256 _ACEOF
66259 done
66268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66269 $as_echo_n "checking for logf declaration... " >&6; }
66270 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66271 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66272 $as_echo_n "(cached) " >&6
66273 else
66276 ac_ext=cpp
66277 ac_cpp='$CXXCPP $CPPFLAGS'
66278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66283 /* end confdefs.h. */
66284 #include <math.h>
66285 #ifdef HAVE_IEEEFP_H
66286 #include <ieeefp.h>
66287 #endif
66290 main ()
66292 logf(0);
66294 return 0;
66296 _ACEOF
66297 if ac_fn_cxx_try_compile "$LINENO"; then :
66298 glibcxx_cv_func_logf_use=yes
66299 else
66300 glibcxx_cv_func_logf_use=no
66302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66303 ac_ext=c
66304 ac_cpp='$CPP $CPPFLAGS'
66305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66314 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66316 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66317 for ac_func in logf
66318 do :
66319 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66320 if test "x$ac_cv_func_logf" = x""yes; then :
66321 cat >>confdefs.h <<_ACEOF
66322 #define HAVE_LOGF 1
66323 _ACEOF
66326 done
66328 else
66330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66331 $as_echo_n "checking for _logf declaration... " >&6; }
66332 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66333 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66334 $as_echo_n "(cached) " >&6
66335 else
66338 ac_ext=cpp
66339 ac_cpp='$CXXCPP $CPPFLAGS'
66340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66345 /* end confdefs.h. */
66346 #include <math.h>
66347 #ifdef HAVE_IEEEFP_H
66348 #include <ieeefp.h>
66349 #endif
66352 main ()
66354 _logf(0);
66356 return 0;
66358 _ACEOF
66359 if ac_fn_cxx_try_compile "$LINENO"; then :
66360 glibcxx_cv_func__logf_use=yes
66361 else
66362 glibcxx_cv_func__logf_use=no
66364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66365 ac_ext=c
66366 ac_cpp='$CPP $CPPFLAGS'
66367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66376 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66378 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66379 for ac_func in _logf
66380 do :
66381 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66382 if test "x$ac_cv_func__logf" = x""yes; then :
66383 cat >>confdefs.h <<_ACEOF
66384 #define HAVE__LOGF 1
66385 _ACEOF
66388 done
66397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66398 $as_echo_n "checking for log10f declaration... " >&6; }
66399 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66400 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66401 $as_echo_n "(cached) " >&6
66402 else
66405 ac_ext=cpp
66406 ac_cpp='$CXXCPP $CPPFLAGS'
66407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66412 /* end confdefs.h. */
66413 #include <math.h>
66414 #ifdef HAVE_IEEEFP_H
66415 #include <ieeefp.h>
66416 #endif
66419 main ()
66421 log10f(0);
66423 return 0;
66425 _ACEOF
66426 if ac_fn_cxx_try_compile "$LINENO"; then :
66427 glibcxx_cv_func_log10f_use=yes
66428 else
66429 glibcxx_cv_func_log10f_use=no
66431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66432 ac_ext=c
66433 ac_cpp='$CPP $CPPFLAGS'
66434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66443 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66445 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66446 for ac_func in log10f
66447 do :
66448 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66449 if test "x$ac_cv_func_log10f" = x""yes; then :
66450 cat >>confdefs.h <<_ACEOF
66451 #define HAVE_LOG10F 1
66452 _ACEOF
66455 done
66457 else
66459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66460 $as_echo_n "checking for _log10f declaration... " >&6; }
66461 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66462 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66463 $as_echo_n "(cached) " >&6
66464 else
66467 ac_ext=cpp
66468 ac_cpp='$CXXCPP $CPPFLAGS'
66469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66474 /* end confdefs.h. */
66475 #include <math.h>
66476 #ifdef HAVE_IEEEFP_H
66477 #include <ieeefp.h>
66478 #endif
66481 main ()
66483 _log10f(0);
66485 return 0;
66487 _ACEOF
66488 if ac_fn_cxx_try_compile "$LINENO"; then :
66489 glibcxx_cv_func__log10f_use=yes
66490 else
66491 glibcxx_cv_func__log10f_use=no
66493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66494 ac_ext=c
66495 ac_cpp='$CPP $CPPFLAGS'
66496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66505 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66507 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66508 for ac_func in _log10f
66509 do :
66510 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66511 if test "x$ac_cv_func__log10f" = x""yes; then :
66512 cat >>confdefs.h <<_ACEOF
66513 #define HAVE__LOG10F 1
66514 _ACEOF
66517 done
66526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66527 $as_echo_n "checking for modff declaration... " >&6; }
66528 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66529 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66530 $as_echo_n "(cached) " >&6
66531 else
66534 ac_ext=cpp
66535 ac_cpp='$CXXCPP $CPPFLAGS'
66536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66541 /* end confdefs.h. */
66542 #include <math.h>
66544 main ()
66546 modff(0, 0);
66548 return 0;
66550 _ACEOF
66551 if ac_fn_cxx_try_compile "$LINENO"; then :
66552 glibcxx_cv_func_modff_use=yes
66553 else
66554 glibcxx_cv_func_modff_use=no
66556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66557 ac_ext=c
66558 ac_cpp='$CPP $CPPFLAGS'
66559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66568 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66570 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66571 for ac_func in modff
66572 do :
66573 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66574 if test "x$ac_cv_func_modff" = x""yes; then :
66575 cat >>confdefs.h <<_ACEOF
66576 #define HAVE_MODFF 1
66577 _ACEOF
66580 done
66582 else
66584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66585 $as_echo_n "checking for _modff declaration... " >&6; }
66586 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66587 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66588 $as_echo_n "(cached) " >&6
66589 else
66592 ac_ext=cpp
66593 ac_cpp='$CXXCPP $CPPFLAGS'
66594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66599 /* end confdefs.h. */
66600 #include <math.h>
66602 main ()
66604 _modff(0, 0);
66606 return 0;
66608 _ACEOF
66609 if ac_fn_cxx_try_compile "$LINENO"; then :
66610 glibcxx_cv_func__modff_use=yes
66611 else
66612 glibcxx_cv_func__modff_use=no
66614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66615 ac_ext=c
66616 ac_cpp='$CPP $CPPFLAGS'
66617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66626 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66628 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66629 for ac_func in _modff
66630 do :
66631 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66632 if test "x$ac_cv_func__modff" = x""yes; then :
66633 cat >>confdefs.h <<_ACEOF
66634 #define HAVE__MODFF 1
66635 _ACEOF
66638 done
66647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66648 $as_echo_n "checking for modf declaration... " >&6; }
66649 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66650 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66651 $as_echo_n "(cached) " >&6
66652 else
66655 ac_ext=cpp
66656 ac_cpp='$CXXCPP $CPPFLAGS'
66657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66662 /* end confdefs.h. */
66663 #include <math.h>
66665 main ()
66667 modf(0, 0);
66669 return 0;
66671 _ACEOF
66672 if ac_fn_cxx_try_compile "$LINENO"; then :
66673 glibcxx_cv_func_modf_use=yes
66674 else
66675 glibcxx_cv_func_modf_use=no
66677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66678 ac_ext=c
66679 ac_cpp='$CPP $CPPFLAGS'
66680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66689 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66691 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66692 for ac_func in modf
66693 do :
66694 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66695 if test "x$ac_cv_func_modf" = x""yes; then :
66696 cat >>confdefs.h <<_ACEOF
66697 #define HAVE_MODF 1
66698 _ACEOF
66701 done
66703 else
66705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66706 $as_echo_n "checking for _modf declaration... " >&6; }
66707 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66708 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66709 $as_echo_n "(cached) " >&6
66710 else
66713 ac_ext=cpp
66714 ac_cpp='$CXXCPP $CPPFLAGS'
66715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66720 /* end confdefs.h. */
66721 #include <math.h>
66723 main ()
66725 _modf(0, 0);
66727 return 0;
66729 _ACEOF
66730 if ac_fn_cxx_try_compile "$LINENO"; then :
66731 glibcxx_cv_func__modf_use=yes
66732 else
66733 glibcxx_cv_func__modf_use=no
66735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66736 ac_ext=c
66737 ac_cpp='$CPP $CPPFLAGS'
66738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66747 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66749 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66750 for ac_func in _modf
66751 do :
66752 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66753 if test "x$ac_cv_func__modf" = x""yes; then :
66754 cat >>confdefs.h <<_ACEOF
66755 #define HAVE__MODF 1
66756 _ACEOF
66759 done
66768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66769 $as_echo_n "checking for powf declaration... " >&6; }
66770 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66771 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66772 $as_echo_n "(cached) " >&6
66773 else
66776 ac_ext=cpp
66777 ac_cpp='$CXXCPP $CPPFLAGS'
66778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66783 /* end confdefs.h. */
66784 #include <math.h>
66786 main ()
66788 powf(0, 0);
66790 return 0;
66792 _ACEOF
66793 if ac_fn_cxx_try_compile "$LINENO"; then :
66794 glibcxx_cv_func_powf_use=yes
66795 else
66796 glibcxx_cv_func_powf_use=no
66798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66799 ac_ext=c
66800 ac_cpp='$CPP $CPPFLAGS'
66801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66810 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66812 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66813 for ac_func in powf
66814 do :
66815 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66816 if test "x$ac_cv_func_powf" = x""yes; then :
66817 cat >>confdefs.h <<_ACEOF
66818 #define HAVE_POWF 1
66819 _ACEOF
66822 done
66824 else
66826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66827 $as_echo_n "checking for _powf declaration... " >&6; }
66828 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66829 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66830 $as_echo_n "(cached) " >&6
66831 else
66834 ac_ext=cpp
66835 ac_cpp='$CXXCPP $CPPFLAGS'
66836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66841 /* end confdefs.h. */
66842 #include <math.h>
66844 main ()
66846 _powf(0, 0);
66848 return 0;
66850 _ACEOF
66851 if ac_fn_cxx_try_compile "$LINENO"; then :
66852 glibcxx_cv_func__powf_use=yes
66853 else
66854 glibcxx_cv_func__powf_use=no
66856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66857 ac_ext=c
66858 ac_cpp='$CPP $CPPFLAGS'
66859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66868 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66870 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66871 for ac_func in _powf
66872 do :
66873 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66874 if test "x$ac_cv_func__powf" = x""yes; then :
66875 cat >>confdefs.h <<_ACEOF
66876 #define HAVE__POWF 1
66877 _ACEOF
66880 done
66889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66890 $as_echo_n "checking for sqrtf declaration... " >&6; }
66891 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66892 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66893 $as_echo_n "(cached) " >&6
66894 else
66897 ac_ext=cpp
66898 ac_cpp='$CXXCPP $CPPFLAGS'
66899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66904 /* end confdefs.h. */
66905 #include <math.h>
66906 #ifdef HAVE_IEEEFP_H
66907 #include <ieeefp.h>
66908 #endif
66911 main ()
66913 sqrtf(0);
66915 return 0;
66917 _ACEOF
66918 if ac_fn_cxx_try_compile "$LINENO"; then :
66919 glibcxx_cv_func_sqrtf_use=yes
66920 else
66921 glibcxx_cv_func_sqrtf_use=no
66923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66924 ac_ext=c
66925 ac_cpp='$CPP $CPPFLAGS'
66926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66935 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66937 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66938 for ac_func in sqrtf
66939 do :
66940 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66941 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66942 cat >>confdefs.h <<_ACEOF
66943 #define HAVE_SQRTF 1
66944 _ACEOF
66947 done
66949 else
66951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66952 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66953 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66954 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66955 $as_echo_n "(cached) " >&6
66956 else
66959 ac_ext=cpp
66960 ac_cpp='$CXXCPP $CPPFLAGS'
66961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66966 /* end confdefs.h. */
66967 #include <math.h>
66968 #ifdef HAVE_IEEEFP_H
66969 #include <ieeefp.h>
66970 #endif
66973 main ()
66975 _sqrtf(0);
66977 return 0;
66979 _ACEOF
66980 if ac_fn_cxx_try_compile "$LINENO"; then :
66981 glibcxx_cv_func__sqrtf_use=yes
66982 else
66983 glibcxx_cv_func__sqrtf_use=no
66985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66986 ac_ext=c
66987 ac_cpp='$CPP $CPPFLAGS'
66988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66997 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66999 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67000 for ac_func in _sqrtf
67001 do :
67002 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67003 if test "x$ac_cv_func__sqrtf" = x""yes; then :
67004 cat >>confdefs.h <<_ACEOF
67005 #define HAVE__SQRTF 1
67006 _ACEOF
67009 done
67018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
67019 $as_echo_n "checking for sincosf declaration... " >&6; }
67020 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
67021 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
67022 $as_echo_n "(cached) " >&6
67023 else
67026 ac_ext=cpp
67027 ac_cpp='$CXXCPP $CPPFLAGS'
67028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67033 /* end confdefs.h. */
67034 #include <math.h>
67036 main ()
67038 sincosf(0, 0, 0);
67040 return 0;
67042 _ACEOF
67043 if ac_fn_cxx_try_compile "$LINENO"; then :
67044 glibcxx_cv_func_sincosf_use=yes
67045 else
67046 glibcxx_cv_func_sincosf_use=no
67048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67049 ac_ext=c
67050 ac_cpp='$CPP $CPPFLAGS'
67051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67060 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67062 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67063 for ac_func in sincosf
67064 do :
67065 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67066 if test "x$ac_cv_func_sincosf" = x""yes; then :
67067 cat >>confdefs.h <<_ACEOF
67068 #define HAVE_SINCOSF 1
67069 _ACEOF
67072 done
67074 else
67076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
67077 $as_echo_n "checking for _sincosf declaration... " >&6; }
67078 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
67079 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
67080 $as_echo_n "(cached) " >&6
67081 else
67084 ac_ext=cpp
67085 ac_cpp='$CXXCPP $CPPFLAGS'
67086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67091 /* end confdefs.h. */
67092 #include <math.h>
67094 main ()
67096 _sincosf(0, 0, 0);
67098 return 0;
67100 _ACEOF
67101 if ac_fn_cxx_try_compile "$LINENO"; then :
67102 glibcxx_cv_func__sincosf_use=yes
67103 else
67104 glibcxx_cv_func__sincosf_use=no
67106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67107 ac_ext=c
67108 ac_cpp='$CPP $CPPFLAGS'
67109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67118 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67120 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67121 for ac_func in _sincosf
67122 do :
67123 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67124 if test "x$ac_cv_func__sincosf" = x""yes; then :
67125 cat >>confdefs.h <<_ACEOF
67126 #define HAVE__SINCOSF 1
67127 _ACEOF
67130 done
67139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67140 $as_echo_n "checking for finitef declaration... " >&6; }
67141 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67142 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67143 $as_echo_n "(cached) " >&6
67144 else
67147 ac_ext=cpp
67148 ac_cpp='$CXXCPP $CPPFLAGS'
67149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67154 /* end confdefs.h. */
67155 #include <math.h>
67156 #ifdef HAVE_IEEEFP_H
67157 #include <ieeefp.h>
67158 #endif
67161 main ()
67163 finitef(0);
67165 return 0;
67167 _ACEOF
67168 if ac_fn_cxx_try_compile "$LINENO"; then :
67169 glibcxx_cv_func_finitef_use=yes
67170 else
67171 glibcxx_cv_func_finitef_use=no
67173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67174 ac_ext=c
67175 ac_cpp='$CPP $CPPFLAGS'
67176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67185 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67187 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67188 for ac_func in finitef
67189 do :
67190 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67191 if test "x$ac_cv_func_finitef" = x""yes; then :
67192 cat >>confdefs.h <<_ACEOF
67193 #define HAVE_FINITEF 1
67194 _ACEOF
67197 done
67199 else
67201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67202 $as_echo_n "checking for _finitef declaration... " >&6; }
67203 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67204 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67205 $as_echo_n "(cached) " >&6
67206 else
67209 ac_ext=cpp
67210 ac_cpp='$CXXCPP $CPPFLAGS'
67211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67216 /* end confdefs.h. */
67217 #include <math.h>
67218 #ifdef HAVE_IEEEFP_H
67219 #include <ieeefp.h>
67220 #endif
67223 main ()
67225 _finitef(0);
67227 return 0;
67229 _ACEOF
67230 if ac_fn_cxx_try_compile "$LINENO"; then :
67231 glibcxx_cv_func__finitef_use=yes
67232 else
67233 glibcxx_cv_func__finitef_use=no
67235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67236 ac_ext=c
67237 ac_cpp='$CPP $CPPFLAGS'
67238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67247 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67249 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67250 for ac_func in _finitef
67251 do :
67252 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67253 if test "x$ac_cv_func__finitef" = x""yes; then :
67254 cat >>confdefs.h <<_ACEOF
67255 #define HAVE__FINITEF 1
67256 _ACEOF
67259 done
67268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67269 $as_echo_n "checking for long double trig functions... " >&6; }
67270 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67271 $as_echo_n "(cached) " >&6
67272 else
67275 ac_ext=cpp
67276 ac_cpp='$CXXCPP $CPPFLAGS'
67277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67282 /* end confdefs.h. */
67283 #include <math.h>
67285 main ()
67287 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67289 return 0;
67291 _ACEOF
67292 if ac_fn_cxx_try_compile "$LINENO"; then :
67293 glibcxx_cv_func_long_double_trig_use=yes
67294 else
67295 glibcxx_cv_func_long_double_trig_use=no
67297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67298 ac_ext=c
67299 ac_cpp='$CPP $CPPFLAGS'
67300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67307 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67308 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67309 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67310 do :
67311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67313 eval as_val=\$$as_ac_var
67314 if test "x$as_val" = x""yes; then :
67315 cat >>confdefs.h <<_ACEOF
67316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67317 _ACEOF
67320 done
67322 else
67323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67324 $as_echo_n "checking for _long double trig functions... " >&6; }
67325 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67326 $as_echo_n "(cached) " >&6
67327 else
67330 ac_ext=cpp
67331 ac_cpp='$CXXCPP $CPPFLAGS'
67332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67337 /* end confdefs.h. */
67338 #include <math.h>
67340 main ()
67342 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67344 return 0;
67346 _ACEOF
67347 if ac_fn_cxx_try_compile "$LINENO"; then :
67348 glibcxx_cv_func__long_double_trig_use=yes
67349 else
67350 glibcxx_cv_func__long_double_trig_use=no
67352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67353 ac_ext=c
67354 ac_cpp='$CPP $CPPFLAGS'
67355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67362 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67363 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67364 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67365 do :
67366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67368 eval as_val=\$$as_ac_var
67369 if test "x$as_val" = x""yes; then :
67370 cat >>confdefs.h <<_ACEOF
67371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67372 _ACEOF
67375 done
67384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67385 $as_echo_n "checking for long double round functions... " >&6; }
67386 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67387 $as_echo_n "(cached) " >&6
67388 else
67391 ac_ext=cpp
67392 ac_cpp='$CXXCPP $CPPFLAGS'
67393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67398 /* end confdefs.h. */
67399 #include <math.h>
67401 main ()
67403 ceill (0); floorl (0);
67405 return 0;
67407 _ACEOF
67408 if ac_fn_cxx_try_compile "$LINENO"; then :
67409 glibcxx_cv_func_long_double_round_use=yes
67410 else
67411 glibcxx_cv_func_long_double_round_use=no
67413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67414 ac_ext=c
67415 ac_cpp='$CPP $CPPFLAGS'
67416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67423 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67424 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67425 for ac_func in ceill floorl
67426 do :
67427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67429 eval as_val=\$$as_ac_var
67430 if test "x$as_val" = x""yes; then :
67431 cat >>confdefs.h <<_ACEOF
67432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67433 _ACEOF
67436 done
67438 else
67439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67440 $as_echo_n "checking for _long double round functions... " >&6; }
67441 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67442 $as_echo_n "(cached) " >&6
67443 else
67446 ac_ext=cpp
67447 ac_cpp='$CXXCPP $CPPFLAGS'
67448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67453 /* end confdefs.h. */
67454 #include <math.h>
67456 main ()
67458 _ceill (0); _floorl (0);
67460 return 0;
67462 _ACEOF
67463 if ac_fn_cxx_try_compile "$LINENO"; then :
67464 glibcxx_cv_func__long_double_round_use=yes
67465 else
67466 glibcxx_cv_func__long_double_round_use=no
67468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67469 ac_ext=c
67470 ac_cpp='$CPP $CPPFLAGS'
67471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67478 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67479 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67480 for ac_func in _ceill _floorl
67481 do :
67482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67484 eval as_val=\$$as_ac_var
67485 if test "x$as_val" = x""yes; then :
67486 cat >>confdefs.h <<_ACEOF
67487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67488 _ACEOF
67491 done
67501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67502 $as_echo_n "checking for isnanl declaration... " >&6; }
67503 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67504 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67505 $as_echo_n "(cached) " >&6
67506 else
67509 ac_ext=cpp
67510 ac_cpp='$CXXCPP $CPPFLAGS'
67511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67516 /* end confdefs.h. */
67517 #include <math.h>
67518 #ifdef HAVE_IEEEFP_H
67519 #include <ieeefp.h>
67520 #endif
67523 main ()
67525 isnanl(0);
67527 return 0;
67529 _ACEOF
67530 if ac_fn_cxx_try_compile "$LINENO"; then :
67531 glibcxx_cv_func_isnanl_use=yes
67532 else
67533 glibcxx_cv_func_isnanl_use=no
67535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67536 ac_ext=c
67537 ac_cpp='$CPP $CPPFLAGS'
67538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67547 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67549 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67550 for ac_func in isnanl
67551 do :
67552 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67553 if test "x$ac_cv_func_isnanl" = x""yes; then :
67554 cat >>confdefs.h <<_ACEOF
67555 #define HAVE_ISNANL 1
67556 _ACEOF
67559 done
67561 else
67563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67564 $as_echo_n "checking for _isnanl declaration... " >&6; }
67565 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67566 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67567 $as_echo_n "(cached) " >&6
67568 else
67571 ac_ext=cpp
67572 ac_cpp='$CXXCPP $CPPFLAGS'
67573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67578 /* end confdefs.h. */
67579 #include <math.h>
67580 #ifdef HAVE_IEEEFP_H
67581 #include <ieeefp.h>
67582 #endif
67585 main ()
67587 _isnanl(0);
67589 return 0;
67591 _ACEOF
67592 if ac_fn_cxx_try_compile "$LINENO"; then :
67593 glibcxx_cv_func__isnanl_use=yes
67594 else
67595 glibcxx_cv_func__isnanl_use=no
67597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67598 ac_ext=c
67599 ac_cpp='$CPP $CPPFLAGS'
67600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67609 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67611 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67612 for ac_func in _isnanl
67613 do :
67614 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67615 if test "x$ac_cv_func__isnanl" = x""yes; then :
67616 cat >>confdefs.h <<_ACEOF
67617 #define HAVE__ISNANL 1
67618 _ACEOF
67621 done
67630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67631 $as_echo_n "checking for isinfl declaration... " >&6; }
67632 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67633 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67634 $as_echo_n "(cached) " >&6
67635 else
67638 ac_ext=cpp
67639 ac_cpp='$CXXCPP $CPPFLAGS'
67640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67645 /* end confdefs.h. */
67646 #include <math.h>
67647 #ifdef HAVE_IEEEFP_H
67648 #include <ieeefp.h>
67649 #endif
67652 main ()
67654 isinfl(0);
67656 return 0;
67658 _ACEOF
67659 if ac_fn_cxx_try_compile "$LINENO"; then :
67660 glibcxx_cv_func_isinfl_use=yes
67661 else
67662 glibcxx_cv_func_isinfl_use=no
67664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67665 ac_ext=c
67666 ac_cpp='$CPP $CPPFLAGS'
67667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67676 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67678 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67679 for ac_func in isinfl
67680 do :
67681 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67682 if test "x$ac_cv_func_isinfl" = x""yes; then :
67683 cat >>confdefs.h <<_ACEOF
67684 #define HAVE_ISINFL 1
67685 _ACEOF
67688 done
67690 else
67692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67693 $as_echo_n "checking for _isinfl declaration... " >&6; }
67694 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67695 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67696 $as_echo_n "(cached) " >&6
67697 else
67700 ac_ext=cpp
67701 ac_cpp='$CXXCPP $CPPFLAGS'
67702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67707 /* end confdefs.h. */
67708 #include <math.h>
67709 #ifdef HAVE_IEEEFP_H
67710 #include <ieeefp.h>
67711 #endif
67714 main ()
67716 _isinfl(0);
67718 return 0;
67720 _ACEOF
67721 if ac_fn_cxx_try_compile "$LINENO"; then :
67722 glibcxx_cv_func__isinfl_use=yes
67723 else
67724 glibcxx_cv_func__isinfl_use=no
67726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67727 ac_ext=c
67728 ac_cpp='$CPP $CPPFLAGS'
67729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67738 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67740 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67741 for ac_func in _isinfl
67742 do :
67743 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67744 if test "x$ac_cv_func__isinfl" = x""yes; then :
67745 cat >>confdefs.h <<_ACEOF
67746 #define HAVE__ISINFL 1
67747 _ACEOF
67750 done
67759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67760 $as_echo_n "checking for atan2l declaration... " >&6; }
67761 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67762 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67763 $as_echo_n "(cached) " >&6
67764 else
67767 ac_ext=cpp
67768 ac_cpp='$CXXCPP $CPPFLAGS'
67769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67774 /* end confdefs.h. */
67775 #include <math.h>
67777 main ()
67779 atan2l(0, 0);
67781 return 0;
67783 _ACEOF
67784 if ac_fn_cxx_try_compile "$LINENO"; then :
67785 glibcxx_cv_func_atan2l_use=yes
67786 else
67787 glibcxx_cv_func_atan2l_use=no
67789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67790 ac_ext=c
67791 ac_cpp='$CPP $CPPFLAGS'
67792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67801 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67803 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67804 for ac_func in atan2l
67805 do :
67806 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67807 if test "x$ac_cv_func_atan2l" = x""yes; then :
67808 cat >>confdefs.h <<_ACEOF
67809 #define HAVE_ATAN2L 1
67810 _ACEOF
67813 done
67815 else
67817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67818 $as_echo_n "checking for _atan2l declaration... " >&6; }
67819 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67820 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67821 $as_echo_n "(cached) " >&6
67822 else
67825 ac_ext=cpp
67826 ac_cpp='$CXXCPP $CPPFLAGS'
67827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67832 /* end confdefs.h. */
67833 #include <math.h>
67835 main ()
67837 _atan2l(0, 0);
67839 return 0;
67841 _ACEOF
67842 if ac_fn_cxx_try_compile "$LINENO"; then :
67843 glibcxx_cv_func__atan2l_use=yes
67844 else
67845 glibcxx_cv_func__atan2l_use=no
67847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67848 ac_ext=c
67849 ac_cpp='$CPP $CPPFLAGS'
67850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67859 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67861 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67862 for ac_func in _atan2l
67863 do :
67864 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67865 if test "x$ac_cv_func__atan2l" = x""yes; then :
67866 cat >>confdefs.h <<_ACEOF
67867 #define HAVE__ATAN2L 1
67868 _ACEOF
67871 done
67880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67881 $as_echo_n "checking for expl declaration... " >&6; }
67882 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67883 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67884 $as_echo_n "(cached) " >&6
67885 else
67888 ac_ext=cpp
67889 ac_cpp='$CXXCPP $CPPFLAGS'
67890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67895 /* end confdefs.h. */
67896 #include <math.h>
67897 #ifdef HAVE_IEEEFP_H
67898 #include <ieeefp.h>
67899 #endif
67902 main ()
67904 expl(0);
67906 return 0;
67908 _ACEOF
67909 if ac_fn_cxx_try_compile "$LINENO"; then :
67910 glibcxx_cv_func_expl_use=yes
67911 else
67912 glibcxx_cv_func_expl_use=no
67914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67915 ac_ext=c
67916 ac_cpp='$CPP $CPPFLAGS'
67917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67926 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67928 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67929 for ac_func in expl
67930 do :
67931 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67932 if test "x$ac_cv_func_expl" = x""yes; then :
67933 cat >>confdefs.h <<_ACEOF
67934 #define HAVE_EXPL 1
67935 _ACEOF
67938 done
67940 else
67942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67943 $as_echo_n "checking for _expl declaration... " >&6; }
67944 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67945 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67946 $as_echo_n "(cached) " >&6
67947 else
67950 ac_ext=cpp
67951 ac_cpp='$CXXCPP $CPPFLAGS'
67952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67957 /* end confdefs.h. */
67958 #include <math.h>
67959 #ifdef HAVE_IEEEFP_H
67960 #include <ieeefp.h>
67961 #endif
67964 main ()
67966 _expl(0);
67968 return 0;
67970 _ACEOF
67971 if ac_fn_cxx_try_compile "$LINENO"; then :
67972 glibcxx_cv_func__expl_use=yes
67973 else
67974 glibcxx_cv_func__expl_use=no
67976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67977 ac_ext=c
67978 ac_cpp='$CPP $CPPFLAGS'
67979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67988 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67990 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67991 for ac_func in _expl
67992 do :
67993 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67994 if test "x$ac_cv_func__expl" = x""yes; then :
67995 cat >>confdefs.h <<_ACEOF
67996 #define HAVE__EXPL 1
67997 _ACEOF
68000 done
68009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68010 $as_echo_n "checking for fabsl declaration... " >&6; }
68011 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68012 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68013 $as_echo_n "(cached) " >&6
68014 else
68017 ac_ext=cpp
68018 ac_cpp='$CXXCPP $CPPFLAGS'
68019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68024 /* end confdefs.h. */
68025 #include <math.h>
68026 #ifdef HAVE_IEEEFP_H
68027 #include <ieeefp.h>
68028 #endif
68031 main ()
68033 fabsl(0);
68035 return 0;
68037 _ACEOF
68038 if ac_fn_cxx_try_compile "$LINENO"; then :
68039 glibcxx_cv_func_fabsl_use=yes
68040 else
68041 glibcxx_cv_func_fabsl_use=no
68043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68044 ac_ext=c
68045 ac_cpp='$CPP $CPPFLAGS'
68046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68055 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68057 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68058 for ac_func in fabsl
68059 do :
68060 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68061 if test "x$ac_cv_func_fabsl" = x""yes; then :
68062 cat >>confdefs.h <<_ACEOF
68063 #define HAVE_FABSL 1
68064 _ACEOF
68067 done
68069 else
68071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
68072 $as_echo_n "checking for _fabsl declaration... " >&6; }
68073 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
68074 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
68075 $as_echo_n "(cached) " >&6
68076 else
68079 ac_ext=cpp
68080 ac_cpp='$CXXCPP $CPPFLAGS'
68081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68086 /* end confdefs.h. */
68087 #include <math.h>
68088 #ifdef HAVE_IEEEFP_H
68089 #include <ieeefp.h>
68090 #endif
68093 main ()
68095 _fabsl(0);
68097 return 0;
68099 _ACEOF
68100 if ac_fn_cxx_try_compile "$LINENO"; then :
68101 glibcxx_cv_func__fabsl_use=yes
68102 else
68103 glibcxx_cv_func__fabsl_use=no
68105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68106 ac_ext=c
68107 ac_cpp='$CPP $CPPFLAGS'
68108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68117 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68119 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68120 for ac_func in _fabsl
68121 do :
68122 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68123 if test "x$ac_cv_func__fabsl" = x""yes; then :
68124 cat >>confdefs.h <<_ACEOF
68125 #define HAVE__FABSL 1
68126 _ACEOF
68129 done
68138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68139 $as_echo_n "checking for fmodl declaration... " >&6; }
68140 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68141 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68142 $as_echo_n "(cached) " >&6
68143 else
68146 ac_ext=cpp
68147 ac_cpp='$CXXCPP $CPPFLAGS'
68148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68153 /* end confdefs.h. */
68154 #include <math.h>
68156 main ()
68158 fmodl(0, 0);
68160 return 0;
68162 _ACEOF
68163 if ac_fn_cxx_try_compile "$LINENO"; then :
68164 glibcxx_cv_func_fmodl_use=yes
68165 else
68166 glibcxx_cv_func_fmodl_use=no
68168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68169 ac_ext=c
68170 ac_cpp='$CPP $CPPFLAGS'
68171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68180 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68182 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68183 for ac_func in fmodl
68184 do :
68185 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68186 if test "x$ac_cv_func_fmodl" = x""yes; then :
68187 cat >>confdefs.h <<_ACEOF
68188 #define HAVE_FMODL 1
68189 _ACEOF
68192 done
68194 else
68196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68197 $as_echo_n "checking for _fmodl declaration... " >&6; }
68198 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68199 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68200 $as_echo_n "(cached) " >&6
68201 else
68204 ac_ext=cpp
68205 ac_cpp='$CXXCPP $CPPFLAGS'
68206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68211 /* end confdefs.h. */
68212 #include <math.h>
68214 main ()
68216 _fmodl(0, 0);
68218 return 0;
68220 _ACEOF
68221 if ac_fn_cxx_try_compile "$LINENO"; then :
68222 glibcxx_cv_func__fmodl_use=yes
68223 else
68224 glibcxx_cv_func__fmodl_use=no
68226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68227 ac_ext=c
68228 ac_cpp='$CPP $CPPFLAGS'
68229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68238 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68240 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68241 for ac_func in _fmodl
68242 do :
68243 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68244 if test "x$ac_cv_func__fmodl" = x""yes; then :
68245 cat >>confdefs.h <<_ACEOF
68246 #define HAVE__FMODL 1
68247 _ACEOF
68250 done
68259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68260 $as_echo_n "checking for frexpl declaration... " >&6; }
68261 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68262 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68263 $as_echo_n "(cached) " >&6
68264 else
68267 ac_ext=cpp
68268 ac_cpp='$CXXCPP $CPPFLAGS'
68269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68274 /* end confdefs.h. */
68275 #include <math.h>
68277 main ()
68279 frexpl(0, 0);
68281 return 0;
68283 _ACEOF
68284 if ac_fn_cxx_try_compile "$LINENO"; then :
68285 glibcxx_cv_func_frexpl_use=yes
68286 else
68287 glibcxx_cv_func_frexpl_use=no
68289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68290 ac_ext=c
68291 ac_cpp='$CPP $CPPFLAGS'
68292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68301 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68303 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68304 for ac_func in frexpl
68305 do :
68306 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68307 if test "x$ac_cv_func_frexpl" = x""yes; then :
68308 cat >>confdefs.h <<_ACEOF
68309 #define HAVE_FREXPL 1
68310 _ACEOF
68313 done
68315 else
68317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68318 $as_echo_n "checking for _frexpl declaration... " >&6; }
68319 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68320 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68321 $as_echo_n "(cached) " >&6
68322 else
68325 ac_ext=cpp
68326 ac_cpp='$CXXCPP $CPPFLAGS'
68327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68332 /* end confdefs.h. */
68333 #include <math.h>
68335 main ()
68337 _frexpl(0, 0);
68339 return 0;
68341 _ACEOF
68342 if ac_fn_cxx_try_compile "$LINENO"; then :
68343 glibcxx_cv_func__frexpl_use=yes
68344 else
68345 glibcxx_cv_func__frexpl_use=no
68347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68348 ac_ext=c
68349 ac_cpp='$CPP $CPPFLAGS'
68350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68359 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68361 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68362 for ac_func in _frexpl
68363 do :
68364 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68365 if test "x$ac_cv_func__frexpl" = x""yes; then :
68366 cat >>confdefs.h <<_ACEOF
68367 #define HAVE__FREXPL 1
68368 _ACEOF
68371 done
68380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68381 $as_echo_n "checking for hypotl declaration... " >&6; }
68382 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68383 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68384 $as_echo_n "(cached) " >&6
68385 else
68388 ac_ext=cpp
68389 ac_cpp='$CXXCPP $CPPFLAGS'
68390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68395 /* end confdefs.h. */
68396 #include <math.h>
68398 main ()
68400 hypotl(0, 0);
68402 return 0;
68404 _ACEOF
68405 if ac_fn_cxx_try_compile "$LINENO"; then :
68406 glibcxx_cv_func_hypotl_use=yes
68407 else
68408 glibcxx_cv_func_hypotl_use=no
68410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68411 ac_ext=c
68412 ac_cpp='$CPP $CPPFLAGS'
68413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68422 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68424 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68425 for ac_func in hypotl
68426 do :
68427 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68428 if test "x$ac_cv_func_hypotl" = x""yes; then :
68429 cat >>confdefs.h <<_ACEOF
68430 #define HAVE_HYPOTL 1
68431 _ACEOF
68434 done
68436 else
68438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68439 $as_echo_n "checking for _hypotl declaration... " >&6; }
68440 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68441 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68442 $as_echo_n "(cached) " >&6
68443 else
68446 ac_ext=cpp
68447 ac_cpp='$CXXCPP $CPPFLAGS'
68448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68453 /* end confdefs.h. */
68454 #include <math.h>
68456 main ()
68458 _hypotl(0, 0);
68460 return 0;
68462 _ACEOF
68463 if ac_fn_cxx_try_compile "$LINENO"; then :
68464 glibcxx_cv_func__hypotl_use=yes
68465 else
68466 glibcxx_cv_func__hypotl_use=no
68468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68469 ac_ext=c
68470 ac_cpp='$CPP $CPPFLAGS'
68471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68480 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68482 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68483 for ac_func in _hypotl
68484 do :
68485 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68486 if test "x$ac_cv_func__hypotl" = x""yes; then :
68487 cat >>confdefs.h <<_ACEOF
68488 #define HAVE__HYPOTL 1
68489 _ACEOF
68492 done
68501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68502 $as_echo_n "checking for ldexpl declaration... " >&6; }
68503 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68504 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68505 $as_echo_n "(cached) " >&6
68506 else
68509 ac_ext=cpp
68510 ac_cpp='$CXXCPP $CPPFLAGS'
68511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68516 /* end confdefs.h. */
68517 #include <math.h>
68519 main ()
68521 ldexpl(0, 0);
68523 return 0;
68525 _ACEOF
68526 if ac_fn_cxx_try_compile "$LINENO"; then :
68527 glibcxx_cv_func_ldexpl_use=yes
68528 else
68529 glibcxx_cv_func_ldexpl_use=no
68531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68532 ac_ext=c
68533 ac_cpp='$CPP $CPPFLAGS'
68534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68543 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68545 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68546 for ac_func in ldexpl
68547 do :
68548 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68549 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68550 cat >>confdefs.h <<_ACEOF
68551 #define HAVE_LDEXPL 1
68552 _ACEOF
68555 done
68557 else
68559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68560 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68561 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68562 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68563 $as_echo_n "(cached) " >&6
68564 else
68567 ac_ext=cpp
68568 ac_cpp='$CXXCPP $CPPFLAGS'
68569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68574 /* end confdefs.h. */
68575 #include <math.h>
68577 main ()
68579 _ldexpl(0, 0);
68581 return 0;
68583 _ACEOF
68584 if ac_fn_cxx_try_compile "$LINENO"; then :
68585 glibcxx_cv_func__ldexpl_use=yes
68586 else
68587 glibcxx_cv_func__ldexpl_use=no
68589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68590 ac_ext=c
68591 ac_cpp='$CPP $CPPFLAGS'
68592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68601 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68603 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68604 for ac_func in _ldexpl
68605 do :
68606 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68607 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68608 cat >>confdefs.h <<_ACEOF
68609 #define HAVE__LDEXPL 1
68610 _ACEOF
68613 done
68622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68623 $as_echo_n "checking for logl declaration... " >&6; }
68624 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68625 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68626 $as_echo_n "(cached) " >&6
68627 else
68630 ac_ext=cpp
68631 ac_cpp='$CXXCPP $CPPFLAGS'
68632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68637 /* end confdefs.h. */
68638 #include <math.h>
68639 #ifdef HAVE_IEEEFP_H
68640 #include <ieeefp.h>
68641 #endif
68644 main ()
68646 logl(0);
68648 return 0;
68650 _ACEOF
68651 if ac_fn_cxx_try_compile "$LINENO"; then :
68652 glibcxx_cv_func_logl_use=yes
68653 else
68654 glibcxx_cv_func_logl_use=no
68656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68657 ac_ext=c
68658 ac_cpp='$CPP $CPPFLAGS'
68659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68668 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68670 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68671 for ac_func in logl
68672 do :
68673 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68674 if test "x$ac_cv_func_logl" = x""yes; then :
68675 cat >>confdefs.h <<_ACEOF
68676 #define HAVE_LOGL 1
68677 _ACEOF
68680 done
68682 else
68684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68685 $as_echo_n "checking for _logl declaration... " >&6; }
68686 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68687 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68688 $as_echo_n "(cached) " >&6
68689 else
68692 ac_ext=cpp
68693 ac_cpp='$CXXCPP $CPPFLAGS'
68694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68699 /* end confdefs.h. */
68700 #include <math.h>
68701 #ifdef HAVE_IEEEFP_H
68702 #include <ieeefp.h>
68703 #endif
68706 main ()
68708 _logl(0);
68710 return 0;
68712 _ACEOF
68713 if ac_fn_cxx_try_compile "$LINENO"; then :
68714 glibcxx_cv_func__logl_use=yes
68715 else
68716 glibcxx_cv_func__logl_use=no
68718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68719 ac_ext=c
68720 ac_cpp='$CPP $CPPFLAGS'
68721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68730 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68732 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68733 for ac_func in _logl
68734 do :
68735 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68736 if test "x$ac_cv_func__logl" = x""yes; then :
68737 cat >>confdefs.h <<_ACEOF
68738 #define HAVE__LOGL 1
68739 _ACEOF
68742 done
68751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68752 $as_echo_n "checking for log10l declaration... " >&6; }
68753 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68754 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68755 $as_echo_n "(cached) " >&6
68756 else
68759 ac_ext=cpp
68760 ac_cpp='$CXXCPP $CPPFLAGS'
68761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68766 /* end confdefs.h. */
68767 #include <math.h>
68768 #ifdef HAVE_IEEEFP_H
68769 #include <ieeefp.h>
68770 #endif
68773 main ()
68775 log10l(0);
68777 return 0;
68779 _ACEOF
68780 if ac_fn_cxx_try_compile "$LINENO"; then :
68781 glibcxx_cv_func_log10l_use=yes
68782 else
68783 glibcxx_cv_func_log10l_use=no
68785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68786 ac_ext=c
68787 ac_cpp='$CPP $CPPFLAGS'
68788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68797 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68799 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68800 for ac_func in log10l
68801 do :
68802 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68803 if test "x$ac_cv_func_log10l" = x""yes; then :
68804 cat >>confdefs.h <<_ACEOF
68805 #define HAVE_LOG10L 1
68806 _ACEOF
68809 done
68811 else
68813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68814 $as_echo_n "checking for _log10l declaration... " >&6; }
68815 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68816 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68817 $as_echo_n "(cached) " >&6
68818 else
68821 ac_ext=cpp
68822 ac_cpp='$CXXCPP $CPPFLAGS'
68823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68828 /* end confdefs.h. */
68829 #include <math.h>
68830 #ifdef HAVE_IEEEFP_H
68831 #include <ieeefp.h>
68832 #endif
68835 main ()
68837 _log10l(0);
68839 return 0;
68841 _ACEOF
68842 if ac_fn_cxx_try_compile "$LINENO"; then :
68843 glibcxx_cv_func__log10l_use=yes
68844 else
68845 glibcxx_cv_func__log10l_use=no
68847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68848 ac_ext=c
68849 ac_cpp='$CPP $CPPFLAGS'
68850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68859 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68861 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68862 for ac_func in _log10l
68863 do :
68864 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68865 if test "x$ac_cv_func__log10l" = x""yes; then :
68866 cat >>confdefs.h <<_ACEOF
68867 #define HAVE__LOG10L 1
68868 _ACEOF
68871 done
68880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68881 $as_echo_n "checking for modfl declaration... " >&6; }
68882 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68883 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68884 $as_echo_n "(cached) " >&6
68885 else
68888 ac_ext=cpp
68889 ac_cpp='$CXXCPP $CPPFLAGS'
68890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68895 /* end confdefs.h. */
68896 #include <math.h>
68898 main ()
68900 modfl(0, 0);
68902 return 0;
68904 _ACEOF
68905 if ac_fn_cxx_try_compile "$LINENO"; then :
68906 glibcxx_cv_func_modfl_use=yes
68907 else
68908 glibcxx_cv_func_modfl_use=no
68910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68911 ac_ext=c
68912 ac_cpp='$CPP $CPPFLAGS'
68913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68922 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68924 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68925 for ac_func in modfl
68926 do :
68927 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68928 if test "x$ac_cv_func_modfl" = x""yes; then :
68929 cat >>confdefs.h <<_ACEOF
68930 #define HAVE_MODFL 1
68931 _ACEOF
68934 done
68936 else
68938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68939 $as_echo_n "checking for _modfl declaration... " >&6; }
68940 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68941 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68942 $as_echo_n "(cached) " >&6
68943 else
68946 ac_ext=cpp
68947 ac_cpp='$CXXCPP $CPPFLAGS'
68948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68953 /* end confdefs.h. */
68954 #include <math.h>
68956 main ()
68958 _modfl(0, 0);
68960 return 0;
68962 _ACEOF
68963 if ac_fn_cxx_try_compile "$LINENO"; then :
68964 glibcxx_cv_func__modfl_use=yes
68965 else
68966 glibcxx_cv_func__modfl_use=no
68968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68969 ac_ext=c
68970 ac_cpp='$CPP $CPPFLAGS'
68971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68980 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68982 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68983 for ac_func in _modfl
68984 do :
68985 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68986 if test "x$ac_cv_func__modfl" = x""yes; then :
68987 cat >>confdefs.h <<_ACEOF
68988 #define HAVE__MODFL 1
68989 _ACEOF
68992 done
69001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69002 $as_echo_n "checking for powl declaration... " >&6; }
69003 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69004 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69005 $as_echo_n "(cached) " >&6
69006 else
69009 ac_ext=cpp
69010 ac_cpp='$CXXCPP $CPPFLAGS'
69011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69016 /* end confdefs.h. */
69017 #include <math.h>
69019 main ()
69021 powl(0, 0);
69023 return 0;
69025 _ACEOF
69026 if ac_fn_cxx_try_compile "$LINENO"; then :
69027 glibcxx_cv_func_powl_use=yes
69028 else
69029 glibcxx_cv_func_powl_use=no
69031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69032 ac_ext=c
69033 ac_cpp='$CPP $CPPFLAGS'
69034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69043 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69045 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69046 for ac_func in powl
69047 do :
69048 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69049 if test "x$ac_cv_func_powl" = x""yes; then :
69050 cat >>confdefs.h <<_ACEOF
69051 #define HAVE_POWL 1
69052 _ACEOF
69055 done
69057 else
69059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69060 $as_echo_n "checking for _powl declaration... " >&6; }
69061 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69062 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69063 $as_echo_n "(cached) " >&6
69064 else
69067 ac_ext=cpp
69068 ac_cpp='$CXXCPP $CPPFLAGS'
69069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69074 /* end confdefs.h. */
69075 #include <math.h>
69077 main ()
69079 _powl(0, 0);
69081 return 0;
69083 _ACEOF
69084 if ac_fn_cxx_try_compile "$LINENO"; then :
69085 glibcxx_cv_func__powl_use=yes
69086 else
69087 glibcxx_cv_func__powl_use=no
69089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69090 ac_ext=c
69091 ac_cpp='$CPP $CPPFLAGS'
69092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69101 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69103 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69104 for ac_func in _powl
69105 do :
69106 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69107 if test "x$ac_cv_func__powl" = x""yes; then :
69108 cat >>confdefs.h <<_ACEOF
69109 #define HAVE__POWL 1
69110 _ACEOF
69113 done
69122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69123 $as_echo_n "checking for sqrtl declaration... " >&6; }
69124 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69125 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69126 $as_echo_n "(cached) " >&6
69127 else
69130 ac_ext=cpp
69131 ac_cpp='$CXXCPP $CPPFLAGS'
69132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69137 /* end confdefs.h. */
69138 #include <math.h>
69139 #ifdef HAVE_IEEEFP_H
69140 #include <ieeefp.h>
69141 #endif
69144 main ()
69146 sqrtl(0);
69148 return 0;
69150 _ACEOF
69151 if ac_fn_cxx_try_compile "$LINENO"; then :
69152 glibcxx_cv_func_sqrtl_use=yes
69153 else
69154 glibcxx_cv_func_sqrtl_use=no
69156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69157 ac_ext=c
69158 ac_cpp='$CPP $CPPFLAGS'
69159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69168 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69170 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69171 for ac_func in sqrtl
69172 do :
69173 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69174 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69175 cat >>confdefs.h <<_ACEOF
69176 #define HAVE_SQRTL 1
69177 _ACEOF
69180 done
69182 else
69184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69185 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69186 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69187 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69188 $as_echo_n "(cached) " >&6
69189 else
69192 ac_ext=cpp
69193 ac_cpp='$CXXCPP $CPPFLAGS'
69194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69199 /* end confdefs.h. */
69200 #include <math.h>
69201 #ifdef HAVE_IEEEFP_H
69202 #include <ieeefp.h>
69203 #endif
69206 main ()
69208 _sqrtl(0);
69210 return 0;
69212 _ACEOF
69213 if ac_fn_cxx_try_compile "$LINENO"; then :
69214 glibcxx_cv_func__sqrtl_use=yes
69215 else
69216 glibcxx_cv_func__sqrtl_use=no
69218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69219 ac_ext=c
69220 ac_cpp='$CPP $CPPFLAGS'
69221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69230 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69232 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69233 for ac_func in _sqrtl
69234 do :
69235 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69236 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69237 cat >>confdefs.h <<_ACEOF
69238 #define HAVE__SQRTL 1
69239 _ACEOF
69242 done
69251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69252 $as_echo_n "checking for sincosl declaration... " >&6; }
69253 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69254 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69255 $as_echo_n "(cached) " >&6
69256 else
69259 ac_ext=cpp
69260 ac_cpp='$CXXCPP $CPPFLAGS'
69261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69266 /* end confdefs.h. */
69267 #include <math.h>
69269 main ()
69271 sincosl(0, 0, 0);
69273 return 0;
69275 _ACEOF
69276 if ac_fn_cxx_try_compile "$LINENO"; then :
69277 glibcxx_cv_func_sincosl_use=yes
69278 else
69279 glibcxx_cv_func_sincosl_use=no
69281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69282 ac_ext=c
69283 ac_cpp='$CPP $CPPFLAGS'
69284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69293 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69295 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69296 for ac_func in sincosl
69297 do :
69298 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69299 if test "x$ac_cv_func_sincosl" = x""yes; then :
69300 cat >>confdefs.h <<_ACEOF
69301 #define HAVE_SINCOSL 1
69302 _ACEOF
69305 done
69307 else
69309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69310 $as_echo_n "checking for _sincosl declaration... " >&6; }
69311 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69312 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69313 $as_echo_n "(cached) " >&6
69314 else
69317 ac_ext=cpp
69318 ac_cpp='$CXXCPP $CPPFLAGS'
69319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69324 /* end confdefs.h. */
69325 #include <math.h>
69327 main ()
69329 _sincosl(0, 0, 0);
69331 return 0;
69333 _ACEOF
69334 if ac_fn_cxx_try_compile "$LINENO"; then :
69335 glibcxx_cv_func__sincosl_use=yes
69336 else
69337 glibcxx_cv_func__sincosl_use=no
69339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69340 ac_ext=c
69341 ac_cpp='$CPP $CPPFLAGS'
69342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69351 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69353 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69354 for ac_func in _sincosl
69355 do :
69356 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69357 if test "x$ac_cv_func__sincosl" = x""yes; then :
69358 cat >>confdefs.h <<_ACEOF
69359 #define HAVE__SINCOSL 1
69360 _ACEOF
69363 done
69372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69373 $as_echo_n "checking for finitel declaration... " >&6; }
69374 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69375 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69376 $as_echo_n "(cached) " >&6
69377 else
69380 ac_ext=cpp
69381 ac_cpp='$CXXCPP $CPPFLAGS'
69382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69387 /* end confdefs.h. */
69388 #include <math.h>
69389 #ifdef HAVE_IEEEFP_H
69390 #include <ieeefp.h>
69391 #endif
69394 main ()
69396 finitel(0);
69398 return 0;
69400 _ACEOF
69401 if ac_fn_cxx_try_compile "$LINENO"; then :
69402 glibcxx_cv_func_finitel_use=yes
69403 else
69404 glibcxx_cv_func_finitel_use=no
69406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69407 ac_ext=c
69408 ac_cpp='$CPP $CPPFLAGS'
69409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69418 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69420 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69421 for ac_func in finitel
69422 do :
69423 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69424 if test "x$ac_cv_func_finitel" = x""yes; then :
69425 cat >>confdefs.h <<_ACEOF
69426 #define HAVE_FINITEL 1
69427 _ACEOF
69430 done
69432 else
69434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69435 $as_echo_n "checking for _finitel declaration... " >&6; }
69436 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69437 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69438 $as_echo_n "(cached) " >&6
69439 else
69442 ac_ext=cpp
69443 ac_cpp='$CXXCPP $CPPFLAGS'
69444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69449 /* end confdefs.h. */
69450 #include <math.h>
69451 #ifdef HAVE_IEEEFP_H
69452 #include <ieeefp.h>
69453 #endif
69456 main ()
69458 _finitel(0);
69460 return 0;
69462 _ACEOF
69463 if ac_fn_cxx_try_compile "$LINENO"; then :
69464 glibcxx_cv_func__finitel_use=yes
69465 else
69466 glibcxx_cv_func__finitel_use=no
69468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69469 ac_ext=c
69470 ac_cpp='$CPP $CPPFLAGS'
69471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69480 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69482 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69483 for ac_func in _finitel
69484 do :
69485 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69486 if test "x$ac_cv_func__finitel" = x""yes; then :
69487 cat >>confdefs.h <<_ACEOF
69488 #define HAVE__FINITEL 1
69489 _ACEOF
69492 done
69500 LIBS="$ac_save_LIBS"
69501 CXXFLAGS="$ac_save_CXXFLAGS"
69504 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69505 ac_save_CXXFLAGS="$CXXFLAGS"
69506 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69510 $as_echo_n "checking for strtold declaration... " >&6; }
69511 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69512 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69513 $as_echo_n "(cached) " >&6
69514 else
69517 ac_ext=cpp
69518 ac_cpp='$CXXCPP $CPPFLAGS'
69519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69524 /* end confdefs.h. */
69525 #include <stdlib.h>
69527 main ()
69529 strtold(0, 0);
69531 return 0;
69533 _ACEOF
69534 if ac_fn_cxx_try_compile "$LINENO"; then :
69535 glibcxx_cv_func_strtold_use=yes
69536 else
69537 glibcxx_cv_func_strtold_use=no
69539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69540 ac_ext=c
69541 ac_cpp='$CPP $CPPFLAGS'
69542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69551 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69552 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69553 for ac_func in strtold
69554 do :
69555 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69556 if test "x$ac_cv_func_strtold" = x""yes; then :
69557 cat >>confdefs.h <<_ACEOF
69558 #define HAVE_STRTOLD 1
69559 _ACEOF
69562 done
69569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69570 $as_echo_n "checking for strtof declaration... " >&6; }
69571 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69572 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69573 $as_echo_n "(cached) " >&6
69574 else
69577 ac_ext=cpp
69578 ac_cpp='$CXXCPP $CPPFLAGS'
69579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69584 /* end confdefs.h. */
69585 #include <stdlib.h>
69587 main ()
69589 strtof(0, 0);
69591 return 0;
69593 _ACEOF
69594 if ac_fn_cxx_try_compile "$LINENO"; then :
69595 glibcxx_cv_func_strtof_use=yes
69596 else
69597 glibcxx_cv_func_strtof_use=no
69599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69600 ac_ext=c
69601 ac_cpp='$CPP $CPPFLAGS'
69602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69611 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69612 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69613 for ac_func in strtof
69614 do :
69615 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69616 if test "x$ac_cv_func_strtof" = x""yes; then :
69617 cat >>confdefs.h <<_ACEOF
69618 #define HAVE_STRTOF 1
69619 _ACEOF
69622 done
69629 CXXFLAGS="$ac_save_CXXFLAGS"
69632 *-vxworks)
69633 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69635 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69637 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69639 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69641 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69643 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69645 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69647 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69649 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69651 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69653 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69655 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69657 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69659 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69661 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69663 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69665 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69667 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69669 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69671 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69675 as_fn_error "No support for this host/target combination." "$LINENO" 5
69677 esac
69681 # At some point, we should differentiate between architectures
69682 # like x86, which have long double versions, and alpha/powerpc/etc.,
69683 # which don't. For the time being, punt.
69684 if test x"long_double_math_on_this_cpu" = x"yes"; then
69685 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69687 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69689 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69691 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69693 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69695 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69697 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69699 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69701 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69703 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69705 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69707 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69709 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69711 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69713 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69715 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69717 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69719 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69721 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69723 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69725 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69727 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69729 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69734 # Check for _Unwind_GetIPInfo.
69737 # Check whether --with-system-libunwind was given.
69738 if test "${with_system_libunwind+set}" = set; then :
69739 withval=$with_system_libunwind;
69742 # If system-libunwind was not specifically set, pick a default setting.
69743 if test x$with_system_libunwind = x; then
69744 case ${target} in
69745 ia64-*-hpux*) with_system_libunwind=yes ;;
69746 *) with_system_libunwind=no ;;
69747 esac
69749 # Based on system-libunwind and target, do we have ipinfo?
69750 if test x$with_system_libunwind = xyes; then
69751 case ${target} in
69752 ia64-*-*) have_unwind_getipinfo=no ;;
69753 *) have_unwind_getipinfo=yes ;;
69754 esac
69755 else
69756 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69758 case ${target} in
69759 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69760 *) have_unwind_getipinfo=yes ;;
69761 esac
69765 if test x$have_unwind_getipinfo = xyes; then
69767 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69772 # Check whether --enable-linux-futex was given.
69773 if test "${enable_linux_futex+set}" = set; then :
69774 enableval=$enable_linux_futex;
69775 case "$enableval" in
69776 yes|no|default) ;;
69777 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69778 esac
69780 else
69781 enable_linux_futex=default
69785 case "$target" in
69786 *-linux*)
69787 case "$enable_linux_futex" in
69788 default)
69789 # If headers don't have gettid/futex syscalls definition, then
69790 # default to no, otherwise there will be compile time failures.
69791 # Otherwise, default to yes. If we don't detect we are
69792 # compiled/linked against NPTL and not cross-compiling, check
69793 # if programs are run by default against NPTL and if not, issue
69794 # a warning.
69795 enable_linux_futex=no
69796 if test x$gcc_no_link = xyes; then
69797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69800 /* end confdefs.h. */
69801 #include <sys/syscall.h>
69802 int lk;
69804 main ()
69806 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69808 return 0;
69810 _ACEOF
69811 if ac_fn_c_try_link "$LINENO"; then :
69812 save_LIBS="$LIBS"
69813 LIBS="-lpthread $LIBS"
69814 if test x$gcc_no_link = xyes; then
69815 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69818 /* end confdefs.h. */
69819 #ifndef _GNU_SOURCE
69820 #define _GNU_SOURCE 1
69821 #endif
69822 #include <pthread.h>
69823 pthread_t th; void *status;
69825 main ()
69827 pthread_tryjoin_np (th, &status);
69829 return 0;
69831 _ACEOF
69832 if ac_fn_c_try_link "$LINENO"; then :
69833 enable_linux_futex=yes
69834 else
69835 if test x$cross_compiling = xno; then
69836 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69837 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69839 If so, please configure with --disable-linux-futex" >&5
69840 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69841 If so, please configure with --disable-linux-futex" >&2;}
69844 enable_linux_futex=yes
69846 rm -f core conftest.err conftest.$ac_objext \
69847 conftest$ac_exeext conftest.$ac_ext
69848 LIBS="$save_LIBS"
69850 rm -f core conftest.err conftest.$ac_objext \
69851 conftest$ac_exeext conftest.$ac_ext
69853 yes)
69854 if test x$gcc_no_link = xyes; then
69855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69858 /* end confdefs.h. */
69859 #include <sys/syscall.h>
69860 int lk;
69862 main ()
69864 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69866 return 0;
69868 _ACEOF
69869 if ac_fn_c_try_link "$LINENO"; then :
69871 else
69872 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69874 rm -f core conftest.err conftest.$ac_objext \
69875 conftest$ac_exeext conftest.$ac_ext
69877 esac
69880 enable_linux_futex=no
69882 esac
69883 if test x$enable_linux_futex = xyes; then
69885 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69892 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69894 acx_cv_header_stdint=stddef.h
69895 acx_cv_header_stdint_kind="(already complete)"
69896 for i in stdint.h $inttype_headers; do
69897 unset ac_cv_type_uintptr_t
69898 unset ac_cv_type_uintmax_t
69899 unset ac_cv_type_int_least32_t
69900 unset ac_cv_type_int_fast32_t
69901 unset ac_cv_type_uint64_t
69902 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69903 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69904 #include <$i>
69906 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69907 acx_cv_header_stdint=$i
69908 else
69909 continue
69912 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69913 #include <$i>
69915 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69917 else
69918 acx_cv_header_stdint_kind="(mostly complete)"
69921 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69922 #include <$i>
69924 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69926 else
69927 acx_cv_header_stdint_kind="(mostly complete)"
69930 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69931 #include <$i>
69933 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69935 else
69936 acx_cv_header_stdint_kind="(mostly complete)"
69939 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69940 #include <$i>
69942 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69944 else
69945 acx_cv_header_stdint_kind="(lacks uint64_t)"
69948 break
69949 done
69950 if test "$acx_cv_header_stdint" = stddef.h; then
69951 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69952 for i in stdint.h $inttype_headers; do
69953 unset ac_cv_type_uintptr_t
69954 unset ac_cv_type_uint32_t
69955 unset ac_cv_type_uint64_t
69956 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69957 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69958 #include <$i>
69960 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69961 acx_cv_header_stdint=$i
69962 else
69963 continue
69966 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69967 #include <$i>
69969 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69973 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69974 #include <$i>
69976 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69980 break
69981 done
69983 if test "$acx_cv_header_stdint" = stddef.h; then
69984 acx_cv_header_stdint_kind="(u_intXX_t style)"
69985 for i in sys/types.h $inttype_headers; do
69986 unset ac_cv_type_u_int32_t
69987 unset ac_cv_type_u_int64_t
69988 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69989 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69990 #include <$i>
69992 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69993 acx_cv_header_stdint=$i
69994 else
69995 continue
69998 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69999 #include <$i>
70001 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
70005 break
70006 done
70008 if test "$acx_cv_header_stdint" = stddef.h; then
70009 acx_cv_header_stdint_kind="(using manual detection)"
70012 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
70013 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
70014 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
70015 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
70016 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
70018 # ----------------- Summarize what we found so far
70020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
70021 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
70023 case `$as_basename -- include/gstdint.h ||
70024 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
70025 Xinclude/gstdint.h : 'X\(//\)$' \| \
70026 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
70027 $as_echo X/include/gstdint.h |
70028 sed '/^.*\/\([^/][^/]*\)\/*$/{
70029 s//\1/
70032 /^X\/\(\/\/\)$/{
70033 s//\1/
70036 /^X\/\(\/\).*/{
70037 s//\1/
70040 s/.*/./; q'` in
70041 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70042 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70043 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70044 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70045 *) ;;
70046 esac
70048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
70049 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
70051 # ----------------- done included file, check C basic types --------
70053 # Lacking an uintptr_t? Test size of void *
70054 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
70055 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
70056 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70057 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70058 # This bug is HP SR number 8606223364.
70059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
70060 $as_echo_n "checking size of void *... " >&6; }
70061 if test "${ac_cv_sizeof_void_p+set}" = set; then :
70062 $as_echo_n "(cached) " >&6
70063 else
70064 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
70066 else
70067 if test "$ac_cv_type_void_p" = yes; then
70068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70070 { as_fn_set_status 77
70071 as_fn_error "cannot compute sizeof (void *)
70072 See \`config.log' for more details." "$LINENO" 5; }; }
70073 else
70074 ac_cv_sizeof_void_p=0
70079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
70080 $as_echo "$ac_cv_sizeof_void_p" >&6; }
70084 cat >>confdefs.h <<_ACEOF
70085 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
70086 _ACEOF
70089 esac
70091 # Lacking an uint64_t? Test size of long
70092 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
70093 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
70094 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70095 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70096 # This bug is HP SR number 8606223364.
70097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
70098 $as_echo_n "checking size of long... " >&6; }
70099 if test "${ac_cv_sizeof_long+set}" = set; then :
70100 $as_echo_n "(cached) " >&6
70101 else
70102 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70104 else
70105 if test "$ac_cv_type_long" = yes; then
70106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70108 { as_fn_set_status 77
70109 as_fn_error "cannot compute sizeof (long)
70110 See \`config.log' for more details." "$LINENO" 5; }; }
70111 else
70112 ac_cv_sizeof_long=0
70117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70118 $as_echo "$ac_cv_sizeof_long" >&6; }
70122 cat >>confdefs.h <<_ACEOF
70123 #define SIZEOF_LONG $ac_cv_sizeof_long
70124 _ACEOF
70127 esac
70129 if test $acx_cv_header_stdint = stddef.h; then
70130 # Lacking a good header? Test size of everything and deduce all types.
70131 # The cast to long int works around a bug in the HP C Compiler
70132 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70133 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70134 # This bug is HP SR number 8606223364.
70135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70136 $as_echo_n "checking size of int... " >&6; }
70137 if test "${ac_cv_sizeof_int+set}" = set; then :
70138 $as_echo_n "(cached) " >&6
70139 else
70140 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70142 else
70143 if test "$ac_cv_type_int" = yes; then
70144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70146 { as_fn_set_status 77
70147 as_fn_error "cannot compute sizeof (int)
70148 See \`config.log' for more details." "$LINENO" 5; }; }
70149 else
70150 ac_cv_sizeof_int=0
70155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70156 $as_echo "$ac_cv_sizeof_int" >&6; }
70160 cat >>confdefs.h <<_ACEOF
70161 #define SIZEOF_INT $ac_cv_sizeof_int
70162 _ACEOF
70165 # The cast to long int works around a bug in the HP C Compiler
70166 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70167 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70168 # This bug is HP SR number 8606223364.
70169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70170 $as_echo_n "checking size of short... " >&6; }
70171 if test "${ac_cv_sizeof_short+set}" = set; then :
70172 $as_echo_n "(cached) " >&6
70173 else
70174 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70176 else
70177 if test "$ac_cv_type_short" = yes; then
70178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70180 { as_fn_set_status 77
70181 as_fn_error "cannot compute sizeof (short)
70182 See \`config.log' for more details." "$LINENO" 5; }; }
70183 else
70184 ac_cv_sizeof_short=0
70189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70190 $as_echo "$ac_cv_sizeof_short" >&6; }
70194 cat >>confdefs.h <<_ACEOF
70195 #define SIZEOF_SHORT $ac_cv_sizeof_short
70196 _ACEOF
70199 # The cast to long int works around a bug in the HP C Compiler
70200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70202 # This bug is HP SR number 8606223364.
70203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70204 $as_echo_n "checking size of char... " >&6; }
70205 if test "${ac_cv_sizeof_char+set}" = set; then :
70206 $as_echo_n "(cached) " >&6
70207 else
70208 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70210 else
70211 if test "$ac_cv_type_char" = yes; then
70212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70214 { as_fn_set_status 77
70215 as_fn_error "cannot compute sizeof (char)
70216 See \`config.log' for more details." "$LINENO" 5; }; }
70217 else
70218 ac_cv_sizeof_char=0
70223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70224 $as_echo "$ac_cv_sizeof_char" >&6; }
70228 cat >>confdefs.h <<_ACEOF
70229 #define SIZEOF_CHAR $ac_cv_sizeof_char
70230 _ACEOF
70234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70235 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70236 case "$ac_cv_sizeof_char" in
70237 1) acx_cv_type_int8_t=char ;;
70238 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70239 esac
70240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70241 $as_echo "$acx_cv_type_int8_t" >&6; }
70243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70244 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70245 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70246 2:*) acx_cv_type_int16_t=int ;;
70247 *:2) acx_cv_type_int16_t=short ;;
70248 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70249 esac
70250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70251 $as_echo "$acx_cv_type_int16_t" >&6; }
70253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70254 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70255 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70256 4:*) acx_cv_type_int32_t=int ;;
70257 *:4) acx_cv_type_int32_t=long ;;
70258 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70259 esac
70260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70261 $as_echo "$acx_cv_type_int32_t" >&6; }
70264 # These tests are here to make the output prettier
70266 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70267 case "$ac_cv_sizeof_long" in
70268 8) acx_cv_type_int64_t=long ;;
70269 esac
70270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70271 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70273 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70276 # Now we can use the above types
70278 if test "$ac_cv_type_uintptr_t" != yes; then
70279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70280 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70281 case $ac_cv_sizeof_void_p in
70282 2) acx_cv_type_intptr_t=int16_t ;;
70283 4) acx_cv_type_intptr_t=int32_t ;;
70284 8) acx_cv_type_intptr_t=int64_t ;;
70285 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70286 esac
70287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70288 $as_echo "$acx_cv_type_intptr_t" >&6; }
70291 # ----------------- done all checks, emit header -------------
70292 ac_config_commands="$ac_config_commands include/gstdint.h"
70298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70299 $as_echo_n "checking for GNU c++filt... " >&6; }
70300 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70301 $as_echo_n "(cached) " >&6
70302 else
70303 if test -z "$CXXFILT"; then
70304 ac_path_CXXFILT_found=false
70305 # Loop through the user's path and test for each of PROGNAME-LIST
70306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70307 for as_dir in $PATH
70309 IFS=$as_save_IFS
70310 test -z "$as_dir" && as_dir=.
70311 for ac_prog in c++filt gc++filt; do
70312 for ac_exec_ext in '' $ac_executable_extensions; do
70313 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70314 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70315 # Check for GNU $ac_path_CXXFILT
70316 case `"$ac_path_CXXFILT" --version 2>&1` in
70317 *GNU*)
70318 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70319 esac
70321 $ac_path_CXXFILT_found && break 3
70322 done
70323 done
70324 done
70325 IFS=$as_save_IFS
70326 if test -z "$ac_cv_path_CXXFILT"; then
70329 else
70330 ac_cv_path_CXXFILT=$CXXFILT
70334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70335 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70336 CXXFILT=$ac_cv_path_CXXFILT
70340 # Check whether --enable-symvers was given.
70341 if test "${enable_symvers+set}" = set; then :
70342 enableval=$enable_symvers;
70343 case "$enableval" in
70344 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70345 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70346 esac
70348 else
70349 enable_symvers=yes
70354 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70355 # don't know enough about $LD to do tricks...
70357 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70358 # with extern "C++" in version scripts.
70361 # Turn a 'yes' into a suitable default.
70362 if test x$enable_symvers = xyes ; then
70363 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70364 enable_symvers=no
70365 else
70366 if test $with_gnu_ld = yes ; then
70367 case ${target_os} in
70368 hpux*)
70369 enable_symvers=no ;;
70371 enable_symvers=gnu ;;
70372 esac
70373 else
70374 case ${target_os} in
70375 darwin*)
70376 enable_symvers=darwin ;;
70377 # Sun symbol versioning exists since Solaris 2.5.
70378 solaris2.[5-9]* | solaris2.1[0-9]*)
70379 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70380 # version scripts, so disable symbol versioning if none can be
70381 # found.
70382 if test -z "$ac_cv_path_CXXFILT"; then
70383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70384 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70386 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70388 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70389 enable_symvers=no
70390 else
70391 enable_symvers=sun
70395 enable_symvers=no ;;
70396 esac
70401 # Check to see if 'darwin' or 'darwin-export' can win.
70402 if test x$enable_symvers = xdarwin-export ; then
70403 enable_symvers=darwin
70406 # Check if 'sun' was requested on non-Solaris 2 platforms.
70407 if test x$enable_symvers = xsun ; then
70408 case ${target_os} in
70409 solaris2*)
70410 # All fine.
70413 # Unlikely to work.
70414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70415 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70417 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70419 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70420 enable_symvers=no
70422 esac
70425 # Check to see if 'gnu' can win.
70426 if test $enable_symvers = gnu ||
70427 test $enable_symvers = gnu-versioned-namespace ||
70428 test $enable_symvers = sun; then
70429 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70431 $as_echo_n "checking for shared libgcc... " >&6; }
70432 ac_save_CFLAGS="$CFLAGS"
70433 CFLAGS=' -lgcc_s'
70434 if test x$gcc_no_link = xyes; then
70435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70438 /* end confdefs.h. */
70441 main ()
70443 return 0;
70445 return 0;
70447 _ACEOF
70448 if ac_fn_c_try_link "$LINENO"; then :
70449 glibcxx_shared_libgcc=yes
70450 else
70451 glibcxx_shared_libgcc=no
70453 rm -f core conftest.err conftest.$ac_objext \
70454 conftest$ac_exeext conftest.$ac_ext
70455 CFLAGS="$ac_save_CFLAGS"
70456 if test $glibcxx_shared_libgcc = no; then
70457 cat > conftest.c <<EOF
70458 int main (void) { return 0; }
70460 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70461 -shared -shared-libgcc -o conftest.so \
70462 conftest.c -v 2>&1 >/dev/null \
70463 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70464 rm -f conftest.c conftest.so
70465 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70466 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70467 if test x$gcc_no_link = xyes; then
70468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70471 /* end confdefs.h. */
70474 main ()
70476 return 0;
70478 return 0;
70480 _ACEOF
70481 if ac_fn_c_try_link "$LINENO"; then :
70482 glibcxx_shared_libgcc=yes
70484 rm -f core conftest.err conftest.$ac_objext \
70485 conftest$ac_exeext conftest.$ac_ext
70486 CFLAGS="$ac_save_CFLAGS"
70489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70490 $as_echo "$glibcxx_shared_libgcc" >&6; }
70492 # For GNU ld, we need at least this version. The format is described in
70493 # GLIBCXX_CHECK_LINKER_FEATURES above.
70494 glibcxx_min_gnu_ld_version=21400
70496 # If no shared libgcc, can't win.
70497 if test $glibcxx_shared_libgcc != yes; then
70498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70499 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70501 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70503 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70504 enable_symvers=no
70505 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70506 : All interesting versions of Sun ld support sun style symbol versioning.
70507 elif test $with_gnu_ld != yes ; then
70508 # just fail for now
70509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70510 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70512 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70514 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70515 enable_symvers=no
70516 elif test $glibcxx_ld_is_gold = yes ; then
70517 : All versions of gold support symbol versioning.
70518 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70519 # The right tools, the right setup, but too old. Fallbacks?
70520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70521 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70523 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70525 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70527 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70529 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70530 enable_symvers=no
70534 # For libtool versioning info, format is CURRENT:REVISION:AGE
70535 libtool_VERSION=6:18:0
70537 # Everything parsed; figure out what files and settings to use.
70538 case $enable_symvers in
70540 SYMVER_FILE=config/abi/pre/none.ver
70542 gnu)
70543 SYMVER_FILE=config/abi/pre/gnu.ver
70545 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70548 gnu-versioned-namespace)
70549 libtool_VERSION=7:0:0
70550 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70552 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70555 darwin)
70556 SYMVER_FILE=config/abi/pre/gnu.ver
70558 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70561 sun)
70562 SYMVER_FILE=config/abi/pre/gnu.ver
70564 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70567 esac
70569 if test x$enable_symvers != xno ; then
70571 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70576 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70577 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70578 $as_echo_n "(cached) " >&6
70579 else
70581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70582 /* end confdefs.h. */
70583 void foo (void); __asm (".symver foo, bar@SYMVER");
70585 main ()
70589 return 0;
70591 _ACEOF
70592 if ac_fn_c_try_compile "$LINENO"; then :
70593 glibcxx_cv_have_as_symver_directive=yes
70594 else
70595 glibcxx_cv_have_as_symver_directive=no
70597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70600 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70601 if test $glibcxx_cv_have_as_symver_directive = yes; then
70603 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70614 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70615 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70617 if test $enable_symvers != no ; then
70618 case ${target_os} in
70619 # The Solaris 2 runtime linker doesn't support the GNU extension of
70620 # binding the same symbol to different versions
70621 solaris2*)
70623 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70626 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70629 esac
70632 # Now, set up compatibility support, if any.
70633 # In addition, need this to deal with std::size_t mangling in
70634 # src/compatibility.cc. In a perfect world, could use
70635 # typeid(std::size_t).name()[0] to do direct substitution.
70636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70637 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70638 ac_save_CFLAGS="$CFLAGS"
70639 CFLAGS="-Werror"
70640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70641 /* end confdefs.h. */
70644 main ()
70646 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70648 return 0;
70650 _ACEOF
70651 if ac_fn_c_try_compile "$LINENO"; then :
70652 glibcxx_size_t_is_i=yes
70653 else
70654 glibcxx_size_t_is_i=no
70656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70657 CFLAGS=$ac_save_CFLAGS
70658 if test "$glibcxx_size_t_is_i" = yes; then
70660 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70664 $as_echo "$glibcxx_size_t_is_i" >&6; }
70666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70667 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70668 ac_save_CFLAGS="$CFLAGS"
70669 CFLAGS="-Werror"
70670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70671 /* end confdefs.h. */
70674 main ()
70676 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70678 return 0;
70680 _ACEOF
70681 if ac_fn_c_try_compile "$LINENO"; then :
70682 glibcxx_ptrdiff_t_is_i=yes
70683 else
70684 glibcxx_ptrdiff_t_is_i=no
70686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70687 CFLAGS=$ac_save_CFLAGS
70688 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70690 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70694 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70699 # Check whether --enable-libstdcxx-visibility was given.
70700 if test "${enable_libstdcxx_visibility+set}" = set; then :
70701 enableval=$enable_libstdcxx_visibility;
70702 case "$enableval" in
70703 yes|no) ;;
70704 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70705 esac
70707 else
70708 enable_libstdcxx_visibility=yes
70713 if test x$enable_libstdcxx_visibility = xyes ; then
70714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70715 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70716 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70717 $as_echo_n "(cached) " >&6
70718 else
70720 save_CFLAGS="$CFLAGS"
70721 CFLAGS="$CFLAGS -Werror"
70722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70723 /* end confdefs.h. */
70724 void __attribute__((visibility("hidden"))) foo(void) { }
70726 main ()
70730 return 0;
70732 _ACEOF
70733 if ac_fn_c_try_compile "$LINENO"; then :
70734 glibcxx_cv_have_attribute_visibility=yes
70735 else
70736 glibcxx_cv_have_attribute_visibility=no
70738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70739 CFLAGS="$save_CFLAGS"
70741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70742 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70743 if test $glibcxx_cv_have_attribute_visibility = no; then
70744 enable_libstdcxx_visibility=no
70749 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70750 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70753 ac_ldbl_compat=no
70754 case "$target" in
70755 powerpc*-*-linux* | \
70756 sparc*-*-linux* | \
70757 s390*-*-linux* | \
70758 alpha*-*-linux*)
70759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70760 /* end confdefs.h. */
70763 main ()
70766 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70767 #error no need for long double compatibility
70768 #endif
70771 return 0;
70773 _ACEOF
70774 if ac_fn_c_try_compile "$LINENO"; then :
70775 ac_ldbl_compat=yes
70776 else
70777 ac_ldbl_compat=no
70779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70780 if test "$ac_ldbl_compat" = yes; then
70782 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70784 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70786 esac
70789 # Check if assembler supports disabling hardware capability support.
70791 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70793 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
70794 # with a different meaning.
70795 case ${target_os} in
70796 solaris2*)
70797 ac_save_CFLAGS="$CFLAGS"
70798 CFLAGS="$CFLAGS -Wa,-nH"
70800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70801 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70803 /* end confdefs.h. */
70806 main ()
70808 return 0;
70810 return 0;
70812 _ACEOF
70813 if ac_fn_c_try_compile "$LINENO"; then :
70814 ac_hwcap_flags=yes
70815 else
70816 ac_hwcap_flags=no
70818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70819 if test "$ac_hwcap_flags" = "yes"; then
70820 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70823 $as_echo "$ac_hwcap_flags" >&6; }
70825 CFLAGS="$ac_save_CFLAGS"
70827 esac
70832 # Check if assembler supports rdrand opcode.
70834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70835 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70836 if test "${ac_cv_x86_rdrand+set}" = set; then :
70837 $as_echo_n "(cached) " >&6
70838 else
70840 ac_cv_x86_rdrand=no
70841 case "$target" in
70842 i?86-*-* | \
70843 x86_64-*-*)
70844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70845 /* end confdefs.h. */
70848 main ()
70850 asm("rdrand %eax");
70852 return 0;
70854 _ACEOF
70855 if ac_fn_c_try_compile "$LINENO"; then :
70856 ac_cv_x86_rdrand=yes
70857 else
70858 ac_cv_x86_rdrand=no
70860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70861 esac
70865 if test $ac_cv_x86_rdrand = yes; then
70867 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70871 $as_echo "$ac_cv_x86_rdrand" >&6; }
70874 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70876 if $GLIBCXX_IS_NATIVE ; then
70877 # Do checks for resource limit functions.
70879 setrlimit_have_headers=yes
70880 for ac_header in unistd.h sys/time.h sys/resource.h
70881 do :
70882 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70883 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70884 eval as_val=\$$as_ac_Header
70885 if test "x$as_val" = x""yes; then :
70886 cat >>confdefs.h <<_ACEOF
70887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70888 _ACEOF
70890 else
70891 setrlimit_have_headers=no
70894 done
70896 # If don't have the headers, then we can't run the tests now, and we
70897 # won't be seeing any of these during testsuite compilation.
70898 if test $setrlimit_have_headers = yes; then
70899 # Can't do these in a loop, else the resulting syntax is wrong.
70901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70902 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70904 /* end confdefs.h. */
70905 #include <unistd.h>
70906 #include <sys/time.h>
70907 #include <sys/resource.h>
70910 main ()
70912 int f = RLIMIT_DATA ;
70914 return 0;
70916 _ACEOF
70917 if ac_fn_c_try_compile "$LINENO"; then :
70918 glibcxx_mresult=1
70919 else
70920 glibcxx_mresult=0
70922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70924 cat >>confdefs.h <<_ACEOF
70925 #define HAVE_LIMIT_DATA $glibcxx_mresult
70926 _ACEOF
70928 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70930 $as_echo "$res" >&6; }
70933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70934 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70936 /* end confdefs.h. */
70937 #include <unistd.h>
70938 #include <sys/time.h>
70939 #include <sys/resource.h>
70942 main ()
70944 int f = RLIMIT_RSS ;
70946 return 0;
70948 _ACEOF
70949 if ac_fn_c_try_compile "$LINENO"; then :
70950 glibcxx_mresult=1
70951 else
70952 glibcxx_mresult=0
70954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70956 cat >>confdefs.h <<_ACEOF
70957 #define HAVE_LIMIT_RSS $glibcxx_mresult
70958 _ACEOF
70960 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70962 $as_echo "$res" >&6; }
70965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70966 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70968 /* end confdefs.h. */
70969 #include <unistd.h>
70970 #include <sys/time.h>
70971 #include <sys/resource.h>
70974 main ()
70976 int f = RLIMIT_VMEM ;
70978 return 0;
70980 _ACEOF
70981 if ac_fn_c_try_compile "$LINENO"; then :
70982 glibcxx_mresult=1
70983 else
70984 glibcxx_mresult=0
70986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70988 cat >>confdefs.h <<_ACEOF
70989 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70990 _ACEOF
70992 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70994 $as_echo "$res" >&6; }
70997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70998 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71000 /* end confdefs.h. */
71001 #include <unistd.h>
71002 #include <sys/time.h>
71003 #include <sys/resource.h>
71006 main ()
71008 int f = RLIMIT_AS ;
71010 return 0;
71012 _ACEOF
71013 if ac_fn_c_try_compile "$LINENO"; then :
71014 glibcxx_mresult=1
71015 else
71016 glibcxx_mresult=0
71018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71020 cat >>confdefs.h <<_ACEOF
71021 #define HAVE_LIMIT_AS $glibcxx_mresult
71022 _ACEOF
71024 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71026 $as_echo "$res" >&6; }
71029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
71030 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
71031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71032 /* end confdefs.h. */
71033 #include <unistd.h>
71034 #include <sys/time.h>
71035 #include <sys/resource.h>
71038 main ()
71040 int f = RLIMIT_FSIZE ;
71042 return 0;
71044 _ACEOF
71045 if ac_fn_c_try_compile "$LINENO"; then :
71046 glibcxx_mresult=1
71047 else
71048 glibcxx_mresult=0
71050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71052 cat >>confdefs.h <<_ACEOF
71053 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
71054 _ACEOF
71056 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71058 $as_echo "$res" >&6; }
71061 # Check for rlimit, setrlimit.
71062 if test "${glibcxx_cv_setrlimit+set}" = set; then :
71063 $as_echo_n "(cached) " >&6
71064 else
71066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71067 /* end confdefs.h. */
71068 #include <unistd.h>
71069 #include <sys/time.h>
71070 #include <sys/resource.h>
71073 main ()
71075 struct rlimit r;
71076 setrlimit(0, &r);
71078 return 0;
71080 _ACEOF
71081 if ac_fn_c_try_compile "$LINENO"; then :
71082 glibcxx_cv_setrlimit=yes
71083 else
71084 glibcxx_cv_setrlimit=no
71086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
71093 $as_echo_n "checking for testsuite resource limits support... " >&6; }
71094 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
71095 ac_res_limits=yes
71097 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
71099 else
71100 ac_res_limits=no
71102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
71103 $as_echo "$ac_res_limits" >&6; }
71106 # Look for setenv, so that extended locale tests can be performed.
71108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71109 $as_echo_n "checking for setenv declaration... " >&6; }
71110 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71111 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71112 $as_echo_n "(cached) " >&6
71113 else
71116 ac_ext=cpp
71117 ac_cpp='$CXXCPP $CPPFLAGS'
71118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71123 /* end confdefs.h. */
71124 #include <stdlib.h>
71126 main ()
71128 setenv(0, 0, 0);
71130 return 0;
71132 _ACEOF
71133 if ac_fn_cxx_try_compile "$LINENO"; then :
71134 glibcxx_cv_func_setenv_use=yes
71135 else
71136 glibcxx_cv_func_setenv_use=no
71138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71139 ac_ext=c
71140 ac_cpp='$CPP $CPPFLAGS'
71141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71150 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71151 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71152 for ac_func in setenv
71153 do :
71154 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71155 if test "x$ac_cv_func_setenv" = x""yes; then :
71156 cat >>confdefs.h <<_ACEOF
71157 #define HAVE_SETENV 1
71158 _ACEOF
71161 done
71167 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71168 test $enable_symvers != no; then
71169 case "$host" in
71170 *-*-cygwin*)
71171 enable_abi_check=no ;;
71173 enable_abi_check=yes ;;
71174 esac
71175 else
71176 # Only build this as native, since automake does not understand
71177 # CXX_FOR_BUILD.
71178 enable_abi_check=no
71181 # Export file names for ABI checking.
71182 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71184 baseline_subdir_switch="$abi_baseline_subdir_switch"
71188 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71190 # Check whether --enable-libstdcxx-threads was given.
71191 if test "${enable_libstdcxx_threads+set}" = set; then :
71192 enableval=$enable_libstdcxx_threads;
71193 case "$enableval" in
71194 yes|no) ;;
71195 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71196 esac
71198 else
71199 enable_libstdcxx_threads=auto
71204 if test x$enable_libstdcxx_threads = xauto ||
71205 test x$enable_libstdcxx_threads = xyes; then
71208 ac_ext=cpp
71209 ac_cpp='$CXXCPP $CPPFLAGS'
71210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71215 ac_save_CXXFLAGS="$CXXFLAGS"
71216 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71217 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71219 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71220 case $target_thread_file in
71221 posix)
71222 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71223 esac
71225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71226 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71229 /* end confdefs.h. */
71230 #include <unistd.h>
71232 main ()
71235 // In case of POSIX threads check _POSIX_TIMEOUTS.
71236 #if (defined(_PTHREADS) \
71237 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71238 #error
71239 #endif
71242 return 0;
71244 _ACEOF
71245 if ac_fn_cxx_try_compile "$LINENO"; then :
71246 ac_gthread_use_mutex_timedlock=1
71247 else
71248 ac_gthread_use_mutex_timedlock=0
71250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71253 cat >>confdefs.h <<_ACEOF
71254 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71255 _ACEOF
71258 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71259 else res_mutex_timedlock=no ; fi
71260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71261 $as_echo "$res_mutex_timedlock" >&6; }
71263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71264 $as_echo_n "checking for gthreads library... " >&6; }
71266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71267 /* end confdefs.h. */
71268 #include "gthr.h"
71270 main ()
71273 #ifndef __GTHREADS_CXX0X
71274 #error
71275 #endif
71278 return 0;
71280 _ACEOF
71281 if ac_fn_cxx_try_compile "$LINENO"; then :
71282 case $target_os in
71283 # gthreads support breaks symbol versioning on Solaris 9 (PR
71284 # libstdc++/52189).
71285 solaris2.9*)
71286 if test x$enable_symvers = xno; then
71287 ac_has_gthreads=yes
71288 elif test x$enable_libstdcxx_threads = xyes; then
71289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71290 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71292 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71293 ac_has_gthreads=yes
71294 else
71295 ac_has_gthreads=no
71299 ac_has_gthreads=yes
71301 esac
71302 else
71303 ac_has_gthreads=no
71305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71306 else
71307 ac_has_gthreads=no
71310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71311 $as_echo "$ac_has_gthreads" >&6; }
71313 if test x"$ac_has_gthreads" = x"yes"; then
71315 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71319 CXXFLAGS="$ac_save_CXXFLAGS"
71320 ac_ext=c
71321 ac_cpp='$CPP $CPPFLAGS'
71322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71328 # Define documentation rules conditionally.
71330 # See if makeinfo has been installed and is modern enough
71331 # that we can use it.
71333 # Extract the first word of "makeinfo", so it can be a program name with args.
71334 set dummy makeinfo; ac_word=$2
71335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71336 $as_echo_n "checking for $ac_word... " >&6; }
71337 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71338 $as_echo_n "(cached) " >&6
71339 else
71340 if test -n "$MAKEINFO"; then
71341 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71342 else
71343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71344 for as_dir in $PATH
71346 IFS=$as_save_IFS
71347 test -z "$as_dir" && as_dir=.
71348 for ac_exec_ext in '' $ac_executable_extensions; do
71349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71350 ac_cv_prog_MAKEINFO="makeinfo"
71351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71352 break 2
71354 done
71355 done
71356 IFS=$as_save_IFS
71360 MAKEINFO=$ac_cv_prog_MAKEINFO
71361 if test -n "$MAKEINFO"; then
71362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71363 $as_echo "$MAKEINFO" >&6; }
71364 else
71365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71366 $as_echo "no" >&6; }
71370 if test -n "$MAKEINFO"; then
71371 # Found it, now check the version.
71372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71373 $as_echo_n "checking for modern makeinfo... " >&6; }
71374 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71375 $as_echo_n "(cached) " >&6
71376 else
71377 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71378 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71380 case $ac_prog_version in
71381 '') gcc_cv_prog_makeinfo_modern=no;;
71382 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71383 *) gcc_cv_prog_makeinfo_modern=no;;
71384 esac
71387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71388 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71389 else
71390 gcc_cv_prog_makeinfo_modern=no
71392 if test $gcc_cv_prog_makeinfo_modern = no; then
71393 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71396 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71397 BUILD_INFO_TRUE=
71398 BUILD_INFO_FALSE='#'
71399 else
71400 BUILD_INFO_TRUE='#'
71401 BUILD_INFO_FALSE=
71405 # Check for doxygen
71406 # Extract the first word of "doxygen", so it can be a program name with args.
71407 set dummy doxygen; 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_DOXYGEN+set}" = set; then :
71411 $as_echo_n "(cached) " >&6
71412 else
71413 if test -n "$DOXYGEN"; then
71414 ac_cv_prog_DOXYGEN="$DOXYGEN" # 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_DOXYGEN="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_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71434 DOXYGEN=$ac_cv_prog_DOXYGEN
71435 if test -n "$DOXYGEN"; then
71436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71437 $as_echo "$DOXYGEN" >&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 "dot", so it can be a program name with args.
71445 set dummy dot; 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_DOT+set}" = set; then :
71449 $as_echo_n "(cached) " >&6
71450 else
71451 if test -n "$DOT"; then
71452 ac_cv_prog_DOT="$DOT" # 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_DOT="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_DOT" && ac_cv_prog_DOT="no"
71472 DOT=$ac_cv_prog_DOT
71473 if test -n "$DOT"; then
71474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71475 $as_echo "$DOT" >&6; }
71476 else
71477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71478 $as_echo "no" >&6; }
71483 # Check for docbook
71484 # Extract the first word of "xsltproc", so it can be a program name with args.
71485 set dummy xsltproc; ac_word=$2
71486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71487 $as_echo_n "checking for $ac_word... " >&6; }
71488 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71489 $as_echo_n "(cached) " >&6
71490 else
71491 if test -n "$XSLTPROC"; then
71492 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71493 else
71494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71495 for as_dir in $PATH
71497 IFS=$as_save_IFS
71498 test -z "$as_dir" && as_dir=.
71499 for ac_exec_ext in '' $ac_executable_extensions; do
71500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71501 ac_cv_prog_XSLTPROC="yes"
71502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71503 break 2
71505 done
71506 done
71507 IFS=$as_save_IFS
71509 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71512 XSLTPROC=$ac_cv_prog_XSLTPROC
71513 if test -n "$XSLTPROC"; then
71514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71515 $as_echo "$XSLTPROC" >&6; }
71516 else
71517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71518 $as_echo "no" >&6; }
71522 # Extract the first word of "xmllint", so it can be a program name with args.
71523 set dummy xmllint; ac_word=$2
71524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71525 $as_echo_n "checking for $ac_word... " >&6; }
71526 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71527 $as_echo_n "(cached) " >&6
71528 else
71529 if test -n "$XMLLINT"; then
71530 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71531 else
71532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71533 for as_dir in $PATH
71535 IFS=$as_save_IFS
71536 test -z "$as_dir" && as_dir=.
71537 for ac_exec_ext in '' $ac_executable_extensions; do
71538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71539 ac_cv_prog_XMLLINT="yes"
71540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71541 break 2
71543 done
71544 done
71545 IFS=$as_save_IFS
71547 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71550 XMLLINT=$ac_cv_prog_XMLLINT
71551 if test -n "$XMLLINT"; then
71552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71553 $as_echo "$XMLLINT" >&6; }
71554 else
71555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71556 $as_echo "no" >&6; }
71562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71563 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71564 glibcxx_stylesheets=no
71565 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
71566 glibcxx_stylesheets=yes
71568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71569 $as_echo "$glibcxx_stylesheets" >&6; }
71571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71572 $as_echo_n "checking for local stylesheet directory... " >&6; }
71573 glibcxx_local_stylesheets=no
71574 if test x"$glibcxx_stylesheets" = x"yes"; then
71575 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71576 glibcxx_local_stylesheets=yes
71577 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71579 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71580 glibcxx_local_stylesheets=yes
71581 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71583 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
71584 glibcxx_local_stylesheets=yes
71585 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
71588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71589 $as_echo "$glibcxx_local_stylesheets" >&6; }
71591 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71593 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71594 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71595 else
71596 glibcxx_stylesheets=no
71599 # Check for epub3 dependencies.
71600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71601 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71602 glibcxx_epub_stylesheets=no
71603 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71604 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71605 glibcxx_epub_stylesheets=yes
71608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71609 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71610 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71611 BUILD_EPUB_TRUE=
71612 BUILD_EPUB_FALSE='#'
71613 else
71614 BUILD_EPUB_TRUE='#'
71615 BUILD_EPUB_FALSE=
71621 # Check for xml/html dependencies.
71622 if test $ac_cv_prog_DOXYGEN = "yes" &&
71623 test $ac_cv_prog_DOT = "yes" &&
71624 test $ac_cv_prog_XSLTPROC = "yes" &&
71625 test $ac_cv_prog_XMLLINT = "yes" &&
71626 test $glibcxx_stylesheets = "yes"; then
71627 BUILD_XML_TRUE=
71628 BUILD_XML_FALSE='#'
71629 else
71630 BUILD_XML_TRUE='#'
71631 BUILD_XML_FALSE=
71635 if test $ac_cv_prog_DOXYGEN = "yes" &&
71636 test $ac_cv_prog_DOT = "yes" &&
71637 test $ac_cv_prog_XSLTPROC = "yes" &&
71638 test $ac_cv_prog_XMLLINT = "yes" &&
71639 test $glibcxx_stylesheets = "yes"; then
71640 BUILD_HTML_TRUE=
71641 BUILD_HTML_FALSE='#'
71642 else
71643 BUILD_HTML_TRUE='#'
71644 BUILD_HTML_FALSE=
71648 # Check for man dependencies.
71649 if test $ac_cv_prog_DOXYGEN = "yes" &&
71650 test $ac_cv_prog_DOT = "yes"; then
71651 BUILD_MAN_TRUE=
71652 BUILD_MAN_FALSE='#'
71653 else
71654 BUILD_MAN_TRUE='#'
71655 BUILD_MAN_FALSE=
71659 # Check for pdf dependencies.
71660 # Extract the first word of "dblatex", so it can be a program name with args.
71661 set dummy dblatex; ac_word=$2
71662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71663 $as_echo_n "checking for $ac_word... " >&6; }
71664 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71665 $as_echo_n "(cached) " >&6
71666 else
71667 if test -n "$DBLATEX"; then
71668 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71669 else
71670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71671 for as_dir in $PATH
71673 IFS=$as_save_IFS
71674 test -z "$as_dir" && as_dir=.
71675 for ac_exec_ext in '' $ac_executable_extensions; do
71676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71677 ac_cv_prog_DBLATEX="yes"
71678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71679 break 2
71681 done
71682 done
71683 IFS=$as_save_IFS
71685 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71688 DBLATEX=$ac_cv_prog_DBLATEX
71689 if test -n "$DBLATEX"; then
71690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71691 $as_echo "$DBLATEX" >&6; }
71692 else
71693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71694 $as_echo "no" >&6; }
71698 # Extract the first word of "pdflatex", so it can be a program name with args.
71699 set dummy pdflatex; ac_word=$2
71700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71701 $as_echo_n "checking for $ac_word... " >&6; }
71702 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71703 $as_echo_n "(cached) " >&6
71704 else
71705 if test -n "$PDFLATEX"; then
71706 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71707 else
71708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71709 for as_dir in $PATH
71711 IFS=$as_save_IFS
71712 test -z "$as_dir" && as_dir=.
71713 for ac_exec_ext in '' $ac_executable_extensions; do
71714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71715 ac_cv_prog_PDFLATEX="yes"
71716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71717 break 2
71719 done
71720 done
71721 IFS=$as_save_IFS
71723 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71726 PDFLATEX=$ac_cv_prog_PDFLATEX
71727 if test -n "$PDFLATEX"; then
71728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71729 $as_echo "$PDFLATEX" >&6; }
71730 else
71731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71732 $as_echo "no" >&6; }
71736 if test $ac_cv_prog_DBLATEX = "yes" &&
71737 test $ac_cv_prog_PDFLATEX = "yes"; then
71738 BUILD_PDF_TRUE=
71739 BUILD_PDF_FALSE='#'
71740 else
71741 BUILD_PDF_TRUE='#'
71742 BUILD_PDF_FALSE=
71747 # Propagate the target-specific source directories through the build chain.
71748 ATOMICITY_SRCDIR=config/${atomicity_dir}
71749 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71750 ATOMIC_FLAGS=${atomic_flags}
71751 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71752 OS_INC_SRCDIR=config/${os_include_dir}
71753 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71754 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71755 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71756 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
71768 # Determine cross-compile flags and AM_CONDITIONALs.
71769 #AC_SUBST(GLIBCXX_IS_NATIVE)
71770 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71771 if test $is_hosted = yes; then
71772 GLIBCXX_HOSTED_TRUE=
71773 GLIBCXX_HOSTED_FALSE='#'
71774 else
71775 GLIBCXX_HOSTED_TRUE='#'
71776 GLIBCXX_HOSTED_FALSE=
71780 if test $enable_libstdcxx_pch = yes; then
71781 GLIBCXX_BUILD_PCH_TRUE=
71782 GLIBCXX_BUILD_PCH_FALSE='#'
71783 else
71784 GLIBCXX_BUILD_PCH_TRUE='#'
71785 GLIBCXX_BUILD_PCH_FALSE=
71789 if test $enable_cheaders = c; then
71790 GLIBCXX_C_HEADERS_C_TRUE=
71791 GLIBCXX_C_HEADERS_C_FALSE='#'
71792 else
71793 GLIBCXX_C_HEADERS_C_TRUE='#'
71794 GLIBCXX_C_HEADERS_C_FALSE=
71798 if test $enable_cheaders = c_std; then
71799 GLIBCXX_C_HEADERS_C_STD_TRUE=
71800 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71801 else
71802 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71803 GLIBCXX_C_HEADERS_C_STD_FALSE=
71807 if test $enable_cheaders = c_global; then
71808 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71809 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71810 else
71811 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71812 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71816 if test $c_compatibility = yes; then
71817 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71818 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71819 else
71820 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71821 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71825 if test $enable_libstdcxx_debug = yes; then
71826 GLIBCXX_BUILD_DEBUG_TRUE=
71827 GLIBCXX_BUILD_DEBUG_FALSE='#'
71828 else
71829 GLIBCXX_BUILD_DEBUG_TRUE='#'
71830 GLIBCXX_BUILD_DEBUG_FALSE=
71834 if test $enable_extern_template = yes; then
71835 ENABLE_EXTERN_TEMPLATE_TRUE=
71836 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71837 else
71838 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71839 ENABLE_EXTERN_TEMPLATE_FALSE=
71843 if test $python_mod_dir != no; then
71844 ENABLE_PYTHONDIR_TRUE=
71845 ENABLE_PYTHONDIR_FALSE='#'
71846 else
71847 ENABLE_PYTHONDIR_TRUE='#'
71848 ENABLE_PYTHONDIR_FALSE=
71852 if test $enable_werror = yes; then
71853 ENABLE_WERROR_TRUE=
71854 ENABLE_WERROR_FALSE='#'
71855 else
71856 ENABLE_WERROR_TRUE='#'
71857 ENABLE_WERROR_FALSE=
71861 if test $enable_symvers != no; then
71862 ENABLE_SYMVERS_TRUE=
71863 ENABLE_SYMVERS_FALSE='#'
71864 else
71865 ENABLE_SYMVERS_TRUE='#'
71866 ENABLE_SYMVERS_FALSE=
71870 if test $enable_symvers = gnu; then
71871 ENABLE_SYMVERS_GNU_TRUE=
71872 ENABLE_SYMVERS_GNU_FALSE='#'
71873 else
71874 ENABLE_SYMVERS_GNU_TRUE='#'
71875 ENABLE_SYMVERS_GNU_FALSE=
71879 if test $enable_symvers = gnu-versioned-namespace; then
71880 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71881 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71882 else
71883 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71884 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71888 if test $enable_symvers = darwin; then
71889 ENABLE_SYMVERS_DARWIN_TRUE=
71890 ENABLE_SYMVERS_DARWIN_FALSE='#'
71891 else
71892 ENABLE_SYMVERS_DARWIN_TRUE='#'
71893 ENABLE_SYMVERS_DARWIN_FALSE=
71897 if test $enable_symvers = sun; then
71898 ENABLE_SYMVERS_SUN_TRUE=
71899 ENABLE_SYMVERS_SUN_FALSE='#'
71900 else
71901 ENABLE_SYMVERS_SUN_TRUE='#'
71902 ENABLE_SYMVERS_SUN_FALSE=
71906 if test $enable_libstdcxx_visibility = yes; then
71907 ENABLE_VISIBILITY_TRUE=
71908 ENABLE_VISIBILITY_FALSE='#'
71909 else
71910 ENABLE_VISIBILITY_TRUE='#'
71911 ENABLE_VISIBILITY_FALSE=
71915 if test $ac_ldbl_compat = yes; then
71916 GLIBCXX_LDBL_COMPAT_TRUE=
71917 GLIBCXX_LDBL_COMPAT_FALSE='#'
71918 else
71919 GLIBCXX_LDBL_COMPAT_TRUE='#'
71920 GLIBCXX_LDBL_COMPAT_FALSE=
71926 cat >confcache <<\_ACEOF
71927 # This file is a shell script that caches the results of configure
71928 # tests run on this system so they can be shared between configure
71929 # scripts and configure runs, see configure's option --config-cache.
71930 # It is not useful on other systems. If it contains results you don't
71931 # want to keep, you may remove or edit it.
71933 # config.status only pays attention to the cache file if you give it
71934 # the --recheck option to rerun configure.
71936 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71937 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71938 # following values.
71940 _ACEOF
71942 # The following way of writing the cache mishandles newlines in values,
71943 # but we know of no workaround that is simple, portable, and efficient.
71944 # So, we kill variables containing newlines.
71945 # Ultrix sh set writes to stderr and can't be redirected directly,
71946 # and sets the high bit in the cache file unless we assign to the vars.
71948 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71949 eval ac_val=\$$ac_var
71950 case $ac_val in #(
71951 *${as_nl}*)
71952 case $ac_var in #(
71953 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71954 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71955 esac
71956 case $ac_var in #(
71957 _ | IFS | as_nl) ;; #(
71958 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71959 *) { eval $ac_var=; unset $ac_var;} ;;
71960 esac ;;
71961 esac
71962 done
71964 (set) 2>&1 |
71965 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71966 *${as_nl}ac_space=\ *)
71967 # `set' does not quote correctly, so add quotes: double-quote
71968 # substitution turns \\\\ into \\, and sed turns \\ into \.
71969 sed -n \
71970 "s/'/'\\\\''/g;
71971 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71972 ;; #(
71974 # `set' quotes correctly as required by POSIX, so do not add quotes.
71975 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71977 esac |
71978 sort
71980 sed '
71981 /^ac_cv_env_/b end
71982 t clear
71983 :clear
71984 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71985 t end
71986 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71987 :end' >>confcache
71988 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71989 if test -w "$cache_file"; then
71990 test "x$cache_file" != "x/dev/null" &&
71991 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71992 $as_echo "$as_me: updating cache $cache_file" >&6;}
71993 cat confcache >$cache_file
71994 else
71995 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71996 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71999 rm -f confcache
72001 if test ${multilib} = yes; then
72002 multilib_arg="--enable-multilib"
72003 else
72004 multilib_arg=
72007 # Export all the install information.
72009 glibcxx_toolexecdir=no
72010 glibcxx_toolexeclibdir=no
72011 glibcxx_prefixdir=$prefix
72013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
72014 $as_echo_n "checking for gxx-include-dir... " >&6; }
72016 # Check whether --with-gxx-include-dir was given.
72017 if test "${with_gxx_include_dir+set}" = set; then :
72018 withval=$with_gxx_include_dir; case "$withval" in
72019 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
72020 no) gxx_include_dir=no ;;
72021 *) gxx_include_dir=$withval ;;
72022 esac
72023 else
72024 gxx_include_dir=no
72027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72028 $as_echo "$gxx_include_dir" >&6; }
72030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
72031 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
72032 # Check whether --enable-version-specific-runtime-libs was given.
72033 if test "${enable_version_specific_runtime_libs+set}" = set; then :
72034 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
72035 yes) version_specific_libs=yes ;;
72036 no) version_specific_libs=no ;;
72037 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
72038 esac
72039 else
72040 version_specific_libs=no
72043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
72044 $as_echo "$version_specific_libs" >&6; }
72046 # Default case for install directory for include files.
72047 if test $version_specific_libs = no && test $gxx_include_dir = no; then
72048 gxx_include_dir='include/c++/${gcc_version}'
72049 if test -n "$with_cross_host" &&
72050 test x"$with_cross_host" != x"no"; then
72051 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
72052 else
72053 gxx_include_dir='${prefix}/'"$gxx_include_dir"
72057 # Version-specific runtime libs processing.
72058 if test $version_specific_libs = yes; then
72059 # Need the gcc compiler version to know where to install libraries
72060 # and header files if --enable-version-specific-runtime-libs option
72061 # is selected. FIXME: these variables are misnamed, there are
72062 # no executables installed in _toolexecdir or _toolexeclibdir.
72063 if test x"$gxx_include_dir" = x"no"; then
72064 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
72066 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72067 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
72070 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
72071 # Install a library built with a cross compiler in tooldir, not libdir.
72072 if test x"$glibcxx_toolexecdir" = x"no"; then
72073 if test -n "$with_cross_host" &&
72074 test x"$with_cross_host" != x"no"; then
72075 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
72076 glibcxx_toolexeclibdir='${toolexecdir}/lib'
72077 else
72078 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72079 glibcxx_toolexeclibdir='${libdir}'
72081 multi_os_directory=`$CXX -print-multi-os-directory`
72082 case $multi_os_directory in
72083 .) ;; # Avoid trailing /.
72084 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
72085 esac
72088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
72089 $as_echo_n "checking for install location... " >&6; }
72090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72091 $as_echo "$gxx_include_dir" >&6; }
72099 # Export all the include and flag information to Makefiles.
72101 # Used for every C++ compile we perform.
72102 GLIBCXX_INCLUDES="\
72103 -I$glibcxx_builddir/include/$host_alias \
72104 -I$glibcxx_builddir/include \
72105 -I$glibcxx_srcdir/libsupc++"
72107 # For Canadian crosses, pick this up too.
72108 if test $CANADIAN = yes; then
72109 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72112 # Stuff in the actual top level. Currently only used by libsupc++ to
72113 # get unwind* headers from the libgcc dir.
72114 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72115 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72117 # Now, export this to all the little Makefiles....
72122 # Optimization flags that are probably a good idea for thrill-seekers. Just
72123 # uncomment the lines below and make, everything else is ready to go...
72124 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72125 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72128 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72132 ac_config_files="$ac_config_files Makefile"
72134 ac_config_files="$ac_config_files scripts/testsuite_flags"
72136 ac_config_files="$ac_config_files scripts/extract_symvers"
72138 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72141 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72142 # that multilib installs will end up installed in the correct place.
72143 # The testsuite needs it for multilib-aware ABI baseline files.
72144 # To work around this not being passed down from config-ml.in ->
72145 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72146 # append it here. Only modify Makefiles that have just been created.
72148 # Also, get rid of this simulated-VPATH thing that automake does.
72149 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"
72152 ac_config_commands="$ac_config_commands generate-headers"
72155 cat >confcache <<\_ACEOF
72156 # This file is a shell script that caches the results of configure
72157 # tests run on this system so they can be shared between configure
72158 # scripts and configure runs, see configure's option --config-cache.
72159 # It is not useful on other systems. If it contains results you don't
72160 # want to keep, you may remove or edit it.
72162 # config.status only pays attention to the cache file if you give it
72163 # the --recheck option to rerun configure.
72165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72167 # following values.
72169 _ACEOF
72171 # The following way of writing the cache mishandles newlines in values,
72172 # but we know of no workaround that is simple, portable, and efficient.
72173 # So, we kill variables containing newlines.
72174 # Ultrix sh set writes to stderr and can't be redirected directly,
72175 # and sets the high bit in the cache file unless we assign to the vars.
72177 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72178 eval ac_val=\$$ac_var
72179 case $ac_val in #(
72180 *${as_nl}*)
72181 case $ac_var in #(
72182 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72184 esac
72185 case $ac_var in #(
72186 _ | IFS | as_nl) ;; #(
72187 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72188 *) { eval $ac_var=; unset $ac_var;} ;;
72189 esac ;;
72190 esac
72191 done
72193 (set) 2>&1 |
72194 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72195 *${as_nl}ac_space=\ *)
72196 # `set' does not quote correctly, so add quotes: double-quote
72197 # substitution turns \\\\ into \\, and sed turns \\ into \.
72198 sed -n \
72199 "s/'/'\\\\''/g;
72200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72201 ;; #(
72203 # `set' quotes correctly as required by POSIX, so do not add quotes.
72204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72206 esac |
72207 sort
72209 sed '
72210 /^ac_cv_env_/b end
72211 t clear
72212 :clear
72213 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72214 t end
72215 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72216 :end' >>confcache
72217 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72218 if test -w "$cache_file"; then
72219 test "x$cache_file" != "x/dev/null" &&
72220 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72221 $as_echo "$as_me: updating cache $cache_file" >&6;}
72222 cat confcache >$cache_file
72223 else
72224 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72225 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72228 rm -f confcache
72230 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72231 # Let make expand exec_prefix.
72232 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72234 DEFS=-DHAVE_CONFIG_H
72236 ac_libobjs=
72237 ac_ltlibobjs=
72238 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72239 # 1. Remove the extension, and $U if already installed.
72240 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72241 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72242 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72243 # will be set to the directory where LIBOBJS objects are built.
72244 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72245 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72246 done
72247 LIBOBJS=$ac_libobjs
72249 LTLIBOBJS=$ac_ltlibobjs
72252 if test -n "$EXEEXT"; then
72253 am__EXEEXT_TRUE=
72254 am__EXEEXT_FALSE='#'
72255 else
72256 am__EXEEXT_TRUE='#'
72257 am__EXEEXT_FALSE=
72260 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72261 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72264 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72265 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72268 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72269 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72272 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72273 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72276 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72277 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72280 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72281 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72284 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72285 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72288 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72289 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72292 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72293 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72296 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72297 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72300 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72301 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72304 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72305 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72308 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72309 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72312 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72313 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72316 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72317 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72320 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72321 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72324 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72325 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72328 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72329 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72332 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72333 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72336 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72337 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72340 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72341 as_fn_error "conditional \"BUILD_XML\" was never defined.
72342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72344 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72345 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72348 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72349 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72352 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72353 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72357 : ${CONFIG_STATUS=./config.status}
72358 ac_write_fail=0
72359 ac_clean_files_save=$ac_clean_files
72360 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72361 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72362 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72363 as_write_fail=0
72364 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72365 #! $SHELL
72366 # Generated by $as_me.
72367 # Run this file to recreate the current configuration.
72368 # Compiler output produced by configure, useful for debugging
72369 # configure, is in config.log if it exists.
72371 debug=false
72372 ac_cs_recheck=false
72373 ac_cs_silent=false
72375 SHELL=\${CONFIG_SHELL-$SHELL}
72376 export SHELL
72377 _ASEOF
72378 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72379 ## -------------------- ##
72380 ## M4sh Initialization. ##
72381 ## -------------------- ##
72383 # Be more Bourne compatible
72384 DUALCASE=1; export DUALCASE # for MKS sh
72385 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72386 emulate sh
72387 NULLCMD=:
72388 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72389 # is contrary to our usage. Disable this feature.
72390 alias -g '${1+"$@"}'='"$@"'
72391 setopt NO_GLOB_SUBST
72392 else
72393 case `(set -o) 2>/dev/null` in #(
72394 *posix*) :
72395 set -o posix ;; #(
72396 *) :
72398 esac
72402 as_nl='
72404 export as_nl
72405 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72406 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72407 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72408 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72409 # Prefer a ksh shell builtin over an external printf program on Solaris,
72410 # but without wasting forks for bash or zsh.
72411 if test -z "$BASH_VERSION$ZSH_VERSION" \
72412 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72413 as_echo='print -r --'
72414 as_echo_n='print -rn --'
72415 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72416 as_echo='printf %s\n'
72417 as_echo_n='printf %s'
72418 else
72419 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72420 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72421 as_echo_n='/usr/ucb/echo -n'
72422 else
72423 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72424 as_echo_n_body='eval
72425 arg=$1;
72426 case $arg in #(
72427 *"$as_nl"*)
72428 expr "X$arg" : "X\\(.*\\)$as_nl";
72429 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72430 esac;
72431 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72433 export as_echo_n_body
72434 as_echo_n='sh -c $as_echo_n_body as_echo'
72436 export as_echo_body
72437 as_echo='sh -c $as_echo_body as_echo'
72440 # The user is always right.
72441 if test "${PATH_SEPARATOR+set}" != set; then
72442 PATH_SEPARATOR=:
72443 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72444 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72445 PATH_SEPARATOR=';'
72450 # IFS
72451 # We need space, tab and new line, in precisely that order. Quoting is
72452 # there to prevent editors from complaining about space-tab.
72453 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72454 # splitting by setting IFS to empty value.)
72455 IFS=" "" $as_nl"
72457 # Find who we are. Look in the path if we contain no directory separator.
72458 case $0 in #((
72459 *[\\/]* ) as_myself=$0 ;;
72460 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72461 for as_dir in $PATH
72463 IFS=$as_save_IFS
72464 test -z "$as_dir" && as_dir=.
72465 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72466 done
72467 IFS=$as_save_IFS
72470 esac
72471 # We did not find ourselves, most probably we were run as `sh COMMAND'
72472 # in which case we are not to be found in the path.
72473 if test "x$as_myself" = x; then
72474 as_myself=$0
72476 if test ! -f "$as_myself"; then
72477 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72478 exit 1
72481 # Unset variables that we do not need and which cause bugs (e.g. in
72482 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72483 # suppresses any "Segmentation fault" message there. '((' could
72484 # trigger a bug in pdksh 5.2.14.
72485 for as_var in BASH_ENV ENV MAIL MAILPATH
72486 do eval test x\${$as_var+set} = xset \
72487 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72488 done
72489 PS1='$ '
72490 PS2='> '
72491 PS4='+ '
72493 # NLS nuisances.
72494 LC_ALL=C
72495 export LC_ALL
72496 LANGUAGE=C
72497 export LANGUAGE
72499 # CDPATH.
72500 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72503 # as_fn_error ERROR [LINENO LOG_FD]
72504 # ---------------------------------
72505 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72506 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72507 # script with status $?, using 1 if that was 0.
72508 as_fn_error ()
72510 as_status=$?; test $as_status -eq 0 && as_status=1
72511 if test "$3"; then
72512 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72513 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72515 $as_echo "$as_me: error: $1" >&2
72516 as_fn_exit $as_status
72517 } # as_fn_error
72520 # as_fn_set_status STATUS
72521 # -----------------------
72522 # Set $? to STATUS, without forking.
72523 as_fn_set_status ()
72525 return $1
72526 } # as_fn_set_status
72528 # as_fn_exit STATUS
72529 # -----------------
72530 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72531 as_fn_exit ()
72533 set +e
72534 as_fn_set_status $1
72535 exit $1
72536 } # as_fn_exit
72538 # as_fn_unset VAR
72539 # ---------------
72540 # Portably unset VAR.
72541 as_fn_unset ()
72543 { eval $1=; unset $1;}
72545 as_unset=as_fn_unset
72546 # as_fn_append VAR VALUE
72547 # ----------------------
72548 # Append the text in VALUE to the end of the definition contained in VAR. Take
72549 # advantage of any shell optimizations that allow amortized linear growth over
72550 # repeated appends, instead of the typical quadratic growth present in naive
72551 # implementations.
72552 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72553 eval 'as_fn_append ()
72555 eval $1+=\$2
72557 else
72558 as_fn_append ()
72560 eval $1=\$$1\$2
72562 fi # as_fn_append
72564 # as_fn_arith ARG...
72565 # ------------------
72566 # Perform arithmetic evaluation on the ARGs, and store the result in the
72567 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72568 # must be portable across $(()) and expr.
72569 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72570 eval 'as_fn_arith ()
72572 as_val=$(( $* ))
72574 else
72575 as_fn_arith ()
72577 as_val=`expr "$@" || test $? -eq 1`
72579 fi # as_fn_arith
72582 if expr a : '\(a\)' >/dev/null 2>&1 &&
72583 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72584 as_expr=expr
72585 else
72586 as_expr=false
72589 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72590 as_basename=basename
72591 else
72592 as_basename=false
72595 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72596 as_dirname=dirname
72597 else
72598 as_dirname=false
72601 as_me=`$as_basename -- "$0" ||
72602 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72603 X"$0" : 'X\(//\)$' \| \
72604 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72605 $as_echo X/"$0" |
72606 sed '/^.*\/\([^/][^/]*\)\/*$/{
72607 s//\1/
72610 /^X\/\(\/\/\)$/{
72611 s//\1/
72614 /^X\/\(\/\).*/{
72615 s//\1/
72618 s/.*/./; q'`
72620 # Avoid depending upon Character Ranges.
72621 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72622 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72623 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72624 as_cr_digits='0123456789'
72625 as_cr_alnum=$as_cr_Letters$as_cr_digits
72627 ECHO_C= ECHO_N= ECHO_T=
72628 case `echo -n x` in #(((((
72629 -n*)
72630 case `echo 'xy\c'` in
72631 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72632 xy) ECHO_C='\c';;
72633 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72634 ECHO_T=' ';;
72635 esac;;
72637 ECHO_N='-n';;
72638 esac
72640 rm -f conf$$ conf$$.exe conf$$.file
72641 if test -d conf$$.dir; then
72642 rm -f conf$$.dir/conf$$.file
72643 else
72644 rm -f conf$$.dir
72645 mkdir conf$$.dir 2>/dev/null
72647 if (echo >conf$$.file) 2>/dev/null; then
72648 if ln -s conf$$.file conf$$ 2>/dev/null; then
72649 as_ln_s='ln -s'
72650 # ... but there are two gotchas:
72651 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72652 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72653 # In both cases, we have to default to `cp -p'.
72654 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72655 as_ln_s='cp -p'
72656 elif ln conf$$.file conf$$ 2>/dev/null; then
72657 as_ln_s=ln
72658 else
72659 as_ln_s='cp -p'
72661 else
72662 as_ln_s='cp -p'
72664 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72665 rmdir conf$$.dir 2>/dev/null
72668 # as_fn_mkdir_p
72669 # -------------
72670 # Create "$as_dir" as a directory, including parents if necessary.
72671 as_fn_mkdir_p ()
72674 case $as_dir in #(
72675 -*) as_dir=./$as_dir;;
72676 esac
72677 test -d "$as_dir" || eval $as_mkdir_p || {
72678 as_dirs=
72679 while :; do
72680 case $as_dir in #(
72681 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72682 *) as_qdir=$as_dir;;
72683 esac
72684 as_dirs="'$as_qdir' $as_dirs"
72685 as_dir=`$as_dirname -- "$as_dir" ||
72686 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72687 X"$as_dir" : 'X\(//\)[^/]' \| \
72688 X"$as_dir" : 'X\(//\)$' \| \
72689 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72690 $as_echo X"$as_dir" |
72691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72692 s//\1/
72695 /^X\(\/\/\)[^/].*/{
72696 s//\1/
72699 /^X\(\/\/\)$/{
72700 s//\1/
72703 /^X\(\/\).*/{
72704 s//\1/
72707 s/.*/./; q'`
72708 test -d "$as_dir" && break
72709 done
72710 test -z "$as_dirs" || eval "mkdir $as_dirs"
72711 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72714 } # as_fn_mkdir_p
72715 if mkdir -p . 2>/dev/null; then
72716 as_mkdir_p='mkdir -p "$as_dir"'
72717 else
72718 test -d ./-p && rmdir ./-p
72719 as_mkdir_p=false
72722 if test -x / >/dev/null 2>&1; then
72723 as_test_x='test -x'
72724 else
72725 if ls -dL / >/dev/null 2>&1; then
72726 as_ls_L_option=L
72727 else
72728 as_ls_L_option=
72730 as_test_x='
72731 eval sh -c '\''
72732 if test -d "$1"; then
72733 test -d "$1/.";
72734 else
72735 case $1 in #(
72736 -*)set "./$1";;
72737 esac;
72738 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72739 ???[sx]*):;;*)false;;esac;fi
72740 '\'' sh
72743 as_executable_p=$as_test_x
72745 # Sed expression to map a string onto a valid CPP name.
72746 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72748 # Sed expression to map a string onto a valid variable name.
72749 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72752 exec 6>&1
72753 ## ----------------------------------- ##
72754 ## Main body of $CONFIG_STATUS script. ##
72755 ## ----------------------------------- ##
72756 _ASEOF
72757 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72760 # Save the log message, to keep $0 and so on meaningful, and to
72761 # report actual input values of CONFIG_FILES etc. instead of their
72762 # values after options handling.
72763 ac_log="
72764 This file was extended by package-unused $as_me version-unused, which was
72765 generated by GNU Autoconf 2.64. Invocation command line was
72767 CONFIG_FILES = $CONFIG_FILES
72768 CONFIG_HEADERS = $CONFIG_HEADERS
72769 CONFIG_LINKS = $CONFIG_LINKS
72770 CONFIG_COMMANDS = $CONFIG_COMMANDS
72771 $ $0 $@
72773 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72776 _ACEOF
72778 case $ac_config_files in *"
72779 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72780 esac
72782 case $ac_config_headers in *"
72783 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72784 esac
72787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72788 # Files that config.status was made for.
72789 config_files="$ac_config_files"
72790 config_headers="$ac_config_headers"
72791 config_commands="$ac_config_commands"
72793 _ACEOF
72795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72796 ac_cs_usage="\
72797 \`$as_me' instantiates files and other configuration actions
72798 from templates according to the current configuration. Unless the files
72799 and actions are specified as TAGs, all are instantiated by default.
72801 Usage: $0 [OPTION]... [TAG]...
72803 -h, --help print this help, then exit
72804 -V, --version print version number and configuration settings, then exit
72805 -q, --quiet, --silent
72806 do not print progress messages
72807 -d, --debug don't remove temporary files
72808 --recheck update $as_me by reconfiguring in the same conditions
72809 --file=FILE[:TEMPLATE]
72810 instantiate the configuration file FILE
72811 --header=FILE[:TEMPLATE]
72812 instantiate the configuration header FILE
72814 Configuration files:
72815 $config_files
72817 Configuration headers:
72818 $config_headers
72820 Configuration commands:
72821 $config_commands
72823 Report bugs to the package provider."
72825 _ACEOF
72826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72827 ac_cs_version="\\
72828 package-unused config.status version-unused
72829 configured by $0, generated by GNU Autoconf 2.64,
72830 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72832 Copyright (C) 2009 Free Software Foundation, Inc.
72833 This config.status script is free software; the Free Software Foundation
72834 gives unlimited permission to copy, distribute and modify it."
72836 ac_pwd='$ac_pwd'
72837 srcdir='$srcdir'
72838 INSTALL='$INSTALL'
72839 MKDIR_P='$MKDIR_P'
72840 AWK='$AWK'
72841 test -n "\$AWK" || AWK=awk
72842 _ACEOF
72844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72845 # The default lists apply if the user does not specify any file.
72846 ac_need_defaults=:
72847 while test $# != 0
72849 case $1 in
72850 --*=*)
72851 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72852 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72853 ac_shift=:
72856 ac_option=$1
72857 ac_optarg=$2
72858 ac_shift=shift
72860 esac
72862 case $ac_option in
72863 # Handling of the options.
72864 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72865 ac_cs_recheck=: ;;
72866 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72867 $as_echo "$ac_cs_version"; exit ;;
72868 --debug | --debu | --deb | --de | --d | -d )
72869 debug=: ;;
72870 --file | --fil | --fi | --f )
72871 $ac_shift
72872 case $ac_optarg in
72873 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72874 esac
72875 as_fn_append CONFIG_FILES " '$ac_optarg'"
72876 ac_need_defaults=false;;
72877 --header | --heade | --head | --hea )
72878 $ac_shift
72879 case $ac_optarg in
72880 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72881 esac
72882 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72883 ac_need_defaults=false;;
72884 --he | --h)
72885 # Conflict between --help and --header
72886 as_fn_error "ambiguous option: \`$1'
72887 Try \`$0 --help' for more information.";;
72888 --help | --hel | -h )
72889 $as_echo "$ac_cs_usage"; exit ;;
72890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72891 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72892 ac_cs_silent=: ;;
72894 # This is an error.
72895 -*) as_fn_error "unrecognized option: \`$1'
72896 Try \`$0 --help' for more information." ;;
72898 *) as_fn_append ac_config_targets " $1"
72899 ac_need_defaults=false ;;
72901 esac
72902 shift
72903 done
72905 ac_configure_extra_args=
72907 if $ac_cs_silent; then
72908 exec 6>/dev/null
72909 ac_configure_extra_args="$ac_configure_extra_args --silent"
72912 _ACEOF
72913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72914 if \$ac_cs_recheck; then
72915 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72916 shift
72917 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72918 CONFIG_SHELL='$SHELL'
72919 export CONFIG_SHELL
72920 exec "\$@"
72923 _ACEOF
72924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72925 exec 5>>config.log
72927 echo
72928 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72929 ## Running $as_me. ##
72930 _ASBOX
72931 $as_echo "$ac_log"
72932 } >&5
72934 _ACEOF
72935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72937 # INIT-COMMANDS
72940 srcdir="$srcdir"
72941 host="$host"
72942 target="$target"
72943 with_multisubdir="$with_multisubdir"
72944 with_multisrctop="$with_multisrctop"
72945 with_target_subdir="$with_target_subdir"
72946 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72947 multi_basedir="$multi_basedir"
72948 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72949 CC="$CC"
72950 CXX="$CXX"
72951 GFORTRAN="$GFORTRAN"
72952 GCJ="$GCJ"
72955 # The HP-UX ksh and POSIX shell print the target directory to stdout
72956 # if CDPATH is set.
72957 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72959 sed_quote_subst='$sed_quote_subst'
72960 double_quote_subst='$double_quote_subst'
72961 delay_variable_subst='$delay_variable_subst'
72962 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72963 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72964 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72965 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72966 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72967 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72968 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72969 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72970 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72971 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72972 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72973 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72974 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72975 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72976 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72977 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72978 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72979 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72980 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72981 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72982 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72983 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72984 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72985 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72986 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72987 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72988 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72989 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72990 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72991 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72992 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72993 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72994 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72995 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72996 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72997 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72998 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72999 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73000 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73001 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
73002 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
73003 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
73004 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
73005 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
73006 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
73007 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
73008 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
73009 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
73010 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"`'
73011 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
73012 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
73013 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
73014 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
73015 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
73016 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
73017 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
73018 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
73019 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
73020 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
73021 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
73022 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
73023 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
73024 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
73025 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
73026 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73027 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
73028 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
73029 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
73030 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
73031 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
73032 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
73033 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73034 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
73035 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73036 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
73037 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73038 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
73039 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
73040 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
73041 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
73042 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
73043 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
73044 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
73045 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
73046 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
73047 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
73048 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
73049 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
73050 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
73051 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
73052 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
73053 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
73054 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
73055 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
73056 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
73057 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
73058 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
73059 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
73060 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
73061 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
73062 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
73063 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
73064 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
73065 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
73066 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
73067 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
73068 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
73069 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73070 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73071 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
73072 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
73073 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
73074 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
73075 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
73076 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
73077 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
73078 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
73079 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
73080 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
73081 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
73082 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
73083 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
73084 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
73085 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
73086 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
73087 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
73088 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
73089 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
73090 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73091 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73092 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
73093 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
73094 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
73095 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
73096 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
73097 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
73098 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73099 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73100 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73101 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73102 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73103 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73104 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73105 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73106 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73107 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73108 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73109 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73110 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73111 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73112 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73113 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73114 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73115 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73116 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73117 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73118 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73119 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73120 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73121 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73122 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73123 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73124 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73125 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73126 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73127 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73128 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73129 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73130 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73131 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73132 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73133 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73134 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73135 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73136 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73138 LTCC='$LTCC'
73139 LTCFLAGS='$LTCFLAGS'
73140 compiler='$compiler_DEFAULT'
73142 # A function that is used when there is no print builtin or printf.
73143 func_fallback_echo ()
73145 eval 'cat <<_LTECHO_EOF
73147 _LTECHO_EOF'
73150 # Quote evaled strings.
73151 for var in SHELL \
73152 ECHO \
73153 SED \
73154 GREP \
73155 EGREP \
73156 FGREP \
73157 LD \
73158 NM \
73159 LN_S \
73160 lt_SP2NL \
73161 lt_NL2SP \
73162 reload_flag \
73163 OBJDUMP \
73164 deplibs_check_method \
73165 file_magic_cmd \
73166 AR \
73167 AR_FLAGS \
73168 STRIP \
73169 RANLIB \
73170 CC \
73171 CFLAGS \
73172 compiler \
73173 lt_cv_sys_global_symbol_pipe \
73174 lt_cv_sys_global_symbol_to_cdecl \
73175 lt_cv_sys_global_symbol_to_c_name_address \
73176 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73177 lt_prog_compiler_no_builtin_flag \
73178 lt_prog_compiler_wl \
73179 lt_prog_compiler_pic \
73180 lt_prog_compiler_static \
73181 lt_cv_prog_compiler_c_o \
73182 need_locks \
73183 DSYMUTIL \
73184 NMEDIT \
73185 LIPO \
73186 OTOOL \
73187 OTOOL64 \
73188 shrext_cmds \
73189 export_dynamic_flag_spec \
73190 whole_archive_flag_spec \
73191 compiler_needs_object \
73192 with_gnu_ld \
73193 allow_undefined_flag \
73194 no_undefined_flag \
73195 hardcode_libdir_flag_spec \
73196 hardcode_libdir_flag_spec_ld \
73197 hardcode_libdir_separator \
73198 fix_srcfile_path \
73199 exclude_expsyms \
73200 include_expsyms \
73201 file_list_spec \
73202 variables_saved_for_relink \
73203 libname_spec \
73204 library_names_spec \
73205 soname_spec \
73206 install_override_mode \
73207 finish_eval \
73208 old_striplib \
73209 striplib \
73210 compiler_lib_search_dirs \
73211 predep_objects \
73212 postdep_objects \
73213 predeps \
73214 postdeps \
73215 compiler_lib_search_path \
73216 LD_CXX \
73217 reload_flag_CXX \
73218 compiler_CXX \
73219 lt_prog_compiler_no_builtin_flag_CXX \
73220 lt_prog_compiler_wl_CXX \
73221 lt_prog_compiler_pic_CXX \
73222 lt_prog_compiler_static_CXX \
73223 lt_cv_prog_compiler_c_o_CXX \
73224 export_dynamic_flag_spec_CXX \
73225 whole_archive_flag_spec_CXX \
73226 compiler_needs_object_CXX \
73227 with_gnu_ld_CXX \
73228 allow_undefined_flag_CXX \
73229 no_undefined_flag_CXX \
73230 hardcode_libdir_flag_spec_CXX \
73231 hardcode_libdir_flag_spec_ld_CXX \
73232 hardcode_libdir_separator_CXX \
73233 fix_srcfile_path_CXX \
73234 exclude_expsyms_CXX \
73235 include_expsyms_CXX \
73236 file_list_spec_CXX \
73237 compiler_lib_search_dirs_CXX \
73238 predep_objects_CXX \
73239 postdep_objects_CXX \
73240 predeps_CXX \
73241 postdeps_CXX \
73242 compiler_lib_search_path_CXX; do
73243 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73244 *[\\\\\\\`\\"\\\$]*)
73245 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73248 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73250 esac
73251 done
73253 # Double-quote double-evaled strings.
73254 for var in reload_cmds \
73255 old_postinstall_cmds \
73256 old_postuninstall_cmds \
73257 old_archive_cmds \
73258 extract_expsyms_cmds \
73259 old_archive_from_new_cmds \
73260 old_archive_from_expsyms_cmds \
73261 archive_cmds \
73262 archive_expsym_cmds \
73263 module_cmds \
73264 module_expsym_cmds \
73265 export_symbols_cmds \
73266 prelink_cmds \
73267 postinstall_cmds \
73268 postuninstall_cmds \
73269 finish_cmds \
73270 sys_lib_search_path_spec \
73271 sys_lib_dlsearch_path_spec \
73272 reload_cmds_CXX \
73273 old_archive_cmds_CXX \
73274 old_archive_from_new_cmds_CXX \
73275 old_archive_from_expsyms_cmds_CXX \
73276 archive_cmds_CXX \
73277 archive_expsym_cmds_CXX \
73278 module_cmds_CXX \
73279 module_expsym_cmds_CXX \
73280 export_symbols_cmds_CXX \
73281 prelink_cmds_CXX; do
73282 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73283 *[\\\\\\\`\\"\\\$]*)
73284 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73287 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73289 esac
73290 done
73292 ac_aux_dir='$ac_aux_dir'
73293 xsi_shell='$xsi_shell'
73294 lt_shell_append='$lt_shell_append'
73296 # See if we are running on zsh, and set the options which allow our
73297 # commands through without removal of \ escapes INIT.
73298 if test -n "\${ZSH_VERSION+set}" ; then
73299 setopt NO_GLOB_SUBST
73303 PACKAGE='$PACKAGE'
73304 VERSION='$VERSION'
73305 TIMESTAMP='$TIMESTAMP'
73306 RM='$RM'
73307 ofile='$ofile'
73314 GCC="$GCC"
73315 CC="$CC"
73316 acx_cv_header_stdint="$acx_cv_header_stdint"
73317 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73318 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73319 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73320 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73321 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73322 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73323 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73324 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73325 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73326 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73327 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73328 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73329 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73332 _ACEOF
73334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73336 # Handling of arguments.
73337 for ac_config_target in $ac_config_targets
73339 case $ac_config_target in
73340 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73341 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73342 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73343 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73344 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73345 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73346 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73347 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73348 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73349 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73350 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73351 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73352 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73353 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73354 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73355 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73356 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73357 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73359 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73360 esac
73361 done
73364 # If the user did not use the arguments to specify the items to instantiate,
73365 # then the envvar interface is used. Set only those that are not.
73366 # We use the long form for the default assignment because of an extremely
73367 # bizarre bug on SunOS 4.1.3.
73368 if $ac_need_defaults; then
73369 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73370 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73371 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73374 # Have a temporary directory for convenience. Make it in the build tree
73375 # simply because there is no reason against having it here, and in addition,
73376 # creating and moving files from /tmp can sometimes cause problems.
73377 # Hook for its removal unless debugging.
73378 # Note that there is a small window in which the directory will not be cleaned:
73379 # after its creation but before its name has been assigned to `$tmp'.
73380 $debug ||
73382 tmp=
73383 trap 'exit_status=$?
73384 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73386 trap 'as_fn_exit 1' 1 2 13 15
73388 # Create a (secure) tmp directory for tmp files.
73391 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73392 test -n "$tmp" && test -d "$tmp"
73393 } ||
73395 tmp=./conf$$-$RANDOM
73396 (umask 077 && mkdir "$tmp")
73397 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73399 # Set up the scripts for CONFIG_FILES section.
73400 # No need to generate them if there are no CONFIG_FILES.
73401 # This happens for instance with `./config.status config.h'.
73402 if test -n "$CONFIG_FILES"; then
73405 ac_cr=`echo X | tr X '\015'`
73406 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73407 # But we know of no other shell where ac_cr would be empty at this
73408 # point, so we can use a bashism as a fallback.
73409 if test "x$ac_cr" = x; then
73410 eval ac_cr=\$\'\\r\'
73412 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73413 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73414 ac_cs_awk_cr='\r'
73415 else
73416 ac_cs_awk_cr=$ac_cr
73419 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73420 _ACEOF
73424 echo "cat >conf$$subs.awk <<_ACEOF" &&
73425 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73426 echo "_ACEOF"
73427 } >conf$$subs.sh ||
73428 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73429 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73430 ac_delim='%!_!# '
73431 for ac_last_try in false false false false false :; do
73432 . ./conf$$subs.sh ||
73433 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73435 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73436 if test $ac_delim_n = $ac_delim_num; then
73437 break
73438 elif $ac_last_try; then
73439 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73440 else
73441 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73443 done
73444 rm -f conf$$subs.sh
73446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73447 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73448 _ACEOF
73449 sed -n '
73451 s/^/S["/; s/!.*/"]=/
73454 s/^[^!]*!//
73455 :repl
73456 t repl
73457 s/'"$ac_delim"'$//
73458 t delim
73461 s/\(.\{148\}\).*/\1/
73462 t more1
73463 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73466 b repl
73467 :more1
73468 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73471 s/.\{148\}//
73472 t nl
73473 :delim
73475 s/\(.\{148\}\).*/\1/
73476 t more2
73477 s/["\\]/\\&/g; s/^/"/; s/$/"/
73480 :more2
73481 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73484 s/.\{148\}//
73485 t delim
73486 ' <conf$$subs.awk | sed '
73487 /^[^""]/{
73489 s/\n//
73491 ' >>$CONFIG_STATUS || ac_write_fail=1
73492 rm -f conf$$subs.awk
73493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73494 _ACAWK
73495 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73496 for (key in S) S_is_set[key] = 1
73497 FS = "\a"
73501 line = $ 0
73502 nfields = split(line, field, "@")
73503 substed = 0
73504 len = length(field[1])
73505 for (i = 2; i < nfields; i++) {
73506 key = field[i]
73507 keylen = length(key)
73508 if (S_is_set[key]) {
73509 value = S[key]
73510 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73511 len += length(value) + length(field[++i])
73512 substed = 1
73513 } else
73514 len += 1 + keylen
73517 print line
73520 _ACAWK
73521 _ACEOF
73522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73523 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73524 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73525 else
73527 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73528 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73529 _ACEOF
73531 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73532 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73533 # trailing colons and then remove the whole line if VPATH becomes empty
73534 # (actually we leave an empty line to preserve line numbers).
73535 if test "x$srcdir" = x.; then
73536 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73537 s/:*\$(srcdir):*/:/
73538 s/:*\${srcdir}:*/:/
73539 s/:*@srcdir@:*/:/
73540 s/^\([^=]*=[ ]*\):*/\1/
73541 s/:*$//
73542 s/^[^=]*=[ ]*$//
73546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73547 fi # test -n "$CONFIG_FILES"
73549 # Set up the scripts for CONFIG_HEADERS section.
73550 # No need to generate them if there are no CONFIG_HEADERS.
73551 # This happens for instance with `./config.status Makefile'.
73552 if test -n "$CONFIG_HEADERS"; then
73553 cat >"$tmp/defines.awk" <<\_ACAWK ||
73554 BEGIN {
73555 _ACEOF
73557 # Transform confdefs.h into an awk script `defines.awk', embedded as
73558 # here-document in config.status, that substitutes the proper values into
73559 # config.h.in to produce config.h.
73561 # Create a delimiter string that does not exist in confdefs.h, to ease
73562 # handling of long lines.
73563 ac_delim='%!_!# '
73564 for ac_last_try in false false :; do
73565 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73566 if test -z "$ac_t"; then
73567 break
73568 elif $ac_last_try; then
73569 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73570 else
73571 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73573 done
73575 # For the awk script, D is an array of macro values keyed by name,
73576 # likewise P contains macro parameters if any. Preserve backslash
73577 # newline sequences.
73579 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73580 sed -n '
73581 s/.\{148\}/&'"$ac_delim"'/g
73582 t rset
73583 :rset
73584 s/^[ ]*#[ ]*define[ ][ ]*/ /
73585 t def
73587 :def
73588 s/\\$//
73589 t bsnl
73590 s/["\\]/\\&/g
73591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73592 D["\1"]=" \3"/p
73593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73595 :bsnl
73596 s/["\\]/\\&/g
73597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73598 D["\1"]=" \3\\\\\\n"\\/p
73599 t cont
73600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73601 t cont
73603 :cont
73605 s/.\{148\}/&'"$ac_delim"'/g
73606 t clear
73607 :clear
73608 s/\\$//
73609 t bsnlc
73610 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73612 :bsnlc
73613 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73614 b cont
73615 ' <confdefs.h | sed '
73616 s/'"$ac_delim"'/"\\\
73617 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73620 for (key in D) D_is_set[key] = 1
73621 FS = "\a"
73623 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73624 line = \$ 0
73625 split(line, arg, " ")
73626 if (arg[1] == "#") {
73627 defundef = arg[2]
73628 mac1 = arg[3]
73629 } else {
73630 defundef = substr(arg[1], 2)
73631 mac1 = arg[2]
73633 split(mac1, mac2, "(") #)
73634 macro = mac2[1]
73635 prefix = substr(line, 1, index(line, defundef) - 1)
73636 if (D_is_set[macro]) {
73637 # Preserve the white space surrounding the "#".
73638 print prefix "define", macro P[macro] D[macro]
73639 next
73640 } else {
73641 # Replace #undef with comments. This is necessary, for example,
73642 # in the case of _POSIX_SOURCE, which is predefined and required
73643 # on some systems where configure will not decide to define it.
73644 if (defundef == "undef") {
73645 print "/*", prefix defundef, macro, "*/"
73646 next
73650 { print }
73651 _ACAWK
73652 _ACEOF
73653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73654 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73655 fi # test -n "$CONFIG_HEADERS"
73658 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73659 shift
73660 for ac_tag
73662 case $ac_tag in
73663 :[FHLC]) ac_mode=$ac_tag; continue;;
73664 esac
73665 case $ac_mode$ac_tag in
73666 :[FHL]*:*);;
73667 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73668 :[FH]-) ac_tag=-:-;;
73669 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73670 esac
73671 ac_save_IFS=$IFS
73672 IFS=:
73673 set x $ac_tag
73674 IFS=$ac_save_IFS
73675 shift
73676 ac_file=$1
73677 shift
73679 case $ac_mode in
73680 :L) ac_source=$1;;
73681 :[FH])
73682 ac_file_inputs=
73683 for ac_f
73685 case $ac_f in
73686 -) ac_f="$tmp/stdin";;
73687 *) # Look for the file first in the build tree, then in the source tree
73688 # (if the path is not absolute). The absolute path cannot be DOS-style,
73689 # because $ac_f cannot contain `:'.
73690 test -f "$ac_f" ||
73691 case $ac_f in
73692 [\\/$]*) false;;
73693 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73694 esac ||
73695 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73696 esac
73697 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73698 as_fn_append ac_file_inputs " '$ac_f'"
73699 done
73701 # Let's still pretend it is `configure' which instantiates (i.e., don't
73702 # use $as_me), people would be surprised to read:
73703 # /* config.h. Generated by config.status. */
73704 configure_input='Generated from '`
73705 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73706 `' by configure.'
73707 if test x"$ac_file" != x-; then
73708 configure_input="$ac_file. $configure_input"
73709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73710 $as_echo "$as_me: creating $ac_file" >&6;}
73712 # Neutralize special characters interpreted by sed in replacement strings.
73713 case $configure_input in #(
73714 *\&* | *\|* | *\\* )
73715 ac_sed_conf_input=`$as_echo "$configure_input" |
73716 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73717 *) ac_sed_conf_input=$configure_input;;
73718 esac
73720 case $ac_tag in
73721 *:-:* | *:-) cat >"$tmp/stdin" \
73722 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73723 esac
73725 esac
73727 ac_dir=`$as_dirname -- "$ac_file" ||
73728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73729 X"$ac_file" : 'X\(//\)[^/]' \| \
73730 X"$ac_file" : 'X\(//\)$' \| \
73731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73732 $as_echo X"$ac_file" |
73733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73734 s//\1/
73737 /^X\(\/\/\)[^/].*/{
73738 s//\1/
73741 /^X\(\/\/\)$/{
73742 s//\1/
73745 /^X\(\/\).*/{
73746 s//\1/
73749 s/.*/./; q'`
73750 as_dir="$ac_dir"; as_fn_mkdir_p
73751 ac_builddir=.
73753 case "$ac_dir" in
73754 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73756 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73757 # A ".." for each directory in $ac_dir_suffix.
73758 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73759 case $ac_top_builddir_sub in
73760 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73761 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73762 esac ;;
73763 esac
73764 ac_abs_top_builddir=$ac_pwd
73765 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73766 # for backward compatibility:
73767 ac_top_builddir=$ac_top_build_prefix
73769 case $srcdir in
73770 .) # We are building in place.
73771 ac_srcdir=.
73772 ac_top_srcdir=$ac_top_builddir_sub
73773 ac_abs_top_srcdir=$ac_pwd ;;
73774 [\\/]* | ?:[\\/]* ) # Absolute name.
73775 ac_srcdir=$srcdir$ac_dir_suffix;
73776 ac_top_srcdir=$srcdir
73777 ac_abs_top_srcdir=$srcdir ;;
73778 *) # Relative name.
73779 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73780 ac_top_srcdir=$ac_top_build_prefix$srcdir
73781 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73782 esac
73783 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73786 case $ac_mode in
73789 # CONFIG_FILE
73792 case $INSTALL in
73793 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73794 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73795 esac
73796 ac_MKDIR_P=$MKDIR_P
73797 case $MKDIR_P in
73798 [\\/$]* | ?:[\\/]* ) ;;
73799 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73800 esac
73801 _ACEOF
73803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73804 # If the template does not know about datarootdir, expand it.
73805 # FIXME: This hack should be removed a few years after 2.60.
73806 ac_datarootdir_hack=; ac_datarootdir_seen=
73807 ac_sed_dataroot='
73808 /datarootdir/ {
73812 /@datadir@/p
73813 /@docdir@/p
73814 /@infodir@/p
73815 /@localedir@/p
73816 /@mandir@/p'
73817 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73818 *datarootdir*) ac_datarootdir_seen=yes;;
73819 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73821 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73822 _ACEOF
73823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73824 ac_datarootdir_hack='
73825 s&@datadir@&$datadir&g
73826 s&@docdir@&$docdir&g
73827 s&@infodir@&$infodir&g
73828 s&@localedir@&$localedir&g
73829 s&@mandir@&$mandir&g
73830 s&\\\${datarootdir}&$datarootdir&g' ;;
73831 esac
73832 _ACEOF
73834 # Neutralize VPATH when `$srcdir' = `.'.
73835 # Shell code in configure.ac might set extrasub.
73836 # FIXME: do we really want to maintain this feature?
73837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73838 ac_sed_extra="$ac_vpsub
73839 $extrasub
73840 _ACEOF
73841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73844 s|@configure_input@|$ac_sed_conf_input|;t t
73845 s&@top_builddir@&$ac_top_builddir_sub&;t t
73846 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73847 s&@srcdir@&$ac_srcdir&;t t
73848 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73849 s&@top_srcdir@&$ac_top_srcdir&;t t
73850 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73851 s&@builddir@&$ac_builddir&;t t
73852 s&@abs_builddir@&$ac_abs_builddir&;t t
73853 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73854 s&@INSTALL@&$ac_INSTALL&;t t
73855 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73856 $ac_datarootdir_hack
73858 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73859 || as_fn_error "could not create $ac_file" "$LINENO" 5
73861 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73862 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73863 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73865 which seems to be undefined. Please make sure it is defined." >&5
73866 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73867 which seems to be undefined. Please make sure it is defined." >&2;}
73869 rm -f "$tmp/stdin"
73870 case $ac_file in
73871 -) cat "$tmp/out" && rm -f "$tmp/out";;
73872 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73873 esac \
73874 || as_fn_error "could not create $ac_file" "$LINENO" 5
73878 # CONFIG_HEADER
73880 if test x"$ac_file" != x-; then
73882 $as_echo "/* $configure_input */" \
73883 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73884 } >"$tmp/config.h" \
73885 || as_fn_error "could not create $ac_file" "$LINENO" 5
73886 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73887 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73888 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73889 else
73890 rm -f "$ac_file"
73891 mv "$tmp/config.h" "$ac_file" \
73892 || as_fn_error "could not create $ac_file" "$LINENO" 5
73894 else
73895 $as_echo "/* $configure_input */" \
73896 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73897 || as_fn_error "could not create -" "$LINENO" 5
73899 # Compute "$ac_file"'s index in $config_headers.
73900 _am_arg="$ac_file"
73901 _am_stamp_count=1
73902 for _am_header in $config_headers :; do
73903 case $_am_header in
73904 $_am_arg | $_am_arg:* )
73905 break ;;
73907 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73908 esac
73909 done
73910 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73911 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73912 X"$_am_arg" : 'X\(//\)[^/]' \| \
73913 X"$_am_arg" : 'X\(//\)$' \| \
73914 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73915 $as_echo X"$_am_arg" |
73916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73917 s//\1/
73920 /^X\(\/\/\)[^/].*/{
73921 s//\1/
73924 /^X\(\/\/\)$/{
73925 s//\1/
73928 /^X\(\/\).*/{
73929 s//\1/
73932 s/.*/./; q'`/stamp-h$_am_stamp_count
73935 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73936 $as_echo "$as_me: executing $ac_file commands" >&6;}
73938 esac
73941 case $ac_file$ac_mode in
73942 "default-1":C)
73943 # Only add multilib support code if we just rebuilt the top-level
73944 # Makefile.
73945 case " $CONFIG_FILES " in
73946 *" Makefile "*)
73947 ac_file=Makefile . ${multi_basedir}/config-ml.in
73949 esac ;;
73950 "libtool":C)
73952 # See if we are running on zsh, and set the options which allow our
73953 # commands through without removal of \ escapes.
73954 if test -n "${ZSH_VERSION+set}" ; then
73955 setopt NO_GLOB_SUBST
73958 cfgfile="${ofile}T"
73959 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73960 $RM "$cfgfile"
73962 cat <<_LT_EOF >> "$cfgfile"
73963 #! $SHELL
73965 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73966 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73967 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73968 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73970 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73971 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73972 # Written by Gordon Matzigkeit, 1996
73974 # This file is part of GNU Libtool.
73976 # GNU Libtool is free software; you can redistribute it and/or
73977 # modify it under the terms of the GNU General Public License as
73978 # published by the Free Software Foundation; either version 2 of
73979 # the License, or (at your option) any later version.
73981 # As a special exception to the GNU General Public License,
73982 # if you distribute this file as part of a program or library that
73983 # is built using GNU Libtool, you may include this file under the
73984 # same distribution terms that you use for the rest of that program.
73986 # GNU Libtool is distributed in the hope that it will be useful,
73987 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73988 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73989 # GNU General Public License for more details.
73991 # You should have received a copy of the GNU General Public License
73992 # along with GNU Libtool; see the file COPYING. If not, a copy
73993 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73994 # obtained by writing to the Free Software Foundation, Inc.,
73995 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73998 # The names of the tagged configurations supported by this script.
73999 available_tags="CXX "
74001 # ### BEGIN LIBTOOL CONFIG
74003 # Which release of libtool.m4 was used?
74004 macro_version=$macro_version
74005 macro_revision=$macro_revision
74007 # Whether or not to build shared libraries.
74008 build_libtool_libs=$enable_shared
74010 # Whether or not to build static libraries.
74011 build_old_libs=$enable_static
74013 # What type of objects to build.
74014 pic_mode=$pic_mode
74016 # Whether or not to optimize for fast installation.
74017 fast_install=$enable_fast_install
74019 # Shell to use when invoking shell scripts.
74020 SHELL=$lt_SHELL
74022 # An echo program that protects backslashes.
74023 ECHO=$lt_ECHO
74025 # The host system.
74026 host_alias=$host_alias
74027 host=$host
74028 host_os=$host_os
74030 # The build system.
74031 build_alias=$build_alias
74032 build=$build
74033 build_os=$build_os
74035 # A sed program that does not truncate output.
74036 SED=$lt_SED
74038 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
74039 Xsed="\$SED -e 1s/^X//"
74041 # A grep program that handles long lines.
74042 GREP=$lt_GREP
74044 # An ERE matcher.
74045 EGREP=$lt_EGREP
74047 # A literal string matcher.
74048 FGREP=$lt_FGREP
74050 # A BSD- or MS-compatible name lister.
74051 NM=$lt_NM
74053 # Whether we need soft or hard links.
74054 LN_S=$lt_LN_S
74056 # What is the maximum length of a command?
74057 max_cmd_len=$max_cmd_len
74059 # Object file suffix (normally "o").
74060 objext=$ac_objext
74062 # Executable file suffix (normally "").
74063 exeext=$exeext
74065 # whether the shell understands "unset".
74066 lt_unset=$lt_unset
74068 # turn spaces into newlines.
74069 SP2NL=$lt_lt_SP2NL
74071 # turn newlines into spaces.
74072 NL2SP=$lt_lt_NL2SP
74074 # An object symbol dumper.
74075 OBJDUMP=$lt_OBJDUMP
74077 # Method to check whether dependent libraries are shared objects.
74078 deplibs_check_method=$lt_deplibs_check_method
74080 # Command to use when deplibs_check_method == "file_magic".
74081 file_magic_cmd=$lt_file_magic_cmd
74083 # The archiver.
74084 AR=$lt_AR
74085 AR_FLAGS=$lt_AR_FLAGS
74087 # A symbol stripping program.
74088 STRIP=$lt_STRIP
74090 # Commands used to install an old-style archive.
74091 RANLIB=$lt_RANLIB
74092 old_postinstall_cmds=$lt_old_postinstall_cmds
74093 old_postuninstall_cmds=$lt_old_postuninstall_cmds
74095 # Whether to use a lock for old archive extraction.
74096 lock_old_archive_extraction=$lock_old_archive_extraction
74098 # A C compiler.
74099 LTCC=$lt_CC
74101 # LTCC compiler flags.
74102 LTCFLAGS=$lt_CFLAGS
74104 # Take the output of nm and produce a listing of raw symbols and C names.
74105 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
74107 # Transform the output of nm in a proper C declaration.
74108 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74110 # Transform the output of nm in a C name address pair.
74111 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74113 # Transform the output of nm in a C name address pair when lib prefix is needed.
74114 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74116 # The name of the directory that contains temporary libtool files.
74117 objdir=$objdir
74119 # Used to examine libraries when file_magic_cmd begins with "file".
74120 MAGIC_CMD=$MAGIC_CMD
74122 # Must we lock files when doing compilation?
74123 need_locks=$lt_need_locks
74125 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74126 DSYMUTIL=$lt_DSYMUTIL
74128 # Tool to change global to local symbols on Mac OS X.
74129 NMEDIT=$lt_NMEDIT
74131 # Tool to manipulate fat objects and archives on Mac OS X.
74132 LIPO=$lt_LIPO
74134 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74135 OTOOL=$lt_OTOOL
74137 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74138 OTOOL64=$lt_OTOOL64
74140 # Old archive suffix (normally "a").
74141 libext=$libext
74143 # Shared library suffix (normally ".so").
74144 shrext_cmds=$lt_shrext_cmds
74146 # The commands to extract the exported symbol list from a shared archive.
74147 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74149 # Variables whose values should be saved in libtool wrapper scripts and
74150 # restored at link time.
74151 variables_saved_for_relink=$lt_variables_saved_for_relink
74153 # Do we need the "lib" prefix for modules?
74154 need_lib_prefix=$need_lib_prefix
74156 # Do we need a version for libraries?
74157 need_version=$need_version
74159 # Library versioning type.
74160 version_type=$version_type
74162 # Shared library runtime path variable.
74163 runpath_var=$runpath_var
74165 # Shared library path variable.
74166 shlibpath_var=$shlibpath_var
74168 # Is shlibpath searched before the hard-coded library search path?
74169 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74171 # Format of library name prefix.
74172 libname_spec=$lt_libname_spec
74174 # List of archive names. First name is the real one, the rest are links.
74175 # The last name is the one that the linker finds with -lNAME
74176 library_names_spec=$lt_library_names_spec
74178 # The coded name of the library, if different from the real name.
74179 soname_spec=$lt_soname_spec
74181 # Permission mode override for installation of shared libraries.
74182 install_override_mode=$lt_install_override_mode
74184 # Command to use after installation of a shared archive.
74185 postinstall_cmds=$lt_postinstall_cmds
74187 # Command to use after uninstallation of a shared archive.
74188 postuninstall_cmds=$lt_postuninstall_cmds
74190 # Commands used to finish a libtool library installation in a directory.
74191 finish_cmds=$lt_finish_cmds
74193 # As "finish_cmds", except a single script fragment to be evaled but
74194 # not shown.
74195 finish_eval=$lt_finish_eval
74197 # Whether we should hardcode library paths into libraries.
74198 hardcode_into_libs=$hardcode_into_libs
74200 # Compile-time system search path for libraries.
74201 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74203 # Run-time system search path for libraries.
74204 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74206 # Whether dlopen is supported.
74207 dlopen_support=$enable_dlopen
74209 # Whether dlopen of programs is supported.
74210 dlopen_self=$enable_dlopen_self
74212 # Whether dlopen of statically linked programs is supported.
74213 dlopen_self_static=$enable_dlopen_self_static
74215 # Commands to strip libraries.
74216 old_striplib=$lt_old_striplib
74217 striplib=$lt_striplib
74220 # The linker used to build libraries.
74221 LD=$lt_LD
74223 # How to create reloadable object files.
74224 reload_flag=$lt_reload_flag
74225 reload_cmds=$lt_reload_cmds
74227 # Commands used to build an old-style archive.
74228 old_archive_cmds=$lt_old_archive_cmds
74230 # A language specific compiler.
74231 CC=$lt_compiler
74233 # Is the compiler the GNU compiler?
74234 with_gcc=$GCC
74236 # Compiler flag to turn off builtin functions.
74237 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74239 # How to pass a linker flag through the compiler.
74240 wl=$lt_lt_prog_compiler_wl
74242 # Additional compiler flags for building library objects.
74243 pic_flag=$lt_lt_prog_compiler_pic
74245 # Compiler flag to prevent dynamic linking.
74246 link_static_flag=$lt_lt_prog_compiler_static
74248 # Does compiler simultaneously support -c and -o options?
74249 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74251 # Whether or not to add -lc for building shared libraries.
74252 build_libtool_need_lc=$archive_cmds_need_lc
74254 # Whether or not to disallow shared libs when runtime libs are static.
74255 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74257 # Compiler flag to allow reflexive dlopens.
74258 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74260 # Compiler flag to generate shared objects directly from archives.
74261 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74263 # Whether the compiler copes with passing no objects directly.
74264 compiler_needs_object=$lt_compiler_needs_object
74266 # Create an old-style archive from a shared archive.
74267 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74269 # Create a temporary old-style archive to link instead of a shared archive.
74270 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74272 # Commands used to build a shared archive.
74273 archive_cmds=$lt_archive_cmds
74274 archive_expsym_cmds=$lt_archive_expsym_cmds
74276 # Commands used to build a loadable module if different from building
74277 # a shared archive.
74278 module_cmds=$lt_module_cmds
74279 module_expsym_cmds=$lt_module_expsym_cmds
74281 # Whether we are building with GNU ld or not.
74282 with_gnu_ld=$lt_with_gnu_ld
74284 # Flag that allows shared libraries with undefined symbols to be built.
74285 allow_undefined_flag=$lt_allow_undefined_flag
74287 # Flag that enforces no undefined symbols.
74288 no_undefined_flag=$lt_no_undefined_flag
74290 # Flag to hardcode \$libdir into a binary during linking.
74291 # This must work even if \$libdir does not exist
74292 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74294 # If ld is used when linking, flag to hardcode \$libdir into a binary
74295 # during linking. This must work even if \$libdir does not exist.
74296 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74298 # Whether we need a single "-rpath" flag with a separated argument.
74299 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74301 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74302 # DIR into the resulting binary.
74303 hardcode_direct=$hardcode_direct
74305 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74306 # DIR into the resulting binary and the resulting library dependency is
74307 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74308 # library is relocated.
74309 hardcode_direct_absolute=$hardcode_direct_absolute
74311 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74312 # into the resulting binary.
74313 hardcode_minus_L=$hardcode_minus_L
74315 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74316 # into the resulting binary.
74317 hardcode_shlibpath_var=$hardcode_shlibpath_var
74319 # Set to "yes" if building a shared library automatically hardcodes DIR
74320 # into the library and all subsequent libraries and executables linked
74321 # against it.
74322 hardcode_automatic=$hardcode_automatic
74324 # Set to yes if linker adds runtime paths of dependent libraries
74325 # to runtime path list.
74326 inherit_rpath=$inherit_rpath
74328 # Whether libtool must link a program against all its dependency libraries.
74329 link_all_deplibs=$link_all_deplibs
74331 # Fix the shell variable \$srcfile for the compiler.
74332 fix_srcfile_path=$lt_fix_srcfile_path
74334 # Set to "yes" if exported symbols are required.
74335 always_export_symbols=$always_export_symbols
74337 # The commands to list exported symbols.
74338 export_symbols_cmds=$lt_export_symbols_cmds
74340 # Symbols that should not be listed in the preloaded symbols.
74341 exclude_expsyms=$lt_exclude_expsyms
74343 # Symbols that must always be exported.
74344 include_expsyms=$lt_include_expsyms
74346 # Commands necessary for linking programs (against libraries) with templates.
74347 prelink_cmds=$lt_prelink_cmds
74349 # Specify filename containing input files.
74350 file_list_spec=$lt_file_list_spec
74352 # How to hardcode a shared library path into an executable.
74353 hardcode_action=$hardcode_action
74355 # The directories searched by this compiler when creating a shared library.
74356 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74358 # Dependencies to place before and after the objects being linked to
74359 # create a shared library.
74360 predep_objects=$lt_predep_objects
74361 postdep_objects=$lt_postdep_objects
74362 predeps=$lt_predeps
74363 postdeps=$lt_postdeps
74365 # The library search path used internally by the compiler when linking
74366 # a shared library.
74367 compiler_lib_search_path=$lt_compiler_lib_search_path
74369 # ### END LIBTOOL CONFIG
74371 _LT_EOF
74373 case $host_os in
74374 aix3*)
74375 cat <<\_LT_EOF >> "$cfgfile"
74376 # AIX sometimes has problems with the GCC collect2 program. For some
74377 # reason, if we set the COLLECT_NAMES environment variable, the problems
74378 # vanish in a puff of smoke.
74379 if test "X${COLLECT_NAMES+set}" != Xset; then
74380 COLLECT_NAMES=
74381 export COLLECT_NAMES
74383 _LT_EOF
74385 esac
74388 ltmain="$ac_aux_dir/ltmain.sh"
74391 # We use sed instead of cat because bash on DJGPP gets confused if
74392 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74393 # text mode, it properly converts lines to CR/LF. This bash problem
74394 # is reportedly fixed, but why not run on old versions too?
74395 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74396 || (rm -f "$cfgfile"; exit 1)
74398 case $xsi_shell in
74399 yes)
74400 cat << \_LT_EOF >> "$cfgfile"
74402 # func_dirname file append nondir_replacement
74403 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74404 # otherwise set result to NONDIR_REPLACEMENT.
74405 func_dirname ()
74407 case ${1} in
74408 */*) func_dirname_result="${1%/*}${2}" ;;
74409 * ) func_dirname_result="${3}" ;;
74410 esac
74413 # func_basename file
74414 func_basename ()
74416 func_basename_result="${1##*/}"
74419 # func_dirname_and_basename file append nondir_replacement
74420 # perform func_basename and func_dirname in a single function
74421 # call:
74422 # dirname: Compute the dirname of FILE. If nonempty,
74423 # add APPEND to the result, otherwise set result
74424 # to NONDIR_REPLACEMENT.
74425 # value returned in "$func_dirname_result"
74426 # basename: Compute filename of FILE.
74427 # value retuned in "$func_basename_result"
74428 # Implementation must be kept synchronized with func_dirname
74429 # and func_basename. For efficiency, we do not delegate to
74430 # those functions but instead duplicate the functionality here.
74431 func_dirname_and_basename ()
74433 case ${1} in
74434 */*) func_dirname_result="${1%/*}${2}" ;;
74435 * ) func_dirname_result="${3}" ;;
74436 esac
74437 func_basename_result="${1##*/}"
74440 # func_stripname prefix suffix name
74441 # strip PREFIX and SUFFIX off of NAME.
74442 # PREFIX and SUFFIX must not contain globbing or regex special
74443 # characters, hashes, percent signs, but SUFFIX may contain a leading
74444 # dot (in which case that matches only a dot).
74445 func_stripname ()
74447 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74448 # positional parameters, so assign one to ordinary parameter first.
74449 func_stripname_result=${3}
74450 func_stripname_result=${func_stripname_result#"${1}"}
74451 func_stripname_result=${func_stripname_result%"${2}"}
74454 # func_opt_split
74455 func_opt_split ()
74457 func_opt_split_opt=${1%%=*}
74458 func_opt_split_arg=${1#*=}
74461 # func_lo2o object
74462 func_lo2o ()
74464 case ${1} in
74465 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74466 *) func_lo2o_result=${1} ;;
74467 esac
74470 # func_xform libobj-or-source
74471 func_xform ()
74473 func_xform_result=${1%.*}.lo
74476 # func_arith arithmetic-term...
74477 func_arith ()
74479 func_arith_result=$(( $* ))
74482 # func_len string
74483 # STRING may not start with a hyphen.
74484 func_len ()
74486 func_len_result=${#1}
74489 _LT_EOF
74491 *) # Bourne compatible functions.
74492 cat << \_LT_EOF >> "$cfgfile"
74494 # func_dirname file append nondir_replacement
74495 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74496 # otherwise set result to NONDIR_REPLACEMENT.
74497 func_dirname ()
74499 # Extract subdirectory from the argument.
74500 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74501 if test "X$func_dirname_result" = "X${1}"; then
74502 func_dirname_result="${3}"
74503 else
74504 func_dirname_result="$func_dirname_result${2}"
74508 # func_basename file
74509 func_basename ()
74511 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74515 # func_stripname prefix suffix name
74516 # strip PREFIX and SUFFIX off of NAME.
74517 # PREFIX and SUFFIX must not contain globbing or regex special
74518 # characters, hashes, percent signs, but SUFFIX may contain a leading
74519 # dot (in which case that matches only a dot).
74520 # func_strip_suffix prefix name
74521 func_stripname ()
74523 case ${2} in
74524 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74525 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74526 esac
74529 # sed scripts:
74530 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74531 my_sed_long_arg='1s/^-[^=]*=//'
74533 # func_opt_split
74534 func_opt_split ()
74536 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74537 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74540 # func_lo2o object
74541 func_lo2o ()
74543 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74546 # func_xform libobj-or-source
74547 func_xform ()
74549 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74552 # func_arith arithmetic-term...
74553 func_arith ()
74555 func_arith_result=`expr "$@"`
74558 # func_len string
74559 # STRING may not start with a hyphen.
74560 func_len ()
74562 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74565 _LT_EOF
74566 esac
74568 case $lt_shell_append in
74569 yes)
74570 cat << \_LT_EOF >> "$cfgfile"
74572 # func_append var value
74573 # Append VALUE to the end of shell variable VAR.
74574 func_append ()
74576 eval "$1+=\$2"
74578 _LT_EOF
74581 cat << \_LT_EOF >> "$cfgfile"
74583 # func_append var value
74584 # Append VALUE to the end of shell variable VAR.
74585 func_append ()
74587 eval "$1=\$$1\$2"
74590 _LT_EOF
74592 esac
74595 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74596 || (rm -f "$cfgfile"; exit 1)
74598 mv -f "$cfgfile" "$ofile" ||
74599 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74600 chmod +x "$ofile"
74603 cat <<_LT_EOF >> "$ofile"
74605 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74607 # The linker used to build libraries.
74608 LD=$lt_LD_CXX
74610 # How to create reloadable object files.
74611 reload_flag=$lt_reload_flag_CXX
74612 reload_cmds=$lt_reload_cmds_CXX
74614 # Commands used to build an old-style archive.
74615 old_archive_cmds=$lt_old_archive_cmds_CXX
74617 # A language specific compiler.
74618 CC=$lt_compiler_CXX
74620 # Is the compiler the GNU compiler?
74621 with_gcc=$GCC_CXX
74623 # Compiler flag to turn off builtin functions.
74624 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74626 # How to pass a linker flag through the compiler.
74627 wl=$lt_lt_prog_compiler_wl_CXX
74629 # Additional compiler flags for building library objects.
74630 pic_flag=$lt_lt_prog_compiler_pic_CXX
74632 # Compiler flag to prevent dynamic linking.
74633 link_static_flag=$lt_lt_prog_compiler_static_CXX
74635 # Does compiler simultaneously support -c and -o options?
74636 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74638 # Whether or not to add -lc for building shared libraries.
74639 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74641 # Whether or not to disallow shared libs when runtime libs are static.
74642 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74644 # Compiler flag to allow reflexive dlopens.
74645 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74647 # Compiler flag to generate shared objects directly from archives.
74648 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74650 # Whether the compiler copes with passing no objects directly.
74651 compiler_needs_object=$lt_compiler_needs_object_CXX
74653 # Create an old-style archive from a shared archive.
74654 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74656 # Create a temporary old-style archive to link instead of a shared archive.
74657 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74659 # Commands used to build a shared archive.
74660 archive_cmds=$lt_archive_cmds_CXX
74661 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74663 # Commands used to build a loadable module if different from building
74664 # a shared archive.
74665 module_cmds=$lt_module_cmds_CXX
74666 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74668 # Whether we are building with GNU ld or not.
74669 with_gnu_ld=$lt_with_gnu_ld_CXX
74671 # Flag that allows shared libraries with undefined symbols to be built.
74672 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74674 # Flag that enforces no undefined symbols.
74675 no_undefined_flag=$lt_no_undefined_flag_CXX
74677 # Flag to hardcode \$libdir into a binary during linking.
74678 # This must work even if \$libdir does not exist
74679 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74681 # If ld is used when linking, flag to hardcode \$libdir into a binary
74682 # during linking. This must work even if \$libdir does not exist.
74683 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74685 # Whether we need a single "-rpath" flag with a separated argument.
74686 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74688 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74689 # DIR into the resulting binary.
74690 hardcode_direct=$hardcode_direct_CXX
74692 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74693 # DIR into the resulting binary and the resulting library dependency is
74694 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74695 # library is relocated.
74696 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74698 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74699 # into the resulting binary.
74700 hardcode_minus_L=$hardcode_minus_L_CXX
74702 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74703 # into the resulting binary.
74704 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74706 # Set to "yes" if building a shared library automatically hardcodes DIR
74707 # into the library and all subsequent libraries and executables linked
74708 # against it.
74709 hardcode_automatic=$hardcode_automatic_CXX
74711 # Set to yes if linker adds runtime paths of dependent libraries
74712 # to runtime path list.
74713 inherit_rpath=$inherit_rpath_CXX
74715 # Whether libtool must link a program against all its dependency libraries.
74716 link_all_deplibs=$link_all_deplibs_CXX
74718 # Fix the shell variable \$srcfile for the compiler.
74719 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74721 # Set to "yes" if exported symbols are required.
74722 always_export_symbols=$always_export_symbols_CXX
74724 # The commands to list exported symbols.
74725 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74727 # Symbols that should not be listed in the preloaded symbols.
74728 exclude_expsyms=$lt_exclude_expsyms_CXX
74730 # Symbols that must always be exported.
74731 include_expsyms=$lt_include_expsyms_CXX
74733 # Commands necessary for linking programs (against libraries) with templates.
74734 prelink_cmds=$lt_prelink_cmds_CXX
74736 # Specify filename containing input files.
74737 file_list_spec=$lt_file_list_spec_CXX
74739 # How to hardcode a shared library path into an executable.
74740 hardcode_action=$hardcode_action_CXX
74742 # The directories searched by this compiler when creating a shared library.
74743 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74745 # Dependencies to place before and after the objects being linked to
74746 # create a shared library.
74747 predep_objects=$lt_predep_objects_CXX
74748 postdep_objects=$lt_postdep_objects_CXX
74749 predeps=$lt_predeps_CXX
74750 postdeps=$lt_postdeps_CXX
74752 # The library search path used internally by the compiler when linking
74753 # a shared library.
74754 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74756 # ### END LIBTOOL TAG CONFIG: CXX
74757 _LT_EOF
74760 "include/gstdint.h":C)
74761 if test "$GCC" = yes; then
74762 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74763 else
74764 echo "/* generated for $CC */" > tmp-stdint.h
74767 sed 's/^ *//' >> tmp-stdint.h <<EOF
74769 #ifndef GCC_GENERATED_STDINT_H
74770 #define GCC_GENERATED_STDINT_H 1
74772 #include <sys/types.h>
74775 if test "$acx_cv_header_stdint" != stdint.h; then
74776 echo "#include <stddef.h>" >> tmp-stdint.h
74778 if test "$acx_cv_header_stdint" != stddef.h; then
74779 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74782 sed 's/^ *//' >> tmp-stdint.h <<EOF
74783 /* glibc uses these symbols as guards to prevent redefinitions. */
74784 #ifdef __int8_t_defined
74785 #define _INT8_T
74786 #define _INT16_T
74787 #define _INT32_T
74788 #endif
74789 #ifdef __uint32_t_defined
74790 #define _UINT32_T
74791 #endif
74795 # ----------------- done header, emit basic int types -------------
74796 if test "$acx_cv_header_stdint" = stddef.h; then
74797 sed 's/^ *//' >> tmp-stdint.h <<EOF
74799 #ifndef _UINT8_T
74800 #define _UINT8_T
74801 #ifndef __uint8_t_defined
74802 #define __uint8_t_defined
74803 #ifndef uint8_t
74804 typedef unsigned $acx_cv_type_int8_t uint8_t;
74805 #endif
74806 #endif
74807 #endif
74809 #ifndef _UINT16_T
74810 #define _UINT16_T
74811 #ifndef __uint16_t_defined
74812 #define __uint16_t_defined
74813 #ifndef uint16_t
74814 typedef unsigned $acx_cv_type_int16_t uint16_t;
74815 #endif
74816 #endif
74817 #endif
74819 #ifndef _UINT32_T
74820 #define _UINT32_T
74821 #ifndef __uint32_t_defined
74822 #define __uint32_t_defined
74823 #ifndef uint32_t
74824 typedef unsigned $acx_cv_type_int32_t uint32_t;
74825 #endif
74826 #endif
74827 #endif
74829 #ifndef _INT8_T
74830 #define _INT8_T
74831 #ifndef __int8_t_defined
74832 #define __int8_t_defined
74833 #ifndef int8_t
74834 typedef $acx_cv_type_int8_t int8_t;
74835 #endif
74836 #endif
74837 #endif
74839 #ifndef _INT16_T
74840 #define _INT16_T
74841 #ifndef __int16_t_defined
74842 #define __int16_t_defined
74843 #ifndef int16_t
74844 typedef $acx_cv_type_int16_t int16_t;
74845 #endif
74846 #endif
74847 #endif
74849 #ifndef _INT32_T
74850 #define _INT32_T
74851 #ifndef __int32_t_defined
74852 #define __int32_t_defined
74853 #ifndef int32_t
74854 typedef $acx_cv_type_int32_t int32_t;
74855 #endif
74856 #endif
74857 #endif
74859 elif test "$ac_cv_type_u_int32_t" = yes; then
74860 sed 's/^ *//' >> tmp-stdint.h <<EOF
74862 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74863 #ifndef _INT8_T
74864 #define _INT8_T
74865 #endif
74866 #ifndef _INT16_T
74867 #define _INT16_T
74868 #endif
74869 #ifndef _INT32_T
74870 #define _INT32_T
74871 #endif
74873 #ifndef _UINT8_T
74874 #define _UINT8_T
74875 #ifndef __uint8_t_defined
74876 #define __uint8_t_defined
74877 #ifndef uint8_t
74878 typedef u_int8_t uint8_t;
74879 #endif
74880 #endif
74881 #endif
74883 #ifndef _UINT16_T
74884 #define _UINT16_T
74885 #ifndef __uint16_t_defined
74886 #define __uint16_t_defined
74887 #ifndef uint16_t
74888 typedef u_int16_t uint16_t;
74889 #endif
74890 #endif
74891 #endif
74893 #ifndef _UINT32_T
74894 #define _UINT32_T
74895 #ifndef __uint32_t_defined
74896 #define __uint32_t_defined
74897 #ifndef uint32_t
74898 typedef u_int32_t uint32_t;
74899 #endif
74900 #endif
74901 #endif
74903 else
74904 sed 's/^ *//' >> tmp-stdint.h <<EOF
74906 /* Some systems have guard macros to prevent redefinitions, define them. */
74907 #ifndef _INT8_T
74908 #define _INT8_T
74909 #endif
74910 #ifndef _INT16_T
74911 #define _INT16_T
74912 #endif
74913 #ifndef _INT32_T
74914 #define _INT32_T
74915 #endif
74916 #ifndef _UINT8_T
74917 #define _UINT8_T
74918 #endif
74919 #ifndef _UINT16_T
74920 #define _UINT16_T
74921 #endif
74922 #ifndef _UINT32_T
74923 #define _UINT32_T
74924 #endif
74928 # ------------- done basic int types, emit int64_t types ------------
74929 if test "$ac_cv_type_uint64_t" = yes; then
74930 sed 's/^ *//' >> tmp-stdint.h <<EOF
74932 /* system headers have good uint64_t and int64_t */
74933 #ifndef _INT64_T
74934 #define _INT64_T
74935 #endif
74936 #ifndef _UINT64_T
74937 #define _UINT64_T
74938 #endif
74940 elif test "$ac_cv_type_u_int64_t" = yes; then
74941 sed 's/^ *//' >> tmp-stdint.h <<EOF
74943 /* system headers have an u_int64_t (and int64_t) */
74944 #ifndef _INT64_T
74945 #define _INT64_T
74946 #endif
74947 #ifndef _UINT64_T
74948 #define _UINT64_T
74949 #ifndef __uint64_t_defined
74950 #define __uint64_t_defined
74951 #ifndef uint64_t
74952 typedef u_int64_t uint64_t;
74953 #endif
74954 #endif
74955 #endif
74957 elif test -n "$acx_cv_type_int64_t"; then
74958 sed 's/^ *//' >> tmp-stdint.h <<EOF
74960 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74961 #ifndef _INT64_T
74962 #define _INT64_T
74963 #ifndef int64_t
74964 typedef $acx_cv_type_int64_t int64_t;
74965 #endif
74966 #endif
74967 #ifndef _UINT64_T
74968 #define _UINT64_T
74969 #ifndef __uint64_t_defined
74970 #define __uint64_t_defined
74971 #ifndef uint64_t
74972 typedef unsigned $acx_cv_type_int64_t uint64_t;
74973 #endif
74974 #endif
74975 #endif
74977 else
74978 sed 's/^ *//' >> tmp-stdint.h <<EOF
74980 /* some common heuristics for int64_t, using compiler-specific tests */
74981 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74982 #ifndef _INT64_T
74983 #define _INT64_T
74984 #ifndef __int64_t_defined
74985 #ifndef int64_t
74986 typedef long long int64_t;
74987 #endif
74988 #endif
74989 #endif
74990 #ifndef _UINT64_T
74991 #define _UINT64_T
74992 #ifndef uint64_t
74993 typedef unsigned long long uint64_t;
74994 #endif
74995 #endif
74997 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74998 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74999 does not implement __extension__. But that compiler doesn't define
75000 __GNUC_MINOR__. */
75001 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
75002 # define __extension__
75003 # endif
75005 # ifndef _INT64_T
75006 # define _INT64_T
75007 # ifndef int64_t
75008 __extension__ typedef long long int64_t;
75009 # endif
75010 # endif
75011 # ifndef _UINT64_T
75012 # define _UINT64_T
75013 # ifndef uint64_t
75014 __extension__ typedef unsigned long long uint64_t;
75015 # endif
75016 # endif
75018 #elif !defined __STRICT_ANSI__
75019 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
75021 # ifndef _INT64_T
75022 # define _INT64_T
75023 # ifndef int64_t
75024 typedef __int64 int64_t;
75025 # endif
75026 # endif
75027 # ifndef _UINT64_T
75028 # define _UINT64_T
75029 # ifndef uint64_t
75030 typedef unsigned __int64 uint64_t;
75031 # endif
75032 # endif
75033 # endif /* compiler */
75035 #endif /* ANSI version */
75039 # ------------- done int64_t types, emit intptr types ------------
75040 if test "$ac_cv_type_uintptr_t" != yes; then
75041 sed 's/^ *//' >> tmp-stdint.h <<EOF
75043 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
75044 #ifndef __uintptr_t_defined
75045 #ifndef uintptr_t
75046 typedef u$acx_cv_type_intptr_t uintptr_t;
75047 #endif
75048 #endif
75049 #ifndef __intptr_t_defined
75050 #ifndef intptr_t
75051 typedef $acx_cv_type_intptr_t intptr_t;
75052 #endif
75053 #endif
75057 # ------------- done intptr types, emit int_least types ------------
75058 if test "$ac_cv_type_int_least32_t" != yes; then
75059 sed 's/^ *//' >> tmp-stdint.h <<EOF
75061 /* Define int_least types */
75062 typedef int8_t int_least8_t;
75063 typedef int16_t int_least16_t;
75064 typedef int32_t int_least32_t;
75065 #ifdef _INT64_T
75066 typedef int64_t int_least64_t;
75067 #endif
75069 typedef uint8_t uint_least8_t;
75070 typedef uint16_t uint_least16_t;
75071 typedef uint32_t uint_least32_t;
75072 #ifdef _UINT64_T
75073 typedef uint64_t uint_least64_t;
75074 #endif
75078 # ------------- done intptr types, emit int_fast types ------------
75079 if test "$ac_cv_type_int_fast32_t" != yes; then
75080 sed 's/^ *//' >> tmp-stdint.h <<EOF
75082 /* Define int_fast types. short is often slow */
75083 typedef int8_t int_fast8_t;
75084 typedef int int_fast16_t;
75085 typedef int32_t int_fast32_t;
75086 #ifdef _INT64_T
75087 typedef int64_t int_fast64_t;
75088 #endif
75090 typedef uint8_t uint_fast8_t;
75091 typedef unsigned int uint_fast16_t;
75092 typedef uint32_t uint_fast32_t;
75093 #ifdef _UINT64_T
75094 typedef uint64_t uint_fast64_t;
75095 #endif
75099 if test "$ac_cv_type_uintmax_t" != yes; then
75100 sed 's/^ *//' >> tmp-stdint.h <<EOF
75102 /* Define intmax based on what we found */
75103 #ifndef intmax_t
75104 #ifdef _INT64_T
75105 typedef int64_t intmax_t;
75106 #else
75107 typedef long intmax_t;
75108 #endif
75109 #endif
75110 #ifndef uintmax_t
75111 #ifdef _UINT64_T
75112 typedef uint64_t uintmax_t;
75113 #else
75114 typedef unsigned long uintmax_t;
75115 #endif
75116 #endif
75120 sed 's/^ *//' >> tmp-stdint.h <<EOF
75122 #endif /* GCC_GENERATED_STDINT_H */
75125 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75126 rm -f tmp-stdint.h
75127 else
75128 mv -f tmp-stdint.h include/gstdint.h
75132 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75133 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75134 "include/Makefile":F) cat > vpsed$$ << \_EOF
75135 s!`test -f '$<' || echo '$(srcdir)/'`!!
75136 _EOF
75137 sed -f vpsed$$ $ac_file > tmp$$
75138 mv tmp$$ $ac_file
75139 rm vpsed$$
75140 echo 'MULTISUBDIR =' >> $ac_file
75141 ml_norecursion=yes
75142 . ${multi_basedir}/config-ml.in
75143 { ml_norecursion=; unset ml_norecursion;}
75145 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75146 s!`test -f '$<' || echo '$(srcdir)/'`!!
75147 _EOF
75148 sed -f vpsed$$ $ac_file > tmp$$
75149 mv tmp$$ $ac_file
75150 rm vpsed$$
75151 echo 'MULTISUBDIR =' >> $ac_file
75152 ml_norecursion=yes
75153 . ${multi_basedir}/config-ml.in
75154 { ml_norecursion=; unset ml_norecursion;}
75156 "python/Makefile":F) cat > vpsed$$ << \_EOF
75157 s!`test -f '$<' || echo '$(srcdir)/'`!!
75158 _EOF
75159 sed -f vpsed$$ $ac_file > tmp$$
75160 mv tmp$$ $ac_file
75161 rm vpsed$$
75162 echo 'MULTISUBDIR =' >> $ac_file
75163 ml_norecursion=yes
75164 . ${multi_basedir}/config-ml.in
75165 { ml_norecursion=; unset ml_norecursion;}
75167 "src/Makefile":F) cat > vpsed$$ << \_EOF
75168 s!`test -f '$<' || echo '$(srcdir)/'`!!
75169 _EOF
75170 sed -f vpsed$$ $ac_file > tmp$$
75171 mv tmp$$ $ac_file
75172 rm vpsed$$
75173 echo 'MULTISUBDIR =' >> $ac_file
75174 ml_norecursion=yes
75175 . ${multi_basedir}/config-ml.in
75176 { ml_norecursion=; unset ml_norecursion;}
75178 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75179 s!`test -f '$<' || echo '$(srcdir)/'`!!
75180 _EOF
75181 sed -f vpsed$$ $ac_file > tmp$$
75182 mv tmp$$ $ac_file
75183 rm vpsed$$
75184 echo 'MULTISUBDIR =' >> $ac_file
75185 ml_norecursion=yes
75186 . ${multi_basedir}/config-ml.in
75187 { ml_norecursion=; unset ml_norecursion;}
75189 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75190 s!`test -f '$<' || echo '$(srcdir)/'`!!
75191 _EOF
75192 sed -f vpsed$$ $ac_file > tmp$$
75193 mv tmp$$ $ac_file
75194 rm vpsed$$
75195 echo 'MULTISUBDIR =' >> $ac_file
75196 ml_norecursion=yes
75197 . ${multi_basedir}/config-ml.in
75198 { ml_norecursion=; unset ml_norecursion;}
75200 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75201 s!`test -f '$<' || echo '$(srcdir)/'`!!
75202 _EOF
75203 sed -f vpsed$$ $ac_file > tmp$$
75204 mv tmp$$ $ac_file
75205 rm vpsed$$
75206 echo 'MULTISUBDIR =' >> $ac_file
75207 ml_norecursion=yes
75208 . ${multi_basedir}/config-ml.in
75209 { ml_norecursion=; unset ml_norecursion;}
75211 "po/Makefile":F) cat > vpsed$$ << \_EOF
75212 s!`test -f '$<' || echo '$(srcdir)/'`!!
75213 _EOF
75214 sed -f vpsed$$ $ac_file > tmp$$
75215 mv tmp$$ $ac_file
75216 rm vpsed$$
75217 echo 'MULTISUBDIR =' >> $ac_file
75218 ml_norecursion=yes
75219 . ${multi_basedir}/config-ml.in
75220 { ml_norecursion=; unset ml_norecursion;}
75222 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75223 s!`test -f '$<' || echo '$(srcdir)/'`!!
75224 _EOF
75225 sed -f vpsed$$ $ac_file > tmp$$
75226 mv tmp$$ $ac_file
75227 rm vpsed$$
75228 echo 'MULTISUBDIR =' >> $ac_file
75229 ml_norecursion=yes
75230 . ${multi_basedir}/config-ml.in
75231 { ml_norecursion=; unset ml_norecursion;}
75233 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75235 esac
75236 done # for ac_tag
75239 as_fn_exit 0
75240 _ACEOF
75241 ac_clean_files=$ac_clean_files_save
75243 test $ac_write_fail = 0 ||
75244 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75247 # configure is writing to config.log, and then calls config.status.
75248 # config.status does its own redirection, appending to config.log.
75249 # Unfortunately, on DOS this fails, as config.log is still kept open
75250 # by configure, so config.status won't be able to write to it; its
75251 # output is simply discarded. So we exec the FD to /dev/null,
75252 # effectively closing config.log, so it can be properly (re)opened and
75253 # appended to by config.status. When coming back to configure, we
75254 # need to make the FD available again.
75255 if test "$no_create" != yes; then
75256 ac_cs_success=:
75257 ac_config_status_args=
75258 test "$silent" = yes &&
75259 ac_config_status_args="$ac_config_status_args --quiet"
75260 exec 5>/dev/null
75261 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75262 exec 5>>config.log
75263 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75264 # would make configure fail if this is the last instruction.
75265 $ac_cs_success || as_fn_exit $?
75267 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75269 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}